Automatically clock out when switching to specified state
[rgr-org-mode.git] / lisp / ChangeLog
blob844bf1f664cee189ae869897a6160188ea5461e3
1 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
4         as value.
5         (org-clock-out-if-current): Work with the new list value of
6         `org-clock-out-when-done'.
7         (org-clock-out, org-clock-out-if-current): Avoid circular logic
8         between clocking out and state changes.
10         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
12         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
13         accident protect a character that is before a backslash.
15 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
17         * org-agenda.el (org-diary-class): Use
18         `org-order-calendar-date-args'.
20         * org.el (org-order-calendar-date-args): New function.
22         * org-exp.el (org-export-target-internal-links): Check for
23         protectedness after the first bracket.
25         * org.el (org-entry-properties): Don't match wrong-case TODO
26         keywords.
28         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
29         Document that ARG is passed through to remove the date.
30         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
31         not read a date when the user has given a `C-u' prefix.
33 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
35         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
36         tags are hidden.
38 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
40         * org-latex.el (org-export-latex-fix-inputenc): New function.
41         (org-export-latex-inputenc-alist): New option.
43         * org-exp.el (org-export): New key SPC to publish enclosing
44         subtree.
46 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
48         * org-indent.el (org-indent-add-properties): Catch case when there
49         is no headline in the buffer.
51 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
53         * org-exp.el (org-html-entities): Add checkmark symbol.
55         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
56         verbatim code for ASCII export.
58         * org.el (org-update-statistics-cookies): Also see checkboxes in
59         ordered lists.
61 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
63         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
64         key.
66         * org-beamer.el (org-beamer-amend-header): Change the location
67         where `org-beamer-header-extra' is inserted.
69         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
70         just for computing this regexp.
72 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
74         * org-beamer.el (org-beamer-frame-default-options): New option.
75         (org-beamer-sectioning): Use default options if the user does not
76         have defined any.
77         (org-beamer-fix-toc): Put a frame around the table of contents.
79         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
80         sure case-folding works well when processing comment stuff.
82         * org-latex.el (org-export-latex-after-save-hook): New hook.
83         (org-export-as-latex): Run the new hook.
85 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
87         * org-beamer.el (org-beamer-environments-default): Add the note
88         environments.
89         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
90         lines and collect and combine the content.
91         (org-beamer-after-initial-vars): Check for note tags and make sure
92         they will be seen like a property.
94         * org.el (org-offer-links-in-entry): Fix bug when there is a
95         single link.
97         * org-exp.el (org-export): Make sure the mark is activated, also
98         when `transient-mark-mode' is off.
100         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
101         (org-agenda-search-view-search-words-only): Obsolete variable, is
102         now an alias for `org-agenda-search-view-always-boolean'.
103         (org-agenda-search-view-force-full-words): New option.
104         (org-search-view): Improve docstring, and implement a better logic
105         for Boolean and phrase searches.
106         (org-agenda-last-search-view-search-was-boolean): New variable.
107         (org-agenda-manipulate-query): Consider the type of the last
108         search when modifying the search string.
110 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
112         * org-latex.el (org-export-as-latex): Do the first letbind in the
113         right moment.
115         * org-agenda.el (org-get-entries-from-diary): Add the new face to
116         these entries.
118         * org-faces.el (org-agenda-diary): New face.
120         * org.el (org-make-link-regexps): Allow regexp-special characters
121         in link types.
122         (org-open-file): When in-emacs is `system', also force system
123         opening, like when the value was `(16)'.
124         (org-update-statistics-cookies): Handle entries without children.
126         * org-exp.el
127         (org-export-preprocess-before-normalizing-links-hook): New hook.
128         (org-export-preprocess-string): Run the new hook.
130         * org.el (org-offer-links-in-entry): Make RET open all links.
132         * org-html.el (org-export-as-html): Remove any left-over display
133         properties in the html file.
135         * org-wl.el (org-wl-store-link): Work-around for format bug with
136         text properties.
138         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
139         invisibility while adding the graphs.
141 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
143         * org-remember.el (org-select-remember-template): Use C letter to
144         customize remember templates.
146         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
147         Move cursor to next visible line.
149 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
151         * org-beamer.el (org-beamer-sectioning): Leave columns environment
152         by specifying 0 or 1 for column width.
153         (org-beamer-column-widths): Make 0 stand for 0.0.
155 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
157         * org-exp.el (org-export-mark-radio-links): Don't match inside
158         <<target>>.
160         * org.el (org-format-latex-header-extra): New variable.
161         (org-format-latex): Set org-format-latex-header-extra from
162         in-buffer stuff.
163         (org-format-latex): Add org-format-latex-header-extra to the
164         variables on which image creation depends.
165         (org-create-formula-image): Add the header stuff from in-buffer
166         settings.
167         (org-read-date-analyze): Base the analysis for future preference
168         on NOW, not on the default date.
170         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
171         for TODO keyword in inline tasks.
173         * org.el (org-log-note-headings): New headings for removing
174         deadline or scheduling date.
175         (org-deadline, org-schedule): Arrange for logging when removing a
176         date.
177         (org-add-log-note): Handle deadline and scheduling removal.
179 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
181         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
183 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
185         * org-agenda.el (org-diary-class): New function.
187 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
189         * org-latex.el (org-export-latex-preprocess): Do process the text
190         of a radio target.
192 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
194         * org.el (org-entry-properties): Add TIMESTAMP properties back
195         in.
197 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
199         * org.el (org-all-time-keywords): New variable.
200         (org-set-regexps-and-options): Set `org-all-time-keywords'.
201         (org-entry-blocked-p): New function.
202         (org-special-properties): Add BLOCKED as a new special property.
203         (org-entry-properties): New optional argument SPECIFIC, only parse
204         for this property when it is specified.
205         (org-entry-get): Pass a SPECIFIC argument to
206         `org-entry-properties'.
208         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
210 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
212         * org-latex.el (org-export-latex-tables): No forced line end if
213         there is no caption.
215 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
217         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
218         package.
220         * org-latex.el (org-export-latex-tables): Only add a caption when
221         macro in in longtable environments if one has been defined.
223         * org-html.el (org-export-as-html): Only take title from buffer if
224         not exporting body-only.
226         * org-latex.el (org-export-latex-preprocess): Better version of
227         the regular expression for protecting LaTeX macros.
228         (org-export-latex-preprocess): Start searching for macros to
229         protect from beginning of buffer.
231         * org-exp.el (org-export-target-internal-links): Check for
232         protectedness earlier in the string.
234         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
235         case sensitively.
237         * org-id.el (org-id-store-link): Match TODO keywords case
238         sensitively.
240         * org.el (org-heading-components, org-get-outline-path)
241         (org-display-outline-path): Match TODO keywords case sensitively.
243         * org-latex.el (org-export-as-latex): Ignore read-only
244         properties.
246         * org-exp.el (org-export-preprocess-string): Remove any
247         `read-only' properties.
249         * org-agenda.el (org-agenda-inactive-leader): New option.
250         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
251         (org-tags-view): Prompt for matcher if MATCH is an empty string.
252         (org-todo-list): Prompt for matcher if ARG is an empty string.
254 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
256         * org.el (org-open-link-functions): New hook.
257         (org-open-at-point): Run `org-open-link-functions'.
259 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
261         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
262         stamps as well.
264         * org.el (org-inhibit-startup-visibility-stuff): New variable.
265         (org-mode): Don't do startup visibility if inhibited.
266         (org-outline-overlay-data, org-set-outline-overlay-data): New
267         functions.
268         (org-save-outline-visibility): New macro.
269         (org-log-note-headings): Document that one should not change the
270         `state' note format.
272 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
274         * org.el (org-make-link-regexps): Capture link path into a group.
276 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
278         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
279         the options plist.
281 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
283         * org.el (org-startup-with-beamer-mode): New option.
284         (org-property-changed-functions)
285         (org-property-allowed-value-functions): New hooks.
286         (org-entry-put, org-property-get-allowed-values): Run the new
287         hooks.
288         (org-property-next-allowed-value): Run the new hooks.
290         * org-exp.el (org-export-select-backend-specific-text): Add the
291         special beamer tags.
293         * org-beamer.el
294         (org-export-preprocess-before-selecting-backend-code-hook): New
295         file.
297         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
298         (org-export-as-latex): Run
299         `org-export-latex-after-initial-vars-hook'.
300         (org-export-latex-format-toc-function)
301         (org-export-latex-make-header): Call
302         `org-export-latex-format-toc-function'.
304         * org.el (org-fill-template): Make template searches case sensitive.
306         * org-exp.el (org-export): Use "1" as a sign to export only the
307         subtree.
309         * org-colview-xemacs.el (org-columns-edit-value): Use
310         org-unrestricted property.
312         * org-colview.el (org-columns-edit-value):  Use
313         org-unrestricted property.
315         * org.el (org-compute-property-at-point): Set org-unrestricted
316         text property if the list contains ":ETC".
317         (org-insert-property-drawer):  Use
318         org-unrestricted property.
320         * org-exp.el
321         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
322         (org-export-preprocess-string): Run
323         `org-export-preprocess-before-selecting-backend-code-hook'.
325         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
327         * org-latex.el (org-export-region-as-latex): Run
328         `org-export-first-hook'.
330         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
332         * org-docbook.el (org-export-as-docbook): Run
333         `org-export-first-hook'.
335         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
337         * org-exp.el (org-export-first-hook): New hook.
339 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
341         * org-list.el (org-previous-item): Exit at the beginning of the
342         buffer.
344         * org-id.el (org-id-locations-save): Only write the id locations
345         if any are defined.
347         * org-archive.el (org-archive-all-done): Make this work in a file
348         with org-odd-levels-only set.
350         * org.el (org-get-refile-targets): Catch the case when a buffer
351         has no file.
353         * org-latex.el (org-export-as-latex): Cleanup forced line ends
354         where they are not needed.
355         (org-export-latex-subcontent): Remove unnecessary newlines.
357 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
359         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
360         (org-export-latex-fontify): Fix regexp bug that takes special
361         care of protecting the right boundary characters in emphasis
362         matches.
363         (org-export-latex-preprocess): Allow multiple arguments to latex
364         macros.
366         * org.el (org-make-link-regexps): Use John Gruber's regexp for
367         urls.
369         * org-macs.el (org-re): Interpret :punct: in regexps.
371         * org-exp.el (org-export-replace-src-segments-and-examples): Also
372         take the final newline after the END line.
374         * org.el (org-clean-visibility-after-subtree-move): Only fix
375         entries that are not entirely invisible already.
376         (org-insert-link): Respect org-link-file-path-type for
377         "docview:" links in addition to "file:" links.
379 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
381         * org-exp.el (org-export-format-source-code-or-example): Avoid
382         additional extra white lines in LaTeX.
384         * org-list.el (org-list-parse-list): Leave empty lines after the
385         list, don't consider them as part of the list.
387         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
388         searches.
390         * org-clock.el (org-clock-select-task): Convert integer to
391         character for XEmacs.
393 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
395         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
396         compatible.
398 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
400         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
401         variable.
402         (org-set-tags): Use it.
404 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
406         * org-list.el (org-empty-line-terminates-plain-lists): Update
407         docstring.
409         * org.el (org-format-latex): Fix link creation for processed latex
410         snippets.
412 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
414         * org-footnote.el (org-footnote-normalize): Protect replacement
415         text.
417         * org.el (org-inside-latex-macro-p): Save match data.
419 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
421         * org-docview.el: New file.
423 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
425         * org-latex.el (org-export-latex-class-options): New variable.
426         (org-export-latex-set-initial-vars): Use the class options.
428         * org.el (org-forward-same-level): Stop at headings that start
429         with an invisible character.
430         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
432 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
434         * org-footnote.el (org-footnote-normalize): Don't take optional
435         arguments in LaTeX macros as footnotes.
437         * org.el (org-inside-latex-macro-p): New function.
439         * org-latex.el (org-latex-to-pdf-process): Change customization
440         group to `org-export-pdf'.
442         * org-agenda.el (org-agenda-get-blocks): Look at time string also
443         on days after the first one.
445         * org.el (org-insert-heading): Also check for item before assuming
446         before-first-heading condition.
448         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
449         (org-export-pdf-logfiles): New option.
450         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
451         (org-export-pdf-logfiles): Fix customization type.
453         * org.el (org-insert-link): Improve error message when there is no
454         default link to select with RET.
456         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
457         parameter list.
459 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
461         * org-latex.el (org-export-latex-parse-global)
462         (org-export-latex-parse-content)
463         (org-export-latex-parse-subcontent): Use
464         `org-re-search-forward-unprotected'.
465         (org-export-as-pdf): Remove log files produced by XeTeX.
467         * org-macs.el (org-re-search-forward-unprotected): New function.
469 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
471         * org-colview.el (org-agenda-colview-summarize): Sort out some
472         confusion between properties and titles, which resulted in
473         agenda summaries not working if a title was set for a column.
475 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
477         * org-mobile.el (org-mobile-agendas): New option.
478         (org-mobile-sumo-agenda-command): Select the right agendas.
480         * org-latex.el (org-export-latex-format-image): Preserve the
481         original-indentation property.
483 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
485         * org-clock.el (org-clock-insert-selection-line): Catch error when
486         an old tasks no longer exists.
488         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
489         (org-export-as-pdf): Don't remove the old PDF file before making
490         the new one.
492         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
493         (org-mouse-context-menu): Use `org-looking-back'.
495         * org.el (org-cycle-level): Use `org-looking-back'.
497         * org-list.el (org-cycle-item-indentation): Use
498         `org-looking-back'.
500         * org-compat.el (org-looking-back): New function.
502         * org.el (org-insert-heading): Catch before-first-headline when
503         inserting a headline.
505 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
507         * org-latex.el (org-export-latex-format-image): Indent figure
508         environment, so that it does not interrupt plain list.
510         * org.el (org-open-at-point): Allow long link descriptions.
512 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
514         * org-html.el (org-export-as-html): Remove empty lines at the
515         beginning of the exported text.
517 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
519         * org-protocol.el (org-protocol-remember): Cater for empty title,
520         region, link.
522         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
523         agenda after adding new entry.
524         (org-agenda-get-represented-tags): New function.
525         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
526         to get a list of tags in the agenda.
528         * org-datetree.el (org-datetree-find-day-create): Fix regular
529         expression.
531         * org.el (org-display-outline-path): Use a format specifier for
532         message, to avoid problems with heading containing `%'.
534         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
535         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
536         (org-agenda-fix-displayed-tags): New function.
537         (org-agenda-do-context-action): Just call
538         `org-display-outline-path', without piping the result through
539         `message'.
541         * org-latex.el (org-export-latex-preprocess): Protect secondary
542         footnote references.
544         * org-indent.el (org-indent-initialize): Avoid empty strings as
545         line prefixes.
547         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
548         hat checking for the mark does not throw an error.
549         (org-agenda-diary-entry-in-org-file): Catch the case that there is
550         not `day' text property in the cursor line.
552         * org.el (org-sort-entries-or-items): Make sure that the final
553         entry has a newline before doing the sorting.
555         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
556         property at the beginning of the line.
558         * org.el (org-make-link-string): Don't allow a description with
559         only white space.
561 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
563         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
564         (org-agenda-insert-diary-as-top-level): New function.
565         (org-agenda-add-entry-to-org-agenda-diary-file): Call
566         `org-agenda-insert-diary-as-top-level'.
568         * org.el (org-occur-in-agenda-files): Make sure none of the
569         buffers is narrowed.
570         (org-activate-plain-links): Add the face property here.
571         (org-set-font-lock-defaults): Do not add the face to plain links,
572         the activator function does this.
574         * org-habit.el (org-is-habit-p): Add doc string.
576 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
578         * org-archive.el (org-archive-subtree-default-with-confirmation):
579         Autoload.
581         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
582         after match optional (happens at the end of a line...).
584         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
585         for special blocks.
587         * org-faces.el (org-copy-face): Set lisp indentation.
588         (org-quote, org-verse): New faces.
590         * org-agenda.el (org-agenda-remove-date): Remove variable.
592 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
594         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
596 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
598         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
599         hash keys to cache and re-use images generated by the
600         org-exp-blocks interface to ditaa and dot.
602 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
604         * org-html.el (org-export-as-html): Move the home/up link into
605         the content div.
607         * org.el (org-export-latex-packages-alist): Option definition
608         moved here from org-latex.el.
610 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
612         * org.el (org-format-latex): Latex images are now saved to files
613         named by the sha1 hash of the latex source text avoiding
614         regeneration of identical images.
616 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
618         * org-html.el (org-export-html-home/up-format): Add an ID to the
619         up/home div.
621 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
623         * org-wl.el (org-wl-store-link): Handle the case that
624         `wl-use-petname' is set.
626         * org.el (org-set-effort): Improve prompt.
627         (org-get-outline-path): Widen to get full path.
628         (org-compact-display-after-subtree-move): Function removed.
630         * org-latex.el (org-export-as-latex): Add the :drawers property.
632 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
634         * org.el (org-speed-commands-user): Allow documentation headlines.
635         (org-speed-commands-default): Organize the value of this constant
636         with descriptive headlines.
637         (org-print-speed-command): Output the headlines.
639 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
641         * org-agenda.el (org-agenda-show-outline-path): New option.
642         (org-agenda-do-context-action): New function.
643         (org-agenda-next-line, org-agenda-previous-line): Use
644         `org-agenda-do-context-action'.
646         * org.el (org-use-speed-commands): Allow function value.
647         (org-speed-commands-default): Make headline motion safe, so that
648         these commands always end on a headline.
649         (org-speed-commands-default): New key `v' for `org-agenda'.
650         (org-speed-move-safe): New function.
651         (org-self-insert-command): Use the function value of
652         `org-use-speed-commands'.
653         (org-get-outline-path): Improve docstring.
654         (org-format-outline-path): New function.
655         (org-display-outline-path): New function.
657 2009-11-12  John Wiegley  <jwiegley@gmail.com>
659         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
660         a string, use that to find the LOGBOOK drawer.
662 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
664         * org.el (org-clone-subtree-with-time-shift): Make it work at the
665         end of the buffer.
667         * org-mobile.el (org-mobile-write-checksums): Specify coding
668         system.
669         (org-mobile-timestamp-buffer): Keep local variable/mode line at
670         beginning of buffer.
672         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
674         * org.el (org-block-todo-from-children-or-siblings-or-parent)
675         (org-block-todo-from-checkboxes): Do not block changes to a nil
676         TODO state.
678 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
680         * org-habit.el (org-habit-parse-todo): Indicate which habit is
681         wrongly set up in the error messages.
683         * org-colview.el (org-columns-display-here): Don't try to
684         calculate values if the underlying property is not set.
685         (org-columns-string-to-number): Convert age strings back into
686         fractional days.
687         (org-agenda-colview-summarize): Handle extended summary types
688         properly.
690         * org-colview-xemacs.el (org-columns-display-here): Don't try to
691         calculate values if the underlying property is not set.
692         (org-columns-string-to-number): Convert age strings back into
693         fractional days.
694         (org-agenda-colview-summarize): Handle extended summary types
695         properly.
697 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
699         * org-exp.el (org-export-format-drawer-function): New variable.
700         (org-export-format-drawer): New function.
701         (org-export-preprocess-string): Pass the backend as a parameter to
702         `org-export-remove-or-extract-drawers'.
703         (org-export-remove-or-extract-drawers): New parameter BACKEND.
705         * org-protocol.el (org-protocol-char-to-string): New defsubst.
707 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
709         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
710         message when no block is selected.
712         * org-latex.el (org-export-latex-links): Check for protectedness
713         in the last matched character, not after the match.
715         * org-datetree.el (org-datetree-find-date-create): Respect
716         restriction when KEEP-RESTRICTION is set.
717         (org-datetree-file-entry-under): New function.
718         (org-datetree-cleanup): New command.
720 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
722         * org-src.el (org-edit-src-code): New optional argument context
723         allows calling functions to avoid altering the saved window
724         configuration.
725         (org-edit-src-exit): Do not restore window configuration when this
726         function is used in the context of saving the edit buffer.
728 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
731         instances to switching to with-current-buffer, because these seem
732         to cause problems - no idea why.
734         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
735         Require diary-lib for (diary-date-display-form).
737         * org.el (org-log-reschedule, org-log-redeadline): New options.
738         (org-log-note-headings): Add templates for rescheduling and
739         deadline changing.
740         (org-startup-options): Add in-buffer settings for logging changing
741         schedule and deadline time stamps.
742         (org-deadline, org-schedule): Check for existing date and arrange
743         for logging if the user requests it.
744         (org-add-log-note): Prepare proper note buffers for rescheduling
745         and deadline changes.
747 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
749         * org-agenda.el (org-agenda-diary-entry-in-org-file)
750         (org-agenda-add-entry-to-org-agenda-diary-file)
751         (org-agenda-insert-diary-make-new-entry): New functions.
752         (org-agenda-diary-entry): Call
753         `org-agenda-diary-entry-in-org-file' when appropriate.
755         * org.el (org-calendar-insert-diary-entry-key): New option.
756         (org-agenda-diary-file): New option.
757         ("calendar"): Install our insertion function in the calendar.
759         * org-remember.el (org-datetree): Require.
760         (org-remember-templates): Add new positioning option.
761         (org-remember-reference-date): New variable.
762         (org-remember-apply-template): Store the reference date in a local
763         variable.
764         (org-remember-handler): Implement date tree positioning of entries.
766         * org-datetree.el: New file.
768         * org-latex.el (org-export-latex-preprocess): Protect targets in
769         verbatim emphasis.
771         * org-html.el (org-export-as-html): Protect targets in verbatim
772         emphasis.
774         * org-docbook.el (org-export-as-docbook): Protect targets in
775         verbatim emphasis.
777 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
779         * org.el (org-link-display-format): Should be literal replacement.
781 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
783         * org-clock.el (org-show-notification): Handle messages that
784         contain a percent character.
786         * org-remember.el (org-remember-apply-template): Turn of partial
787         completion.
789         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
790         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
792         * org.el (org-indent-mode): Define variable already in org.el.
793         (org-unfontify-region): Remove line-prefix and wrap-prefix
794         properties only if org-indent-mode is active.
796 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
798         * org-icalendar.el (org-print-icalendar-entries): Save match data
799         around call to verify function.
800         (org-print-icalendar-entries): Add a call to the verification
801         function.
803         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
804         save-restrivtion' form.
806 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
808         * org-exp.el (org-export-format-source-code-or-example): restrict
809         scope of preserve-indentp to the let binding.
810         (org-src): require org-src, since org-src-preserve-indentation is used.
812 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
814         * org-timer.el (org-timer-set-timer): Set variables
815         org-timer-timer[123] correctly.
818         * org-mobile.el (org-mobile-files-alist): Make it work when
819         `agenda-archives' is included in
820         `org-agenda-text-search-extra-files'.
821         (org-mobile-push): Restore agenda after mobile push.
823 2009-11-05  John Wiegley  <jwiegley@gmail.com>
825         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
826         way the amount of idle time is presented in the minibuffer.
828 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
830         * org-icalendar.el (org-print-icalendar-entries): Use
831         org-icalendar-verify-function only if non-nil.
833         * org.el (org-refile): Refile to clock only if the prefix arg is
834         2.
835         (org-sparse-tree): Fix docstring to be in line with prompt.
836         (org-update-parent-todo-statistics): Call
837         `org-after-todo-statistics-hook' on each level.
839 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
841         * org-remember.el (org-remember-apply-template): Make sure the
842         buffer exists.
844 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
846         * org.el (org-tab-ind-state): New variable.
847         (org-cycle-level): New function.
848         (org-cycle-level-after-item/entry-creation): New option.
849         (org-flag-subtree): New function.
850         (org-hide-archived-subtrees): Call `org-flag-subtree'.
851         (org-set-effort): Indexed access.
853         * org-list.el (org-cycle-item-indentation): New function.
855         * org.el (org-refile): Make prefix argument 2 refile to current
856         clock.
857         (org-priority): Interpret action `remove' as call to remove the
858         priority cookie.
860         * org-remember.el (org-remember-apply-template): Don't depend on
861         buffer name being like file name.
863 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
865         * org-clock.el (org-clock-play-sound): Expand file in
866         org-clock-sound, to allow ~ for home.
868         * org-remember.el (org-remember-handler): Set
869         text-before-node-creation even if this already looks like a node,
870         because the string might be needed on non-org-mode target files.
872         * org-agenda.el (org-agenda-open-link): Make this work in agenda
873         clocktables.
874         (org-agenda-switch-to): Follow a link at point if
875         org-return-follows-link' is set and there is nothing else to do in
876         this line.
878 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
880         * org-colview-xemacs.el: Add in changes from org-colview.el
882 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
884         * org-exp-blocks.el: Modify split separator regexp to avoid empty
885         strings.
887 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
889         * org-colview.el (org-columns-new): Make this work with the new
890         operators.
891         (org-columns-store-format): Make this work with the new operators.
893 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
895         * org-src.el (org-src-preserve-indentation): Document that this
896         variable is also used during export.
898         * org-exp.el (org-export-format-source-code-or-example): Preserve
899         indentation if a block has a -i option, or if
900         `org-src-preserve-indentation' is set.
902         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
903         indentation if a block has a -i option, or if
904         `org-src-preserve-indentation' is set.
906 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
908         * org.el (org-mode-map): Define the new archiving keys.
909         (org-speed-commands-default): Define an archiving key in the speed
910         command map.
911         (org-org-menu): Improve the menu structure concerning archiving.
913         * org-archive.el (org-archive-subtree-default-with-confirmation):
914         New command.
916         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
917         (org-agenda-menu): Add the new archiving commands to the menu.
918         (org-agenda-archive-default)
919         (org-agenda-archive-default-with-confirmation): New commands.
920         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
921         call `org-agenda-archive-with'.
922         (org-agenda-archive-with): New function.
924         * org-table.el (org-table-convert-region): Inert spaces around "|"
925         to avoid line beginnings like "|-1" which will be mistaken as
926         hlines.
928 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
930         * org.el (org-offer-links-in-entry): Return nil if there are no
931         links, t if a link has been selected.
932         (org-open-at-point): Open attachment directory when called in the
933         headline and there are no links in the entry body.
934         (org-speed-commands-default): Add "o" for open-at-point as a speed
935         command.
937         * org-attach.el (org-attach-reveal): Optional prefix arg
938         IF-EXISTS, which avoids creating the attachment directory if it
939         does not yet exist.
941         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
942         MATCH.
944 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
946         * org.el ("abbrev"): Work with abbrev tables only after they have
947         been loaded.
949         * org-list.el (org-list-send-list): Fix bug related to match
950         data.
952         * org-latex.el (org-export-latex-fontify): Apply verbatim
953         emphasis.
954         (org-export-latex-make-header): Insert \obeylines if line breaks
955         should be preserved.
957         * org-exp.el (org-export-protect-verbatim): Add an
958         `org-verbatim-emph' property to such text.
960 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
962         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
963         (org-print-icalendar-entries): Skip entries where the timestamp is
964         not a deadline and not scheduled, if the user requests that.
966         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
967         before an opening quote.
969         * org-archive.el (org-archive-subtree): Keep archive after
970         archiving something.
972         * org-id.el (org-id-update-id-locations): Add archive files if
973         that is required by `org-id-extra-files'.
975 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
977         * org-src.el (org-src-window-setup): New option.
978         (org-src-switch-to-buffer): New function.
979         (org-edit-src-exit): Add optional argument CONTEXT and use it to
980         restore window configuration.
981         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
982         Call `org-src-switch-to-buffer'.
984         * org.el (org-default-properties): Add STYLE property.
985         (org-files-list): Use the function call to get the files.
986         (org-additional-option-like-keywords): Add SETUPFILE to completion
987         list.
989 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
991         * org-table.el (org-table-convert-region): Correctly interpret
992         quoting in csv import.
994         * org.el (org-icompleting-read): Make iswitchb completion work
995         with lists and tables.
997         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
998         while pushing the mobile agenda.
1000 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1002         * org-clock.el
1003         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1004         and `when-no-clock-is-running'.
1005         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1006         whether or not to resolve Org buffers on clock in.
1008 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1010         * org-colview.el (org-format-time-period): Function to format
1011         times in fractional days for display.
1012         (org-columns-display-here): Add support for showing a calculated
1013         value in place of the property.
1014         (org-columns): Set `org-columns-time' to the current time so time
1015         difference calculations will work.
1016         (org-columns-time): Use to store the current time when column view
1017         is displayed, so all time differences will use the same reference
1018         point.
1019         (org-columns-compile-map): There is now an extra position in each
1020         entry specifying the function to use to calculate the displayed
1021         value for the non-calculated properties in the column,
1022         (org-columns-compute-all): Set `org-columns-time' to the current
1023         time so time difference calculations will work.
1024         (org-columns-compute): Handle column operators where the values
1025         used are calculated from the underlying property.
1026         (org-columns-number-to-string): Handle the 'age' column format
1027         (org-columns-string-to-number): Correct the function name (was
1028         org-column...). Add support for the 'age' column format.
1029         (org-columns-compile-format): Support the additional parameter in
1030         org-columns-compile-map.
1032 2009-10-26  Bastien Guerry  <bzg@altern.org>
1034         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1035         variable.
1037 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1039         * org-clock.el (org-clock-has-been-used): New variable.
1040         (org-clock-in): Set `org-clock-has-been-used'.
1041         (org-clock-save): Save only if clock data has been used or created
1042         during this session.
1044 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1046         * org-clock.el (org-clock-persist): New value, to store only the
1047         clock history.
1048         (org-clock-save): Don't save the clock if only the history should
1049         be stored.
1050         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1051         when restoring a saved clock.
1053 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1055         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1056         `org-time-clock-use-fractional'.
1058         * org.el (org-time-clocksum-use-fractional)
1059         (org-time-clocksum-fractional-format): Two new customizable
1060         variables which allow the user to select fractional times (1.25
1061         instead of 1:25) in the `org-clock-display' report.
1063 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1065         * org-habit.el (org-habit-build-graph): None of the arguments
1066         should be optional.
1067         (org-habit-parse-todo, org-habit-deadline)
1068         (org-habit-get-priority, org-habit-get-faces)
1069         (org-habit-build-graph): Further simplifications by storing all
1070         past, scheduled and deadline dates as a number of days past the
1071         epoch, and not as times.
1073         * org-habit.el (org-habit-warning-face)
1074         (org-habit-warning-future-face): Removed because these are no
1075         longer used.
1076         (org-habit-deadline, org-habit-deadline-repeat): Now always
1077         returns a date; computed if there was a scheduled repeater but no
1078         deadline repeater.
1079         (org-habit-get-priority): Further improvements to the priority
1080         algorithm.  In particular, items past due should always appear
1081         before items due or not yet due.
1082         (org-habit-get-faces): Greatly simplified the logic, now that
1083         `org-habit-deadline' always returns a valid time.
1085 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1087         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1088         New option.
1090         * org.el (org-tag-alist): Fix customization type.
1092 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1094         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1095         Make sure the regexp search can fail without throwing an error.
1096         (org-mobile-apply): Save the inbox buffer after removing
1097         successfully applied changes.
1099 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1101         * org-habit.el (org-habit-build-graph): Fix to the graph building
1102         when last DONE date is earlier than `org-habit-preceding-days'.
1104         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1105         time is reported after the user comes back (but before they
1106         resolve time).
1108         * org.el (org-get-repeat): Change so that this function can be
1109         called with either `org-scheduled-string' or
1110         `org-deadline-string'.
1112         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1113         to find the scheduled date.
1115         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1116         `org-clock-disable-clock-resolution', since negatives don't sound
1117         good in customization variables.
1118         (org-clock-in): Don't use the auto-resolution logic if the user is
1119         clocking into a different task while an active clock is running.
1120         This then allows the default behavior of clocking out of the open
1121         task and then into the new task.
1123         * org-habit.el (org-habit-parse-todo): Generate an error if a
1124         habit has a scheduled repeat period < 1.
1125         (org-habit-get-faces): Fixes to the way that colors are computed.
1126         (org-habit-build-graph): The graph wasn't displaying beyond any
1127         day that had two completions in it.
1129         * org.el (org-modules): Made this variable more consistent, since
1130         it was referring to Org, OrgMode and Org-mode, whereas the docs
1131         for the variable always refer to Org-mode.
1133 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1135         * org.el (org-repeat-re): The changed org-repeat-re no longer
1136         matched simple +2d type repeaters. Fix it so it does.
1138 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1140         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1141         macro in the VERSE environment.
1143 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1145         * org-habit.el (org-habit-get-priority): A new function that
1146         determines the relative priority of a habit, based on how long
1147         past its scheduled date it is, and how near the deadline is.
1149         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1150         using `org-habit-get-priority'.
1152         * org-habit.el (org-habit-build-graph): Start displaying colors
1153         from the first scheduled date, if that date is earlier than the
1154         first completion date.
1156         * org-habit.el: Changed all "color" variables to faces, and made
1157         them appropriate for light and dark backgrounds.
1159         * org-habit.el (org-habit-duration-to-days): Made this function
1160         more general.
1161         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1163         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1164         habits, since they don't use DEADLINE anymore.
1166         * org.el (org-repeat-re, org-display-custom-time)
1167         (org-timestamp-change): Extended to support the new ".+N/N"
1168         syntax, used for habits.
1170         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1171         variable reference.
1173         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1174         modeline when habits are being displayed (if that module is being
1175         loaded).
1177 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1179         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1180         idle time using the xscreensaver extension.
1181         (org-user-idle-seconds): Use X11 idle time if available.
1183 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1185         * org-agenda.el (org-agenda-next-line): New command.
1186         (org-agenda-previous-line): New commands.
1187         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1188         commands.
1189         (org-agenda-follow-mode): Do the follow immediately if the mode is
1190         turned on here.
1191         (previous-line, next-line): Replace keys with the corresponding
1192         org functions.
1193         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1194         command.
1196         * org.el (org-icompleting-read): Turn off partial completion mode
1197         for the duration of this completion round.
1199         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1200         macros in author lines and similar stuff.
1202         * org.el (org-file-tags): Fix docstring.
1203         (org-get-buffer-tags): Add the #+FILETAGS tags.
1204         ("ecb"): Maks ecb show context after jumping into an Org file.
1206 2009-10-20  John Wiegley  <johnw@newartisans.com>
1208         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1209         graphs after everything else in the buffer has been setup.
1211 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1213         * org-mobile.el (org-mobile-apply): Count success and failure.
1215         * org.el (org-indent-line-function): Fix regexp replace problem.
1217 2009-10-19  John Wiegley  <johnw@newartisans.com>
1219         * org-clock.el (org-clock-disable-clock-resolution): New
1220         customization variable that disable automatic clock resolution on
1221         clock in.
1222         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1223         not automatically resolve anything.  This is does not affect
1224         idle-time resolution, however, if `org-clock-idle-time' is set.
1226 2009-10-19  John Wiegley  <johnw@newartisans.com>
1228         * org-habit.el: New file, which implements code to build a "habit
1229         consistency graph".
1231         * org-agenda.el (org-agenda-get-deadlines)
1232         (org-agenda-get-scheduled): Display consistency graphs when
1233         outputting habits into the agenda.  The graphs are always relative
1234         to the current time.
1235         (org-format-agenda-item): Added new parameter `habitp', which
1236         indicates whether we are formatting a habit or not.  Do not
1237         display "extra" leading information if habitp is true.
1239         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1240         leaders for repeat strings.
1241         (org-get-repeat): Now takes a string parameter `tagline', so the
1242         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1244 2009-10-19  John Wiegley  <johnw@newartisans.com>
1246         * org-agenda.el (org-agenda-auto-exclude-function): New
1247         customization variable for allowing the user to create an "auto
1248         exclusion" filter for doing context-aware auto tag filtering.
1249         (org-agenda-filter-by-tag): Changes to support the use of
1250         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1252 2009-10-18  John Wiegley  <johnw@newartisans.com>
1254         * org.el (org-files-list): Don't attempt to return a file name for
1255         Org buffers which have no associated file.
1257         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1259 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1261         * org-mobile.el (org-mobile-locate-entry): Interpret files
1262         relative to org-directory.
1263         (org-mobile-inbox-for-pull): Document the best location for this
1264         file.
1265         (org-mobile-check-setup): Verify `org-directory'.
1266         (org-mobile-create-index-file): Sort the files to be listed in
1267         index.org.
1269 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1271         * org.el (org-fast-tag-selection): Add a way to display a
1272         description for a tag group. This is done by adding a string to
1273         either the startgroup or endgroup cell.
1275 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1277         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1278         (org-emacs-idle-seconds): Use `org-float-time' instead of
1279         `time-to-seconds'
1281 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1283         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1284         type.
1286         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1287         the value of ARG when doing local cycling.
1289 2009-10-17  John Wiegley  <johnw@newartisans.com>
1291         * org-clock.el (org-clock-resolve-clock): If keeping or
1292         subtracting time results in a clock out at a time in the past, and
1293         if the resolution occurred due to idleness or invoking `M-x
1294         org-resolve-clocks', remember that past moment in time.  On the
1295         next clock in, the user will be prompted to see if they want to
1296         back-date their new clock to then.
1297         (org-clock-resolve): Do not jump the user to the location of a
1298         dangling clock if the resolution is occuring due to an idle
1299         timeout.  In that case there is typically only one dangling clock,
1300         the active one, and there is no value gained by shuffling their
1301         windows around to show it to them.  Being prompted to resolve an
1302         idle clock should be as inobtrusive as possible.
1303         (org-resolve-clocks-if-idle): New function that resolves only the
1304         currently active clock if the user has exceeded the time returned
1305         by `org-user-idle-seconds', based on the value of
1306         `org-clock-idle-time'.
1307         (org-clock-in): If, after resolving clocks,
1308         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1310         * org-clock.el (org-clock-resolve-clock): New function that
1311         resolves a clock to a specific time, closing or resuming as need
1312         be, and possibly even starting a new clock.
1313         (org-clock-resolve): New function used by `org-resolve-clocks'
1314         that sets up for the call to `org-clock-resolve-clock'.  It
1315         determines the time to resolve to based on a single-character
1316         selection from the user to either keep time, subtract away time or
1317         cancel the clock.
1318         (org-resolve-clocks): New user command which resolves dangling
1319         clocks -- that is, open but not active -- anywhere in the file
1320         list returned by `org-files-list'.
1321         (org-clock-in): Automatically resolve dangling clocks whenever a
1322         user clocks in.
1323         (org-clock-cancel): If the user cancels the solely clock in a
1324         LOGBOOK, remove the empty drawer.
1326         * org-clock.el (org-clock-idle-time): New user customizable option
1327         for detecting whether the user has left a clock idle.  Note: it is
1328         only used in this commit to test whether it's worthwhile to check
1329         OS X to get the Mac user's current idle time.  If the Emacs idle
1330         time is less than the value, the user hasn't been away long enough
1331         to be worth checking (a more expensive test than just getting
1332         Emacs idle time).
1333         (org-user-idle-seconds, org-mac-idle-seconds)
1334         (org-emacs-idle-seconds): This three functions, in conjunction
1335         with the user customization variable `org-clock-idle-time', return
1336         the number of seconds (as a floating point) that the user has been
1337         away from their Emacs (or, if running on OS X, their computer).
1339         * org-clock.el (org-find-open-clocks): New function that returns a
1340         list of all open clocks in the given FILE.  Note that each clock
1341         it returns is a cons cell of the format (MARKER . START-TIME).
1342         This "clock" value is used by several of the new clock module
1343         utility functions.
1344         (org-is-active-clock): New inline function which tests whether the
1345         given clock value is the same as the currently active clock.
1346         Returns non-nil if this is the case.
1347         (org-with-clock-position): New macro that evaluates FORMS with
1348         point in the buffer and at the position of the given clock.
1349         Changes to the current clock are global.
1350         (org-with-clock): New macro that evaluates FORMS with point in the
1351         buffer and at the position of the given clock.  However, changes
1352         to the current clock are local and have no effect on the user's
1353         active clock.  This allows, for example, far any clock to be
1354         cancelled without cancelling the active clock.
1355         (org-clock-clock-in): New inline function that switches the active
1356         clock to the given clock.  If either the argument RESUME, or the
1357         global `org-clock-in-resume', are non-nil, it will resume a clock
1358         that was previously left open.
1359         (org-clock-clock-out): New inline function that clocks out the
1360         given clock value without affecting the currently active clock.
1361         (org-clock-clock-cancel): New inline function that cancels the
1362         given clock value without affecting the currently active clock.
1364         * org-clock.el (org-clock-in): Before creating
1365         `org-clock-mode-line-timer', check to make sure an older timer is
1366         not currently running.
1367         (org-clock-out): Accept new third parameter `at-time', which
1368         permits a clock to be clocked out at a specific time.  Note that
1369         no attempt is made to verify that the clock out time is later than
1370         the clock in time.
1372         * org.el (org-files-list): New utility function for returning a
1373         list of all open org-mode buffers, plus all files used to build
1374         the agenda buffer.  Note that not all the files will necessarily
1375         be visited by a buffer at time of call.
1376         (org-entry-beginning-position): Like the function
1377         `line-beginning-position', this inline function returns the
1378         beginning position of the current heading/entry.
1379         (org-entry-end-position): Like the function `line-end-position',
1380         this inline function returns the end position of the current
1381         heading/entry.
1383 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1385         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1386         a header line.
1388 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1390         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1392 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1394         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1395         entries that have no tags.
1396         (org-agenda-search-view): New customize group.
1397         (org-agenda-search-view-search-words-only): New option.
1398         (org-search-view): Implement substring search.
1400 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1402         * org.el (org-outline-level): Add doc string.
1404 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1406         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1407         variable.
1408         (org-inlinetask-export-handler): Only export inline task if the
1409         user option calls for it.
1411 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1413         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1414         END if present.
1416 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1418         * org-latex.el (org-export-latex-tables): Don't format in
1419         protected regions.
1421 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1423         * org-src.el (org-edit-src-code)
1424         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1425         macro editing.
1427         * org-agenda.el (org-prefix-category-max-length): New variable.
1428         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1429         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1431 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1433         * org-mobile.el (org-mobile-create-index-file): Improve the
1434         listing of tags and todo keywords.
1436         * org-latex.el (org-export-latex-format-image): New function.
1437         (org-export-latex-links): Use `org-export-latex-format-image'.
1439 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1441         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1442         (org-inlinetask-remove-terminator): New functions.
1443         (org-inlinetask-export-handler): Terminate the description list.
1445         * org-exp.el (org-export-select-backend-specific-text): Remove the
1446         region markers.
1448         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1449         tasks without content.
1451         * org-clock.el: Make sure the clock-in target position does not
1452         move to a different node by widening the buffer.
1454         * org-html.el (org-export-html-format-image): Wrap image into
1455         figure div only when there is a caption.
1457         * org-archive.el (org-archive-mark-done): Change default value to
1458         nil.
1460 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1462         * org.el (org-context): Call `bobp', not `eobp'.
1464         * org-clock.el (org-clock-cancel): Remove quotes from marker
1465         variables.
1467         * org.el (org-read-date-prefer-future): New allowed value `time'.
1468         (org-read-date-analyze): Shift day to tomorrow depending on time
1469         entered and value of `org-read-date-prefer-future'.
1471 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1473         * org.el (org-set-tags-to): New command.
1475         * org-mobile.el (org-mobile-action-alist): Add more options and
1476         update the docstring.
1477         (org-mobile-apply-flags): Parse for and use the data.
1479         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1480         the plist.
1482         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1483         keyword.
1485         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1487 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1489         * org-inlinetask.el (org-inlinetask-export): Option removed.
1490         (org-inlinetask-export-handler): Better export.
1492         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1493         (org-export-as-xoxo): Run the new hook.
1495         * org-html.el (org-export-html-final-hook): New hook.
1496         (org-export-as-html): Run the new hook.
1498         * org-docbook.el (org-export-docbook-final-hook): New hook.
1499         (org-export-as-docbook): Run the new hook.
1501         * org-ascii.el (org-export-ascii-final-hook): New hook.
1502         (org-export-as-ascii): Run the new hook.
1504         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1505         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1507         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1508         space character as the character before the ^/_.
1509         (org-export-latex-final-hook): New hook.
1510         (org-export-as-latex): Run `org-export-latex-final-hook'.
1512 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1514         * org-macs.el (org-if-unprotected-at): Fix docstring.
1516         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1517         text in the prefix (if category is a link).
1519         * org-latex.el (org-export-latex-preprocess): Deal properly with
1520         empty lines in verse environments.
1522         * org.el (org-format-latex-header): Inline fullpage.sty.
1524         * org-footnote.el (org-footnote-create-definition): Reveal context
1525         to add a new footnote definition.
1527         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1528         the index file.
1529         (org-mobile-files): New option.
1530         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1531         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1532         functions.
1533         (org-mobile-push): Start by creating the files lists.
1534         (org-mobile-copy-agenda-files): Move killing the buffer to after
1535         the save-excursion has exited.
1536         (org-mobile-write-checksums): Write checksums also for files in
1537         sub-directories.
1539         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1540         org-table-recalculate when cursor is in TBLFM line.
1542         * org-list.el (org-renumber-ordered-list): Fix cursor position
1543         when bullet length has changed.
1545 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1547         * org.el (org-format-latex): Mention `org-format-latex-options' in
1548         the docstring.
1550 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1552         * org.el (org-agenda-get): New function.
1554         * org-agenda.el (org-agenda-post-command-hook): No longer move
1555         point away from end of line.
1556         (org-agenda-add-entry-text, org-agenda-collect-markers)
1557         (org-finalize-agenda, org-agenda-mark-clocking-task)
1558         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1559         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1560         (org-agenda-compare-effort, org-agenda-filter-apply)
1561         (org-agenda-later, org-agenda-change-time-span)
1562         (org-agenda-post-command-hook, org-agenda-show-priority)
1563         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1564         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1565         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1566         (org-agenda-open-link, org-agenda-copy-local-variable)
1567         (org-agenda-switch-to, org-agenda-check-no-diary)
1568         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1569         (org-agenda-add-note, org-agenda-change-all-lines)
1570         (org-agenda-priority, org-agenda-set-tags)
1571         (org-agenda-set-property, org-agenda-set-effort)
1572         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1573         (org-agenda-show-new-time, org-agenda-date-prompt)
1574         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1575         (org-agenda-clock-in, org-agenda-bulk-mark)
1576         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1577         `org-get-at-bol'.
1579         * org-colview.el (org-columns-display-here)
1580         (org-columns-edit-allowed, org-agenda-columns): Use
1581         `org-get-at-bol'.
1583 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1585         * org.el (org-special-ctrl-a/e): Improve documentation and
1586         customize type.
1587         (org-end-of-line): Don't jump to after the ellipsis.
1588         (org-mode-map): Bind <home> and <end> as well.
1590 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1592         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1593         space after #+ as comments.
1594         (org-open-at-point): Run `org-follow-link-hook' always.
1596         * org-latex.el (org-export-latex-emph-format): Use better commands
1597         to insert special characters in verbatim snippets.
1599 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1601         * org-faces.el (org-copy-face): New function.  Use it to create
1602         various faces formerly created by using `copy-face'.
1604         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1605         window dedicated.
1606         (org-agenda-quit): Kill the frame containing the agenda window if
1607         that frame was created for the agenda.
1609 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1611         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1612         stamp in the agenda.
1614 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1616         * org-mobile.el (org-mobile-create-index-file): Add the list of
1617         TODO keywords, and the list of drawers to the index file.
1619         * org-agenda.el (org-prepare-agenda): Reset
1620         `org-drawers-for-agenda'.
1621         (org-prepare-agenda): Uniquify list of drawers.
1623         * org.el (org-complex-heading-regexp-format): New variable.
1624         (org-set-regexps-and-options): Define
1625         `org-complex-heading-regexp-format'.
1626         (org-drawers-for-agenda): New variable.
1627         (org-map-entries): Bind `org-drawers-for-agenda'.
1628         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1630         * org-remember.el (org-go-to-remember-target)
1631         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1633 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1635         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1636         problem.
1638         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1639         the capture file, and make it non-configurable.
1641         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1642         always with `invisible-ok'.
1643         (org-store-link): No error when there is nothing to link to in the
1644         agenda.
1646         * org-list.el (org-update-checkbox-count): Insert changed cookie
1647         before the old, to avoid problems with invisibility at the end of
1648         the line.
1649         (org-update-checkbox-count): Insert changed cookie before the old,
1650         to avoid problems with invisibility at the end of the line.
1652         * org.el (org-sort-entries-or-items): Include the final newline.
1653         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1654         lines for fontification.
1655         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1656         (org-prepare-dblock): Store the current indentation of the BEGIN
1657         line.
1658         (org-update-dblock): Apply the indentation of the begin line to
1659         the rest of the block.
1660         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1661         (org-startup-folded): New allowed value `showeverything'.
1662         (org-startup-options): Add STARTUP keyword `showeverything'.
1663         (org-set-startup-visibility): Respect value `showeverything' in
1664         org-startup-folded.
1666 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1668         * org.el (org-closest-date): Fix issue with past preference.
1670         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1672         * org-archive.el (org-archive-set-tag)
1673         (org-archive-subtree-default): New commands.
1675         * org-mobile.el (org-mobile-create-index-file): Fix link to
1676         capture file.
1677         (org-mobile-copy-agenda-files): Create the capture file if it does
1678         not exist.
1680         * org-clock.el (org-clock-clocktable-default-properties): New
1681         option.
1682         (org-clock-report): Use
1683         `org-clock-clocktable-default-properties'.
1685 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1687         * org.el (org-iswitchb-completing-read): Fix typo.
1689         * org-crypt.el: New file.
1691         * org.el: Add an entry for org-crypt.
1693 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1695         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1696         consistency.
1697         (org-batch-store-agenda-views): New function.
1698         (org-mobile-force-id-on-agenda-items): Mention variable.
1699         (org-agenda-title-append): Define variable.
1700         (org-write-agenda): New export to Org files.
1701         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1702         (org-agenda): Allow to keep the restricted file list if a special
1703         variable is bound to t.
1704         (org-agenda): Define a special agenda view for working on flagged
1705         entries.
1706         (org-agenda-get-restriction-and-command): List the new agenda
1707         view.
1708         (org-agenda-show-the-flagging-note): New command.
1709         (org-agenda-mode-map): New key `?' for looking at the flagging
1710         note.
1712         * org.el (org-autoload): Autoload org-mobile.el.
1713         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1715         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1717 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1719         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1720         statements.
1721         (org-table-get-remote-range): Match indented #+TBLNAME
1722         statements.
1724         * org.el (org-convert-to-odd-levels)
1725         (org-convert-to-oddeven-levels): Work also correctly if the file
1726         is in outline-mode.
1728 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1730         * org.el (org-store-link): When in agenda buffer, link to
1731         referenced entry.
1732         (org-add-planning-info): Remove spaces at eol.
1734         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1735         property.
1737 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1739         * org-latex.el (org-export-latex-first-lines): Fix problem with
1740         LaTeX export of first line and selected subtree.
1742         * org.el (org-shifttab): Interpret arg differently when using only
1743         odd levels.
1745 2009-09-09  Bastien Guerry  <bzg@altern.org>
1747         * org.el (org-check-agenda-file): Use a more explicit message
1749 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1751         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1752         normal lines.
1754 2009-09-08  Bastien Guerry  <bzg@altern.org>
1756         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1757         prompt in the temporary window.
1759         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1760         prefix for marked entries in the agenda view.
1762 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1764         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1765         a way that prevents any trailing character from being displayed.
1767 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1769         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1770         menu.
1772         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1773         slow regexp match.
1775 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1777         * org-latex.el (org-export-latex-preprocess): Do not protect in
1778         the LaTeX header.
1780         * org-src.el (org-edit-src-save): Save window setup while saving.
1781         (org-edit-src-code): Use new buffer name construction scheme.
1783 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1785         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1786         variable.
1787         (org-agenda-entry-text-cleanup-hook): New hook.
1788         (org-agenda-get-some-entry-text): Remove matches of
1789         `org-agenda-entry-text-exclude-regexps' and run the hook
1790         `org-agenda-entry-text-cleanup-hook'.
1792         * org.el (org-offer-links-in-entry): New argument ZERO to
1793         implement a link with index zero.
1794         (org-cycle-show-empty-lines): Not keep empty line under header
1795         hidden.
1796         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1797         to nil for special completion.
1798         (org-store-link): Don't error before the first heading.
1800         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1801         `org-offer-links-in-entry'.
1803 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1805         * org-agenda.el (org-agenda-quit): Provide the window argument for
1806         `window-dedicated-p', Emacs 22 needs it.
1807         (org-format-agenda-item): If the category is a link, arrange for
1808         invisible text to replaced with spaces.
1809         (org-compile-prefix-format): Add the extra space.
1810         (org-prefix-category-length): New variable.
1812         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1813         references from TOC lines.
1815         * org.el (org-selected-window): New variable.
1817         * org-table.el (org-table-edit-formulas): Remember the selected
1818         window.
1819         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1820         that was originally selected.
1822         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1823         expansion of a macro for more macro definitions.
1825         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1826         invisibility overlay starts on the newline.
1828 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1830         * org-protocol.el (org-protocol-store-link)
1831         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1833         * org-compat.el (org-float-time): New function.
1835         * org.el (org-clock-update-time-maybe)
1836         (org-sort-entries-or-items, org-do-sort)
1837         (org-evaluate-time-range, org-time-string-to-seconds)
1838         (org-closed-in-range): Use `org-float-time'.
1840         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1841         (org-timer-seconds):  Use `org-float-time'.
1843         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1844         (org-clock-sum, org-dblock-write:clocktable)
1845         (org-clocktable-steps):  Use `org-float-time'.
1847         * org-agenda.el (org-agenda-last-marker-time)
1848         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1850         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1851         function.
1853         * org-exp.el (org-get-file-contents): Only protect lines that
1854         really need it.
1856         * org-html.el (require): Require cl for compilation.
1858         * org.el:  Avoid using `default-major-mode'.
1860         * org-plot.el (require): Require CL only at compile time.
1862         * org-exp.el (require): Require CL only at compile time.
1864         * org-agenda.el (org-agenda-quit): When the agenda window is
1865         dedicated, remove other windows before exiting, so that the frame
1866         really will be killed.
1868         * org-exp.el (org-export-handle-include-files): Reset START and
1869         END for each loop cycle.
1871 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1873         * org.el (org-eval-in-calendar): Use
1874         `org-select-frame-set-input-focus'.
1876         * org-compat.el (org-select-frame-set-input-focus): New function.
1878         * org.el (org-update-statistics-cookies): New function.
1879         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1881 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1883         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1884         after the local variables are set.
1886         * org-latex.el (org-export-latex-protect-amp): New function.
1887         (org-export-latex-links): Protect link ampersands in tables.
1889         * org-exp.el (org-export-select-backend-specific-text): Match in
1890         two steps, to avoid regexp problems.
1892         * org.el (org-offer-links-in-entry): Improve working with many and
1893         duplicate links.
1895         * org-agenda.el (org-agenda-show-1): Make more consistent with
1896         normal cycling.
1897         (org-agenda-cycle-show): Make more consistent with normal cycling.
1899         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1900         website.
1902 2009-08-30  Bastien Guerry  <bzg@altern.org>
1904         * org-latex.el (org-export-latex-first-lines): Bugfix.
1906 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1908         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1909         about new effort.
1911         * org.el (org-set-effort): New function.
1912         (org-mode-map): New key for effort setting command.
1914         * org-agenda.el (org-agenda): Keep window setup when calling
1915         agenda from within agenda window.
1916         (org-agenda-mode-map): New keys for effort setting commands.
1917         (org-agenda-menu): Add effort setting commands to menu.
1918         (org-agenda-set-property, org-agenda-set-effort): New functions.
1920         * org-latex.el (org-export-latex-tables): Fix
1921         `org-table-last-alignment' and `org-table-last-column-widths' if
1922         the first column has been removed.
1924 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1926         * org.el (org-remove-timestamp-with-keyword): Only remove in
1927         entry, not in subtree.
1929         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1930         emacs lisp.
1932         * org.el (org-open-at-point): When on headline, offer all strings
1933         in entry.
1935         * org-remember.el (org-remember-templates): Documentation fix.
1937         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1938         `org-get-last-sibling' instead of the outline versions of these
1939         functions.
1940         (org-get-last-sibling): New function.
1941         (org-refile): Use `org-get-next-sibling' instead of the outline
1942         version of this function.
1943         (org-clean-visibility-after-subtree-move): Use
1944         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1945         outline versions of these functions.
1947 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1949         * org-agenda.el (org-prepare-agenda): When creating a new frame
1950         for the agenda, make the window dedicated.
1952         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1954         * org-table.el (org-table-align): Change the order of reinsertion
1955         and deletion, to avoid problems with overlays following the table.
1957         * org.el (org-parse-time-string): Better error message.
1958         (org-show-subtree): Use org-end-of-subtree.
1960         * org-macs.el (org-goto-line): New defsubst.
1962         * org.el (org-open-file, org-change-tag-in-region)
1963         (org-fast-tag-show-exit): Don't use `goto-line'.
1965         * org-table.el (org-table-align, org-table-insert-column)
1966         (org-table-delete-column, org-table-move-column)
1967         (org-table-sort-lines, org-table-copy-region)
1968         (org-table-paste-rectangle, org-table-wrap-region)
1969         (org-table-get-specials, org-table-rotate-recalc-marks)
1970         (org-table-get-range, org-table-recalculate)
1971         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1972         (org-table-show-reference, org-table-highlight-rectangle): Don't
1973         use `goto-line'.
1975         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1976         (org-edit-src-exit): Don't use `goto-line'.
1978         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1980         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1981         Don't use `goto-line'.
1983         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1985         * org-colview.el (org-columns, org-columns-redo)
1986         (org-agenda-columns): Don't use `goto-line'.
1988         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1989         use `goto-line'.
1991         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1992         (org-agenda-add-entry-text-maxlines): Improve docstring.
1993         (org-agenda-start-with-entry-text-mode): New option.
1994         (org-agenda-entry-text-maxlines): New option.
1995         (org-agenda-entry-text-mode): New variable.
1996         (org-agenda-mode): Set initial value of
1997         `org-agenda-entry-text-mode'.
1998         (org-agenda-mode-map): Add the `E' key.
1999         (org-agenda-menu): Add entry text mode to the menu.
2000         (org-agenda-get-some-entry-text): Fix line count bug.
2001         (org-finalize-agenda): Apply entry text mode if appropriate.
2002         (org-agenda-entry-text-show-here): New function.
2003         (org-agenda-entry-text-show): New function.
2004         (org-agenda-entry-text-hide): New function.
2005         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2006         key menu.
2007         (org-agenda-entry-text-mode): New command.
2008         (org-agenda-set-mode-name): Add entry text mode to the mode line
2009         string.
2010         (org-agenda-undo, org-agenda-get-restriction-and-command)
2011         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2012         `goto-line'.
2014 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2016         * org-clock.el (org-notify): Bugfix.
2018 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2020         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2021         check for after-string.
2023         * org-gnus.el (org-gnus-store-link): Simplify.
2025         * org.el (org-latex-regexps): Don't add extra empty lines for
2026         display formulas.
2028 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2030         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2031         (org-agenda-add-entry-text): Use
2032         `org-agenda-get-some-entry-text'.
2034         * org.el (org-cycle-separator-lines): Update docstring.
2035         (org-cycle-show-empty-lines): Handle negative values for
2036         `org-cycle-show-empty-lines'.
2038         * org-exp.el (org-export-protect-sub-super): New function.
2039         (org-export-normalize-links): Protect the url of plain links from
2040         supscript and superscript processing.
2042         * org-remember.el (org-remember-escaped-%): New function.
2043         (org-remember-apply-template): Use `org-remember-escaped-%' to
2044         detect escaped % signs.
2046 2009-08-23  Bastien Guerry  <bzg@altern.org>
2048         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2049         sound when showing the notification.
2051         * org-clock.el (org-notify): New function.
2052         (org-clock-notify-once-if-expired): Use `org-notify'.
2054         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2055         and `gnus-article-mode' separately.
2056         (gnus-summary-article-header): Fix the declare-function.
2058 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2060         * org-exp.el (org-export-format-source-code-or-example): Translate
2061         language.
2063         * org-src.el (org-src-lang-modes): New variable
2064         (org-edit-src-code): Translate language.
2066         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2067         the new structure of the `org-export-latex-listings-langs'
2068         variable.
2070         * org-latex.el (org-export-latex-listings-langs): Change structure
2071         of the variable from plist to alist.
2073 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2075         * org.el (org-in-commented-line): New function.
2077 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2079         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2081 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2083         * org.el (org-flag-drawer): More useful error.
2085 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2087         * org-remember.el (org-remember-apply-template): Use
2088         org-icompleting-read.
2090         * org-publish.el (org-publish): Use org-icompleting-read.
2092         * org-colview.el (org-columns-edit-value, org-columns-new)
2093         (org-insert-columns-dblock): Use org-icompleting-read.
2095         * org-colview-xemacs.el (org-columns-edit-value)
2096         (org-columns-new, org-insert-columns-dblock): Use
2097         org-icompleting-read.
2099         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2100         org-icompleting-read.
2102 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2104         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2105         (org-version): Return the version text.
2106         (org-org-menu): Add a menu entry for the new bug reporter.
2107         (org-submit-bug-report): New command.
2109         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2110         docstring.
2112         * org.el (org-emphasis-regexp-components): Add "`" to set of
2113         pre-emphasis characters.
2115         * org-latex.el (org-export-latex-classes): Always include the soul
2116         package.
2117         (org-export-latex-emphasis-alist): Use \st for strikethough.
2119         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2120         `indent-code-rigidly' to indent.
2122         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2123         properties only if MATCH really is a string.
2125 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2127         * org-latex.el (org-export-latex-packages-alist): Fix
2128         customization type.
2130         * org.el (org-create-formula-image): Also use
2131         `org-export-latex-packages-alist'.
2133         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2134         (org-export-as-html): Format footnotes correctly.
2136 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2138         * org.el (org-fast-tag-selection): Avoid text properties on tags
2139         in the alist.
2141         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2142         text properties on the match element.
2144 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2146         * org.el (org-set-regexps-and-options): Make sure the list of done
2147         keywords is not invalid.
2149         * org-exp.el (org-export-interpolate-newlines): New function.
2151 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2153         * org.el (org-format-latex): Avoid nested overlays.
2155         * org-latex.el (org-export-latex-listings-langs): Add a few more
2156         languages.
2158         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2159         ignore newlines and space before the first macro argument.
2161         * org-latex.el (org-export-latex-tables): Remove save-excursion
2162         around `org-table-align'.
2164 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2166         * org.el (org-export-html-special-string-regexps): Definition
2167         moved into org.el
2169         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2170         in macro calls.
2172 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2174         * org-latex.el (org-export-latex-listings)
2175         (org-export-latex-listings-langs): New options.
2177         * org-exp.el (org-export-format-source-code-or-example): Use
2178         listing package if requested by the user.
2180 2009-08-08  Bastien Guerry  <bzg@altern.org>
2182         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2183         command before actually switching to a buffer.
2185 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2187         * org-exp.el (org-get-file-contents): Only quote org lines when
2188         the markup is src or example.
2190         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2191         New option
2192         (org-agenda-get-day-entries): Remember deadline results and pass
2193         them on into the function getting the scheduling information.
2194         (org-agenda-get-scheduled): Accept deadline results as parameters
2195         and maybe skip some entries.
2196         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2198         * org.el (org-insert-heading): When respecting content, do not
2199         convert current line to headline.
2201         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2202         cheeeeeck the hd marker
2203         (org-clock-in): Also set the hd marker.
2204         (org-clock-out): Also set the hd marker.
2205         (org-clock-cancel): Reset markers.
2207         * org.el (org-clock-hd-marker): New marker.
2209         * org-faces.el (org-agenda-clocking): New face.
2211         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2212         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2214         * org.el (org-modules): Add org-track.el.
2216         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2217         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2218         `org-agenda-bulk-marked-p'.
2219         (org-agenda-bulk-toggle): New command.
2221 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2223         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2224         not just the body.
2226         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2227         messages.
2229 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2231         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2232         before gnuplot can read it.
2234 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2236         * org-latex.el (org-export-latex-first-lines): Fix bug with
2237         finding the end of the first lines.
2239         * org.el (org-create-formula-image): Remove the -E option for
2240         dvipng.
2242         * org-exp.el (org-default-export-plist): Respect #+BIND.
2243         (org-export-confirm-letbind): New function.
2245         * org.el (org-paste-subtree): Test the kill ring entry if it is
2246         going to be used.
2247         (org-copy-subtree): Use `org-forward-same-level'.
2248         (org-forward-same-level): Respect the `invisibe-ok' arg for
2249         back-to-heading.
2251 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2253         * org.el (org-table-map-tables): Make sure cursor is back at table
2254         beginning after funcall.
2256         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2257         handled before children, and do not error if an entry is not
2258         found, probably because it hase been remove when the parent was
2259         archived or refiled.
2261         * org.el (org-ido-completing-read): Accept straight lists for
2262         completion as well as alists.
2264         * org-html.el (org-export-as-html): Fix parenthesis error in
2265         footnore code.
2267         * org-timer.el (org-timer-cancel-timers): Renamed from
2268         `org-timer-cancel-timers'.
2270         * org.el (org-cycle-internal-local): Fix problem with finding next
2271         invisible line.
2273 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2275         * org-list.el (org-list-send-list): Call
2276         `org-list-goto-true-beginning' instead of
2277         `org-list-find-true-beginning', which does not exist.
2279         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2280         (org-timer-set-timer): Do not assign to heading.
2282         * org-id.el (org-id-open): Quote function name.
2284         * org-macs.el (org-unmodified): Turn off recording undo
2285         information while running inside the macro.
2287         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2288         variable.
2289         (org-indent-mode): Remember and restore value of
2290         org-hide-leading-stars before `org-indent-mode'.
2292         * org-table.el (org-table-export): Also work in file-less
2293         buffers.
2295         * org.el (org-startup-indented): New option.
2296         (org-startup-options): Add new options indent and noindent.
2297         (org-unfontify-region): Remove line-prefix and wrap-prefix
2298         properties.
2299         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2300         hooks.
2301         (org-promote, org-demote): Run the new hooks.
2303         * org-table.el (org-table-align): Replace leading \n as well.
2305         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2306         and `line-wrap' text properties.
2308         * org-compat.el (org-kill-new): New function.
2310         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2311         `line-wrap' text properties.
2313         * org-indent.el: New file.
2315 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2317         * org.el (org-provide-todo-statistics): Tweak docstring.
2319         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2321 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2323         * org-exp.el (org-export-as-org): Insert the "-source" string
2324         before the extension.
2326         * org.el (org-read-date): Make sure the calendar is in the current
2327         frame.
2328         (org-set-emph-re): Remove the ? from the post-match.
2329         (org-emphasis-regexp-components): Add backslash to the
2330         postmatch class.
2331         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2332         optional so that also lines at the end of the buffers will still
2333         be matched as headlines.
2335         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2336         Variable made obsolete.
2337         (org-table-relative-ref-may-cross-hline): New option.
2338         (org-table-find-row-type): Honow the new option
2339         `org-table-relative-ref-may-cross-hline'.
2341 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2343         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2344         on single field if no active region.
2346 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2348         * org-latex.el (org-export-latex-make-header): Only insert title
2349         if one is defined.
2351         * org.el (org-make-options-regexp): Allow empty values.
2353         * org-html.el (org-export-as-html): Move hrule detection to after
2354         plain list handling.
2356 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2358         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2360 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2362         * org.el (org-cycle-internal-local): Improved version of finding
2363         next visible line.
2364         (org-cycle-hide-drawers): Only hide drawers if this is really
2365         necessary.
2366         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2367         org-version of this function in Org-mode.  We use advice to
2368         implement this change, so that future changes to this function in
2369         outline.el wil be handled properly.
2370         (org-forward-same-level, org-backward-same-level): New commands.
2372 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2374         * org.el (org-remove-empty-overlays-at)
2375         (org-clean-visibility-after-subtree-move): New functons.
2376         (org-move-subtree-down): Simplify cleanup of display.
2378 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2380         * org-mac-message.el (org-mac-message-get-links): Improve
2381         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2382         "s".  Fix the return value.
2383         (org-mac-message-insert-flagged): Simplify.
2385         * org.el (org-refile-get-location): Tamper with refile history o
2386         that history contains compete matches instead of the entered
2387         string.
2389 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2391         * org.el (org-store-link): Never store a link to an inline task.
2393         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2395         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2396         inline tasks when positioning footnotes.
2398         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2399         function.
2401         * org.el (org-refile): Remove the END line when archiving an
2402         inline task that does have an END line.
2404         * org-archive.el (org-archive-subtree): Remove the END line when
2405         archiving an inline task that does have an END line.
2407         * org-macs.el (org-with-limited-levels): New macro.
2408         (org-get-limited-outline-regexp): New function.
2410         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2411         that did not enumerate first line.
2412         (org-export-mark-radio-links): Skip matches in links.
2414 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2416         * org.el (org-activate-plain-links): Make single-match.
2417         (org-adapt-indentation): Fix docstring.
2419         * org-macs.el (org-unmodified): Turn of modification hooks while
2420         running this macro.
2422 2009-08-02  Bastien Guerry  <bzg@altern.org>
2424         * org.el (org-adapt-indentation): Slightly improve the docstring.
2425         (org-occur): Sends an error when the user inputs an empty string.
2426         (org-priority): Bugfix: the tag alignement should happen within
2427         save-excursion.
2429 2009-07-31  Bastien Guerry  <bzg@altern.org>
2431         * org.el (org-make-link-regexps): Don't exclude parentheses from
2432         `org-plain-link-re'
2433         (org-cycle-internal-local): When locally cycling, switch directly
2434         from CHILDREN to FOLDED if there is no subtree
2435         (org-cycle): Update the docstring to document the new behavior of
2436         `org-cycle-internal-local'.
2438 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2440         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2441         an abbreviated format for days.
2443 2009-07-27  Bastien Guerry  <bzg@altern.org>
2445         * org-protocol.el (org-protocol-default-template-key): New
2446         option.
2448         * org.el (org-refile): Bugfix: save-excursion before reading the
2449         refile target, otherwise cursor moves might confuse `org-refile'.
2451         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2452         footnote reference before the footnote itself.
2454         * org.el (org-toggle-heading): Bugfix: correctly convert list
2455         items before the first headline.
2457         * org-html.el (org-export-html-footnote-format): New option for
2458         formatting the footnote reference.
2459         (org-export-as-html): Use the new option.
2461         * org.el (org-provide-todo-statistics): Allow a list of TODO
2462         keywords to compute statistics against headlines containing a
2463         keyword from this list.
2464         (org-update-parent-todo-statistics): Possibly use the new allowed
2465         value of `org-provide-todo-statistics'.
2467 2009-07-26  Bastien Guerry  <bzg@altern.org>
2469         * org-timer.el: Add autoload cookie.
2471         * org.el (org-occur-link-in-agenda-files): New function.
2473         * org-timer.el (org-timer-last-timer): New variable.
2475         * org-agenda.el (org-agenda-mode-map): New key for
2476         org-timer-set-timer called from the agenda.
2478         * org.el (org-mode-map): New key for org-timer-set-timer.
2480         * org-timer.el (org-timer-reset-timers)
2481         (org-timer-show-remaining-time, org-timer-set-timer): New
2482         functions.
2484         * org-clock.el (org-show-notification): Update the docstring.
2486         * org.el (org-provide-todo-statistics): Allow new value
2487         'all-headlines for this option, which includes entries with no
2488         TODO keywords in the todo statistics.
2489         (org-update-parent-todo-statistics): Possibly use the new
2490         'all-headline value from `org-provide-todo-statistics'.
2492 2009-07-25  Bastien Guerry  <bzg@altern.org>
2494         * org-clock.el (org-dblock-write:clocktable): Add a new option
2495         :timestamp which allows display of timestamps in clock reports.
2497         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2498         list to a subtree, preserving the structure of the list.
2499         (org-set-emph-re): Make the last element optional in the regexp.
2500         This regexp now matches an emphasized string at the end of a line.
2502         * org-list.el (org-list-goto-true-beginning)
2503         (org-list-make-subtree, org-list-make-subtrees): New functions.
2505         * org.el (org-eval-in-calendar): Select the right frame.
2506         (org-save-frame-excursion): Remove this macro.
2508 2009-07-24  Bastien Guerry  <bzg@altern.org>
2510         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2511         trying to find the beginning of a list.
2513         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2514         When present, tell org-get-file-contents not to protect org-like
2515         lines.
2517         * org-id.el (org-id-uuid-program): New option to set the name of
2518         the uuidgen program.
2519         (org-id-method): Use `org-id-uuid-program'.
2520         (org-id-new): Use `org-id-uuid-program'.
2522 2009-07-23  Bastien Guerry  <bzg@altern.org>
2524         * org-exp.el (org-export-number-lines): Allow whitespace in code
2525         references.  Allow the -r switch to remove the references in the
2526         source code even when the lines are not numbered: the labels can
2527         be explicit enough.
2529         * org.el (org-fontify-whole-heading-line): New option.
2530         (org-set-font-lock-defaults): Use the new option.
2532         * org-clock.el (org-show-notification-handler): New option.
2533         (org-show-notification): Use the new option.
2535 2009-07-21  Bastien Guerry  <bzg@altern.org>
2537         * org.el (org-eval-in-calendar): Fix a bug about calendar
2538         navigation when `calendar-setup' value is 'calendar-only.
2540 2009-07-19  Bastien Guerry  <bzg@altern.org>
2542         * org.el (orgstruct++-mode): Fix typo in docstring.
2543         (org-insert-link): Clean up: (or (...)) => (...)
2544         (org-insert-link): Use TAB for stored links completion.
2546 2009-07-18  Bastien Guerry  <bzg@altern.org>
2548         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2549         building the list of targets.
2551         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2552         option.
2553         (org-remember-handler): Use the new option.
2555 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2557         * org.el (org-tags-sort-function): New option for sorting tags.
2558         (org-set-tags): Use the new option to sort tags.
2560         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2561         premature deletion of the data when using org-plot in a script.
2563 2009-07-17  Bastien Guerry  <bzg@altern.org>
2565         * org-clock.el (org-clock-in-prepare-hook): New hook.
2566         (org-clock-in): Use this new hook.
2568 2009-07-16  Bastien Guerry  <bzg@altern.org>
2570         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2571         'reversed for this option to the "true line boundary first"
2572         behavior.
2573         (org-tags-match-list-sublevels): Document the 'indented value for
2574         this variable.
2576         * org-latex.el (org-export-latex-first-lines): Fix problem with
2577         publishing the region.
2579         * org-exp.el (org-export-format-source-code-or-example): Fix
2580         bad line numbering when exporting examples in HTML.
2582         * org-colview.el (org-format-time-period): Formats a time in
2583         fractional days as days, hours, mins, seconds.
2584         (org-columns-display-here): Add special handling for SINCE and
2585         SINCE_IA to format for display.
2587 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2589         * org.el (org-tags-sort-function): Add custom declaration for tags
2590         sorting function.
2591         (org-set-tags): Sort tags if org-tags-sort-function is set
2593 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2595         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2597         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2599         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2600         option.
2602 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2604         * org-publish.el (org-publish-remove-all-timestamps): New function.
2605         (org-publish-all): Remove all timestamp files if `org-publish-all'
2606         is called with a prefix argument.
2608         * org-list.el (org-indent-item): Fix typo.
2609         (org-item-indent-positions): Normalize ordered bullet.
2611         * org-html.el (org-export-html-home/up-format): New option.
2612         (org-export-as-html): Insert the up and HOME links.
2614 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2616         * org-html.el (org-export-as-html): Insert the title into the
2617         option plist.
2618         (org-export-html-insert-plist-item): New function.
2619         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2621         * org-macs.el (org-set-local): Make a local variable, do not make
2622         the variable buffer-local!
2624         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2626         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2628         * org-docbook.el (org-export-as-docbook): Call
2629         `org-install-letbind'.
2631         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2633         * org-exp.el (org-infile-export-plist): Read BIND lines.
2634         (org-install-letbind): New function.
2635         (org-export-as-org, org-export-preprocess-string): Call
2636         `org-install-letbind'.
2638         * org-src.el (org-edit-src-exit): Untabify the example before
2639         returning to Org.
2641         * org-list.el (org-list-demote-modify-bullet): New option.
2642         (org-first-list-item-p): Save point.
2643         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2644         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2645         (org-item-indent-positions): Return bullet types along with
2646         indentation.
2648 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2650         * org.el (org-show-entry): Hide drawers.
2652 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2654         * org-footnote.el (org-footnote-auto-adjust): New option.
2655         (org-footnote-auto-adjust-maybe): New function.
2656         (org-footnote-new, org-footnote-delete): Call
2657         `org-footnote-auto-adjust-maybe'.
2659         * org.el (org-startup-options): Add new footnote-related
2660         keywords.
2662         * org-publish.el (org-publish-timestamp-filename): Additional
2663         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2664         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2665         TRUE-PUB-DIR.  Pass them through to
2666         `org-publish-timestamp-filename'.
2667         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2668         PUB-FUNC, which are included in the hash.
2669         (org-publish-file): Delay timestamp test until the publishing
2670         function is known.
2672 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2674         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2675         setting the deadline.
2677         * org.el (org-read-date-final-answer): New variable.
2678         (org-read-date): Store the final answer string, including the date
2679         from the calendar, for reuse by agenda bulk commands.
2681         * org-publish.el (org-publish-attachment): Fix publishing of
2682         attachments.
2684         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2685         quotation makrs in parenthesis.
2686         (org-remove-initial-hash): New function.
2687         (org-export-latex-preprocess): Fix bug with infinite loop if
2688         environment is not properly closed.
2690         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2691         when indented.
2693         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2694         highlight also when indented.
2696 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2698         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2699         (org-footnote-action): Offer renumbering.
2701         * org.el (org-cycle): Honor the `integrate' value of
2702         org-cycle-include-plain-lists'.
2704         * org-list.el (org-cycle-include-plain-lists): New allowed value
2705         `internal'.  Improve the docstring.
2707         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2708         regexp to work better with LaTeX commands.
2710 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2712         * org-feed.el (org-feed-update): fix problem with non-existing
2713         buffer.
2714         (org-feed-skip-http-headers): New function.
2715         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2716         (org-feed-get-feed): Fix command line arguments for curl.
2718 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2720         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2721         and eps extensions.
2723 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2725         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2726         loaded.
2728         * org.el (org-map-entries): No longer force
2729         `org-tags-match-list-sublevels' to t during a todo-only tags
2730         search.
2732 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2734         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2735         environment.
2736         (org-export-latex-subcontent): Handle user-defined environment.
2738         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2739         the View dispatcher.
2741         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2742         `make-overlay'.
2744         * org-latex.el (org-export-as-pdf): Protect match data during call
2745         to shell-quote-argument.
2747         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2748         (org-agenda-view-mode-dispatch): New function.
2750 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2752         * org-agenda.el (org-agenda-mode): Reset list of marks.
2753         (org-agenda-mode-map): Define new keys for refile and bulk action.
2754         (org-agenda-menu): Add menu itesm for refile and bulk action.
2755         (org-agenda-refile): New function.
2756         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2757         (org-agenda-marked-entries): New variable.
2758         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2759         (org-agenda-remove-all-bulk-action-marks)
2760         (org-agenda-bulk-action): New functions/commands.
2762 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2764         * org-exp.el (org-get-file-contents): Protect org-like lines in
2765         included files.
2766         (org-export-format-source-code-or-example): Remove newlines.
2768         * org-latex.el (org-export-latex-links): Check for no-description
2769         marking.
2771         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2772         argument separator back to comma.
2773         (org-export-normalize-links): Mark links without description.
2775 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2777         * org-exp.el (org-infile-export-plist): Fix bug in macro
2778         processing.
2780         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2781         out.
2782         (org-agenda-highlight-todo): Fix bug with highlighting.
2784 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2786         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2787         new alignment strings.
2789         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2790         command list.
2791         (org-table-align): Check for forced align type.
2793         * org.el (org-self-insert-command): Add yas/expand to command
2794         list.
2796         * org-clock.el (org-clock-in-hook): New hook.
2797         (org-clock-in): Run `org-clock-in-hook.
2798         (org-clock-out-hook): New hook.
2799         (org-clock-out): Run `org-clock-out-hook.
2800         (org-clock-cancel-hook): New hook.
2801         (org-clock-cancel): Run `org-clock-cancel-hook.
2802         (org-clock-goto-hook): New hook.
2803         (org-clock-goto): Run `org-clock-goto-hook.
2805 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2807         * org.el (org-store-link): Better default description for link to
2808         Org-mode headline.
2810         * org-exp.el (org-export-generic): Autoload the generic exporter
2811         function.
2812         (org-export): Implement the `g' key for the generic exporter.
2814 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2816         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2817         and for zbacktab'.
2819         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2821         * org-exp.el (org-infile-export-plist): Get macros also from
2822         #+SETUPFILE.
2824 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2826         * org-colview.el (org-columns-capture-view): Protect vertical bars
2827         in column values.
2828         (org-columns-capture-view): Exclude comment and archived trees.
2830         * org-colview-xemacs.el (org-columns-capture-view): Protect
2831         vertical bars in column values.
2832         (org-columns-capture-view): Exclude comment and archived trees.
2834         * org.el (org-quote-vert): New function.
2836         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2838         * org-exp.el (org-export-format-source-code-or-example): Use
2839         `org-export-latex-verbatim-wrap'.
2841         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2842         time stamps.
2844         * org-html.el (org-export-table-row-tags): New option.
2845         (org-format-org-table-html): Rename `nlines' to `nline', use new
2846         option.
2849 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2851         * org-exp-blocks.el: Declare functions and variables.
2853         * org-remember.el (org-remember-templates): Allow the headline
2854         element to be a function.
2855         (org-remember-apply-template): If the headline is a function, call
2856         it to get the true function.
2858         * org-clock.el (org-clock-menu): New function.
2859         (org-clock-update-mode-line): Update help string.
2860         (org-clock-modify-effort-estimate): New function.
2861         (org-clock-mark-default-task): New function.
2863         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2864         minutes as input.
2865         (org-org-menu): Add new clocking stuff.
2866         (org-clock-is-active): New function.
2868 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2870         * org.el (org-open-non-existing-files): Improve docstring.
2872 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2874         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2875         option.
2876         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2878         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2880         * org-list.el (org-get-checkbox-statistics-face): Use the new
2881         faces.
2883         * org-faces.el (org-checkbox-statistics-todo)
2884         (org-checkbox-statistics-done): New faces.
2886 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2888         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2889         (org-edit-src-exit): Better cursor positioning when returning from
2890         editing.
2892         * org-latex.el (org-export-latex-use-verb): New variable.
2893         (org-export-latex-emph-format): Prefer \texttt over \verb when
2894         org-export-latex-use-verb is set.
2896 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2899         at normal indentation.
2901         * org-html.el (org-export-html-close-lists-maybe): Also look at
2902         normal indentation.
2904         * org-remember.el (org-remember-handler): Abort remember if the
2905         buffer is empty.
2907         * org-src.el (org-edit-src-content-indentation): New option.
2908         (org-edit-src-exit): Apply extra indentation.
2910         * org-exp.el (org-export-format-source-code-or-example): Run
2911         `org-src-mode-hook'.
2913         * org-src.el (org-src-mode-hook): New variable.
2914         (org-edit-src-code): Run `org-src-mode-hook'.
2916 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2918         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2920         * org-src.el (org-edit-src-get-indentation): New function.
2921         (org-edit-src-code): Base indentation on the begin line.
2923 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2925         * org-gnus.el (org-gnus-store-link): Require message.el in
2926         org-gnus-store-link.
2928 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2930         * org-src.el: New file, split out of org.el
2932         * org-docbook.el (org-export-as-docbook): Better indentation
2933         treatment.
2935         * org-macs.el (org-replace-match-keep-properties): New function.
2937         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2938         preprocessing of center and quote and verse blocks.
2940         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2941         (org-export-as-docbook): Close lists when original indentation
2942         mandates it.
2944         * org-html.el (org-export-html-close-lists-maybe): New function.
2945         (org-export-as-html): Close lists when original indentation
2946         mandates it.
2948         * org-list.el (org-list-end): Respect the stored "original"
2949         indentation when determining the end of the list.
2951         * org-exp.el (org-export-replace-src-segments-and-examples):
2952         Remember indentation correctly.
2954 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2956         * org-clock.el (org-clock-update-mode-line): Apply face
2957         org-mode-line-clock.
2959         * org-faces.el (org-mode-line-clock): New face.
2961 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2963         * org-gnus.el (org-gnus-store-link): Fix bug where
2964         `org-gnus-store-link' used wrong subject when called in an article
2965         buffer.  Patch provided by fengli AT gmail DOT com.
2967 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2969         * org-exp.el (org-export-format-source-code-or-example): Remember
2970         the original indentation of source code snippets and examples.
2972         * org-latex.el (org-export-as-latex): Relocate the table of
2973         contents.
2975         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2977         * org-agenda.el (org-run-agenda-series): Scope global options also
2978         when creating the agenda buffer.
2980 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2982         * org.el (org-adapt-indentation): Improve documentation.
2983         (org-insert-property-drawer): Respect org-adapt-indentation when
2984         inserting the drawer.
2985         (org-remove-flyspell-overlays-in): New function.
2986         (org-do-emphasis-faces, org-activate-plain-links)
2987         (org-activate-code, org-fontify-meta-lines-and-blocks)
2988         (org-activate-angle-links, org-activate-footnote-links)
2989         (org-activate-bracket-links, org-activate-dates)
2990         (org-activate-target-links, org-activate-tags): Remove flyspell
2991         overlays.
2993 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2995         * org.el (org-edit-src-save): New function.
2997         * org-clock.el (org-clock-out-switch-to-state): New option.
2998         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3000         * org-compat.el (org-compatible-face): Improve macro.
3002         * org.el (org-global-properties-fixed): Add default for
3003         CLOCK_MODELINE_TOTAL.
3005         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3006         andd tend.
3007         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3008         org-clock-sum.
3009         (org-clock-get-sum-start): New function.
3011         * org.el (org-startup-options): New keywords blockhide and
3012         blockshow.
3013         (org-mode): Add new invisibility spec.
3014         (org-set-startup-visibility): Hide block on startup if so
3015         desired.
3016         (org-hide-block-startup): New option.
3017         (org-block-regexp): New constant.
3018         (org-hide-block-overlays): New variable.
3019         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3020         (org-show-block-all, org-hide-block-toggle-maybe)
3021         (org-hide-block-toggle): New functions.
3022         (org-edit-src-exit): Do not quote lines starting with # and no +
3023         behind it.
3024         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3025         entry.
3027 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3029         * org.el (org-buffer-property-keys): Add Effort property for
3030         completion.
3032 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3034         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3035         when retrieving total clocked time in the subtree.
3037         * org.el (org-quoting-blocks): New variable.
3039 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3041         * org-table.el (org-table-store-formulas)
3042         (org-table-get-stored-formulas, org-table-fix-formulas)
3043         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3044         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3046         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3047         indented #+TBLFM line.
3049         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3050         indented #+TBLFM line.
3052         * org-colview.el (org-dblock-write:columnview): Allow indented
3053         #+TBLFM line.
3055         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3056         indented #+TBLFM line.
3058         * org-clock.el (org-dblock-write:clocktable): Allow indented
3059         #+TBLFM line.
3061 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3063         * org-exp.el (org-export-format-source-code-or-example): Make
3064         editing indented blocks work correctly.
3066         * org.el (org-edit-src-nindent): New variable.
3067         (org-edit-src-code, org-edit-fixed-width-region)
3068         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3069         editing indented blocks work correctly.
3071 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3073         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3074         indented blocks.
3075         (org-export-format-source-code-or-example): Fix indentation of
3076         blocks.
3077         (org-export-remove-indentation): New function.
3078         (org-export-select-backend-specific-text): Allow backend-specific
3079         code to be indented.
3080         (org-export-mark-blockquote-verse-center): Allow markers to be
3081         indented.
3083         * org.el (org-fontify-meta-lines): New function.
3084         (org-set-font-lock-defaults): Call the new fontification
3085         function.
3087         * org-faces.el (org-meta-line): New face
3088         (org-block):  New face.
3090 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3092         * org.el (org-treat-insert-todo-heading-as-state-change)
3093         (org-treat-S-cursor-todo-selection-as-state-change): New
3094         variables.
3095         (org-insert-todo-heading): Honor
3096         `org-treat-insert-todo-heading-as-state-change'.
3097         (org-shiftright, org-shiftleft): Honor
3098         `org-treat-S-cursor-todo-selection-as-state-change'.
3099         (org-inhibit-logging): New variable.
3101 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3103         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3104         range for marker position checking.
3106         * org-latex.el (org-export-latex-first-lines): Fix bug when
3107         exporting a region.
3109 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3111         * org-exp.el (org-export-push-to-kill-ring): Protect using
3112         x-set-selection, because that does not always work.
3114         * org-agenda.el (org-agenda-list): Apply the new face
3115         `org-agenda-date-today'.
3117         * org-faces.el (org-agenda-date-today): New face.
3119 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3121         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3122         creating appointments.
3124         * org-latex.el (org-export-latex-low-levels): Fix customization
3125         type.
3127         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3128         priority commands.
3130         * org-agenda.el (org-agenda-priority): Disable priority commands.
3132         * org.el (org-enable-priority-commands): New option.
3134         * org-colview-xemacs.el (org-columns-compute)
3135         (org-columns-number-to-string): Fix problems with empty fields.
3137         * org-colview.el (org-columns-compute)
3138         (org-columns-number-to-string): Fix problems with empty fields.
3140         * org-exp.el (org-export-push-to-kill-ring): New function.
3141         (org-export-copy-to-kill-ring): New option.
3143         * org-latex.el (org-export-as-latex): Call
3144         `org-export-push-to-kill-ring'.
3146         * org-html.el (org-export-as-html): Call
3147         `org-export-push-to-kill-ring'.
3149         * org-docbook.el (org-export-as-docbook): Call
3150         `org-export-push-to-kill-ring'.
3152         * org-ascii.el (org-export-as-ascii): Call
3153         `org-export-push-to-kill-ring'.
3155         * org-exp.el (org-export-show-temporary-export-buffer): New
3156         option.
3158         * org-latex.el (org-export-as-latex): Use
3159         `org-export-show-temporary-export-buffer'.
3161         * org-html.el (org-export-as-html): Use
3162         `org-export-show-temporary-export-buffer'.
3164         * org-docbook.el (org-export-as-docbook): Use
3165         `org-export-show-temporary-export-buffer'.
3167         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3168         `org-export-show-temporary-export-buffer'.
3170         * org-exp.el (org-export-show-temporary-export-buffer): New
3171         option.
3172         (org-export-push-to-kill-ring): New function.
3174         * org-colview.el (org-columns-compile-map): New variable.
3175         (org-columns-new, org-columns-compute)
3176         (org-columns-number-to-string, org-columns-uncompile-format)
3177         (org-columns-compile-format): Implement new operators.
3179 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3181         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3183         * org-html.el (org-export-html-xml-declaration): New option.
3184         (org-export-as-html): Use `org-export-html-xml-declaration'.
3186         * org-list.el (org-update-checkbox-count): Make property
3187         dependent.
3189         * org.el (org-hierarchical-todo-statistics): New option.
3190         (org-update-parent-todo-statistics): Modified to handle recursive
3191         statistics.
3193 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3195         * org-publish.el (org-publish): Make this function behave
3196         correctly in interactive use when called with a prefix argument.
3198         * org.el (org-todo-statistics-hook): New hook.
3199         (org-update-parent-todo-statistics): Use new hook.
3200         (org-log-into-drawer): New function.
3201         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3202         determine if we should be logging into a drawer.
3203         (org-log-into-drawer): Update docstring.
3204         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3206         * org-list.el (org-checkbox-statistics-hook): New hook.
3207         (org-update-checkbox-count-maybe): Use new hook.
3209         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3210         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3211         to kill ring.
3213 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3215         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3216         a line.
3218 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3220         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3221         better bufer-generating mechanism.
3222         (org-edit-src-find-buffer): New function.
3224         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3225         archive tag, this is already done by `org-agenda-skip'.
3226         data while constructing lost of tags.
3228 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3230         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3231         as argument separator in macros.
3233         * org-html.el (org-export-as-html): Add xml declaration.
3235 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3237         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3238         (org-sort-entries-or-items): Run the new hook.
3239         (org-after-refile-insert-hook): New hook.
3240         (org-refile): Run `org-after-refile-insert-hook'.
3242         * org-agenda.el (org-agenda-get-progress): Never take time of day
3243         from headline when displaying progress.
3245         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3246         (org-export-as-latex): Force the correct regexp in the
3247         preprocessor buffer.
3248         (org-export-latex-set-initial-vars): Set
3249         `org-export-latex-complex-heading-re'.
3251         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3252         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3254 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3256         * org-latex.el (org-export-latex-tables-centered): New option.
3257         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3259         * org-exp.el (org-export-as-org): New command.
3260         (org-export-as-org): New command.
3262         * org-publish.el (org-publish-org-to-org): New function.
3264 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3266         * org.el (org-yank): Just call `org-yank-generic'.
3267         (org-yank-generic): New function, containing the formaer
3268         functionality of `org-yank'.
3270         * org-latex.el (org-export-latex-not-done-keywords)
3271         (org-export-latex-done-keywords): New variables.
3272         (org-export-latex-todo-keyword-markup): New option.
3273         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3274         (org-export-latex-keywords-maybe): Apply the TODO markup.
3276 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3278         * org-exp.el (org-infile-export-plist): Add more default macros.
3279         (org-export-preprocess-apply-macros): Process macro arguments.
3281 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3283         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3284         `unblocked'.
3285         (org-print-icalendar-entries): Respect the new value of
3286         `org-icalendar-include-todo'.
3288         * org.el (org-link-try-special-completion)
3289         (org-file-complete-link): New functions.
3290         (org-insert-link): Add special completion support for some link
3291         types.
3293         * org-bbdb.el (org-bbdb-complete-link): New function.
3295 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3297         * org-list.el (org-update-checkbox-count): Allow recursive
3298         statistics.
3299         (org-hierarchical-checkbox-statistics): New option.
3301         * org.el (org-cycle): Remove erraneous space character.
3303         * org-icalendar.el (org-icalendar-timezone): Initialize from
3304         environment.
3306         * org-html.el (org-format-org-table-html): Specify the scope.
3307         (org-format-table-table-html): Specify the scope.
3308         (org-export-table-header-tags): Prepare the scope parameter.
3310 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3312         * org-html.el
3313         (org-export-html-table-use-header-tags-for-first-column): New
3314         option.
3316         * org.el (org-autoload): Fix autoloading of ascii export
3317         functions.
3318         (org-modules): Add org-special-blocks.
3320 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3322         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3323         (org-ical-timezone): New option.
3325         * org-exp.el (org-export-get-coderef-format): Use the description
3326         is present.
3328         * org.el (org-sort-entries-or-items): Improve docstring, and make
3329         better implementation for time sorting.
3331 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3333         * org.el (org-edit-src-persistent-message): New option.
3334         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3335         option.
3337         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3338         patch.
3340         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3341         separate buffer instead of indirect buffer to edit source code.
3342         (org-edit-src-exit): Make this function work with the new setup.
3344         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3345         are properly fontified before shown in the selection menu.
3347         * org.el (org-fontify-like-in-org-mode): New function.
3349         * org-latex.el (org-export-latex-links): Use the property list to
3350         retrieve the default image attributes.
3352         * org-exp.el (org-export-plist-vars): Add a new option.
3354 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3356         * org-exp.el (org-export, org-export-visible): Support ASCII
3357         export to buffer
3358         (org-export-normalize-links): Do not protect the description if it
3359         is explicitly given.
3361         * org-ascii.el (org-export-as-ascii-to-buffer)
3362         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3363         commands.
3364         (org-export-as-ascii): Add all the same parameters that are also
3365         supported by the other export functions.
3367         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3368         org-checklist.el.
3369         (org-reset-checkbox-state-subtree): Call
3370         `org-reset-checkbox-state-subtree'.
3372         * org-remember.el (org-select-remember-template): For the
3373         selection of a valid template.
3375         * org-latex.el (org-export-region-as-latex): Supply the
3376         force-no-subtree argument.
3377         (org-export-as-latex): Provide better limits when exporting the
3378         first line.  When exporting to string, we still want the first
3379         lines.
3380         (org-export-latex-first-lines): New argument END, to force the end
3381         of the region.
3382         (org-export-region-as-latex): Use the property list.
3383         (org-export-as-latex):
3385         * org-colview-xemacs.el (org-columns-remove-overlays)
3386         (org-columns): Fix call to `local-variable-p'.
3388 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3390         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3391         (org-export-as-html): Run the new hook.
3393         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3394         (org-export-latex-preprocess): Run the new hook.
3396         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3397         (org-export-preprocess-string): Run the new hook.
3399 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org-macs.el (org-check-external-command): New defsubst.
3403         * org.el (org-mode-map): New key for reload.
3404         (org-format-latex): Better error message when external programs
3405         are not available.
3407         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3409         * org.el (org-sort-entries-or-items): Explicit sorting function
3410         for priorities, needed for XEmacs compatibility.
3412         * org-remember.el (org-remember-apply-template): Improve auto-save
3413         behavior.
3415 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3417         * org-latex.el (org-export-latex-preprocess): Also protect
3418         environments ending in a star.
3420         * org-list.el (org-at-item-p): Fix regular expression.
3422 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3424         * org.el (org-end-of-subtree): Improve speed.
3426         * org-agenda.el (org-agenda-get-timestamps)
3427         (org-agenda-get-progress, org-agenda-get-deadlines)
3428         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3429         in particular, wait as long as possible to collect the tags.
3430         (org-stuck-projects): Improve docstring.
3432         * org.el (org-store-link): No errors when getting custom id before
3433         first headline.
3434         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3436 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3438         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3440         * org-protocol.el: Remove dependency on url.el.
3441         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3442         dependency on url.el.
3444         * org-latex.el (org-export-as-pdf): Use
3445         `org-latex-to-pdf-process'.
3447 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3449         * org-latex.el (org-latex-to-pdf-process): New option.
3451         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3452         New option.
3453         (org-agenda-get-timestamps): Honor
3454         `org-agenda-skip-additional-timestamps-same-entry'.
3456         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3457         (org-clock-goto): Find recent task only if
3458         `org-clock-goto-may-find-recent-task' allows it.
3460         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3461         drawers, and drawers that are missing the :END: line.
3463 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3465         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3466         clock is running.
3468 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3470         * org.el (org-update-parent-todo-statistics): Check for
3471         STATISTICS_FROM property.
3473         * org-list.el (org-update-checkbox-count): Check for
3474         STATISTICS_FROM property.
3476         * org.el (org-tab-first-hook)
3477         (org-tab-after-check-for-table-hook)
3478         (org-tab-after-check-for-cycling-hook): New hooks.
3479         (org-cycle-internal-global, org-cycle-internal-local): New
3480         functions, split out from `org-cycle'.
3481         (org-cycle): Call the new hooks.
3483 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3485         * org-exp.el (org-export-preprocess-string): Reset the list of
3486         preferred targets for each run of the preprocessor.
3488         * org.el (org-refile-target-verify-function): Improve
3489         documentation.
3490         (org-get-refile-targets): Respect point being moved by the
3491         verification function.
3493         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3494         option.
3495         (org-export-latex-keywords): Use new option.
3497         * org.el (org-rear-nonsticky-at): New defsubst.
3498         (org-activate-plain-links, org-activate-angle-links)
3499         (org-activate-footnote-links, org-activate-bracket-links)
3500         (org-activate-dates, org-activate-target-links)
3501         (org-activate-tags): Place the rear-nonsticky properties at the
3502         correct location.
3504 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3506         * org-protocol.el (server-edit): Declare `server-edit'.
3507         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3508         functions.
3509         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3511         * org.el (org-default-properties): New default properteis for
3512         completion.
3514         * org-exp.el (org-export-add-subtree-options): Add new properties
3515         for subtree export.
3517         * org-docbook.el (org-export-docbook-keywords-markup)
3518         (org-export-docbook-timestamp-markup): New options.
3519         (org-export-docbook-protect-tags): New function.
3521 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3523         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3524         org-refile-target-verify-function for the duration of the command.
3526         * org.el (org-link-to-org-use-id): New possible value
3527         `create-if-interactive-and-no-custom-id'.
3528         (org-store-link): Use custom IDs.
3529         (org-link-search): Find custom ID properties from #link.
3530         (org-default-properties): Add CUSTOM_ID for property completion.
3531         (org-refile-target-verify-function): New option.
3532         (org-goto): Turn off org-refile-target-verify-function
3533         for the duration of the command.
3535 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3537         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3539         * org-exp.el (org-export-preferred-target-alist): New variable.
3540         (org-export-define-heading-targets): Find the new CUSTOM_ID
3541         property.
3542         (org-export-target-internal-links): Target the custom ids when
3543         possible.
3545         * org-latex.el (org-export-latex-preprocess): Better regexp for
3546         matching latex macros with arguments.
3548 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3550         * org-remember.el (org-remember-handler): Allow filing to non-org
3551         files.
3553 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3555         * org-feed.el (org-feed-alist): New keyword options.
3556         (org-feed-update): Use the new options.
3557         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3558         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3559         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3560         functions.
3562         * org-table.el (org-table-fix-formulas): Do not change references
3563         to remote tables.
3564         (org-table-get-remote-range): Convert standard coordinates to RC
3565         format.
3567         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3569 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3571         * org-compat.el (org-sha1-string): Function removed.
3573         * org.el (org-refile-allow-creating-parent-nodes): New option.
3574         (org-refile-get-location): New argument NEW-NODES.
3575         (org-refile): Call `org-refile-get-location' with the new
3576         argument.
3577         (org-refile-get-location): Arrange for adding a new child.
3578         (org-refile-new-child): New function.
3580         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3581         an additional span element.
3583         * org-clock.el: Fix a number of docstrings.
3584         (org-clock-find-position): New argument
3585         FIND-UNCLOSED to make the function find an unclosed clock in the
3586         entry.
3587         (org-clock-in): Call `org-clock-find-position' with the new
3588         argument if we might be resuming a clock.
3590 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3592         * org-latex.el (org-export-latex-display-custom-times): New variable.
3593         (org-export-latex-timestamp-markup): New option.
3594         (org-export-latex-set-initial-vars): Remember the local value of
3595         `org-display-custom-times'.
3596         (org-export-latex-content): Process time stamps.
3597         (org-export-latex-time-stamps): New function.
3599         * org-macs.el (org-maybe-intangible): Add intangible property
3600         again to invisible text.
3602 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3604         * org-exp.el (org-default-export-plist): Handle undefined
3605         variables.
3607 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3609         * org.el (org-sort-entries-or-items): Match TODO keywrds
3610         case-sensitively, when sorting.
3611         (org-priority): Do not match TODO keywords with wrong case.
3613 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3615         * org-feed.el (org-feed-update): Bind the variable
3616         `new-formatted'.
3618         * org-html.el (org-export-as-html): Start paragraphs after literal
3619         examples.
3621         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3622         literal examples.
3624 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3626         * org.el (org-todo): Honor the NOBLOCKING property.
3628         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3629         NOBLOCKING property.
3631         * org.el (org-scan-tags): Fix bug in tag scanner
3633 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3635         * org.el (org-modules): Mark obsolete packages.
3637         * org-html.el: New file, split out from org-exp.el.
3639         * org-icalendar.el: New file, split out from org-exp.el.
3641         * org-xoxo.el: New file, split out from org-exp.el.
3643         * org-ascii.el: New file, split out from org-exp.el.
3645 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3647         * org-compat.el (org-find-library-name): New function.
3649         * org.el (org-pre-cycle-hook): New hook.
3650         (org-cycle): Call the new hook in appropriate places.
3651         (org-reload): Only reload files that have been loaded before.
3653 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3655         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3656         after todo keyword.
3657         (org-todo): When changing TODO state, do matching
3658         case-sensitively.
3659         (org-map-continue-from): New variable.
3660         (org-scan-tags): Respect values in `org-map-continue-from'.
3661         (org-reload): Make XEmacs compatible.
3663 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3665         * org-protocol.el (org-protocol-flatten-greedy): New function.
3666         (org-protocol-flatten): New function.
3668         * org.el (org-open-link-from-string): Pass reference buffer to
3669         `org-open-at-point'.
3670         (org-open-at-point): New optional argument `reference-buffer'.
3672 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3674         * org.el (org-scan-tags): Make tag scan find headline in first
3675         line, 2nd attempt.
3676         (org-get-refile-targets): Add the naked file name.
3677         (org-refile): Store as top-level entry when only file name was
3678         given.
3680         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3682         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3683         Renamed from org-block-todo-from-children-or-siblings, and
3684         enhanced to look for the parent's status as well.
3686         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3687         (org-agenda-get-progress): Add first notes line to log entry if so
3688         desired.
3690 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3692         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3693         (org-agenda-cleanup-fancy-diary): Call the new hook.
3695         * org-remember.el (org-remember-apply-template): Take the default
3696         for the annotation from the :annotation property.
3698         * org-mac-message.el (org-mac-message-get-link): Remove the
3699         quotes.
3700         (org-mac-message-get-link): Return the result.
3702 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3704         * org.el (org-refile-get-location): Add file name only if not
3705         already included in outline path.
3707         * org-faces.el (org-n-level-faces): Fix customization type from
3708         number to integer.
3710         * org-exp.el (org-export-headline-levels): Fix customization type
3711         from number to integer.
3713         * org-agenda.el (org-agenda-confirm-kill)
3714         (org-agenda-custom-commands-local-options)
3715         (org-timeline-show-empty-dates, org-agenda-ndays)
3716         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3717         customization type from number to integer.
3719 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3721         * org-protocol.el: Declare some functions.
3723         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3724         postion before inserting modified headline.
3726         * org-agenda.el (org-agenda-compare-effort): Honor
3727         `org-sort-agenda-noeffort-is-high'.
3728         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3729         (org-agenda-compare-effort): Implement the "?" operator for
3730         finding entries without effort setting.
3732         * org.el (org-extract-attributes-from-string): New function.
3734         * org-exp.el (org-export-splice-attributes): New function.
3736 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3738         * org-mouse.el: XEmacs compatibility fixes
3740         * org-docbook.el (org-export-as-docbook): Process footnotes like
3741         normal text.
3743         * org.el (org-modules): Add org-inlinetasks.el
3744         (org-cycle): Implement limiting level on cycling.
3745         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3746         buffer.
3748         * org-inlinetask.el: New file.
3750         * org.el (org-emphasis-regexp-components): Allow braces in
3751         emphasis pre and post match.
3753         * org-footnote.el (org-footnote-normalize): When only dorting, do
3754         not insert inline notes at the end.
3756         * org-docbook.el (org-id-find-id-file): Add function declaration.
3758         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3760         * org-docbook.el: New file.
3762 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3764         * org.el (org-reftex-citation): New command.
3766 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3768         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3769         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3770         sorting options.
3771         (org-entries-lessp): Apply the new sorting option.
3773         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3774         blocker code, when an older sibling has children.
3776         * org-mac-message.el (org-mac-message-get-link): Improve getting
3777         links from multiple selected messages.
3779 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3781         * org-remember.el (org-remember-finalize): Do not set buffer file
3782         name to nil.
3783         (org-remember-handler): Mark buffer as unmodified.
3784         (org-remember-handler): Delete backup file and show message about
3785         remaining backup files.
3786         (org-remember-auto-remove-backup-files): New option.
3788         * org.el (org-store-link): Use buffer name as link description in
3789         w3-mode buffers.
3790         (org-ido-switchb): Fix argument bug for completion.
3792         * org-remember.el (org-remember-apply-template): Set local
3793         variable `auto-save-visited-file-name' instead of global one.
3795 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3797         * org-feed.el: Re-write.
3799         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3800         (org-agenda-get-todos): Mark file tags as inherited.
3801         (org-agenda-list): Always search diary lines for a time.
3803 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3805         * org-feed.el (org-feed-assume-stable): New option.
3806         (org-feed-before-adding-hook): New hook.
3808         * org-exp.el (org-export-as-html): Close local lists depending on
3809         indentation, also when starting a table.
3811         * org-remember.el (org-remember-backup-directory)
3812         (org-remember-backup-name): New internal variable.
3814 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3816         * org-clock.el (org-clock-out-if-current): Make buffer detection
3817         work in indirect buffers as well.
3819         * org.el (org-emphasis-regexp-components): Add the exxclamation
3820         mark to the post-emphasis characters.
3822 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3824         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3825         (org-read-date): Run the new hook.
3827         * org-mac-message.el (org-mac-flagged-mail): New group.
3828         (org-mac-mail-account): New variable.
3829         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3830         commands.
3832         * org-remember.el (org-remember-backup-directory): New variable.
3833         (org-remember-apply-template): Write file to backup directory.
3835 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3837         * org-mouse.el (org-mouse-todo-menu): New function.
3838         (org-mouse-todo-keywords): Function removed.
3839         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3841         * org-table.el (org-table-beginning-of-field)
3842         (org-table-end-of-field): New commands
3843         (org-table-previous-field, org-table-beginning-of-field): Better
3844         error messages.
3845         (orgtbl-setup): Include `M-a' and `M-e'.
3847         * org.el (org-backward-sentence, org-forward-sentence): New
3848         commands.
3850         * org-colview.el (org-colview-initial-truncate-line-value): New
3851         variable.
3852         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3853         (org-columns): Remember the value of `truncate-lines'.
3855         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3856         New variable.
3857         (org-columns-remove-overlays): Restore the value of
3858         `truncate-lines'.
3859         (org-columns): Remember the value of `truncate-lines'.
3861         * org.el (org-columns-skip-arrchived-trees): New option.
3863         * org-agenda.el (org-agenda-export-html-style): Define color for
3864         org-agenda-done face.
3865         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3866         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3868         * org.el (org-scan-tags): Use the new face.
3870         * org-faces.el (org-agenda-done): New face.
3872         * org.el (org-scan-tags): Test the value org
3873         `org-tags-match-list-sublevels'.
3874         (org-tags-match-list-sublevels): New allowed value: indented.
3876         * org-export-latex.el (org-export-latex-make-header): Apply macros
3877         in header.
3879         * org-exp.el (org-export-apply-macros-in-string): New function.
3881         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3882         with the definition of a checked box.
3884         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3886         * org-export-latex.el (org-export-latex-low-levels): More options
3887         for how to process lower levels in LaTeX.
3888         (org-export-latex-subcontent): Better treatment for lists as a
3889         means of publishing lower levels.
3891 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3893         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3895         * org-faces.el (org-checkbox): New face.
3897         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3898         fragement images if there is an export file.
3900 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3902         * org-agenda.el (org-stuck-projects): Document that the subtree of
3903         projects that are not stuck will now be searched for stuck
3904         sub-projects.
3905         (org-agenda-skip-entry-when-regexp-matches)
3906         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3907         (org-agenda-list-stuck-projects): Use
3908         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3910         * org-export-latex.el (org-export-latex-preprocess): Improve
3911         export of verses.
3913         * org-exp.el (org-export-as-html): Implement centering as a div
3914         rather than a paragraph.  Do a better job with line-end in verse
3915         environments.
3917 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3919         * org.el (org-open-at-point): Fix tags searches by mouse click.
3921 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3923         * org-export-latex.el (org-export-latex-preprocess): Implement the
3924         centering markup.
3926         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3927         from `org-export-mark-blockquote-and-verse'.
3928         (org-export-as-html): Implement the centering markup.
3930         * org-export-latex.el (org-export-latex-tables): Fix vertical
3931         lines in tables.
3933 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3935         * org.el (org-read-date-history): New variable.
3936         (org-read-date): Use new history variable.
3937         (org-toggle-heading): Fix bug when used before first headline.
3938         (org-store-log-note): Remove drawer if empty while note is
3939         aborted.
3940         (org-remove-empty-drawer-at): New function.
3941         (org-check-after-date): New command.
3942         (org-sparse-tree): New sparse tree command "a".
3944         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3946 2009-03-14  Bastien Guerry  <bzg@altern.org>
3948         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3949         column and a space, not only a column.
3951 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3953         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3954         defaults for verbose emphasis.
3955         (org-export-latex-emph-format): New function.
3956         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3958         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3959         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3960         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3961         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3962         commands.
3964         * org.el (org-timestamp-change): Move end-time along with start
3965         time.
3967 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3969         * org-exp.el (org-export-target-internal-links)
3970         (org-export-as-html): Protect links specified as #name.
3972 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3974         * org.el (org-clone-subtree-with-time-shift): New command.
3976         * org-export-latex.el (org-export-latex-special-chars)
3977         (org-export-latex-treat-sub-super-char): Fix subscript export.
3979         * org-exp.el (org-create-multibrace-regexp): Do not add
3980         backslashes to the class.
3982 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3984         * org-colview.el (org-columns-map): Better functions for moving up
3985         and down a row, even if `truncate-line' is nil.
3987         * org.el (org-insert-todo-heading): Make sure the keyword is
3988         inserted at the correct position.
3990         * org-publish.el (org-publish-project-alist)
3991         (org-publish-projects, org-publish-org-index): Change default anme
3992         for the index of file names to "sitemap.org".
3994         * org-export-latex.el (org-export-latex-tables): Use
3995         `org-split-string', for Emacs 21 compatibility.
3997 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3999         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4001 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4003         * org-exp.el (org-export-page-description)
4004         (org-export-page-keywords): New variables.
4005         (org-export-plist-vars): Add entries for :keywords and
4006         :description.
4007         (org-infile-export-plist): Parse for new keywords.
4008         (org-get-current-options): Add new keywords
4009         (org-export-as-html): Publish description and keywords.
4011         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4012         option.
4013         (org-agenda-add-entry-text): Honor
4014         `org-agenda-add-entry-text-descriptive-links'.
4016         * org-export-latex.el (org-export-latex-preprocess): Make all
4017         external preprocess functions use a PARAMETER arg.
4019         * org-exp.el (org-export-preprocess-string)
4020         (org-export-select-backend-specific-text)
4021         (org-export-format-source-code-or-example)
4022         (org-format-org-table-html): Support docbook export.
4023         (org-export-preprocess-string): Make all external preprocess
4024         functions use a PARAMETER arg.
4026 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4028         * org-exp.el (org-export-html-style-include-scripts): New option.
4029         (org-export-plist-vars): Add new option
4030         `org-export-html-style-include-scripts'.
4031         (org-export-as-html): Honor new option
4032         `org-export-html-style-include-scripts'.
4033         (org-export-html-scripts, org-export-html-style-default): Fix
4034         xml issues with the Safari browser.
4036 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4038         * org-publish.el (org-publish-attachment): Only copy file when the
4039         directories differ.
4041 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4043         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4044         for clocktable steps.
4046         * org.el (org-additional-option-like-keywords): Add two more
4047         keywords.
4049 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4051         * org-exp.el (org-export-format-source-code-or-example): Mark
4052         temporary buffer unmodified, so that it will be killed even if
4053         mode like message mode has decided to assign a file name.
4055         * org.el (org-scan-tags): Improve tag inheritance.
4056         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4057         case-sensitive.
4058         (org-scan-tags): Use the internal tags list instead of creating it
4059         from scratch.
4060         (org-trust-scanner-tags, org-scanner-tags): New variables.
4061         (org-scan-tags): Set `org-scanner-tags'.
4062         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4063         (org-map-entries): Document the possible speedup using scanner
4064         tags.
4066 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4068         * org.el (org-add-planning-info): Fix bug with looking for keyword
4069         only at column 0.
4071         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4072         option for tags filter preset.
4073         (org-prepare-agenda): Store filter preset as a property on the
4074         filter variable.
4075         (org-finalize-agenda): Call the filter, if there is a preset.
4076         (org-agenda-filter-by-tag): Filter again after clearing the
4077         filter, when there still is a preset.
4078         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4079         Include the preset filter.
4080         (org-agenda-redo): Apply the filter again, also the preset filter.
4082         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4084         * org.el (org-uuidgen-p): New funtion.
4086         * org-agenda.el (org-agenda-fontify-priorities): New default value
4087         `cookies'.
4088         (org-agenda-fontify-priorities): Renamed from
4089         org-fontify-priorities.
4091         * org.el (org-set-font-lock-defaults): Call
4092         `org-font-lock-add-priority-faces'.
4093         (org-font-lock-add-priority-faces): New function.
4095         * org-faces.el: (org-set-tag-faces): New option.
4096         (org-priority-faces): New variable.
4098         * org-exp.el (org-export-as-html): Add a "content" div around the
4099         entire content of the body tag.
4100         (org-export-html-get-bibliography): New function.
4101         (org-export-html-validation-link): New variable.
4102         (org-export-as-html): Add validation link to exported page.
4104         * org.el (org-match-sparse-tree): Renamed from
4105         `org-tags-sparse-tree'.
4106         (org-tags-sparse-tree): New alias.
4108 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4110         * org.el (org-get-valid-level): Catch the case where the level
4111         change is nil.
4113         * org-clock.el (org-clock-find-position): Better indentation of
4114         new clock drawers.
4116 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4118         * org-agenda.el (org-agenda-quit): Delete window only when the
4119         frame-setup was not `current-window'.
4121         * org.el (org-tag-persistent-alist): New option.
4122         (org-startup-options): Add keyword `noptag'.
4123         (org-fast-todo-selection): Handle :newline correctly.
4124         (org-set-tags): Handle :newline correctly.
4125         (org-fast-tag-selection): Handle :newline correctly.
4127 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4129         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4130         outputting it.
4131         (org-export-ascii-push-links): Fix bug with pussing links into the
4132         export buffer.
4134 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4136         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4137         pasting at top level.
4139         * org-bbdb.el: Improve documentation.
4141 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4143         * org-list.el (org-insert-item): Only consider insert empty lines
4144         is `org-empty-line-terminates-plain-lists' is not nil.
4146         * org.el (org-blank-before-new-entry): Mention the dependence on
4147         `org-empty-line-terminates-plain-lists' in the docstring.
4149         * org-publish.el (org-publish-get-project-from-filename): New
4150         optional argument UP.  Only find the top project if UP is set.
4151         (org-publish-current-project): Find the top encloding project.
4153         * org-agenda.el (org-agenda-before-write-hook)
4154         (org-agenda-add-entry-text-maxlines): New options.
4155         (org-write-agenda): Run the new hook in the temporary buffer.
4156         (org-agenda-add-entry-text): New function.
4157         (org-write-agenda): Implement PDF export, using ps2pdf.
4159         * org.el (org-global-properties-fixed, org-global-properties):
4160         Improve documentation string.
4162         * org-exp.el (org-export-ascii-links-to-notes): New option.
4163         (org-export-as-ascii): Handle links better.
4164         (org-export-ascii-wrap, org-export-ascii-push-links): New
4165         functions.
4167 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4169         * org-agenda.el (org-agenda): Make prefix arg optional.
4170         (org-agenda-search-headline-for-time): New option.
4171         (org-format-agenda-item): Honor
4172         `org-agenda-search-headline-for-time'.
4174         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4175         characters.
4177         * org.el (org-self-insert-cluster-for-undo): New option.
4178         (org-self-insert-command): Cluster undo for 20 characters.
4179         (org-self-insert-command-undo-counter): New variable.
4181 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4183         * org-exp.el (org-export-as-html): Fix problem with closing colone
4184         example.
4186 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4188         * org-export-latex.el (org-export-as-latex)
4189         (org-export-latex-first-lines): Avoid modification flag when
4190         adding or removing text properties.
4191         (org-export-latex-fontify): Catch error when org-emph-alist has
4192         entries that are not defined for LaTeX export.
4194         * org.el (orgstruct++-mode): New function.
4195         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4196         (org-context-p): Allow detecting item context after the first line
4197         of an item.
4198         (orgstruct-make-binding): Detect if item-body context should be
4199         seen.
4200         (orgstruct-is-++): New variable.
4201         (org-add-planning-info): Catch the case when there is no planning
4202         info yet and the call does not want to add anything, only maybe
4203         tries to remove something.
4204         (org-special-ctrl-a/e): All value to be a cons cell with separate
4205         settings for `C-a. and `C-e'.
4206         (org-beginning-of-line, org-end-of-line): Honor separate values
4207         for `C-a' and `C-e'.
4209 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4211         * org.el (org-reload): New command.
4213 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4215         * org-exp.el (org-export-htm-get-tag-class-name)
4216         (org-export-htm-get-todo-kwd-class-name): New functions.
4217         (org-export-html-tag-class-prefix)
4218         (org-export-html-todo-kwd-class-prefix): New options.
4219         (org-export-as-html): Call
4220         `org-export-html-get-todo-kwd-class-name'.
4221         (org-html-level-start): Wrap tags into classes.
4222         (org-export-html-get-tag-class-name)
4223         (org-export-html-get-todo-kwd-class-name): New functions.
4225         * org-export-latex.el (org-export-latex-collect-header-macros):
4226         Remove fields that are used anyway.
4227         (org-export-latex-make-header): Insert the options earlier.
4229         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4230         matching.
4232         * org-list.el (org-indent-item): Allow point to be at the end of
4233         the region.
4235         * org.el (org-metaleft, org-metaright): Be more accurate about
4236         detecting a region where commands apply.
4238         * org-compat.el (org-cursor-to-region-beginning): New function.
4240         * org.el (org-priority): Also find invisible heading.
4242         * org-colview-xemacs.el (org-columns-edit-value): No special
4243         treatment for `org-todo' prefix.
4245         * org-colview.el (org-columns-edit-value): No special treatment
4246         for `org-todo' prefix.
4248         * org-remember.el (org-remember-apply-template): Use
4249         `org-completing-read-no-ido'.
4251         * org.el (org-completing-read-no-ido): New function.
4252         (org-make-tags-matcher, org-set-property): Use
4253         `org-completing-read-no-ido'.
4255         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4256         New option.
4257         (org-export-as-latex): Import in-buffer settings as TeX macros.
4258         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4259         (org-export-latex-collect-header-macros): New function.
4261         * org.el (org-refile-get-location): Turn off
4262         `partial-completion-mode'.
4264 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4266         * org.el (org-block-todo-from-checkboxes): Announce that
4267         checkboxes are the culprit.
4268         (org-block-todo-from-children-or-siblings): Call
4269         `org-up-heading-all instead' of `outline-up-heading'.
4271         * org-agenda.el (org-agenda-show-1): Renamed from
4272         `org-agenda-show'.
4273         (org-agenda-show): Re-install the old version for now.
4274         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4275         variable into the blokker hook, so that the checkbox checker can
4276         anounce that it caused the blocking.
4278         * org.el (org-track-ordered-property-with-tag): New option.
4279         (org-toggle-ordered-property): Honor
4280         `org-track-ordered-property-with-tag'.
4281         (org-tag-alist): Add newline options.
4282         (org-set-regexps-and-options): Separate option lines imply a
4283         newline.
4284         (org-set-regexps-and-options, org-assign-fast-keys)
4285         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4286         option.
4287         (org-indent-line-function): Make sure this works even if there is
4288         not `org-drawer-regexp' defined.  This can happen when
4289         orgstruct-mode is used in a non-org buffer.
4291         * org-list.el (org-checkbox-blocked-p): New function.
4292         (org-toggle-checkbox): Check for blocking.
4294         * org.el (org-modules): Add an entry for org-R.el.
4296         * org-agenda.el (org-agenda-todo-ignore-with-date)
4297         (org-agenda-todo-ignore-scheduled)
4298         (org-agenda-todo-ignore-deadlines): Mention the variable
4299         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4301         * org.el (org-get-wdays): Find the warning period also if it is in
4302         the wrong place.
4303         (org-ido-completing-read): Provide the correct arguments to
4304         ido-completing-read and bind `ido-enter-matching-directory' to
4305         nil.
4307 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4309         * org.el (org-olpath-completing-read): Never use ido for this
4310         one.
4312         * org-exp.el (org-export-normalize-links): Use new macro.
4314         * org-macs.el (org-if-unprotected-at): New macro.
4316         * org-agenda.el (org-agenda-show): Allow numerical prefix
4317         arguments to specify how much context should be shown.
4318         (org-agenda-cycle-show): New command, could be bound to SPC in
4319         org-agenda-mode-map.
4321         * org-exp.el (org-html-level-start): Space after section number.
4323 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4325         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4326         property, for sorting.
4327         (org-cmp-todo-state): Get the applicable TODO keywords directly
4328         from the buffer.
4329         (org-run-agenda-series, org-agenda-list, org-search-view)
4330         (org-todo-list, org-tags-view): Only fit agenda window when the
4331         whole series is done.
4333         * org.el (org-scan-tags): Add todo state as property, for sorting.
4335         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4336         `org-agenda-overriding-header' as an option.
4337         (org-agenda-list): Honor org-agenda-overriding-header'.
4339 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4341         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4342         after removing a checkbox.
4344         * org.el (org-show-entry): Make this work correctly also if it is
4345         the last entry in the file.
4346         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4347         falling back to normal, default command.
4348         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4349         item, call the checkbox toggler to get a box.
4351         * org-list.el (org-toggle-checkbox): Make double prefix set the
4352         checkbox to "[-]".
4353         (org-fix-bullet-type): Only replace bullet if it is changed.
4354         (org-renumber-ordered-list): Handle case when first item does not
4355         have a number.
4357         * org.el (org-add-log-setup): Fix positioning when
4358         `org-log-states-order-reversed' is nil.
4360         * org-clock.el (org-clock-in): Fix positioning when
4361         `org-log-states-order-reversed' is nil.
4362         (org-clock-find-position): Fix positioning when
4363         `org-log-states-order-reversed' is nil.
4365 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4367         * org-clock.el (org-clock-into-drawer): Take default from
4368         `org-log-into-drawer'.
4369         (org-clock-find-position): Look for the correct drawer.
4371         * org.el (org-log-into-drawer): Renamed from
4372         `org-log-state-notes-into-drawer'.
4373         (org-log-state-notes-into-drawer): New variable alias.
4374         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4375         CLOCK.
4376         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4378 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4380         * org-agenda.el (org-agenda): Fix docstring.
4382         * org.el ("org-plot"): Help loading org-plot.
4383         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4384         (org-metadown-hook, org-shiftmetaleft-hook)
4385         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4386         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4387         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4388         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4389         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4391         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4392         for selecting files with any (and even without) extension.
4394         * org.el (org-save-all-org-buffers): Also save id locations.
4395         (org-revert-all-org-buffers): Also load id locations.
4397 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4398         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4399         (org-log-state-notes-into-drawer): New option.
4400         (org-add-log-setup): Place the sate note marker into the drawer,
4401         create drawer when necessary.
4402         (org-refile-targets): Document special interpretation of LEVEL
4403         when odd-levels are used.
4405 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4407         * org.el (org-store-log-note): Fix note indentation when adding
4408         notes to end of list.
4410         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4411         class, so that each keyword can get special colors through CSS.
4413         * org-clock.el (org-clock-out): Add another nil for the previous
4414         state into the call to `org-add-log-setup'.
4416         * org.el (org-log-note-previous-state): New variable.
4417         (org-log-note-headings): New %S escape for old state.
4418         (org-todo): Call the note setup with the old state as an
4419         argument.
4420         (org-add-note): Add another nil for the previous state into the
4421         call to `org-add-log-setup'.
4422         (org-add-log-setup): New argument PREV-STATE.
4423         (org-add-log-note): Handle new %S escape.
4424         (org-store-log-note): Handle new %S escape.
4426 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4428         * org-clock.el (org-clock-find-position): Do not swallow an item
4429         less indented than the CLOCK line itself.
4430         (org-clock-in): Push markers to lin after the clock line.
4431         (org-clock-find-position): Handle values of
4432         `org-clock-into-drawer' smaller than 2.
4434         * org-exp.el (org-html-level-start): Add a CSS class to section
4435         numbers.
4436         (org-export-html-toplevel-hlevel): Better documentation of the
4437         influence of this variables on H levels and css classes in
4438         export.
4440 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4442         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4443         timestamp and nottimestamp to the chooe menu.
4445         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4446         (org-revert-all-org-buffers): New command.
4448 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4450         * org.el (org-return): Implement `org-return-follows-link' in the
4451         function org-return.  This is more robust than using the mouse
4452         map, I think.
4453         (org-set-regexps-and-options): Match more general #+TODO lines.
4454         (org-make-options-regexp): New optional argument EXTRA, for an
4455         extra regexp.
4456         (org-tab-follows-link): Mark as deprecated.
4458 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4460         * org-exp.el (org-export-preprocess-string): Remove clock lines
4461         earlier, so that they cannot cotribute to verbatim snippets.
4463 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4465         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4466         for finding drawers.
4467         (org-export-as-ascii, org-export-as-html): Count levels relative
4468         to the subtree header.
4469         (org-get-min-level): New optional argument OFFSET.
4470         (org-export): Make sure point is restored after popping up that
4471         window.
4473         * org.el (org-do-sort): Also take an inactive timestamp if no
4474         active one is found.
4476         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4477         deleting duplicates.
4479         * org-colview.el (org-columns-capture-view): Copy before
4480         deleting duplicates.
4482         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4483         text before first headline.
4485         * org.el (org-format-latex): Do not convert LaTeX fragments in
4486         protected examples.
4488 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4490         * org-exp.el (org-export-html-style-default): Use color values
4491         instead of names for XHTML validation.
4493         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4494         functions.
4495         (org-return-follows-link): Revert making this the default untile
4496         issues are resolved.
4498         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4499         nottimestamp.
4501 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4503         * org.el (org-mode): Make dependence stuff work more reliably.
4504         (org-update-parent-todo-statistics): Fix bug with updating
4505         statistics cookie.
4507         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4508         ~ as verbatim delimiters.
4510         * org-exp.el (org-export-html-format-image): New argument
4511         PAR-OPEN.
4512         (org-export-as-html): Pass par-open to
4513         `org-export-html-format-image'.
4515 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4517         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4518         (org-use-fast-todo-selection, org-tags-column): New default
4519         setting for variables, based on a poll what typical uses use.
4521         * org-agenda.el (org-agenda-sorting-strategy)
4522         (org-agenda-tags-column): New default setting for variables, based
4523         on a poll what typical uses use.
4525 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4527         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4528         blocked entries from setting the blocked tag.
4530         * org-exp.el (org-export-html-footnotes-section): Use a more
4531         consistent id for footnotes.
4533         * org-export-latex.el (org-export-latex-classes): Remove the
4534         a4paper option from the default styles.
4536 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4538         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4539         (org-block-todo-from-checkboxes): New function.
4540         (org-todo): Make tripple prefix arg circumvent blocking.
4542         * org-timer.el (org-timer): Provide the timer feature.
4544         * org.el (org-require-autoloaded-modules): Add a few more files to
4545         the list of autoloaded modules.
4547         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4549 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4551         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4552         drawers that are unprotected.
4553         (org-export-html-format-image): Make sure inlined LaTeX fragment
4554         images remain inlined.
4556         * org.el (org-toggle-ordered-property): New function.
4557         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4558         (org-org-menu): Add menu entries for TODO dependencies.
4560 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4562         * org.el (org-default-properties): Add ORDERED to the default
4563         properties, to get completion support for it.
4565         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4567         * org.el (org-update-parent-todo-statistics): Update more than one
4568         cookie.
4570         * org-agenda.el (org-agenda-get-todos): Start search from correct
4571         position.
4573         * org.el (org-fast-todo-selection): Make sure TODO selection does
4574         not change buffer position.
4576         * org-list.el (org-toggle-checkbox): Implement adding or removing
4577         checkboxes from line or region when called with a prefix
4578         argument.
4580         * org-rmail.el (org-rmail-store-link): Protect the call to
4581         `rmail-narrow-to-non-pruned-header'.
4583         * org-clock.el (org-clock-special-range): Fix week display in
4584         clock tables.
4586         * org-exp.el (org-get-current-options): Fix bug when in indirect
4587         buffer.
4589 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4591         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4592         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4593         (org-agenda-dim-blocked-tasks): New function.
4595         * org.el (org-enforce-todo-dependencies): New option.
4596         (org-block-todo-from-children-or-siblings): New function.
4598         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4600         * org.el (org-todo): Return correct state type even if the blocker
4601         throws an error.
4602         (org-modifier-cursor-error): Renamed from
4603         `org-shiftcursor-error'.
4604         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4605         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4607         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4608         to get real errors from the blocker hook.
4610         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4611         functions.
4612         (org-set-visibility-according-to-property): Turn off the setting
4613         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4614         property.
4616 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4618         * org.el (org-support-shift-select): New option.
4619         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4620         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4621         selection outside contexts.
4623         * org-list.el (org-at-item-bullet-p): New function.
4625         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4626         variables.
4628         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4629         variable.
4630         (org-insert-footnote-reference-near-definition): Remove
4631         unnecessary let form.
4633         * org-export-latex.el (org-export-latex-first-lines): Add
4634         OPT-PLIST parameter.
4635         (org-export-as-latex): Call `org-export-latex-first-lines' with
4636         opt-plits parameter.
4637         (org-export-latex-preprocess): Remove unnecessary variables.
4639         * org-exp.el (org-infile-export-plist)
4640         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4641         (org-export-remove-headline-metadata)
4642         (org-export-get-title-from-subtree, org-get-min-level)
4643         (org-html-do-expand): Remove innecessary let form.
4645         * org-colview-xemacs.el (org-columns-display-here): Remove
4646         unnecessary variables.
4648         * org-colview.el (org-columns-display-here): Remove unnecessary
4649         variables.
4651         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4652         variables.
4654         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4655         unnecessary variables.
4657         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4658         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4659         variables.
4661         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4662         (org-compact-display-after-subtree-move): Remove unnecessary
4663         variables.
4664         (org-edit-fixed-width-region): Remove unnecessary variables.
4665         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4666         (org-olpath-completing-read): Remove unnecessary variable.
4667         (org-auto-repeat-maybe): Remove unnecessary variable.
4668         (org-map-entries): Remove unnecessary variable.
4669         (org-buffer-property-keys, org-imenu-get-tree)
4670         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4672 -----------------------------------------------------------------
4674 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4675         * org-exp.el (org-export-remove-timestamps): Never remove
4676         timestamps from tables.
4678         * org-export-latex.el (org-export-latex-first-lines): Add more
4679         options to the preprocessing of the text before the first
4680         headline.
4682 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4684         * org-faces.el (org-clock-overlay): Make face compatible with
4685         XEmacs.
4687         * org.el (org-yank): Add property for delete-selection mode.
4689         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4691         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4692         variable.
4694         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4695         to `backward-char'.
4697         * org-exp.el (org-export-as-html): Remove the initial space from
4698         colon examples.
4700         * org.el (org-scan-tags): Call
4701         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4703         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4704         customization groups.
4705         (org-agenda-tags-todo-honor-ignore-options): New option.
4706         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4707         New function.
4708         (org-agenda-get-todos): Use
4709         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4711 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4713         * org-exp.el (org-export-format-source-code-or-example): Escape
4714         HTML characters also in examples that anre not treated with
4715         htmlize.  Also, just switch to EXAMPLE processing if we do not
4716         have a good version of htmlize.
4718         * org-rmail.el: Fix copyright notice.
4720         * org.el (org-activate-footnote-links): Improve footnote link
4721         highlighting.
4723         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4724         a footnote definition at the end of the file.
4726         * org-table.el (org-table-get-specials): Add an imagined hline at
4727         the end of the table.  This can be useful for references that want
4728         to go to the end of the table.  Also fix bug when computing last
4729         row constants, in tables that do not start right at the right
4730         margin.
4731         (org-table-eval-formula): Match and replace remove references.
4732         (org-table-formula-substitute-names): Make sure that names inside
4733         a "remote" call are left alone, the will be replaced later when
4734         the remote call is handled.
4735         (org-table-convert-refs-to-rc): Do not convert things that might
4736         look like a reference, but are really part of an ID or namei n a
4737         remote reference.
4738         (org-table-get-remote-range): New function.
4740 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4742         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4744         * org-clock.el (org-clock-put-overlay): Use new face instead of
4745         `secondary-selection'.
4747         * org-faces.el (org-clock-overlay): New face.
4749 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4751         * org-exp.el (org-get-current-options): Include the option for
4752         publishing time stamps.
4754         * org.el (org-toggle-heading): Renamed from
4755         `org-toggel-region-headings'.
4756         No longer needs a region defined, but will use it if there is one.
4757         (org-ctrl-c-star): Simplified, relying more on the internal
4758         workings of `org-toggle-heading'.
4759         (org-toggle-item): Renamed from `org-toggle-region-items'.
4760         No longer needs a region defined, but will use it if there is one.
4761         (org-ctrl-c-minus): Simplified, relying more on the inernal
4762         workings of `org-toggle-item'.
4764         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4765         environment detection.  Also, do real changes only in unprotected
4766         places.
4768 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4770         * org-export-latex.el (org-export-latex-quotation-marks): Use
4771         `org-if-unprotected-1'.
4772         (org-export-latex-set-initial-vars): Check for class definition in
4773         property.
4775         * org-macs.el (org-if-unprotected-1): New macro.
4777 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4779         * org-compat.el (org-count-lines): New function.
4781         * org-exp.el (org-export-format-source-code-or-example): Handle
4782         switches related to text areas.
4784         * org.el (org-activate-footnote-links): Don't allow match inside a
4785         link.
4787         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4789         * org-export-latex.el (org-export-latex-links): Keep a relative
4790         path relative also after export.
4792         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4794         * org.el (org-make-tags-matcher): Never use IDO for completing the
4795         tags matcher match string.
4796         (org-completing-read): Also remove the special biding for "?".
4798         * org-attach.el (org-attach-allow-inheritance): New option.
4799         (org-attach-inherited): New variable.
4800         (org-attach-dir): Handle properties related to the attachment
4801         directory.
4802         (org-attach-check-absolute-path): New function.
4803         (org-attach-set-directory, org-attach-set-inherit): New commands.
4804         (org-attach): Accommodate the new commands in the dispatcher.
4806 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4808         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4809         `window-full-width-p'.
4811         * org-exp.el (org-export-as-html): Only check for images files
4812         that really can be inlined
4814         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4815         list of extensions to be a parameter.
4817         * org-exp.el (org-export-html-inline-image-extensions): New
4818         variable.
4820         * org-agenda.el (org-prepare-agenda): Use
4821         `org-agenda-block-separator'.
4822         (org-agenda-block-separator): New option.
4824 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4826         * org-export-latex.el (org-export-latex-tables): Call
4827         `org-table-clean-before-export' with the new optional argument.
4829         * org-exp.el (org-table-clean-before-export): New optional
4830         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4831         first column.
4833 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4835         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4836         histograms.
4838         * org-colview.el (org-colview-construct-allowed-dates): Better
4839         error catching when a date/time property does not have allowed
4840         values defined.
4842         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4843         Better error catching when a date/time property does not have
4844         allowed values defined.
4846 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4848         * org.el (org-map-entries): Restore point and restriction after
4849         `org-map-entries'.
4851 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4853         * org.el (org-time=, org-time<, org-time<=, org-time>)
4854         (org-time>=, org-time<>): Make sure both values are dates.
4856 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4858         * org-archive.el (org-extract-archive-heading): Allow %s for file
4859         name also in achive location heading.
4861 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4863         * org-archive.el (org-add-archive-files): Uniquify the list before
4864         returning it.
4866 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4868         * org-compat.el (org-fit-window-to-buffer): Use
4869         `window-full-width-p'.
4871         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4872         space after the colon in short examples.
4874         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4875         enforce a space after the colon.  However, we also allow lines
4876         that are *only* a colon.
4877         (org-export-as-html): Enforce the space after the colon in short
4878         examples.
4879         (org-export-preprocess-string): Do the colon example protection
4880         earlier.
4881         (org-export-remove-timestamps): Do not check for protection at the
4882         end of the line.
4884 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4886         * org.el (org-format-latex-options): Add new matcher for single
4887         letters between dollars.
4888         (org-get-header): Function removed.
4889         (org-heading-components): New function.
4891         * org-exp.el (org-export-define-heading-targets): Record ID's also
4892         as alternative targets.
4893         (org-export-as-html): Interpret "id:" links to other files by
4894         preserving the relative path.
4896         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4897         is nil.
4899         * org-exp.el (org-export-normalize-links): Protect the main link,
4900         to avoid special character processing.
4902         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4903         New variable.
4904         (org-export-latex-special-string-regexps): Variable removed.
4905         (org-export-latex-keywords): Use the new regexp.
4907         * org-exp.el (org-export-handle-include-files): Fetch switches and
4908         put them into the BEGIN statement.
4910         * org-timer.el (org-timer-mode-line-string): New variable.
4912         * org-clock.el (org-clock-mode-line-map): Renamed from
4913         `org-clock-mode-map'.
4914         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4915         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4916         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4917         (org-clock-remove-overlays): Renamed from
4918         `org-remove-clock-overlays'.
4920         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4921         and mode line display.
4922         (org-timer-stop): New command.
4923         (org-timer-seconds): Return correct time when timer is paused.
4924         (org-timer-mode-line-timer): New variable.
4925         (org-timer-set-mode-line, org-timer-update-mode-line): New
4926         functions.
4928         * org.el (org-insert-heading):  Handle new value `auto' for
4929         `org-blank-before-new-entry'.
4930         (org-org-menu): Add new items for timer functions.
4932         * org-list.el (org-insert-item): Handle new value `auto' for
4933         `org-blank-before-new-entry'.
4935         * org.el (org-blank-before-new-entry): New value `auto', made
4936         default.
4938 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4940         * org-exp.el (org-export-normalize-links): If the link is also
4941         used as the description, protect the description.
4943 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4945         * org.el (org-closest-date): Fix bug with yearly repeats, in
4946         combination with preference of the past as it is used for deadline
4947         and scheduling search.
4949         * org-exp.el (org-html-handle-time-stamps): No longer check for
4950         the `org-export-with-timestamps' option, because the preprocesser
4951         has taken care of this already.
4953         * org.el (org-entry-properties): Catch the case when this is
4954         called in a non-org-mode file.
4956         * org-export-latex.el (org-export-latex-remove-from-headlines):
4957         Variable made obsolete, also LaTeX export now uses the standard
4958         variables.
4959         (org-export-as-latex): Add the timestamps parameter to the
4960         preprocessor parameter list.
4961         (org-export-latex-content): Export the remaining keywords without
4962         considering to remove them.
4963         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4964         Use bold font instead of tt font for the keywords.
4965         (org-export-latex-fontify-headline): Format headlines, assuming
4966         that all keywords still present should be published.
4967         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4968         publish what ever remains of the time stamps.
4969         (org-export-latex-list-parameters): New option.
4970         (org-export-latex-lists): Pass additional parameters to the list
4971         converter.
4973         * org-exp.el (org-export-preprocess-string): Remove clock lines
4974         and timestamps already in the preprocesor.
4975         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4976         functions.
4977         (org-export-as-ascii, org-export-as-html): Add the timestamps
4978         parameter to the preprocessor parameter list.
4980         * org-list.el (org-list-parse-list): Parse for checkboxes.
4981         (org-list-to-generic): Introduce and handle new parameters :cbon
4982         and :cboff.
4983         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4984         optional parameter PARAMS.
4986         * org-export-latex.el (org-export-latex-special-chars): Fix
4987         problems with interpreting dollar signs.
4988         (org-inside-latex-math-p): New function.
4989         (org-export-latex-preprocess): Protect all the math fragments.
4991         * org.el (org-latex-regexps): Allow a dash after a dollar.
4993         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4994         mark after copying.
4996         * org-agenda.el (org-run-agenda-series): Have series options set
4997         when finalizing the agenda.
4999         * org-exp.el (org-export-format-source-code-or-example): Protect
5000         the converted examples.
5002         * org.el (org-set-regexps-and-options): Fix the regexp
5003         `org-complex-heading-regexp'.
5005 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5007         * org.el (org-edit-src-get-label-format): New function.
5008         (org-coderef-label-format): New option.
5009         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5010         a label format specification and make sure it is used in the edit
5011         buffer.
5012         (org-edit-src-get-label-format): New function.
5013         (org-store-link): Handle new coderef formats.
5014         (org-link-search): Handle new coderef formats.
5016         * org-footnote.el (org-footnote-create-definition)
5017         (org-footnote-goto-local-insertion-point): Make footnote insertion
5018         work correctly when the "Footnotes" headline is the last line in
5019         the buffer.
5021         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5022         the location.
5024 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5026         * org-w3m.el (org-w3m): New customization group.
5027         (org-w3m-deactivate-mark): New option.
5028         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5029         option say not to.
5031 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5033         * org.el (org-set-font-lock-defaults): Trigger footnote
5034         fontification.
5035         (org-activate-footnote-links): New function.
5036         (org-activate-links): New entry `footnote'.
5038         * org-faces.el (org-footnote): New face.
5040 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5042         * org-macs.el (org-re): Handle the [:word:] class.
5044         * org-exp.el (org-export-preprocess-string): Call
5045         `org-export-protect-colon-examples'.
5046         (org-export-protect-colon-examples): Renamed from
5047         `org-export-protect-examples', and scope limited to lines starting
5048         with a colon.
5050 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5052         * org-exp.el (org-export-preprocess-string): Move the preprocess
5053         hook to after turning on Org-mode.
5054         (org-export-preprocess-after-include-files-hook)
5055         (org-export-preprocess-after-tree-selection-hook)
5056         (org-export-preprocess-before-backend-specifics-hook)
5057         (org-export-preprocess-final-hook): New hooks.
5058         (org-export-preprocess-string): Run the new hooks.
5060         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5062         * org-footnote.el: New file.
5064         * org.el (org-footnote): Require footnote code.
5065         (org-startup-options): Add new footnote options.
5066         (org-mode-map): New keybindig for footnotes.
5067         (org-ctrl-c-ctrl-c): Add function at footnotes.
5068         (org-org-menu): New menu entries for footnotes.
5070         * org-export-latex.el (org-export-as-latex): Pass footnote
5071         variable to preprocessor.
5072         (org-export-latex-preprocess): Treat multiple references to a
5073         footnote.
5075         * org-exp.el (org-export-preprocess-string): Call
5076         `org-footnote-normalize'.
5077         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5078         to preprocessor.
5079         (org-export-as-html): Treat multiple references to a footnote.
5081 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5083         * org-export-latex.el (org-export-latex-links): Handle coderef
5084         links.
5086         * org.el (org-bracket-link-analytic-regexp++): New variable.
5087         (org-make-link-regexps): Initialize
5088         `org-bracket-link-analytic-regexp++'.
5089         (org-store-link): Implement special case in edit-src buffer.
5090         (org-insert-link): No use of ide to insert stored links.
5091         (org-link-search): Implement special case for coderefs.
5093         * org-exp.el (org-export-html-scripts): New constant.
5094         (org-export-html-style-default): Add a new style for highlighted
5095         code.
5096         (org-export-code-refs): New variable.
5097         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5098         Call `org-export-replace-src-segments-and-examples'
5099         No longer call `org-export-protect-examples'.
5100         (org-export-target-internal-links): Take care of coderef targets.
5101         (org-export-last-code-line-counter-value): New variable.
5102         (org-export-replace-src-segments-and-examples): Renamed from
5103         `org-export-replace-src-segments', and modified.
5104         (org-export-format-source-code-or-example): Renamed from
5105         `org-export-format-source-code'.
5106         (org-export-number-lines): New function.
5107         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5109 --------------------------------------------------------------------------
5111 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5113         * org-remember.el (org-remember-handler): Safer way to get a new
5114         buffer accessing the target file.
5116         * org.el (org-refile-get-location): Handle case of current buffer
5117         not having a file associated with it.
5119 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5121         * org-table.el (org-table-get-formula): Only ask to overwrite
5122         field formula if there really is one.
5124         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5125         number, by converting these to a string.
5127         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5128         located in a different file.
5130         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5131         org-colview.el.
5133 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5135         * org.el (org-completion-use-ido): Enhance docstring of
5136         `org-completion-use-ido'.
5138         * org-export-latex.el (org-export-latex-make-header): Double the %
5139         in the time stamp format.
5140         (org-export-latex-special-chars): Handle case where there is no
5141         match group 3.
5143 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5145         * org.el (org-get-refile-targets, org-refile-get-location): Use
5146         expanded file name to improve comparison.
5148 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5150         * org.el (org-scan-tags): Rescan for tags, to get the correct
5151         upcase/downcase stuff.  This slows things down for now, but it
5152         works.
5153         (org-mode): Make sure the tag-faces regexp is initialized.
5155         * org-export-latex.el (org-export-latex-links): Fix bug with
5156         undefined label.
5158         * org-table.el (org-table-get-specials): Set
5159         `org-table-current-last-data-line'.
5160         (org-table-current-last-data-line): New variable.
5161         (org-table-insert-column, org-table-delete-column)
5162         (org-table-move-column, org-table-fix-formulas): Call
5163         `org-table-fix-formulas' a second time to fix the $LR references.
5164         (org-table-get-specials): Add the $LR references to the tables.
5165         (org-table-get-formula): Do not offer last-row names as LHS of
5166         formulas.
5168         * org.el (org-store-link): Capture link description from
5169         `org-id-store-link'.
5171         * org-exp.el (org-export-html-format-image): Add the / to the end
5172         of the <img> tag.
5173         (org-export-format-source-code): Surround example by empty lines,
5174         to make sure it will not be inside a paragraph.
5176         * org.el (org-ido-switchb): New function.
5178 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5180         * org-agenda.el (org-agenda-show): New prefix argument
5181         FULL-ENTRY.
5183         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5184         argument.
5186         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5187         `org-agenda-change-all-lines'.
5188         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5189         tags are now retrieved locally.
5191 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5193         * org.el (org-get-outline-path): Fix bug if level is not given.
5194         (org-org-menu): Do not quote function in menu vector.
5196         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5197         name.
5199 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5201         * org.el (org-refile): Avoid refiling to within the region to be
5202         refiled.
5204         * org-export-latex.el (org-export-latex-special-chars): Replace
5205         special characters also in tables.
5207         * org-agenda.el (org-agenda-change-all-lines): New argument
5208         FORCE-TAGS.
5209         (org-agenda-set-tags): Cet the new tags and pass them to
5210         `org-format-agenda-item'.
5212 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5214         * org-export-latex.el (org-export-latex-classes): Add longable as
5215         a default package to all classes.
5216         (org-export-latex-tables): Handle the longtable attribute and the
5217         align attribute.
5219         * org-table.el (orgtbl-to-generic): Handle tables that start with
5220         a hline.
5222         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5223         \verb for colde-like snippets.
5224         (org-export-as-latex): Fix issues with region export.
5226         * org.el (org-up-heading-safe): Speed up function by using a
5227         direct regexp search.
5228         (org-olpa): New variable.
5229         (org-get-outline-path): Speed-up path constructions in cases where
5230         this is possible because the entire hierarchy is scanned anyway.
5231         (org-refile-get-location): Don't compare the truenames of files,
5232         this is too slow.
5233         (org-goto-max-level): New option.
5234         (org-goto): Use `org-goto-max-level'.
5236 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5238         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5239         Strip angle brackets from message-ids in the former and don't do
5240         it in the latter.
5241         (org-gnus-follow-link): Open summary reliable, even if the last
5242         messages were deleted, and handle empty groups, too.
5244 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5246         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5247         instead of \texttt for the =...= and ~===~ emphasis environments.
5248         (org-export-as-latex): Remove any old :org-license-to-kill text
5249         properties.
5250         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5251         (org-export-latex-make-header): Add some hard space after the
5252         table of contents.
5253         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5254         exported text so that it will be excuded in further steps.
5256         * org-table.el (org-table-get-specials): Make @0 reference the
5257         last line in a table.
5258         (org-table-recalculate): Improve docstring.
5260 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5262         * org.el (org-log-done): Fix docstring.
5264 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5266         * org-exp.el (org-export-html-format-image): Fix bugs.
5268         * org-export-latex.el (org-export-latex-tables)
5269         (org-export-latex-links): Implement attribute, label, and caption
5270         handling.
5272         * org-exp.el (org-export-html-style-default): Add style
5273         definitions for the figure div.
5274         (org-export-preprocess-string, org-export-as-html): Implement
5275         attribute, label, and caption handling.
5276         (org-export-attach-captions-and-attributes): New function.
5277         (org-export-html-format-image): New function.
5278         (org-format-org-table-html): Implement attribute, label, and
5279         caption handling.
5281         * org.el (org-find-text-property-in-string): New function.
5282         (org-extract-attributes): Use the property org-attr instead of
5283         org-attrobutes, because this property is now set with the #+ATTR
5284         lines.
5286 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5288         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5289         the case that FROM is nil.
5291         * org.el (org-before-first-heading-p): New function.
5293 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5295         * org-exp.el (org-export-as-html): Do not add a space before
5296         enforces line breaks.
5297         (org-export-as-html): Close paragraph before blockquote and verse
5298         tags.
5300 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5302         * org-id.el (org-id-locations-file): Wrap file name with
5303         `convert-standard-filename'.
5304         (org-id-files): New variable.
5305         (org-id-use-hash): New option.
5306         (org-id-update-id-locations): Also search in all files current
5307         listed in `org-id-files'.  Convert the resulting alist to a hash
5308         if the user customation says so.
5309         (org-id-locations-save): Handle he case if `org-id-locations' is a
5310         hash.
5311         (org-id-locations-load): Convert the alist to a hash.
5312         (org-id-add-location): Handle the hast case.
5313         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5314         exited.
5315         (org-id-hash-to-alist, org-id-alist-to-hash)
5316         (org-id-paste-tracker): New functions.
5318 -------------------------------------------------------------------------
5320 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5322         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5323         bindings of calendar variables.
5325         * org-table.el (org-table-find-row-type): Renamed from
5326         `org-find-row-type'.
5327         (org-table-rewrite-old-row-references): Renamed from
5328         `org-rewrite-old-row-references'.
5329         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5330         (org-table-cleanup-narrow-column-properties): Renamed from
5331         `org-cleanup-narrow-column-properties'.
5333 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5335         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5336         for better error messages.
5337         (org-table-get-descriptor-line): Supply the new arguments to
5338         `org-find-row-type'.
5339         (org-table-error-on-row-ref-crossing-hline): New option.
5341         * org.el (org-target-link-regexp): Make buffer-local.
5342         (org-move-subtree-down): Fix bug with trees at beginning of
5343         buffer.
5345 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5347         * org-faces.el (org-set-tag-faces): New function.
5348         (org-tags-special-faces-re): New variable.
5350         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5352         * org-faces.el (org-tag-faces): New option.
5353         (org-tag): Mention `org-tag-faces' in the docstring.
5355 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5357         * org-exp.el (org-export-html-style-default): Implement new
5358         quoting.
5360         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5362         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5363         command to the `w3m-minor-mode-map'.
5365         * org-archive.el (org-archive-to-archive-sibling): Protect
5366         `this-command' to avoid appending kills during archiving.
5368         * org-exp.el (org-export-with-priority): New variable.
5369         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5370         instead of internal list of strings and properties.
5371         (org-print-icalendar-entries): Retrieve the location property with
5372         inheritance.
5374 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5376         * org-exp.el (org-export-with-todo-keywords): New option.
5377         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5378         line.
5379         (org-default-export-plist, org-export-add-options-to-plist)
5380         (org-export-as-ascii, org-export-as-html): Use the new structure
5381         of `org-export-plist-vars'.
5383         * org.el (org-map-entries): Return all values.
5385 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5387         * org.el (org-matcher-time): Recognize more special values.
5389         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5391 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5393         * org.el (org-tags-exclude-from-inheritance): New option.
5394         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5395         `org-tags-exclude-from-inheritance'.
5397         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5398         (org-format-agenda-item): Add inherited tags to the agenda line
5399         string, and make sure that properties are kept when downcasing the
5400         tags list.
5401         (org-agenda-add-inherited-tags): New function.
5402         (org-downcase-keep-props): New function.
5404         * org.el (org-scan-tags): Mark inherited tags with a text
5405         property.
5406         (org-get-tags-at): Mark inherited tags with a text property.
5407         (org-add-prop-inherited): New function.
5409         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5410         (org-agenda-show-inherited-tags): New option.
5412 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5414         * org.el (org-modules): Add org-w3m to the default modules.
5416         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5417         orgtbl-mode.
5418         (orgtabl-create-or-convert-from-region): New command.
5420         * org-exp.el (org-export-as-ascii): Remove the handling of
5421         targets.
5422         (org-export-ascii-preprocess): Handle targets already in this
5423         function.
5425 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5427         * org-timer.el (org-timer-start-time): Define this variable.
5428         (org-timer-item): Make argument optional.
5430         * org-list.el (org-insert-item): Automatically insert a timer item
5431         if the current list is a timer list.
5433         * org-timer.el: New file.
5435         * org-publish.el (org-publish-org-index): Only exclude the index
5436         file in the main directory from being added to the site-map.
5437         (org-publish-get-project-from-filename): If the current project is
5438         a component, start publishing from the parent project.
5440 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5442         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5444         * org-publish.el (org-publish-org-index): Improve removal of
5445         temporary buffers.
5447         * org-agenda.el (org-get-closed): Re-apply changes
5448         accidentially overwritten by last commit to Emacs.
5450         * org.el (org-outline-path-complete-in-steps): New option.
5451         (org-refile-get-location): Honor
5452         `org-outline-path-complete-in-steps'.
5453         (org-agenda-change-all-lines, org-tags-sparse-tree)
5454         (org-time-string-to-absolute, org-small-year-to-year)
5455         (org-link-escape): Re-apply changes accidentially overwritten
5456         by last commit to Emacs
5458 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5460         * org-clock.el (org-dblock-write:clocktable): Make sure the
5461         clocktable sees the first line.
5462         (org-clock-in): Warn if the clock cannot be resumed.
5464 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5466         * org.el (org-open-at-point): Fix mixup about interactive and
5467         non-interactive elisp links.
5469 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5471         * org-exp.el (org-export-preprocess-string): Allow one comment
5472         line before the first headline to always be included.  This is
5473         to not miss a commented target.
5475         * org-mouse.el (org-mouse-insert-item): Call
5476         `org-indent-to-column' instead of `indent-to', for XEmacs
5477         compatibility.
5479         * org.el (org-refile-targets): Fix customize definition so
5480         that it works also in XEmacs.
5481         (org-fixup-indentation): Call `org-indent-to-column' instead
5482         of `indent-to', for XEmacs compatibility.
5484 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5486         * org-mew.el (org-mew-store-link): Get the correct case folder
5487         for refiled messages.
5489 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5491         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5492         line break indicators.
5494         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5495         ido-completion propts.
5497 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5499         * org-remember.el (org-remember-apply-template): Use
5500         `org-substring-no-properties'.
5502         * org-compat.el (org-substring-no-properties): New function.
5504         * org-remember.el (org-remember-apply-template): Use
5505         `org-substring-no-properties' for compatibility.
5507         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5508         option.
5509         (org-fix-bullet-type): respect
5510         `org-list-two-spaces-after-bullet-regexp'.
5512         * org-clock.el (org-clock-load): Clean up the code.
5514         * org.el (org-adaptive-fill-function): Allow two spaces after
5515         "1." as a list bullet.
5517 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5519         * org-clock.el (org-clock-save, org-clock-load): Check for
5520         live buffers, existing files, and buffer file names to ensure
5521         consistent information.
5522         (org-clock-persist): Make `clock' a special value of this
5523         variable, and improve docstring.
5525         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5526         (org-get-string-indentation): Adapt indentation when the bullet
5527         width changes.
5529 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5531         * org-remember.el (org-remember-finalize): Make interactive.
5532         (org-remember-kill): New command.
5533         (org-remember-finish-immediately): Call `org-remember-finalize'
5534         directly.
5535         (org-remember-finalize): Make `org-remember-finalize' an interactive
5536         function.
5538 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5540         * org-remember.el (org-remember-apply-template): No ido completion
5541         for free prompts in remember templates.
5542         (org-remember-before-finalize-hook): New hook.
5543         (org-remember-mode): New minor mode.
5544         (org-remember-apply-template): Turn on `org-remember-mode'.
5546         * org-id.el (org-id-add-location): Avoid error when no file is
5547         given.
5549         * org-remember.el (org-remember-apply-template): Fix the way how
5550         the list of allowed properties is retrieved from the target file.
5552         * org.el (org-insert-link): Improve file link matching.
5554 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5556         * org-colview.el (org-columns-display-here): New argument
5557         DATELINE, to trigger using the new face.
5558         (org-agenda-colview-summarize): Call `org-columns-display-here'
5559         with the new argument.
5561         * org-faces.el (org-agenda-column-dateline): New face.
5563         * org-publish.el (org-publish-org-index): Use index-title at page
5564         title, not as section.
5566         * org-exp.el (org-export-html-format-desc): Respect the
5567         org-protect property.
5568         (org-export-as-html): Protect image specifiers that are in the
5569         description part of a link.
5571         * org.el (org-sort-entries-or-items, org-completing-read)
5572         (org-refile-get-location, org-olpath-completing-read, org-todo)
5573         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5574         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5575         (org-set-property, org-delete-property)
5576         (org-delete-property-globally): Use `org-ido-completing-read'.
5578         * org-remember.el (org-remember-apply-template): Use
5579         `org-ido-completing-read'.
5581         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5583         * org-colview.el (org-columns-edit-value, org-columns-new)
5584         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5586         * org-colview-xemacs.el (org-columns-edit-value)
5587         (org-columns-new, org-insert-columns-dblock): Use
5588         `org-ido-completing-read'.
5590         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5591         `org-ido-completing-read'.
5593         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5594         `org-ido-completing-read'.
5596         * org.el (org-time-today): New function.
5597         (org-matcher-time): Use `org-time-today'.  Add special treatment
5598         for "<tomorrow>" and "<yesterday>".
5599         (org-ido-completing-read): New function.
5600         (org-completion-use-ido): New option.
5602         * org-exp.el (org-export-format-source-code): Fix bug in require
5603         htmlize code.
5604         (org-export-target-internal-links): Fix bug in search for text
5605         property.
5607 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5609         * org-export-latex.el (org-export-latex-subcontent): Interprete
5610         target aliases as additonal labels.
5612         * org-exp.el (org-export-target-aliases): New variable.
5613         (org-export-preprocess-string)
5614         (org-export-handle-invisible-targets): Fill the alias alist.
5615         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5616         assign an id.
5617         (org-html-level-start): Insert the target aliases as additonal
5618         anchors.
5620         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5621         picture area.
5623 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5625         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5626         when following a link with the mouse from the agenda.
5628         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5629         headlines are created.
5631 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5633         * org-exp.el (org-export-preprocess-string): Reorder so that we
5634         can still see ID properties when we collect targets.
5635         (org-export-target-internal-links): Also store targets for ID's.
5637         * org.el (org-link-translation-function): New option.
5638         (org-open-at-point): Call `org-link-translation-function' if
5639         non-nil.
5640         (org-translate-link): New function.
5641         (org-translate-link-from-planner): New function.
5642         (org-open-at-point): Allow interactive commands in elisp links.
5644         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5645         iCalendar quoting.  The new one seems to caus problems with
5646         applications.
5648         * org.el (org-yank): Set `this-command' to `yank', so that
5649         `yank-pop' will work.
5651 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5653         * org-id.el (org-id-search-archives): New option.
5655         * org.el (org-link-to-org-use-id): New option.
5656         (org-store-link): Use `org-link-to-org-use-id'.
5657         (org-id): Make org-id.el a standard component.
5659 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5661         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5662         hexified version of the tag.
5664         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5665         compliance as far as quoting is concerned.
5667         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5669         * org.el (org-up-heading-safe, org-forward-same-level): Always
5670         call `org-back-to-heading' instead of `outline-back-to-heading'.
5671         (org-back-to-heading): New wrapper around outline-back-to-heading,
5672         with a useful error message telling where the error happened.
5674         * org-list.el (org-update-checkbox-count): Always call
5675         `org-back-to-heading' instead of `outline-back-to-heading'.
5677         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5678         has an `alt' attribute, to ensure XHTML validation.
5680 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5682         * org-publish.el (org-publish-attachment): Allow publishing to
5683         overwrite attachment files.
5685         * org-agenda.el (org-agenda-timerange-leaders): New option.
5686         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5688         * org.el (org-edit-src-exit): Untabify ASCII image before
5689         returning.
5702 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5704         * org.el (org-yank): Make any prefix force normal yanking.
5705         Suppress folding if text would be swallowed into a folded
5706         subtree.
5707         (org-yank-folded-subtrees, org-yank): Docstring updates.
5709         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5710         defined as 0.
5712         * org-exp.el (org-export-language-setup): Add Catalan and
5713         Esperanto language entries.
5715 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5717         * org.el (org-refile): Allow refiling of entire regions.
5719         * org-clock.el (org-clock-time%): New function.
5721         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5722         retrieve property values.
5724 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5726         * org-agenda.el (org-agenda-list): Handle the value `only' of
5727         org-agenda-show-log'.
5728         (org-agenda-log-mode): Interpret a double prefix arg.
5730 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5732         * org-exp.el (org-export-html-footnotes-section): New variable.
5733         (org-export-as-html): Use `org-export-html-footnotes-section' to
5734         insert the footnotes.
5735         (org-export-language-setup): Add "Footnotes" to language words.
5737 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5739         * org.el (org-yank): Fix bug when not inserting a subtree.
5741 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5743         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5744         instead of `vm-beginning-of-message'.
5746         * org.el (org-make-link-regexps): Make sure that links to gnus can
5747         contain brackets.
5749 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5751         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5752         code.
5754         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5755         shell output.
5757         * org.el (org-link-abbrev-alist): Improve customization type.
5759         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5760         functions.
5762         * org-agenda.el (org-agenda-get-progress): Renamed from
5763         `org-get-closed'.  Implement searching for state changes as well.
5764         (org-agenda-log-mode-items): New option.
5765         (org-agenda-log-mode): New option prefix argument, interpreted as
5766         request to show all possible progress info.
5767         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5768         `org-get-closed'.
5769         (org-agenda-set-mode-name): Handle the more complex log mode
5770         settings.
5771         (org-get-closed): New alias, pointing to `org-get-progress'.
5773 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5775         * org.el (org-file-apps-defaults-gnu)
5776         (org-file-apps-defaults-macosx)
5777         (org-file-apps-defaults-windowsnt): Add an entry defining the
5778         system command.
5779         (org-file-apps): Allow `system' as key and value.
5780         (org-open-at-point): Explain the effect of a double prefix arg.
5781         (org-open-file): If the argument `in-emacs' is (16),
5782         i.e. corresponding to a double prefix argument, try to open the
5783         file externally.
5785 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5787         * org.el (org-insert-link): Abbreviate absolute files names in
5788         links.  Also, fix a bug in which the double C-u prefix would not
5789         be honored.
5791 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5793         * org.el (org-insert-heading): If buffer does not end with a
5794         newline, add one if necessary to insert headline correctly.
5796         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5797         paragraphs, not inside.
5799         * org.el (org-todo): Quote
5800         `org-agenda-headline-snapshot-before-repeat'.
5802         * org-exp.el (org-export-as-html): Fully process link descriptions.
5803         (org-export-html-format-desc): New function.
5804         (org-export-as-html): Collect footnotes into the correct basket.
5805         (org-html-protect): No longer protect quotations marks here, this
5806         goes wrong.
5808         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5809         BEG.
5811         * org-compat.el (org-fit-window-to-buffer): New function (not
5812         really, a preliminary and incomplete version was present earlier,
5813         but not used).
5815         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5816         `org-fit-window-to-buffer'.
5818         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5820         * org-agenda.el (org-agenda-get-restriction-and-command)
5821         (org-fit-agenda-window, org-agenda-convert-date): Use
5822         `org-fit-window-to-buffer'.
5824         * org-exp.el (org-export-as-html): Process href links through
5825         `org-export-html-format-href'.
5826         (org-export-html-format-href): New function.
5828         * org-agenda.el (org-agenda-todo): Update only the current
5829         headline if this is a repeated TODO, marked done for today.
5830         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5831         only the current line.
5833         * org.el (org-todo): Take a snapshot of the headline if the
5834         repeater might change it.
5836 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5838         * org-publish.el (org-publish-find-title): Remove buffers visited
5839         only for extracting the title.
5841         * org-exp.el (org-export-html-style)
5842         (org-export-html-style-default): Mark style definitions as
5843         unparsed CDATA.
5845         * org-publish.el (org-publish-validate-link): Function
5846         re-introduced.
5848 2008-11-02  Charles Sebold  <csebold@gmail.com>
5850         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5851         property.
5852         (org-plot-quote-timestamp-field): New function.
5853         (org-plot-quote-tsv-field): Call timestamp field function when
5854         necessary rather than just quoting as a string.
5855         (org-plot/gnuplot-to-data): Pass in timefmt property.
5856         (org-plot/gnuplot-script): Supports timefmt property.
5857         (org-plot/gnuplot): Checks for timestamp column before checking
5858         for text index column.
5860 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5862         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5864         * org-publish.el (org-publish-org-index): Create a section in the
5865         index file.
5866         (org-publish-org-index): Stop linking to directories.
5868         * org.el (org-emphasis-alist): Use span instead of <u> to
5869         underline text.
5871         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5872         <pre> sections.
5874 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5876         * org-jsinfo.el (org-infojs-template): Remove language attribute
5877         from script tag.
5879 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5881         * org-agenda.el (org-agenda-remove-marked-text): New function.
5882         (org-agenda-mark-filtered-text)
5883         (org-agenda-unmark-filtered-text): New functions.
5884         (org-write-agenda): Remove fltered text.
5886         * org.el (org-make-tags-matcher): Give access to TODO "property"
5887         without speed penalty.
5889 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5891         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5892         option.
5893         (org-store-link-props): Make sure adding to the plist works
5894         correctly.
5896         * org-gnus.el (org-gnus-no-new-news): New function.
5897         (org-gnus-follow-link): Allow the article ID to be a message-id,
5898         in addition to allowing article numbers.  Message IDs make much
5899         more roubust links.
5900         (org-gnus-store-link): Use message-id to create link.
5902 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5904         * org.el (org-emphasize): Reverse the selection array.
5905         (org-emphasis-alist): Set <code> tags for the verbatim
5906         environment.
5908         * org-remember.el (org-remember-handler): Fix bug with
5909         prefix-related changing of the note storage target.
5911         * org-exp.el (org-print-icalendar-entries): Make the exported
5912         priorities compatible with RFC 2445.
5914         * org-clock.el (org-clock-save): Insert time stamp without
5915         dependence on time-stamp.el.
5917 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5919         * org.el ("saveplace"): If saveplace puts point into an invisible
5920         location, make it visible.
5921         (org-make-tags-matcher): Allow inactive time stamps in time
5922         comparisons.
5923         (org-yank-adjusted-subtrees): New option.
5924         (org-yank): Incorporate adjusting trees.
5925         (org-paste-subtree): New argument FOR-YANK which will cause
5926         insertion at point without backing up over white lines, and leave
5927         point at the end of the inserted text.  Also if the cursor is
5928         at the beginning of a headline, use the same level or the inserted
5929         tree.
5931         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5932         with broken symlinks
5934 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5936         * org-exp.el (org-export-select-tags, org-get-current-options):
5937         Fix typo.
5939 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5941         * org-agenda.el (org-format-agenda-item)
5942         (org-agenda-filter-make-matcher): Make sure tags are stored and
5943         compared donwcased.
5945 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5947         * org.el (org-insert-todo-heading): Fix bug with force-heading
5948         argument.
5950 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5952         * org-clock.el (org-clock-in-resume): Add a custom option to
5953         toggle starting the clock from an open clock line.
5954         (org-clock-in): When clocking in to an entry, if
5955         `org-clock-in-resume' is set, check if the first clock line is
5956         open and if so, start the clock from the time in the clock line.
5957         (org-clock-persist): Add a custom option to toggle clock
5958         persistence.
5959         (org-clock-persist-query-save): Add a custom option to toggle
5960         asking the user if they want to save the running clock when
5961         exiting.
5962         (org-clock-persist-query-resume): Add a custom option to toggle
5963         asking the user if they want to resume the saved clock when Emacs
5964         is restarted.
5965         (org-clock-save): Add a function to save clock data.
5966         This includes the contents of `org-clock-history' and the buffer
5967         and position of the currently clocked task, if any.
5968         (org-clock-load): Add a function to load clock data.
5969         This populates `org-clock-history', and resumes the saved clocked
5970         task if there is one.
5971         (org-clock-persistence-insinuate): Add a method to set up the
5972         hooks for clock persistence.
5974 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5976         * org-exp.el (org-export-as-ascii): Handle the case that we are
5977         publishing from an indirect buffer.
5979         * org-table.el (org-table-copy-down): Fix bug with time stamp
5980         increment.
5982         * org-mouse.el (org-mouse-features): New option.
5983         (org-mode-hook): Turn on features depending on
5984         `org-mouse-features'.
5986         * org.el (org-insert-heading-respect-content): Force heading
5987         creation.
5988         (org-insert-heading): keep the folding state of the heading before
5989         the inserted one.
5991 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5993         * org-archive.el (org-archive-to-archive-sibling): Handle top
5994         level headlines better.
5996 2008-10-21  Bastien Guerry  <bzg@altern.org>
5998         * org-export-latex.el (org-export-latex-classes): Added
5999         \usepackage{graphicx} to the default list of packages.
6001 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6003         * org-agenda.el (org-agenda-filter): Renamed from
6004         `org-agenda-filter-tags'.
6006 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6008         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6009         is not defined as a property in this entry.
6010         (org-add-log-note): Mask prefix argument when immediately storing
6011         the note.
6013         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6014         option.
6016 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6018         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6019         after drawers was skipping ahead one line too many, so notes were
6020         inserted after the first note instead of before it.
6022 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6024         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6025         New variables.
6026         (org-prepare-agenda): Reset the filter tags.
6027         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6028         Show filter tags in mode line.
6030         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6031         formatter.
6033         * org-export-latex.el (org-latex-entities-regexp): New constant.
6034         (org-export-as-pdf): Use two calls to `shell-command'.
6036 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6038         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6039         Honor the {} value of the subsuperscript setting.  Make sure that
6040         longer subsuperscripts are typeset in a roman font.
6042         * org.el (org-clock-update-time-maybe): Compute negative clock
6043         intervals correctly.
6045 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6047         * org.el (org-add-log-setup): Respect
6048         `org-log-state-notes-insert-after-drawers'.
6049         (org-log-state-notes-insert-after-drawers): New option.
6050         (org-todo-trigger-tag-changes): New function.
6051         (org-todo): Call `org-todo-trigger-tag-changes'.
6053 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6055         * org.el (org-add-log-setup): Only skip drawers if the are
6056         immediately after the scheduling keywords.
6058         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6059         function
6060         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6061         call it with the current todo state to get the state to switch to
6062         when clocking in.
6063         (org-clock-in): Use org-indent-line-function to indent clock lines.
6064         (org-clock-find-position): Fix indentation of empty clock drawers.
6066 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6068         * org-publish.el (org-publish-org-to): Handle case when
6069         org-export-to-pdf does return a file name, not a buffer.
6070         (org-publish-org-to-pdf): New function.
6072         * org-export-latex.el (org-export-as-pdf)
6073         (org-export-as-pdf-and-open): New commands.
6075         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6076         forms as ranges.
6078         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6079         things in protexted regions.
6081 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6083         * org-export-latex.el (org-export-latex-preprocess): Improve
6084         quoting of LaTeX environments.
6086 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6088         * org.el (org-edit-fixed-width-region): Exclude final newline from
6089         picture area.
6091         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6092         sections, to make internal links work.
6093         (org-export-latex-fontify-headline): Do not remove all text
6094         properties, to make sure that target properties survive this
6095         process.
6097         * org-exp.el (org-export-preprocess-string): Change sequence of
6098         modifications, to make sure links are prepared before the LaTeX
6099         conversions do happen.
6101 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6103         * org-attach.el (org-attach-delete-all): Renamed from
6104         `org-attch-delete'.  Add a security query before deleting the
6105         entire directory.  New optional argument FORCE can overrule the
6106         security query.
6107         (org-attach-delete-one): New command.
6109 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6111         * org-attach.el (org-attach-file-list): Fix bug with directory.
6113 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6115         * org.el (org-apps-regexp-alist): New function.
6116         (org-file-apps): Add auto-mode to the default value.
6117         (org-open-file): Use the new structure of org-file-apps.
6119         * org-attach.el (org-attach): Support the new keys.
6120         (org-attach-method): New option.
6122 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6124         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6125         March.
6127         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6128         of the list value o `org-use-tag-inheritance'.
6130         * org-attach.el (org-attach-auto-tag): New option.
6131         (org-attach-tag, org-attach-untag): New functions.
6132         (org-attach-attach, org-attach-new, org-attach-sync): Call
6133         `org-attach-tag'.
6134         (org-attach-delete): Call `org-attach-untag'.
6136 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6138         * org-table.el (orgtbl-self-insert-command): Make this work for
6139         the keypad as well.
6141 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6143         * org.el (org-add-log-setup): Limit searc for drawers to entry
6144         text, not to subtree.
6146         * org-clock.el (org-clock-heading-for-remember): New variable.
6147         (org-clock-in): Set `org-clock-heading-for-remember'.
6149 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6151         * org-remember.el (org-remember-apply-template): Add new
6152         expansions: %k, %K for currently clocked task and a link to the
6153         currently clocked task, and %< to file notes in the currently
6154         clocked task.
6156 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6158         * org-export-latex.el (org-export-latex-make-header): Also insert
6159         the content of the property :latex-header-extra.
6161         * org-exp.el (org-infile-export-plist): Put the content of
6162         #+LATEX_HEADER: into the property :latex-header-extra.
6164         * org-colview.el (org-columns-get-format-and-top-level): Remove
6165         resetting the marker.
6167         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6168         Remove resetting the marker.
6170         * org.el (org-entry-property-inherited-from): Improve docstring.
6171         (org-entry-get-with-inheritance): Reset marker before starting the
6172         search.
6174         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6176 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6178         * org.el (org-entry-get-multivalued-property)
6179         (org-entry-protect-space, org-entry-restore-space): New
6180         functions.
6181         (org-file-apps-defaults-macosx): Let postscript files be opened by
6182         preview.
6183         (org-time-stamp-inactive): Call `org-time-stamp'.
6184         (org-time-stamp): New argument `inactive'.  Also edit inacive
6185         stamps. Convert time stamp type.
6186         (org-open-file): Interpret the `default' value for the `command'
6187         in `org-file-apps'.
6189         * org-id.el (org-id-int-to-b36-one-digit)
6190         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6191         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6192         b36.
6194 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6196         * org-id.el (org-id-reverse-string): New function.
6197         (org-id-new): Use `org-id-reverse-string' to make sure the
6198         beginning chars of the ID are mutating fast.  This allows to use a
6199         directory structure to spread things better.
6200         (org-id-prefix): Changed default to nil.
6202         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6203         restore the column of the cursor position.
6205         * org-remember.el (org-remember-apply-template): Remove properties
6206         from `initial'.
6208 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6210         * org-wl.el (org-wl-open): Remove useless call to
6211         `wl-thread-open-all'.
6213         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6214         location.
6216 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6218         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6219         `org-bbdb-anniversaries'.
6221         * org.el (org-get-next-sibling, org-forward-same-level): New
6222         functions, similar to the outline versions, but invisible headings
6223         are OK.
6225 2008-09-25  Bastien Guerry  <bzg@altern.org>
6227         * org.el (org-auto-repeat-maybe): Insert a space between
6228         the timestamp's type and the timestamp itself.
6230 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6232         * org-table.el (org-table-sum): Do not format the result with %g,
6233         it does rounding when there are too many digits.
6235         * org.el (org-map-entries): Protect the keyword-selecting variables.
6237 2008-09-23  Bastien Guerry  <bzg@altern.org>
6239         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6240         against all agenda files.
6242 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6244         * org-list.el: New file, aggregating list functions from org.el
6245         and org-export-latex.el.
6247         * org.el (org-edit-src-region-extra): New option.
6249 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6251         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6252         time before 1am.
6254 2008-09-22  Bastien Guerry  <bzg@altern.org>
6256         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6258 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6260         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6261         hline work correctly.
6262         (org-plot/gnuplot-script): Put commas at the end of each script
6263         line.
6265 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6267         * org.el (org-get-refile-targets): Replace links with their
6268         descriptions
6269         (org-imenu-get-tree): Replace links with their descriptions.
6271         * org-remember.el (org-remember-apply-template): Add a new
6272         expansion for adding properties to remember items.
6274         * org.el (org-add-log-setup): Skip over drawers (properties,
6275         clocks etc) when adding notes.
6277         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6278         items as well as the start and end times.
6280         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6281         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6283         * org-remember.el (org-get-x-clipboard): Use the compat
6284         function to get clipboard values when x-selection-value is
6285         unavailable. Use substring-no-properties instead of
6286         set-text-properties to remove text properties from the clipboard
6287         value.
6289         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6290         modeline clock string, and display the full todo value in the
6291         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6292         the currently clocked task.
6293         (org-clock-string-limit): Add a custom value for the maximum
6294         length of the clock string in the modeline.
6295         (org-clock-mode-map): Add a keymap for the modeline string
6297 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6299         * org-compat.el (org-propertize): New function.
6301 2008-09-20  Bastien Guerry  <bzg@altern.org>
6303         * org-export-latex.el (org-export-latex-tables): protect exported
6304         tables from further special chars conversion.
6305         (org-export-latex-preprocess): Preserve LaTeX environments.
6306         (org-list-parse-list): Parse descriptive lists.
6307         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6308         (org-list-to-texinfo): Export descriptive lists.
6309         (org-quote-chars): Remove.
6310         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6311         (org-export-latex-list-beginning-re): Rename to
6312         `org-list-beginning-re'
6313         (org-list-item-begin): Rename to `org-list-item-beginning'
6315 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6317         * org.el (org-refile): Allow refiling to the last entry in the
6318         buffer.
6319         (org-get-tags-at): Fix bug when inheritance is turned off.
6321 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6323         * org.el (org-indent-line-function): No longer check for src
6324         regions, this is too much overhead.
6326         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6327         matching.
6329         * org.el (org-scan-tags): Make sure that tags matching is not case
6330         sensitive.  TODO keyword matching is case sensitive, however, to
6331         avoid confusion with similar words that are not meant to be
6332         keywords.
6334 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6336         * org.el (org-get-local-tags-at): New function.
6337         (org-get-local-tags): New function.
6339         * org-exp.el (org-export-get-categories): New function.
6341         * org-agenda.el (org-sorting-choice)
6342         (org-agenda-sorting-strategy, org-agenda-get-todos)
6343         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6344         (org-agenda-get-scheduled, org-agenda-get-blocks)
6345         (org-entries-lessp): Implement sorting by TODO state.
6346         (org-cmp-todo-state): New defsubst.
6348         * org-colview.el (org-colview-construct-allowed-dates): New
6349         function.
6350         (org-columns-next-allowed-value): Use
6351         `org-colview-construct-allowed-dates'.
6353         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6354         function.
6355         (org-columns-next-allowed-value): Use
6356         `org-colview-construct-allowed-dates'.
6358 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6360         * org.el (org-protect-slash): New function.
6361         (org-get-refile-targets): Use `org-protect-slash'.
6363         * org-agenda.el (org-global-tags-completion-table): New variable.
6365         * org-exp.el (org-export-handle-export-tags): New function.
6366         (org-export-preprocess-string): Call
6367         `org-export-handle-export-tags'.
6369         * org-plot.el: New file.
6371         * org-publish.el (org-publish-expand-components): Function removed.
6372         (org-publish-expand-projects): Allow components to have components.
6374 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6376         * org.el (org-indent-line-function): Do not indent in regions that
6377         are external source code.
6378         (org-yank-and-fold-if-subtree): New function.
6380         * org-agenda.el (org-agenda-todayp): New function.
6381         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6382         `org-agenda-todayp'.
6384         * org.el (org-insert-heading-respect-content)
6385         (org-insert-todo-heading-respect-content): New commands.
6386         (org-insert-heading-respect-content): New option.
6387         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6389         * org-clock.el (org-clock-find-position): Make sure the note after
6390         the clock line gets moved into the new clock drawer.
6392 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6394         * org-id.el (org-id-new): New option.
6396 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6398         * org-table.el (org-table-copy-down): Avoid overflow during
6399         increment.  Use prefix argument 0 to temporarily disable the
6400         increment.
6402 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6404         * org-exp.el (org-export-as-html): Do not turn on the major mode
6405         if the buffer will be killed anyway.
6406         (org-get-current-options): Exclude the #+TEXT field.
6407         (org-export-as-html): Make sure text before the first headline is
6408         a paragraph.
6410         * org-publish.el (org-publish-org-to): Tell the exporter that this
6411         buffer will be killed, so it is not necessary to do major mode
6412         initialization.
6414         * org-archive.el (org-archive-to-archive-sibling): Show empty
6415         lines after folding the archive sibling.
6417         * org.el (org-log-note-extra): New variable.
6419 2008-09-05  Bastien Guerry  <bzg@altern.org>
6421         * org.el (org-additional-option-like-keywords): Added keywords for
6422         the _QUOTE, _VERSE and _SRC environments.
6424         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6425         exporting _QUOTE and _VERSE environments.
6427 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6429         * org-agenda.el (org-agenda-filter-by-tag): New command.
6431         * org-exp.el (org-get-current-options): Remove angular brackets
6432         from the date entry.
6434         * org.el (org-edit-fixed-width-region): New function.
6435         (org-edit-fixed-width-region): Also try
6436         `org-edit-fixed-width-region'.
6437         (org-edit-fixed-width-region-mode): New option.
6438         (org-activate-code): Only interprete lines starting with colon
6439         plus a space as example lines.
6441         * org-remember.el (org-remember-templates): Add nil instead of
6442         empty strings to fix the length of remember templates.
6444         * org-table.el (org-calc-default-modes): Fix the time format for
6445         calc, from 12 hour to 24 hour clock.
6447 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6449         * org-agenda.el (org-agenda-get-deadlines)
6450         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6451         entries that are pre-warnings of deadlines or reminders.
6453         * org.el (org-sort-entries-or-items): Make numeric and alpha
6454         comparisons ignore any TODO keyword and priority cookie.
6456         * org-remember.el (org-remember-handler): Reinterpretation of the
6457         prefix argument.
6459 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6461         * org-agenda.el (org-agenda-get-scheduled): Use new
6462         `org-scheduled' face.
6464         * org-faces.el (org-scheduled): New face.
6466         * org-wl.el (org-wl-open): Remove incorrect declaration.
6468         * org-gnus.el (org-gnus-store-link): Support for :to information
6469         in gnus links.
6471         * org-exp.el (org-export-as-html): Fixed typo in creator
6472         information.
6473         (org-export-protect-examples): New parameter indent.  Insert extra
6474         spaces only when this parameter is specified.
6475         (org-export-preprocess-string): Call `org-export-protect-examples'
6476         with an indentation parameter when exporting to ASCII.
6478         * org-remember.el (org-remember-templates)
6479         (org-remember-apply-template): Allow the file component to be a
6480         function.
6482         * org.el (org-goto-local-search-headings): Renamed from
6483         `org-goto-local-search-forward-headings'.  Added the possibility
6484         to search backwards.
6486 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6488         * org-export-latex.el (org-export-latex): New customization
6489         group.
6491         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6493 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6495         * org-exp.el (org-html-do-expand): Allow {} to terminate
6496         tex macro
6498 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6500         * org.el (org-buffer-list): Select buffers based on major mode,
6501         not on file name.
6503 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6505         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6506         face property.
6508         * org-colview.el (org-columns-display-here): Use
6509         `org-columns-modify-value-for-display-function'.
6511         * org-colview-xemacs.el (org-columns-display-here): Use
6512         `org-columns-modify-value-for-display-function'.
6514 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6516         * org.el (org-columns-modify-value-for-display-function): New option.
6528         * org-publish.el (org-publish-file): Make sure the directory match
6529         for the publishing directory works correctly.
6531         * org-agenda.el (org-agenda-execute-calendar-command)
6532         (org-agenda-diary-entry): Additional optional argument.
6534 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6536         * org-exp.el (org-export-as-html): Add attributes also in mailto
6537         and ftp links.
6539         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6548 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6550         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6551         sure that calls from `org-export-region-as-html' do not do the
6552         special check for a subtree.
6554 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6556         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6558 2008-07-20  Juri Linkov  <juri@jurta.org>
6560         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6561         new keymap `narrow-map' instead of binding "\C-xns".
6563 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6565         * org.el (org-open-file): Use
6566         `org-open-directory-means-index-dot-org'.
6567         (org-open-directory-means-index-dot-org): New option.
6569 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6571         * org.el (org-make-link-string): Remove link attributes from
6572         description.
6573         (org-open-at-point): Remove link attributes bevore using the path.
6575         * org-exp.el (org-export-as-html): Handle link attributes.
6577         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6579         * org-table.el (org-table-to-lisp): New function.
6581         * org.el (org-narrow-to-subtree): Do not include the final newline
6582         into the narrowed region.
6584         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6585         bug with user-define skipping condition.
6587 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6589         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6591 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6593         * org-exp.el (org-export-html-style-default): Automatic overflow
6594         handling for pre fields.
6595         (org-export-as-ascii, org-export-as-html): Change default format
6596         for time stamp.
6598         * org-table.el (org-table-export): Offer completion for translator
6599         functions, and do not require a heading above the table.
6601         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6602         Cater for the case of a list starting in the first line of the
6603         buffer.
6605 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6607         * org-publish.el (org-publish-find-title): Bug fix.
6608         (org-publish-org-index): Implement new :index-style option.
6610 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6612         * org-publish.el (org-publish-timestamp-filename): Use
6613         SHA1-encoded file names in the timestamp directory.
6615 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6617         * org-publish.el (org-publish-needed-p): Be verbose about files
6618         published and files skipped.
6620         * org-exp.el (org-export-preprocess-string): Swap link
6621         normalization and inernal link targeting.
6623         * org-publish.el (org-publish-needed-p): Create timestamp
6624         directory when it does not exist.
6626 2008-07-04  Bastien Guerry  <bzg@altern.org>
6628         * org-clock.el (org-clock-out-when-done): Doc fix.
6630         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6632         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6633         Ignore case when searching for the COMMENT cookie at export time.
6635 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6637         * org-exp.el (org-get-file-contents)
6638         (org-get-and-remove-property): New functions.
6639         (org-export-handle-include-files): Handle the new prefix options.
6640         (org-export-as-html): Fix the verse environment.
6642 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6644         * org.el (org-time=, org-time<, org-time<=, org-time>)
6645         (org-time>=, org-time<>, org-2ft): New functions.
6646         (org-op-to-function): Also provide for the time testing fucntions.
6648 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6650         * org-exp.el (org-export-html-style-default): New constant.
6652 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6654         * org-exp.el (org-export-html-style-extra): New variable.
6655         (org-export-splice-style): New function.
6657 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6659         * org-exp.el (org-export-plist-vars, org-export-as-html):
6660         Implement `org-export-creator-info'.
6661         (org-export-creator-info): New option.
6663 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6665         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6666         (org-property-drawer-re, org-clock-drawer-re): New constants.
6668 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6670         * org-exp.el (org-icalendar-use-deadline)
6671         (org-icalendar-use-scheduled): New options.
6672         (org-icalendar-include-todo): Default changed to t.
6673         (org-print-icalendar-entries): Implement better utilization of
6674         scheduling and deadline time stamps.
6675         (org-export-target-internal-links, org-export-as-html): Allow file
6676         lines without the "file:" prefix if the file path is an absolute
6677         path or starts with ".".
6679         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6680         lastweek etc.
6681         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6683 2008-06-18  Glenn Morris  <rgm@gnu.org>
6684         * org.el (org-map-entries): Let-bind `file'.
6686 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6688         * org.el (org-agenda-skip-archived-trees): Docstring now
6689         discourages using this.
6690         (org-scan-tags): Check for org-agenda-archives-mode.
6691         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6692         (org-agenda-files): Functionality of second arg changed.
6694         * org-agenda.el (org-agenda-archives-mode): New variable
6695         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6696         (org-search-view, org-todo-list, org-tags-view)
6697         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6698         `ifmode' argument.
6699         (org-agenda-quit): Reset the archives mode.
6700         (org-agenda-archives-mode): New command.
6701         (org-agenda-set-mode-name): Include archives info.
6703 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6705         * org.el (org-paste-subtree): Make sure the yanked headline is
6706         visible if it was yanked at a visible point.
6707         (org-move-item-up): Fix the bug with moving white space at the end
6708         of the item.
6709         (org-show-empty-lines-in-parent): New function.
6711 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6713         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6715         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6717         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6718         agenda prefix as well.
6720         * org-publish.el (org-publish-org-index): Make a properly indented
6721         list.
6723         * org.el (org-calendar-agenda-action-key): New option.
6724         (org-get-cursor-date): New function.
6725         (org-mark-entry-for-agenda-action): New command.
6726         (org-overriding-default-time): New variable.
6727         (org-read-date): Respect `org-overriding-default-time'.
6729         * org-remember.el (org-remember-apply-template): Respect the
6730         ovverriding default time.
6732         * org-agenda.el (org-agenda-action-marker): New variable.
6733         (org-agenda-action): New command.
6734         (org-agenda-do-action): New function.
6736 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6738         * org.el (org-schedule, org-deadline): Protect scheduled and
6739         deadline tasks against changes that accidently remove the
6740         repeater.  Also show a message with the new date when done.
6742 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6744         * org.el (org-beginning-of-line): Cater for the case when there
6745         are tags but no headline text.
6746         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6747         it set.
6749 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6751         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6752         the return value is nil instead of "nil" when there is no match.
6754         * org-exp.el (org-insert-centered): Use fill-column instead of
6755         80.
6756         (org-export-as-ascii): Use string-width to measure the width of
6757         the heading.
6759         * org.el (org-diary-to-ical-string): No longer kill buffer
6760         FROMBUF, this is now done by the caller.
6762         * org-exp.el (org-print-icalendar-entries): Move the call to
6763         `org-diary-to-ical-string' out of the loop, and kill the buffer
6764         afterwords.
6766         * org-remember.el (org-remember-visit-immediately): Position
6767         cursor after moving to the note.
6768         (org-remember-apply-template): Use a text property to record the
6769         cursor position.
6770         (org-remember-handler): Align tags after pasting the note.
6772 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6774         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6776         * org-agenda.el (org-agenda-open-link): If there is an
6777         org-bbdb-name property in the current line, jump to that bbdb
6778         entry.
6780         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6781         text property, so that the agenda knows where this entry comes
6782         from.
6784         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6785         interaction between clocking-in from the agenda, and  automatic
6786         task state switching.
6788         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6790         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6791         zmacs-region stays after this command in XEmacs.
6793 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6795         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6797         * org-remember.el (org-remember-templates): Fix bug in
6798         customization type definition.
6800         * org.el (org-map-entries): New function.
6802 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6804         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6805         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6807 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6809         * org-remember.el (org-jump-to-target-location): New variable.
6810         (org-remember-apply-template): Set
6811         `org-remember-apply-template' if requested by template.
6812         (org-remember-handler): Start an idle timer to jump to
6813         remember location.
6815         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6817         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6818         file tags.
6819         (org-get-tags-at): Add the content of `org-file-tags'.
6821         * org-exp.el (org-export-handle-comments): Fix bug with several
6822         comment lines after each other.
6823         (org-number-to-roman, org-number-to-counter): New functions.
6824         (org-export-section-number-format): New option.
6826 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6828         * org-exp.el (org-export-protect-examples): Catch the case of a
6829         missing end_example line.
6831         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6832         `org-file-tags' to nil.
6834         * org-colview.el (org-columns-next-allowed-value): Handle next
6835         argument NTH to directly select a value.
6837         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6838         argument NTH to directly select a value.
6840 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6842         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6844 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6846         * org.el (org-columns-ellipses): New option.
6848 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6850         * org-colview.el (org-columns-add-ellipses): New function.
6851         (org-columns-compact-links): New function.
6852         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6853         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6854         when in agenda.
6855         (org-columns-edit-value): Fixed bug with editing values from
6856         agenda column view.
6857         (org-columns-redo): Also redo the agenda itself.
6859 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6861         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6862         option.
6864         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6866         * org-exp.el (org-export-ascii-preprocess): Renamed from
6867         `org-export-ascii-clean-string'.
6868         (org-export-kill-licensed-text)
6869         (org-export-define-heading-targets)
6870         (org-export-handle-invisible-targets)
6871         (org-export-target-internal-links)
6872         (org-export-remove-or-extract-drawers)
6873         (org-export-remove-archived-trees)
6874         (org-export-protect-quoted-subtrees)
6875         (org-export-protect-verbatim, org-export-protect-examples)
6876         (org-export-select-backend-specific-text)
6877         (org-export-mark-blockquote-and-verse)
6878         (org-export-remove-comment-blocks-and-subtrees)
6879         (org-export-handle-comments, org-export-mark-radio-links)
6880         (org-export-remove-special-table-lines)
6881         (org-export-normalize-links)
6882         (org-export-concatenate-multiline-links)
6883         (org-export-concatenate-multiline-emphasis): New functions,
6884         obtained from spliiting the export preprocessor.
6886         * org-table.el (org-table-recalculate): Improve error message if
6887         the row number is invalid.
6889 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6891         * org-archive.el (org-archive-save-context-info): Fix bugs in
6892         customization setup and docstring.
6894         * org-exp.el (org-export-html-style): Changed the size of in the
6895         <pre> element to 90%.
6897 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6899         * org.el (org-find-src-example-start): Function removed.
6900         (org-edit-src-find-region-and-lang): New function.
6902 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6904         * org.el (org-edit-src-exit): New function.
6905         (org-exit-edit-mode): New minor mode.
6907         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6908         comment-like lines from protected examples.
6910         * org.el (org-edit-src-example, org-find-src-example-start)
6911         (org-protect-source-example, org-edit-special): New functions.
6913 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6915         * org-publish.el (org-publish-project-alist): Fix typo in
6916         docstring.
6917         (org-publish-project-alist): Handle :index-title property.
6919 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6921         * org-export-latex.el (org-export-as-latex): Make sure region
6922         bounds are correct.  Parse subtree properties relating to export.
6924         * org-exp.el (org-export-add-options-to-plist): New function.
6925         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6927 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6929         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6930         EXPORT_TITLE.
6932         * org-exp.el (org-export-get-title-from-subtree)
6933         (org-export-as-ascii, org-export-as-html): Make sure the original
6934         region-beginning and region-end are used, even after moving
6935         point.
6936         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6937         property.
6939         * org-remember.el (org-remember-last-stored-marker): New variable.
6940         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6941         (org-remember-handler): Also use marker to remember
6942         last-stored position.
6944         * org.el (org-goto-marker-or-bmk): New function.
6946 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6948         * org.el (org-file-properties): Renamed from `org-local-properties'.
6949         (org-scan-tags): Take file tags into account.
6950         (org-tags-match-list-sublevels): Default changed to t.
6952         * org-exp.el (org-export-as-html): Close paragraph after a
6953         footnote.
6955         * org.el (org-update-parent-todo-statistics): New function.
6957         * org-exp.el (org-icalendar-store-UID): New option.
6958         (org-icalendar-force-UID): Option removed.
6959         (org-print-icalendar-entries): IMplement UIDs.
6961 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6963         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6965 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6967         * org-faces.el (org-column): Document how this face is being used
6968         and why sometimes the background faces shine through.
6970         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6972         * org-publish.el (org-publish-attachment): Create publishing
6973         directory if it does not yet exist.
6975         * org-table.el (org-calc-default-modes): Change default number
6976         format to (float 8).
6978         * org.el (org-olpath-completing-read): New function.
6979         (org-time-clocksum-format): New option.
6980         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6982         * org-clock.el (org-clock-display, org-clock-out)
6983         (org-update-mode-line): Use `org-time-clocksum-format'.
6985         * org-colview-xemacs.el (org-columns-number-to-string): Use
6986         `org-time-clocksum-format'.
6988         * org-colview.el (org-columns-number-to-string): Use
6989         `org-time-clocksum-format'.
6991 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6993         * org-id.el: New file, move from contrib to core.
6995         * org-exp.el (org-icalendar-force-UID): New option.
6997 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6999         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7000         shifted by one day if theere is a date range without an end
7001         time.
7003         * org.el (org-try-structure-completion): New function.
7005 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7007         * org.el (org-set-font-lock-defaults): Improve fontification of
7008         description lists.
7009         (org-insert-item): Handle description lists.
7010         (org-adaptive-fill-function): Improve auto indentation in
7011         description lists.
7013         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7014         Implement VERSE environment.
7015         (org-export-preprocess-string): Implement the COMMENT
7016         environment.
7018         * org-export-latex.el (org-export-latex-preprocess): Implement
7019         VERSE environment.
7021 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7023         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7024         option.
7026 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7028         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7030         * org.el (org-quote-csv-field): New functions.
7032         * org-table.el (org-table-export-default-format): Remove :splice
7033         from default format, we get the same effect by not specifying
7034         :tstart and :tend.
7035         (org-table-export): Improve setup, distinguish better between
7036         interactive and non-interactive use, allow specifying the format
7037         on the fly, better protection against wrong file names.
7038         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7039         and :tend when :splice is omitted.
7041 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7043         * org-clock.el (org-clock-select-task): Make sure the selection
7044         letters are 1-9 and A-Z, no special characters.
7046 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7048         * org-exp.el (org-export-htmlize): New group.
7049         (org-export-htmlize-output-type)
7050         (org-export-htmlize-css-font-prefix): New options.
7051         (org-export-htmlize-region-for-paste): New function.
7052         (org-export-htmlize-generate-css): New command.
7054 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7056         * org/org.el (org-modules, org-format-latex-options):
7057         * org/org-archive.el (org-archive-stamp-time)
7058         (org-archive-save-context-info):
7059         * org/org-faces.el (org-hide):
7060         * org/org-irc.el (org-irc-parse-link):
7061         * org/org-macs.el (org-call-with-arg, org-autoload):
7062         * org/org-mew.el (org-mew-store-link):
7063         * org/org-remember.el (org-remember-store-without-prompt)
7064         (org-remember-templates): Fix typos in docstrings.
7066         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7068         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7069         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7070         (org-bbdb-anniv-split): Fix typos in docstrings.
7072         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7073         (org-publish-use-timestamps-flag): Reflow docstring.
7074         (org-publish-files-alist): Fix typos in docstring.
7076 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7078         * org.el (org-set-visibility-according-to-property): New function.
7079         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7080         and compute the regular expressions, and update font-lock.
7081         (org-property-re): Allow a dash in property names.
7083         * org-archive.el (org-extract-archive-file): Insert the file name
7084         without the path into the format, to allow the location format to
7085         contain a subdirectory.
7087         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7088         of buffer, and the `org-agenda-type' property undefined, use the
7089         value from the character before.
7091         * org.el (org-add-planning-info): Don't let indentation for
7092         would-be timestamp become extra whitespace at the end of headline.
7094 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7096         * org.el (org-remove-double-quotes, org-file-contents): New
7097         functions.
7099         * org-exp.el (org-infile-export-plist): Also parse the
7100         contents of #+SETUPFILE files, recursively.
7102         * org.el (org-set-regexps-and-options): Also parse the
7103         contents of #+SETUPFILE files, recursively.
7105         * org-exp.el (org-export-handle-include-files): New function.
7106         (org-export-preprocess-string): Call
7107         `org-export-handle-include-files'.
7109         * org.el (org-delete-property-globally)
7110         (org-delete-property, org-set-property): Ignore case during
7111         completion.
7112         (org-set-property): Use `org-completing-read' instead of
7113         `completing-read'.
7115         * org.el (org-complete-expand-structure-template): New,
7116         experimental function.
7117         (org-structure-template-alist): New, experimental option.
7118         (org-complete): Call `org-complete-expand-structure-template'.
7120 2008-05-06  Bastien Guerry  <bzg@altern.org>
7122         * org-export-latex.el (org-export-latex-preprocess): Added
7123         support for blockquotes.
7125 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7127         * org.el (org-read-date-analyze): Catch the case where only a
7128         weekday is given.
7130 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7132         * org.el (org-set-font-lock-defaults): Make the description
7133         tag bold.
7135         * org-exp.el (org-export-as-html, org-close-li): Implement
7136         description lists.
7138 2008-05-04  Jason Riedy  <jason@acm.org>
7140         * org-table.el (*orgtbl-default-fmt*): New variable.
7141         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7142         when there is no other fmt available.
7144         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7145         :tend to suppress the appropriate string.
7147         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7148         table.
7150 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7152         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7153         read date.
7155         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7156         New function.
7158         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7159         New function.
7161 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7163         * org-clock.el (org-clock-find-position): Don't include notes
7164         into clock drawer.
7166         * org-archive.el (org-archive-subtree): No longer remove an
7167         extra line after cutting the subtree.  `org-cut-subtree' already
7168         takes care of this.
7170         * org-remember.el (org-remember-handler): Only kill the target
7171         buffer if it does not contain the running clock.
7173         * org.el (org-markers-to-move): New variable.
7174         (org-save-markers-in-region, org-check-and-save-marker)
7175         (org-reinstall-markers-in-region): New function.
7176         (org-move-subtree-down, org-copy-subtree): Remember relative
7177         marker positions before cutting.
7178         (org-move-subtree-down, org-paste-subtree): Restore relative
7179         marker positions after pasting.
7181         * org-remember.el (org-remember-clock-out-on-exit): New option.
7182         (org-remember-finalize): Clock out only if the setting in
7183         `org-remember-clock-out-on-exit' requires it.
7184         (org-remember-handler): Do the cleanup in the buffer, to make sure
7185         that the clock marker remains in tact.
7187 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7189         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7190         (org-clock-in): Make sure that also tasks outside the narrowed
7191         region will be clocked in correctly.
7192         (org-clock-insert-selection-line): Widen the buffer so that we can
7193         find the correct task heading.
7195         * org.el (org-base-buffer): New function.
7197         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7198         and ";" are escaped.
7199         (org-print-icalendar-entries): Also apply
7200         `org-icalendar-cleanup-string' to the headline, not only to the
7201         summary property.
7203 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7205         * org-exp.el (org-export-preprocess-hook): New hook.
7206         (org-export-preprocess-string): Call
7207         `org-export-preprocess-hook'.
7209         * org.el (org-font-lock-hook): New variable.
7210         (org-font-lock-hook): New function.
7211         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7213 ;; Local Variables:
7214 ;; coding: utf-8
7215 ;; add-log-time-zone-rule: t
7216 ;; End:
7218     Copyright (C) 2008  Free Software Foundation, Inc.
7220   This file is part of GNU Emacs.
7222   GNU Emacs is free software: you can redistribute it and/or modify
7223   it under the terms of the GNU General Public License as published by
7224   the Free Software Foundation, either version 3 of the License, or
7225   (at your option) any later version.
7227   GNU Emacs is distributed in the hope that it will be useful,
7228   but WITHOUT ANY WARRANTY; without even the implied warranty of
7229   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7230   GNU General Public License for more details.
7232   You should have received a copy of the GNU General Public License
7233   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7235 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c