Minor fixes than are needed to complete the previous commit
[org-mode.git] / lisp / ChangeLog
blob73ac5acd8ff650cdfefd9b3edf7fc0ab61700b19
1 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
4         (org-agenda-search-view-search-words-only): Obsolete variable, is
5         now an alias for `org-agenda-search-view-always-boolean'.
6         (org-agenda-search-view-force-full-words): New option.
7         (org-search-view): Improve docstring, and implement a better logic
8         for Boolean and phrase searches.
9         (org-agenda-last-search-view-search-was-boolean): New variable.
10         (org-agenda-manipulate-query): Consider the type of the last
11         search when modifying the search string.
13 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
15         * org-latex.el (org-export-as-latex): Do the first letbind in the
16         right moment.
18         * org-agenda.el (org-get-entries-from-diary): Add the new face to
19         these entries.
21         * org-faces.el (org-agenda-diary): New face.
23         * org.el (org-make-link-regexps): Allow regexp-special characters
24         in link types.
25         (org-open-file): When in-emacs is `system', also force system
26         opening, like when the value was `(16)'.
27         (org-update-statistics-cookies): Handle entries without children.
29         * org-exp.el
30         (org-export-preprocess-before-normalizing-links-hook): New hook.
31         (org-export-preprocess-string): Run the new hook.
33         * org.el (org-offer-links-in-entry): Make RET open all links.
35         * org-html.el (org-export-as-html): Remove any left-over display
36         properties in the html file.
38         * org-wl.el (org-wl-store-link): Work-around for format bug with
39         text properties.
41         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
42         invisibility while adding the graphs.
44 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
46         * org-remember.el (org-select-remember-template): Use C letter to
47         customize remember templates.
49         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
50         Move cursor to next visible line.
52 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
54         * org-beamer.el (org-beamer-sectioning): Leave columns environment
55         by specifying 0 or 1 for column width.
56         (org-beamer-column-widths): Make 0 stand for 0.0.
58 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
60         * org-exp.el (org-export-mark-radio-links): Don't match inside
61         <<target>>.
63         * org.el (org-format-latex-header-extra): New variable.
64         (org-format-latex): Set org-format-latex-header-extra from
65         in-buffer stuff.
66         (org-format-latex): Add org-format-latex-header-extra to the
67         variables on which image creation depends.
68         (org-create-formula-image): Add the header stuff from in-buffer
69         settings.
70         (org-read-date-analyze): Base the analysis for future preference
71         on NOW, not on the default date.
73         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
74         for TODO keyword in inline tasks.
76         * org.el (org-log-note-headings): New headings for removing
77         deadline or scheduling date.
78         (org-deadline, org-schedule): Arrange for logging when removing a
79         date.
80         (org-add-log-note): Handle deadline and scheduling removal.
82 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
84         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
86 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
88         * org-agenda.el (org-diary-class): New function.
90 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
92         * org-latex.el (org-export-latex-preprocess): Do process the text
93         of a radio target.
95 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
97         * org.el (org-entry-properties): Add TIMESTAMP properties back
98         in.
100 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
102         * org.el (org-all-time-keywords): New variable.
103         (org-set-regexps-and-options): Set `org-all-time-keywords'.
104         (org-entry-blocked-p): New function.
105         (org-special-properties): Add BLOCKED as a new special property.
106         (org-entry-properties): New optional argument SPECIFIC, only parse
107         for this property when it is specified.
108         (org-entry-get): Pass a SPECIFIC argument to
109         `org-entry-properties'.
111         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
113 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
115         * org-latex.el (org-export-latex-tables): No forced line end if
116         there is no caption.
118 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
120         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
121         package.
123         * org-latex.el (org-export-latex-tables): Only add a caption when
124         macro in in longtable environments if one has been defined.
126         * org-html.el (org-export-as-html): Only take title from buffer if
127         not exporting body-only.
129         * org-latex.el (org-export-latex-preprocess): Better version of
130         the regular expression for protecting LaTeX macros.
131         (org-export-latex-preprocess): Start searching for macros to
132         protect from beginning of buffer.
134         * org-exp.el (org-export-target-internal-links): Check for
135         protectedness earlier in the string.
137         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
138         case sensitively.
140         * org-id.el (org-id-store-link): Match TODO keywords case
141         sensitively.
143         * org.el (org-heading-components, org-get-outline-path)
144         (org-display-outline-path): Match TODO keywords case sensitively.
146         * org-latex.el (org-export-as-latex): Ignore read-only
147         properties.
149         * org-exp.el (org-export-preprocess-string): Remove any
150         `read-only' properties.
152         * org-agenda.el (org-agenda-inactive-leader): New option.
153         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
154         (org-tags-view): Prompt for matcher if MATCH is an empty string.
155         (org-todo-list): Prompt for matcher if ARG is an empty string.
157 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
159         * org.el (org-open-link-functions): New hook.
160         (org-open-at-point): Run `org-open-link-functions'.
162 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
164         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
165         stamps as well.
167         * org.el (org-inhibit-startup-visibility-stuff): New variable.
168         (org-mode): Don't do startup visibility if inhibited.
169         (org-outline-overlay-data, org-set-outline-overlay-data): New
170         functions.
171         (org-save-outline-visibility): New macro.
172         (org-log-note-headings): Document that one should not change the
173         `state' note format.
175 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
177         * org.el (org-make-link-regexps): Capture link path into a group.
179 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
181         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
182         the options plist.
184 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
186         * org.el (org-startup-with-beamer-mode): New option.
187         (org-property-changed-functions)
188         (org-property-allowed-value-functions): New hooks.
189         (org-entry-put, org-property-get-allowed-values): Run the new
190         hooks.
191         (org-property-next-allowed-value): Run the new hooks.
193         * org-exp.el (org-export-select-backend-specific-text): Add the
194         special beamer tags.
196         * org-beamer.el
197         (org-export-preprocess-before-selecting-backend-code-hook): New
198         file.
200         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
201         (org-export-as-latex): Run
202         `org-export-latex-after-initial-vars-hook'.
203         (org-export-latex-format-toc-function)
204         (org-export-latex-make-header): Call
205         `org-export-latex-format-toc-function'.
207         * org.el (org-fill-template): Make template searches case sensitive.
209         * org-exp.el (org-export): Use "1" as a sign to export only the
210         subtree.
212         * org-colview-xemacs.el (org-columns-edit-value): Use
213         org-unrestricted property.
215         * org-colview.el (org-columns-edit-value):  Use
216         org-unrestricted property.
218         * org.el (org-compute-property-at-point): Set org-unrestricted
219         text property if the list contains ":ETC".
220         (org-insert-property-drawer):  Use
221         org-unrestricted property.
223         * org-exp.el
224         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
225         (org-export-preprocess-string): Run
226         `org-export-preprocess-before-selecting-backend-code-hook'.
228         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
230         * org-latex.el (org-export-region-as-latex): Run
231         `org-export-first-hook'.
233         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
235         * org-docbook.el (org-export-as-docbook): Run
236         `org-export-first-hook'.
238         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
240         * org-exp.el (org-export-first-hook): New hook.
242 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
244         * org-list.el (org-previous-item): Exit at the beginning of the
245         buffer.
247         * org-id.el (org-id-locations-save): Only write the id locations
248         if any are defined.
250         * org-archive.el (org-archive-all-done): Make this work in a file
251         with org-odd-levels-only set.
253         * org.el (org-get-refile-targets): Catch the case when a buffer
254         has no file.
256         * org-latex.el (org-export-as-latex): Cleanup forced line ends
257         where they are not needed.
258         (org-export-latex-subcontent): Remove unnecessary newlines.
260 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
262         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
263         (org-export-latex-fontify): Fix regexp bug that takes special
264         care of protecting the right boundary characters in emphasis
265         matches.
266         (org-export-latex-preprocess): Allow multiple arguments to latex
267         macros.
269         * org.el (org-make-link-regexps): Use John Gruber's regexp for
270         urls.
272         * org-macs.el (org-re): Interpret :punct: in regexps.
274         * org-exp.el (org-export-replace-src-segments-and-examples): Also
275         take the final newline after the END line.
277         * org.el (org-clean-visibility-after-subtree-move): Only fix
278         entries that are not entirely invisible already.
279         (org-insert-link): Respect org-link-file-path-type for
280         "docview:" links in addition to "file:" links.
282 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
284         * org-exp.el (org-export-format-source-code-or-example): Avoid
285         additional extra white lines in LaTeX.
287         * org-list.el (org-list-parse-list): Leave empty lines after the
288         list, don't consider them as part of the list.
290         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
291         searches.
293         * org-clock.el (org-clock-select-task): Convert integer to
294         character for XEmacs.
296 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
298         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
299         compatible.
301 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
303         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
304         variable.
305         (org-set-tags): Use it.
307 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
309         * org-list.el (org-empty-line-terminates-plain-lists): Update
310         docstring.
312         * org.el (org-format-latex): Fix link creation for processed latex
313         snippets.
315 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
317         * org-footnote.el (org-footnote-normalize): Protect replacement
318         text.
320         * org.el (org-inside-latex-macro-p): Save match data.
322 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
324         * org-docview.el: New file.
326 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
328         * org-latex.el (org-export-latex-class-options): New variable.
329         (org-export-latex-set-initial-vars): Use the class options.
331         * org.el (org-forward-same-level): Stop at headings that start
332         with an invisible character.
333         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
335 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
337         * org-footnote.el (org-footnote-normalize): Don't take optional
338         arguments in LaTeX macros as footnotes.
340         * org.el (org-inside-latex-macro-p): New function.
342         * org-latex.el (org-latex-to-pdf-process): Change customization
343         group to `org-export-pdf'.
345         * org-agenda.el (org-agenda-get-blocks): Look at time string also
346         on days after the first one.
348         * org.el (org-insert-heading): Also check for item before assuming
349         before-first-heading condition.
351         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
352         (org-export-pdf-logfiles): New option.
353         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
354         (org-export-pdf-logfiles): Fix customization type.
356         * org.el (org-insert-link): Improve error message when there is no
357         default link to select with RET.
359         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
360         parameter list.
362 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
364         * org-latex.el (org-export-latex-parse-global)
365         (org-export-latex-parse-content)
366         (org-export-latex-parse-subcontent): Use
367         `org-re-search-forward-unprotected'.
368         (org-export-as-pdf): Remove log files produced by XeTeX.
370         * org-macs.el (org-re-search-forward-unprotected): New function.
372 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
374         * org-colview.el (org-agenda-colview-summarize): Sort out some
375         confusion between properties and titles, which resulted in
376         agenda summaries not working if a title was set for a column.
378 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
380         * org-mobile.el (org-mobile-agendas): New option.
381         (org-mobile-sumo-agenda-command): Select the right agendas.
383         * org-latex.el (org-export-latex-format-image): Preserve the
384         original-indentation property.
386 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
388         * org-clock.el (org-clock-insert-selection-line): Catch error when
389         an old tasks no longer exists.
391         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
392         (org-export-as-pdf): Don't remove the old PDF file before making
393         the new one.
395         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
396         (org-mouse-context-menu): Use `org-looking-back'.
398         * org.el (org-cycle-level): Use `org-looking-back'.
400         * org-list.el (org-cycle-item-indentation): Use
401         `org-looking-back'.
403         * org-compat.el (org-looking-back): New function.
405         * org.el (org-insert-heading): Catch before-first-headline when
406         inserting a headline.
408 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
410         * org-latex.el (org-export-latex-format-image): Indent figure
411         environment, so that it does not interrupt plain list.
413         * org.el (org-open-at-point): Allow long link descriptions.
415 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
417         * org-html.el (org-export-as-html): Remove empty lines at the
418         beginning of the exported text.
420 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
422         * org-protocol.el (org-protocol-remember): Cater for empty title,
423         region, link.
425         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
426         agenda after adding new entry.
427         (org-agenda-get-represented-tags): New function.
428         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
429         to get a list of tags in the agenda.
431         * org-datetree.el (org-datetree-find-day-create): Fix regular
432         expression.
434         * org.el (org-display-outline-path): Use a format specifier for
435         message, to avoid problems with heading containing `%'.
437         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
438         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
439         (org-agenda-fix-displayed-tags): New function.
440         (org-agenda-do-context-action): Just call
441         `org-display-outline-path', without piping the result through
442         `message'.
444         * org-latex.el (org-export-latex-preprocess): Protect secondary
445         footnote references.
447         * org-indent.el (org-indent-initialize): Avoid empty strings as
448         line prefixes.
450         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
451         hat checking for the mark does not throw an error.
452         (org-agenda-diary-entry-in-org-file): Catch the case that there is
453         not `day' text property in the cursor line.
455         * org.el (org-sort-entries-or-items): Make sure that the final
456         entry has a newline before doing the sorting.
458         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
459         property at the beginning of the line.
461         * org.el (org-make-link-string): Don't allow a description with
462         only white space.
464 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
466         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
467         (org-agenda-insert-diary-as-top-level): New function.
468         (org-agenda-add-entry-to-org-agenda-diary-file): Call
469         `org-agenda-insert-diary-as-top-level'.
471         * org.el (org-occur-in-agenda-files): Make sure none of the
472         buffers is narrowed.
473         (org-activate-plain-links): Add the face property here.
474         (org-set-font-lock-defaults): Do not add the face to plain links,
475         the activator function does this.
477         * org-habit.el (org-is-habit-p): Add doc string.
479 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
481         * org-archive.el (org-archive-subtree-default-with-confirmation):
482         Autoload.
484         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
485         after match optional (happens at the end of a line...).
487         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
488         for special blocks.
490         * org-faces.el (org-copy-face): Set lisp indentation.
491         (org-quote, org-verse): New faces.
493         * org-agenda.el (org-agenda-remove-date): Remove variable.
495 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
497         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
499 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
501         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
502         hash keys to cache and re-use images generated by the
503         org-exp-blocks interface to ditaa and dot.
505 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
507         * org-html.el (org-export-as-html): Move the home/up link into
508         the content div.
510         * org.el (org-export-latex-packages-alist): Option definition
511         moved here from org-latex.el.
513 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
515         * org.el (org-format-latex): Latex images are now saved to files
516         named by the sha1 hash of the latex source text avoiding
517         regeneration of identical images.
519 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
521         * org-html.el (org-export-html-home/up-format): Add an ID to the
522         up/home div.
524 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
526         * org-wl.el (org-wl-store-link): Handle the case that
527         `wl-use-petname' is set.
529         * org.el (org-set-effort): Improve prompt.
530         (org-get-outline-path): Widen to get full path.
531         (org-compact-display-after-subtree-move): Function removed.
533         * org-latex.el (org-export-as-latex): Add the :drawers property.
535 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
537         * org.el (org-speed-commands-user): Allow documentation headlines.
538         (org-speed-commands-default): Organize the value of this constant
539         with descriptive headlines.
540         (org-print-speed-command): Output the headlines.
542 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
544         * org-agenda.el (org-agenda-show-outline-path): New option.
545         (org-agenda-do-context-action): New function.
546         (org-agenda-next-line, org-agenda-previous-line): Use
547         `org-agenda-do-context-action'.
549         * org.el (org-use-speed-commands): Allow function value.
550         (org-speed-commands-default): Make headline motion safe, so that
551         these commands always end on a headline.
552         (org-speed-commands-default): New key `v' for `org-agenda'.
553         (org-speed-move-safe): New function.
554         (org-self-insert-command): Use the function value of
555         `org-use-speed-commands'.
556         (org-get-outline-path): Improve docstring.
557         (org-format-outline-path): New function.
558         (org-display-outline-path): New function.
560 2009-11-12  John Wiegley  <jwiegley@gmail.com>
562         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
563         a string, use that to find the LOGBOOK drawer.
565 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
567         * org.el (org-clone-subtree-with-time-shift): Make it work at the
568         end of the buffer.
570         * org-mobile.el (org-mobile-write-checksums): Specify coding
571         system.
572         (org-mobile-timestamp-buffer): Keep local variable/mode line at
573         beginning of buffer.
575         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
577         * org.el (org-block-todo-from-children-or-siblings-or-parent)
578         (org-block-todo-from-checkboxes): Do not block changes to a nil
579         TODO state.
581 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
583         * org-habit.el (org-habit-parse-todo): Indicate which habit is
584         wrongly set up in the error messages.
586         * org-colview.el (org-columns-display-here): Don't try to
587         calculate values if the underlying property is not set.
588         (org-columns-string-to-number): Convert age strings back into
589         fractional days.
590         (org-agenda-colview-summarize): Handle extended summary types
591         properly.
593         * org-colview-xemacs.el (org-columns-display-here): Don't try to
594         calculate values if the underlying property is not set.
595         (org-columns-string-to-number): Convert age strings back into
596         fractional days.
597         (org-agenda-colview-summarize): Handle extended summary types
598         properly.
600 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
602         * org-exp.el (org-export-format-drawer-function): New variable.
603         (org-export-format-drawer): New function.
604         (org-export-preprocess-string): Pass the backend as a parameter to
605         `org-export-remove-or-extract-drawers'.
606         (org-export-remove-or-extract-drawers): New parameter BACKEND.
608         * org-protocol.el (org-protocol-char-to-string): New defsubst.
610 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
612         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
613         message when no block is selected.
615         * org-latex.el (org-export-latex-links): Check for protectedness
616         in the last matched character, not after the match.
618         * org-datetree.el (org-datetree-find-date-create): Respect
619         restriction when KEEP-RESTRICTION is set.
620         (org-datetree-file-entry-under): New function.
621         (org-datetree-cleanup): New command.
623 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
625         * org-src.el (org-edit-src-code): New optional argument context
626         allows calling functions to avoid altering the saved window
627         configuration.
628         (org-edit-src-exit): Do not restore window configuration when this
629         function is used in the context of saving the edit buffer.
631 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
633         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
634         instances to switching to with-current-buffer, because these seem
635         to cause problems - no idea why.
637         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
638         Require diary-lib for (diary-date-display-form).
640         * org.el (org-log-reschedule, org-log-redeadline): New options.
641         (org-log-note-headings): Add templates for rescheduling and
642         deadline changing.
643         (org-startup-options): Add in-buffer settings for logging changing
644         schedule and deadline time stamps.
645         (org-deadline, org-schedule): Check for existing date and arrange
646         for logging if the user requests it.
647         (org-add-log-note): Prepare proper note buffers for rescheduling
648         and deadline changes.
650 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
652         * org-agenda.el (org-agenda-diary-entry-in-org-file)
653         (org-agenda-add-entry-to-org-agenda-diary-file)
654         (org-agenda-insert-diary-make-new-entry): New functions.
655         (org-agenda-diary-entry): Call
656         `org-agenda-diary-entry-in-org-file' when appropriate.
658         * org.el (org-calendar-insert-diary-entry-key): New option.
659         (org-agenda-diary-file): New option.
660         ("calendar"): Install our insertion function in the calendar.
662         * org-remember.el (org-datetree): Require.
663         (org-remember-templates): Add new positioning option.
664         (org-remember-reference-date): New variable.
665         (org-remember-apply-template): Store the reference date in a local
666         variable.
667         (org-remember-handler): Implement date tree positioning of entries.
669         * org-datetree.el: New file.
671         * org-latex.el (org-export-latex-preprocess): Protect targets in
672         verbatim emphasis.
674         * org-html.el (org-export-as-html): Protect targets in verbatim
675         emphasis.
677         * org-docbook.el (org-export-as-docbook): Protect targets in
678         verbatim emphasis.
680 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
682         * org.el (org-link-display-format): Should be literal replacement.
684 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
686         * org-clock.el (org-show-notification): Handle messages that
687         contain a percent character.
689         * org-remember.el (org-remember-apply-template): Turn of partial
690         completion.
692         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
693         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
695         * org.el (org-indent-mode): Define variable already in org.el.
696         (org-unfontify-region): Remove line-prefix and wrap-prefix
697         properties only if org-indent-mode is active.
699 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
701         * org-icalendar.el (org-print-icalendar-entries): Save match data
702         around call to verify function.
703         (org-print-icalendar-entries): Add a call to the verification
704         function.
706         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
707         save-restrivtion' form.
709 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
711         * org-exp.el (org-export-format-source-code-or-example): restrict
712         scope of preserve-indentp to the let binding.
713         (org-src): require org-src, since org-src-preserve-indentation is used.
715 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
717         * org-timer.el (org-timer-set-timer): Set variables
718         org-timer-timer[123] correctly.
721         * org-mobile.el (org-mobile-files-alist): Make it work when
722         `agenda-archives' is included in
723         `org-agenda-text-search-extra-files'.
724         (org-mobile-push): Restore agenda after mobile push.
726 2009-11-05  John Wiegley  <jwiegley@gmail.com>
728         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
729         way the amount of idle time is presented in the minibuffer.
731 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
733         * org-icalendar.el (org-print-icalendar-entries): Use
734         org-icalendar-verify-function only if non-nil.
736         * org.el (org-refile): Refile to clock only if the prefix arg is
737         2.
738         (org-sparse-tree): Fix docstring to be in line with prompt.
739         (org-update-parent-todo-statistics): Call
740         `org-after-todo-statistics-hook' on each level.
742 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
744         * org-remember.el (org-remember-apply-template): Make sure the
745         buffer exists.
747 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
749         * org.el (org-tab-ind-state): New variable.
750         (org-cycle-level): New function.
751         (org-cycle-level-after-item/entry-creation): New option.
752         (org-flag-subtree): New function.
753         (org-hide-archived-subtrees): Call `org-flag-subtree'.
754         (org-set-effort): Indexed access.
756         * org-list.el (org-cycle-item-indentation): New function.
758         * org.el (org-refile): Make prefix argument 2 refile to current
759         clock.
760         (org-priority): Interpret action `remove' as call to remove the
761         priority cookie.
763         * org-remember.el (org-remember-apply-template): Don't depend on
764         buffer name being like file name.
766 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
768         * org-clock.el (org-clock-play-sound): Expand file in
769         org-clock-sound, to allow ~ for home.
771         * org-remember.el (org-remember-handler): Set
772         text-before-node-creation even if this already looks like a node,
773         because the string might be needed on non-org-mode target files.
775         * org-agenda.el (org-agenda-open-link): Make this work in agenda
776         clocktables.
777         (org-agenda-switch-to): Follow a link at point if
778         org-return-follows-link' is set and there is nothing else to do in
779         this line.
781 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
783         * org-colview-xemacs.el: Add in changes from org-colview.el
785 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
787         * org-exp-blocks.el: Modify split separator regexp to avoid empty
788         strings.
790 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
792         * org-colview.el (org-columns-new): Make this work with the new
793         operators.
794         (org-columns-store-format): Make this work with the new operators.
796 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
798         * org-src.el (org-src-preserve-indentation): Document that this
799         variable is also used during export.
801         * org-exp.el (org-export-format-source-code-or-example): Preserve
802         indentation if a block has a -i option, or if
803         `org-src-preserve-indentation' is set.
805         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
806         indentation if a block has a -i option, or if
807         `org-src-preserve-indentation' is set.
809 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
811         * org.el (org-mode-map): Define the new archiving keys.
812         (org-speed-commands-default): Define an archiving key in the speed
813         command map.
814         (org-org-menu): Improve the menu structure concerning archiving.
816         * org-archive.el (org-archive-subtree-default-with-confirmation):
817         New command.
819         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
820         (org-agenda-menu): Add the new archiving commands to the menu.
821         (org-agenda-archive-default)
822         (org-agenda-archive-default-with-confirmation): New commands.
823         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
824         call `org-agenda-archive-with'.
825         (org-agenda-archive-with): New function.
827         * org-table.el (org-table-convert-region): Inert spaces around "|"
828         to avoid line beginnings like "|-1" which will be mistaken as
829         hlines.
831 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
833         * org.el (org-offer-links-in-entry): Return nil if there are no
834         links, t if a link has been selected.
835         (org-open-at-point): Open attachment directory when called in the
836         headline and there are no links in the entry body.
837         (org-speed-commands-default): Add "o" for open-at-point as a speed
838         command.
840         * org-attach.el (org-attach-reveal): Optional prefix arg
841         IF-EXISTS, which avoids creating the attachment directory if it
842         does not yet exist.
844         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
845         MATCH.
847 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
849         * org.el ("abbrev"): Work with abbrev tables only after they have
850         been loaded.
852         * org-list.el (org-list-send-list): Fix bug related to match
853         data.
855         * org-latex.el (org-export-latex-fontify): Apply verbatim
856         emphasis.
857         (org-export-latex-make-header): Insert \obeylines if line breaks
858         should be preserved.
860         * org-exp.el (org-export-protect-verbatim): Add an
861         `org-verbatim-emph' property to such text.
863 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
865         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
866         (org-print-icalendar-entries): Skip entries where the timestamp is
867         not a deadline and not scheduled, if the user requests that.
869         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
870         before an opening quote.
872         * org-archive.el (org-archive-subtree): Keep archive after
873         archiving something.
875         * org-id.el (org-id-update-id-locations): Add archive files if
876         that is required by `org-id-extra-files'.
878 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
880         * org-src.el (org-src-window-setup): New option.
881         (org-src-switch-to-buffer): New function.
882         (org-edit-src-exit): Add optional argument CONTEXT and use it to
883         restore window configuration.
884         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
885         Call `org-src-switch-to-buffer'.
887         * org.el (org-default-properties): Add STYLE property.
888         (org-files-list): Use the function call to get the files.
889         (org-additional-option-like-keywords): Add SETUPFILE to completion
890         list.
892 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
894         * org-table.el (org-table-convert-region): Correctly interpret
895         quoting in csv import.
897         * org.el (org-icompleting-read): Make iswitchb completion work
898         with lists and tables.
900         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
901         while pushing the mobile agenda.
903 2009-10-25  John Wiegley  <jwiegley@gmail.com>
905         * org-clock.el
906         (org-clock-auto-clock-resolution): Now takes three values: nil, t
907         and `when-no-clock-is-running'.
908         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
909         whether or not to resolve Org buffers on clock in.
911 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
913         * org-colview.el (org-format-time-period): Function to format
914         times in fractional days for display.
915         (org-columns-display-here): Add support for showing a calculated
916         value in place of the property.
917         (org-columns): Set `org-columns-time' to the current time so time
918         difference calculations will work.
919         (org-columns-time): Use to store the current time when column view
920         is displayed, so all time differences will use the same reference
921         point.
922         (org-columns-compile-map): There is now an extra position in each
923         entry specifying the function to use to calculate the displayed
924         value for the non-calculated properties in the column,
925         (org-columns-compute-all): Set `org-columns-time' to the current
926         time so time difference calculations will work.
927         (org-columns-compute): Handle column operators where the values
928         used are calculated from the underlying property.
929         (org-columns-number-to-string): Handle the 'age' column format
930         (org-columns-string-to-number): Correct the function name (was
931         org-column...). Add support for the 'age' column format.
932         (org-columns-compile-format): Support the additional parameter in
933         org-columns-compile-map.
935 2009-10-26  Bastien Guerry  <bzg@altern.org>
937         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
938         variable.
940 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
942         * org-clock.el (org-clock-has-been-used): New variable.
943         (org-clock-in): Set `org-clock-has-been-used'.
944         (org-clock-save): Save only if clock data has been used or created
945         during this session.
947 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
949         * org-clock.el (org-clock-persist): New value, to store only the
950         clock history.
951         (org-clock-save): Don't save the clock if only the history should
952         be stored.
953         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
954         when restoring a saved clock.
956 2009-10-24  John Wiegley  <jwiegley@gmail.com>
958         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
959         `org-time-clock-use-fractional'.
961         * org.el (org-time-clocksum-use-fractional)
962         (org-time-clocksum-fractional-format): Two new customizable
963         variables which allow the user to select fractional times (1.25
964         instead of 1:25) in the `org-clock-display' report.
966 2009-10-23  John Wiegley  <jwiegley@gmail.com>
968         * org-habit.el (org-habit-build-graph): None of the arguments
969         should be optional.
970         (org-habit-parse-todo, org-habit-deadline)
971         (org-habit-get-priority, org-habit-get-faces)
972         (org-habit-build-graph): Further simplifications by storing all
973         past, scheduled and deadline dates as a number of days past the
974         epoch, and not as times.
976         * org-habit.el (org-habit-warning-face)
977         (org-habit-warning-future-face): Removed because these are no
978         longer used.
979         (org-habit-deadline, org-habit-deadline-repeat): Now always
980         returns a date; computed if there was a scheduled repeater but no
981         deadline repeater.
982         (org-habit-get-priority): Further improvements to the priority
983         algorithm.  In particular, items past due should always appear
984         before items due or not yet due.
985         (org-habit-get-faces): Greatly simplified the logic, now that
986         `org-habit-deadline' always returns a valid time.
988 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
990         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
991         New option.
993         * org.el (org-tag-alist): Fix customization type.
995 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
997         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
998         Make sure the regexp search can fail without throwing an error.
999         (org-mobile-apply): Save the inbox buffer after removing
1000         successfully applied changes.
1002 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1004         * org-habit.el (org-habit-build-graph): Fix to the graph building
1005         when last DONE date is earlier than `org-habit-preceding-days'.
1007         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1008         time is reported after the user comes back (but before they
1009         resolve time).
1011         * org.el (org-get-repeat): Change so that this function can be
1012         called with either `org-scheduled-string' or
1013         `org-deadline-string'.
1015         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1016         to find the scheduled date.
1018         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1019         `org-clock-disable-clock-resolution', since negatives don't sound
1020         good in customization variables.
1021         (org-clock-in): Don't use the auto-resolution logic if the user is
1022         clocking into a different task while an active clock is running.
1023         This then allows the default behavior of clocking out of the open
1024         task and then into the new task.
1026         * org-habit.el (org-habit-parse-todo): Generate an error if a
1027         habit has a scheduled repeat period < 1.
1028         (org-habit-get-faces): Fixes to the way that colors are computed.
1029         (org-habit-build-graph): The graph wasn't displaying beyond any
1030         day that had two completions in it.
1032         * org.el (org-modules): Made this variable more consistent, since
1033         it was referring to Org, OrgMode and Org-mode, whereas the docs
1034         for the variable always refer to Org-mode.
1036 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1038         * org.el (org-repeat-re): The changed org-repeat-re no longer
1039         matched simple +2d type repeaters. Fix it so it does.
1041 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1043         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1044         macro in the VERSE environment.
1046 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1048         * org-habit.el (org-habit-get-priority): A new function that
1049         determines the relative priority of a habit, based on how long
1050         past its scheduled date it is, and how near the deadline is.
1052         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1053         using `org-habit-get-priority'.
1055         * org-habit.el (org-habit-build-graph): Start displaying colors
1056         from the first scheduled date, if that date is earlier than the
1057         first completion date.
1059         * org-habit.el: Changed all "color" variables to faces, and made
1060         them appropriate for light and dark backgrounds.
1062         * org-habit.el (org-habit-duration-to-days): Made this function
1063         more general.
1064         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1066         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1067         habits, since they don't use DEADLINE anymore.
1069         * org.el (org-repeat-re, org-display-custom-time)
1070         (org-timestamp-change): Extended to support the new ".+N/N"
1071         syntax, used for habits.
1073         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1074         variable reference.
1076         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1077         modeline when habits are being displayed (if that module is being
1078         loaded).
1080 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1082         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1083         idle time using the xscreensaver extension.
1084         (org-user-idle-seconds): Use X11 idle time if available.
1086 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1088         * org-agenda.el (org-agenda-next-line): New command.
1089         (org-agenda-previous-line): New commands.
1090         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1091         commands.
1092         (org-agenda-follow-mode): Do the follow immediately if the mode is
1093         turned on here.
1094         (previous-line, next-line): Replace keys with the corresponding
1095         org functions.
1096         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1097         command.
1099         * org.el (org-icompleting-read): Turn off partial completion mode
1100         for the duration of this completion round.
1102         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1103         macros in author lines and similar stuff.
1105         * org.el (org-file-tags): Fix docstring.
1106         (org-get-buffer-tags): Add the #+FILETAGS tags.
1107         ("ecb"): Maks ecb show context after jumping into an Org file.
1109 2009-10-20  John Wiegley  <johnw@newartisans.com>
1111         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1112         graphs after everything else in the buffer has been setup.
1114 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1116         * org-mobile.el (org-mobile-apply): Count success and failure.
1118         * org.el (org-indent-line-function): Fix regexp replace problem.
1120 2009-10-19  John Wiegley  <johnw@newartisans.com>
1122         * org-clock.el (org-clock-disable-clock-resolution): New
1123         customization variable that disable automatic clock resolution on
1124         clock in.
1125         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1126         not automatically resolve anything.  This is does not affect
1127         idle-time resolution, however, if `org-clock-idle-time' is set.
1129 2009-10-19  John Wiegley  <johnw@newartisans.com>
1131         * org-habit.el: New file, which implements code to build a "habit
1132         consistency graph".
1134         * org-agenda.el (org-agenda-get-deadlines)
1135         (org-agenda-get-scheduled): Display consistency graphs when
1136         outputting habits into the agenda.  The graphs are always relative
1137         to the current time.
1138         (org-format-agenda-item): Added new parameter `habitp', which
1139         indicates whether we are formatting a habit or not.  Do not
1140         display "extra" leading information if habitp is true.
1142         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1143         leaders for repeat strings.
1144         (org-get-repeat): Now takes a string parameter `tagline', so the
1145         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1147 2009-10-19  John Wiegley  <johnw@newartisans.com>
1149         * org-agenda.el (org-agenda-auto-exclude-function): New
1150         customization variable for allowing the user to create an "auto
1151         exclusion" filter for doing context-aware auto tag filtering.
1152         (org-agenda-filter-by-tag): Changes to support the use of
1153         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1155 2009-10-18  John Wiegley  <johnw@newartisans.com>
1157         * org.el (org-files-list): Don't attempt to return a file name for
1158         Org buffers which have no associated file.
1160         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1162 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1164         * org-mobile.el (org-mobile-locate-entry): Interpret files
1165         relative to org-directory.
1166         (org-mobile-inbox-for-pull): Document the best location for this
1167         file.
1168         (org-mobile-check-setup): Verify `org-directory'.
1169         (org-mobile-create-index-file): Sort the files to be listed in
1170         index.org.
1172 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1174         * org.el (org-fast-tag-selection): Add a way to display a
1175         description for a tag group. This is done by adding a string to
1176         either the startgroup or endgroup cell.
1178 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1180         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1181         (org-emacs-idle-seconds): Use `org-float-time' instead of
1182         `time-to-seconds'
1184 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1186         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1187         type.
1189         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1190         the value of ARG when doing local cycling.
1192 2009-10-17  John Wiegley  <johnw@newartisans.com>
1194         * org-clock.el (org-clock-resolve-clock): If keeping or
1195         subtracting time results in a clock out at a time in the past, and
1196         if the resolution occurred due to idleness or invoking `M-x
1197         org-resolve-clocks', remember that past moment in time.  On the
1198         next clock in, the user will be prompted to see if they want to
1199         back-date their new clock to then.
1200         (org-clock-resolve): Do not jump the user to the location of a
1201         dangling clock if the resolution is occuring due to an idle
1202         timeout.  In that case there is typically only one dangling clock,
1203         the active one, and there is no value gained by shuffling their
1204         windows around to show it to them.  Being prompted to resolve an
1205         idle clock should be as inobtrusive as possible.
1206         (org-resolve-clocks-if-idle): New function that resolves only the
1207         currently active clock if the user has exceeded the time returned
1208         by `org-user-idle-seconds', based on the value of
1209         `org-clock-idle-time'.
1210         (org-clock-in): If, after resolving clocks,
1211         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1213         * org-clock.el (org-clock-resolve-clock): New function that
1214         resolves a clock to a specific time, closing or resuming as need
1215         be, and possibly even starting a new clock.
1216         (org-clock-resolve): New function used by `org-resolve-clocks'
1217         that sets up for the call to `org-clock-resolve-clock'.  It
1218         determines the time to resolve to based on a single-character
1219         selection from the user to either keep time, subtract away time or
1220         cancel the clock.
1221         (org-resolve-clocks): New user command which resolves dangling
1222         clocks -- that is, open but not active -- anywhere in the file
1223         list returned by `org-files-list'.
1224         (org-clock-in): Automatically resolve dangling clocks whenever a
1225         user clocks in.
1226         (org-clock-cancel): If the user cancels the solely clock in a
1227         LOGBOOK, remove the empty drawer.
1229         * org-clock.el (org-clock-idle-time): New user customizable option
1230         for detecting whether the user has left a clock idle.  Note: it is
1231         only used in this commit to test whether it's worthwhile to check
1232         OS X to get the Mac user's current idle time.  If the Emacs idle
1233         time is less than the value, the user hasn't been away long enough
1234         to be worth checking (a more expensive test than just getting
1235         Emacs idle time).
1236         (org-user-idle-seconds, org-mac-idle-seconds)
1237         (org-emacs-idle-seconds): This three functions, in conjunction
1238         with the user customization variable `org-clock-idle-time', return
1239         the number of seconds (as a floating point) that the user has been
1240         away from their Emacs (or, if running on OS X, their computer).
1242         * org-clock.el (org-find-open-clocks): New function that returns a
1243         list of all open clocks in the given FILE.  Note that each clock
1244         it returns is a cons cell of the format (MARKER . START-TIME).
1245         This "clock" value is used by several of the new clock module
1246         utility functions.
1247         (org-is-active-clock): New inline function which tests whether the
1248         given clock value is the same as the currently active clock.
1249         Returns non-nil if this is the case.
1250         (org-with-clock-position): New macro that evaluates FORMS with
1251         point in the buffer and at the position of the given clock.
1252         Changes to the current clock are global.
1253         (org-with-clock): New macro that evaluates FORMS with point in the
1254         buffer and at the position of the given clock.  However, changes
1255         to the current clock are local and have no effect on the user's
1256         active clock.  This allows, for example, far any clock to be
1257         cancelled without cancelling the active clock.
1258         (org-clock-clock-in): New inline function that switches the active
1259         clock to the given clock.  If either the argument RESUME, or the
1260         global `org-clock-in-resume', are non-nil, it will resume a clock
1261         that was previously left open.
1262         (org-clock-clock-out): New inline function that clocks out the
1263         given clock value without affecting the currently active clock.
1264         (org-clock-clock-cancel): New inline function that cancels the
1265         given clock value without affecting the currently active clock.
1267         * org-clock.el (org-clock-in): Before creating
1268         `org-clock-mode-line-timer', check to make sure an older timer is
1269         not currently running.
1270         (org-clock-out): Accept new third parameter `at-time', which
1271         permits a clock to be clocked out at a specific time.  Note that
1272         no attempt is made to verify that the clock out time is later than
1273         the clock in time.
1275         * org.el (org-files-list): New utility function for returning a
1276         list of all open org-mode buffers, plus all files used to build
1277         the agenda buffer.  Note that not all the files will necessarily
1278         be visited by a buffer at time of call.
1279         (org-entry-beginning-position): Like the function
1280         `line-beginning-position', this inline function returns the
1281         beginning position of the current heading/entry.
1282         (org-entry-end-position): Like the function `line-end-position',
1283         this inline function returns the end position of the current
1284         heading/entry.
1286 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1288         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1289         a header line.
1291 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1293         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1295 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1297         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1298         entries that have no tags.
1299         (org-agenda-search-view): New customize group.
1300         (org-agenda-search-view-search-words-only): New option.
1301         (org-search-view): Implement substring search.
1303 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1305         * org.el (org-outline-level): Add doc string.
1307 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1309         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1310         variable.
1311         (org-inlinetask-export-handler): Only export inline task if the
1312         user option calls for it.
1314 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1316         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1317         END if present.
1319 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1321         * org-latex.el (org-export-latex-tables): Don't format in
1322         protected regions.
1324 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1326         * org-src.el (org-edit-src-code)
1327         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1328         macro editing.
1330         * org-agenda.el (org-prefix-category-max-length): New variable.
1331         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1332         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1334 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1336         * org-mobile.el (org-mobile-create-index-file): Improve the
1337         listing of tags and todo keywords.
1339         * org-latex.el (org-export-latex-format-image): New function.
1340         (org-export-latex-links): Use `org-export-latex-format-image'.
1342 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1344         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1345         (org-inlinetask-remove-terminator): New functions.
1346         (org-inlinetask-export-handler): Terminate the description list.
1348         * org-exp.el (org-export-select-backend-specific-text): Remove the
1349         region markers.
1351         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1352         tasks without content.
1354         * org-clock.el: Make sure the clock-in target position does not
1355         move to a different node by widening the buffer.
1357         * org-html.el (org-export-html-format-image): Wrap image into
1358         figure div only when there is a caption.
1360         * org-archive.el (org-archive-mark-done): Change default value to
1361         nil.
1363 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1365         * org.el (org-context): Call `bobp', not `eobp'.
1367         * org-clock.el (org-clock-cancel): Remove quotes from marker
1368         variables.
1370         * org.el (org-read-date-prefer-future): New allowed value `time'.
1371         (org-read-date-analyze): Shift day to tomorrow depending on time
1372         entered and value of `org-read-date-prefer-future'.
1374 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1376         * org.el (org-set-tags-to): New command.
1378         * org-mobile.el (org-mobile-action-alist): Add more options and
1379         update the docstring.
1380         (org-mobile-apply-flags): Parse for and use the data.
1382         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1383         the plist.
1385         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1386         keyword.
1388         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1390 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1392         * org-inlinetask.el (org-inlinetask-export): Option removed.
1393         (org-inlinetask-export-handler): Better export.
1395         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1396         (org-export-as-xoxo): Run the new hook.
1398         * org-html.el (org-export-html-final-hook): New hook.
1399         (org-export-as-html): Run the new hook.
1401         * org-docbook.el (org-export-docbook-final-hook): New hook.
1402         (org-export-as-docbook): Run the new hook.
1404         * org-ascii.el (org-export-ascii-final-hook): New hook.
1405         (org-export-as-ascii): Run the new hook.
1407         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1408         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1410         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1411         space character as the character before the ^/_.
1412         (org-export-latex-final-hook): New hook.
1413         (org-export-as-latex): Run `org-export-latex-final-hook'.
1415 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1417         * org-macs.el (org-if-unprotected-at): Fix docstring.
1419         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1420         text in the prefix (if category is a link).
1422         * org-latex.el (org-export-latex-preprocess): Deal properly with
1423         empty lines in verse environments.
1425         * org.el (org-format-latex-header): Inline fullpage.sty.
1427         * org-footnote.el (org-footnote-create-definition): Reveal context
1428         to add a new footnote definition.
1430         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1431         the index file.
1432         (org-mobile-files): New option.
1433         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1434         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1435         functions.
1436         (org-mobile-push): Start by creating the files lists.
1437         (org-mobile-copy-agenda-files): Move killing the buffer to after
1438         the save-excursion has exited.
1439         (org-mobile-write-checksums): Write checksums also for files in
1440         sub-directories.
1442         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1443         org-table-recalculate when cursor is in TBLFM line.
1445         * org-list.el (org-renumber-ordered-list): Fix cursor position
1446         when bullet length has changed.
1448 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1450         * org.el (org-format-latex): Mention `org-format-latex-options' in
1451         the docstring.
1453 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1455         * org.el (org-agenda-get): New function.
1457         * org-agenda.el (org-agenda-post-command-hook): No longer move
1458         point away from end of line.
1459         (org-agenda-add-entry-text, org-agenda-collect-markers)
1460         (org-finalize-agenda, org-agenda-mark-clocking-task)
1461         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1462         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1463         (org-agenda-compare-effort, org-agenda-filter-apply)
1464         (org-agenda-later, org-agenda-change-time-span)
1465         (org-agenda-post-command-hook, org-agenda-show-priority)
1466         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1467         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1468         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1469         (org-agenda-open-link, org-agenda-copy-local-variable)
1470         (org-agenda-switch-to, org-agenda-check-no-diary)
1471         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1472         (org-agenda-add-note, org-agenda-change-all-lines)
1473         (org-agenda-priority, org-agenda-set-tags)
1474         (org-agenda-set-property, org-agenda-set-effort)
1475         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1476         (org-agenda-show-new-time, org-agenda-date-prompt)
1477         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1478         (org-agenda-clock-in, org-agenda-bulk-mark)
1479         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1480         `org-get-at-bol'.
1482         * org-colview.el (org-columns-display-here)
1483         (org-columns-edit-allowed, org-agenda-columns): Use
1484         `org-get-at-bol'.
1486 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1488         * org.el (org-special-ctrl-a/e): Improve documentation and
1489         customize type.
1490         (org-end-of-line): Don't jump to after the ellipsis.
1491         (org-mode-map): Bind <home> and <end> as well.
1493 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1495         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1496         space after #+ as comments.
1497         (org-open-at-point): Run `org-follow-link-hook' always.
1499         * org-latex.el (org-export-latex-emph-format): Use better commands
1500         to insert special characters in verbatim snippets.
1502 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1504         * org-faces.el (org-copy-face): New function.  Use it to create
1505         various faces formerly created by using `copy-face'.
1507         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1508         window dedicated.
1509         (org-agenda-quit): Kill the frame containing the agenda window if
1510         that frame was created for the agenda.
1512 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1514         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1515         stamp in the agenda.
1517 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1519         * org-mobile.el (org-mobile-create-index-file): Add the list of
1520         TODO keywords, and the list of drawers to the index file.
1522         * org-agenda.el (org-prepare-agenda): Reset
1523         `org-drawers-for-agenda'.
1524         (org-prepare-agenda): Uniquify list of drawers.
1526         * org.el (org-complex-heading-regexp-format): New variable.
1527         (org-set-regexps-and-options): Define
1528         `org-complex-heading-regexp-format'.
1529         (org-drawers-for-agenda): New variable.
1530         (org-map-entries): Bind `org-drawers-for-agenda'.
1531         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1533         * org-remember.el (org-go-to-remember-target)
1534         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1536 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1538         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1539         problem.
1541         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1542         the capture file, and make it non-configurable.
1544         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1545         always with `invisible-ok'.
1546         (org-store-link): No error when there is nothing to link to in the
1547         agenda.
1549         * org-list.el (org-update-checkbox-count): Insert changed cookie
1550         before the old, to avoid problems with invisibility at the end of
1551         the line.
1552         (org-update-checkbox-count): Insert changed cookie before the old,
1553         to avoid problems with invisibility at the end of the line.
1555         * org.el (org-sort-entries-or-items): Include the final newline.
1556         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1557         lines for fontification.
1558         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1559         (org-prepare-dblock): Store the current indentation of the BEGIN
1560         line.
1561         (org-update-dblock): Apply the indentation of the begin line to
1562         the rest of the block.
1563         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1564         (org-startup-folded): New allowed value `showeverything'.
1565         (org-startup-options): Add STARTUP keyword `showeverything'.
1566         (org-set-startup-visibility): Respect value `showeverything' in
1567         org-startup-folded.
1569 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1571         * org.el (org-closest-date): Fix issue with past preference.
1573         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1575         * org-archive.el (org-archive-set-tag)
1576         (org-archive-subtree-default): New commands.
1578         * org-mobile.el (org-mobile-create-index-file): Fix link to
1579         capture file.
1580         (org-mobile-copy-agenda-files): Create the capture file if it does
1581         not exist.
1583         * org-clock.el (org-clock-clocktable-default-properties): New
1584         option.
1585         (org-clock-report): Use
1586         `org-clock-clocktable-default-properties'.
1588 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1590         * org.el (org-iswitchb-completing-read): Fix typo.
1592         * org-crypt.el: New file.
1594         * org.el: Add an entry for org-crypt.
1596 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1598         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1599         consistency.
1600         (org-batch-store-agenda-views): New function.
1601         (org-mobile-force-id-on-agenda-items): Mention variable.
1602         (org-agenda-title-append): Define variable.
1603         (org-write-agenda): New export to Org files.
1604         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1605         (org-agenda): Allow to keep the restricted file list if a special
1606         variable is bound to t.
1607         (org-agenda): Define a special agenda view for working on flagged
1608         entries.
1609         (org-agenda-get-restriction-and-command): List the new agenda
1610         view.
1611         (org-agenda-show-the-flagging-note): New command.
1612         (org-agenda-mode-map): New key `?' for looking at the flagging
1613         note.
1615         * org.el (org-autoload): Autoload org-mobile.el.
1616         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1618         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1620 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1622         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1623         statements.
1624         (org-table-get-remote-range): Match indented #+TBLNAME
1625         statements.
1627         * org.el (org-convert-to-odd-levels)
1628         (org-convert-to-oddeven-levels): Work also correctly if the file
1629         is in outline-mode.
1631 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1633         * org.el (org-store-link): When in agenda buffer, link to
1634         referenced entry.
1635         (org-add-planning-info): Remove spaces at eol.
1637         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1638         property.
1640 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1642         * org-latex.el (org-export-latex-first-lines): Fix problem with
1643         LaTeX export of first line and selected subtree.
1645         * org.el (org-shifttab): Interpret arg differently when using only
1646         odd levels.
1648 2009-09-09  Bastien Guerry  <bzg@altern.org>
1650         * org.el (org-check-agenda-file): Use a more explicit message
1652 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1654         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1655         normal lines.
1657 2009-09-08  Bastien Guerry  <bzg@altern.org>
1659         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1660         prompt in the temporary window.
1662         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1663         prefix for marked entries in the agenda view.
1665 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1667         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1668         a way that prevents any trailing character from being displayed.
1670 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1672         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1673         menu.
1675         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1676         slow regexp match.
1678 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1680         * org-latex.el (org-export-latex-preprocess): Do not protect in
1681         the LaTeX header.
1683         * org-src.el (org-edit-src-save): Save window setup while saving.
1684         (org-edit-src-code): Use new buffer name construction scheme.
1686 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1688         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1689         variable.
1690         (org-agenda-entry-text-cleanup-hook): New hook.
1691         (org-agenda-get-some-entry-text): Remove matches of
1692         `org-agenda-entry-text-exclude-regexps' and run the hook
1693         `org-agenda-entry-text-cleanup-hook'.
1695         * org.el (org-offer-links-in-entry): New argument ZERO to
1696         implement a link with index zero.
1697         (org-cycle-show-empty-lines): Not keep empty line under header
1698         hidden.
1699         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1700         to nil for special completion.
1701         (org-store-link): Don't error before the first heading.
1703         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1704         `org-offer-links-in-entry'.
1706 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1708         * org-agenda.el (org-agenda-quit): Provide the window argument for
1709         `window-dedicated-p', Emacs 22 needs it.
1710         (org-format-agenda-item): If the category is a link, arrange for
1711         invisible text to replaced with spaces.
1712         (org-compile-prefix-format): Add the extra space.
1713         (org-prefix-category-length): New variable.
1715         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1716         references from TOC lines.
1718         * org.el (org-selected-window): New variable.
1720         * org-table.el (org-table-edit-formulas): Remember the selected
1721         window.
1722         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1723         that was originally selected.
1725         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1726         expansion of a macro for more macro definitions.
1728         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1729         invisibility overlay starts on the newline.
1731 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1733         * org-protocol.el (org-protocol-store-link)
1734         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1736         * org-compat.el (org-float-time): New function.
1738         * org.el (org-clock-update-time-maybe)
1739         (org-sort-entries-or-items, org-do-sort)
1740         (org-evaluate-time-range, org-time-string-to-seconds)
1741         (org-closed-in-range): Use `org-float-time'.
1743         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1744         (org-timer-seconds):  Use `org-float-time'.
1746         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1747         (org-clock-sum, org-dblock-write:clocktable)
1748         (org-clocktable-steps):  Use `org-float-time'.
1750         * org-agenda.el (org-agenda-last-marker-time)
1751         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1753         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1754         function.
1756         * org-exp.el (org-get-file-contents): Only protect lines that
1757         really need it.
1759         * org-html.el (require): Require cl for compilation.
1761         * org.el:  Avoid using `default-major-mode'.
1763         * org-plot.el (require): Require CL only at compile time.
1765         * org-exp.el (require): Require CL only at compile time.
1767         * org-agenda.el (org-agenda-quit): When the agenda window is
1768         dedicated, remove other windows before exiting, so that the frame
1769         really will be killed.
1771         * org-exp.el (org-export-handle-include-files): Reset START and
1772         END for each loop cycle.
1774 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1776         * org.el (org-eval-in-calendar): Use
1777         `org-select-frame-set-input-focus'.
1779         * org-compat.el (org-select-frame-set-input-focus): New function.
1781         * org.el (org-update-statistics-cookies): New function.
1782         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1784 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1786         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1787         after the local variables are set.
1789         * org-latex.el (org-export-latex-protect-amp): New function.
1790         (org-export-latex-links): Protect link ampersands in tables.
1792         * org-exp.el (org-export-select-backend-specific-text): Match in
1793         two steps, to avoid regexp problems.
1795         * org.el (org-offer-links-in-entry): Improve working with many and
1796         duplicate links.
1798         * org-agenda.el (org-agenda-show-1): Make more consistent with
1799         normal cycling.
1800         (org-agenda-cycle-show): Make more consistent with normal cycling.
1802         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1803         website.
1805 2009-08-30  Bastien Guerry  <bzg@altern.org>
1807         * org-latex.el (org-export-latex-first-lines): Bugfix.
1809 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1811         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1812         about new effort.
1814         * org.el (org-set-effort): New function.
1815         (org-mode-map): New key for effort setting command.
1817         * org-agenda.el (org-agenda): Keep window setup when calling
1818         agenda from within agenda window.
1819         (org-agenda-mode-map): New keys for effort setting commands.
1820         (org-agenda-menu): Add effort setting commands to menu.
1821         (org-agenda-set-property, org-agenda-set-effort): New functions.
1823         * org-latex.el (org-export-latex-tables): Fix
1824         `org-table-last-alignment' and `org-table-last-column-widths' if
1825         the first column has been removed.
1827 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1829         * org.el (org-remove-timestamp-with-keyword): Only remove in
1830         entry, not in subtree.
1832         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1833         emacs lisp.
1835         * org.el (org-open-at-point): When on headline, offer all strings
1836         in entry.
1838         * org-remember.el (org-remember-templates): Documentation fix.
1840         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1841         `org-get-last-sibling' instead of the outline versions of these
1842         functions.
1843         (org-get-last-sibling): New function.
1844         (org-refile): Use `org-get-next-sibling' instead of the outline
1845         version of this function.
1846         (org-clean-visibility-after-subtree-move): Use
1847         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1848         outline versions of these functions.
1850 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1852         * org-agenda.el (org-prepare-agenda): When creating a new frame
1853         for the agenda, make the window dedicated.
1855         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1857         * org-table.el (org-table-align): Change the order of reinsertion
1858         and deletion, to avoid problems with overlays following the table.
1860         * org.el (org-parse-time-string): Better error message.
1861         (org-show-subtree): Use org-end-of-subtree.
1863         * org-macs.el (org-goto-line): New defsubst.
1865         * org.el (org-open-file, org-change-tag-in-region)
1866         (org-fast-tag-show-exit): Don't use `goto-line'.
1868         * org-table.el (org-table-align, org-table-insert-column)
1869         (org-table-delete-column, org-table-move-column)
1870         (org-table-sort-lines, org-table-copy-region)
1871         (org-table-paste-rectangle, org-table-wrap-region)
1872         (org-table-get-specials, org-table-rotate-recalc-marks)
1873         (org-table-get-range, org-table-recalculate)
1874         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1875         (org-table-show-reference, org-table-highlight-rectangle): Don't
1876         use `goto-line'.
1878         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1879         (org-edit-src-exit): Don't use `goto-line'.
1881         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1883         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1884         Don't use `goto-line'.
1886         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1888         * org-colview.el (org-columns, org-columns-redo)
1889         (org-agenda-columns): Don't use `goto-line'.
1891         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1892         use `goto-line'.
1894         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1895         (org-agenda-add-entry-text-maxlines): Improve docstring.
1896         (org-agenda-start-with-entry-text-mode): New option.
1897         (org-agenda-entry-text-maxlines): New option.
1898         (org-agenda-entry-text-mode): New variable.
1899         (org-agenda-mode): Set initial value of
1900         `org-agenda-entry-text-mode'.
1901         (org-agenda-mode-map): Add the `E' key.
1902         (org-agenda-menu): Add entry text mode to the menu.
1903         (org-agenda-get-some-entry-text): Fix line count bug.
1904         (org-finalize-agenda): Apply entry text mode if appropriate.
1905         (org-agenda-entry-text-show-here): New function.
1906         (org-agenda-entry-text-show): New function.
1907         (org-agenda-entry-text-hide): New function.
1908         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1909         key menu.
1910         (org-agenda-entry-text-mode): New command.
1911         (org-agenda-set-mode-name): Add entry text mode to the mode line
1912         string.
1913         (org-agenda-undo, org-agenda-get-restriction-and-command)
1914         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1915         `goto-line'.
1917 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1919         * org-clock.el (org-notify): Bugfix.
1921 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1923         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1924         check for after-string.
1926         * org-gnus.el (org-gnus-store-link): Simplify.
1928         * org.el (org-latex-regexps): Don't add extra empty lines for
1929         display formulas.
1931 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1933         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1934         (org-agenda-add-entry-text): Use
1935         `org-agenda-get-some-entry-text'.
1937         * org.el (org-cycle-separator-lines): Update docstring.
1938         (org-cycle-show-empty-lines): Handle negative values for
1939         `org-cycle-show-empty-lines'.
1941         * org-exp.el (org-export-protect-sub-super): New function.
1942         (org-export-normalize-links): Protect the url of plain links from
1943         supscript and superscript processing.
1945         * org-remember.el (org-remember-escaped-%): New function.
1946         (org-remember-apply-template): Use `org-remember-escaped-%' to
1947         detect escaped % signs.
1949 2009-08-23  Bastien Guerry  <bzg@altern.org>
1951         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1952         sound when showing the notification.
1954         * org-clock.el (org-notify): New function.
1955         (org-clock-notify-once-if-expired): Use `org-notify'.
1957         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1958         and `gnus-article-mode' separately.
1959         (gnus-summary-article-header): Fix the declare-function.
1961 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1963         * org-exp.el (org-export-format-source-code-or-example): Translate
1964         language.
1966         * org-src.el (org-src-lang-modes): New variable
1967         (org-edit-src-code): Translate language.
1969         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1970         the new structure of the `org-export-latex-listings-langs'
1971         variable.
1973         * org-latex.el (org-export-latex-listings-langs): Change structure
1974         of the variable from plist to alist.
1976 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1978         * org.el (org-in-commented-line): New function.
1980 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1982         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1984 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1986         * org.el (org-flag-drawer): More useful error.
1988 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1990         * org-remember.el (org-remember-apply-template): Use
1991         org-icompleting-read.
1993         * org-publish.el (org-publish): Use org-icompleting-read.
1995         * org-colview.el (org-columns-edit-value, org-columns-new)
1996         (org-insert-columns-dblock): Use org-icompleting-read.
1998         * org-colview-xemacs.el (org-columns-edit-value)
1999         (org-columns-new, org-insert-columns-dblock): Use
2000         org-icompleting-read.
2002         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2003         org-icompleting-read.
2005 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2007         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2008         (org-version): Return the version text.
2009         (org-org-menu): Add a menu entry for the new bug reporter.
2010         (org-submit-bug-report): New command.
2012         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2013         docstring.
2015         * org.el (org-emphasis-regexp-components): Add "`" to set of
2016         pre-emphasis characters.
2018         * org-latex.el (org-export-latex-classes): Always include the soul
2019         package.
2020         (org-export-latex-emphasis-alist): Use \st for strikethough.
2022         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2023         `indent-code-rigidly' to indent.
2025         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2026         properties only if MATCH really is a string.
2028 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2030         * org-latex.el (org-export-latex-packages-alist): Fix
2031         customization type.
2033         * org.el (org-create-formula-image): Also use
2034         `org-export-latex-packages-alist'.
2036         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2037         (org-export-as-html): Format footnotes correctly.
2039 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2041         * org.el (org-fast-tag-selection): Avoid text properties on tags
2042         in the alist.
2044         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2045         text properties on the match element.
2047 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2049         * org.el (org-set-regexps-and-options): Make sure the list of done
2050         keywords is not invalid.
2052         * org-exp.el (org-export-interpolate-newlines): New function.
2054 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2056         * org.el (org-format-latex): Avoid nested overlays.
2058         * org-latex.el (org-export-latex-listings-langs): Add a few more
2059         languages.
2061         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2062         ignore newlines and space before the first macro argument.
2064         * org-latex.el (org-export-latex-tables): Remove save-excursion
2065         around `org-table-align'.
2067 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2069         * org.el (org-export-html-special-string-regexps): Definition
2070         moved into org.el
2072         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2073         in macro calls.
2075 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2077         * org-latex.el (org-export-latex-listings)
2078         (org-export-latex-listings-langs): New options.
2080         * org-exp.el (org-export-format-source-code-or-example): Use
2081         listing package if requested by the user.
2083 2009-08-08  Bastien Guerry  <bzg@altern.org>
2085         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2086         command before actually switching to a buffer.
2088 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2090         * org-exp.el (org-get-file-contents): Only quote org lines when
2091         the markup is src or example.
2093         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2094         New option
2095         (org-agenda-get-day-entries): Remember deadline results and pass
2096         them on into the function getting the scheduling information.
2097         (org-agenda-get-scheduled): Accept deadline results as parameters
2098         and maybe skip some entries.
2099         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2101         * org.el (org-insert-heading): When respecting content, do not
2102         convert current line to headline.
2104         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2105         cheeeeeck the hd marker
2106         (org-clock-in): Also set the hd marker.
2107         (org-clock-out): Also set the hd marker.
2108         (org-clock-cancel): Reset markers.
2110         * org.el (org-clock-hd-marker): New marker.
2112         * org-faces.el (org-agenda-clocking): New face.
2114         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2115         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2117         * org.el (org-modules): Add org-track.el.
2119         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2120         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2121         `org-agenda-bulk-marked-p'.
2122         (org-agenda-bulk-toggle): New command.
2124 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2126         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2127         not just the body.
2129         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2130         messages.
2132 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2134         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2135         before gnuplot can read it.
2137 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2139         * org-latex.el (org-export-latex-first-lines): Fix bug with
2140         finding the end of the first lines.
2142         * org.el (org-create-formula-image): Remove the -E option for
2143         dvipng.
2145         * org-exp.el (org-default-export-plist): Respect #+BIND.
2146         (org-export-confirm-letbind): New function.
2148         * org.el (org-paste-subtree): Test the kill ring entry if it is
2149         going to be used.
2150         (org-copy-subtree): Use `org-forward-same-level'.
2151         (org-forward-same-level): Respect the `invisibe-ok' arg for
2152         back-to-heading.
2154 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2156         * org.el (org-table-map-tables): Make sure cursor is back at table
2157         beginning after funcall.
2159         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2160         handled before children, and do not error if an entry is not
2161         found, probably because it hase been remove when the parent was
2162         archived or refiled.
2164         * org.el (org-ido-completing-read): Accept straight lists for
2165         completion as well as alists.
2167         * org-html.el (org-export-as-html): Fix parenthesis error in
2168         footnore code.
2170         * org-timer.el (org-timer-cancel-timers): Renamed from
2171         `org-timer-cancel-timers'.
2173         * org.el (org-cycle-internal-local): Fix problem with finding next
2174         invisible line.
2176 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2178         * org-list.el (org-list-send-list): Call
2179         `org-list-goto-true-beginning' instead of
2180         `org-list-find-true-beginning', which does not exist.
2182         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2183         (org-timer-set-timer): Do not assign to heading.
2185         * org-id.el (org-id-open): Quote function name.
2187         * org-macs.el (org-unmodified): Turn off recording undo
2188         information while running inside the macro.
2190         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2191         variable.
2192         (org-indent-mode): Remember and restore value of
2193         org-hide-leading-stars before `org-indent-mode'.
2195         * org-table.el (org-table-export): Also work in file-less
2196         buffers.
2198         * org.el (org-startup-indented): New option.
2199         (org-startup-options): Add new options indent and noindent.
2200         (org-unfontify-region): Remove line-prefix and wrap-prefix
2201         properties.
2202         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2203         hooks.
2204         (org-promote, org-demote): Run the new hooks.
2206         * org-table.el (org-table-align): Replace leading \n as well.
2208         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2209         and `line-wrap' text properties.
2211         * org-compat.el (org-kill-new): New function.
2213         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2214         `line-wrap' text properties.
2216         * org-indent.el: New file.
2218 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2220         * org.el (org-provide-todo-statistics): Tweak docstring.
2222         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2224 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2226         * org-exp.el (org-export-as-org): Insert the "-source" string
2227         before the extension.
2229         * org.el (org-read-date): Make sure the calendar is in the current
2230         frame.
2231         (org-set-emph-re): Remove the ? from the post-match.
2232         (org-emphasis-regexp-components): Add backslash to the
2233         postmatch class.
2234         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2235         optional so that also lines at the end of the buffers will still
2236         be matched as headlines.
2238         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2239         Variable made obsolete.
2240         (org-table-relative-ref-may-cross-hline): New option.
2241         (org-table-find-row-type): Honow the new option
2242         `org-table-relative-ref-may-cross-hline'.
2244 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2246         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2247         on single field if no active region.
2249 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2251         * org-latex.el (org-export-latex-make-header): Only insert title
2252         if one is defined.
2254         * org.el (org-make-options-regexp): Allow empty values.
2256         * org-html.el (org-export-as-html): Move hrule detection to after
2257         plain list handling.
2259 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2261         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2263 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2265         * org.el (org-cycle-internal-local): Improved version of finding
2266         next visible line.
2267         (org-cycle-hide-drawers): Only hide drawers if this is really
2268         necessary.
2269         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2270         org-version of this function in Org-mode.  We use advice to
2271         implement this change, so that future changes to this function in
2272         outline.el wil be handled properly.
2273         (org-forward-same-level, org-backward-same-level): New commands.
2275 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2277         * org.el (org-remove-empty-overlays-at)
2278         (org-clean-visibility-after-subtree-move): New functons.
2279         (org-move-subtree-down): Simplify cleanup of display.
2281 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2283         * org-mac-message.el (org-mac-message-get-links): Improve
2284         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2285         "s".  Fix the return value.
2286         (org-mac-message-insert-flagged): Simplify.
2288         * org.el (org-refile-get-location): Tamper with refile history o
2289         that history contains compete matches instead of the entered
2290         string.
2292 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2294         * org.el (org-store-link): Never store a link to an inline task.
2296         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2298         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2299         inline tasks when positioning footnotes.
2301         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2302         function.
2304         * org.el (org-refile): Remove the END line when archiving an
2305         inline task that does have an END line.
2307         * org-archive.el (org-archive-subtree): Remove the END line when
2308         archiving an inline task that does have an END line.
2310         * org-macs.el (org-with-limited-levels): New macro.
2311         (org-get-limited-outline-regexp): New function.
2313         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2314         that did not enumerate first line.
2315         (org-export-mark-radio-links): Skip matches in links.
2317 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2319         * org.el (org-activate-plain-links): Make single-match.
2320         (org-adapt-indentation): Fix docstring.
2322         * org-macs.el (org-unmodified): Turn of modification hooks while
2323         running this macro.
2325 2009-08-02  Bastien Guerry  <bzg@altern.org>
2327         * org.el (org-adapt-indentation): Slightly improve the docstring.
2328         (org-occur): Sends an error when the user inputs an empty string.
2329         (org-priority): Bugfix: the tag alignement should happen within
2330         save-excursion.
2332 2009-07-31  Bastien Guerry  <bzg@altern.org>
2334         * org.el (org-make-link-regexps): Don't exclude parentheses from
2335         `org-plain-link-re'
2336         (org-cycle-internal-local): When locally cycling, switch directly
2337         from CHILDREN to FOLDED if there is no subtree
2338         (org-cycle): Update the docstring to document the new behavior of
2339         `org-cycle-internal-local'.
2341 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2343         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2344         an abbreviated format for days.
2346 2009-07-27  Bastien Guerry  <bzg@altern.org>
2348         * org-protocol.el (org-protocol-default-template-key): New
2349         option.
2351         * org.el (org-refile): Bugfix: save-excursion before reading the
2352         refile target, otherwise cursor moves might confuse `org-refile'.
2354         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2355         footnote reference before the footnote itself.
2357         * org.el (org-toggle-heading): Bugfix: correctly convert list
2358         items before the first headline.
2360         * org-html.el (org-export-html-footnote-format): New option for
2361         formatting the footnote reference.
2362         (org-export-as-html): Use the new option.
2364         * org.el (org-provide-todo-statistics): Allow a list of TODO
2365         keywords to compute statistics against headlines containing a
2366         keyword from this list.
2367         (org-update-parent-todo-statistics): Possibly use the new allowed
2368         value of `org-provide-todo-statistics'.
2370 2009-07-26  Bastien Guerry  <bzg@altern.org>
2372         * org-timer.el: Add autoload cookie.
2374         * org.el (org-occur-link-in-agenda-files): New function.
2376         * org-timer.el (org-timer-last-timer): New variable.
2378         * org-agenda.el (org-agenda-mode-map): New key for
2379         org-timer-set-timer called from the agenda.
2381         * org.el (org-mode-map): New key for org-timer-set-timer.
2383         * org-timer.el (org-timer-reset-timers)
2384         (org-timer-show-remaining-time, org-timer-set-timer): New
2385         functions.
2387         * org-clock.el (org-show-notification): Update the docstring.
2389         * org.el (org-provide-todo-statistics): Allow new value
2390         'all-headlines for this option, which includes entries with no
2391         TODO keywords in the todo statistics.
2392         (org-update-parent-todo-statistics): Possibly use the new
2393         'all-headline value from `org-provide-todo-statistics'.
2395 2009-07-25  Bastien Guerry  <bzg@altern.org>
2397         * org-clock.el (org-dblock-write:clocktable): Add a new option
2398         :timestamp which allows display of timestamps in clock reports.
2400         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2401         list to a subtree, preserving the structure of the list.
2402         (org-set-emph-re): Make the last element optional in the regexp.
2403         This regexp now matches an emphasized string at the end of a line.
2405         * org-list.el (org-list-goto-true-beginning)
2406         (org-list-make-subtree, org-list-make-subtrees): New functions.
2408         * org.el (org-eval-in-calendar): Select the right frame.
2409         (org-save-frame-excursion): Remove this macro.
2411 2009-07-24  Bastien Guerry  <bzg@altern.org>
2413         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2414         trying to find the beginning of a list.
2416         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2417         When present, tell org-get-file-contents not to protect org-like
2418         lines.
2420         * org-id.el (org-id-uuid-program): New option to set the name of
2421         the uuidgen program.
2422         (org-id-method): Use `org-id-uuid-program'.
2423         (org-id-new): Use `org-id-uuid-program'.
2425 2009-07-23  Bastien Guerry  <bzg@altern.org>
2427         * org-exp.el (org-export-number-lines): Allow whitespace in code
2428         references.  Allow the -r switch to remove the references in the
2429         source code even when the lines are not numbered: the labels can
2430         be explicit enough.
2432         * org.el (org-fontify-whole-heading-line): New option.
2433         (org-set-font-lock-defaults): Use the new option.
2435         * org-clock.el (org-show-notification-handler): New option.
2436         (org-show-notification): Use the new option.
2438 2009-07-21  Bastien Guerry  <bzg@altern.org>
2440         * org.el (org-eval-in-calendar): Fix a bug about calendar
2441         navigation when `calendar-setup' value is 'calendar-only.
2443 2009-07-19  Bastien Guerry  <bzg@altern.org>
2445         * org.el (orgstruct++-mode): Fix typo in docstring.
2446         (org-insert-link): Clean up: (or (...)) => (...)
2447         (org-insert-link): Use TAB for stored links completion.
2449 2009-07-18  Bastien Guerry  <bzg@altern.org>
2451         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2452         building the list of targets.
2454         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2455         option.
2456         (org-remember-handler): Use the new option.
2458 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2460         * org.el (org-tags-sort-function): New option for sorting tags.
2461         (org-set-tags): Use the new option to sort tags.
2463         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2464         premature deletion of the data when using org-plot in a script.
2466 2009-07-17  Bastien Guerry  <bzg@altern.org>
2468         * org-clock.el (org-clock-in-prepare-hook): New hook.
2469         (org-clock-in): Use this new hook.
2471 2009-07-16  Bastien Guerry  <bzg@altern.org>
2473         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2474         'reversed for this option to the "true line boundary first"
2475         behavior.
2476         (org-tags-match-list-sublevels): Document the 'indented value for
2477         this variable.
2479         * org-latex.el (org-export-latex-first-lines): Fix problem with
2480         publishing the region.
2482         * org-exp.el (org-export-format-source-code-or-example): Fix
2483         bad line numbering when exporting examples in HTML.
2485         * org-colview.el (org-format-time-period): Formats a time in
2486         fractional days as days, hours, mins, seconds.
2487         (org-columns-display-here): Add special handling for SINCE and
2488         SINCE_IA to format for display.
2490 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2492         * org.el (org-tags-sort-function): Add custom declaration for tags
2493         sorting function.
2494         (org-set-tags): Sort tags if org-tags-sort-function is set
2496 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2498         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2500         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2502         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2503         option.
2505 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2507         * org-publish.el (org-publish-remove-all-timestamps): New function.
2508         (org-publish-all): Remove all timestamp files if `org-publish-all'
2509         is called with a prefix argument.
2511         * org-list.el (org-indent-item): Fix typo.
2512         (org-item-indent-positions): Normalize ordered bullet.
2514         * org-html.el (org-export-html-home/up-format): New option.
2515         (org-export-as-html): Insert the up and HOME links.
2517 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2519         * org-html.el (org-export-as-html): Insert the title into the
2520         option plist.
2521         (org-export-html-insert-plist-item): New function.
2522         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2524         * org-macs.el (org-set-local): Make a local variable, do not make
2525         the variable buffer-local!
2527         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2529         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2531         * org-docbook.el (org-export-as-docbook): Call
2532         `org-install-letbind'.
2534         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2536         * org-exp.el (org-infile-export-plist): Read BIND lines.
2537         (org-install-letbind): New function.
2538         (org-export-as-org, org-export-preprocess-string): Call
2539         `org-install-letbind'.
2541         * org-src.el (org-edit-src-exit): Untabify the example before
2542         returning to Org.
2544         * org-list.el (org-list-demote-modify-bullet): New option.
2545         (org-first-list-item-p): Save point.
2546         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2547         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2548         (org-item-indent-positions): Return bullet types along with
2549         indentation.
2551 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2553         * org.el (org-show-entry): Hide drawers.
2555 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2557         * org-footnote.el (org-footnote-auto-adjust): New option.
2558         (org-footnote-auto-adjust-maybe): New function.
2559         (org-footnote-new, org-footnote-delete): Call
2560         `org-footnote-auto-adjust-maybe'.
2562         * org.el (org-startup-options): Add new footnote-related
2563         keywords.
2565         * org-publish.el (org-publish-timestamp-filename): Additional
2566         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2567         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2568         TRUE-PUB-DIR.  Pass them through to
2569         `org-publish-timestamp-filename'.
2570         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2571         PUB-FUNC, which are included in the hash.
2572         (org-publish-file): Delay timestamp test until the publishing
2573         function is known.
2575 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2577         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2578         setting the deadline.
2580         * org.el (org-read-date-final-answer): New variable.
2581         (org-read-date): Store the final answer string, including the date
2582         from the calendar, for reuse by agenda bulk commands.
2584         * org-publish.el (org-publish-attachment): Fix publishing of
2585         attachments.
2587         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2588         quotation makrs in parenthesis.
2589         (org-remove-initial-hash): New function.
2590         (org-export-latex-preprocess): Fix bug with infinite loop if
2591         environment is not properly closed.
2593         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2594         when indented.
2596         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2597         highlight also when indented.
2599 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2601         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2602         (org-footnote-action): Offer renumbering.
2604         * org.el (org-cycle): Honor the `integrate' value of
2605         org-cycle-include-plain-lists'.
2607         * org-list.el (org-cycle-include-plain-lists): New allowed value
2608         `internal'.  Improve the docstring.
2610         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2611         regexp to work better with LaTeX commands.
2613 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2615         * org-feed.el (org-feed-update): fix problem with non-existing
2616         buffer.
2617         (org-feed-skip-http-headers): New function.
2618         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2619         (org-feed-get-feed): Fix command line arguments for curl.
2621 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2623         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2624         and eps extensions.
2626 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2628         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2629         loaded.
2631         * org.el (org-map-entries): No longer force
2632         `org-tags-match-list-sublevels' to t during a todo-only tags
2633         search.
2635 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2637         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2638         environment.
2639         (org-export-latex-subcontent): Handle user-defined environment.
2641         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2642         the View dispatcher.
2644         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2645         `make-overlay'.
2647         * org-latex.el (org-export-as-pdf): Protect match data during call
2648         to shell-quote-argument.
2650         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2651         (org-agenda-view-mode-dispatch): New function.
2653 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2655         * org-agenda.el (org-agenda-mode): Reset list of marks.
2656         (org-agenda-mode-map): Define new keys for refile and bulk action.
2657         (org-agenda-menu): Add menu itesm for refile and bulk action.
2658         (org-agenda-refile): New function.
2659         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2660         (org-agenda-marked-entries): New variable.
2661         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2662         (org-agenda-remove-all-bulk-action-marks)
2663         (org-agenda-bulk-action): New functions/commands.
2665 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2667         * org-exp.el (org-get-file-contents): Protect org-like lines in
2668         included files.
2669         (org-export-format-source-code-or-example): Remove newlines.
2671         * org-latex.el (org-export-latex-links): Check for no-description
2672         marking.
2674         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2675         argument separator back to comma.
2676         (org-export-normalize-links): Mark links without description.
2678 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2680         * org-exp.el (org-infile-export-plist): Fix bug in macro
2681         processing.
2683         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2684         out.
2685         (org-agenda-highlight-todo): Fix bug with highlighting.
2687 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2689         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2690         new alignment strings.
2692         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2693         command list.
2694         (org-table-align): Check for forced align type.
2696         * org.el (org-self-insert-command): Add yas/expand to command
2697         list.
2699         * org-clock.el (org-clock-in-hook): New hook.
2700         (org-clock-in): Run `org-clock-in-hook.
2701         (org-clock-out-hook): New hook.
2702         (org-clock-out): Run `org-clock-out-hook.
2703         (org-clock-cancel-hook): New hook.
2704         (org-clock-cancel): Run `org-clock-cancel-hook.
2705         (org-clock-goto-hook): New hook.
2706         (org-clock-goto): Run `org-clock-goto-hook.
2708 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2710         * org.el (org-store-link): Better default description for link to
2711         Org-mode headline.
2713         * org-exp.el (org-export-generic): Autoload the generic exporter
2714         function.
2715         (org-export): Implement the `g' key for the generic exporter.
2717 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2719         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2720         and for zbacktab'.
2722         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2724         * org-exp.el (org-infile-export-plist): Get macros also from
2725         #+SETUPFILE.
2727 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2729         * org-colview.el (org-columns-capture-view): Protect vertical bars
2730         in column values.
2731         (org-columns-capture-view): Exclude comment and archived trees.
2733         * org-colview-xemacs.el (org-columns-capture-view): Protect
2734         vertical bars in column values.
2735         (org-columns-capture-view): Exclude comment and archived trees.
2737         * org.el (org-quote-vert): New function.
2739         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2741         * org-exp.el (org-export-format-source-code-or-example): Use
2742         `org-export-latex-verbatim-wrap'.
2744         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2745         time stamps.
2747         * org-html.el (org-export-table-row-tags): New option.
2748         (org-format-org-table-html): Rename `nlines' to `nline', use new
2749         option.
2752 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2754         * org-exp-blocks.el: Declare functions and variables.
2756         * org-remember.el (org-remember-templates): Allow the headline
2757         element to be a function.
2758         (org-remember-apply-template): If the headline is a function, call
2759         it to get the true function.
2761         * org-clock.el (org-clock-menu): New function.
2762         (org-clock-update-mode-line): Update help string.
2763         (org-clock-modify-effort-estimate): New function.
2764         (org-clock-mark-default-task): New function.
2766         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2767         minutes as input.
2768         (org-org-menu): Add new clocking stuff.
2769         (org-clock-is-active): New function.
2771 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2773         * org.el (org-open-non-existing-files): Improve docstring.
2775 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2777         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2778         option.
2779         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2781         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2783         * org-list.el (org-get-checkbox-statistics-face): Use the new
2784         faces.
2786         * org-faces.el (org-checkbox-statistics-todo)
2787         (org-checkbox-statistics-done): New faces.
2789 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2791         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2792         (org-edit-src-exit): Better cursor positioning when returning from
2793         editing.
2795         * org-latex.el (org-export-latex-use-verb): New variable.
2796         (org-export-latex-emph-format): Prefer \texttt over \verb when
2797         org-export-latex-use-verb is set.
2799 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2801         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2802         at normal indentation.
2804         * org-html.el (org-export-html-close-lists-maybe): Also look at
2805         normal indentation.
2807         * org-remember.el (org-remember-handler): Abort remember if the
2808         buffer is empty.
2810         * org-src.el (org-edit-src-content-indentation): New option.
2811         (org-edit-src-exit): Apply extra indentation.
2813         * org-exp.el (org-export-format-source-code-or-example): Run
2814         `org-src-mode-hook'.
2816         * org-src.el (org-src-mode-hook): New variable.
2817         (org-edit-src-code): Run `org-src-mode-hook'.
2819 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2821         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2823         * org-src.el (org-edit-src-get-indentation): New function.
2824         (org-edit-src-code): Base indentation on the begin line.
2826 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2828         * org-gnus.el (org-gnus-store-link): Require message.el in
2829         org-gnus-store-link.
2831 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2833         * org-src.el: New file, split out of org.el
2835         * org-docbook.el (org-export-as-docbook): Better indentation
2836         treatment.
2838         * org-macs.el (org-replace-match-keep-properties): New function.
2840         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2841         preprocessing of center and quote and verse blocks.
2843         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2844         (org-export-as-docbook): Close lists when original indentation
2845         mandates it.
2847         * org-html.el (org-export-html-close-lists-maybe): New function.
2848         (org-export-as-html): Close lists when original indentation
2849         mandates it.
2851         * org-list.el (org-list-end): Respect the stored "original"
2852         indentation when determining the end of the list.
2854         * org-exp.el (org-export-replace-src-segments-and-examples):
2855         Remember indentation correctly.
2857 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2859         * org-clock.el (org-clock-update-mode-line): Apply face
2860         org-mode-line-clock.
2862         * org-faces.el (org-mode-line-clock): New face.
2864 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2866         * org-gnus.el (org-gnus-store-link): Fix bug where
2867         `org-gnus-store-link' used wrong subject when called in an article
2868         buffer.  Patch provided by fengli AT gmail DOT com.
2870 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2872         * org-exp.el (org-export-format-source-code-or-example): Remember
2873         the original indentation of source code snippets and examples.
2875         * org-latex.el (org-export-as-latex): Relocate the table of
2876         contents.
2878         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2880         * org-agenda.el (org-run-agenda-series): Scope global options also
2881         when creating the agenda buffer.
2883 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2885         * org.el (org-adapt-indentation): Improve documentation.
2886         (org-insert-property-drawer): Respect org-adapt-indentation when
2887         inserting the drawer.
2888         (org-remove-flyspell-overlays-in): New function.
2889         (org-do-emphasis-faces, org-activate-plain-links)
2890         (org-activate-code, org-fontify-meta-lines-and-blocks)
2891         (org-activate-angle-links, org-activate-footnote-links)
2892         (org-activate-bracket-links, org-activate-dates)
2893         (org-activate-target-links, org-activate-tags): Remove flyspell
2894         overlays.
2896 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org.el (org-edit-src-save): New function.
2900         * org-clock.el (org-clock-out-switch-to-state): New option.
2901         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2903         * org-compat.el (org-compatible-face): Improve macro.
2905         * org.el (org-global-properties-fixed): Add default for
2906         CLOCK_MODELINE_TOTAL.
2908         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2909         andd tend.
2910         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2911         org-clock-sum.
2912         (org-clock-get-sum-start): New function.
2914         * org.el (org-startup-options): New keywords blockhide and
2915         blockshow.
2916         (org-mode): Add new invisibility spec.
2917         (org-set-startup-visibility): Hide block on startup if so
2918         desired.
2919         (org-hide-block-startup): New option.
2920         (org-block-regexp): New constant.
2921         (org-hide-block-overlays): New variable.
2922         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2923         (org-show-block-all, org-hide-block-toggle-maybe)
2924         (org-hide-block-toggle): New functions.
2925         (org-edit-src-exit): Do not quote lines starting with # and no +
2926         behind it.
2927         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2928         entry.
2930 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2932         * org.el (org-buffer-property-keys): Add Effort property for
2933         completion.
2935 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2937         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2938         when retrieving total clocked time in the subtree.
2940         * org.el (org-quoting-blocks): New variable.
2942 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2944         * org-table.el (org-table-store-formulas)
2945         (org-table-get-stored-formulas, org-table-fix-formulas)
2946         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2947         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2949         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2950         indented #+TBLFM line.
2952         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2953         indented #+TBLFM line.
2955         * org-colview.el (org-dblock-write:columnview): Allow indented
2956         #+TBLFM line.
2958         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2959         indented #+TBLFM line.
2961         * org-clock.el (org-dblock-write:clocktable): Allow indented
2962         #+TBLFM line.
2964 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2966         * org-exp.el (org-export-format-source-code-or-example): Make
2967         editing indented blocks work correctly.
2969         * org.el (org-edit-src-nindent): New variable.
2970         (org-edit-src-code, org-edit-fixed-width-region)
2971         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2972         editing indented blocks work correctly.
2974 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2976         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2977         indented blocks.
2978         (org-export-format-source-code-or-example): Fix indentation of
2979         blocks.
2980         (org-export-remove-indentation): New function.
2981         (org-export-select-backend-specific-text): Allow backend-specific
2982         code to be indented.
2983         (org-export-mark-blockquote-verse-center): Allow markers to be
2984         indented.
2986         * org.el (org-fontify-meta-lines): New function.
2987         (org-set-font-lock-defaults): Call the new fontification
2988         function.
2990         * org-faces.el (org-meta-line): New face
2991         (org-block):  New face.
2993 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2995         * org.el (org-treat-insert-todo-heading-as-state-change)
2996         (org-treat-S-cursor-todo-selection-as-state-change): New
2997         variables.
2998         (org-insert-todo-heading): Honor
2999         `org-treat-insert-todo-heading-as-state-change'.
3000         (org-shiftright, org-shiftleft): Honor
3001         `org-treat-S-cursor-todo-selection-as-state-change'.
3002         (org-inhibit-logging): New variable.
3004 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3006         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3007         range for marker position checking.
3009         * org-latex.el (org-export-latex-first-lines): Fix bug when
3010         exporting a region.
3012 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3014         * org-exp.el (org-export-push-to-kill-ring): Protect using
3015         x-set-selection, because that does not always work.
3017         * org-agenda.el (org-agenda-list): Apply the new face
3018         `org-agenda-date-today'.
3020         * org-faces.el (org-agenda-date-today): New face.
3022 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3024         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3025         creating appointments.
3027         * org-latex.el (org-export-latex-low-levels): Fix customization
3028         type.
3030         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3031         priority commands.
3033         * org-agenda.el (org-agenda-priority): Disable priority commands.
3035         * org.el (org-enable-priority-commands): New option.
3037         * org-colview-xemacs.el (org-columns-compute)
3038         (org-columns-number-to-string): Fix problems with empty fields.
3040         * org-colview.el (org-columns-compute)
3041         (org-columns-number-to-string): Fix problems with empty fields.
3043         * org-exp.el (org-export-push-to-kill-ring): New function.
3044         (org-export-copy-to-kill-ring): New option.
3046         * org-latex.el (org-export-as-latex): Call
3047         `org-export-push-to-kill-ring'.
3049         * org-html.el (org-export-as-html): Call
3050         `org-export-push-to-kill-ring'.
3052         * org-docbook.el (org-export-as-docbook): Call
3053         `org-export-push-to-kill-ring'.
3055         * org-ascii.el (org-export-as-ascii): Call
3056         `org-export-push-to-kill-ring'.
3058         * org-exp.el (org-export-show-temporary-export-buffer): New
3059         option.
3061         * org-latex.el (org-export-as-latex): Use
3062         `org-export-show-temporary-export-buffer'.
3064         * org-html.el (org-export-as-html): Use
3065         `org-export-show-temporary-export-buffer'.
3067         * org-docbook.el (org-export-as-docbook): Use
3068         `org-export-show-temporary-export-buffer'.
3070         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3071         `org-export-show-temporary-export-buffer'.
3073         * org-exp.el (org-export-show-temporary-export-buffer): New
3074         option.
3075         (org-export-push-to-kill-ring): New function.
3077         * org-colview.el (org-columns-compile-map): New variable.
3078         (org-columns-new, org-columns-compute)
3079         (org-columns-number-to-string, org-columns-uncompile-format)
3080         (org-columns-compile-format): Implement new operators.
3082 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3084         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3086         * org-html.el (org-export-html-xml-declaration): New option.
3087         (org-export-as-html): Use `org-export-html-xml-declaration'.
3089         * org-list.el (org-update-checkbox-count): Make property
3090         dependent.
3092         * org.el (org-hierarchical-todo-statistics): New option.
3093         (org-update-parent-todo-statistics): Modified to handle recursive
3094         statistics.
3096 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3098         * org-publish.el (org-publish): Make this function behave
3099         correctly in interactive use when called with a prefix argument.
3101         * org.el (org-todo-statistics-hook): New hook.
3102         (org-update-parent-todo-statistics): Use new hook.
3103         (org-log-into-drawer): New function.
3104         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3105         determine if we should be logging into a drawer.
3106         (org-log-into-drawer): Update docstring.
3107         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3109         * org-list.el (org-checkbox-statistics-hook): New hook.
3110         (org-update-checkbox-count-maybe): Use new hook.
3112         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3113         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3114         to kill ring.
3116 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3118         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3119         a line.
3121 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3123         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3124         better bufer-generating mechanism.
3125         (org-edit-src-find-buffer): New function.
3127         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3128         archive tag, this is already done by `org-agenda-skip'.
3129         data while constructing lost of tags.
3131 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3133         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3134         as argument separator in macros.
3136         * org-html.el (org-export-as-html): Add xml declaration.
3138 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3140         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3141         (org-sort-entries-or-items): Run the new hook.
3142         (org-after-refile-insert-hook): New hook.
3143         (org-refile): Run `org-after-refile-insert-hook'.
3145         * org-agenda.el (org-agenda-get-progress): Never take time of day
3146         from headline when displaying progress.
3148         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3149         (org-export-as-latex): Force the correct regexp in the
3150         preprocessor buffer.
3151         (org-export-latex-set-initial-vars): Set
3152         `org-export-latex-complex-heading-re'.
3154         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3155         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3157 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3159         * org-latex.el (org-export-latex-tables-centered): New option.
3160         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3162         * org-exp.el (org-export-as-org): New command.
3163         (org-export-as-org): New command.
3165         * org-publish.el (org-publish-org-to-org): New function.
3167 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3169         * org.el (org-yank): Just call `org-yank-generic'.
3170         (org-yank-generic): New function, containing the formaer
3171         functionality of `org-yank'.
3173         * org-latex.el (org-export-latex-not-done-keywords)
3174         (org-export-latex-done-keywords): New variables.
3175         (org-export-latex-todo-keyword-markup): New option.
3176         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3177         (org-export-latex-keywords-maybe): Apply the TODO markup.
3179 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3181         * org-exp.el (org-infile-export-plist): Add more default macros.
3182         (org-export-preprocess-apply-macros): Process macro arguments.
3184 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3186         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3187         `unblocked'.
3188         (org-print-icalendar-entries): Respect the new value of
3189         `org-icalendar-include-todo'.
3191         * org.el (org-link-try-special-completion)
3192         (org-file-complete-link): New functions.
3193         (org-insert-link): Add special completion support for some link
3194         types.
3196         * org-bbdb.el (org-bbdb-complete-link): New function.
3198 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3200         * org-list.el (org-update-checkbox-count): Allow recursive
3201         statistics.
3202         (org-hierarchical-checkbox-statistics): New option.
3204         * org.el (org-cycle): Remove erraneous space character.
3206         * org-icalendar.el (org-icalendar-timezone): Initialize from
3207         environment.
3209         * org-html.el (org-format-org-table-html): Specify the scope.
3210         (org-format-table-table-html): Specify the scope.
3211         (org-export-table-header-tags): Prepare the scope parameter.
3213 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3215         * org-html.el
3216         (org-export-html-table-use-header-tags-for-first-column): New
3217         option.
3219         * org.el (org-autoload): Fix autoloading of ascii export
3220         functions.
3221         (org-modules): Add org-special-blocks.
3223 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3225         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3226         (org-ical-timezone): New option.
3228         * org-exp.el (org-export-get-coderef-format): Use the description
3229         is present.
3231         * org.el (org-sort-entries-or-items): Improve docstring, and make
3232         better implementation for time sorting.
3234 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3236         * org.el (org-edit-src-persistent-message): New option.
3237         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3238         option.
3240         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3241         patch.
3243         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3244         separate buffer instead of indirect buffer to edit source code.
3245         (org-edit-src-exit): Make this function work with the new setup.
3247         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3248         are properly fontified before shown in the selection menu.
3250         * org.el (org-fontify-like-in-org-mode): New function.
3252         * org-latex.el (org-export-latex-links): Use the property list to
3253         retrieve the default image attributes.
3255         * org-exp.el (org-export-plist-vars): Add a new option.
3257 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3259         * org-exp.el (org-export, org-export-visible): Support ASCII
3260         export to buffer
3261         (org-export-normalize-links): Do not protect the description if it
3262         is explicitly given.
3264         * org-ascii.el (org-export-as-ascii-to-buffer)
3265         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3266         commands.
3267         (org-export-as-ascii): Add all the same parameters that are also
3268         supported by the other export functions.
3270         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3271         org-checklist.el.
3272         (org-reset-checkbox-state-subtree): Call
3273         `org-reset-checkbox-state-subtree'.
3275         * org-remember.el (org-select-remember-template): For the
3276         selection of a valid template.
3278         * org-latex.el (org-export-region-as-latex): Supply the
3279         force-no-subtree argument.
3280         (org-export-as-latex): Provide better limits when exporting the
3281         first line.  When exporting to string, we still want the first
3282         lines.
3283         (org-export-latex-first-lines): New argument END, to force the end
3284         of the region.
3285         (org-export-region-as-latex): Use the property list.
3286         (org-export-as-latex):
3288         * org-colview-xemacs.el (org-columns-remove-overlays)
3289         (org-columns): Fix call to `local-variable-p'.
3291 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3293         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3294         (org-export-as-html): Run the new hook.
3296         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3297         (org-export-latex-preprocess): Run the new hook.
3299         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3300         (org-export-preprocess-string): Run the new hook.
3302 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3304         * org-macs.el (org-check-external-command): New defsubst.
3306         * org.el (org-mode-map): New key for reload.
3307         (org-format-latex): Better error message when external programs
3308         are not available.
3310         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3312         * org.el (org-sort-entries-or-items): Explicit sorting function
3313         for priorities, needed for XEmacs compatibility.
3315         * org-remember.el (org-remember-apply-template): Improve auto-save
3316         behavior.
3318 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3320         * org-latex.el (org-export-latex-preprocess): Also protect
3321         environments ending in a star.
3323         * org-list.el (org-at-item-p): Fix regular expression.
3325 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3327         * org.el (org-end-of-subtree): Improve speed.
3329         * org-agenda.el (org-agenda-get-timestamps)
3330         (org-agenda-get-progress, org-agenda-get-deadlines)
3331         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3332         in particular, wait as long as possible to collect the tags.
3333         (org-stuck-projects): Improve docstring.
3335         * org.el (org-store-link): No errors when getting custom id before
3336         first headline.
3337         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3339 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3341         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3343         * org-protocol.el: Remove dependency on url.el.
3344         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3345         dependency on url.el.
3347         * org-latex.el (org-export-as-pdf): Use
3348         `org-latex-to-pdf-process'.
3350 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3352         * org-latex.el (org-latex-to-pdf-process): New option.
3354         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3355         New option.
3356         (org-agenda-get-timestamps): Honor
3357         `org-agenda-skip-additional-timestamps-same-entry'.
3359         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3360         (org-clock-goto): Find recent task only if
3361         `org-clock-goto-may-find-recent-task' allows it.
3363         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3364         drawers, and drawers that are missing the :END: line.
3366 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3368         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3369         clock is running.
3371 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3373         * org.el (org-update-parent-todo-statistics): Check for
3374         STATISTICS_FROM property.
3376         * org-list.el (org-update-checkbox-count): Check for
3377         STATISTICS_FROM property.
3379         * org.el (org-tab-first-hook)
3380         (org-tab-after-check-for-table-hook)
3381         (org-tab-after-check-for-cycling-hook): New hooks.
3382         (org-cycle-internal-global, org-cycle-internal-local): New
3383         functions, split out from `org-cycle'.
3384         (org-cycle): Call the new hooks.
3386 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3388         * org-exp.el (org-export-preprocess-string): Reset the list of
3389         preferred targets for each run of the preprocessor.
3391         * org.el (org-refile-target-verify-function): Improve
3392         documentation.
3393         (org-get-refile-targets): Respect point being moved by the
3394         verification function.
3396         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3397         option.
3398         (org-export-latex-keywords): Use new option.
3400         * org.el (org-rear-nonsticky-at): New defsubst.
3401         (org-activate-plain-links, org-activate-angle-links)
3402         (org-activate-footnote-links, org-activate-bracket-links)
3403         (org-activate-dates, org-activate-target-links)
3404         (org-activate-tags): Place the rear-nonsticky properties at the
3405         correct location.
3407 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3409         * org-protocol.el (server-edit): Declare `server-edit'.
3410         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3411         functions.
3412         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3414         * org.el (org-default-properties): New default properteis for
3415         completion.
3417         * org-exp.el (org-export-add-subtree-options): Add new properties
3418         for subtree export.
3420         * org-docbook.el (org-export-docbook-keywords-markup)
3421         (org-export-docbook-timestamp-markup): New options.
3422         (org-export-docbook-protect-tags): New function.
3424 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3426         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3427         org-refile-target-verify-function for the duration of the command.
3429         * org.el (org-link-to-org-use-id): New possible value
3430         `create-if-interactive-and-no-custom-id'.
3431         (org-store-link): Use custom IDs.
3432         (org-link-search): Find custom ID properties from #link.
3433         (org-default-properties): Add CUSTOM_ID for property completion.
3434         (org-refile-target-verify-function): New option.
3435         (org-goto): Turn off org-refile-target-verify-function
3436         for the duration of the command.
3438 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3440         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3442         * org-exp.el (org-export-preferred-target-alist): New variable.
3443         (org-export-define-heading-targets): Find the new CUSTOM_ID
3444         property.
3445         (org-export-target-internal-links): Target the custom ids when
3446         possible.
3448         * org-latex.el (org-export-latex-preprocess): Better regexp for
3449         matching latex macros with arguments.
3451 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3453         * org-remember.el (org-remember-handler): Allow filing to non-org
3454         files.
3456 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3458         * org-feed.el (org-feed-alist): New keyword options.
3459         (org-feed-update): Use the new options.
3460         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3461         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3462         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3463         functions.
3465         * org-table.el (org-table-fix-formulas): Do not change references
3466         to remote tables.
3467         (org-table-get-remote-range): Convert standard coordinates to RC
3468         format.
3470         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3472 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3474         * org-compat.el (org-sha1-string): Function removed.
3476         * org.el (org-refile-allow-creating-parent-nodes): New option.
3477         (org-refile-get-location): New argument NEW-NODES.
3478         (org-refile): Call `org-refile-get-location' with the new
3479         argument.
3480         (org-refile-get-location): Arrange for adding a new child.
3481         (org-refile-new-child): New function.
3483         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3484         an additional span element.
3486         * org-clock.el: Fix a number of docstrings.
3487         (org-clock-find-position): New argument
3488         FIND-UNCLOSED to make the function find an unclosed clock in the
3489         entry.
3490         (org-clock-in): Call `org-clock-find-position' with the new
3491         argument if we might be resuming a clock.
3493 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3495         * org-latex.el (org-export-latex-display-custom-times): New variable.
3496         (org-export-latex-timestamp-markup): New option.
3497         (org-export-latex-set-initial-vars): Remember the local value of
3498         `org-display-custom-times'.
3499         (org-export-latex-content): Process time stamps.
3500         (org-export-latex-time-stamps): New function.
3502         * org-macs.el (org-maybe-intangible): Add intangible property
3503         again to invisible text.
3505 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3507         * org-exp.el (org-default-export-plist): Handle undefined
3508         variables.
3510 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3512         * org.el (org-sort-entries-or-items): Match TODO keywrds
3513         case-sensitively, when sorting.
3514         (org-priority): Do not match TODO keywords with wrong case.
3516 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3518         * org-feed.el (org-feed-update): Bind the variable
3519         `new-formatted'.
3521         * org-html.el (org-export-as-html): Start paragraphs after literal
3522         examples.
3524         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3525         literal examples.
3527 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3529         * org.el (org-todo): Honor the NOBLOCKING property.
3531         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3532         NOBLOCKING property.
3534         * org.el (org-scan-tags): Fix bug in tag scanner
3536 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3538         * org.el (org-modules): Mark obsolete packages.
3540         * org-html.el: New file, split out from org-exp.el.
3542         * org-icalendar.el: New file, split out from org-exp.el.
3544         * org-xoxo.el: New file, split out from org-exp.el.
3546         * org-ascii.el: New file, split out from org-exp.el.
3548 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3550         * org-compat.el (org-find-library-name): New function.
3552         * org.el (org-pre-cycle-hook): New hook.
3553         (org-cycle): Call the new hook in appropriate places.
3554         (org-reload): Only reload files that have been loaded before.
3556 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3558         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3559         after todo keyword.
3560         (org-todo): When changing TODO state, do matching
3561         case-sensitively.
3562         (org-map-continue-from): New variable.
3563         (org-scan-tags): Respect values in `org-map-continue-from'.
3564         (org-reload): Make XEmacs compatible.
3566 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3568         * org-protocol.el (org-protocol-flatten-greedy): New function.
3569         (org-protocol-flatten): New function.
3571         * org.el (org-open-link-from-string): Pass reference buffer to
3572         `org-open-at-point'.
3573         (org-open-at-point): New optional argument `reference-buffer'.
3575 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3577         * org.el (org-scan-tags): Make tag scan find headline in first
3578         line, 2nd attempt.
3579         (org-get-refile-targets): Add the naked file name.
3580         (org-refile): Store as top-level entry when only file name was
3581         given.
3583         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3585         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3586         Renamed from org-block-todo-from-children-or-siblings, and
3587         enhanced to look for the parent's status as well.
3589         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3590         (org-agenda-get-progress): Add first notes line to log entry if so
3591         desired.
3593 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3595         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3596         (org-agenda-cleanup-fancy-diary): Call the new hook.
3598         * org-remember.el (org-remember-apply-template): Take the default
3599         for the annotation from the :annotation property.
3601         * org-mac-message.el (org-mac-message-get-link): Remove the
3602         quotes.
3603         (org-mac-message-get-link): Return the result.
3605 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3607         * org.el (org-refile-get-location): Add file name only if not
3608         already included in outline path.
3610         * org-faces.el (org-n-level-faces): Fix customization type from
3611         number to integer.
3613         * org-exp.el (org-export-headline-levels): Fix customization type
3614         from number to integer.
3616         * org-agenda.el (org-agenda-confirm-kill)
3617         (org-agenda-custom-commands-local-options)
3618         (org-timeline-show-empty-dates, org-agenda-ndays)
3619         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3620         customization type from number to integer.
3622 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3624         * org-protocol.el: Declare some functions.
3626         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3627         postion before inserting modified headline.
3629         * org-agenda.el (org-agenda-compare-effort): Honor
3630         `org-sort-agenda-noeffort-is-high'.
3631         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3632         (org-agenda-compare-effort): Implement the "?" operator for
3633         finding entries without effort setting.
3635         * org.el (org-extract-attributes-from-string): New function.
3637         * org-exp.el (org-export-splice-attributes): New function.
3639 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3641         * org-mouse.el: XEmacs compatibility fixes
3643         * org-docbook.el (org-export-as-docbook): Process footnotes like
3644         normal text.
3646         * org.el (org-modules): Add org-inlinetasks.el
3647         (org-cycle): Implement limiting level on cycling.
3648         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3649         buffer.
3651         * org-inlinetask.el: New file.
3653         * org.el (org-emphasis-regexp-components): Allow braces in
3654         emphasis pre and post match.
3656         * org-footnote.el (org-footnote-normalize): When only dorting, do
3657         not insert inline notes at the end.
3659         * org-docbook.el (org-id-find-id-file): Add function declaration.
3661         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3663         * org-docbook.el: New file.
3665 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3667         * org.el (org-reftex-citation): New command.
3669 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3671         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3672         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3673         sorting options.
3674         (org-entries-lessp): Apply the new sorting option.
3676         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3677         blocker code, when an older sibling has children.
3679         * org-mac-message.el (org-mac-message-get-link): Improve getting
3680         links from multiple selected messages.
3682 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3684         * org-remember.el (org-remember-finalize): Do not set buffer file
3685         name to nil.
3686         (org-remember-handler): Mark buffer as unmodified.
3687         (org-remember-handler): Delete backup file and show message about
3688         remaining backup files.
3689         (org-remember-auto-remove-backup-files): New option.
3691         * org.el (org-store-link): Use buffer name as link description in
3692         w3-mode buffers.
3693         (org-ido-switchb): Fix argument bug for completion.
3695         * org-remember.el (org-remember-apply-template): Set local
3696         variable `auto-save-visited-file-name' instead of global one.
3698 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3700         * org-feed.el: Re-write.
3702         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3703         (org-agenda-get-todos): Mark file tags as inherited.
3704         (org-agenda-list): Always search diary lines for a time.
3706 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3708         * org-feed.el (org-feed-assume-stable): New option.
3709         (org-feed-before-adding-hook): New hook.
3711         * org-exp.el (org-export-as-html): Close local lists depending on
3712         indentation, also when starting a table.
3714         * org-remember.el (org-remember-backup-directory)
3715         (org-remember-backup-name): New internal variable.
3717 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3719         * org-clock.el (org-clock-out-if-current): Make buffer detection
3720         work in indirect buffers as well.
3722         * org.el (org-emphasis-regexp-components): Add the exxclamation
3723         mark to the post-emphasis characters.
3725 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3727         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3728         (org-read-date): Run the new hook.
3730         * org-mac-message.el (org-mac-flagged-mail): New group.
3731         (org-mac-mail-account): New variable.
3732         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3733         commands.
3735         * org-remember.el (org-remember-backup-directory): New variable.
3736         (org-remember-apply-template): Write file to backup directory.
3738 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3740         * org-mouse.el (org-mouse-todo-menu): New function.
3741         (org-mouse-todo-keywords): Function removed.
3742         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3744         * org-table.el (org-table-beginning-of-field)
3745         (org-table-end-of-field): New commands
3746         (org-table-previous-field, org-table-beginning-of-field): Better
3747         error messages.
3748         (orgtbl-setup): Include `M-a' and `M-e'.
3750         * org.el (org-backward-sentence, org-forward-sentence): New
3751         commands.
3753         * org-colview.el (org-colview-initial-truncate-line-value): New
3754         variable.
3755         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3756         (org-columns): Remember the value of `truncate-lines'.
3758         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3759         New variable.
3760         (org-columns-remove-overlays): Restore the value of
3761         `truncate-lines'.
3762         (org-columns): Remember the value of `truncate-lines'.
3764         * org.el (org-columns-skip-arrchived-trees): New option.
3766         * org-agenda.el (org-agenda-export-html-style): Define color for
3767         org-agenda-done face.
3768         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3769         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3771         * org.el (org-scan-tags): Use the new face.
3773         * org-faces.el (org-agenda-done): New face.
3775         * org.el (org-scan-tags): Test the value org
3776         `org-tags-match-list-sublevels'.
3777         (org-tags-match-list-sublevels): New allowed value: indented.
3779         * org-export-latex.el (org-export-latex-make-header): Apply macros
3780         in header.
3782         * org-exp.el (org-export-apply-macros-in-string): New function.
3784         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3785         with the definition of a checked box.
3787         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3789         * org-export-latex.el (org-export-latex-low-levels): More options
3790         for how to process lower levels in LaTeX.
3791         (org-export-latex-subcontent): Better treatment for lists as a
3792         means of publishing lower levels.
3794 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3796         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3798         * org-faces.el (org-checkbox): New face.
3800         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3801         fragement images if there is an export file.
3803 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3805         * org-agenda.el (org-stuck-projects): Document that the subtree of
3806         projects that are not stuck will now be searched for stuck
3807         sub-projects.
3808         (org-agenda-skip-entry-when-regexp-matches)
3809         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3810         (org-agenda-list-stuck-projects): Use
3811         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3813         * org-export-latex.el (org-export-latex-preprocess): Improve
3814         export of verses.
3816         * org-exp.el (org-export-as-html): Implement centering as a div
3817         rather than a paragraph.  Do a better job with line-end in verse
3818         environments.
3820 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3822         * org.el (org-open-at-point): Fix tags searches by mouse click.
3824 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3826         * org-export-latex.el (org-export-latex-preprocess): Implement the
3827         centering markup.
3829         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3830         from `org-export-mark-blockquote-and-verse'.
3831         (org-export-as-html): Implement the centering markup.
3833         * org-export-latex.el (org-export-latex-tables): Fix vertical
3834         lines in tables.
3836 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3838         * org.el (org-read-date-history): New variable.
3839         (org-read-date): Use new history variable.
3840         (org-toggle-heading): Fix bug when used before first headline.
3841         (org-store-log-note): Remove drawer if empty while note is
3842         aborted.
3843         (org-remove-empty-drawer-at): New function.
3844         (org-check-after-date): New command.
3845         (org-sparse-tree): New sparse tree command "a".
3847         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3849 2009-03-14  Bastien Guerry  <bzg@altern.org>
3851         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3852         column and a space, not only a column.
3854 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3856         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3857         defaults for verbose emphasis.
3858         (org-export-latex-emph-format): New function.
3859         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3861         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3862         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3863         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3864         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3865         commands.
3867         * org.el (org-timestamp-change): Move end-time along with start
3868         time.
3870 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3872         * org-exp.el (org-export-target-internal-links)
3873         (org-export-as-html): Protect links specified as #name.
3875 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3877         * org.el (org-clone-subtree-with-time-shift): New command.
3879         * org-export-latex.el (org-export-latex-special-chars)
3880         (org-export-latex-treat-sub-super-char): Fix subscript export.
3882         * org-exp.el (org-create-multibrace-regexp): Do not add
3883         backslashes to the class.
3885 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3887         * org-colview.el (org-columns-map): Better functions for moving up
3888         and down a row, even if `truncate-line' is nil.
3890         * org.el (org-insert-todo-heading): Make sure the keyword is
3891         inserted at the correct position.
3893         * org-publish.el (org-publish-project-alist)
3894         (org-publish-projects, org-publish-org-index): Change default anme
3895         for the index of file names to "sitemap.org".
3897         * org-export-latex.el (org-export-latex-tables): Use
3898         `org-split-string', for Emacs 21 compatibility.
3900 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3902         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3904 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3906         * org-exp.el (org-export-page-description)
3907         (org-export-page-keywords): New variables.
3908         (org-export-plist-vars): Add entries for :keywords and
3909         :description.
3910         (org-infile-export-plist): Parse for new keywords.
3911         (org-get-current-options): Add new keywords
3912         (org-export-as-html): Publish description and keywords.
3914         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3915         option.
3916         (org-agenda-add-entry-text): Honor
3917         `org-agenda-add-entry-text-descriptive-links'.
3919         * org-export-latex.el (org-export-latex-preprocess): Make all
3920         external preprocess functions use a PARAMETER arg.
3922         * org-exp.el (org-export-preprocess-string)
3923         (org-export-select-backend-specific-text)
3924         (org-export-format-source-code-or-example)
3925         (org-format-org-table-html): Support docbook export.
3926         (org-export-preprocess-string): Make all external preprocess
3927         functions use a PARAMETER arg.
3929 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3931         * org-exp.el (org-export-html-style-include-scripts): New option.
3932         (org-export-plist-vars): Add new option
3933         `org-export-html-style-include-scripts'.
3934         (org-export-as-html): Honor new option
3935         `org-export-html-style-include-scripts'.
3936         (org-export-html-scripts, org-export-html-style-default): Fix
3937         xml issues with the Safari browser.
3939 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3941         * org-publish.el (org-publish-attachment): Only copy file when the
3942         directories differ.
3944 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3946         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3947         for clocktable steps.
3949         * org.el (org-additional-option-like-keywords): Add two more
3950         keywords.
3952 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3954         * org-exp.el (org-export-format-source-code-or-example): Mark
3955         temporary buffer unmodified, so that it will be killed even if
3956         mode like message mode has decided to assign a file name.
3958         * org.el (org-scan-tags): Improve tag inheritance.
3959         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3960         case-sensitive.
3961         (org-scan-tags): Use the internal tags list instead of creating it
3962         from scratch.
3963         (org-trust-scanner-tags, org-scanner-tags): New variables.
3964         (org-scan-tags): Set `org-scanner-tags'.
3965         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3966         (org-map-entries): Document the possible speedup using scanner
3967         tags.
3969 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3971         * org.el (org-add-planning-info): Fix bug with looking for keyword
3972         only at column 0.
3974         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3975         option for tags filter preset.
3976         (org-prepare-agenda): Store filter preset as a property on the
3977         filter variable.
3978         (org-finalize-agenda): Call the filter, if there is a preset.
3979         (org-agenda-filter-by-tag): Filter again after clearing the
3980         filter, when there still is a preset.
3981         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3982         Include the preset filter.
3983         (org-agenda-redo): Apply the filter again, also the preset filter.
3985         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3987         * org.el (org-uuidgen-p): New funtion.
3989         * org-agenda.el (org-agenda-fontify-priorities): New default value
3990         `cookies'.
3991         (org-agenda-fontify-priorities): Renamed from
3992         org-fontify-priorities.
3994         * org.el (org-set-font-lock-defaults): Call
3995         `org-font-lock-add-priority-faces'.
3996         (org-font-lock-add-priority-faces): New function.
3998         * org-faces.el: (org-set-tag-faces): New option.
3999         (org-priority-faces): New variable.
4001         * org-exp.el (org-export-as-html): Add a "content" div around the
4002         entire content of the body tag.
4003         (org-export-html-get-bibliography): New function.
4004         (org-export-html-validation-link): New variable.
4005         (org-export-as-html): Add validation link to exported page.
4007         * org.el (org-match-sparse-tree): Renamed from
4008         `org-tags-sparse-tree'.
4009         (org-tags-sparse-tree): New alias.
4011 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4013         * org.el (org-get-valid-level): Catch the case where the level
4014         change is nil.
4016         * org-clock.el (org-clock-find-position): Better indentation of
4017         new clock drawers.
4019 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4021         * org-agenda.el (org-agenda-quit): Delete window only when the
4022         frame-setup was not `current-window'.
4024         * org.el (org-tag-persistent-alist): New option.
4025         (org-startup-options): Add keyword `noptag'.
4026         (org-fast-todo-selection): Handle :newline correctly.
4027         (org-set-tags): Handle :newline correctly.
4028         (org-fast-tag-selection): Handle :newline correctly.
4030 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4032         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4033         outputting it.
4034         (org-export-ascii-push-links): Fix bug with pussing links into the
4035         export buffer.
4037 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4039         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4040         pasting at top level.
4042         * org-bbdb.el: Improve documentation.
4044 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4046         * org-list.el (org-insert-item): Only consider insert empty lines
4047         is `org-empty-line-terminates-plain-lists' is not nil.
4049         * org.el (org-blank-before-new-entry): Mention the dependence on
4050         `org-empty-line-terminates-plain-lists' in the docstring.
4052         * org-publish.el (org-publish-get-project-from-filename): New
4053         optional argument UP.  Only find the top project if UP is set.
4054         (org-publish-current-project): Find the top encloding project.
4056         * org-agenda.el (org-agenda-before-write-hook)
4057         (org-agenda-add-entry-text-maxlines): New options.
4058         (org-write-agenda): Run the new hook in the temporary buffer.
4059         (org-agenda-add-entry-text): New function.
4060         (org-write-agenda): Implement PDF export, using ps2pdf.
4062         * org.el (org-global-properties-fixed, org-global-properties):
4063         Improve documentation string.
4065         * org-exp.el (org-export-ascii-links-to-notes): New option.
4066         (org-export-as-ascii): Handle links better.
4067         (org-export-ascii-wrap, org-export-ascii-push-links): New
4068         functions.
4070 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4072         * org-agenda.el (org-agenda): Make prefix arg optional.
4073         (org-agenda-search-headline-for-time): New option.
4074         (org-format-agenda-item): Honor
4075         `org-agenda-search-headline-for-time'.
4077         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4078         characters.
4080         * org.el (org-self-insert-cluster-for-undo): New option.
4081         (org-self-insert-command): Cluster undo for 20 characters.
4082         (org-self-insert-command-undo-counter): New variable.
4084 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4086         * org-exp.el (org-export-as-html): Fix problem with closing colone
4087         example.
4089 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4091         * org-export-latex.el (org-export-as-latex)
4092         (org-export-latex-first-lines): Avoid modification flag when
4093         adding or removing text properties.
4094         (org-export-latex-fontify): Catch error when org-emph-alist has
4095         entries that are not defined for LaTeX export.
4097         * org.el (orgstruct++-mode): New function.
4098         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4099         (org-context-p): Allow detecting item context after the first line
4100         of an item.
4101         (orgstruct-make-binding): Detect if item-body context should be
4102         seen.
4103         (orgstruct-is-++): New variable.
4104         (org-add-planning-info): Catch the case when there is no planning
4105         info yet and the call does not want to add anything, only maybe
4106         tries to remove something.
4107         (org-special-ctrl-a/e): All value to be a cons cell with separate
4108         settings for `C-a. and `C-e'.
4109         (org-beginning-of-line, org-end-of-line): Honor separate values
4110         for `C-a' and `C-e'.
4112 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4114         * org.el (org-reload): New command.
4116 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4118         * org-exp.el (org-export-htm-get-tag-class-name)
4119         (org-export-htm-get-todo-kwd-class-name): New functions.
4120         (org-export-html-tag-class-prefix)
4121         (org-export-html-todo-kwd-class-prefix): New options.
4122         (org-export-as-html): Call
4123         `org-export-html-get-todo-kwd-class-name'.
4124         (org-html-level-start): Wrap tags into classes.
4125         (org-export-html-get-tag-class-name)
4126         (org-export-html-get-todo-kwd-class-name): New functions.
4128         * org-export-latex.el (org-export-latex-collect-header-macros):
4129         Remove fields that are used anyway.
4130         (org-export-latex-make-header): Insert the options earlier.
4132         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4133         matching.
4135         * org-list.el (org-indent-item): Allow point to be at the end of
4136         the region.
4138         * org.el (org-metaleft, org-metaright): Be more accurate about
4139         detecting a region where commands apply.
4141         * org-compat.el (org-cursor-to-region-beginning): New function.
4143         * org.el (org-priority): Also find invisible heading.
4145         * org-colview-xemacs.el (org-columns-edit-value): No special
4146         treatment for `org-todo' prefix.
4148         * org-colview.el (org-columns-edit-value): No special treatment
4149         for `org-todo' prefix.
4151         * org-remember.el (org-remember-apply-template): Use
4152         `org-completing-read-no-ido'.
4154         * org.el (org-completing-read-no-ido): New function.
4155         (org-make-tags-matcher, org-set-property): Use
4156         `org-completing-read-no-ido'.
4158         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4159         New option.
4160         (org-export-as-latex): Import in-buffer settings as TeX macros.
4161         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4162         (org-export-latex-collect-header-macros): New function.
4164         * org.el (org-refile-get-location): Turn off
4165         `partial-completion-mode'.
4167 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4169         * org.el (org-block-todo-from-checkboxes): Announce that
4170         checkboxes are the culprit.
4171         (org-block-todo-from-children-or-siblings): Call
4172         `org-up-heading-all instead' of `outline-up-heading'.
4174         * org-agenda.el (org-agenda-show-1): Renamed from
4175         `org-agenda-show'.
4176         (org-agenda-show): Re-install the old version for now.
4177         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4178         variable into the blokker hook, so that the checkbox checker can
4179         anounce that it caused the blocking.
4181         * org.el (org-track-ordered-property-with-tag): New option.
4182         (org-toggle-ordered-property): Honor
4183         `org-track-ordered-property-with-tag'.
4184         (org-tag-alist): Add newline options.
4185         (org-set-regexps-and-options): Separate option lines imply a
4186         newline.
4187         (org-set-regexps-and-options, org-assign-fast-keys)
4188         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4189         option.
4190         (org-indent-line-function): Make sure this works even if there is
4191         not `org-drawer-regexp' defined.  This can happen when
4192         orgstruct-mode is used in a non-org buffer.
4194         * org-list.el (org-checkbox-blocked-p): New function.
4195         (org-toggle-checkbox): Check for blocking.
4197         * org.el (org-modules): Add an entry for org-R.el.
4199         * org-agenda.el (org-agenda-todo-ignore-with-date)
4200         (org-agenda-todo-ignore-scheduled)
4201         (org-agenda-todo-ignore-deadlines): Mention the variable
4202         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4204         * org.el (org-get-wdays): Find the warning period also if it is in
4205         the wrong place.
4206         (org-ido-completing-read): Provide the correct arguments to
4207         ido-completing-read and bind `ido-enter-matching-directory' to
4208         nil.
4210 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4212         * org.el (org-olpath-completing-read): Never use ido for this
4213         one.
4215         * org-exp.el (org-export-normalize-links): Use new macro.
4217         * org-macs.el (org-if-unprotected-at): New macro.
4219         * org-agenda.el (org-agenda-show): Allow numerical prefix
4220         arguments to specify how much context should be shown.
4221         (org-agenda-cycle-show): New command, could be bound to SPC in
4222         org-agenda-mode-map.
4224         * org-exp.el (org-html-level-start): Space after section number.
4226 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4228         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4229         property, for sorting.
4230         (org-cmp-todo-state): Get the applicable TODO keywords directly
4231         from the buffer.
4232         (org-run-agenda-series, org-agenda-list, org-search-view)
4233         (org-todo-list, org-tags-view): Only fit agenda window when the
4234         whole series is done.
4236         * org.el (org-scan-tags): Add todo state as property, for sorting.
4238         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4239         `org-agenda-overriding-header' as an option.
4240         (org-agenda-list): Honor org-agenda-overriding-header'.
4242 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4244         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4245         after removing a checkbox.
4247         * org.el (org-show-entry): Make this work correctly also if it is
4248         the last entry in the file.
4249         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4250         falling back to normal, default command.
4251         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4252         item, call the checkbox toggler to get a box.
4254         * org-list.el (org-toggle-checkbox): Make double prefix set the
4255         checkbox to "[-]".
4256         (org-fix-bullet-type): Only replace bullet if it is changed.
4257         (org-renumber-ordered-list): Handle case when first item does not
4258         have a number.
4260         * org.el (org-add-log-setup): Fix positioning when
4261         `org-log-states-order-reversed' is nil.
4263         * org-clock.el (org-clock-in): Fix positioning when
4264         `org-log-states-order-reversed' is nil.
4265         (org-clock-find-position): Fix positioning when
4266         `org-log-states-order-reversed' is nil.
4268 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4270         * org-clock.el (org-clock-into-drawer): Take default from
4271         `org-log-into-drawer'.
4272         (org-clock-find-position): Look for the correct drawer.
4274         * org.el (org-log-into-drawer): Renamed from
4275         `org-log-state-notes-into-drawer'.
4276         (org-log-state-notes-into-drawer): New variable alias.
4277         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4278         CLOCK.
4279         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4281 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4283         * org-agenda.el (org-agenda): Fix docstring.
4285         * org.el ("org-plot"): Help loading org-plot.
4286         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4287         (org-metadown-hook, org-shiftmetaleft-hook)
4288         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4289         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4290         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4291         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4292         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4294         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4295         for selecting files with any (and even without) extension.
4297         * org.el (org-save-all-org-buffers): Also save id locations.
4298         (org-revert-all-org-buffers): Also load id locations.
4300 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4301         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4302         (org-log-state-notes-into-drawer): New option.
4303         (org-add-log-setup): Place the sate note marker into the drawer,
4304         create drawer when necessary.
4305         (org-refile-targets): Document special interpretation of LEVEL
4306         when odd-levels are used.
4308 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4310         * org.el (org-store-log-note): Fix note indentation when adding
4311         notes to end of list.
4313         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4314         class, so that each keyword can get special colors through CSS.
4316         * org-clock.el (org-clock-out): Add another nil for the previous
4317         state into the call to `org-add-log-setup'.
4319         * org.el (org-log-note-previous-state): New variable.
4320         (org-log-note-headings): New %S escape for old state.
4321         (org-todo): Call the note setup with the old state as an
4322         argument.
4323         (org-add-note): Add another nil for the previous state into the
4324         call to `org-add-log-setup'.
4325         (org-add-log-setup): New argument PREV-STATE.
4326         (org-add-log-note): Handle new %S escape.
4327         (org-store-log-note): Handle new %S escape.
4329 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4331         * org-clock.el (org-clock-find-position): Do not swallow an item
4332         less indented than the CLOCK line itself.
4333         (org-clock-in): Push markers to lin after the clock line.
4334         (org-clock-find-position): Handle values of
4335         `org-clock-into-drawer' smaller than 2.
4337         * org-exp.el (org-html-level-start): Add a CSS class to section
4338         numbers.
4339         (org-export-html-toplevel-hlevel): Better documentation of the
4340         influence of this variables on H levels and css classes in
4341         export.
4343 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4345         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4346         timestamp and nottimestamp to the chooe menu.
4348         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4349         (org-revert-all-org-buffers): New command.
4351 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4353         * org.el (org-return): Implement `org-return-follows-link' in the
4354         function org-return.  This is more robust than using the mouse
4355         map, I think.
4356         (org-set-regexps-and-options): Match more general #+TODO lines.
4357         (org-make-options-regexp): New optional argument EXTRA, for an
4358         extra regexp.
4359         (org-tab-follows-link): Mark as deprecated.
4361 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4363         * org-exp.el (org-export-preprocess-string): Remove clock lines
4364         earlier, so that they cannot cotribute to verbatim snippets.
4366 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4368         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4369         for finding drawers.
4370         (org-export-as-ascii, org-export-as-html): Count levels relative
4371         to the subtree header.
4372         (org-get-min-level): New optional argument OFFSET.
4373         (org-export): Make sure point is restored after popping up that
4374         window.
4376         * org.el (org-do-sort): Also take an inactive timestamp if no
4377         active one is found.
4379         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4380         deleting duplicates.
4382         * org-colview.el (org-columns-capture-view): Copy before
4383         deleting duplicates.
4385         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4386         text before first headline.
4388         * org.el (org-format-latex): Do not convert LaTeX fragments in
4389         protected examples.
4391 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4393         * org-exp.el (org-export-html-style-default): Use color values
4394         instead of names for XHTML validation.
4396         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4397         functions.
4398         (org-return-follows-link): Revert making this the default untile
4399         issues are resolved.
4401         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4402         nottimestamp.
4404 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4406         * org.el (org-mode): Make dependence stuff work more reliably.
4407         (org-update-parent-todo-statistics): Fix bug with updating
4408         statistics cookie.
4410         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4411         ~ as verbatim delimiters.
4413         * org-exp.el (org-export-html-format-image): New argument
4414         PAR-OPEN.
4415         (org-export-as-html): Pass par-open to
4416         `org-export-html-format-image'.
4418 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4420         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4421         (org-use-fast-todo-selection, org-tags-column): New default
4422         setting for variables, based on a poll what typical uses use.
4424         * org-agenda.el (org-agenda-sorting-strategy)
4425         (org-agenda-tags-column): New default setting for variables, based
4426         on a poll what typical uses use.
4428 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4430         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4431         blocked entries from setting the blocked tag.
4433         * org-exp.el (org-export-html-footnotes-section): Use a more
4434         consistent id for footnotes.
4436         * org-export-latex.el (org-export-latex-classes): Remove the
4437         a4paper option from the default styles.
4439 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4441         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4442         (org-block-todo-from-checkboxes): New function.
4443         (org-todo): Make tripple prefix arg circumvent blocking.
4445         * org-timer.el (org-timer): Provide the timer feature.
4447         * org.el (org-require-autoloaded-modules): Add a few more files to
4448         the list of autoloaded modules.
4450         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4452 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4454         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4455         drawers that are unprotected.
4456         (org-export-html-format-image): Make sure inlined LaTeX fragment
4457         images remain inlined.
4459         * org.el (org-toggle-ordered-property): New function.
4460         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4461         (org-org-menu): Add menu entries for TODO dependencies.
4463 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4465         * org.el (org-default-properties): Add ORDERED to the default
4466         properties, to get completion support for it.
4468         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4470         * org.el (org-update-parent-todo-statistics): Update more than one
4471         cookie.
4473         * org-agenda.el (org-agenda-get-todos): Start search from correct
4474         position.
4476         * org.el (org-fast-todo-selection): Make sure TODO selection does
4477         not change buffer position.
4479         * org-list.el (org-toggle-checkbox): Implement adding or removing
4480         checkboxes from line or region when called with a prefix
4481         argument.
4483         * org-rmail.el (org-rmail-store-link): Protect the call to
4484         `rmail-narrow-to-non-pruned-header'.
4486         * org-clock.el (org-clock-special-range): Fix week display in
4487         clock tables.
4489         * org-exp.el (org-get-current-options): Fix bug when in indirect
4490         buffer.
4492 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4494         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4495         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4496         (org-agenda-dim-blocked-tasks): New function.
4498         * org.el (org-enforce-todo-dependencies): New option.
4499         (org-block-todo-from-children-or-siblings): New function.
4501         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4503         * org.el (org-todo): Return correct state type even if the blocker
4504         throws an error.
4505         (org-modifier-cursor-error): Renamed from
4506         `org-shiftcursor-error'.
4507         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4508         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4510         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4511         to get real errors from the blocker hook.
4513         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4514         functions.
4515         (org-set-visibility-according-to-property): Turn off the setting
4516         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4517         property.
4519 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4521         * org.el (org-support-shift-select): New option.
4522         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4523         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4524         selection outside contexts.
4526         * org-list.el (org-at-item-bullet-p): New function.
4528         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4529         variables.
4531         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4532         variable.
4533         (org-insert-footnote-reference-near-definition): Remove
4534         unnecessary let form.
4536         * org-export-latex.el (org-export-latex-first-lines): Add
4537         OPT-PLIST parameter.
4538         (org-export-as-latex): Call `org-export-latex-first-lines' with
4539         opt-plits parameter.
4540         (org-export-latex-preprocess): Remove unnecessary variables.
4542         * org-exp.el (org-infile-export-plist)
4543         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4544         (org-export-remove-headline-metadata)
4545         (org-export-get-title-from-subtree, org-get-min-level)
4546         (org-html-do-expand): Remove innecessary let form.
4548         * org-colview-xemacs.el (org-columns-display-here): Remove
4549         unnecessary variables.
4551         * org-colview.el (org-columns-display-here): Remove unnecessary
4552         variables.
4554         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4555         variables.
4557         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4558         unnecessary variables.
4560         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4561         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4562         variables.
4564         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4565         (org-compact-display-after-subtree-move): Remove unnecessary
4566         variables.
4567         (org-edit-fixed-width-region): Remove unnecessary variables.
4568         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4569         (org-olpath-completing-read): Remove unnecessary variable.
4570         (org-auto-repeat-maybe): Remove unnecessary variable.
4571         (org-map-entries): Remove unnecessary variable.
4572         (org-buffer-property-keys, org-imenu-get-tree)
4573         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4575 -----------------------------------------------------------------
4577 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4578         * org-exp.el (org-export-remove-timestamps): Never remove
4579         timestamps from tables.
4581         * org-export-latex.el (org-export-latex-first-lines): Add more
4582         options to the preprocessing of the text before the first
4583         headline.
4585 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4587         * org-faces.el (org-clock-overlay): Make face compatible with
4588         XEmacs.
4590         * org.el (org-yank): Add property for delete-selection mode.
4592         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4594         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4595         variable.
4597         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4598         to `backward-char'.
4600         * org-exp.el (org-export-as-html): Remove the initial space from
4601         colon examples.
4603         * org.el (org-scan-tags): Call
4604         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4606         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4607         customization groups.
4608         (org-agenda-tags-todo-honor-ignore-options): New option.
4609         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4610         New function.
4611         (org-agenda-get-todos): Use
4612         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4614 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4616         * org-exp.el (org-export-format-source-code-or-example): Escape
4617         HTML characters also in examples that anre not treated with
4618         htmlize.  Also, just switch to EXAMPLE processing if we do not
4619         have a good version of htmlize.
4621         * org-rmail.el: Fix copyright notice.
4623         * org.el (org-activate-footnote-links): Improve footnote link
4624         highlighting.
4626         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4627         a footnote definition at the end of the file.
4629         * org-table.el (org-table-get-specials): Add an imagined hline at
4630         the end of the table.  This can be useful for references that want
4631         to go to the end of the table.  Also fix bug when computing last
4632         row constants, in tables that do not start right at the right
4633         margin.
4634         (org-table-eval-formula): Match and replace remove references.
4635         (org-table-formula-substitute-names): Make sure that names inside
4636         a "remote" call are left alone, the will be replaced later when
4637         the remote call is handled.
4638         (org-table-convert-refs-to-rc): Do not convert things that might
4639         look like a reference, but are really part of an ID or namei n a
4640         remote reference.
4641         (org-table-get-remote-range): New function.
4643 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4645         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4647         * org-clock.el (org-clock-put-overlay): Use new face instead of
4648         `secondary-selection'.
4650         * org-faces.el (org-clock-overlay): New face.
4652 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4654         * org-exp.el (org-get-current-options): Include the option for
4655         publishing time stamps.
4657         * org.el (org-toggle-heading): Renamed from
4658         `org-toggel-region-headings'.
4659         No longer needs a region defined, but will use it if there is one.
4660         (org-ctrl-c-star): Simplified, relying more on the internal
4661         workings of `org-toggle-heading'.
4662         (org-toggle-item): Renamed from `org-toggle-region-items'.
4663         No longer needs a region defined, but will use it if there is one.
4664         (org-ctrl-c-minus): Simplified, relying more on the inernal
4665         workings of `org-toggle-item'.
4667         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4668         environment detection.  Also, do real changes only in unprotected
4669         places.
4671 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4673         * org-export-latex.el (org-export-latex-quotation-marks): Use
4674         `org-if-unprotected-1'.
4675         (org-export-latex-set-initial-vars): Check for class definition in
4676         property.
4678         * org-macs.el (org-if-unprotected-1): New macro.
4680 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4682         * org-compat.el (org-count-lines): New function.
4684         * org-exp.el (org-export-format-source-code-or-example): Handle
4685         switches related to text areas.
4687         * org.el (org-activate-footnote-links): Don't allow match inside a
4688         link.
4690         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4692         * org-export-latex.el (org-export-latex-links): Keep a relative
4693         path relative also after export.
4695         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4697         * org.el (org-make-tags-matcher): Never use IDO for completing the
4698         tags matcher match string.
4699         (org-completing-read): Also remove the special biding for "?".
4701         * org-attach.el (org-attach-allow-inheritance): New option.
4702         (org-attach-inherited): New variable.
4703         (org-attach-dir): Handle properties related to the attachment
4704         directory.
4705         (org-attach-check-absolute-path): New function.
4706         (org-attach-set-directory, org-attach-set-inherit): New commands.
4707         (org-attach): Accommodate the new commands in the dispatcher.
4709 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4711         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4712         `window-full-width-p'.
4714         * org-exp.el (org-export-as-html): Only check for images files
4715         that really can be inlined
4717         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4718         list of extensions to be a parameter.
4720         * org-exp.el (org-export-html-inline-image-extensions): New
4721         variable.
4723         * org-agenda.el (org-prepare-agenda): Use
4724         `org-agenda-block-separator'.
4725         (org-agenda-block-separator): New option.
4727 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4729         * org-export-latex.el (org-export-latex-tables): Call
4730         `org-table-clean-before-export' with the new optional argument.
4732         * org-exp.el (org-table-clean-before-export): New optional
4733         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4734         first column.
4736 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4738         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4739         histograms.
4741         * org-colview.el (org-colview-construct-allowed-dates): Better
4742         error catching when a date/time property does not have allowed
4743         values defined.
4745         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4746         Better error catching when a date/time property does not have
4747         allowed values defined.
4749 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4751         * org.el (org-map-entries): Restore point and restriction after
4752         `org-map-entries'.
4754 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4756         * org.el (org-time=, org-time<, org-time<=, org-time>)
4757         (org-time>=, org-time<>): Make sure both values are dates.
4759 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4761         * org-archive.el (org-extract-archive-heading): Allow %s for file
4762         name also in achive location heading.
4764 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4766         * org-archive.el (org-add-archive-files): Uniquify the list before
4767         returning it.
4769 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4771         * org-compat.el (org-fit-window-to-buffer): Use
4772         `window-full-width-p'.
4774         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4775         space after the colon in short examples.
4777         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4778         enforce a space after the colon.  However, we also allow lines
4779         that are *only* a colon.
4780         (org-export-as-html): Enforce the space after the colon in short
4781         examples.
4782         (org-export-preprocess-string): Do the colon example protection
4783         earlier.
4784         (org-export-remove-timestamps): Do not check for protection at the
4785         end of the line.
4787 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4789         * org.el (org-format-latex-options): Add new matcher for single
4790         letters between dollars.
4791         (org-get-header): Function removed.
4792         (org-heading-components): New function.
4794         * org-exp.el (org-export-define-heading-targets): Record ID's also
4795         as alternative targets.
4796         (org-export-as-html): Interpret "id:" links to other files by
4797         preserving the relative path.
4799         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4800         is nil.
4802         * org-exp.el (org-export-normalize-links): Protect the main link,
4803         to avoid special character processing.
4805         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4806         New variable.
4807         (org-export-latex-special-string-regexps): Variable removed.
4808         (org-export-latex-keywords): Use the new regexp.
4810         * org-exp.el (org-export-handle-include-files): Fetch switches and
4811         put them into the BEGIN statement.
4813         * org-timer.el (org-timer-mode-line-string): New variable.
4815         * org-clock.el (org-clock-mode-line-map): Renamed from
4816         `org-clock-mode-map'.
4817         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4818         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4819         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4820         (org-clock-remove-overlays): Renamed from
4821         `org-remove-clock-overlays'.
4823         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4824         and mode line display.
4825         (org-timer-stop): New command.
4826         (org-timer-seconds): Return correct time when timer is paused.
4827         (org-timer-mode-line-timer): New variable.
4828         (org-timer-set-mode-line, org-timer-update-mode-line): New
4829         functions.
4831         * org.el (org-insert-heading):  Handle new value `auto' for
4832         `org-blank-before-new-entry'.
4833         (org-org-menu): Add new items for timer functions.
4835         * org-list.el (org-insert-item): Handle new value `auto' for
4836         `org-blank-before-new-entry'.
4838         * org.el (org-blank-before-new-entry): New value `auto', made
4839         default.
4841 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4843         * org-exp.el (org-export-normalize-links): If the link is also
4844         used as the description, protect the description.
4846 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4848         * org.el (org-closest-date): Fix bug with yearly repeats, in
4849         combination with preference of the past as it is used for deadline
4850         and scheduling search.
4852         * org-exp.el (org-html-handle-time-stamps): No longer check for
4853         the `org-export-with-timestamps' option, because the preprocesser
4854         has taken care of this already.
4856         * org.el (org-entry-properties): Catch the case when this is
4857         called in a non-org-mode file.
4859         * org-export-latex.el (org-export-latex-remove-from-headlines):
4860         Variable made obsolete, also LaTeX export now uses the standard
4861         variables.
4862         (org-export-as-latex): Add the timestamps parameter to the
4863         preprocessor parameter list.
4864         (org-export-latex-content): Export the remaining keywords without
4865         considering to remove them.
4866         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4867         Use bold font instead of tt font for the keywords.
4868         (org-export-latex-fontify-headline): Format headlines, assuming
4869         that all keywords still present should be published.
4870         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4871         publish what ever remains of the time stamps.
4872         (org-export-latex-list-parameters): New option.
4873         (org-export-latex-lists): Pass additional parameters to the list
4874         converter.
4876         * org-exp.el (org-export-preprocess-string): Remove clock lines
4877         and timestamps already in the preprocesor.
4878         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4879         functions.
4880         (org-export-as-ascii, org-export-as-html): Add the timestamps
4881         parameter to the preprocessor parameter list.
4883         * org-list.el (org-list-parse-list): Parse for checkboxes.
4884         (org-list-to-generic): Introduce and handle new parameters :cbon
4885         and :cboff.
4886         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4887         optional parameter PARAMS.
4889         * org-export-latex.el (org-export-latex-special-chars): Fix
4890         problems with interpreting dollar signs.
4891         (org-inside-latex-math-p): New function.
4892         (org-export-latex-preprocess): Protect all the math fragments.
4894         * org.el (org-latex-regexps): Allow a dash after a dollar.
4896         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4897         mark after copying.
4899         * org-agenda.el (org-run-agenda-series): Have series options set
4900         when finalizing the agenda.
4902         * org-exp.el (org-export-format-source-code-or-example): Protect
4903         the converted examples.
4905         * org.el (org-set-regexps-and-options): Fix the regexp
4906         `org-complex-heading-regexp'.
4908 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4910         * org.el (org-edit-src-get-label-format): New function.
4911         (org-coderef-label-format): New option.
4912         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4913         a label format specification and make sure it is used in the edit
4914         buffer.
4915         (org-edit-src-get-label-format): New function.
4916         (org-store-link): Handle new coderef formats.
4917         (org-link-search): Handle new coderef formats.
4919         * org-footnote.el (org-footnote-create-definition)
4920         (org-footnote-goto-local-insertion-point): Make footnote insertion
4921         work correctly when the "Footnotes" headline is the last line in
4922         the buffer.
4924         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4925         the location.
4927 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4929         * org-w3m.el (org-w3m): New customization group.
4930         (org-w3m-deactivate-mark): New option.
4931         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4932         option say not to.
4934 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4936         * org.el (org-set-font-lock-defaults): Trigger footnote
4937         fontification.
4938         (org-activate-footnote-links): New function.
4939         (org-activate-links): New entry `footnote'.
4941         * org-faces.el (org-footnote): New face.
4943 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4945         * org-macs.el (org-re): Handle the [:word:] class.
4947         * org-exp.el (org-export-preprocess-string): Call
4948         `org-export-protect-colon-examples'.
4949         (org-export-protect-colon-examples): Renamed from
4950         `org-export-protect-examples', and scope limited to lines starting
4951         with a colon.
4953 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4955         * org-exp.el (org-export-preprocess-string): Move the preprocess
4956         hook to after turning on Org-mode.
4957         (org-export-preprocess-after-include-files-hook)
4958         (org-export-preprocess-after-tree-selection-hook)
4959         (org-export-preprocess-before-backend-specifics-hook)
4960         (org-export-preprocess-final-hook): New hooks.
4961         (org-export-preprocess-string): Run the new hooks.
4963         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4965         * org-footnote.el: New file.
4967         * org.el (org-footnote): Require footnote code.
4968         (org-startup-options): Add new footnote options.
4969         (org-mode-map): New keybindig for footnotes.
4970         (org-ctrl-c-ctrl-c): Add function at footnotes.
4971         (org-org-menu): New menu entries for footnotes.
4973         * org-export-latex.el (org-export-as-latex): Pass footnote
4974         variable to preprocessor.
4975         (org-export-latex-preprocess): Treat multiple references to a
4976         footnote.
4978         * org-exp.el (org-export-preprocess-string): Call
4979         `org-footnote-normalize'.
4980         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4981         to preprocessor.
4982         (org-export-as-html): Treat multiple references to a footnote.
4984 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4986         * org-export-latex.el (org-export-latex-links): Handle coderef
4987         links.
4989         * org.el (org-bracket-link-analytic-regexp++): New variable.
4990         (org-make-link-regexps): Initialize
4991         `org-bracket-link-analytic-regexp++'.
4992         (org-store-link): Implement special case in edit-src buffer.
4993         (org-insert-link): No use of ide to insert stored links.
4994         (org-link-search): Implement special case for coderefs.
4996         * org-exp.el (org-export-html-scripts): New constant.
4997         (org-export-html-style-default): Add a new style for highlighted
4998         code.
4999         (org-export-code-refs): New variable.
5000         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5001         Call `org-export-replace-src-segments-and-examples'
5002         No longer call `org-export-protect-examples'.
5003         (org-export-target-internal-links): Take care of coderef targets.
5004         (org-export-last-code-line-counter-value): New variable.
5005         (org-export-replace-src-segments-and-examples): Renamed from
5006         `org-export-replace-src-segments', and modified.
5007         (org-export-format-source-code-or-example): Renamed from
5008         `org-export-format-source-code'.
5009         (org-export-number-lines): New function.
5010         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5012 --------------------------------------------------------------------------
5014 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5016         * org-remember.el (org-remember-handler): Safer way to get a new
5017         buffer accessing the target file.
5019         * org.el (org-refile-get-location): Handle case of current buffer
5020         not having a file associated with it.
5022 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5024         * org-table.el (org-table-get-formula): Only ask to overwrite
5025         field formula if there really is one.
5027         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5028         number, by converting these to a string.
5030         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5031         located in a different file.
5033         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5034         org-colview.el.
5036 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5038         * org.el (org-completion-use-ido): Enhance docstring of
5039         `org-completion-use-ido'.
5041         * org-export-latex.el (org-export-latex-make-header): Double the %
5042         in the time stamp format.
5043         (org-export-latex-special-chars): Handle case where there is no
5044         match group 3.
5046 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5048         * org.el (org-get-refile-targets, org-refile-get-location): Use
5049         expanded file name to improve comparison.
5051 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5053         * org.el (org-scan-tags): Rescan for tags, to get the correct
5054         upcase/downcase stuff.  This slows things down for now, but it
5055         works.
5056         (org-mode): Make sure the tag-faces regexp is initialized.
5058         * org-export-latex.el (org-export-latex-links): Fix bug with
5059         undefined label.
5061         * org-table.el (org-table-get-specials): Set
5062         `org-table-current-last-data-line'.
5063         (org-table-current-last-data-line): New variable.
5064         (org-table-insert-column, org-table-delete-column)
5065         (org-table-move-column, org-table-fix-formulas): Call
5066         `org-table-fix-formulas' a second time to fix the $LR references.
5067         (org-table-get-specials): Add the $LR references to the tables.
5068         (org-table-get-formula): Do not offer last-row names as LHS of
5069         formulas.
5071         * org.el (org-store-link): Capture link description from
5072         `org-id-store-link'.
5074         * org-exp.el (org-export-html-format-image): Add the / to the end
5075         of the <img> tag.
5076         (org-export-format-source-code): Surround example by empty lines,
5077         to make sure it will not be inside a paragraph.
5079         * org.el (org-ido-switchb): New function.
5081 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5083         * org-agenda.el (org-agenda-show): New prefix argument
5084         FULL-ENTRY.
5086         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5087         argument.
5089         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5090         `org-agenda-change-all-lines'.
5091         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5092         tags are now retrieved locally.
5094 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5096         * org.el (org-get-outline-path): Fix bug if level is not given.
5097         (org-org-menu): Do not quote function in menu vector.
5099         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5100         name.
5102 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5104         * org.el (org-refile): Avoid refiling to within the region to be
5105         refiled.
5107         * org-export-latex.el (org-export-latex-special-chars): Replace
5108         special characters also in tables.
5110         * org-agenda.el (org-agenda-change-all-lines): New argument
5111         FORCE-TAGS.
5112         (org-agenda-set-tags): Cet the new tags and pass them to
5113         `org-format-agenda-item'.
5115 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5117         * org-export-latex.el (org-export-latex-classes): Add longable as
5118         a default package to all classes.
5119         (org-export-latex-tables): Handle the longtable attribute and the
5120         align attribute.
5122         * org-table.el (orgtbl-to-generic): Handle tables that start with
5123         a hline.
5125         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5126         \verb for colde-like snippets.
5127         (org-export-as-latex): Fix issues with region export.
5129         * org.el (org-up-heading-safe): Speed up function by using a
5130         direct regexp search.
5131         (org-olpa): New variable.
5132         (org-get-outline-path): Speed-up path constructions in cases where
5133         this is possible because the entire hierarchy is scanned anyway.
5134         (org-refile-get-location): Don't compare the truenames of files,
5135         this is too slow.
5136         (org-goto-max-level): New option.
5137         (org-goto): Use `org-goto-max-level'.
5139 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5141         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5142         Strip angle brackets from message-ids in the former and don't do
5143         it in the latter.
5144         (org-gnus-follow-link): Open summary reliable, even if the last
5145         messages were deleted, and handle empty groups, too.
5147 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5149         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5150         instead of \texttt for the =...= and ~===~ emphasis environments.
5151         (org-export-as-latex): Remove any old :org-license-to-kill text
5152         properties.
5153         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5154         (org-export-latex-make-header): Add some hard space after the
5155         table of contents.
5156         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5157         exported text so that it will be excuded in further steps.
5159         * org-table.el (org-table-get-specials): Make @0 reference the
5160         last line in a table.
5161         (org-table-recalculate): Improve docstring.
5163 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5165         * org.el (org-log-done): Fix docstring.
5167 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5169         * org-exp.el (org-export-html-format-image): Fix bugs.
5171         * org-export-latex.el (org-export-latex-tables)
5172         (org-export-latex-links): Implement attribute, label, and caption
5173         handling.
5175         * org-exp.el (org-export-html-style-default): Add style
5176         definitions for the figure div.
5177         (org-export-preprocess-string, org-export-as-html): Implement
5178         attribute, label, and caption handling.
5179         (org-export-attach-captions-and-attributes): New function.
5180         (org-export-html-format-image): New function.
5181         (org-format-org-table-html): Implement attribute, label, and
5182         caption handling.
5184         * org.el (org-find-text-property-in-string): New function.
5185         (org-extract-attributes): Use the property org-attr instead of
5186         org-attrobutes, because this property is now set with the #+ATTR
5187         lines.
5189 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5191         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5192         the case that FROM is nil.
5194         * org.el (org-before-first-heading-p): New function.
5196 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5198         * org-exp.el (org-export-as-html): Do not add a space before
5199         enforces line breaks.
5200         (org-export-as-html): Close paragraph before blockquote and verse
5201         tags.
5203 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5205         * org-id.el (org-id-locations-file): Wrap file name with
5206         `convert-standard-filename'.
5207         (org-id-files): New variable.
5208         (org-id-use-hash): New option.
5209         (org-id-update-id-locations): Also search in all files current
5210         listed in `org-id-files'.  Convert the resulting alist to a hash
5211         if the user customation says so.
5212         (org-id-locations-save): Handle he case if `org-id-locations' is a
5213         hash.
5214         (org-id-locations-load): Convert the alist to a hash.
5215         (org-id-add-location): Handle the hast case.
5216         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5217         exited.
5218         (org-id-hash-to-alist, org-id-alist-to-hash)
5219         (org-id-paste-tracker): New functions.
5221 -------------------------------------------------------------------------
5223 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5225         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5226         bindings of calendar variables.
5228         * org-table.el (org-table-find-row-type): Renamed from
5229         `org-find-row-type'.
5230         (org-table-rewrite-old-row-references): Renamed from
5231         `org-rewrite-old-row-references'.
5232         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5233         (org-table-cleanup-narrow-column-properties): Renamed from
5234         `org-cleanup-narrow-column-properties'.
5236 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5238         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5239         for better error messages.
5240         (org-table-get-descriptor-line): Supply the new arguments to
5241         `org-find-row-type'.
5242         (org-table-error-on-row-ref-crossing-hline): New option.
5244         * org.el (org-target-link-regexp): Make buffer-local.
5245         (org-move-subtree-down): Fix bug with trees at beginning of
5246         buffer.
5248 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5250         * org-faces.el (org-set-tag-faces): New function.
5251         (org-tags-special-faces-re): New variable.
5253         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5255         * org-faces.el (org-tag-faces): New option.
5256         (org-tag): Mention `org-tag-faces' in the docstring.
5258 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5260         * org-exp.el (org-export-html-style-default): Implement new
5261         quoting.
5263         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5265         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5266         command to the `w3m-minor-mode-map'.
5268         * org-archive.el (org-archive-to-archive-sibling): Protect
5269         `this-command' to avoid appending kills during archiving.
5271         * org-exp.el (org-export-with-priority): New variable.
5272         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5273         instead of internal list of strings and properties.
5274         (org-print-icalendar-entries): Retrieve the location property with
5275         inheritance.
5277 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5279         * org-exp.el (org-export-with-todo-keywords): New option.
5280         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5281         line.
5282         (org-default-export-plist, org-export-add-options-to-plist)
5283         (org-export-as-ascii, org-export-as-html): Use the new structure
5284         of `org-export-plist-vars'.
5286         * org.el (org-map-entries): Return all values.
5288 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5290         * org.el (org-matcher-time): Recognize more special values.
5292         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5294 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5296         * org.el (org-tags-exclude-from-inheritance): New option.
5297         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5298         `org-tags-exclude-from-inheritance'.
5300         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5301         (org-format-agenda-item): Add inherited tags to the agenda line
5302         string, and make sure that properties are kept when downcasing the
5303         tags list.
5304         (org-agenda-add-inherited-tags): New function.
5305         (org-downcase-keep-props): New function.
5307         * org.el (org-scan-tags): Mark inherited tags with a text
5308         property.
5309         (org-get-tags-at): Mark inherited tags with a text property.
5310         (org-add-prop-inherited): New function.
5312         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5313         (org-agenda-show-inherited-tags): New option.
5315 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5317         * org.el (org-modules): Add org-w3m to the default modules.
5319         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5320         orgtbl-mode.
5321         (orgtabl-create-or-convert-from-region): New command.
5323         * org-exp.el (org-export-as-ascii): Remove the handling of
5324         targets.
5325         (org-export-ascii-preprocess): Handle targets already in this
5326         function.
5328 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5330         * org-timer.el (org-timer-start-time): Define this variable.
5331         (org-timer-item): Make argument optional.
5333         * org-list.el (org-insert-item): Automatically insert a timer item
5334         if the current list is a timer list.
5336         * org-timer.el: New file.
5338         * org-publish.el (org-publish-org-index): Only exclude the index
5339         file in the main directory from being added to the site-map.
5340         (org-publish-get-project-from-filename): If the current project is
5341         a component, start publishing from the parent project.
5343 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5345         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5347         * org-publish.el (org-publish-org-index): Improve removal of
5348         temporary buffers.
5350         * org-agenda.el (org-get-closed): Re-apply changes
5351         accidentially overwritten by last commit to Emacs.
5353         * org.el (org-outline-path-complete-in-steps): New option.
5354         (org-refile-get-location): Honor
5355         `org-outline-path-complete-in-steps'.
5356         (org-agenda-change-all-lines, org-tags-sparse-tree)
5357         (org-time-string-to-absolute, org-small-year-to-year)
5358         (org-link-escape): Re-apply changes accidentially overwritten
5359         by last commit to Emacs
5361 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5363         * org-clock.el (org-dblock-write:clocktable): Make sure the
5364         clocktable sees the first line.
5365         (org-clock-in): Warn if the clock cannot be resumed.
5367 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5369         * org.el (org-open-at-point): Fix mixup about interactive and
5370         non-interactive elisp links.
5372 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5374         * org-exp.el (org-export-preprocess-string): Allow one comment
5375         line before the first headline to always be included.  This is
5376         to not miss a commented target.
5378         * org-mouse.el (org-mouse-insert-item): Call
5379         `org-indent-to-column' instead of `indent-to', for XEmacs
5380         compatibility.
5382         * org.el (org-refile-targets): Fix customize definition so
5383         that it works also in XEmacs.
5384         (org-fixup-indentation): Call `org-indent-to-column' instead
5385         of `indent-to', for XEmacs compatibility.
5387 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5389         * org-mew.el (org-mew-store-link): Get the correct case folder
5390         for refiled messages.
5392 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5394         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5395         line break indicators.
5397         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5398         ido-completion propts.
5400 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5402         * org-remember.el (org-remember-apply-template): Use
5403         `org-substring-no-properties'.
5405         * org-compat.el (org-substring-no-properties): New function.
5407         * org-remember.el (org-remember-apply-template): Use
5408         `org-substring-no-properties' for compatibility.
5410         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5411         option.
5412         (org-fix-bullet-type): respect
5413         `org-list-two-spaces-after-bullet-regexp'.
5415         * org-clock.el (org-clock-load): Clean up the code.
5417         * org.el (org-adaptive-fill-function): Allow two spaces after
5418         "1." as a list bullet.
5420 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5422         * org-clock.el (org-clock-save, org-clock-load): Check for
5423         live buffers, existing files, and buffer file names to ensure
5424         consistent information.
5425         (org-clock-persist): Make `clock' a special value of this
5426         variable, and improve docstring.
5428         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5429         (org-get-string-indentation): Adapt indentation when the bullet
5430         width changes.
5432 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5434         * org-remember.el (org-remember-finalize): Make interactive.
5435         (org-remember-kill): New command.
5436         (org-remember-finish-immediately): Call `org-remember-finalize'
5437         directly.
5438         (org-remember-finalize): Make `org-remember-finalize' an interactive
5439         function.
5441 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5443         * org-remember.el (org-remember-apply-template): No ido completion
5444         for free prompts in remember templates.
5445         (org-remember-before-finalize-hook): New hook.
5446         (org-remember-mode): New minor mode.
5447         (org-remember-apply-template): Turn on `org-remember-mode'.
5449         * org-id.el (org-id-add-location): Avoid error when no file is
5450         given.
5452         * org-remember.el (org-remember-apply-template): Fix the way how
5453         the list of allowed properties is retrieved from the target file.
5455         * org.el (org-insert-link): Improve file link matching.
5457 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5459         * org-colview.el (org-columns-display-here): New argument
5460         DATELINE, to trigger using the new face.
5461         (org-agenda-colview-summarize): Call `org-columns-display-here'
5462         with the new argument.
5464         * org-faces.el (org-agenda-column-dateline): New face.
5466         * org-publish.el (org-publish-org-index): Use index-title at page
5467         title, not as section.
5469         * org-exp.el (org-export-html-format-desc): Respect the
5470         org-protect property.
5471         (org-export-as-html): Protect image specifiers that are in the
5472         description part of a link.
5474         * org.el (org-sort-entries-or-items, org-completing-read)
5475         (org-refile-get-location, org-olpath-completing-read, org-todo)
5476         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5477         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5478         (org-set-property, org-delete-property)
5479         (org-delete-property-globally): Use `org-ido-completing-read'.
5481         * org-remember.el (org-remember-apply-template): Use
5482         `org-ido-completing-read'.
5484         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5486         * org-colview.el (org-columns-edit-value, org-columns-new)
5487         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5489         * org-colview-xemacs.el (org-columns-edit-value)
5490         (org-columns-new, org-insert-columns-dblock): Use
5491         `org-ido-completing-read'.
5493         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5494         `org-ido-completing-read'.
5496         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5497         `org-ido-completing-read'.
5499         * org.el (org-time-today): New function.
5500         (org-matcher-time): Use `org-time-today'.  Add special treatment
5501         for "<tomorrow>" and "<yesterday>".
5502         (org-ido-completing-read): New function.
5503         (org-completion-use-ido): New option.
5505         * org-exp.el (org-export-format-source-code): Fix bug in require
5506         htmlize code.
5507         (org-export-target-internal-links): Fix bug in search for text
5508         property.
5510 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5512         * org-export-latex.el (org-export-latex-subcontent): Interprete
5513         target aliases as additonal labels.
5515         * org-exp.el (org-export-target-aliases): New variable.
5516         (org-export-preprocess-string)
5517         (org-export-handle-invisible-targets): Fill the alias alist.
5518         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5519         assign an id.
5520         (org-html-level-start): Insert the target aliases as additonal
5521         anchors.
5523         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5524         picture area.
5526 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5528         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5529         when following a link with the mouse from the agenda.
5531         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5532         headlines are created.
5534 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5536         * org-exp.el (org-export-preprocess-string): Reorder so that we
5537         can still see ID properties when we collect targets.
5538         (org-export-target-internal-links): Also store targets for ID's.
5540         * org.el (org-link-translation-function): New option.
5541         (org-open-at-point): Call `org-link-translation-function' if
5542         non-nil.
5543         (org-translate-link): New function.
5544         (org-translate-link-from-planner): New function.
5545         (org-open-at-point): Allow interactive commands in elisp links.
5547         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5548         iCalendar quoting.  The new one seems to caus problems with
5549         applications.
5551         * org.el (org-yank): Set `this-command' to `yank', so that
5552         `yank-pop' will work.
5554 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5556         * org-id.el (org-id-search-archives): New option.
5558         * org.el (org-link-to-org-use-id): New option.
5559         (org-store-link): Use `org-link-to-org-use-id'.
5560         (org-id): Make org-id.el a standard component.
5562 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5564         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5565         hexified version of the tag.
5567         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5568         compliance as far as quoting is concerned.
5570         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5572         * org.el (org-up-heading-safe, org-forward-same-level): Always
5573         call `org-back-to-heading' instead of `outline-back-to-heading'.
5574         (org-back-to-heading): New wrapper around outline-back-to-heading,
5575         with a useful error message telling where the error happened.
5577         * org-list.el (org-update-checkbox-count): Always call
5578         `org-back-to-heading' instead of `outline-back-to-heading'.
5580         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5581         has an `alt' attribute, to ensure XHTML validation.
5583 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5585         * org-publish.el (org-publish-attachment): Allow publishing to
5586         overwrite attachment files.
5588         * org-agenda.el (org-agenda-timerange-leaders): New option.
5589         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5591         * org.el (org-edit-src-exit): Untabify ASCII image before
5592         returning.
5605 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5607         * org.el (org-yank): Make any prefix force normal yanking.
5608         Suppress folding if text would be swallowed into a folded
5609         subtree.
5610         (org-yank-folded-subtrees, org-yank): Docstring updates.
5612         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5613         defined as 0.
5615         * org-exp.el (org-export-language-setup): Add Catalan and
5616         Esperanto language entries.
5618 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5620         * org.el (org-refile): Allow refiling of entire regions.
5622         * org-clock.el (org-clock-time%): New function.
5624         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5625         retrieve property values.
5627 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5629         * org-agenda.el (org-agenda-list): Handle the value `only' of
5630         org-agenda-show-log'.
5631         (org-agenda-log-mode): Interpret a double prefix arg.
5633 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5635         * org-exp.el (org-export-html-footnotes-section): New variable.
5636         (org-export-as-html): Use `org-export-html-footnotes-section' to
5637         insert the footnotes.
5638         (org-export-language-setup): Add "Footnotes" to language words.
5640 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5642         * org.el (org-yank): Fix bug when not inserting a subtree.
5644 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5646         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5647         instead of `vm-beginning-of-message'.
5649         * org.el (org-make-link-regexps): Make sure that links to gnus can
5650         contain brackets.
5652 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5654         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5655         code.
5657         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5658         shell output.
5660         * org.el (org-link-abbrev-alist): Improve customization type.
5662         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5663         functions.
5665         * org-agenda.el (org-agenda-get-progress): Renamed from
5666         `org-get-closed'.  Implement searching for state changes as well.
5667         (org-agenda-log-mode-items): New option.
5668         (org-agenda-log-mode): New option prefix argument, interpreted as
5669         request to show all possible progress info.
5670         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5671         `org-get-closed'.
5672         (org-agenda-set-mode-name): Handle the more complex log mode
5673         settings.
5674         (org-get-closed): New alias, pointing to `org-get-progress'.
5676 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5678         * org.el (org-file-apps-defaults-gnu)
5679         (org-file-apps-defaults-macosx)
5680         (org-file-apps-defaults-windowsnt): Add an entry defining the
5681         system command.
5682         (org-file-apps): Allow `system' as key and value.
5683         (org-open-at-point): Explain the effect of a double prefix arg.
5684         (org-open-file): If the argument `in-emacs' is (16),
5685         i.e. corresponding to a double prefix argument, try to open the
5686         file externally.
5688 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5690         * org.el (org-insert-link): Abbreviate absolute files names in
5691         links.  Also, fix a bug in which the double C-u prefix would not
5692         be honored.
5694 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5696         * org.el (org-insert-heading): If buffer does not end with a
5697         newline, add one if necessary to insert headline correctly.
5699         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5700         paragraphs, not inside.
5702         * org.el (org-todo): Quote
5703         `org-agenda-headline-snapshot-before-repeat'.
5705         * org-exp.el (org-export-as-html): Fully process link descriptions.
5706         (org-export-html-format-desc): New function.
5707         (org-export-as-html): Collect footnotes into the correct basket.
5708         (org-html-protect): No longer protect quotations marks here, this
5709         goes wrong.
5711         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5712         BEG.
5714         * org-compat.el (org-fit-window-to-buffer): New function (not
5715         really, a preliminary and incomplete version was present earlier,
5716         but not used).
5718         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5719         `org-fit-window-to-buffer'.
5721         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5723         * org-agenda.el (org-agenda-get-restriction-and-command)
5724         (org-fit-agenda-window, org-agenda-convert-date): Use
5725         `org-fit-window-to-buffer'.
5727         * org-exp.el (org-export-as-html): Process href links through
5728         `org-export-html-format-href'.
5729         (org-export-html-format-href): New function.
5731         * org-agenda.el (org-agenda-todo): Update only the current
5732         headline if this is a repeated TODO, marked done for today.
5733         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5734         only the current line.
5736         * org.el (org-todo): Take a snapshot of the headline if the
5737         repeater might change it.
5739 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5741         * org-publish.el (org-publish-find-title): Remove buffers visited
5742         only for extracting the title.
5744         * org-exp.el (org-export-html-style)
5745         (org-export-html-style-default): Mark style definitions as
5746         unparsed CDATA.
5748         * org-publish.el (org-publish-validate-link): Function
5749         re-introduced.
5751 2008-11-02  Charles Sebold  <csebold@gmail.com>
5753         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5754         property.
5755         (org-plot-quote-timestamp-field): New function.
5756         (org-plot-quote-tsv-field): Call timestamp field function when
5757         necessary rather than just quoting as a string.
5758         (org-plot/gnuplot-to-data): Pass in timefmt property.
5759         (org-plot/gnuplot-script): Supports timefmt property.
5760         (org-plot/gnuplot): Checks for timestamp column before checking
5761         for text index column.
5763 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5765         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5767         * org-publish.el (org-publish-org-index): Create a section in the
5768         index file.
5769         (org-publish-org-index): Stop linking to directories.
5771         * org.el (org-emphasis-alist): Use span instead of <u> to
5772         underline text.
5774         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5775         <pre> sections.
5777 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5779         * org-jsinfo.el (org-infojs-template): Remove language attribute
5780         from script tag.
5782 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5784         * org-agenda.el (org-agenda-remove-marked-text): New function.
5785         (org-agenda-mark-filtered-text)
5786         (org-agenda-unmark-filtered-text): New functions.
5787         (org-write-agenda): Remove fltered text.
5789         * org.el (org-make-tags-matcher): Give access to TODO "property"
5790         without speed penalty.
5792 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5794         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5795         option.
5796         (org-store-link-props): Make sure adding to the plist works
5797         correctly.
5799         * org-gnus.el (org-gnus-no-new-news): New function.
5800         (org-gnus-follow-link): Allow the article ID to be a message-id,
5801         in addition to allowing article numbers.  Message IDs make much
5802         more roubust links.
5803         (org-gnus-store-link): Use message-id to create link.
5805 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5807         * org.el (org-emphasize): Reverse the selection array.
5808         (org-emphasis-alist): Set <code> tags for the verbatim
5809         environment.
5811         * org-remember.el (org-remember-handler): Fix bug with
5812         prefix-related changing of the note storage target.
5814         * org-exp.el (org-print-icalendar-entries): Make the exported
5815         priorities compatible with RFC 2445.
5817         * org-clock.el (org-clock-save): Insert time stamp without
5818         dependence on time-stamp.el.
5820 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5822         * org.el ("saveplace"): If saveplace puts point into an invisible
5823         location, make it visible.
5824         (org-make-tags-matcher): Allow inactive time stamps in time
5825         comparisons.
5826         (org-yank-adjusted-subtrees): New option.
5827         (org-yank): Incorporate adjusting trees.
5828         (org-paste-subtree): New argument FOR-YANK which will cause
5829         insertion at point without backing up over white lines, and leave
5830         point at the end of the inserted text.  Also if the cursor is
5831         at the beginning of a headline, use the same level or the inserted
5832         tree.
5834         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5835         with broken symlinks
5837 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5839         * org-exp.el (org-export-select-tags, org-get-current-options):
5840         Fix typo.
5842 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5844         * org-agenda.el (org-format-agenda-item)
5845         (org-agenda-filter-make-matcher): Make sure tags are stored and
5846         compared donwcased.
5848 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5850         * org.el (org-insert-todo-heading): Fix bug with force-heading
5851         argument.
5853 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5855         * org-clock.el (org-clock-in-resume): Add a custom option to
5856         toggle starting the clock from an open clock line.
5857         (org-clock-in): When clocking in to an entry, if
5858         `org-clock-in-resume' is set, check if the first clock line is
5859         open and if so, start the clock from the time in the clock line.
5860         (org-clock-persist): Add a custom option to toggle clock
5861         persistence.
5862         (org-clock-persist-query-save): Add a custom option to toggle
5863         asking the user if they want to save the running clock when
5864         exiting.
5865         (org-clock-persist-query-resume): Add a custom option to toggle
5866         asking the user if they want to resume the saved clock when Emacs
5867         is restarted.
5868         (org-clock-save): Add a function to save clock data.
5869         This includes the contents of `org-clock-history' and the buffer
5870         and position of the currently clocked task, if any.
5871         (org-clock-load): Add a function to load clock data.
5872         This populates `org-clock-history', and resumes the saved clocked
5873         task if there is one.
5874         (org-clock-persistence-insinuate): Add a method to set up the
5875         hooks for clock persistence.
5877 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5879         * org-exp.el (org-export-as-ascii): Handle the case that we are
5880         publishing from an indirect buffer.
5882         * org-table.el (org-table-copy-down): Fix bug with time stamp
5883         increment.
5885         * org-mouse.el (org-mouse-features): New option.
5886         (org-mode-hook): Turn on features depending on
5887         `org-mouse-features'.
5889         * org.el (org-insert-heading-respect-content): Force heading
5890         creation.
5891         (org-insert-heading): keep the folding state of the heading before
5892         the inserted one.
5894 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5896         * org-archive.el (org-archive-to-archive-sibling): Handle top
5897         level headlines better.
5899 2008-10-21  Bastien Guerry  <bzg@altern.org>
5901         * org-export-latex.el (org-export-latex-classes): Added
5902         \usepackage{graphicx} to the default list of packages.
5904 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5906         * org-agenda.el (org-agenda-filter): Renamed from
5907         `org-agenda-filter-tags'.
5909 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5911         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5912         is not defined as a property in this entry.
5913         (org-add-log-note): Mask prefix argument when immediately storing
5914         the note.
5916         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5917         option.
5919 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5921         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5922         after drawers was skipping ahead one line too many, so notes were
5923         inserted after the first note instead of before it.
5925 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5927         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5928         New variables.
5929         (org-prepare-agenda): Reset the filter tags.
5930         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5931         Show filter tags in mode line.
5933         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5934         formatter.
5936         * org-export-latex.el (org-latex-entities-regexp): New constant.
5937         (org-export-as-pdf): Use two calls to `shell-command'.
5939 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5941         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5942         Honor the {} value of the subsuperscript setting.  Make sure that
5943         longer subsuperscripts are typeset in a roman font.
5945         * org.el (org-clock-update-time-maybe): Compute negative clock
5946         intervals correctly.
5948 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5950         * org.el (org-add-log-setup): Respect
5951         `org-log-state-notes-insert-after-drawers'.
5952         (org-log-state-notes-insert-after-drawers): New option.
5953         (org-todo-trigger-tag-changes): New function.
5954         (org-todo): Call `org-todo-trigger-tag-changes'.
5956 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5958         * org.el (org-add-log-setup): Only skip drawers if the are
5959         immediately after the scheduling keywords.
5961         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5962         function
5963         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5964         call it with the current todo state to get the state to switch to
5965         when clocking in.
5966         (org-clock-in): Use org-indent-line-function to indent clock lines.
5967         (org-clock-find-position): Fix indentation of empty clock drawers.
5969 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5971         * org-publish.el (org-publish-org-to): Handle case when
5972         org-export-to-pdf does return a file name, not a buffer.
5973         (org-publish-org-to-pdf): New function.
5975         * org-export-latex.el (org-export-as-pdf)
5976         (org-export-as-pdf-and-open): New commands.
5978         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5979         forms as ranges.
5981         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5982         things in protexted regions.
5984 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5986         * org-export-latex.el (org-export-latex-preprocess): Improve
5987         quoting of LaTeX environments.
5989 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5991         * org.el (org-edit-fixed-width-region): Exclude final newline from
5992         picture area.
5994         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5995         sections, to make internal links work.
5996         (org-export-latex-fontify-headline): Do not remove all text
5997         properties, to make sure that target properties survive this
5998         process.
6000         * org-exp.el (org-export-preprocess-string): Change sequence of
6001         modifications, to make sure links are prepared before the LaTeX
6002         conversions do happen.
6004 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6006         * org-attach.el (org-attach-delete-all): Renamed from
6007         `org-attch-delete'.  Add a security query before deleting the
6008         entire directory.  New optional argument FORCE can overrule the
6009         security query.
6010         (org-attach-delete-one): New command.
6012 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6014         * org-attach.el (org-attach-file-list): Fix bug with directory.
6016 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6018         * org.el (org-apps-regexp-alist): New function.
6019         (org-file-apps): Add auto-mode to the default value.
6020         (org-open-file): Use the new structure of org-file-apps.
6022         * org-attach.el (org-attach): Support the new keys.
6023         (org-attach-method): New option.
6025 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6027         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6028         March.
6030         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6031         of the list value o `org-use-tag-inheritance'.
6033         * org-attach.el (org-attach-auto-tag): New option.
6034         (org-attach-tag, org-attach-untag): New functions.
6035         (org-attach-attach, org-attach-new, org-attach-sync): Call
6036         `org-attach-tag'.
6037         (org-attach-delete): Call `org-attach-untag'.
6039 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6041         * org-table.el (orgtbl-self-insert-command): Make this work for
6042         the keypad as well.
6044 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6046         * org.el (org-add-log-setup): Limit searc for drawers to entry
6047         text, not to subtree.
6049         * org-clock.el (org-clock-heading-for-remember): New variable.
6050         (org-clock-in): Set `org-clock-heading-for-remember'.
6052 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6054         * org-remember.el (org-remember-apply-template): Add new
6055         expansions: %k, %K for currently clocked task and a link to the
6056         currently clocked task, and %< to file notes in the currently
6057         clocked task.
6059 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6061         * org-export-latex.el (org-export-latex-make-header): Also insert
6062         the content of the property :latex-header-extra.
6064         * org-exp.el (org-infile-export-plist): Put the content of
6065         #+LATEX_HEADER: into the property :latex-header-extra.
6067         * org-colview.el (org-columns-get-format-and-top-level): Remove
6068         resetting the marker.
6070         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6071         Remove resetting the marker.
6073         * org.el (org-entry-property-inherited-from): Improve docstring.
6074         (org-entry-get-with-inheritance): Reset marker before starting the
6075         search.
6077         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6079 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6081         * org.el (org-entry-get-multivalued-property)
6082         (org-entry-protect-space, org-entry-restore-space): New
6083         functions.
6084         (org-file-apps-defaults-macosx): Let postscript files be opened by
6085         preview.
6086         (org-time-stamp-inactive): Call `org-time-stamp'.
6087         (org-time-stamp): New argument `inactive'.  Also edit inacive
6088         stamps. Convert time stamp type.
6089         (org-open-file): Interpret the `default' value for the `command'
6090         in `org-file-apps'.
6092         * org-id.el (org-id-int-to-b36-one-digit)
6093         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6094         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6095         b36.
6097 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6099         * org-id.el (org-id-reverse-string): New function.
6100         (org-id-new): Use `org-id-reverse-string' to make sure the
6101         beginning chars of the ID are mutating fast.  This allows to use a
6102         directory structure to spread things better.
6103         (org-id-prefix): Changed default to nil.
6105         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6106         restore the column of the cursor position.
6108         * org-remember.el (org-remember-apply-template): Remove properties
6109         from `initial'.
6111 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6113         * org-wl.el (org-wl-open): Remove useless call to
6114         `wl-thread-open-all'.
6116         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6117         location.
6119 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6121         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6122         `org-bbdb-anniversaries'.
6124         * org.el (org-get-next-sibling, org-forward-same-level): New
6125         functions, similar to the outline versions, but invisible headings
6126         are OK.
6128 2008-09-25  Bastien Guerry  <bzg@altern.org>
6130         * org.el (org-auto-repeat-maybe): Insert a space between
6131         the timestamp's type and the timestamp itself.
6133 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6135         * org-table.el (org-table-sum): Do not format the result with %g,
6136         it does rounding when there are too many digits.
6138         * org.el (org-map-entries): Protect the keyword-selecting variables.
6140 2008-09-23  Bastien Guerry  <bzg@altern.org>
6142         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6143         against all agenda files.
6145 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6147         * org-list.el: New file, aggregating list functions from org.el
6148         and org-export-latex.el.
6150         * org.el (org-edit-src-region-extra): New option.
6152 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6154         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6155         time before 1am.
6157 2008-09-22  Bastien Guerry  <bzg@altern.org>
6159         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6161 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6163         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6164         hline work correctly.
6165         (org-plot/gnuplot-script): Put commas at the end of each script
6166         line.
6168 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6170         * org.el (org-get-refile-targets): Replace links with their
6171         descriptions
6172         (org-imenu-get-tree): Replace links with their descriptions.
6174         * org-remember.el (org-remember-apply-template): Add a new
6175         expansion for adding properties to remember items.
6177         * org.el (org-add-log-setup): Skip over drawers (properties,
6178         clocks etc) when adding notes.
6180         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6181         items as well as the start and end times.
6183         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6184         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6186         * org-remember.el (org-get-x-clipboard): Use the compat
6187         function to get clipboard values when x-selection-value is
6188         unavailable. Use substring-no-properties instead of
6189         set-text-properties to remove text properties from the clipboard
6190         value.
6192         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6193         modeline clock string, and display the full todo value in the
6194         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6195         the currently clocked task.
6196         (org-clock-string-limit): Add a custom value for the maximum
6197         length of the clock string in the modeline.
6198         (org-clock-mode-map): Add a keymap for the modeline string
6200 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6202         * org-compat.el (org-propertize): New function.
6204 2008-09-20  Bastien Guerry  <bzg@altern.org>
6206         * org-export-latex.el (org-export-latex-tables): protect exported
6207         tables from further special chars conversion.
6208         (org-export-latex-preprocess): Preserve LaTeX environments.
6209         (org-list-parse-list): Parse descriptive lists.
6210         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6211         (org-list-to-texinfo): Export descriptive lists.
6212         (org-quote-chars): Remove.
6213         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6214         (org-export-latex-list-beginning-re): Rename to
6215         `org-list-beginning-re'
6216         (org-list-item-begin): Rename to `org-list-item-beginning'
6218 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6220         * org.el (org-refile): Allow refiling to the last entry in the
6221         buffer.
6222         (org-get-tags-at): Fix bug when inheritance is turned off.
6224 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6226         * org.el (org-indent-line-function): No longer check for src
6227         regions, this is too much overhead.
6229         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6230         matching.
6232         * org.el (org-scan-tags): Make sure that tags matching is not case
6233         sensitive.  TODO keyword matching is case sensitive, however, to
6234         avoid confusion with similar words that are not meant to be
6235         keywords.
6237 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6239         * org.el (org-get-local-tags-at): New function.
6240         (org-get-local-tags): New function.
6242         * org-exp.el (org-export-get-categories): New function.
6244         * org-agenda.el (org-sorting-choice)
6245         (org-agenda-sorting-strategy, org-agenda-get-todos)
6246         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6247         (org-agenda-get-scheduled, org-agenda-get-blocks)
6248         (org-entries-lessp): Implement sorting by TODO state.
6249         (org-cmp-todo-state): New defsubst.
6251         * org-colview.el (org-colview-construct-allowed-dates): New
6252         function.
6253         (org-columns-next-allowed-value): Use
6254         `org-colview-construct-allowed-dates'.
6256         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6257         function.
6258         (org-columns-next-allowed-value): Use
6259         `org-colview-construct-allowed-dates'.
6261 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6263         * org.el (org-protect-slash): New function.
6264         (org-get-refile-targets): Use `org-protect-slash'.
6266         * org-agenda.el (org-global-tags-completion-table): New variable.
6268         * org-exp.el (org-export-handle-export-tags): New function.
6269         (org-export-preprocess-string): Call
6270         `org-export-handle-export-tags'.
6272         * org-plot.el: New file.
6274         * org-publish.el (org-publish-expand-components): Function removed.
6275         (org-publish-expand-projects): Allow components to have components.
6277 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6279         * org.el (org-indent-line-function): Do not indent in regions that
6280         are external source code.
6281         (org-yank-and-fold-if-subtree): New function.
6283         * org-agenda.el (org-agenda-todayp): New function.
6284         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6285         `org-agenda-todayp'.
6287         * org.el (org-insert-heading-respect-content)
6288         (org-insert-todo-heading-respect-content): New commands.
6289         (org-insert-heading-respect-content): New option.
6290         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6292         * org-clock.el (org-clock-find-position): Make sure the note after
6293         the clock line gets moved into the new clock drawer.
6295 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6297         * org-id.el (org-id-new): New option.
6299 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6301         * org-table.el (org-table-copy-down): Avoid overflow during
6302         increment.  Use prefix argument 0 to temporarily disable the
6303         increment.
6305 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6307         * org-exp.el (org-export-as-html): Do not turn on the major mode
6308         if the buffer will be killed anyway.
6309         (org-get-current-options): Exclude the #+TEXT field.
6310         (org-export-as-html): Make sure text before the first headline is
6311         a paragraph.
6313         * org-publish.el (org-publish-org-to): Tell the exporter that this
6314         buffer will be killed, so it is not necessary to do major mode
6315         initialization.
6317         * org-archive.el (org-archive-to-archive-sibling): Show empty
6318         lines after folding the archive sibling.
6320         * org.el (org-log-note-extra): New variable.
6322 2008-09-05  Bastien Guerry  <bzg@altern.org>
6324         * org.el (org-additional-option-like-keywords): Added keywords for
6325         the _QUOTE, _VERSE and _SRC environments.
6327         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6328         exporting _QUOTE and _VERSE environments.
6330 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6332         * org-agenda.el (org-agenda-filter-by-tag): New command.
6334         * org-exp.el (org-get-current-options): Remove angular brackets
6335         from the date entry.
6337         * org.el (org-edit-fixed-width-region): New function.
6338         (org-edit-fixed-width-region): Also try
6339         `org-edit-fixed-width-region'.
6340         (org-edit-fixed-width-region-mode): New option.
6341         (org-activate-code): Only interprete lines starting with colon
6342         plus a space as example lines.
6344         * org-remember.el (org-remember-templates): Add nil instead of
6345         empty strings to fix the length of remember templates.
6347         * org-table.el (org-calc-default-modes): Fix the time format for
6348         calc, from 12 hour to 24 hour clock.
6350 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6352         * org-agenda.el (org-agenda-get-deadlines)
6353         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6354         entries that are pre-warnings of deadlines or reminders.
6356         * org.el (org-sort-entries-or-items): Make numeric and alpha
6357         comparisons ignore any TODO keyword and priority cookie.
6359         * org-remember.el (org-remember-handler): Reinterpretation of the
6360         prefix argument.
6362 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6364         * org-agenda.el (org-agenda-get-scheduled): Use new
6365         `org-scheduled' face.
6367         * org-faces.el (org-scheduled): New face.
6369         * org-wl.el (org-wl-open): Remove incorrect declaration.
6371         * org-gnus.el (org-gnus-store-link): Support for :to information
6372         in gnus links.
6374         * org-exp.el (org-export-as-html): Fixed typo in creator
6375         information.
6376         (org-export-protect-examples): New parameter indent.  Insert extra
6377         spaces only when this parameter is specified.
6378         (org-export-preprocess-string): Call `org-export-protect-examples'
6379         with an indentation parameter when exporting to ASCII.
6381         * org-remember.el (org-remember-templates)
6382         (org-remember-apply-template): Allow the file component to be a
6383         function.
6385         * org.el (org-goto-local-search-headings): Renamed from
6386         `org-goto-local-search-forward-headings'.  Added the possibility
6387         to search backwards.
6389 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6391         * org-export-latex.el (org-export-latex): New customization
6392         group.
6394         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6396 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6398         * org-exp.el (org-html-do-expand): Allow {} to terminate
6399         tex macro
6401 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6403         * org.el (org-buffer-list): Select buffers based on major mode,
6404         not on file name.
6406 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6408         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6409         face property.
6411         * org-colview.el (org-columns-display-here): Use
6412         `org-columns-modify-value-for-display-function'.
6414         * org-colview-xemacs.el (org-columns-display-here): Use
6415         `org-columns-modify-value-for-display-function'.
6417 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6419         * org.el (org-columns-modify-value-for-display-function): New option.
6431         * org-publish.el (org-publish-file): Make sure the directory match
6432         for the publishing directory works correctly.
6434         * org-agenda.el (org-agenda-execute-calendar-command)
6435         (org-agenda-diary-entry): Additional optional argument.
6437 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6439         * org-exp.el (org-export-as-html): Add attributes also in mailto
6440         and ftp links.
6442         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6451 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6453         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6454         sure that calls from `org-export-region-as-html' do not do the
6455         special check for a subtree.
6457 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6459         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6461 2008-07-20  Juri Linkov  <juri@jurta.org>
6463         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6464         new keymap `narrow-map' instead of binding "\C-xns".
6466 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6468         * org.el (org-open-file): Use
6469         `org-open-directory-means-index-dot-org'.
6470         (org-open-directory-means-index-dot-org): New option.
6472 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6474         * org.el (org-make-link-string): Remove link attributes from
6475         description.
6476         (org-open-at-point): Remove link attributes bevore using the path.
6478         * org-exp.el (org-export-as-html): Handle link attributes.
6480         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6482         * org-table.el (org-table-to-lisp): New function.
6484         * org.el (org-narrow-to-subtree): Do not include the final newline
6485         into the narrowed region.
6487         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6488         bug with user-define skipping condition.
6490 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6492         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6494 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6496         * org-exp.el (org-export-html-style-default): Automatic overflow
6497         handling for pre fields.
6498         (org-export-as-ascii, org-export-as-html): Change default format
6499         for time stamp.
6501         * org-table.el (org-table-export): Offer completion for translator
6502         functions, and do not require a heading above the table.
6504         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6505         Cater for the case of a list starting in the first line of the
6506         buffer.
6508 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6510         * org-publish.el (org-publish-find-title): Bug fix.
6511         (org-publish-org-index): Implement new :index-style option.
6513 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6515         * org-publish.el (org-publish-timestamp-filename): Use
6516         SHA1-encoded file names in the timestamp directory.
6518 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6520         * org-publish.el (org-publish-needed-p): Be verbose about files
6521         published and files skipped.
6523         * org-exp.el (org-export-preprocess-string): Swap link
6524         normalization and inernal link targeting.
6526         * org-publish.el (org-publish-needed-p): Create timestamp
6527         directory when it does not exist.
6529 2008-07-04  Bastien Guerry  <bzg@altern.org>
6531         * org-clock.el (org-clock-out-when-done): Doc fix.
6533         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6535         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6536         Ignore case when searching for the COMMENT cookie at export time.
6538 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6540         * org-exp.el (org-get-file-contents)
6541         (org-get-and-remove-property): New functions.
6542         (org-export-handle-include-files): Handle the new prefix options.
6543         (org-export-as-html): Fix the verse environment.
6545 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6547         * org.el (org-time=, org-time<, org-time<=, org-time>)
6548         (org-time>=, org-time<>, org-2ft): New functions.
6549         (org-op-to-function): Also provide for the time testing fucntions.
6551 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6553         * org-exp.el (org-export-html-style-default): New constant.
6555 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6557         * org-exp.el (org-export-html-style-extra): New variable.
6558         (org-export-splice-style): New function.
6560 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6562         * org-exp.el (org-export-plist-vars, org-export-as-html):
6563         Implement `org-export-creator-info'.
6564         (org-export-creator-info): New option.
6566 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6568         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6569         (org-property-drawer-re, org-clock-drawer-re): New constants.
6571 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6573         * org-exp.el (org-icalendar-use-deadline)
6574         (org-icalendar-use-scheduled): New options.
6575         (org-icalendar-include-todo): Default changed to t.
6576         (org-print-icalendar-entries): Implement better utilization of
6577         scheduling and deadline time stamps.
6578         (org-export-target-internal-links, org-export-as-html): Allow file
6579         lines without the "file:" prefix if the file path is an absolute
6580         path or starts with ".".
6582         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6583         lastweek etc.
6584         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6586 2008-06-18  Glenn Morris  <rgm@gnu.org>
6587         * org.el (org-map-entries): Let-bind `file'.
6589 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6591         * org.el (org-agenda-skip-archived-trees): Docstring now
6592         discourages using this.
6593         (org-scan-tags): Check for org-agenda-archives-mode.
6594         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6595         (org-agenda-files): Functionality of second arg changed.
6597         * org-agenda.el (org-agenda-archives-mode): New variable
6598         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6599         (org-search-view, org-todo-list, org-tags-view)
6600         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6601         `ifmode' argument.
6602         (org-agenda-quit): Reset the archives mode.
6603         (org-agenda-archives-mode): New command.
6604         (org-agenda-set-mode-name): Include archives info.
6606 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6608         * org.el (org-paste-subtree): Make sure the yanked headline is
6609         visible if it was yanked at a visible point.
6610         (org-move-item-up): Fix the bug with moving white space at the end
6611         of the item.
6612         (org-show-empty-lines-in-parent): New function.
6614 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6616         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6618         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6620         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6621         agenda prefix as well.
6623         * org-publish.el (org-publish-org-index): Make a properly indented
6624         list.
6626         * org.el (org-calendar-agenda-action-key): New option.
6627         (org-get-cursor-date): New function.
6628         (org-mark-entry-for-agenda-action): New command.
6629         (org-overriding-default-time): New variable.
6630         (org-read-date): Respect `org-overriding-default-time'.
6632         * org-remember.el (org-remember-apply-template): Respect the
6633         ovverriding default time.
6635         * org-agenda.el (org-agenda-action-marker): New variable.
6636         (org-agenda-action): New command.
6637         (org-agenda-do-action): New function.
6639 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6641         * org.el (org-schedule, org-deadline): Protect scheduled and
6642         deadline tasks against changes that accidently remove the
6643         repeater.  Also show a message with the new date when done.
6645 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6647         * org.el (org-beginning-of-line): Cater for the case when there
6648         are tags but no headline text.
6649         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6650         it set.
6652 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6654         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6655         the return value is nil instead of "nil" when there is no match.
6657         * org-exp.el (org-insert-centered): Use fill-column instead of
6658         80.
6659         (org-export-as-ascii): Use string-width to measure the width of
6660         the heading.
6662         * org.el (org-diary-to-ical-string): No longer kill buffer
6663         FROMBUF, this is now done by the caller.
6665         * org-exp.el (org-print-icalendar-entries): Move the call to
6666         `org-diary-to-ical-string' out of the loop, and kill the buffer
6667         afterwords.
6669         * org-remember.el (org-remember-visit-immediately): Position
6670         cursor after moving to the note.
6671         (org-remember-apply-template): Use a text property to record the
6672         cursor position.
6673         (org-remember-handler): Align tags after pasting the note.
6675 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6677         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6679         * org-agenda.el (org-agenda-open-link): If there is an
6680         org-bbdb-name property in the current line, jump to that bbdb
6681         entry.
6683         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6684         text property, so that the agenda knows where this entry comes
6685         from.
6687         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6688         interaction between clocking-in from the agenda, and  automatic
6689         task state switching.
6691         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6693         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6694         zmacs-region stays after this command in XEmacs.
6696 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6698         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6700         * org-remember.el (org-remember-templates): Fix bug in
6701         customization type definition.
6703         * org.el (org-map-entries): New function.
6705 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6707         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6708         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6710 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6712         * org-remember.el (org-jump-to-target-location): New variable.
6713         (org-remember-apply-template): Set
6714         `org-remember-apply-template' if requested by template.
6715         (org-remember-handler): Start an idle timer to jump to
6716         remember location.
6718         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6720         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6721         file tags.
6722         (org-get-tags-at): Add the content of `org-file-tags'.
6724         * org-exp.el (org-export-handle-comments): Fix bug with several
6725         comment lines after each other.
6726         (org-number-to-roman, org-number-to-counter): New functions.
6727         (org-export-section-number-format): New option.
6729 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6731         * org-exp.el (org-export-protect-examples): Catch the case of a
6732         missing end_example line.
6734         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6735         `org-file-tags' to nil.
6737         * org-colview.el (org-columns-next-allowed-value): Handle next
6738         argument NTH to directly select a value.
6740         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6741         argument NTH to directly select a value.
6743 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6745         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6747 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6749         * org.el (org-columns-ellipses): New option.
6751 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6753         * org-colview.el (org-columns-add-ellipses): New function.
6754         (org-columns-compact-links): New function.
6755         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6756         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6757         when in agenda.
6758         (org-columns-edit-value): Fixed bug with editing values from
6759         agenda column view.
6760         (org-columns-redo): Also redo the agenda itself.
6762 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6764         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6765         option.
6767         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6769         * org-exp.el (org-export-ascii-preprocess): Renamed from
6770         `org-export-ascii-clean-string'.
6771         (org-export-kill-licensed-text)
6772         (org-export-define-heading-targets)
6773         (org-export-handle-invisible-targets)
6774         (org-export-target-internal-links)
6775         (org-export-remove-or-extract-drawers)
6776         (org-export-remove-archived-trees)
6777         (org-export-protect-quoted-subtrees)
6778         (org-export-protect-verbatim, org-export-protect-examples)
6779         (org-export-select-backend-specific-text)
6780         (org-export-mark-blockquote-and-verse)
6781         (org-export-remove-comment-blocks-and-subtrees)
6782         (org-export-handle-comments, org-export-mark-radio-links)
6783         (org-export-remove-special-table-lines)
6784         (org-export-normalize-links)
6785         (org-export-concatenate-multiline-links)
6786         (org-export-concatenate-multiline-emphasis): New functions,
6787         obtained from spliiting the export preprocessor.
6789         * org-table.el (org-table-recalculate): Improve error message if
6790         the row number is invalid.
6792 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6794         * org-archive.el (org-archive-save-context-info): Fix bugs in
6795         customization setup and docstring.
6797         * org-exp.el (org-export-html-style): Changed the size of in the
6798         <pre> element to 90%.
6800 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6802         * org.el (org-find-src-example-start): Function removed.
6803         (org-edit-src-find-region-and-lang): New function.
6805 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6807         * org.el (org-edit-src-exit): New function.
6808         (org-exit-edit-mode): New minor mode.
6810         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6811         comment-like lines from protected examples.
6813         * org.el (org-edit-src-example, org-find-src-example-start)
6814         (org-protect-source-example, org-edit-special): New functions.
6816 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6818         * org-publish.el (org-publish-project-alist): Fix typo in
6819         docstring.
6820         (org-publish-project-alist): Handle :index-title property.
6822 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6824         * org-export-latex.el (org-export-as-latex): Make sure region
6825         bounds are correct.  Parse subtree properties relating to export.
6827         * org-exp.el (org-export-add-options-to-plist): New function.
6828         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6830 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6832         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6833         EXPORT_TITLE.
6835         * org-exp.el (org-export-get-title-from-subtree)
6836         (org-export-as-ascii, org-export-as-html): Make sure the original
6837         region-beginning and region-end are used, even after moving
6838         point.
6839         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6840         property.
6842         * org-remember.el (org-remember-last-stored-marker): New variable.
6843         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6844         (org-remember-handler): Also use marker to remember
6845         last-stored position.
6847         * org.el (org-goto-marker-or-bmk): New function.
6849 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6851         * org.el (org-file-properties): Renamed from `org-local-properties'.
6852         (org-scan-tags): Take file tags into account.
6853         (org-tags-match-list-sublevels): Default changed to t.
6855         * org-exp.el (org-export-as-html): Close paragraph after a
6856         footnote.
6858         * org.el (org-update-parent-todo-statistics): New function.
6860         * org-exp.el (org-icalendar-store-UID): New option.
6861         (org-icalendar-force-UID): Option removed.
6862         (org-print-icalendar-entries): IMplement UIDs.
6864 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6866         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6868 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6870         * org-faces.el (org-column): Document how this face is being used
6871         and why sometimes the background faces shine through.
6873         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6875         * org-publish.el (org-publish-attachment): Create publishing
6876         directory if it does not yet exist.
6878         * org-table.el (org-calc-default-modes): Change default number
6879         format to (float 8).
6881         * org.el (org-olpath-completing-read): New function.
6882         (org-time-clocksum-format): New option.
6883         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6885         * org-clock.el (org-clock-display, org-clock-out)
6886         (org-update-mode-line): Use `org-time-clocksum-format'.
6888         * org-colview-xemacs.el (org-columns-number-to-string): Use
6889         `org-time-clocksum-format'.
6891         * org-colview.el (org-columns-number-to-string): Use
6892         `org-time-clocksum-format'.
6894 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6896         * org-id.el: New file, move from contrib to core.
6898         * org-exp.el (org-icalendar-force-UID): New option.
6900 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6902         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6903         shifted by one day if theere is a date range without an end
6904         time.
6906         * org.el (org-try-structure-completion): New function.
6908 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6910         * org.el (org-set-font-lock-defaults): Improve fontification of
6911         description lists.
6912         (org-insert-item): Handle description lists.
6913         (org-adaptive-fill-function): Improve auto indentation in
6914         description lists.
6916         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6917         Implement VERSE environment.
6918         (org-export-preprocess-string): Implement the COMMENT
6919         environment.
6921         * org-export-latex.el (org-export-latex-preprocess): Implement
6922         VERSE environment.
6924 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6926         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6927         option.
6929 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6931         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6933         * org.el (org-quote-csv-field): New functions.
6935         * org-table.el (org-table-export-default-format): Remove :splice
6936         from default format, we get the same effect by not specifying
6937         :tstart and :tend.
6938         (org-table-export): Improve setup, distinguish better between
6939         interactive and non-interactive use, allow specifying the format
6940         on the fly, better protection against wrong file names.
6941         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6942         and :tend when :splice is omitted.
6944 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6946         * org-clock.el (org-clock-select-task): Make sure the selection
6947         letters are 1-9 and A-Z, no special characters.
6949 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6951         * org-exp.el (org-export-htmlize): New group.
6952         (org-export-htmlize-output-type)
6953         (org-export-htmlize-css-font-prefix): New options.
6954         (org-export-htmlize-region-for-paste): New function.
6955         (org-export-htmlize-generate-css): New command.
6957 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6959         * org/org.el (org-modules, org-format-latex-options):
6960         * org/org-archive.el (org-archive-stamp-time)
6961         (org-archive-save-context-info):
6962         * org/org-faces.el (org-hide):
6963         * org/org-irc.el (org-irc-parse-link):
6964         * org/org-macs.el (org-call-with-arg, org-autoload):
6965         * org/org-mew.el (org-mew-store-link):
6966         * org/org-remember.el (org-remember-store-without-prompt)
6967         (org-remember-templates): Fix typos in docstrings.
6969         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6971         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6972         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6973         (org-bbdb-anniv-split): Fix typos in docstrings.
6975         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6976         (org-publish-use-timestamps-flag): Reflow docstring.
6977         (org-publish-files-alist): Fix typos in docstring.
6979 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6981         * org.el (org-set-visibility-according-to-property): New function.
6982         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6983         and compute the regular expressions, and update font-lock.
6984         (org-property-re): Allow a dash in property names.
6986         * org-archive.el (org-extract-archive-file): Insert the file name
6987         without the path into the format, to allow the location format to
6988         contain a subdirectory.
6990         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6991         of buffer, and the `org-agenda-type' property undefined, use the
6992         value from the character before.
6994         * org.el (org-add-planning-info): Don't let indentation for
6995         would-be timestamp become extra whitespace at the end of headline.
6997 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6999         * org.el (org-remove-double-quotes, org-file-contents): New
7000         functions.
7002         * org-exp.el (org-infile-export-plist): Also parse the
7003         contents of #+SETUPFILE files, recursively.
7005         * org.el (org-set-regexps-and-options): Also parse the
7006         contents of #+SETUPFILE files, recursively.
7008         * org-exp.el (org-export-handle-include-files): New function.
7009         (org-export-preprocess-string): Call
7010         `org-export-handle-include-files'.
7012         * org.el (org-delete-property-globally)
7013         (org-delete-property, org-set-property): Ignore case during
7014         completion.
7015         (org-set-property): Use `org-completing-read' instead of
7016         `completing-read'.
7018         * org.el (org-complete-expand-structure-template): New,
7019         experimental function.
7020         (org-structure-template-alist): New, experimental option.
7021         (org-complete): Call `org-complete-expand-structure-template'.
7023 2008-05-06  Bastien Guerry  <bzg@altern.org>
7025         * org-export-latex.el (org-export-latex-preprocess): Added
7026         support for blockquotes.
7028 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7030         * org.el (org-read-date-analyze): Catch the case where only a
7031         weekday is given.
7033 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7035         * org.el (org-set-font-lock-defaults): Make the description
7036         tag bold.
7038         * org-exp.el (org-export-as-html, org-close-li): Implement
7039         description lists.
7041 2008-05-04  Jason Riedy  <jason@acm.org>
7043         * org-table.el (*orgtbl-default-fmt*): New variable.
7044         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7045         when there is no other fmt available.
7047         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7048         :tend to suppress the appropriate string.
7050         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7051         table.
7053 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7055         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7056         read date.
7058         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7059         New function.
7061         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7062         New function.
7064 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7066         * org-clock.el (org-clock-find-position): Don't include notes
7067         into clock drawer.
7069         * org-archive.el (org-archive-subtree): No longer remove an
7070         extra line after cutting the subtree.  `org-cut-subtree' already
7071         takes care of this.
7073         * org-remember.el (org-remember-handler): Only kill the target
7074         buffer if it does not contain the running clock.
7076         * org.el (org-markers-to-move): New variable.
7077         (org-save-markers-in-region, org-check-and-save-marker)
7078         (org-reinstall-markers-in-region): New function.
7079         (org-move-subtree-down, org-copy-subtree): Remember relative
7080         marker positions before cutting.
7081         (org-move-subtree-down, org-paste-subtree): Restore relative
7082         marker positions after pasting.
7084         * org-remember.el (org-remember-clock-out-on-exit): New option.
7085         (org-remember-finalize): Clock out only if the setting in
7086         `org-remember-clock-out-on-exit' requires it.
7087         (org-remember-handler): Do the cleanup in the buffer, to make sure
7088         that the clock marker remains in tact.
7090 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7092         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7093         (org-clock-in): Make sure that also tasks outside the narrowed
7094         region will be clocked in correctly.
7095         (org-clock-insert-selection-line): Widen the buffer so that we can
7096         find the correct task heading.
7098         * org.el (org-base-buffer): New function.
7100         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7101         and ";" are escaped.
7102         (org-print-icalendar-entries): Also apply
7103         `org-icalendar-cleanup-string' to the headline, not only to the
7104         summary property.
7106 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7108         * org-exp.el (org-export-preprocess-hook): New hook.
7109         (org-export-preprocess-string): Call
7110         `org-export-preprocess-hook'.
7112         * org.el (org-font-lock-hook): New variable.
7113         (org-font-lock-hook): New function.
7114         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7116 ;; Local Variables:
7117 ;; coding: utf-8
7118 ;; add-log-time-zone-rule: t
7119 ;; End:
7121     Copyright (C) 2008  Free Software Foundation, Inc.
7123   This file is part of GNU Emacs.
7125   GNU Emacs is free software: you can redistribute it and/or modify
7126   it under the terms of the GNU General Public License as published by
7127   the Free Software Foundation, either version 3 of the License, or
7128   (at your option) any later version.
7130   GNU Emacs is distributed in the hope that it will be useful,
7131   but WITHOUT ANY WARRANTY; without even the implied warranty of
7132   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7133   GNU General Public License for more details.
7135   You should have received a copy of the GNU General Public License
7136   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7138 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c