Fix bug when all tags are hidden in the agenda
[org-mode.git] / lisp / ChangeLog
blob4ae11f2ec809b827262725f7cae9cbc8b89326fc
1 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
4         tags are hidden.
6 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
8         * org-latex.el (org-export-latex-fix-inputenc): New function.
9         (org-export-latex-inputenc-alist): New option.
11         * org-exp.el (org-export): New key SPC to publish enclosing
12         subtree.
14 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
16         * org-indent.el (org-indent-add-properties): Catch case when there
17         is no headline in the buffer.
19 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
21         * org-exp.el (org-html-entities): Add checkmark symbol.
23         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
24         verbatim code for ASCII export.
26         * org.el (org-update-statistics-cookies): Also see checkboxes in
27         ordered lists.
29 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
31         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
32         key.
34         * org-beamer.el (org-beamer-amend-header): Change the location
35         where `org-beamer-header-extra' is inserted.
37         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
38         just for computing this regexp.
40 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
42         * org-beamer.el (org-beamer-frame-default-options): New option.
43         (org-beamer-sectioning): Use default options if the user does not
44         have defined any.
45         (org-beamer-fix-toc): Put a frame around the table of contents.
47         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
48         sure case-folding works well when processing comment stuff.
50         * org-latex.el (org-export-latex-after-save-hook): New hook.
51         (org-export-as-latex): Run the new hook.
53 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
55         * org-beamer.el (org-beamer-environments-default): Add the note
56         environments.
57         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
58         lines and collect and combine the content.
59         (org-beamer-after-initial-vars): Check for note tags and make sure
60         they will be seen like a property.
62         * org.el (org-offer-links-in-entry): Fix bug when there is a
63         single link.
65         * org-exp.el (org-export): Make sure the mark is activated, also
66         when `transient-mark-mode' is off.
68         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
69         (org-agenda-search-view-search-words-only): Obsolete variable, is
70         now an alias for `org-agenda-search-view-always-boolean'.
71         (org-agenda-search-view-force-full-words): New option.
72         (org-search-view): Improve docstring, and implement a better logic
73         for Boolean and phrase searches.
74         (org-agenda-last-search-view-search-was-boolean): New variable.
75         (org-agenda-manipulate-query): Consider the type of the last
76         search when modifying the search string.
78 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
80         * org-latex.el (org-export-as-latex): Do the first letbind in the
81         right moment.
83         * org-agenda.el (org-get-entries-from-diary): Add the new face to
84         these entries.
86         * org-faces.el (org-agenda-diary): New face.
88         * org.el (org-make-link-regexps): Allow regexp-special characters
89         in link types.
90         (org-open-file): When in-emacs is `system', also force system
91         opening, like when the value was `(16)'.
92         (org-update-statistics-cookies): Handle entries without children.
94         * org-exp.el
95         (org-export-preprocess-before-normalizing-links-hook): New hook.
96         (org-export-preprocess-string): Run the new hook.
98         * org.el (org-offer-links-in-entry): Make RET open all links.
100         * org-html.el (org-export-as-html): Remove any left-over display
101         properties in the html file.
103         * org-wl.el (org-wl-store-link): Work-around for format bug with
104         text properties.
106         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
107         invisibility while adding the graphs.
109 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
111         * org-remember.el (org-select-remember-template): Use C letter to
112         customize remember templates.
114         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
115         Move cursor to next visible line.
117 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
119         * org-beamer.el (org-beamer-sectioning): Leave columns environment
120         by specifying 0 or 1 for column width.
121         (org-beamer-column-widths): Make 0 stand for 0.0.
123 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
125         * org-exp.el (org-export-mark-radio-links): Don't match inside
126         <<target>>.
128         * org.el (org-format-latex-header-extra): New variable.
129         (org-format-latex): Set org-format-latex-header-extra from
130         in-buffer stuff.
131         (org-format-latex): Add org-format-latex-header-extra to the
132         variables on which image creation depends.
133         (org-create-formula-image): Add the header stuff from in-buffer
134         settings.
135         (org-read-date-analyze): Base the analysis for future preference
136         on NOW, not on the default date.
138         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
139         for TODO keyword in inline tasks.
141         * org.el (org-log-note-headings): New headings for removing
142         deadline or scheduling date.
143         (org-deadline, org-schedule): Arrange for logging when removing a
144         date.
145         (org-add-log-note): Handle deadline and scheduling removal.
147 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
149         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
151 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
153         * org-agenda.el (org-diary-class): New function.
155 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
157         * org-latex.el (org-export-latex-preprocess): Do process the text
158         of a radio target.
160 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
162         * org.el (org-entry-properties): Add TIMESTAMP properties back
163         in.
165 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
167         * org.el (org-all-time-keywords): New variable.
168         (org-set-regexps-and-options): Set `org-all-time-keywords'.
169         (org-entry-blocked-p): New function.
170         (org-special-properties): Add BLOCKED as a new special property.
171         (org-entry-properties): New optional argument SPECIFIC, only parse
172         for this property when it is specified.
173         (org-entry-get): Pass a SPECIFIC argument to
174         `org-entry-properties'.
176         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
178 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
180         * org-latex.el (org-export-latex-tables): No forced line end if
181         there is no caption.
183 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
185         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
186         package.
188         * org-latex.el (org-export-latex-tables): Only add a caption when
189         macro in in longtable environments if one has been defined.
191         * org-html.el (org-export-as-html): Only take title from buffer if
192         not exporting body-only.
194         * org-latex.el (org-export-latex-preprocess): Better version of
195         the regular expression for protecting LaTeX macros.
196         (org-export-latex-preprocess): Start searching for macros to
197         protect from beginning of buffer.
199         * org-exp.el (org-export-target-internal-links): Check for
200         protectedness earlier in the string.
202         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
203         case sensitively.
205         * org-id.el (org-id-store-link): Match TODO keywords case
206         sensitively.
208         * org.el (org-heading-components, org-get-outline-path)
209         (org-display-outline-path): Match TODO keywords case sensitively.
211         * org-latex.el (org-export-as-latex): Ignore read-only
212         properties.
214         * org-exp.el (org-export-preprocess-string): Remove any
215         `read-only' properties.
217         * org-agenda.el (org-agenda-inactive-leader): New option.
218         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
219         (org-tags-view): Prompt for matcher if MATCH is an empty string.
220         (org-todo-list): Prompt for matcher if ARG is an empty string.
222 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
224         * org.el (org-open-link-functions): New hook.
225         (org-open-at-point): Run `org-open-link-functions'.
227 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
229         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
230         stamps as well.
232         * org.el (org-inhibit-startup-visibility-stuff): New variable.
233         (org-mode): Don't do startup visibility if inhibited.
234         (org-outline-overlay-data, org-set-outline-overlay-data): New
235         functions.
236         (org-save-outline-visibility): New macro.
237         (org-log-note-headings): Document that one should not change the
238         `state' note format.
240 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
242         * org.el (org-make-link-regexps): Capture link path into a group.
244 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
246         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
247         the options plist.
249 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
251         * org.el (org-startup-with-beamer-mode): New option.
252         (org-property-changed-functions)
253         (org-property-allowed-value-functions): New hooks.
254         (org-entry-put, org-property-get-allowed-values): Run the new
255         hooks.
256         (org-property-next-allowed-value): Run the new hooks.
258         * org-exp.el (org-export-select-backend-specific-text): Add the
259         special beamer tags.
261         * org-beamer.el
262         (org-export-preprocess-before-selecting-backend-code-hook): New
263         file.
265         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
266         (org-export-as-latex): Run
267         `org-export-latex-after-initial-vars-hook'.
268         (org-export-latex-format-toc-function)
269         (org-export-latex-make-header): Call
270         `org-export-latex-format-toc-function'.
272         * org.el (org-fill-template): Make template searches case sensitive.
274         * org-exp.el (org-export): Use "1" as a sign to export only the
275         subtree.
277         * org-colview-xemacs.el (org-columns-edit-value): Use
278         org-unrestricted property.
280         * org-colview.el (org-columns-edit-value):  Use
281         org-unrestricted property.
283         * org.el (org-compute-property-at-point): Set org-unrestricted
284         text property if the list contains ":ETC".
285         (org-insert-property-drawer):  Use
286         org-unrestricted property.
288         * org-exp.el
289         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
290         (org-export-preprocess-string): Run
291         `org-export-preprocess-before-selecting-backend-code-hook'.
293         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
295         * org-latex.el (org-export-region-as-latex): Run
296         `org-export-first-hook'.
298         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
300         * org-docbook.el (org-export-as-docbook): Run
301         `org-export-first-hook'.
303         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
305         * org-exp.el (org-export-first-hook): New hook.
307 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
309         * org-list.el (org-previous-item): Exit at the beginning of the
310         buffer.
312         * org-id.el (org-id-locations-save): Only write the id locations
313         if any are defined.
315         * org-archive.el (org-archive-all-done): Make this work in a file
316         with org-odd-levels-only set.
318         * org.el (org-get-refile-targets): Catch the case when a buffer
319         has no file.
321         * org-latex.el (org-export-as-latex): Cleanup forced line ends
322         where they are not needed.
323         (org-export-latex-subcontent): Remove unnecessary newlines.
325 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
327         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
328         (org-export-latex-fontify): Fix regexp bug that takes special
329         care of protecting the right boundary characters in emphasis
330         matches.
331         (org-export-latex-preprocess): Allow multiple arguments to latex
332         macros.
334         * org.el (org-make-link-regexps): Use John Gruber's regexp for
335         urls.
337         * org-macs.el (org-re): Interpret :punct: in regexps.
339         * org-exp.el (org-export-replace-src-segments-and-examples): Also
340         take the final newline after the END line.
342         * org.el (org-clean-visibility-after-subtree-move): Only fix
343         entries that are not entirely invisible already.
344         (org-insert-link): Respect org-link-file-path-type for
345         "docview:" links in addition to "file:" links.
347 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
349         * org-exp.el (org-export-format-source-code-or-example): Avoid
350         additional extra white lines in LaTeX.
352         * org-list.el (org-list-parse-list): Leave empty lines after the
353         list, don't consider them as part of the list.
355         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
356         searches.
358         * org-clock.el (org-clock-select-task): Convert integer to
359         character for XEmacs.
361 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
363         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
364         compatible.
366 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
368         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
369         variable.
370         (org-set-tags): Use it.
372 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
374         * org-list.el (org-empty-line-terminates-plain-lists): Update
375         docstring.
377         * org.el (org-format-latex): Fix link creation for processed latex
378         snippets.
380 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
382         * org-footnote.el (org-footnote-normalize): Protect replacement
383         text.
385         * org.el (org-inside-latex-macro-p): Save match data.
387 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
389         * org-docview.el: New file.
391 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
393         * org-latex.el (org-export-latex-class-options): New variable.
394         (org-export-latex-set-initial-vars): Use the class options.
396         * org.el (org-forward-same-level): Stop at headings that start
397         with an invisible character.
398         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
400 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
402         * org-footnote.el (org-footnote-normalize): Don't take optional
403         arguments in LaTeX macros as footnotes.
405         * org.el (org-inside-latex-macro-p): New function.
407         * org-latex.el (org-latex-to-pdf-process): Change customization
408         group to `org-export-pdf'.
410         * org-agenda.el (org-agenda-get-blocks): Look at time string also
411         on days after the first one.
413         * org.el (org-insert-heading): Also check for item before assuming
414         before-first-heading condition.
416         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
417         (org-export-pdf-logfiles): New option.
418         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
419         (org-export-pdf-logfiles): Fix customization type.
421         * org.el (org-insert-link): Improve error message when there is no
422         default link to select with RET.
424         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
425         parameter list.
427 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
429         * org-latex.el (org-export-latex-parse-global)
430         (org-export-latex-parse-content)
431         (org-export-latex-parse-subcontent): Use
432         `org-re-search-forward-unprotected'.
433         (org-export-as-pdf): Remove log files produced by XeTeX.
435         * org-macs.el (org-re-search-forward-unprotected): New function.
437 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
439         * org-colview.el (org-agenda-colview-summarize): Sort out some
440         confusion between properties and titles, which resulted in
441         agenda summaries not working if a title was set for a column.
443 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
445         * org-mobile.el (org-mobile-agendas): New option.
446         (org-mobile-sumo-agenda-command): Select the right agendas.
448         * org-latex.el (org-export-latex-format-image): Preserve the
449         original-indentation property.
451 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
453         * org-clock.el (org-clock-insert-selection-line): Catch error when
454         an old tasks no longer exists.
456         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
457         (org-export-as-pdf): Don't remove the old PDF file before making
458         the new one.
460         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
461         (org-mouse-context-menu): Use `org-looking-back'.
463         * org.el (org-cycle-level): Use `org-looking-back'.
465         * org-list.el (org-cycle-item-indentation): Use
466         `org-looking-back'.
468         * org-compat.el (org-looking-back): New function.
470         * org.el (org-insert-heading): Catch before-first-headline when
471         inserting a headline.
473 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
475         * org-latex.el (org-export-latex-format-image): Indent figure
476         environment, so that it does not interrupt plain list.
478         * org.el (org-open-at-point): Allow long link descriptions.
480 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
482         * org-html.el (org-export-as-html): Remove empty lines at the
483         beginning of the exported text.
485 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
487         * org-protocol.el (org-protocol-remember): Cater for empty title,
488         region, link.
490         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
491         agenda after adding new entry.
492         (org-agenda-get-represented-tags): New function.
493         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
494         to get a list of tags in the agenda.
496         * org-datetree.el (org-datetree-find-day-create): Fix regular
497         expression.
499         * org.el (org-display-outline-path): Use a format specifier for
500         message, to avoid problems with heading containing `%'.
502         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
503         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
504         (org-agenda-fix-displayed-tags): New function.
505         (org-agenda-do-context-action): Just call
506         `org-display-outline-path', without piping the result through
507         `message'.
509         * org-latex.el (org-export-latex-preprocess): Protect secondary
510         footnote references.
512         * org-indent.el (org-indent-initialize): Avoid empty strings as
513         line prefixes.
515         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
516         hat checking for the mark does not throw an error.
517         (org-agenda-diary-entry-in-org-file): Catch the case that there is
518         not `day' text property in the cursor line.
520         * org.el (org-sort-entries-or-items): Make sure that the final
521         entry has a newline before doing the sorting.
523         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
524         property at the beginning of the line.
526         * org.el (org-make-link-string): Don't allow a description with
527         only white space.
529 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
531         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
532         (org-agenda-insert-diary-as-top-level): New function.
533         (org-agenda-add-entry-to-org-agenda-diary-file): Call
534         `org-agenda-insert-diary-as-top-level'.
536         * org.el (org-occur-in-agenda-files): Make sure none of the
537         buffers is narrowed.
538         (org-activate-plain-links): Add the face property here.
539         (org-set-font-lock-defaults): Do not add the face to plain links,
540         the activator function does this.
542         * org-habit.el (org-is-habit-p): Add doc string.
544 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
546         * org-archive.el (org-archive-subtree-default-with-confirmation):
547         Autoload.
549         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
550         after match optional (happens at the end of a line...).
552         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
553         for special blocks.
555         * org-faces.el (org-copy-face): Set lisp indentation.
556         (org-quote, org-verse): New faces.
558         * org-agenda.el (org-agenda-remove-date): Remove variable.
560 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
562         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
564 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
566         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
567         hash keys to cache and re-use images generated by the
568         org-exp-blocks interface to ditaa and dot.
570 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
572         * org-html.el (org-export-as-html): Move the home/up link into
573         the content div.
575         * org.el (org-export-latex-packages-alist): Option definition
576         moved here from org-latex.el.
578 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
580         * org.el (org-format-latex): Latex images are now saved to files
581         named by the sha1 hash of the latex source text avoiding
582         regeneration of identical images.
584 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
586         * org-html.el (org-export-html-home/up-format): Add an ID to the
587         up/home div.
589 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
591         * org-wl.el (org-wl-store-link): Handle the case that
592         `wl-use-petname' is set.
594         * org.el (org-set-effort): Improve prompt.
595         (org-get-outline-path): Widen to get full path.
596         (org-compact-display-after-subtree-move): Function removed.
598         * org-latex.el (org-export-as-latex): Add the :drawers property.
600 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
602         * org.el (org-speed-commands-user): Allow documentation headlines.
603         (org-speed-commands-default): Organize the value of this constant
604         with descriptive headlines.
605         (org-print-speed-command): Output the headlines.
607 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
609         * org-agenda.el (org-agenda-show-outline-path): New option.
610         (org-agenda-do-context-action): New function.
611         (org-agenda-next-line, org-agenda-previous-line): Use
612         `org-agenda-do-context-action'.
614         * org.el (org-use-speed-commands): Allow function value.
615         (org-speed-commands-default): Make headline motion safe, so that
616         these commands always end on a headline.
617         (org-speed-commands-default): New key `v' for `org-agenda'.
618         (org-speed-move-safe): New function.
619         (org-self-insert-command): Use the function value of
620         `org-use-speed-commands'.
621         (org-get-outline-path): Improve docstring.
622         (org-format-outline-path): New function.
623         (org-display-outline-path): New function.
625 2009-11-12  John Wiegley  <jwiegley@gmail.com>
627         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
628         a string, use that to find the LOGBOOK drawer.
630 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
632         * org.el (org-clone-subtree-with-time-shift): Make it work at the
633         end of the buffer.
635         * org-mobile.el (org-mobile-write-checksums): Specify coding
636         system.
637         (org-mobile-timestamp-buffer): Keep local variable/mode line at
638         beginning of buffer.
640         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
642         * org.el (org-block-todo-from-children-or-siblings-or-parent)
643         (org-block-todo-from-checkboxes): Do not block changes to a nil
644         TODO state.
646 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
648         * org-habit.el (org-habit-parse-todo): Indicate which habit is
649         wrongly set up in the error messages.
651         * org-colview.el (org-columns-display-here): Don't try to
652         calculate values if the underlying property is not set.
653         (org-columns-string-to-number): Convert age strings back into
654         fractional days.
655         (org-agenda-colview-summarize): Handle extended summary types
656         properly.
658         * org-colview-xemacs.el (org-columns-display-here): Don't try to
659         calculate values if the underlying property is not set.
660         (org-columns-string-to-number): Convert age strings back into
661         fractional days.
662         (org-agenda-colview-summarize): Handle extended summary types
663         properly.
665 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
667         * org-exp.el (org-export-format-drawer-function): New variable.
668         (org-export-format-drawer): New function.
669         (org-export-preprocess-string): Pass the backend as a parameter to
670         `org-export-remove-or-extract-drawers'.
671         (org-export-remove-or-extract-drawers): New parameter BACKEND.
673         * org-protocol.el (org-protocol-char-to-string): New defsubst.
675 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
677         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
678         message when no block is selected.
680         * org-latex.el (org-export-latex-links): Check for protectedness
681         in the last matched character, not after the match.
683         * org-datetree.el (org-datetree-find-date-create): Respect
684         restriction when KEEP-RESTRICTION is set.
685         (org-datetree-file-entry-under): New function.
686         (org-datetree-cleanup): New command.
688 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
690         * org-src.el (org-edit-src-code): New optional argument context
691         allows calling functions to avoid altering the saved window
692         configuration.
693         (org-edit-src-exit): Do not restore window configuration when this
694         function is used in the context of saving the edit buffer.
696 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
698         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
699         instances to switching to with-current-buffer, because these seem
700         to cause problems - no idea why.
702         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
703         Require diary-lib for (diary-date-display-form).
705         * org.el (org-log-reschedule, org-log-redeadline): New options.
706         (org-log-note-headings): Add templates for rescheduling and
707         deadline changing.
708         (org-startup-options): Add in-buffer settings for logging changing
709         schedule and deadline time stamps.
710         (org-deadline, org-schedule): Check for existing date and arrange
711         for logging if the user requests it.
712         (org-add-log-note): Prepare proper note buffers for rescheduling
713         and deadline changes.
715 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
717         * org-agenda.el (org-agenda-diary-entry-in-org-file)
718         (org-agenda-add-entry-to-org-agenda-diary-file)
719         (org-agenda-insert-diary-make-new-entry): New functions.
720         (org-agenda-diary-entry): Call
721         `org-agenda-diary-entry-in-org-file' when appropriate.
723         * org.el (org-calendar-insert-diary-entry-key): New option.
724         (org-agenda-diary-file): New option.
725         ("calendar"): Install our insertion function in the calendar.
727         * org-remember.el (org-datetree): Require.
728         (org-remember-templates): Add new positioning option.
729         (org-remember-reference-date): New variable.
730         (org-remember-apply-template): Store the reference date in a local
731         variable.
732         (org-remember-handler): Implement date tree positioning of entries.
734         * org-datetree.el: New file.
736         * org-latex.el (org-export-latex-preprocess): Protect targets in
737         verbatim emphasis.
739         * org-html.el (org-export-as-html): Protect targets in verbatim
740         emphasis.
742         * org-docbook.el (org-export-as-docbook): Protect targets in
743         verbatim emphasis.
745 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
747         * org.el (org-link-display-format): Should be literal replacement.
749 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
751         * org-clock.el (org-show-notification): Handle messages that
752         contain a percent character.
754         * org-remember.el (org-remember-apply-template): Turn of partial
755         completion.
757         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
758         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
760         * org.el (org-indent-mode): Define variable already in org.el.
761         (org-unfontify-region): Remove line-prefix and wrap-prefix
762         properties only if org-indent-mode is active.
764 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
766         * org-icalendar.el (org-print-icalendar-entries): Save match data
767         around call to verify function.
768         (org-print-icalendar-entries): Add a call to the verification
769         function.
771         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
772         save-restrivtion' form.
774 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
776         * org-exp.el (org-export-format-source-code-or-example): restrict
777         scope of preserve-indentp to the let binding.
778         (org-src): require org-src, since org-src-preserve-indentation is used.
780 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
782         * org-timer.el (org-timer-set-timer): Set variables
783         org-timer-timer[123] correctly.
786         * org-mobile.el (org-mobile-files-alist): Make it work when
787         `agenda-archives' is included in
788         `org-agenda-text-search-extra-files'.
789         (org-mobile-push): Restore agenda after mobile push.
791 2009-11-05  John Wiegley  <jwiegley@gmail.com>
793         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
794         way the amount of idle time is presented in the minibuffer.
796 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
798         * org-icalendar.el (org-print-icalendar-entries): Use
799         org-icalendar-verify-function only if non-nil.
801         * org.el (org-refile): Refile to clock only if the prefix arg is
802         2.
803         (org-sparse-tree): Fix docstring to be in line with prompt.
804         (org-update-parent-todo-statistics): Call
805         `org-after-todo-statistics-hook' on each level.
807 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
809         * org-remember.el (org-remember-apply-template): Make sure the
810         buffer exists.
812 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
814         * org.el (org-tab-ind-state): New variable.
815         (org-cycle-level): New function.
816         (org-cycle-level-after-item/entry-creation): New option.
817         (org-flag-subtree): New function.
818         (org-hide-archived-subtrees): Call `org-flag-subtree'.
819         (org-set-effort): Indexed access.
821         * org-list.el (org-cycle-item-indentation): New function.
823         * org.el (org-refile): Make prefix argument 2 refile to current
824         clock.
825         (org-priority): Interpret action `remove' as call to remove the
826         priority cookie.
828         * org-remember.el (org-remember-apply-template): Don't depend on
829         buffer name being like file name.
831 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
833         * org-clock.el (org-clock-play-sound): Expand file in
834         org-clock-sound, to allow ~ for home.
836         * org-remember.el (org-remember-handler): Set
837         text-before-node-creation even if this already looks like a node,
838         because the string might be needed on non-org-mode target files.
840         * org-agenda.el (org-agenda-open-link): Make this work in agenda
841         clocktables.
842         (org-agenda-switch-to): Follow a link at point if
843         org-return-follows-link' is set and there is nothing else to do in
844         this line.
846 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
848         * org-colview-xemacs.el: Add in changes from org-colview.el
850 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
852         * org-exp-blocks.el: Modify split separator regexp to avoid empty
853         strings.
855 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
857         * org-colview.el (org-columns-new): Make this work with the new
858         operators.
859         (org-columns-store-format): Make this work with the new operators.
861 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
863         * org-src.el (org-src-preserve-indentation): Document that this
864         variable is also used during export.
866         * org-exp.el (org-export-format-source-code-or-example): Preserve
867         indentation if a block has a -i option, or if
868         `org-src-preserve-indentation' is set.
870         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
871         indentation if a block has a -i option, or if
872         `org-src-preserve-indentation' is set.
874 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
876         * org.el (org-mode-map): Define the new archiving keys.
877         (org-speed-commands-default): Define an archiving key in the speed
878         command map.
879         (org-org-menu): Improve the menu structure concerning archiving.
881         * org-archive.el (org-archive-subtree-default-with-confirmation):
882         New command.
884         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
885         (org-agenda-menu): Add the new archiving commands to the menu.
886         (org-agenda-archive-default)
887         (org-agenda-archive-default-with-confirmation): New commands.
888         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
889         call `org-agenda-archive-with'.
890         (org-agenda-archive-with): New function.
892         * org-table.el (org-table-convert-region): Inert spaces around "|"
893         to avoid line beginnings like "|-1" which will be mistaken as
894         hlines.
896 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
898         * org.el (org-offer-links-in-entry): Return nil if there are no
899         links, t if a link has been selected.
900         (org-open-at-point): Open attachment directory when called in the
901         headline and there are no links in the entry body.
902         (org-speed-commands-default): Add "o" for open-at-point as a speed
903         command.
905         * org-attach.el (org-attach-reveal): Optional prefix arg
906         IF-EXISTS, which avoids creating the attachment directory if it
907         does not yet exist.
909         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
910         MATCH.
912 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
914         * org.el ("abbrev"): Work with abbrev tables only after they have
915         been loaded.
917         * org-list.el (org-list-send-list): Fix bug related to match
918         data.
920         * org-latex.el (org-export-latex-fontify): Apply verbatim
921         emphasis.
922         (org-export-latex-make-header): Insert \obeylines if line breaks
923         should be preserved.
925         * org-exp.el (org-export-protect-verbatim): Add an
926         `org-verbatim-emph' property to such text.
928 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
930         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
931         (org-print-icalendar-entries): Skip entries where the timestamp is
932         not a deadline and not scheduled, if the user requests that.
934         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
935         before an opening quote.
937         * org-archive.el (org-archive-subtree): Keep archive after
938         archiving something.
940         * org-id.el (org-id-update-id-locations): Add archive files if
941         that is required by `org-id-extra-files'.
943 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
945         * org-src.el (org-src-window-setup): New option.
946         (org-src-switch-to-buffer): New function.
947         (org-edit-src-exit): Add optional argument CONTEXT and use it to
948         restore window configuration.
949         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
950         Call `org-src-switch-to-buffer'.
952         * org.el (org-default-properties): Add STYLE property.
953         (org-files-list): Use the function call to get the files.
954         (org-additional-option-like-keywords): Add SETUPFILE to completion
955         list.
957 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
959         * org-table.el (org-table-convert-region): Correctly interpret
960         quoting in csv import.
962         * org.el (org-icompleting-read): Make iswitchb completion work
963         with lists and tables.
965         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
966         while pushing the mobile agenda.
968 2009-10-25  John Wiegley  <jwiegley@gmail.com>
970         * org-clock.el
971         (org-clock-auto-clock-resolution): Now takes three values: nil, t
972         and `when-no-clock-is-running'.
973         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
974         whether or not to resolve Org buffers on clock in.
976 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
978         * org-colview.el (org-format-time-period): Function to format
979         times in fractional days for display.
980         (org-columns-display-here): Add support for showing a calculated
981         value in place of the property.
982         (org-columns): Set `org-columns-time' to the current time so time
983         difference calculations will work.
984         (org-columns-time): Use to store the current time when column view
985         is displayed, so all time differences will use the same reference
986         point.
987         (org-columns-compile-map): There is now an extra position in each
988         entry specifying the function to use to calculate the displayed
989         value for the non-calculated properties in the column,
990         (org-columns-compute-all): Set `org-columns-time' to the current
991         time so time difference calculations will work.
992         (org-columns-compute): Handle column operators where the values
993         used are calculated from the underlying property.
994         (org-columns-number-to-string): Handle the 'age' column format
995         (org-columns-string-to-number): Correct the function name (was
996         org-column...). Add support for the 'age' column format.
997         (org-columns-compile-format): Support the additional parameter in
998         org-columns-compile-map.
1000 2009-10-26  Bastien Guerry  <bzg@altern.org>
1002         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1003         variable.
1005 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1007         * org-clock.el (org-clock-has-been-used): New variable.
1008         (org-clock-in): Set `org-clock-has-been-used'.
1009         (org-clock-save): Save only if clock data has been used or created
1010         during this session.
1012 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1014         * org-clock.el (org-clock-persist): New value, to store only the
1015         clock history.
1016         (org-clock-save): Don't save the clock if only the history should
1017         be stored.
1018         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1019         when restoring a saved clock.
1021 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1023         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1024         `org-time-clock-use-fractional'.
1026         * org.el (org-time-clocksum-use-fractional)
1027         (org-time-clocksum-fractional-format): Two new customizable
1028         variables which allow the user to select fractional times (1.25
1029         instead of 1:25) in the `org-clock-display' report.
1031 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1033         * org-habit.el (org-habit-build-graph): None of the arguments
1034         should be optional.
1035         (org-habit-parse-todo, org-habit-deadline)
1036         (org-habit-get-priority, org-habit-get-faces)
1037         (org-habit-build-graph): Further simplifications by storing all
1038         past, scheduled and deadline dates as a number of days past the
1039         epoch, and not as times.
1041         * org-habit.el (org-habit-warning-face)
1042         (org-habit-warning-future-face): Removed because these are no
1043         longer used.
1044         (org-habit-deadline, org-habit-deadline-repeat): Now always
1045         returns a date; computed if there was a scheduled repeater but no
1046         deadline repeater.
1047         (org-habit-get-priority): Further improvements to the priority
1048         algorithm.  In particular, items past due should always appear
1049         before items due or not yet due.
1050         (org-habit-get-faces): Greatly simplified the logic, now that
1051         `org-habit-deadline' always returns a valid time.
1053 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1055         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1056         New option.
1058         * org.el (org-tag-alist): Fix customization type.
1060 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1062         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1063         Make sure the regexp search can fail without throwing an error.
1064         (org-mobile-apply): Save the inbox buffer after removing
1065         successfully applied changes.
1067 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1069         * org-habit.el (org-habit-build-graph): Fix to the graph building
1070         when last DONE date is earlier than `org-habit-preceding-days'.
1072         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1073         time is reported after the user comes back (but before they
1074         resolve time).
1076         * org.el (org-get-repeat): Change so that this function can be
1077         called with either `org-scheduled-string' or
1078         `org-deadline-string'.
1080         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1081         to find the scheduled date.
1083         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1084         `org-clock-disable-clock-resolution', since negatives don't sound
1085         good in customization variables.
1086         (org-clock-in): Don't use the auto-resolution logic if the user is
1087         clocking into a different task while an active clock is running.
1088         This then allows the default behavior of clocking out of the open
1089         task and then into the new task.
1091         * org-habit.el (org-habit-parse-todo): Generate an error if a
1092         habit has a scheduled repeat period < 1.
1093         (org-habit-get-faces): Fixes to the way that colors are computed.
1094         (org-habit-build-graph): The graph wasn't displaying beyond any
1095         day that had two completions in it.
1097         * org.el (org-modules): Made this variable more consistent, since
1098         it was referring to Org, OrgMode and Org-mode, whereas the docs
1099         for the variable always refer to Org-mode.
1101 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1103         * org.el (org-repeat-re): The changed org-repeat-re no longer
1104         matched simple +2d type repeaters. Fix it so it does.
1106 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1108         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1109         macro in the VERSE environment.
1111 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1113         * org-habit.el (org-habit-get-priority): A new function that
1114         determines the relative priority of a habit, based on how long
1115         past its scheduled date it is, and how near the deadline is.
1117         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1118         using `org-habit-get-priority'.
1120         * org-habit.el (org-habit-build-graph): Start displaying colors
1121         from the first scheduled date, if that date is earlier than the
1122         first completion date.
1124         * org-habit.el: Changed all "color" variables to faces, and made
1125         them appropriate for light and dark backgrounds.
1127         * org-habit.el (org-habit-duration-to-days): Made this function
1128         more general.
1129         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1131         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1132         habits, since they don't use DEADLINE anymore.
1134         * org.el (org-repeat-re, org-display-custom-time)
1135         (org-timestamp-change): Extended to support the new ".+N/N"
1136         syntax, used for habits.
1138         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1139         variable reference.
1141         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1142         modeline when habits are being displayed (if that module is being
1143         loaded).
1145 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1147         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1148         idle time using the xscreensaver extension.
1149         (org-user-idle-seconds): Use X11 idle time if available.
1151 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1153         * org-agenda.el (org-agenda-next-line): New command.
1154         (org-agenda-previous-line): New commands.
1155         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1156         commands.
1157         (org-agenda-follow-mode): Do the follow immediately if the mode is
1158         turned on here.
1159         (previous-line, next-line): Replace keys with the corresponding
1160         org functions.
1161         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1162         command.
1164         * org.el (org-icompleting-read): Turn off partial completion mode
1165         for the duration of this completion round.
1167         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1168         macros in author lines and similar stuff.
1170         * org.el (org-file-tags): Fix docstring.
1171         (org-get-buffer-tags): Add the #+FILETAGS tags.
1172         ("ecb"): Maks ecb show context after jumping into an Org file.
1174 2009-10-20  John Wiegley  <johnw@newartisans.com>
1176         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1177         graphs after everything else in the buffer has been setup.
1179 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1181         * org-mobile.el (org-mobile-apply): Count success and failure.
1183         * org.el (org-indent-line-function): Fix regexp replace problem.
1185 2009-10-19  John Wiegley  <johnw@newartisans.com>
1187         * org-clock.el (org-clock-disable-clock-resolution): New
1188         customization variable that disable automatic clock resolution on
1189         clock in.
1190         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1191         not automatically resolve anything.  This is does not affect
1192         idle-time resolution, however, if `org-clock-idle-time' is set.
1194 2009-10-19  John Wiegley  <johnw@newartisans.com>
1196         * org-habit.el: New file, which implements code to build a "habit
1197         consistency graph".
1199         * org-agenda.el (org-agenda-get-deadlines)
1200         (org-agenda-get-scheduled): Display consistency graphs when
1201         outputting habits into the agenda.  The graphs are always relative
1202         to the current time.
1203         (org-format-agenda-item): Added new parameter `habitp', which
1204         indicates whether we are formatting a habit or not.  Do not
1205         display "extra" leading information if habitp is true.
1207         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1208         leaders for repeat strings.
1209         (org-get-repeat): Now takes a string parameter `tagline', so the
1210         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1212 2009-10-19  John Wiegley  <johnw@newartisans.com>
1214         * org-agenda.el (org-agenda-auto-exclude-function): New
1215         customization variable for allowing the user to create an "auto
1216         exclusion" filter for doing context-aware auto tag filtering.
1217         (org-agenda-filter-by-tag): Changes to support the use of
1218         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1220 2009-10-18  John Wiegley  <johnw@newartisans.com>
1222         * org.el (org-files-list): Don't attempt to return a file name for
1223         Org buffers which have no associated file.
1225         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1227 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1229         * org-mobile.el (org-mobile-locate-entry): Interpret files
1230         relative to org-directory.
1231         (org-mobile-inbox-for-pull): Document the best location for this
1232         file.
1233         (org-mobile-check-setup): Verify `org-directory'.
1234         (org-mobile-create-index-file): Sort the files to be listed in
1235         index.org.
1237 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1239         * org.el (org-fast-tag-selection): Add a way to display a
1240         description for a tag group. This is done by adding a string to
1241         either the startgroup or endgroup cell.
1243 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1245         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1246         (org-emacs-idle-seconds): Use `org-float-time' instead of
1247         `time-to-seconds'
1249 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1251         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1252         type.
1254         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1255         the value of ARG when doing local cycling.
1257 2009-10-17  John Wiegley  <johnw@newartisans.com>
1259         * org-clock.el (org-clock-resolve-clock): If keeping or
1260         subtracting time results in a clock out at a time in the past, and
1261         if the resolution occurred due to idleness or invoking `M-x
1262         org-resolve-clocks', remember that past moment in time.  On the
1263         next clock in, the user will be prompted to see if they want to
1264         back-date their new clock to then.
1265         (org-clock-resolve): Do not jump the user to the location of a
1266         dangling clock if the resolution is occuring due to an idle
1267         timeout.  In that case there is typically only one dangling clock,
1268         the active one, and there is no value gained by shuffling their
1269         windows around to show it to them.  Being prompted to resolve an
1270         idle clock should be as inobtrusive as possible.
1271         (org-resolve-clocks-if-idle): New function that resolves only the
1272         currently active clock if the user has exceeded the time returned
1273         by `org-user-idle-seconds', based on the value of
1274         `org-clock-idle-time'.
1275         (org-clock-in): If, after resolving clocks,
1276         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1278         * org-clock.el (org-clock-resolve-clock): New function that
1279         resolves a clock to a specific time, closing or resuming as need
1280         be, and possibly even starting a new clock.
1281         (org-clock-resolve): New function used by `org-resolve-clocks'
1282         that sets up for the call to `org-clock-resolve-clock'.  It
1283         determines the time to resolve to based on a single-character
1284         selection from the user to either keep time, subtract away time or
1285         cancel the clock.
1286         (org-resolve-clocks): New user command which resolves dangling
1287         clocks -- that is, open but not active -- anywhere in the file
1288         list returned by `org-files-list'.
1289         (org-clock-in): Automatically resolve dangling clocks whenever a
1290         user clocks in.
1291         (org-clock-cancel): If the user cancels the solely clock in a
1292         LOGBOOK, remove the empty drawer.
1294         * org-clock.el (org-clock-idle-time): New user customizable option
1295         for detecting whether the user has left a clock idle.  Note: it is
1296         only used in this commit to test whether it's worthwhile to check
1297         OS X to get the Mac user's current idle time.  If the Emacs idle
1298         time is less than the value, the user hasn't been away long enough
1299         to be worth checking (a more expensive test than just getting
1300         Emacs idle time).
1301         (org-user-idle-seconds, org-mac-idle-seconds)
1302         (org-emacs-idle-seconds): This three functions, in conjunction
1303         with the user customization variable `org-clock-idle-time', return
1304         the number of seconds (as a floating point) that the user has been
1305         away from their Emacs (or, if running on OS X, their computer).
1307         * org-clock.el (org-find-open-clocks): New function that returns a
1308         list of all open clocks in the given FILE.  Note that each clock
1309         it returns is a cons cell of the format (MARKER . START-TIME).
1310         This "clock" value is used by several of the new clock module
1311         utility functions.
1312         (org-is-active-clock): New inline function which tests whether the
1313         given clock value is the same as the currently active clock.
1314         Returns non-nil if this is the case.
1315         (org-with-clock-position): New macro that evaluates FORMS with
1316         point in the buffer and at the position of the given clock.
1317         Changes to the current clock are global.
1318         (org-with-clock): New macro that evaluates FORMS with point in the
1319         buffer and at the position of the given clock.  However, changes
1320         to the current clock are local and have no effect on the user's
1321         active clock.  This allows, for example, far any clock to be
1322         cancelled without cancelling the active clock.
1323         (org-clock-clock-in): New inline function that switches the active
1324         clock to the given clock.  If either the argument RESUME, or the
1325         global `org-clock-in-resume', are non-nil, it will resume a clock
1326         that was previously left open.
1327         (org-clock-clock-out): New inline function that clocks out the
1328         given clock value without affecting the currently active clock.
1329         (org-clock-clock-cancel): New inline function that cancels the
1330         given clock value without affecting the currently active clock.
1332         * org-clock.el (org-clock-in): Before creating
1333         `org-clock-mode-line-timer', check to make sure an older timer is
1334         not currently running.
1335         (org-clock-out): Accept new third parameter `at-time', which
1336         permits a clock to be clocked out at a specific time.  Note that
1337         no attempt is made to verify that the clock out time is later than
1338         the clock in time.
1340         * org.el (org-files-list): New utility function for returning a
1341         list of all open org-mode buffers, plus all files used to build
1342         the agenda buffer.  Note that not all the files will necessarily
1343         be visited by a buffer at time of call.
1344         (org-entry-beginning-position): Like the function
1345         `line-beginning-position', this inline function returns the
1346         beginning position of the current heading/entry.
1347         (org-entry-end-position): Like the function `line-end-position',
1348         this inline function returns the end position of the current
1349         heading/entry.
1351 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1353         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1354         a header line.
1356 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1358         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1360 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1362         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1363         entries that have no tags.
1364         (org-agenda-search-view): New customize group.
1365         (org-agenda-search-view-search-words-only): New option.
1366         (org-search-view): Implement substring search.
1368 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1370         * org.el (org-outline-level): Add doc string.
1372 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1374         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1375         variable.
1376         (org-inlinetask-export-handler): Only export inline task if the
1377         user option calls for it.
1379 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1381         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1382         END if present.
1384 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1386         * org-latex.el (org-export-latex-tables): Don't format in
1387         protected regions.
1389 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1391         * org-src.el (org-edit-src-code)
1392         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1393         macro editing.
1395         * org-agenda.el (org-prefix-category-max-length): New variable.
1396         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1397         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1399 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1401         * org-mobile.el (org-mobile-create-index-file): Improve the
1402         listing of tags and todo keywords.
1404         * org-latex.el (org-export-latex-format-image): New function.
1405         (org-export-latex-links): Use `org-export-latex-format-image'.
1407 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1409         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1410         (org-inlinetask-remove-terminator): New functions.
1411         (org-inlinetask-export-handler): Terminate the description list.
1413         * org-exp.el (org-export-select-backend-specific-text): Remove the
1414         region markers.
1416         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1417         tasks without content.
1419         * org-clock.el: Make sure the clock-in target position does not
1420         move to a different node by widening the buffer.
1422         * org-html.el (org-export-html-format-image): Wrap image into
1423         figure div only when there is a caption.
1425         * org-archive.el (org-archive-mark-done): Change default value to
1426         nil.
1428 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1430         * org.el (org-context): Call `bobp', not `eobp'.
1432         * org-clock.el (org-clock-cancel): Remove quotes from marker
1433         variables.
1435         * org.el (org-read-date-prefer-future): New allowed value `time'.
1436         (org-read-date-analyze): Shift day to tomorrow depending on time
1437         entered and value of `org-read-date-prefer-future'.
1439 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1441         * org.el (org-set-tags-to): New command.
1443         * org-mobile.el (org-mobile-action-alist): Add more options and
1444         update the docstring.
1445         (org-mobile-apply-flags): Parse for and use the data.
1447         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1448         the plist.
1450         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1451         keyword.
1453         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1455 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1457         * org-inlinetask.el (org-inlinetask-export): Option removed.
1458         (org-inlinetask-export-handler): Better export.
1460         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1461         (org-export-as-xoxo): Run the new hook.
1463         * org-html.el (org-export-html-final-hook): New hook.
1464         (org-export-as-html): Run the new hook.
1466         * org-docbook.el (org-export-docbook-final-hook): New hook.
1467         (org-export-as-docbook): Run the new hook.
1469         * org-ascii.el (org-export-ascii-final-hook): New hook.
1470         (org-export-as-ascii): Run the new hook.
1472         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1473         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1475         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1476         space character as the character before the ^/_.
1477         (org-export-latex-final-hook): New hook.
1478         (org-export-as-latex): Run `org-export-latex-final-hook'.
1480 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1482         * org-macs.el (org-if-unprotected-at): Fix docstring.
1484         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1485         text in the prefix (if category is a link).
1487         * org-latex.el (org-export-latex-preprocess): Deal properly with
1488         empty lines in verse environments.
1490         * org.el (org-format-latex-header): Inline fullpage.sty.
1492         * org-footnote.el (org-footnote-create-definition): Reveal context
1493         to add a new footnote definition.
1495         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1496         the index file.
1497         (org-mobile-files): New option.
1498         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1499         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1500         functions.
1501         (org-mobile-push): Start by creating the files lists.
1502         (org-mobile-copy-agenda-files): Move killing the buffer to after
1503         the save-excursion has exited.
1504         (org-mobile-write-checksums): Write checksums also for files in
1505         sub-directories.
1507         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1508         org-table-recalculate when cursor is in TBLFM line.
1510         * org-list.el (org-renumber-ordered-list): Fix cursor position
1511         when bullet length has changed.
1513 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1515         * org.el (org-format-latex): Mention `org-format-latex-options' in
1516         the docstring.
1518 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1520         * org.el (org-agenda-get): New function.
1522         * org-agenda.el (org-agenda-post-command-hook): No longer move
1523         point away from end of line.
1524         (org-agenda-add-entry-text, org-agenda-collect-markers)
1525         (org-finalize-agenda, org-agenda-mark-clocking-task)
1526         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1527         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1528         (org-agenda-compare-effort, org-agenda-filter-apply)
1529         (org-agenda-later, org-agenda-change-time-span)
1530         (org-agenda-post-command-hook, org-agenda-show-priority)
1531         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1532         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1533         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1534         (org-agenda-open-link, org-agenda-copy-local-variable)
1535         (org-agenda-switch-to, org-agenda-check-no-diary)
1536         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1537         (org-agenda-add-note, org-agenda-change-all-lines)
1538         (org-agenda-priority, org-agenda-set-tags)
1539         (org-agenda-set-property, org-agenda-set-effort)
1540         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1541         (org-agenda-show-new-time, org-agenda-date-prompt)
1542         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1543         (org-agenda-clock-in, org-agenda-bulk-mark)
1544         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1545         `org-get-at-bol'.
1547         * org-colview.el (org-columns-display-here)
1548         (org-columns-edit-allowed, org-agenda-columns): Use
1549         `org-get-at-bol'.
1551 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1553         * org.el (org-special-ctrl-a/e): Improve documentation and
1554         customize type.
1555         (org-end-of-line): Don't jump to after the ellipsis.
1556         (org-mode-map): Bind <home> and <end> as well.
1558 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1560         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1561         space after #+ as comments.
1562         (org-open-at-point): Run `org-follow-link-hook' always.
1564         * org-latex.el (org-export-latex-emph-format): Use better commands
1565         to insert special characters in verbatim snippets.
1567 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1569         * org-faces.el (org-copy-face): New function.  Use it to create
1570         various faces formerly created by using `copy-face'.
1572         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1573         window dedicated.
1574         (org-agenda-quit): Kill the frame containing the agenda window if
1575         that frame was created for the agenda.
1577 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1579         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1580         stamp in the agenda.
1582 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1584         * org-mobile.el (org-mobile-create-index-file): Add the list of
1585         TODO keywords, and the list of drawers to the index file.
1587         * org-agenda.el (org-prepare-agenda): Reset
1588         `org-drawers-for-agenda'.
1589         (org-prepare-agenda): Uniquify list of drawers.
1591         * org.el (org-complex-heading-regexp-format): New variable.
1592         (org-set-regexps-and-options): Define
1593         `org-complex-heading-regexp-format'.
1594         (org-drawers-for-agenda): New variable.
1595         (org-map-entries): Bind `org-drawers-for-agenda'.
1596         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1598         * org-remember.el (org-go-to-remember-target)
1599         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1601 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1603         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1604         problem.
1606         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1607         the capture file, and make it non-configurable.
1609         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1610         always with `invisible-ok'.
1611         (org-store-link): No error when there is nothing to link to in the
1612         agenda.
1614         * org-list.el (org-update-checkbox-count): Insert changed cookie
1615         before the old, to avoid problems with invisibility at the end of
1616         the line.
1617         (org-update-checkbox-count): Insert changed cookie before the old,
1618         to avoid problems with invisibility at the end of the line.
1620         * org.el (org-sort-entries-or-items): Include the final newline.
1621         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1622         lines for fontification.
1623         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1624         (org-prepare-dblock): Store the current indentation of the BEGIN
1625         line.
1626         (org-update-dblock): Apply the indentation of the begin line to
1627         the rest of the block.
1628         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1629         (org-startup-folded): New allowed value `showeverything'.
1630         (org-startup-options): Add STARTUP keyword `showeverything'.
1631         (org-set-startup-visibility): Respect value `showeverything' in
1632         org-startup-folded.
1634 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1636         * org.el (org-closest-date): Fix issue with past preference.
1638         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1640         * org-archive.el (org-archive-set-tag)
1641         (org-archive-subtree-default): New commands.
1643         * org-mobile.el (org-mobile-create-index-file): Fix link to
1644         capture file.
1645         (org-mobile-copy-agenda-files): Create the capture file if it does
1646         not exist.
1648         * org-clock.el (org-clock-clocktable-default-properties): New
1649         option.
1650         (org-clock-report): Use
1651         `org-clock-clocktable-default-properties'.
1653 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1655         * org.el (org-iswitchb-completing-read): Fix typo.
1657         * org-crypt.el: New file.
1659         * org.el: Add an entry for org-crypt.
1661 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1663         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1664         consistency.
1665         (org-batch-store-agenda-views): New function.
1666         (org-mobile-force-id-on-agenda-items): Mention variable.
1667         (org-agenda-title-append): Define variable.
1668         (org-write-agenda): New export to Org files.
1669         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1670         (org-agenda): Allow to keep the restricted file list if a special
1671         variable is bound to t.
1672         (org-agenda): Define a special agenda view for working on flagged
1673         entries.
1674         (org-agenda-get-restriction-and-command): List the new agenda
1675         view.
1676         (org-agenda-show-the-flagging-note): New command.
1677         (org-agenda-mode-map): New key `?' for looking at the flagging
1678         note.
1680         * org.el (org-autoload): Autoload org-mobile.el.
1681         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1683         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1685 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1687         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1688         statements.
1689         (org-table-get-remote-range): Match indented #+TBLNAME
1690         statements.
1692         * org.el (org-convert-to-odd-levels)
1693         (org-convert-to-oddeven-levels): Work also correctly if the file
1694         is in outline-mode.
1696 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1698         * org.el (org-store-link): When in agenda buffer, link to
1699         referenced entry.
1700         (org-add-planning-info): Remove spaces at eol.
1702         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1703         property.
1705 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1707         * org-latex.el (org-export-latex-first-lines): Fix problem with
1708         LaTeX export of first line and selected subtree.
1710         * org.el (org-shifttab): Interpret arg differently when using only
1711         odd levels.
1713 2009-09-09  Bastien Guerry  <bzg@altern.org>
1715         * org.el (org-check-agenda-file): Use a more explicit message
1717 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1719         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1720         normal lines.
1722 2009-09-08  Bastien Guerry  <bzg@altern.org>
1724         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1725         prompt in the temporary window.
1727         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1728         prefix for marked entries in the agenda view.
1730 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1732         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1733         a way that prevents any trailing character from being displayed.
1735 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1737         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1738         menu.
1740         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1741         slow regexp match.
1743 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1745         * org-latex.el (org-export-latex-preprocess): Do not protect in
1746         the LaTeX header.
1748         * org-src.el (org-edit-src-save): Save window setup while saving.
1749         (org-edit-src-code): Use new buffer name construction scheme.
1751 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1753         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1754         variable.
1755         (org-agenda-entry-text-cleanup-hook): New hook.
1756         (org-agenda-get-some-entry-text): Remove matches of
1757         `org-agenda-entry-text-exclude-regexps' and run the hook
1758         `org-agenda-entry-text-cleanup-hook'.
1760         * org.el (org-offer-links-in-entry): New argument ZERO to
1761         implement a link with index zero.
1762         (org-cycle-show-empty-lines): Not keep empty line under header
1763         hidden.
1764         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1765         to nil for special completion.
1766         (org-store-link): Don't error before the first heading.
1768         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1769         `org-offer-links-in-entry'.
1771 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1773         * org-agenda.el (org-agenda-quit): Provide the window argument for
1774         `window-dedicated-p', Emacs 22 needs it.
1775         (org-format-agenda-item): If the category is a link, arrange for
1776         invisible text to replaced with spaces.
1777         (org-compile-prefix-format): Add the extra space.
1778         (org-prefix-category-length): New variable.
1780         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1781         references from TOC lines.
1783         * org.el (org-selected-window): New variable.
1785         * org-table.el (org-table-edit-formulas): Remember the selected
1786         window.
1787         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1788         that was originally selected.
1790         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1791         expansion of a macro for more macro definitions.
1793         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1794         invisibility overlay starts on the newline.
1796 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1798         * org-protocol.el (org-protocol-store-link)
1799         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1801         * org-compat.el (org-float-time): New function.
1803         * org.el (org-clock-update-time-maybe)
1804         (org-sort-entries-or-items, org-do-sort)
1805         (org-evaluate-time-range, org-time-string-to-seconds)
1806         (org-closed-in-range): Use `org-float-time'.
1808         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1809         (org-timer-seconds):  Use `org-float-time'.
1811         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1812         (org-clock-sum, org-dblock-write:clocktable)
1813         (org-clocktable-steps):  Use `org-float-time'.
1815         * org-agenda.el (org-agenda-last-marker-time)
1816         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1818         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1819         function.
1821         * org-exp.el (org-get-file-contents): Only protect lines that
1822         really need it.
1824         * org-html.el (require): Require cl for compilation.
1826         * org.el:  Avoid using `default-major-mode'.
1828         * org-plot.el (require): Require CL only at compile time.
1830         * org-exp.el (require): Require CL only at compile time.
1832         * org-agenda.el (org-agenda-quit): When the agenda window is
1833         dedicated, remove other windows before exiting, so that the frame
1834         really will be killed.
1836         * org-exp.el (org-export-handle-include-files): Reset START and
1837         END for each loop cycle.
1839 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1841         * org.el (org-eval-in-calendar): Use
1842         `org-select-frame-set-input-focus'.
1844         * org-compat.el (org-select-frame-set-input-focus): New function.
1846         * org.el (org-update-statistics-cookies): New function.
1847         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1849 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1851         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1852         after the local variables are set.
1854         * org-latex.el (org-export-latex-protect-amp): New function.
1855         (org-export-latex-links): Protect link ampersands in tables.
1857         * org-exp.el (org-export-select-backend-specific-text): Match in
1858         two steps, to avoid regexp problems.
1860         * org.el (org-offer-links-in-entry): Improve working with many and
1861         duplicate links.
1863         * org-agenda.el (org-agenda-show-1): Make more consistent with
1864         normal cycling.
1865         (org-agenda-cycle-show): Make more consistent with normal cycling.
1867         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1868         website.
1870 2009-08-30  Bastien Guerry  <bzg@altern.org>
1872         * org-latex.el (org-export-latex-first-lines): Bugfix.
1874 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1876         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1877         about new effort.
1879         * org.el (org-set-effort): New function.
1880         (org-mode-map): New key for effort setting command.
1882         * org-agenda.el (org-agenda): Keep window setup when calling
1883         agenda from within agenda window.
1884         (org-agenda-mode-map): New keys for effort setting commands.
1885         (org-agenda-menu): Add effort setting commands to menu.
1886         (org-agenda-set-property, org-agenda-set-effort): New functions.
1888         * org-latex.el (org-export-latex-tables): Fix
1889         `org-table-last-alignment' and `org-table-last-column-widths' if
1890         the first column has been removed.
1892 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1894         * org.el (org-remove-timestamp-with-keyword): Only remove in
1895         entry, not in subtree.
1897         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1898         emacs lisp.
1900         * org.el (org-open-at-point): When on headline, offer all strings
1901         in entry.
1903         * org-remember.el (org-remember-templates): Documentation fix.
1905         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1906         `org-get-last-sibling' instead of the outline versions of these
1907         functions.
1908         (org-get-last-sibling): New function.
1909         (org-refile): Use `org-get-next-sibling' instead of the outline
1910         version of this function.
1911         (org-clean-visibility-after-subtree-move): Use
1912         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1913         outline versions of these functions.
1915 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1917         * org-agenda.el (org-prepare-agenda): When creating a new frame
1918         for the agenda, make the window dedicated.
1920         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1922         * org-table.el (org-table-align): Change the order of reinsertion
1923         and deletion, to avoid problems with overlays following the table.
1925         * org.el (org-parse-time-string): Better error message.
1926         (org-show-subtree): Use org-end-of-subtree.
1928         * org-macs.el (org-goto-line): New defsubst.
1930         * org.el (org-open-file, org-change-tag-in-region)
1931         (org-fast-tag-show-exit): Don't use `goto-line'.
1933         * org-table.el (org-table-align, org-table-insert-column)
1934         (org-table-delete-column, org-table-move-column)
1935         (org-table-sort-lines, org-table-copy-region)
1936         (org-table-paste-rectangle, org-table-wrap-region)
1937         (org-table-get-specials, org-table-rotate-recalc-marks)
1938         (org-table-get-range, org-table-recalculate)
1939         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1940         (org-table-show-reference, org-table-highlight-rectangle): Don't
1941         use `goto-line'.
1943         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1944         (org-edit-src-exit): Don't use `goto-line'.
1946         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1948         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1949         Don't use `goto-line'.
1951         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1953         * org-colview.el (org-columns, org-columns-redo)
1954         (org-agenda-columns): Don't use `goto-line'.
1956         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1957         use `goto-line'.
1959         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1960         (org-agenda-add-entry-text-maxlines): Improve docstring.
1961         (org-agenda-start-with-entry-text-mode): New option.
1962         (org-agenda-entry-text-maxlines): New option.
1963         (org-agenda-entry-text-mode): New variable.
1964         (org-agenda-mode): Set initial value of
1965         `org-agenda-entry-text-mode'.
1966         (org-agenda-mode-map): Add the `E' key.
1967         (org-agenda-menu): Add entry text mode to the menu.
1968         (org-agenda-get-some-entry-text): Fix line count bug.
1969         (org-finalize-agenda): Apply entry text mode if appropriate.
1970         (org-agenda-entry-text-show-here): New function.
1971         (org-agenda-entry-text-show): New function.
1972         (org-agenda-entry-text-hide): New function.
1973         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1974         key menu.
1975         (org-agenda-entry-text-mode): New command.
1976         (org-agenda-set-mode-name): Add entry text mode to the mode line
1977         string.
1978         (org-agenda-undo, org-agenda-get-restriction-and-command)
1979         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1980         `goto-line'.
1982 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1984         * org-clock.el (org-notify): Bugfix.
1986 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1988         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1989         check for after-string.
1991         * org-gnus.el (org-gnus-store-link): Simplify.
1993         * org.el (org-latex-regexps): Don't add extra empty lines for
1994         display formulas.
1996 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1998         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1999         (org-agenda-add-entry-text): Use
2000         `org-agenda-get-some-entry-text'.
2002         * org.el (org-cycle-separator-lines): Update docstring.
2003         (org-cycle-show-empty-lines): Handle negative values for
2004         `org-cycle-show-empty-lines'.
2006         * org-exp.el (org-export-protect-sub-super): New function.
2007         (org-export-normalize-links): Protect the url of plain links from
2008         supscript and superscript processing.
2010         * org-remember.el (org-remember-escaped-%): New function.
2011         (org-remember-apply-template): Use `org-remember-escaped-%' to
2012         detect escaped % signs.
2014 2009-08-23  Bastien Guerry  <bzg@altern.org>
2016         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2017         sound when showing the notification.
2019         * org-clock.el (org-notify): New function.
2020         (org-clock-notify-once-if-expired): Use `org-notify'.
2022         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2023         and `gnus-article-mode' separately.
2024         (gnus-summary-article-header): Fix the declare-function.
2026 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2028         * org-exp.el (org-export-format-source-code-or-example): Translate
2029         language.
2031         * org-src.el (org-src-lang-modes): New variable
2032         (org-edit-src-code): Translate language.
2034         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2035         the new structure of the `org-export-latex-listings-langs'
2036         variable.
2038         * org-latex.el (org-export-latex-listings-langs): Change structure
2039         of the variable from plist to alist.
2041 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2043         * org.el (org-in-commented-line): New function.
2045 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2047         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2049 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2051         * org.el (org-flag-drawer): More useful error.
2053 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2055         * org-remember.el (org-remember-apply-template): Use
2056         org-icompleting-read.
2058         * org-publish.el (org-publish): Use org-icompleting-read.
2060         * org-colview.el (org-columns-edit-value, org-columns-new)
2061         (org-insert-columns-dblock): Use org-icompleting-read.
2063         * org-colview-xemacs.el (org-columns-edit-value)
2064         (org-columns-new, org-insert-columns-dblock): Use
2065         org-icompleting-read.
2067         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2068         org-icompleting-read.
2070 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2072         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2073         (org-version): Return the version text.
2074         (org-org-menu): Add a menu entry for the new bug reporter.
2075         (org-submit-bug-report): New command.
2077         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2078         docstring.
2080         * org.el (org-emphasis-regexp-components): Add "`" to set of
2081         pre-emphasis characters.
2083         * org-latex.el (org-export-latex-classes): Always include the soul
2084         package.
2085         (org-export-latex-emphasis-alist): Use \st for strikethough.
2087         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2088         `indent-code-rigidly' to indent.
2090         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2091         properties only if MATCH really is a string.
2093 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2095         * org-latex.el (org-export-latex-packages-alist): Fix
2096         customization type.
2098         * org.el (org-create-formula-image): Also use
2099         `org-export-latex-packages-alist'.
2101         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2102         (org-export-as-html): Format footnotes correctly.
2104 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2106         * org.el (org-fast-tag-selection): Avoid text properties on tags
2107         in the alist.
2109         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2110         text properties on the match element.
2112 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2114         * org.el (org-set-regexps-and-options): Make sure the list of done
2115         keywords is not invalid.
2117         * org-exp.el (org-export-interpolate-newlines): New function.
2119 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2121         * org.el (org-format-latex): Avoid nested overlays.
2123         * org-latex.el (org-export-latex-listings-langs): Add a few more
2124         languages.
2126         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2127         ignore newlines and space before the first macro argument.
2129         * org-latex.el (org-export-latex-tables): Remove save-excursion
2130         around `org-table-align'.
2132 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2134         * org.el (org-export-html-special-string-regexps): Definition
2135         moved into org.el
2137         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2138         in macro calls.
2140 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2142         * org-latex.el (org-export-latex-listings)
2143         (org-export-latex-listings-langs): New options.
2145         * org-exp.el (org-export-format-source-code-or-example): Use
2146         listing package if requested by the user.
2148 2009-08-08  Bastien Guerry  <bzg@altern.org>
2150         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2151         command before actually switching to a buffer.
2153 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2155         * org-exp.el (org-get-file-contents): Only quote org lines when
2156         the markup is src or example.
2158         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2159         New option
2160         (org-agenda-get-day-entries): Remember deadline results and pass
2161         them on into the function getting the scheduling information.
2162         (org-agenda-get-scheduled): Accept deadline results as parameters
2163         and maybe skip some entries.
2164         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2166         * org.el (org-insert-heading): When respecting content, do not
2167         convert current line to headline.
2169         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2170         cheeeeeck the hd marker
2171         (org-clock-in): Also set the hd marker.
2172         (org-clock-out): Also set the hd marker.
2173         (org-clock-cancel): Reset markers.
2175         * org.el (org-clock-hd-marker): New marker.
2177         * org-faces.el (org-agenda-clocking): New face.
2179         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2180         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2182         * org.el (org-modules): Add org-track.el.
2184         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2185         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2186         `org-agenda-bulk-marked-p'.
2187         (org-agenda-bulk-toggle): New command.
2189 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2191         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2192         not just the body.
2194         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2195         messages.
2197 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2199         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2200         before gnuplot can read it.
2202 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2204         * org-latex.el (org-export-latex-first-lines): Fix bug with
2205         finding the end of the first lines.
2207         * org.el (org-create-formula-image): Remove the -E option for
2208         dvipng.
2210         * org-exp.el (org-default-export-plist): Respect #+BIND.
2211         (org-export-confirm-letbind): New function.
2213         * org.el (org-paste-subtree): Test the kill ring entry if it is
2214         going to be used.
2215         (org-copy-subtree): Use `org-forward-same-level'.
2216         (org-forward-same-level): Respect the `invisibe-ok' arg for
2217         back-to-heading.
2219 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2221         * org.el (org-table-map-tables): Make sure cursor is back at table
2222         beginning after funcall.
2224         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2225         handled before children, and do not error if an entry is not
2226         found, probably because it hase been remove when the parent was
2227         archived or refiled.
2229         * org.el (org-ido-completing-read): Accept straight lists for
2230         completion as well as alists.
2232         * org-html.el (org-export-as-html): Fix parenthesis error in
2233         footnore code.
2235         * org-timer.el (org-timer-cancel-timers): Renamed from
2236         `org-timer-cancel-timers'.
2238         * org.el (org-cycle-internal-local): Fix problem with finding next
2239         invisible line.
2241 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2243         * org-list.el (org-list-send-list): Call
2244         `org-list-goto-true-beginning' instead of
2245         `org-list-find-true-beginning', which does not exist.
2247         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2248         (org-timer-set-timer): Do not assign to heading.
2250         * org-id.el (org-id-open): Quote function name.
2252         * org-macs.el (org-unmodified): Turn off recording undo
2253         information while running inside the macro.
2255         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2256         variable.
2257         (org-indent-mode): Remember and restore value of
2258         org-hide-leading-stars before `org-indent-mode'.
2260         * org-table.el (org-table-export): Also work in file-less
2261         buffers.
2263         * org.el (org-startup-indented): New option.
2264         (org-startup-options): Add new options indent and noindent.
2265         (org-unfontify-region): Remove line-prefix and wrap-prefix
2266         properties.
2267         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2268         hooks.
2269         (org-promote, org-demote): Run the new hooks.
2271         * org-table.el (org-table-align): Replace leading \n as well.
2273         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2274         and `line-wrap' text properties.
2276         * org-compat.el (org-kill-new): New function.
2278         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2279         `line-wrap' text properties.
2281         * org-indent.el: New file.
2283 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2285         * org.el (org-provide-todo-statistics): Tweak docstring.
2287         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2289 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2291         * org-exp.el (org-export-as-org): Insert the "-source" string
2292         before the extension.
2294         * org.el (org-read-date): Make sure the calendar is in the current
2295         frame.
2296         (org-set-emph-re): Remove the ? from the post-match.
2297         (org-emphasis-regexp-components): Add backslash to the
2298         postmatch class.
2299         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2300         optional so that also lines at the end of the buffers will still
2301         be matched as headlines.
2303         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2304         Variable made obsolete.
2305         (org-table-relative-ref-may-cross-hline): New option.
2306         (org-table-find-row-type): Honow the new option
2307         `org-table-relative-ref-may-cross-hline'.
2309 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2311         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2312         on single field if no active region.
2314 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2316         * org-latex.el (org-export-latex-make-header): Only insert title
2317         if one is defined.
2319         * org.el (org-make-options-regexp): Allow empty values.
2321         * org-html.el (org-export-as-html): Move hrule detection to after
2322         plain list handling.
2324 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2326         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2328 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2330         * org.el (org-cycle-internal-local): Improved version of finding
2331         next visible line.
2332         (org-cycle-hide-drawers): Only hide drawers if this is really
2333         necessary.
2334         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2335         org-version of this function in Org-mode.  We use advice to
2336         implement this change, so that future changes to this function in
2337         outline.el wil be handled properly.
2338         (org-forward-same-level, org-backward-same-level): New commands.
2340 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2342         * org.el (org-remove-empty-overlays-at)
2343         (org-clean-visibility-after-subtree-move): New functons.
2344         (org-move-subtree-down): Simplify cleanup of display.
2346 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2348         * org-mac-message.el (org-mac-message-get-links): Improve
2349         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2350         "s".  Fix the return value.
2351         (org-mac-message-insert-flagged): Simplify.
2353         * org.el (org-refile-get-location): Tamper with refile history o
2354         that history contains compete matches instead of the entered
2355         string.
2357 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2359         * org.el (org-store-link): Never store a link to an inline task.
2361         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2363         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2364         inline tasks when positioning footnotes.
2366         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2367         function.
2369         * org.el (org-refile): Remove the END line when archiving an
2370         inline task that does have an END line.
2372         * org-archive.el (org-archive-subtree): Remove the END line when
2373         archiving an inline task that does have an END line.
2375         * org-macs.el (org-with-limited-levels): New macro.
2376         (org-get-limited-outline-regexp): New function.
2378         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2379         that did not enumerate first line.
2380         (org-export-mark-radio-links): Skip matches in links.
2382 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2384         * org.el (org-activate-plain-links): Make single-match.
2385         (org-adapt-indentation): Fix docstring.
2387         * org-macs.el (org-unmodified): Turn of modification hooks while
2388         running this macro.
2390 2009-08-02  Bastien Guerry  <bzg@altern.org>
2392         * org.el (org-adapt-indentation): Slightly improve the docstring.
2393         (org-occur): Sends an error when the user inputs an empty string.
2394         (org-priority): Bugfix: the tag alignement should happen within
2395         save-excursion.
2397 2009-07-31  Bastien Guerry  <bzg@altern.org>
2399         * org.el (org-make-link-regexps): Don't exclude parentheses from
2400         `org-plain-link-re'
2401         (org-cycle-internal-local): When locally cycling, switch directly
2402         from CHILDREN to FOLDED if there is no subtree
2403         (org-cycle): Update the docstring to document the new behavior of
2404         `org-cycle-internal-local'.
2406 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2408         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2409         an abbreviated format for days.
2411 2009-07-27  Bastien Guerry  <bzg@altern.org>
2413         * org-protocol.el (org-protocol-default-template-key): New
2414         option.
2416         * org.el (org-refile): Bugfix: save-excursion before reading the
2417         refile target, otherwise cursor moves might confuse `org-refile'.
2419         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2420         footnote reference before the footnote itself.
2422         * org.el (org-toggle-heading): Bugfix: correctly convert list
2423         items before the first headline.
2425         * org-html.el (org-export-html-footnote-format): New option for
2426         formatting the footnote reference.
2427         (org-export-as-html): Use the new option.
2429         * org.el (org-provide-todo-statistics): Allow a list of TODO
2430         keywords to compute statistics against headlines containing a
2431         keyword from this list.
2432         (org-update-parent-todo-statistics): Possibly use the new allowed
2433         value of `org-provide-todo-statistics'.
2435 2009-07-26  Bastien Guerry  <bzg@altern.org>
2437         * org-timer.el: Add autoload cookie.
2439         * org.el (org-occur-link-in-agenda-files): New function.
2441         * org-timer.el (org-timer-last-timer): New variable.
2443         * org-agenda.el (org-agenda-mode-map): New key for
2444         org-timer-set-timer called from the agenda.
2446         * org.el (org-mode-map): New key for org-timer-set-timer.
2448         * org-timer.el (org-timer-reset-timers)
2449         (org-timer-show-remaining-time, org-timer-set-timer): New
2450         functions.
2452         * org-clock.el (org-show-notification): Update the docstring.
2454         * org.el (org-provide-todo-statistics): Allow new value
2455         'all-headlines for this option, which includes entries with no
2456         TODO keywords in the todo statistics.
2457         (org-update-parent-todo-statistics): Possibly use the new
2458         'all-headline value from `org-provide-todo-statistics'.
2460 2009-07-25  Bastien Guerry  <bzg@altern.org>
2462         * org-clock.el (org-dblock-write:clocktable): Add a new option
2463         :timestamp which allows display of timestamps in clock reports.
2465         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2466         list to a subtree, preserving the structure of the list.
2467         (org-set-emph-re): Make the last element optional in the regexp.
2468         This regexp now matches an emphasized string at the end of a line.
2470         * org-list.el (org-list-goto-true-beginning)
2471         (org-list-make-subtree, org-list-make-subtrees): New functions.
2473         * org.el (org-eval-in-calendar): Select the right frame.
2474         (org-save-frame-excursion): Remove this macro.
2476 2009-07-24  Bastien Guerry  <bzg@altern.org>
2478         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2479         trying to find the beginning of a list.
2481         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2482         When present, tell org-get-file-contents not to protect org-like
2483         lines.
2485         * org-id.el (org-id-uuid-program): New option to set the name of
2486         the uuidgen program.
2487         (org-id-method): Use `org-id-uuid-program'.
2488         (org-id-new): Use `org-id-uuid-program'.
2490 2009-07-23  Bastien Guerry  <bzg@altern.org>
2492         * org-exp.el (org-export-number-lines): Allow whitespace in code
2493         references.  Allow the -r switch to remove the references in the
2494         source code even when the lines are not numbered: the labels can
2495         be explicit enough.
2497         * org.el (org-fontify-whole-heading-line): New option.
2498         (org-set-font-lock-defaults): Use the new option.
2500         * org-clock.el (org-show-notification-handler): New option.
2501         (org-show-notification): Use the new option.
2503 2009-07-21  Bastien Guerry  <bzg@altern.org>
2505         * org.el (org-eval-in-calendar): Fix a bug about calendar
2506         navigation when `calendar-setup' value is 'calendar-only.
2508 2009-07-19  Bastien Guerry  <bzg@altern.org>
2510         * org.el (orgstruct++-mode): Fix typo in docstring.
2511         (org-insert-link): Clean up: (or (...)) => (...)
2512         (org-insert-link): Use TAB for stored links completion.
2514 2009-07-18  Bastien Guerry  <bzg@altern.org>
2516         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2517         building the list of targets.
2519         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2520         option.
2521         (org-remember-handler): Use the new option.
2523 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2525         * org.el (org-tags-sort-function): New option for sorting tags.
2526         (org-set-tags): Use the new option to sort tags.
2528         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2529         premature deletion of the data when using org-plot in a script.
2531 2009-07-17  Bastien Guerry  <bzg@altern.org>
2533         * org-clock.el (org-clock-in-prepare-hook): New hook.
2534         (org-clock-in): Use this new hook.
2536 2009-07-16  Bastien Guerry  <bzg@altern.org>
2538         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2539         'reversed for this option to the "true line boundary first"
2540         behavior.
2541         (org-tags-match-list-sublevels): Document the 'indented value for
2542         this variable.
2544         * org-latex.el (org-export-latex-first-lines): Fix problem with
2545         publishing the region.
2547         * org-exp.el (org-export-format-source-code-or-example): Fix
2548         bad line numbering when exporting examples in HTML.
2550         * org-colview.el (org-format-time-period): Formats a time in
2551         fractional days as days, hours, mins, seconds.
2552         (org-columns-display-here): Add special handling for SINCE and
2553         SINCE_IA to format for display.
2555 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2557         * org.el (org-tags-sort-function): Add custom declaration for tags
2558         sorting function.
2559         (org-set-tags): Sort tags if org-tags-sort-function is set
2561 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2563         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2565         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2567         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2568         option.
2570 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2572         * org-publish.el (org-publish-remove-all-timestamps): New function.
2573         (org-publish-all): Remove all timestamp files if `org-publish-all'
2574         is called with a prefix argument.
2576         * org-list.el (org-indent-item): Fix typo.
2577         (org-item-indent-positions): Normalize ordered bullet.
2579         * org-html.el (org-export-html-home/up-format): New option.
2580         (org-export-as-html): Insert the up and HOME links.
2582 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2584         * org-html.el (org-export-as-html): Insert the title into the
2585         option plist.
2586         (org-export-html-insert-plist-item): New function.
2587         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2589         * org-macs.el (org-set-local): Make a local variable, do not make
2590         the variable buffer-local!
2592         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2594         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2596         * org-docbook.el (org-export-as-docbook): Call
2597         `org-install-letbind'.
2599         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2601         * org-exp.el (org-infile-export-plist): Read BIND lines.
2602         (org-install-letbind): New function.
2603         (org-export-as-org, org-export-preprocess-string): Call
2604         `org-install-letbind'.
2606         * org-src.el (org-edit-src-exit): Untabify the example before
2607         returning to Org.
2609         * org-list.el (org-list-demote-modify-bullet): New option.
2610         (org-first-list-item-p): Save point.
2611         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2612         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2613         (org-item-indent-positions): Return bullet types along with
2614         indentation.
2616 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2618         * org.el (org-show-entry): Hide drawers.
2620 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2622         * org-footnote.el (org-footnote-auto-adjust): New option.
2623         (org-footnote-auto-adjust-maybe): New function.
2624         (org-footnote-new, org-footnote-delete): Call
2625         `org-footnote-auto-adjust-maybe'.
2627         * org.el (org-startup-options): Add new footnote-related
2628         keywords.
2630         * org-publish.el (org-publish-timestamp-filename): Additional
2631         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2632         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2633         TRUE-PUB-DIR.  Pass them through to
2634         `org-publish-timestamp-filename'.
2635         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2636         PUB-FUNC, which are included in the hash.
2637         (org-publish-file): Delay timestamp test until the publishing
2638         function is known.
2640 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2642         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2643         setting the deadline.
2645         * org.el (org-read-date-final-answer): New variable.
2646         (org-read-date): Store the final answer string, including the date
2647         from the calendar, for reuse by agenda bulk commands.
2649         * org-publish.el (org-publish-attachment): Fix publishing of
2650         attachments.
2652         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2653         quotation makrs in parenthesis.
2654         (org-remove-initial-hash): New function.
2655         (org-export-latex-preprocess): Fix bug with infinite loop if
2656         environment is not properly closed.
2658         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2659         when indented.
2661         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2662         highlight also when indented.
2664 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2666         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2667         (org-footnote-action): Offer renumbering.
2669         * org.el (org-cycle): Honor the `integrate' value of
2670         org-cycle-include-plain-lists'.
2672         * org-list.el (org-cycle-include-plain-lists): New allowed value
2673         `internal'.  Improve the docstring.
2675         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2676         regexp to work better with LaTeX commands.
2678 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2680         * org-feed.el (org-feed-update): fix problem with non-existing
2681         buffer.
2682         (org-feed-skip-http-headers): New function.
2683         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2684         (org-feed-get-feed): Fix command line arguments for curl.
2686 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2688         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2689         and eps extensions.
2691 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2693         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2694         loaded.
2696         * org.el (org-map-entries): No longer force
2697         `org-tags-match-list-sublevels' to t during a todo-only tags
2698         search.
2700 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2702         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2703         environment.
2704         (org-export-latex-subcontent): Handle user-defined environment.
2706         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2707         the View dispatcher.
2709         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2710         `make-overlay'.
2712         * org-latex.el (org-export-as-pdf): Protect match data during call
2713         to shell-quote-argument.
2715         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2716         (org-agenda-view-mode-dispatch): New function.
2718 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2720         * org-agenda.el (org-agenda-mode): Reset list of marks.
2721         (org-agenda-mode-map): Define new keys for refile and bulk action.
2722         (org-agenda-menu): Add menu itesm for refile and bulk action.
2723         (org-agenda-refile): New function.
2724         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2725         (org-agenda-marked-entries): New variable.
2726         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2727         (org-agenda-remove-all-bulk-action-marks)
2728         (org-agenda-bulk-action): New functions/commands.
2730 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2732         * org-exp.el (org-get-file-contents): Protect org-like lines in
2733         included files.
2734         (org-export-format-source-code-or-example): Remove newlines.
2736         * org-latex.el (org-export-latex-links): Check for no-description
2737         marking.
2739         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2740         argument separator back to comma.
2741         (org-export-normalize-links): Mark links without description.
2743 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2745         * org-exp.el (org-infile-export-plist): Fix bug in macro
2746         processing.
2748         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2749         out.
2750         (org-agenda-highlight-todo): Fix bug with highlighting.
2752 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2754         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2755         new alignment strings.
2757         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2758         command list.
2759         (org-table-align): Check for forced align type.
2761         * org.el (org-self-insert-command): Add yas/expand to command
2762         list.
2764         * org-clock.el (org-clock-in-hook): New hook.
2765         (org-clock-in): Run `org-clock-in-hook.
2766         (org-clock-out-hook): New hook.
2767         (org-clock-out): Run `org-clock-out-hook.
2768         (org-clock-cancel-hook): New hook.
2769         (org-clock-cancel): Run `org-clock-cancel-hook.
2770         (org-clock-goto-hook): New hook.
2771         (org-clock-goto): Run `org-clock-goto-hook.
2773 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2775         * org.el (org-store-link): Better default description for link to
2776         Org-mode headline.
2778         * org-exp.el (org-export-generic): Autoload the generic exporter
2779         function.
2780         (org-export): Implement the `g' key for the generic exporter.
2782 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2784         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2785         and for zbacktab'.
2787         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2789         * org-exp.el (org-infile-export-plist): Get macros also from
2790         #+SETUPFILE.
2792 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2794         * org-colview.el (org-columns-capture-view): Protect vertical bars
2795         in column values.
2796         (org-columns-capture-view): Exclude comment and archived trees.
2798         * org-colview-xemacs.el (org-columns-capture-view): Protect
2799         vertical bars in column values.
2800         (org-columns-capture-view): Exclude comment and archived trees.
2802         * org.el (org-quote-vert): New function.
2804         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2806         * org-exp.el (org-export-format-source-code-or-example): Use
2807         `org-export-latex-verbatim-wrap'.
2809         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2810         time stamps.
2812         * org-html.el (org-export-table-row-tags): New option.
2813         (org-format-org-table-html): Rename `nlines' to `nline', use new
2814         option.
2817 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2819         * org-exp-blocks.el: Declare functions and variables.
2821         * org-remember.el (org-remember-templates): Allow the headline
2822         element to be a function.
2823         (org-remember-apply-template): If the headline is a function, call
2824         it to get the true function.
2826         * org-clock.el (org-clock-menu): New function.
2827         (org-clock-update-mode-line): Update help string.
2828         (org-clock-modify-effort-estimate): New function.
2829         (org-clock-mark-default-task): New function.
2831         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2832         minutes as input.
2833         (org-org-menu): Add new clocking stuff.
2834         (org-clock-is-active): New function.
2836 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2838         * org.el (org-open-non-existing-files): Improve docstring.
2840 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2842         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2843         option.
2844         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2846         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2848         * org-list.el (org-get-checkbox-statistics-face): Use the new
2849         faces.
2851         * org-faces.el (org-checkbox-statistics-todo)
2852         (org-checkbox-statistics-done): New faces.
2854 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2856         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2857         (org-edit-src-exit): Better cursor positioning when returning from
2858         editing.
2860         * org-latex.el (org-export-latex-use-verb): New variable.
2861         (org-export-latex-emph-format): Prefer \texttt over \verb when
2862         org-export-latex-use-verb is set.
2864 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2866         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2867         at normal indentation.
2869         * org-html.el (org-export-html-close-lists-maybe): Also look at
2870         normal indentation.
2872         * org-remember.el (org-remember-handler): Abort remember if the
2873         buffer is empty.
2875         * org-src.el (org-edit-src-content-indentation): New option.
2876         (org-edit-src-exit): Apply extra indentation.
2878         * org-exp.el (org-export-format-source-code-or-example): Run
2879         `org-src-mode-hook'.
2881         * org-src.el (org-src-mode-hook): New variable.
2882         (org-edit-src-code): Run `org-src-mode-hook'.
2884 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2886         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2888         * org-src.el (org-edit-src-get-indentation): New function.
2889         (org-edit-src-code): Base indentation on the begin line.
2891 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2893         * org-gnus.el (org-gnus-store-link): Require message.el in
2894         org-gnus-store-link.
2896 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org-src.el: New file, split out of org.el
2900         * org-docbook.el (org-export-as-docbook): Better indentation
2901         treatment.
2903         * org-macs.el (org-replace-match-keep-properties): New function.
2905         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2906         preprocessing of center and quote and verse blocks.
2908         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2909         (org-export-as-docbook): Close lists when original indentation
2910         mandates it.
2912         * org-html.el (org-export-html-close-lists-maybe): New function.
2913         (org-export-as-html): Close lists when original indentation
2914         mandates it.
2916         * org-list.el (org-list-end): Respect the stored "original"
2917         indentation when determining the end of the list.
2919         * org-exp.el (org-export-replace-src-segments-and-examples):
2920         Remember indentation correctly.
2922 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2924         * org-clock.el (org-clock-update-mode-line): Apply face
2925         org-mode-line-clock.
2927         * org-faces.el (org-mode-line-clock): New face.
2929 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2931         * org-gnus.el (org-gnus-store-link): Fix bug where
2932         `org-gnus-store-link' used wrong subject when called in an article
2933         buffer.  Patch provided by fengli AT gmail DOT com.
2935 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2937         * org-exp.el (org-export-format-source-code-or-example): Remember
2938         the original indentation of source code snippets and examples.
2940         * org-latex.el (org-export-as-latex): Relocate the table of
2941         contents.
2943         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2945         * org-agenda.el (org-run-agenda-series): Scope global options also
2946         when creating the agenda buffer.
2948 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2950         * org.el (org-adapt-indentation): Improve documentation.
2951         (org-insert-property-drawer): Respect org-adapt-indentation when
2952         inserting the drawer.
2953         (org-remove-flyspell-overlays-in): New function.
2954         (org-do-emphasis-faces, org-activate-plain-links)
2955         (org-activate-code, org-fontify-meta-lines-and-blocks)
2956         (org-activate-angle-links, org-activate-footnote-links)
2957         (org-activate-bracket-links, org-activate-dates)
2958         (org-activate-target-links, org-activate-tags): Remove flyspell
2959         overlays.
2961 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2963         * org.el (org-edit-src-save): New function.
2965         * org-clock.el (org-clock-out-switch-to-state): New option.
2966         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2968         * org-compat.el (org-compatible-face): Improve macro.
2970         * org.el (org-global-properties-fixed): Add default for
2971         CLOCK_MODELINE_TOTAL.
2973         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2974         andd tend.
2975         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2976         org-clock-sum.
2977         (org-clock-get-sum-start): New function.
2979         * org.el (org-startup-options): New keywords blockhide and
2980         blockshow.
2981         (org-mode): Add new invisibility spec.
2982         (org-set-startup-visibility): Hide block on startup if so
2983         desired.
2984         (org-hide-block-startup): New option.
2985         (org-block-regexp): New constant.
2986         (org-hide-block-overlays): New variable.
2987         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2988         (org-show-block-all, org-hide-block-toggle-maybe)
2989         (org-hide-block-toggle): New functions.
2990         (org-edit-src-exit): Do not quote lines starting with # and no +
2991         behind it.
2992         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2993         entry.
2995 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2997         * org.el (org-buffer-property-keys): Add Effort property for
2998         completion.
3000 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3002         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3003         when retrieving total clocked time in the subtree.
3005         * org.el (org-quoting-blocks): New variable.
3007 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3009         * org-table.el (org-table-store-formulas)
3010         (org-table-get-stored-formulas, org-table-fix-formulas)
3011         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3012         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3014         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3015         indented #+TBLFM line.
3017         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3018         indented #+TBLFM line.
3020         * org-colview.el (org-dblock-write:columnview): Allow indented
3021         #+TBLFM line.
3023         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3024         indented #+TBLFM line.
3026         * org-clock.el (org-dblock-write:clocktable): Allow indented
3027         #+TBLFM line.
3029 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3031         * org-exp.el (org-export-format-source-code-or-example): Make
3032         editing indented blocks work correctly.
3034         * org.el (org-edit-src-nindent): New variable.
3035         (org-edit-src-code, org-edit-fixed-width-region)
3036         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3037         editing indented blocks work correctly.
3039 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3041         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3042         indented blocks.
3043         (org-export-format-source-code-or-example): Fix indentation of
3044         blocks.
3045         (org-export-remove-indentation): New function.
3046         (org-export-select-backend-specific-text): Allow backend-specific
3047         code to be indented.
3048         (org-export-mark-blockquote-verse-center): Allow markers to be
3049         indented.
3051         * org.el (org-fontify-meta-lines): New function.
3052         (org-set-font-lock-defaults): Call the new fontification
3053         function.
3055         * org-faces.el (org-meta-line): New face
3056         (org-block):  New face.
3058 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3060         * org.el (org-treat-insert-todo-heading-as-state-change)
3061         (org-treat-S-cursor-todo-selection-as-state-change): New
3062         variables.
3063         (org-insert-todo-heading): Honor
3064         `org-treat-insert-todo-heading-as-state-change'.
3065         (org-shiftright, org-shiftleft): Honor
3066         `org-treat-S-cursor-todo-selection-as-state-change'.
3067         (org-inhibit-logging): New variable.
3069 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3071         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3072         range for marker position checking.
3074         * org-latex.el (org-export-latex-first-lines): Fix bug when
3075         exporting a region.
3077 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3079         * org-exp.el (org-export-push-to-kill-ring): Protect using
3080         x-set-selection, because that does not always work.
3082         * org-agenda.el (org-agenda-list): Apply the new face
3083         `org-agenda-date-today'.
3085         * org-faces.el (org-agenda-date-today): New face.
3087 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3089         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3090         creating appointments.
3092         * org-latex.el (org-export-latex-low-levels): Fix customization
3093         type.
3095         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3096         priority commands.
3098         * org-agenda.el (org-agenda-priority): Disable priority commands.
3100         * org.el (org-enable-priority-commands): New option.
3102         * org-colview-xemacs.el (org-columns-compute)
3103         (org-columns-number-to-string): Fix problems with empty fields.
3105         * org-colview.el (org-columns-compute)
3106         (org-columns-number-to-string): Fix problems with empty fields.
3108         * org-exp.el (org-export-push-to-kill-ring): New function.
3109         (org-export-copy-to-kill-ring): New option.
3111         * org-latex.el (org-export-as-latex): Call
3112         `org-export-push-to-kill-ring'.
3114         * org-html.el (org-export-as-html): Call
3115         `org-export-push-to-kill-ring'.
3117         * org-docbook.el (org-export-as-docbook): Call
3118         `org-export-push-to-kill-ring'.
3120         * org-ascii.el (org-export-as-ascii): Call
3121         `org-export-push-to-kill-ring'.
3123         * org-exp.el (org-export-show-temporary-export-buffer): New
3124         option.
3126         * org-latex.el (org-export-as-latex): Use
3127         `org-export-show-temporary-export-buffer'.
3129         * org-html.el (org-export-as-html): Use
3130         `org-export-show-temporary-export-buffer'.
3132         * org-docbook.el (org-export-as-docbook): Use
3133         `org-export-show-temporary-export-buffer'.
3135         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3136         `org-export-show-temporary-export-buffer'.
3138         * org-exp.el (org-export-show-temporary-export-buffer): New
3139         option.
3140         (org-export-push-to-kill-ring): New function.
3142         * org-colview.el (org-columns-compile-map): New variable.
3143         (org-columns-new, org-columns-compute)
3144         (org-columns-number-to-string, org-columns-uncompile-format)
3145         (org-columns-compile-format): Implement new operators.
3147 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3149         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3151         * org-html.el (org-export-html-xml-declaration): New option.
3152         (org-export-as-html): Use `org-export-html-xml-declaration'.
3154         * org-list.el (org-update-checkbox-count): Make property
3155         dependent.
3157         * org.el (org-hierarchical-todo-statistics): New option.
3158         (org-update-parent-todo-statistics): Modified to handle recursive
3159         statistics.
3161 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3163         * org-publish.el (org-publish): Make this function behave
3164         correctly in interactive use when called with a prefix argument.
3166         * org.el (org-todo-statistics-hook): New hook.
3167         (org-update-parent-todo-statistics): Use new hook.
3168         (org-log-into-drawer): New function.
3169         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3170         determine if we should be logging into a drawer.
3171         (org-log-into-drawer): Update docstring.
3172         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3174         * org-list.el (org-checkbox-statistics-hook): New hook.
3175         (org-update-checkbox-count-maybe): Use new hook.
3177         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3178         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3179         to kill ring.
3181 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3183         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3184         a line.
3186 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3188         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3189         better bufer-generating mechanism.
3190         (org-edit-src-find-buffer): New function.
3192         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3193         archive tag, this is already done by `org-agenda-skip'.
3194         data while constructing lost of tags.
3196 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3198         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3199         as argument separator in macros.
3201         * org-html.el (org-export-as-html): Add xml declaration.
3203 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3205         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3206         (org-sort-entries-or-items): Run the new hook.
3207         (org-after-refile-insert-hook): New hook.
3208         (org-refile): Run `org-after-refile-insert-hook'.
3210         * org-agenda.el (org-agenda-get-progress): Never take time of day
3211         from headline when displaying progress.
3213         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3214         (org-export-as-latex): Force the correct regexp in the
3215         preprocessor buffer.
3216         (org-export-latex-set-initial-vars): Set
3217         `org-export-latex-complex-heading-re'.
3219         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3220         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3222 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3224         * org-latex.el (org-export-latex-tables-centered): New option.
3225         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3227         * org-exp.el (org-export-as-org): New command.
3228         (org-export-as-org): New command.
3230         * org-publish.el (org-publish-org-to-org): New function.
3232 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3234         * org.el (org-yank): Just call `org-yank-generic'.
3235         (org-yank-generic): New function, containing the formaer
3236         functionality of `org-yank'.
3238         * org-latex.el (org-export-latex-not-done-keywords)
3239         (org-export-latex-done-keywords): New variables.
3240         (org-export-latex-todo-keyword-markup): New option.
3241         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3242         (org-export-latex-keywords-maybe): Apply the TODO markup.
3244 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3246         * org-exp.el (org-infile-export-plist): Add more default macros.
3247         (org-export-preprocess-apply-macros): Process macro arguments.
3249 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3251         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3252         `unblocked'.
3253         (org-print-icalendar-entries): Respect the new value of
3254         `org-icalendar-include-todo'.
3256         * org.el (org-link-try-special-completion)
3257         (org-file-complete-link): New functions.
3258         (org-insert-link): Add special completion support for some link
3259         types.
3261         * org-bbdb.el (org-bbdb-complete-link): New function.
3263 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3265         * org-list.el (org-update-checkbox-count): Allow recursive
3266         statistics.
3267         (org-hierarchical-checkbox-statistics): New option.
3269         * org.el (org-cycle): Remove erraneous space character.
3271         * org-icalendar.el (org-icalendar-timezone): Initialize from
3272         environment.
3274         * org-html.el (org-format-org-table-html): Specify the scope.
3275         (org-format-table-table-html): Specify the scope.
3276         (org-export-table-header-tags): Prepare the scope parameter.
3278 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3280         * org-html.el
3281         (org-export-html-table-use-header-tags-for-first-column): New
3282         option.
3284         * org.el (org-autoload): Fix autoloading of ascii export
3285         functions.
3286         (org-modules): Add org-special-blocks.
3288 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3290         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3291         (org-ical-timezone): New option.
3293         * org-exp.el (org-export-get-coderef-format): Use the description
3294         is present.
3296         * org.el (org-sort-entries-or-items): Improve docstring, and make
3297         better implementation for time sorting.
3299 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3301         * org.el (org-edit-src-persistent-message): New option.
3302         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3303         option.
3305         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3306         patch.
3308         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3309         separate buffer instead of indirect buffer to edit source code.
3310         (org-edit-src-exit): Make this function work with the new setup.
3312         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3313         are properly fontified before shown in the selection menu.
3315         * org.el (org-fontify-like-in-org-mode): New function.
3317         * org-latex.el (org-export-latex-links): Use the property list to
3318         retrieve the default image attributes.
3320         * org-exp.el (org-export-plist-vars): Add a new option.
3322 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3324         * org-exp.el (org-export, org-export-visible): Support ASCII
3325         export to buffer
3326         (org-export-normalize-links): Do not protect the description if it
3327         is explicitly given.
3329         * org-ascii.el (org-export-as-ascii-to-buffer)
3330         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3331         commands.
3332         (org-export-as-ascii): Add all the same parameters that are also
3333         supported by the other export functions.
3335         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3336         org-checklist.el.
3337         (org-reset-checkbox-state-subtree): Call
3338         `org-reset-checkbox-state-subtree'.
3340         * org-remember.el (org-select-remember-template): For the
3341         selection of a valid template.
3343         * org-latex.el (org-export-region-as-latex): Supply the
3344         force-no-subtree argument.
3345         (org-export-as-latex): Provide better limits when exporting the
3346         first line.  When exporting to string, we still want the first
3347         lines.
3348         (org-export-latex-first-lines): New argument END, to force the end
3349         of the region.
3350         (org-export-region-as-latex): Use the property list.
3351         (org-export-as-latex):
3353         * org-colview-xemacs.el (org-columns-remove-overlays)
3354         (org-columns): Fix call to `local-variable-p'.
3356 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3358         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3359         (org-export-as-html): Run the new hook.
3361         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3362         (org-export-latex-preprocess): Run the new hook.
3364         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3365         (org-export-preprocess-string): Run the new hook.
3367 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3369         * org-macs.el (org-check-external-command): New defsubst.
3371         * org.el (org-mode-map): New key for reload.
3372         (org-format-latex): Better error message when external programs
3373         are not available.
3375         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3377         * org.el (org-sort-entries-or-items): Explicit sorting function
3378         for priorities, needed for XEmacs compatibility.
3380         * org-remember.el (org-remember-apply-template): Improve auto-save
3381         behavior.
3383 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3385         * org-latex.el (org-export-latex-preprocess): Also protect
3386         environments ending in a star.
3388         * org-list.el (org-at-item-p): Fix regular expression.
3390 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3392         * org.el (org-end-of-subtree): Improve speed.
3394         * org-agenda.el (org-agenda-get-timestamps)
3395         (org-agenda-get-progress, org-agenda-get-deadlines)
3396         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3397         in particular, wait as long as possible to collect the tags.
3398         (org-stuck-projects): Improve docstring.
3400         * org.el (org-store-link): No errors when getting custom id before
3401         first headline.
3402         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3404 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3406         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3408         * org-protocol.el: Remove dependency on url.el.
3409         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3410         dependency on url.el.
3412         * org-latex.el (org-export-as-pdf): Use
3413         `org-latex-to-pdf-process'.
3415 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3417         * org-latex.el (org-latex-to-pdf-process): New option.
3419         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3420         New option.
3421         (org-agenda-get-timestamps): Honor
3422         `org-agenda-skip-additional-timestamps-same-entry'.
3424         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3425         (org-clock-goto): Find recent task only if
3426         `org-clock-goto-may-find-recent-task' allows it.
3428         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3429         drawers, and drawers that are missing the :END: line.
3431 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3433         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3434         clock is running.
3436 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3438         * org.el (org-update-parent-todo-statistics): Check for
3439         STATISTICS_FROM property.
3441         * org-list.el (org-update-checkbox-count): Check for
3442         STATISTICS_FROM property.
3444         * org.el (org-tab-first-hook)
3445         (org-tab-after-check-for-table-hook)
3446         (org-tab-after-check-for-cycling-hook): New hooks.
3447         (org-cycle-internal-global, org-cycle-internal-local): New
3448         functions, split out from `org-cycle'.
3449         (org-cycle): Call the new hooks.
3451 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3453         * org-exp.el (org-export-preprocess-string): Reset the list of
3454         preferred targets for each run of the preprocessor.
3456         * org.el (org-refile-target-verify-function): Improve
3457         documentation.
3458         (org-get-refile-targets): Respect point being moved by the
3459         verification function.
3461         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3462         option.
3463         (org-export-latex-keywords): Use new option.
3465         * org.el (org-rear-nonsticky-at): New defsubst.
3466         (org-activate-plain-links, org-activate-angle-links)
3467         (org-activate-footnote-links, org-activate-bracket-links)
3468         (org-activate-dates, org-activate-target-links)
3469         (org-activate-tags): Place the rear-nonsticky properties at the
3470         correct location.
3472 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3474         * org-protocol.el (server-edit): Declare `server-edit'.
3475         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3476         functions.
3477         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3479         * org.el (org-default-properties): New default properteis for
3480         completion.
3482         * org-exp.el (org-export-add-subtree-options): Add new properties
3483         for subtree export.
3485         * org-docbook.el (org-export-docbook-keywords-markup)
3486         (org-export-docbook-timestamp-markup): New options.
3487         (org-export-docbook-protect-tags): New function.
3489 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3491         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3492         org-refile-target-verify-function for the duration of the command.
3494         * org.el (org-link-to-org-use-id): New possible value
3495         `create-if-interactive-and-no-custom-id'.
3496         (org-store-link): Use custom IDs.
3497         (org-link-search): Find custom ID properties from #link.
3498         (org-default-properties): Add CUSTOM_ID for property completion.
3499         (org-refile-target-verify-function): New option.
3500         (org-goto): Turn off org-refile-target-verify-function
3501         for the duration of the command.
3503 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3505         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3507         * org-exp.el (org-export-preferred-target-alist): New variable.
3508         (org-export-define-heading-targets): Find the new CUSTOM_ID
3509         property.
3510         (org-export-target-internal-links): Target the custom ids when
3511         possible.
3513         * org-latex.el (org-export-latex-preprocess): Better regexp for
3514         matching latex macros with arguments.
3516 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3518         * org-remember.el (org-remember-handler): Allow filing to non-org
3519         files.
3521 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3523         * org-feed.el (org-feed-alist): New keyword options.
3524         (org-feed-update): Use the new options.
3525         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3526         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3527         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3528         functions.
3530         * org-table.el (org-table-fix-formulas): Do not change references
3531         to remote tables.
3532         (org-table-get-remote-range): Convert standard coordinates to RC
3533         format.
3535         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3537 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3539         * org-compat.el (org-sha1-string): Function removed.
3541         * org.el (org-refile-allow-creating-parent-nodes): New option.
3542         (org-refile-get-location): New argument NEW-NODES.
3543         (org-refile): Call `org-refile-get-location' with the new
3544         argument.
3545         (org-refile-get-location): Arrange for adding a new child.
3546         (org-refile-new-child): New function.
3548         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3549         an additional span element.
3551         * org-clock.el: Fix a number of docstrings.
3552         (org-clock-find-position): New argument
3553         FIND-UNCLOSED to make the function find an unclosed clock in the
3554         entry.
3555         (org-clock-in): Call `org-clock-find-position' with the new
3556         argument if we might be resuming a clock.
3558 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3560         * org-latex.el (org-export-latex-display-custom-times): New variable.
3561         (org-export-latex-timestamp-markup): New option.
3562         (org-export-latex-set-initial-vars): Remember the local value of
3563         `org-display-custom-times'.
3564         (org-export-latex-content): Process time stamps.
3565         (org-export-latex-time-stamps): New function.
3567         * org-macs.el (org-maybe-intangible): Add intangible property
3568         again to invisible text.
3570 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3572         * org-exp.el (org-default-export-plist): Handle undefined
3573         variables.
3575 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3577         * org.el (org-sort-entries-or-items): Match TODO keywrds
3578         case-sensitively, when sorting.
3579         (org-priority): Do not match TODO keywords with wrong case.
3581 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3583         * org-feed.el (org-feed-update): Bind the variable
3584         `new-formatted'.
3586         * org-html.el (org-export-as-html): Start paragraphs after literal
3587         examples.
3589         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3590         literal examples.
3592 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3594         * org.el (org-todo): Honor the NOBLOCKING property.
3596         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3597         NOBLOCKING property.
3599         * org.el (org-scan-tags): Fix bug in tag scanner
3601 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3603         * org.el (org-modules): Mark obsolete packages.
3605         * org-html.el: New file, split out from org-exp.el.
3607         * org-icalendar.el: New file, split out from org-exp.el.
3609         * org-xoxo.el: New file, split out from org-exp.el.
3611         * org-ascii.el: New file, split out from org-exp.el.
3613 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3615         * org-compat.el (org-find-library-name): New function.
3617         * org.el (org-pre-cycle-hook): New hook.
3618         (org-cycle): Call the new hook in appropriate places.
3619         (org-reload): Only reload files that have been loaded before.
3621 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3623         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3624         after todo keyword.
3625         (org-todo): When changing TODO state, do matching
3626         case-sensitively.
3627         (org-map-continue-from): New variable.
3628         (org-scan-tags): Respect values in `org-map-continue-from'.
3629         (org-reload): Make XEmacs compatible.
3631 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3633         * org-protocol.el (org-protocol-flatten-greedy): New function.
3634         (org-protocol-flatten): New function.
3636         * org.el (org-open-link-from-string): Pass reference buffer to
3637         `org-open-at-point'.
3638         (org-open-at-point): New optional argument `reference-buffer'.
3640 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3642         * org.el (org-scan-tags): Make tag scan find headline in first
3643         line, 2nd attempt.
3644         (org-get-refile-targets): Add the naked file name.
3645         (org-refile): Store as top-level entry when only file name was
3646         given.
3648         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3650         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3651         Renamed from org-block-todo-from-children-or-siblings, and
3652         enhanced to look for the parent's status as well.
3654         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3655         (org-agenda-get-progress): Add first notes line to log entry if so
3656         desired.
3658 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3660         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3661         (org-agenda-cleanup-fancy-diary): Call the new hook.
3663         * org-remember.el (org-remember-apply-template): Take the default
3664         for the annotation from the :annotation property.
3666         * org-mac-message.el (org-mac-message-get-link): Remove the
3667         quotes.
3668         (org-mac-message-get-link): Return the result.
3670 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3672         * org.el (org-refile-get-location): Add file name only if not
3673         already included in outline path.
3675         * org-faces.el (org-n-level-faces): Fix customization type from
3676         number to integer.
3678         * org-exp.el (org-export-headline-levels): Fix customization type
3679         from number to integer.
3681         * org-agenda.el (org-agenda-confirm-kill)
3682         (org-agenda-custom-commands-local-options)
3683         (org-timeline-show-empty-dates, org-agenda-ndays)
3684         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3685         customization type from number to integer.
3687 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3689         * org-protocol.el: Declare some functions.
3691         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3692         postion before inserting modified headline.
3694         * org-agenda.el (org-agenda-compare-effort): Honor
3695         `org-sort-agenda-noeffort-is-high'.
3696         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3697         (org-agenda-compare-effort): Implement the "?" operator for
3698         finding entries without effort setting.
3700         * org.el (org-extract-attributes-from-string): New function.
3702         * org-exp.el (org-export-splice-attributes): New function.
3704 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3706         * org-mouse.el: XEmacs compatibility fixes
3708         * org-docbook.el (org-export-as-docbook): Process footnotes like
3709         normal text.
3711         * org.el (org-modules): Add org-inlinetasks.el
3712         (org-cycle): Implement limiting level on cycling.
3713         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3714         buffer.
3716         * org-inlinetask.el: New file.
3718         * org.el (org-emphasis-regexp-components): Allow braces in
3719         emphasis pre and post match.
3721         * org-footnote.el (org-footnote-normalize): When only dorting, do
3722         not insert inline notes at the end.
3724         * org-docbook.el (org-id-find-id-file): Add function declaration.
3726         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3728         * org-docbook.el: New file.
3730 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3732         * org.el (org-reftex-citation): New command.
3734 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3736         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3737         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3738         sorting options.
3739         (org-entries-lessp): Apply the new sorting option.
3741         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3742         blocker code, when an older sibling has children.
3744         * org-mac-message.el (org-mac-message-get-link): Improve getting
3745         links from multiple selected messages.
3747 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3749         * org-remember.el (org-remember-finalize): Do not set buffer file
3750         name to nil.
3751         (org-remember-handler): Mark buffer as unmodified.
3752         (org-remember-handler): Delete backup file and show message about
3753         remaining backup files.
3754         (org-remember-auto-remove-backup-files): New option.
3756         * org.el (org-store-link): Use buffer name as link description in
3757         w3-mode buffers.
3758         (org-ido-switchb): Fix argument bug for completion.
3760         * org-remember.el (org-remember-apply-template): Set local
3761         variable `auto-save-visited-file-name' instead of global one.
3763 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3765         * org-feed.el: Re-write.
3767         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3768         (org-agenda-get-todos): Mark file tags as inherited.
3769         (org-agenda-list): Always search diary lines for a time.
3771 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3773         * org-feed.el (org-feed-assume-stable): New option.
3774         (org-feed-before-adding-hook): New hook.
3776         * org-exp.el (org-export-as-html): Close local lists depending on
3777         indentation, also when starting a table.
3779         * org-remember.el (org-remember-backup-directory)
3780         (org-remember-backup-name): New internal variable.
3782 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3784         * org-clock.el (org-clock-out-if-current): Make buffer detection
3785         work in indirect buffers as well.
3787         * org.el (org-emphasis-regexp-components): Add the exxclamation
3788         mark to the post-emphasis characters.
3790 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3792         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3793         (org-read-date): Run the new hook.
3795         * org-mac-message.el (org-mac-flagged-mail): New group.
3796         (org-mac-mail-account): New variable.
3797         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3798         commands.
3800         * org-remember.el (org-remember-backup-directory): New variable.
3801         (org-remember-apply-template): Write file to backup directory.
3803 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3805         * org-mouse.el (org-mouse-todo-menu): New function.
3806         (org-mouse-todo-keywords): Function removed.
3807         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3809         * org-table.el (org-table-beginning-of-field)
3810         (org-table-end-of-field): New commands
3811         (org-table-previous-field, org-table-beginning-of-field): Better
3812         error messages.
3813         (orgtbl-setup): Include `M-a' and `M-e'.
3815         * org.el (org-backward-sentence, org-forward-sentence): New
3816         commands.
3818         * org-colview.el (org-colview-initial-truncate-line-value): New
3819         variable.
3820         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3821         (org-columns): Remember the value of `truncate-lines'.
3823         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3824         New variable.
3825         (org-columns-remove-overlays): Restore the value of
3826         `truncate-lines'.
3827         (org-columns): Remember the value of `truncate-lines'.
3829         * org.el (org-columns-skip-arrchived-trees): New option.
3831         * org-agenda.el (org-agenda-export-html-style): Define color for
3832         org-agenda-done face.
3833         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3834         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3836         * org.el (org-scan-tags): Use the new face.
3838         * org-faces.el (org-agenda-done): New face.
3840         * org.el (org-scan-tags): Test the value org
3841         `org-tags-match-list-sublevels'.
3842         (org-tags-match-list-sublevels): New allowed value: indented.
3844         * org-export-latex.el (org-export-latex-make-header): Apply macros
3845         in header.
3847         * org-exp.el (org-export-apply-macros-in-string): New function.
3849         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3850         with the definition of a checked box.
3852         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3854         * org-export-latex.el (org-export-latex-low-levels): More options
3855         for how to process lower levels in LaTeX.
3856         (org-export-latex-subcontent): Better treatment for lists as a
3857         means of publishing lower levels.
3859 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3861         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3863         * org-faces.el (org-checkbox): New face.
3865         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3866         fragement images if there is an export file.
3868 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3870         * org-agenda.el (org-stuck-projects): Document that the subtree of
3871         projects that are not stuck will now be searched for stuck
3872         sub-projects.
3873         (org-agenda-skip-entry-when-regexp-matches)
3874         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3875         (org-agenda-list-stuck-projects): Use
3876         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3878         * org-export-latex.el (org-export-latex-preprocess): Improve
3879         export of verses.
3881         * org-exp.el (org-export-as-html): Implement centering as a div
3882         rather than a paragraph.  Do a better job with line-end in verse
3883         environments.
3885 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3887         * org.el (org-open-at-point): Fix tags searches by mouse click.
3889 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3891         * org-export-latex.el (org-export-latex-preprocess): Implement the
3892         centering markup.
3894         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3895         from `org-export-mark-blockquote-and-verse'.
3896         (org-export-as-html): Implement the centering markup.
3898         * org-export-latex.el (org-export-latex-tables): Fix vertical
3899         lines in tables.
3901 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3903         * org.el (org-read-date-history): New variable.
3904         (org-read-date): Use new history variable.
3905         (org-toggle-heading): Fix bug when used before first headline.
3906         (org-store-log-note): Remove drawer if empty while note is
3907         aborted.
3908         (org-remove-empty-drawer-at): New function.
3909         (org-check-after-date): New command.
3910         (org-sparse-tree): New sparse tree command "a".
3912         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3914 2009-03-14  Bastien Guerry  <bzg@altern.org>
3916         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3917         column and a space, not only a column.
3919 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3921         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3922         defaults for verbose emphasis.
3923         (org-export-latex-emph-format): New function.
3924         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3926         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3927         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3928         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3929         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3930         commands.
3932         * org.el (org-timestamp-change): Move end-time along with start
3933         time.
3935 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3937         * org-exp.el (org-export-target-internal-links)
3938         (org-export-as-html): Protect links specified as #name.
3940 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3942         * org.el (org-clone-subtree-with-time-shift): New command.
3944         * org-export-latex.el (org-export-latex-special-chars)
3945         (org-export-latex-treat-sub-super-char): Fix subscript export.
3947         * org-exp.el (org-create-multibrace-regexp): Do not add
3948         backslashes to the class.
3950 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3952         * org-colview.el (org-columns-map): Better functions for moving up
3953         and down a row, even if `truncate-line' is nil.
3955         * org.el (org-insert-todo-heading): Make sure the keyword is
3956         inserted at the correct position.
3958         * org-publish.el (org-publish-project-alist)
3959         (org-publish-projects, org-publish-org-index): Change default anme
3960         for the index of file names to "sitemap.org".
3962         * org-export-latex.el (org-export-latex-tables): Use
3963         `org-split-string', for Emacs 21 compatibility.
3965 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3967         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3969 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3971         * org-exp.el (org-export-page-description)
3972         (org-export-page-keywords): New variables.
3973         (org-export-plist-vars): Add entries for :keywords and
3974         :description.
3975         (org-infile-export-plist): Parse for new keywords.
3976         (org-get-current-options): Add new keywords
3977         (org-export-as-html): Publish description and keywords.
3979         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3980         option.
3981         (org-agenda-add-entry-text): Honor
3982         `org-agenda-add-entry-text-descriptive-links'.
3984         * org-export-latex.el (org-export-latex-preprocess): Make all
3985         external preprocess functions use a PARAMETER arg.
3987         * org-exp.el (org-export-preprocess-string)
3988         (org-export-select-backend-specific-text)
3989         (org-export-format-source-code-or-example)
3990         (org-format-org-table-html): Support docbook export.
3991         (org-export-preprocess-string): Make all external preprocess
3992         functions use a PARAMETER arg.
3994 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3996         * org-exp.el (org-export-html-style-include-scripts): New option.
3997         (org-export-plist-vars): Add new option
3998         `org-export-html-style-include-scripts'.
3999         (org-export-as-html): Honor new option
4000         `org-export-html-style-include-scripts'.
4001         (org-export-html-scripts, org-export-html-style-default): Fix
4002         xml issues with the Safari browser.
4004 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4006         * org-publish.el (org-publish-attachment): Only copy file when the
4007         directories differ.
4009 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4011         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4012         for clocktable steps.
4014         * org.el (org-additional-option-like-keywords): Add two more
4015         keywords.
4017 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4019         * org-exp.el (org-export-format-source-code-or-example): Mark
4020         temporary buffer unmodified, so that it will be killed even if
4021         mode like message mode has decided to assign a file name.
4023         * org.el (org-scan-tags): Improve tag inheritance.
4024         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4025         case-sensitive.
4026         (org-scan-tags): Use the internal tags list instead of creating it
4027         from scratch.
4028         (org-trust-scanner-tags, org-scanner-tags): New variables.
4029         (org-scan-tags): Set `org-scanner-tags'.
4030         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4031         (org-map-entries): Document the possible speedup using scanner
4032         tags.
4034 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4036         * org.el (org-add-planning-info): Fix bug with looking for keyword
4037         only at column 0.
4039         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4040         option for tags filter preset.
4041         (org-prepare-agenda): Store filter preset as a property on the
4042         filter variable.
4043         (org-finalize-agenda): Call the filter, if there is a preset.
4044         (org-agenda-filter-by-tag): Filter again after clearing the
4045         filter, when there still is a preset.
4046         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4047         Include the preset filter.
4048         (org-agenda-redo): Apply the filter again, also the preset filter.
4050         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4052         * org.el (org-uuidgen-p): New funtion.
4054         * org-agenda.el (org-agenda-fontify-priorities): New default value
4055         `cookies'.
4056         (org-agenda-fontify-priorities): Renamed from
4057         org-fontify-priorities.
4059         * org.el (org-set-font-lock-defaults): Call
4060         `org-font-lock-add-priority-faces'.
4061         (org-font-lock-add-priority-faces): New function.
4063         * org-faces.el: (org-set-tag-faces): New option.
4064         (org-priority-faces): New variable.
4066         * org-exp.el (org-export-as-html): Add a "content" div around the
4067         entire content of the body tag.
4068         (org-export-html-get-bibliography): New function.
4069         (org-export-html-validation-link): New variable.
4070         (org-export-as-html): Add validation link to exported page.
4072         * org.el (org-match-sparse-tree): Renamed from
4073         `org-tags-sparse-tree'.
4074         (org-tags-sparse-tree): New alias.
4076 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4078         * org.el (org-get-valid-level): Catch the case where the level
4079         change is nil.
4081         * org-clock.el (org-clock-find-position): Better indentation of
4082         new clock drawers.
4084 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4086         * org-agenda.el (org-agenda-quit): Delete window only when the
4087         frame-setup was not `current-window'.
4089         * org.el (org-tag-persistent-alist): New option.
4090         (org-startup-options): Add keyword `noptag'.
4091         (org-fast-todo-selection): Handle :newline correctly.
4092         (org-set-tags): Handle :newline correctly.
4093         (org-fast-tag-selection): Handle :newline correctly.
4095 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4097         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4098         outputting it.
4099         (org-export-ascii-push-links): Fix bug with pussing links into the
4100         export buffer.
4102 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4104         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4105         pasting at top level.
4107         * org-bbdb.el: Improve documentation.
4109 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4111         * org-list.el (org-insert-item): Only consider insert empty lines
4112         is `org-empty-line-terminates-plain-lists' is not nil.
4114         * org.el (org-blank-before-new-entry): Mention the dependence on
4115         `org-empty-line-terminates-plain-lists' in the docstring.
4117         * org-publish.el (org-publish-get-project-from-filename): New
4118         optional argument UP.  Only find the top project if UP is set.
4119         (org-publish-current-project): Find the top encloding project.
4121         * org-agenda.el (org-agenda-before-write-hook)
4122         (org-agenda-add-entry-text-maxlines): New options.
4123         (org-write-agenda): Run the new hook in the temporary buffer.
4124         (org-agenda-add-entry-text): New function.
4125         (org-write-agenda): Implement PDF export, using ps2pdf.
4127         * org.el (org-global-properties-fixed, org-global-properties):
4128         Improve documentation string.
4130         * org-exp.el (org-export-ascii-links-to-notes): New option.
4131         (org-export-as-ascii): Handle links better.
4132         (org-export-ascii-wrap, org-export-ascii-push-links): New
4133         functions.
4135 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4137         * org-agenda.el (org-agenda): Make prefix arg optional.
4138         (org-agenda-search-headline-for-time): New option.
4139         (org-format-agenda-item): Honor
4140         `org-agenda-search-headline-for-time'.
4142         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4143         characters.
4145         * org.el (org-self-insert-cluster-for-undo): New option.
4146         (org-self-insert-command): Cluster undo for 20 characters.
4147         (org-self-insert-command-undo-counter): New variable.
4149 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4151         * org-exp.el (org-export-as-html): Fix problem with closing colone
4152         example.
4154 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4156         * org-export-latex.el (org-export-as-latex)
4157         (org-export-latex-first-lines): Avoid modification flag when
4158         adding or removing text properties.
4159         (org-export-latex-fontify): Catch error when org-emph-alist has
4160         entries that are not defined for LaTeX export.
4162         * org.el (orgstruct++-mode): New function.
4163         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4164         (org-context-p): Allow detecting item context after the first line
4165         of an item.
4166         (orgstruct-make-binding): Detect if item-body context should be
4167         seen.
4168         (orgstruct-is-++): New variable.
4169         (org-add-planning-info): Catch the case when there is no planning
4170         info yet and the call does not want to add anything, only maybe
4171         tries to remove something.
4172         (org-special-ctrl-a/e): All value to be a cons cell with separate
4173         settings for `C-a. and `C-e'.
4174         (org-beginning-of-line, org-end-of-line): Honor separate values
4175         for `C-a' and `C-e'.
4177 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4179         * org.el (org-reload): New command.
4181 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4183         * org-exp.el (org-export-htm-get-tag-class-name)
4184         (org-export-htm-get-todo-kwd-class-name): New functions.
4185         (org-export-html-tag-class-prefix)
4186         (org-export-html-todo-kwd-class-prefix): New options.
4187         (org-export-as-html): Call
4188         `org-export-html-get-todo-kwd-class-name'.
4189         (org-html-level-start): Wrap tags into classes.
4190         (org-export-html-get-tag-class-name)
4191         (org-export-html-get-todo-kwd-class-name): New functions.
4193         * org-export-latex.el (org-export-latex-collect-header-macros):
4194         Remove fields that are used anyway.
4195         (org-export-latex-make-header): Insert the options earlier.
4197         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4198         matching.
4200         * org-list.el (org-indent-item): Allow point to be at the end of
4201         the region.
4203         * org.el (org-metaleft, org-metaright): Be more accurate about
4204         detecting a region where commands apply.
4206         * org-compat.el (org-cursor-to-region-beginning): New function.
4208         * org.el (org-priority): Also find invisible heading.
4210         * org-colview-xemacs.el (org-columns-edit-value): No special
4211         treatment for `org-todo' prefix.
4213         * org-colview.el (org-columns-edit-value): No special treatment
4214         for `org-todo' prefix.
4216         * org-remember.el (org-remember-apply-template): Use
4217         `org-completing-read-no-ido'.
4219         * org.el (org-completing-read-no-ido): New function.
4220         (org-make-tags-matcher, org-set-property): Use
4221         `org-completing-read-no-ido'.
4223         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4224         New option.
4225         (org-export-as-latex): Import in-buffer settings as TeX macros.
4226         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4227         (org-export-latex-collect-header-macros): New function.
4229         * org.el (org-refile-get-location): Turn off
4230         `partial-completion-mode'.
4232 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4234         * org.el (org-block-todo-from-checkboxes): Announce that
4235         checkboxes are the culprit.
4236         (org-block-todo-from-children-or-siblings): Call
4237         `org-up-heading-all instead' of `outline-up-heading'.
4239         * org-agenda.el (org-agenda-show-1): Renamed from
4240         `org-agenda-show'.
4241         (org-agenda-show): Re-install the old version for now.
4242         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4243         variable into the blokker hook, so that the checkbox checker can
4244         anounce that it caused the blocking.
4246         * org.el (org-track-ordered-property-with-tag): New option.
4247         (org-toggle-ordered-property): Honor
4248         `org-track-ordered-property-with-tag'.
4249         (org-tag-alist): Add newline options.
4250         (org-set-regexps-and-options): Separate option lines imply a
4251         newline.
4252         (org-set-regexps-and-options, org-assign-fast-keys)
4253         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4254         option.
4255         (org-indent-line-function): Make sure this works even if there is
4256         not `org-drawer-regexp' defined.  This can happen when
4257         orgstruct-mode is used in a non-org buffer.
4259         * org-list.el (org-checkbox-blocked-p): New function.
4260         (org-toggle-checkbox): Check for blocking.
4262         * org.el (org-modules): Add an entry for org-R.el.
4264         * org-agenda.el (org-agenda-todo-ignore-with-date)
4265         (org-agenda-todo-ignore-scheduled)
4266         (org-agenda-todo-ignore-deadlines): Mention the variable
4267         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4269         * org.el (org-get-wdays): Find the warning period also if it is in
4270         the wrong place.
4271         (org-ido-completing-read): Provide the correct arguments to
4272         ido-completing-read and bind `ido-enter-matching-directory' to
4273         nil.
4275 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4277         * org.el (org-olpath-completing-read): Never use ido for this
4278         one.
4280         * org-exp.el (org-export-normalize-links): Use new macro.
4282         * org-macs.el (org-if-unprotected-at): New macro.
4284         * org-agenda.el (org-agenda-show): Allow numerical prefix
4285         arguments to specify how much context should be shown.
4286         (org-agenda-cycle-show): New command, could be bound to SPC in
4287         org-agenda-mode-map.
4289         * org-exp.el (org-html-level-start): Space after section number.
4291 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4293         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4294         property, for sorting.
4295         (org-cmp-todo-state): Get the applicable TODO keywords directly
4296         from the buffer.
4297         (org-run-agenda-series, org-agenda-list, org-search-view)
4298         (org-todo-list, org-tags-view): Only fit agenda window when the
4299         whole series is done.
4301         * org.el (org-scan-tags): Add todo state as property, for sorting.
4303         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4304         `org-agenda-overriding-header' as an option.
4305         (org-agenda-list): Honor org-agenda-overriding-header'.
4307 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4309         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4310         after removing a checkbox.
4312         * org.el (org-show-entry): Make this work correctly also if it is
4313         the last entry in the file.
4314         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4315         falling back to normal, default command.
4316         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4317         item, call the checkbox toggler to get a box.
4319         * org-list.el (org-toggle-checkbox): Make double prefix set the
4320         checkbox to "[-]".
4321         (org-fix-bullet-type): Only replace bullet if it is changed.
4322         (org-renumber-ordered-list): Handle case when first item does not
4323         have a number.
4325         * org.el (org-add-log-setup): Fix positioning when
4326         `org-log-states-order-reversed' is nil.
4328         * org-clock.el (org-clock-in): Fix positioning when
4329         `org-log-states-order-reversed' is nil.
4330         (org-clock-find-position): Fix positioning when
4331         `org-log-states-order-reversed' is nil.
4333 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4335         * org-clock.el (org-clock-into-drawer): Take default from
4336         `org-log-into-drawer'.
4337         (org-clock-find-position): Look for the correct drawer.
4339         * org.el (org-log-into-drawer): Renamed from
4340         `org-log-state-notes-into-drawer'.
4341         (org-log-state-notes-into-drawer): New variable alias.
4342         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4343         CLOCK.
4344         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4346 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4348         * org-agenda.el (org-agenda): Fix docstring.
4350         * org.el ("org-plot"): Help loading org-plot.
4351         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4352         (org-metadown-hook, org-shiftmetaleft-hook)
4353         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4354         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4355         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4356         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4357         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4359         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4360         for selecting files with any (and even without) extension.
4362         * org.el (org-save-all-org-buffers): Also save id locations.
4363         (org-revert-all-org-buffers): Also load id locations.
4365 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4366         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4367         (org-log-state-notes-into-drawer): New option.
4368         (org-add-log-setup): Place the sate note marker into the drawer,
4369         create drawer when necessary.
4370         (org-refile-targets): Document special interpretation of LEVEL
4371         when odd-levels are used.
4373 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4375         * org.el (org-store-log-note): Fix note indentation when adding
4376         notes to end of list.
4378         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4379         class, so that each keyword can get special colors through CSS.
4381         * org-clock.el (org-clock-out): Add another nil for the previous
4382         state into the call to `org-add-log-setup'.
4384         * org.el (org-log-note-previous-state): New variable.
4385         (org-log-note-headings): New %S escape for old state.
4386         (org-todo): Call the note setup with the old state as an
4387         argument.
4388         (org-add-note): Add another nil for the previous state into the
4389         call to `org-add-log-setup'.
4390         (org-add-log-setup): New argument PREV-STATE.
4391         (org-add-log-note): Handle new %S escape.
4392         (org-store-log-note): Handle new %S escape.
4394 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4396         * org-clock.el (org-clock-find-position): Do not swallow an item
4397         less indented than the CLOCK line itself.
4398         (org-clock-in): Push markers to lin after the clock line.
4399         (org-clock-find-position): Handle values of
4400         `org-clock-into-drawer' smaller than 2.
4402         * org-exp.el (org-html-level-start): Add a CSS class to section
4403         numbers.
4404         (org-export-html-toplevel-hlevel): Better documentation of the
4405         influence of this variables on H levels and css classes in
4406         export.
4408 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4410         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4411         timestamp and nottimestamp to the chooe menu.
4413         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4414         (org-revert-all-org-buffers): New command.
4416 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4418         * org.el (org-return): Implement `org-return-follows-link' in the
4419         function org-return.  This is more robust than using the mouse
4420         map, I think.
4421         (org-set-regexps-and-options): Match more general #+TODO lines.
4422         (org-make-options-regexp): New optional argument EXTRA, for an
4423         extra regexp.
4424         (org-tab-follows-link): Mark as deprecated.
4426 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4428         * org-exp.el (org-export-preprocess-string): Remove clock lines
4429         earlier, so that they cannot cotribute to verbatim snippets.
4431 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4433         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4434         for finding drawers.
4435         (org-export-as-ascii, org-export-as-html): Count levels relative
4436         to the subtree header.
4437         (org-get-min-level): New optional argument OFFSET.
4438         (org-export): Make sure point is restored after popping up that
4439         window.
4441         * org.el (org-do-sort): Also take an inactive timestamp if no
4442         active one is found.
4444         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4445         deleting duplicates.
4447         * org-colview.el (org-columns-capture-view): Copy before
4448         deleting duplicates.
4450         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4451         text before first headline.
4453         * org.el (org-format-latex): Do not convert LaTeX fragments in
4454         protected examples.
4456 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4458         * org-exp.el (org-export-html-style-default): Use color values
4459         instead of names for XHTML validation.
4461         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4462         functions.
4463         (org-return-follows-link): Revert making this the default untile
4464         issues are resolved.
4466         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4467         nottimestamp.
4469 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4471         * org.el (org-mode): Make dependence stuff work more reliably.
4472         (org-update-parent-todo-statistics): Fix bug with updating
4473         statistics cookie.
4475         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4476         ~ as verbatim delimiters.
4478         * org-exp.el (org-export-html-format-image): New argument
4479         PAR-OPEN.
4480         (org-export-as-html): Pass par-open to
4481         `org-export-html-format-image'.
4483 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4485         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4486         (org-use-fast-todo-selection, org-tags-column): New default
4487         setting for variables, based on a poll what typical uses use.
4489         * org-agenda.el (org-agenda-sorting-strategy)
4490         (org-agenda-tags-column): New default setting for variables, based
4491         on a poll what typical uses use.
4493 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4495         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4496         blocked entries from setting the blocked tag.
4498         * org-exp.el (org-export-html-footnotes-section): Use a more
4499         consistent id for footnotes.
4501         * org-export-latex.el (org-export-latex-classes): Remove the
4502         a4paper option from the default styles.
4504 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4506         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4507         (org-block-todo-from-checkboxes): New function.
4508         (org-todo): Make tripple prefix arg circumvent blocking.
4510         * org-timer.el (org-timer): Provide the timer feature.
4512         * org.el (org-require-autoloaded-modules): Add a few more files to
4513         the list of autoloaded modules.
4515         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4517 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4519         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4520         drawers that are unprotected.
4521         (org-export-html-format-image): Make sure inlined LaTeX fragment
4522         images remain inlined.
4524         * org.el (org-toggle-ordered-property): New function.
4525         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4526         (org-org-menu): Add menu entries for TODO dependencies.
4528 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4530         * org.el (org-default-properties): Add ORDERED to the default
4531         properties, to get completion support for it.
4533         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4535         * org.el (org-update-parent-todo-statistics): Update more than one
4536         cookie.
4538         * org-agenda.el (org-agenda-get-todos): Start search from correct
4539         position.
4541         * org.el (org-fast-todo-selection): Make sure TODO selection does
4542         not change buffer position.
4544         * org-list.el (org-toggle-checkbox): Implement adding or removing
4545         checkboxes from line or region when called with a prefix
4546         argument.
4548         * org-rmail.el (org-rmail-store-link): Protect the call to
4549         `rmail-narrow-to-non-pruned-header'.
4551         * org-clock.el (org-clock-special-range): Fix week display in
4552         clock tables.
4554         * org-exp.el (org-get-current-options): Fix bug when in indirect
4555         buffer.
4557 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4559         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4560         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4561         (org-agenda-dim-blocked-tasks): New function.
4563         * org.el (org-enforce-todo-dependencies): New option.
4564         (org-block-todo-from-children-or-siblings): New function.
4566         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4568         * org.el (org-todo): Return correct state type even if the blocker
4569         throws an error.
4570         (org-modifier-cursor-error): Renamed from
4571         `org-shiftcursor-error'.
4572         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4573         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4575         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4576         to get real errors from the blocker hook.
4578         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4579         functions.
4580         (org-set-visibility-according-to-property): Turn off the setting
4581         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4582         property.
4584 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4586         * org.el (org-support-shift-select): New option.
4587         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4588         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4589         selection outside contexts.
4591         * org-list.el (org-at-item-bullet-p): New function.
4593         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4594         variables.
4596         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4597         variable.
4598         (org-insert-footnote-reference-near-definition): Remove
4599         unnecessary let form.
4601         * org-export-latex.el (org-export-latex-first-lines): Add
4602         OPT-PLIST parameter.
4603         (org-export-as-latex): Call `org-export-latex-first-lines' with
4604         opt-plits parameter.
4605         (org-export-latex-preprocess): Remove unnecessary variables.
4607         * org-exp.el (org-infile-export-plist)
4608         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4609         (org-export-remove-headline-metadata)
4610         (org-export-get-title-from-subtree, org-get-min-level)
4611         (org-html-do-expand): Remove innecessary let form.
4613         * org-colview-xemacs.el (org-columns-display-here): Remove
4614         unnecessary variables.
4616         * org-colview.el (org-columns-display-here): Remove unnecessary
4617         variables.
4619         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4620         variables.
4622         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4623         unnecessary variables.
4625         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4626         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4627         variables.
4629         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4630         (org-compact-display-after-subtree-move): Remove unnecessary
4631         variables.
4632         (org-edit-fixed-width-region): Remove unnecessary variables.
4633         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4634         (org-olpath-completing-read): Remove unnecessary variable.
4635         (org-auto-repeat-maybe): Remove unnecessary variable.
4636         (org-map-entries): Remove unnecessary variable.
4637         (org-buffer-property-keys, org-imenu-get-tree)
4638         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4640 -----------------------------------------------------------------
4642 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4643         * org-exp.el (org-export-remove-timestamps): Never remove
4644         timestamps from tables.
4646         * org-export-latex.el (org-export-latex-first-lines): Add more
4647         options to the preprocessing of the text before the first
4648         headline.
4650 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4652         * org-faces.el (org-clock-overlay): Make face compatible with
4653         XEmacs.
4655         * org.el (org-yank): Add property for delete-selection mode.
4657         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4659         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4660         variable.
4662         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4663         to `backward-char'.
4665         * org-exp.el (org-export-as-html): Remove the initial space from
4666         colon examples.
4668         * org.el (org-scan-tags): Call
4669         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4671         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4672         customization groups.
4673         (org-agenda-tags-todo-honor-ignore-options): New option.
4674         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4675         New function.
4676         (org-agenda-get-todos): Use
4677         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4679 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4681         * org-exp.el (org-export-format-source-code-or-example): Escape
4682         HTML characters also in examples that anre not treated with
4683         htmlize.  Also, just switch to EXAMPLE processing if we do not
4684         have a good version of htmlize.
4686         * org-rmail.el: Fix copyright notice.
4688         * org.el (org-activate-footnote-links): Improve footnote link
4689         highlighting.
4691         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4692         a footnote definition at the end of the file.
4694         * org-table.el (org-table-get-specials): Add an imagined hline at
4695         the end of the table.  This can be useful for references that want
4696         to go to the end of the table.  Also fix bug when computing last
4697         row constants, in tables that do not start right at the right
4698         margin.
4699         (org-table-eval-formula): Match and replace remove references.
4700         (org-table-formula-substitute-names): Make sure that names inside
4701         a "remote" call are left alone, the will be replaced later when
4702         the remote call is handled.
4703         (org-table-convert-refs-to-rc): Do not convert things that might
4704         look like a reference, but are really part of an ID or namei n a
4705         remote reference.
4706         (org-table-get-remote-range): New function.
4708 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4710         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4712         * org-clock.el (org-clock-put-overlay): Use new face instead of
4713         `secondary-selection'.
4715         * org-faces.el (org-clock-overlay): New face.
4717 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4719         * org-exp.el (org-get-current-options): Include the option for
4720         publishing time stamps.
4722         * org.el (org-toggle-heading): Renamed from
4723         `org-toggel-region-headings'.
4724         No longer needs a region defined, but will use it if there is one.
4725         (org-ctrl-c-star): Simplified, relying more on the internal
4726         workings of `org-toggle-heading'.
4727         (org-toggle-item): Renamed from `org-toggle-region-items'.
4728         No longer needs a region defined, but will use it if there is one.
4729         (org-ctrl-c-minus): Simplified, relying more on the inernal
4730         workings of `org-toggle-item'.
4732         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4733         environment detection.  Also, do real changes only in unprotected
4734         places.
4736 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4738         * org-export-latex.el (org-export-latex-quotation-marks): Use
4739         `org-if-unprotected-1'.
4740         (org-export-latex-set-initial-vars): Check for class definition in
4741         property.
4743         * org-macs.el (org-if-unprotected-1): New macro.
4745 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4747         * org-compat.el (org-count-lines): New function.
4749         * org-exp.el (org-export-format-source-code-or-example): Handle
4750         switches related to text areas.
4752         * org.el (org-activate-footnote-links): Don't allow match inside a
4753         link.
4755         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4757         * org-export-latex.el (org-export-latex-links): Keep a relative
4758         path relative also after export.
4760         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4762         * org.el (org-make-tags-matcher): Never use IDO for completing the
4763         tags matcher match string.
4764         (org-completing-read): Also remove the special biding for "?".
4766         * org-attach.el (org-attach-allow-inheritance): New option.
4767         (org-attach-inherited): New variable.
4768         (org-attach-dir): Handle properties related to the attachment
4769         directory.
4770         (org-attach-check-absolute-path): New function.
4771         (org-attach-set-directory, org-attach-set-inherit): New commands.
4772         (org-attach): Accommodate the new commands in the dispatcher.
4774 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4776         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4777         `window-full-width-p'.
4779         * org-exp.el (org-export-as-html): Only check for images files
4780         that really can be inlined
4782         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4783         list of extensions to be a parameter.
4785         * org-exp.el (org-export-html-inline-image-extensions): New
4786         variable.
4788         * org-agenda.el (org-prepare-agenda): Use
4789         `org-agenda-block-separator'.
4790         (org-agenda-block-separator): New option.
4792 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4794         * org-export-latex.el (org-export-latex-tables): Call
4795         `org-table-clean-before-export' with the new optional argument.
4797         * org-exp.el (org-table-clean-before-export): New optional
4798         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4799         first column.
4801 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4803         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4804         histograms.
4806         * org-colview.el (org-colview-construct-allowed-dates): Better
4807         error catching when a date/time property does not have allowed
4808         values defined.
4810         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4811         Better error catching when a date/time property does not have
4812         allowed values defined.
4814 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4816         * org.el (org-map-entries): Restore point and restriction after
4817         `org-map-entries'.
4819 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4821         * org.el (org-time=, org-time<, org-time<=, org-time>)
4822         (org-time>=, org-time<>): Make sure both values are dates.
4824 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4826         * org-archive.el (org-extract-archive-heading): Allow %s for file
4827         name also in achive location heading.
4829 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4831         * org-archive.el (org-add-archive-files): Uniquify the list before
4832         returning it.
4834 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4836         * org-compat.el (org-fit-window-to-buffer): Use
4837         `window-full-width-p'.
4839         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4840         space after the colon in short examples.
4842         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4843         enforce a space after the colon.  However, we also allow lines
4844         that are *only* a colon.
4845         (org-export-as-html): Enforce the space after the colon in short
4846         examples.
4847         (org-export-preprocess-string): Do the colon example protection
4848         earlier.
4849         (org-export-remove-timestamps): Do not check for protection at the
4850         end of the line.
4852 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4854         * org.el (org-format-latex-options): Add new matcher for single
4855         letters between dollars.
4856         (org-get-header): Function removed.
4857         (org-heading-components): New function.
4859         * org-exp.el (org-export-define-heading-targets): Record ID's also
4860         as alternative targets.
4861         (org-export-as-html): Interpret "id:" links to other files by
4862         preserving the relative path.
4864         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4865         is nil.
4867         * org-exp.el (org-export-normalize-links): Protect the main link,
4868         to avoid special character processing.
4870         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4871         New variable.
4872         (org-export-latex-special-string-regexps): Variable removed.
4873         (org-export-latex-keywords): Use the new regexp.
4875         * org-exp.el (org-export-handle-include-files): Fetch switches and
4876         put them into the BEGIN statement.
4878         * org-timer.el (org-timer-mode-line-string): New variable.
4880         * org-clock.el (org-clock-mode-line-map): Renamed from
4881         `org-clock-mode-map'.
4882         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4883         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4884         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4885         (org-clock-remove-overlays): Renamed from
4886         `org-remove-clock-overlays'.
4888         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4889         and mode line display.
4890         (org-timer-stop): New command.
4891         (org-timer-seconds): Return correct time when timer is paused.
4892         (org-timer-mode-line-timer): New variable.
4893         (org-timer-set-mode-line, org-timer-update-mode-line): New
4894         functions.
4896         * org.el (org-insert-heading):  Handle new value `auto' for
4897         `org-blank-before-new-entry'.
4898         (org-org-menu): Add new items for timer functions.
4900         * org-list.el (org-insert-item): Handle new value `auto' for
4901         `org-blank-before-new-entry'.
4903         * org.el (org-blank-before-new-entry): New value `auto', made
4904         default.
4906 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4908         * org-exp.el (org-export-normalize-links): If the link is also
4909         used as the description, protect the description.
4911 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4913         * org.el (org-closest-date): Fix bug with yearly repeats, in
4914         combination with preference of the past as it is used for deadline
4915         and scheduling search.
4917         * org-exp.el (org-html-handle-time-stamps): No longer check for
4918         the `org-export-with-timestamps' option, because the preprocesser
4919         has taken care of this already.
4921         * org.el (org-entry-properties): Catch the case when this is
4922         called in a non-org-mode file.
4924         * org-export-latex.el (org-export-latex-remove-from-headlines):
4925         Variable made obsolete, also LaTeX export now uses the standard
4926         variables.
4927         (org-export-as-latex): Add the timestamps parameter to the
4928         preprocessor parameter list.
4929         (org-export-latex-content): Export the remaining keywords without
4930         considering to remove them.
4931         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4932         Use bold font instead of tt font for the keywords.
4933         (org-export-latex-fontify-headline): Format headlines, assuming
4934         that all keywords still present should be published.
4935         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4936         publish what ever remains of the time stamps.
4937         (org-export-latex-list-parameters): New option.
4938         (org-export-latex-lists): Pass additional parameters to the list
4939         converter.
4941         * org-exp.el (org-export-preprocess-string): Remove clock lines
4942         and timestamps already in the preprocesor.
4943         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4944         functions.
4945         (org-export-as-ascii, org-export-as-html): Add the timestamps
4946         parameter to the preprocessor parameter list.
4948         * org-list.el (org-list-parse-list): Parse for checkboxes.
4949         (org-list-to-generic): Introduce and handle new parameters :cbon
4950         and :cboff.
4951         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4952         optional parameter PARAMS.
4954         * org-export-latex.el (org-export-latex-special-chars): Fix
4955         problems with interpreting dollar signs.
4956         (org-inside-latex-math-p): New function.
4957         (org-export-latex-preprocess): Protect all the math fragments.
4959         * org.el (org-latex-regexps): Allow a dash after a dollar.
4961         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4962         mark after copying.
4964         * org-agenda.el (org-run-agenda-series): Have series options set
4965         when finalizing the agenda.
4967         * org-exp.el (org-export-format-source-code-or-example): Protect
4968         the converted examples.
4970         * org.el (org-set-regexps-and-options): Fix the regexp
4971         `org-complex-heading-regexp'.
4973 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4975         * org.el (org-edit-src-get-label-format): New function.
4976         (org-coderef-label-format): New option.
4977         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4978         a label format specification and make sure it is used in the edit
4979         buffer.
4980         (org-edit-src-get-label-format): New function.
4981         (org-store-link): Handle new coderef formats.
4982         (org-link-search): Handle new coderef formats.
4984         * org-footnote.el (org-footnote-create-definition)
4985         (org-footnote-goto-local-insertion-point): Make footnote insertion
4986         work correctly when the "Footnotes" headline is the last line in
4987         the buffer.
4989         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4990         the location.
4992 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4994         * org-w3m.el (org-w3m): New customization group.
4995         (org-w3m-deactivate-mark): New option.
4996         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4997         option say not to.
4999 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5001         * org.el (org-set-font-lock-defaults): Trigger footnote
5002         fontification.
5003         (org-activate-footnote-links): New function.
5004         (org-activate-links): New entry `footnote'.
5006         * org-faces.el (org-footnote): New face.
5008 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5010         * org-macs.el (org-re): Handle the [:word:] class.
5012         * org-exp.el (org-export-preprocess-string): Call
5013         `org-export-protect-colon-examples'.
5014         (org-export-protect-colon-examples): Renamed from
5015         `org-export-protect-examples', and scope limited to lines starting
5016         with a colon.
5018 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5020         * org-exp.el (org-export-preprocess-string): Move the preprocess
5021         hook to after turning on Org-mode.
5022         (org-export-preprocess-after-include-files-hook)
5023         (org-export-preprocess-after-tree-selection-hook)
5024         (org-export-preprocess-before-backend-specifics-hook)
5025         (org-export-preprocess-final-hook): New hooks.
5026         (org-export-preprocess-string): Run the new hooks.
5028         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5030         * org-footnote.el: New file.
5032         * org.el (org-footnote): Require footnote code.
5033         (org-startup-options): Add new footnote options.
5034         (org-mode-map): New keybindig for footnotes.
5035         (org-ctrl-c-ctrl-c): Add function at footnotes.
5036         (org-org-menu): New menu entries for footnotes.
5038         * org-export-latex.el (org-export-as-latex): Pass footnote
5039         variable to preprocessor.
5040         (org-export-latex-preprocess): Treat multiple references to a
5041         footnote.
5043         * org-exp.el (org-export-preprocess-string): Call
5044         `org-footnote-normalize'.
5045         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5046         to preprocessor.
5047         (org-export-as-html): Treat multiple references to a footnote.
5049 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5051         * org-export-latex.el (org-export-latex-links): Handle coderef
5052         links.
5054         * org.el (org-bracket-link-analytic-regexp++): New variable.
5055         (org-make-link-regexps): Initialize
5056         `org-bracket-link-analytic-regexp++'.
5057         (org-store-link): Implement special case in edit-src buffer.
5058         (org-insert-link): No use of ide to insert stored links.
5059         (org-link-search): Implement special case for coderefs.
5061         * org-exp.el (org-export-html-scripts): New constant.
5062         (org-export-html-style-default): Add a new style for highlighted
5063         code.
5064         (org-export-code-refs): New variable.
5065         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5066         Call `org-export-replace-src-segments-and-examples'
5067         No longer call `org-export-protect-examples'.
5068         (org-export-target-internal-links): Take care of coderef targets.
5069         (org-export-last-code-line-counter-value): New variable.
5070         (org-export-replace-src-segments-and-examples): Renamed from
5071         `org-export-replace-src-segments', and modified.
5072         (org-export-format-source-code-or-example): Renamed from
5073         `org-export-format-source-code'.
5074         (org-export-number-lines): New function.
5075         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5077 --------------------------------------------------------------------------
5079 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5081         * org-remember.el (org-remember-handler): Safer way to get a new
5082         buffer accessing the target file.
5084         * org.el (org-refile-get-location): Handle case of current buffer
5085         not having a file associated with it.
5087 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5089         * org-table.el (org-table-get-formula): Only ask to overwrite
5090         field formula if there really is one.
5092         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5093         number, by converting these to a string.
5095         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5096         located in a different file.
5098         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5099         org-colview.el.
5101 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5103         * org.el (org-completion-use-ido): Enhance docstring of
5104         `org-completion-use-ido'.
5106         * org-export-latex.el (org-export-latex-make-header): Double the %
5107         in the time stamp format.
5108         (org-export-latex-special-chars): Handle case where there is no
5109         match group 3.
5111 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5113         * org.el (org-get-refile-targets, org-refile-get-location): Use
5114         expanded file name to improve comparison.
5116 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5118         * org.el (org-scan-tags): Rescan for tags, to get the correct
5119         upcase/downcase stuff.  This slows things down for now, but it
5120         works.
5121         (org-mode): Make sure the tag-faces regexp is initialized.
5123         * org-export-latex.el (org-export-latex-links): Fix bug with
5124         undefined label.
5126         * org-table.el (org-table-get-specials): Set
5127         `org-table-current-last-data-line'.
5128         (org-table-current-last-data-line): New variable.
5129         (org-table-insert-column, org-table-delete-column)
5130         (org-table-move-column, org-table-fix-formulas): Call
5131         `org-table-fix-formulas' a second time to fix the $LR references.
5132         (org-table-get-specials): Add the $LR references to the tables.
5133         (org-table-get-formula): Do not offer last-row names as LHS of
5134         formulas.
5136         * org.el (org-store-link): Capture link description from
5137         `org-id-store-link'.
5139         * org-exp.el (org-export-html-format-image): Add the / to the end
5140         of the <img> tag.
5141         (org-export-format-source-code): Surround example by empty lines,
5142         to make sure it will not be inside a paragraph.
5144         * org.el (org-ido-switchb): New function.
5146 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5148         * org-agenda.el (org-agenda-show): New prefix argument
5149         FULL-ENTRY.
5151         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5152         argument.
5154         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5155         `org-agenda-change-all-lines'.
5156         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5157         tags are now retrieved locally.
5159 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5161         * org.el (org-get-outline-path): Fix bug if level is not given.
5162         (org-org-menu): Do not quote function in menu vector.
5164         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5165         name.
5167 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5169         * org.el (org-refile): Avoid refiling to within the region to be
5170         refiled.
5172         * org-export-latex.el (org-export-latex-special-chars): Replace
5173         special characters also in tables.
5175         * org-agenda.el (org-agenda-change-all-lines): New argument
5176         FORCE-TAGS.
5177         (org-agenda-set-tags): Cet the new tags and pass them to
5178         `org-format-agenda-item'.
5180 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5182         * org-export-latex.el (org-export-latex-classes): Add longable as
5183         a default package to all classes.
5184         (org-export-latex-tables): Handle the longtable attribute and the
5185         align attribute.
5187         * org-table.el (orgtbl-to-generic): Handle tables that start with
5188         a hline.
5190         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5191         \verb for colde-like snippets.
5192         (org-export-as-latex): Fix issues with region export.
5194         * org.el (org-up-heading-safe): Speed up function by using a
5195         direct regexp search.
5196         (org-olpa): New variable.
5197         (org-get-outline-path): Speed-up path constructions in cases where
5198         this is possible because the entire hierarchy is scanned anyway.
5199         (org-refile-get-location): Don't compare the truenames of files,
5200         this is too slow.
5201         (org-goto-max-level): New option.
5202         (org-goto): Use `org-goto-max-level'.
5204 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5206         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5207         Strip angle brackets from message-ids in the former and don't do
5208         it in the latter.
5209         (org-gnus-follow-link): Open summary reliable, even if the last
5210         messages were deleted, and handle empty groups, too.
5212 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5214         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5215         instead of \texttt for the =...= and ~===~ emphasis environments.
5216         (org-export-as-latex): Remove any old :org-license-to-kill text
5217         properties.
5218         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5219         (org-export-latex-make-header): Add some hard space after the
5220         table of contents.
5221         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5222         exported text so that it will be excuded in further steps.
5224         * org-table.el (org-table-get-specials): Make @0 reference the
5225         last line in a table.
5226         (org-table-recalculate): Improve docstring.
5228 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5230         * org.el (org-log-done): Fix docstring.
5232 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5234         * org-exp.el (org-export-html-format-image): Fix bugs.
5236         * org-export-latex.el (org-export-latex-tables)
5237         (org-export-latex-links): Implement attribute, label, and caption
5238         handling.
5240         * org-exp.el (org-export-html-style-default): Add style
5241         definitions for the figure div.
5242         (org-export-preprocess-string, org-export-as-html): Implement
5243         attribute, label, and caption handling.
5244         (org-export-attach-captions-and-attributes): New function.
5245         (org-export-html-format-image): New function.
5246         (org-format-org-table-html): Implement attribute, label, and
5247         caption handling.
5249         * org.el (org-find-text-property-in-string): New function.
5250         (org-extract-attributes): Use the property org-attr instead of
5251         org-attrobutes, because this property is now set with the #+ATTR
5252         lines.
5254 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5256         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5257         the case that FROM is nil.
5259         * org.el (org-before-first-heading-p): New function.
5261 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5263         * org-exp.el (org-export-as-html): Do not add a space before
5264         enforces line breaks.
5265         (org-export-as-html): Close paragraph before blockquote and verse
5266         tags.
5268 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5270         * org-id.el (org-id-locations-file): Wrap file name with
5271         `convert-standard-filename'.
5272         (org-id-files): New variable.
5273         (org-id-use-hash): New option.
5274         (org-id-update-id-locations): Also search in all files current
5275         listed in `org-id-files'.  Convert the resulting alist to a hash
5276         if the user customation says so.
5277         (org-id-locations-save): Handle he case if `org-id-locations' is a
5278         hash.
5279         (org-id-locations-load): Convert the alist to a hash.
5280         (org-id-add-location): Handle the hast case.
5281         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5282         exited.
5283         (org-id-hash-to-alist, org-id-alist-to-hash)
5284         (org-id-paste-tracker): New functions.
5286 -------------------------------------------------------------------------
5288 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5290         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5291         bindings of calendar variables.
5293         * org-table.el (org-table-find-row-type): Renamed from
5294         `org-find-row-type'.
5295         (org-table-rewrite-old-row-references): Renamed from
5296         `org-rewrite-old-row-references'.
5297         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5298         (org-table-cleanup-narrow-column-properties): Renamed from
5299         `org-cleanup-narrow-column-properties'.
5301 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5303         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5304         for better error messages.
5305         (org-table-get-descriptor-line): Supply the new arguments to
5306         `org-find-row-type'.
5307         (org-table-error-on-row-ref-crossing-hline): New option.
5309         * org.el (org-target-link-regexp): Make buffer-local.
5310         (org-move-subtree-down): Fix bug with trees at beginning of
5311         buffer.
5313 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5315         * org-faces.el (org-set-tag-faces): New function.
5316         (org-tags-special-faces-re): New variable.
5318         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5320         * org-faces.el (org-tag-faces): New option.
5321         (org-tag): Mention `org-tag-faces' in the docstring.
5323 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5325         * org-exp.el (org-export-html-style-default): Implement new
5326         quoting.
5328         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5330         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5331         command to the `w3m-minor-mode-map'.
5333         * org-archive.el (org-archive-to-archive-sibling): Protect
5334         `this-command' to avoid appending kills during archiving.
5336         * org-exp.el (org-export-with-priority): New variable.
5337         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5338         instead of internal list of strings and properties.
5339         (org-print-icalendar-entries): Retrieve the location property with
5340         inheritance.
5342 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5344         * org-exp.el (org-export-with-todo-keywords): New option.
5345         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5346         line.
5347         (org-default-export-plist, org-export-add-options-to-plist)
5348         (org-export-as-ascii, org-export-as-html): Use the new structure
5349         of `org-export-plist-vars'.
5351         * org.el (org-map-entries): Return all values.
5353 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5355         * org.el (org-matcher-time): Recognize more special values.
5357         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5359 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5361         * org.el (org-tags-exclude-from-inheritance): New option.
5362         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5363         `org-tags-exclude-from-inheritance'.
5365         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5366         (org-format-agenda-item): Add inherited tags to the agenda line
5367         string, and make sure that properties are kept when downcasing the
5368         tags list.
5369         (org-agenda-add-inherited-tags): New function.
5370         (org-downcase-keep-props): New function.
5372         * org.el (org-scan-tags): Mark inherited tags with a text
5373         property.
5374         (org-get-tags-at): Mark inherited tags with a text property.
5375         (org-add-prop-inherited): New function.
5377         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5378         (org-agenda-show-inherited-tags): New option.
5380 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5382         * org.el (org-modules): Add org-w3m to the default modules.
5384         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5385         orgtbl-mode.
5386         (orgtabl-create-or-convert-from-region): New command.
5388         * org-exp.el (org-export-as-ascii): Remove the handling of
5389         targets.
5390         (org-export-ascii-preprocess): Handle targets already in this
5391         function.
5393 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5395         * org-timer.el (org-timer-start-time): Define this variable.
5396         (org-timer-item): Make argument optional.
5398         * org-list.el (org-insert-item): Automatically insert a timer item
5399         if the current list is a timer list.
5401         * org-timer.el: New file.
5403         * org-publish.el (org-publish-org-index): Only exclude the index
5404         file in the main directory from being added to the site-map.
5405         (org-publish-get-project-from-filename): If the current project is
5406         a component, start publishing from the parent project.
5408 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5410         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5412         * org-publish.el (org-publish-org-index): Improve removal of
5413         temporary buffers.
5415         * org-agenda.el (org-get-closed): Re-apply changes
5416         accidentially overwritten by last commit to Emacs.
5418         * org.el (org-outline-path-complete-in-steps): New option.
5419         (org-refile-get-location): Honor
5420         `org-outline-path-complete-in-steps'.
5421         (org-agenda-change-all-lines, org-tags-sparse-tree)
5422         (org-time-string-to-absolute, org-small-year-to-year)
5423         (org-link-escape): Re-apply changes accidentially overwritten
5424         by last commit to Emacs
5426 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5428         * org-clock.el (org-dblock-write:clocktable): Make sure the
5429         clocktable sees the first line.
5430         (org-clock-in): Warn if the clock cannot be resumed.
5432 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5434         * org.el (org-open-at-point): Fix mixup about interactive and
5435         non-interactive elisp links.
5437 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5439         * org-exp.el (org-export-preprocess-string): Allow one comment
5440         line before the first headline to always be included.  This is
5441         to not miss a commented target.
5443         * org-mouse.el (org-mouse-insert-item): Call
5444         `org-indent-to-column' instead of `indent-to', for XEmacs
5445         compatibility.
5447         * org.el (org-refile-targets): Fix customize definition so
5448         that it works also in XEmacs.
5449         (org-fixup-indentation): Call `org-indent-to-column' instead
5450         of `indent-to', for XEmacs compatibility.
5452 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5454         * org-mew.el (org-mew-store-link): Get the correct case folder
5455         for refiled messages.
5457 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5459         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5460         line break indicators.
5462         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5463         ido-completion propts.
5465 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5467         * org-remember.el (org-remember-apply-template): Use
5468         `org-substring-no-properties'.
5470         * org-compat.el (org-substring-no-properties): New function.
5472         * org-remember.el (org-remember-apply-template): Use
5473         `org-substring-no-properties' for compatibility.
5475         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5476         option.
5477         (org-fix-bullet-type): respect
5478         `org-list-two-spaces-after-bullet-regexp'.
5480         * org-clock.el (org-clock-load): Clean up the code.
5482         * org.el (org-adaptive-fill-function): Allow two spaces after
5483         "1." as a list bullet.
5485 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5487         * org-clock.el (org-clock-save, org-clock-load): Check for
5488         live buffers, existing files, and buffer file names to ensure
5489         consistent information.
5490         (org-clock-persist): Make `clock' a special value of this
5491         variable, and improve docstring.
5493         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5494         (org-get-string-indentation): Adapt indentation when the bullet
5495         width changes.
5497 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5499         * org-remember.el (org-remember-finalize): Make interactive.
5500         (org-remember-kill): New command.
5501         (org-remember-finish-immediately): Call `org-remember-finalize'
5502         directly.
5503         (org-remember-finalize): Make `org-remember-finalize' an interactive
5504         function.
5506 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5508         * org-remember.el (org-remember-apply-template): No ido completion
5509         for free prompts in remember templates.
5510         (org-remember-before-finalize-hook): New hook.
5511         (org-remember-mode): New minor mode.
5512         (org-remember-apply-template): Turn on `org-remember-mode'.
5514         * org-id.el (org-id-add-location): Avoid error when no file is
5515         given.
5517         * org-remember.el (org-remember-apply-template): Fix the way how
5518         the list of allowed properties is retrieved from the target file.
5520         * org.el (org-insert-link): Improve file link matching.
5522 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5524         * org-colview.el (org-columns-display-here): New argument
5525         DATELINE, to trigger using the new face.
5526         (org-agenda-colview-summarize): Call `org-columns-display-here'
5527         with the new argument.
5529         * org-faces.el (org-agenda-column-dateline): New face.
5531         * org-publish.el (org-publish-org-index): Use index-title at page
5532         title, not as section.
5534         * org-exp.el (org-export-html-format-desc): Respect the
5535         org-protect property.
5536         (org-export-as-html): Protect image specifiers that are in the
5537         description part of a link.
5539         * org.el (org-sort-entries-or-items, org-completing-read)
5540         (org-refile-get-location, org-olpath-completing-read, org-todo)
5541         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5542         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5543         (org-set-property, org-delete-property)
5544         (org-delete-property-globally): Use `org-ido-completing-read'.
5546         * org-remember.el (org-remember-apply-template): Use
5547         `org-ido-completing-read'.
5549         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5551         * org-colview.el (org-columns-edit-value, org-columns-new)
5552         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5554         * org-colview-xemacs.el (org-columns-edit-value)
5555         (org-columns-new, org-insert-columns-dblock): Use
5556         `org-ido-completing-read'.
5558         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5559         `org-ido-completing-read'.
5561         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5562         `org-ido-completing-read'.
5564         * org.el (org-time-today): New function.
5565         (org-matcher-time): Use `org-time-today'.  Add special treatment
5566         for "<tomorrow>" and "<yesterday>".
5567         (org-ido-completing-read): New function.
5568         (org-completion-use-ido): New option.
5570         * org-exp.el (org-export-format-source-code): Fix bug in require
5571         htmlize code.
5572         (org-export-target-internal-links): Fix bug in search for text
5573         property.
5575 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5577         * org-export-latex.el (org-export-latex-subcontent): Interprete
5578         target aliases as additonal labels.
5580         * org-exp.el (org-export-target-aliases): New variable.
5581         (org-export-preprocess-string)
5582         (org-export-handle-invisible-targets): Fill the alias alist.
5583         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5584         assign an id.
5585         (org-html-level-start): Insert the target aliases as additonal
5586         anchors.
5588         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5589         picture area.
5591 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5593         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5594         when following a link with the mouse from the agenda.
5596         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5597         headlines are created.
5599 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5601         * org-exp.el (org-export-preprocess-string): Reorder so that we
5602         can still see ID properties when we collect targets.
5603         (org-export-target-internal-links): Also store targets for ID's.
5605         * org.el (org-link-translation-function): New option.
5606         (org-open-at-point): Call `org-link-translation-function' if
5607         non-nil.
5608         (org-translate-link): New function.
5609         (org-translate-link-from-planner): New function.
5610         (org-open-at-point): Allow interactive commands in elisp links.
5612         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5613         iCalendar quoting.  The new one seems to caus problems with
5614         applications.
5616         * org.el (org-yank): Set `this-command' to `yank', so that
5617         `yank-pop' will work.
5619 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5621         * org-id.el (org-id-search-archives): New option.
5623         * org.el (org-link-to-org-use-id): New option.
5624         (org-store-link): Use `org-link-to-org-use-id'.
5625         (org-id): Make org-id.el a standard component.
5627 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5629         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5630         hexified version of the tag.
5632         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5633         compliance as far as quoting is concerned.
5635         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5637         * org.el (org-up-heading-safe, org-forward-same-level): Always
5638         call `org-back-to-heading' instead of `outline-back-to-heading'.
5639         (org-back-to-heading): New wrapper around outline-back-to-heading,
5640         with a useful error message telling where the error happened.
5642         * org-list.el (org-update-checkbox-count): Always call
5643         `org-back-to-heading' instead of `outline-back-to-heading'.
5645         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5646         has an `alt' attribute, to ensure XHTML validation.
5648 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5650         * org-publish.el (org-publish-attachment): Allow publishing to
5651         overwrite attachment files.
5653         * org-agenda.el (org-agenda-timerange-leaders): New option.
5654         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5656         * org.el (org-edit-src-exit): Untabify ASCII image before
5657         returning.
5670 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5672         * org.el (org-yank): Make any prefix force normal yanking.
5673         Suppress folding if text would be swallowed into a folded
5674         subtree.
5675         (org-yank-folded-subtrees, org-yank): Docstring updates.
5677         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5678         defined as 0.
5680         * org-exp.el (org-export-language-setup): Add Catalan and
5681         Esperanto language entries.
5683 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5685         * org.el (org-refile): Allow refiling of entire regions.
5687         * org-clock.el (org-clock-time%): New function.
5689         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5690         retrieve property values.
5692 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5694         * org-agenda.el (org-agenda-list): Handle the value `only' of
5695         org-agenda-show-log'.
5696         (org-agenda-log-mode): Interpret a double prefix arg.
5698 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5700         * org-exp.el (org-export-html-footnotes-section): New variable.
5701         (org-export-as-html): Use `org-export-html-footnotes-section' to
5702         insert the footnotes.
5703         (org-export-language-setup): Add "Footnotes" to language words.
5705 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5707         * org.el (org-yank): Fix bug when not inserting a subtree.
5709 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5711         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5712         instead of `vm-beginning-of-message'.
5714         * org.el (org-make-link-regexps): Make sure that links to gnus can
5715         contain brackets.
5717 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5719         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5720         code.
5722         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5723         shell output.
5725         * org.el (org-link-abbrev-alist): Improve customization type.
5727         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5728         functions.
5730         * org-agenda.el (org-agenda-get-progress): Renamed from
5731         `org-get-closed'.  Implement searching for state changes as well.
5732         (org-agenda-log-mode-items): New option.
5733         (org-agenda-log-mode): New option prefix argument, interpreted as
5734         request to show all possible progress info.
5735         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5736         `org-get-closed'.
5737         (org-agenda-set-mode-name): Handle the more complex log mode
5738         settings.
5739         (org-get-closed): New alias, pointing to `org-get-progress'.
5741 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5743         * org.el (org-file-apps-defaults-gnu)
5744         (org-file-apps-defaults-macosx)
5745         (org-file-apps-defaults-windowsnt): Add an entry defining the
5746         system command.
5747         (org-file-apps): Allow `system' as key and value.
5748         (org-open-at-point): Explain the effect of a double prefix arg.
5749         (org-open-file): If the argument `in-emacs' is (16),
5750         i.e. corresponding to a double prefix argument, try to open the
5751         file externally.
5753 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5755         * org.el (org-insert-link): Abbreviate absolute files names in
5756         links.  Also, fix a bug in which the double C-u prefix would not
5757         be honored.
5759 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5761         * org.el (org-insert-heading): If buffer does not end with a
5762         newline, add one if necessary to insert headline correctly.
5764         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5765         paragraphs, not inside.
5767         * org.el (org-todo): Quote
5768         `org-agenda-headline-snapshot-before-repeat'.
5770         * org-exp.el (org-export-as-html): Fully process link descriptions.
5771         (org-export-html-format-desc): New function.
5772         (org-export-as-html): Collect footnotes into the correct basket.
5773         (org-html-protect): No longer protect quotations marks here, this
5774         goes wrong.
5776         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5777         BEG.
5779         * org-compat.el (org-fit-window-to-buffer): New function (not
5780         really, a preliminary and incomplete version was present earlier,
5781         but not used).
5783         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5784         `org-fit-window-to-buffer'.
5786         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5788         * org-agenda.el (org-agenda-get-restriction-and-command)
5789         (org-fit-agenda-window, org-agenda-convert-date): Use
5790         `org-fit-window-to-buffer'.
5792         * org-exp.el (org-export-as-html): Process href links through
5793         `org-export-html-format-href'.
5794         (org-export-html-format-href): New function.
5796         * org-agenda.el (org-agenda-todo): Update only the current
5797         headline if this is a repeated TODO, marked done for today.
5798         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5799         only the current line.
5801         * org.el (org-todo): Take a snapshot of the headline if the
5802         repeater might change it.
5804 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5806         * org-publish.el (org-publish-find-title): Remove buffers visited
5807         only for extracting the title.
5809         * org-exp.el (org-export-html-style)
5810         (org-export-html-style-default): Mark style definitions as
5811         unparsed CDATA.
5813         * org-publish.el (org-publish-validate-link): Function
5814         re-introduced.
5816 2008-11-02  Charles Sebold  <csebold@gmail.com>
5818         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5819         property.
5820         (org-plot-quote-timestamp-field): New function.
5821         (org-plot-quote-tsv-field): Call timestamp field function when
5822         necessary rather than just quoting as a string.
5823         (org-plot/gnuplot-to-data): Pass in timefmt property.
5824         (org-plot/gnuplot-script): Supports timefmt property.
5825         (org-plot/gnuplot): Checks for timestamp column before checking
5826         for text index column.
5828 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5830         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5832         * org-publish.el (org-publish-org-index): Create a section in the
5833         index file.
5834         (org-publish-org-index): Stop linking to directories.
5836         * org.el (org-emphasis-alist): Use span instead of <u> to
5837         underline text.
5839         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5840         <pre> sections.
5842 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5844         * org-jsinfo.el (org-infojs-template): Remove language attribute
5845         from script tag.
5847 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5849         * org-agenda.el (org-agenda-remove-marked-text): New function.
5850         (org-agenda-mark-filtered-text)
5851         (org-agenda-unmark-filtered-text): New functions.
5852         (org-write-agenda): Remove fltered text.
5854         * org.el (org-make-tags-matcher): Give access to TODO "property"
5855         without speed penalty.
5857 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5859         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5860         option.
5861         (org-store-link-props): Make sure adding to the plist works
5862         correctly.
5864         * org-gnus.el (org-gnus-no-new-news): New function.
5865         (org-gnus-follow-link): Allow the article ID to be a message-id,
5866         in addition to allowing article numbers.  Message IDs make much
5867         more roubust links.
5868         (org-gnus-store-link): Use message-id to create link.
5870 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5872         * org.el (org-emphasize): Reverse the selection array.
5873         (org-emphasis-alist): Set <code> tags for the verbatim
5874         environment.
5876         * org-remember.el (org-remember-handler): Fix bug with
5877         prefix-related changing of the note storage target.
5879         * org-exp.el (org-print-icalendar-entries): Make the exported
5880         priorities compatible with RFC 2445.
5882         * org-clock.el (org-clock-save): Insert time stamp without
5883         dependence on time-stamp.el.
5885 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5887         * org.el ("saveplace"): If saveplace puts point into an invisible
5888         location, make it visible.
5889         (org-make-tags-matcher): Allow inactive time stamps in time
5890         comparisons.
5891         (org-yank-adjusted-subtrees): New option.
5892         (org-yank): Incorporate adjusting trees.
5893         (org-paste-subtree): New argument FOR-YANK which will cause
5894         insertion at point without backing up over white lines, and leave
5895         point at the end of the inserted text.  Also if the cursor is
5896         at the beginning of a headline, use the same level or the inserted
5897         tree.
5899         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5900         with broken symlinks
5902 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5904         * org-exp.el (org-export-select-tags, org-get-current-options):
5905         Fix typo.
5907 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5909         * org-agenda.el (org-format-agenda-item)
5910         (org-agenda-filter-make-matcher): Make sure tags are stored and
5911         compared donwcased.
5913 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5915         * org.el (org-insert-todo-heading): Fix bug with force-heading
5916         argument.
5918 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5920         * org-clock.el (org-clock-in-resume): Add a custom option to
5921         toggle starting the clock from an open clock line.
5922         (org-clock-in): When clocking in to an entry, if
5923         `org-clock-in-resume' is set, check if the first clock line is
5924         open and if so, start the clock from the time in the clock line.
5925         (org-clock-persist): Add a custom option to toggle clock
5926         persistence.
5927         (org-clock-persist-query-save): Add a custom option to toggle
5928         asking the user if they want to save the running clock when
5929         exiting.
5930         (org-clock-persist-query-resume): Add a custom option to toggle
5931         asking the user if they want to resume the saved clock when Emacs
5932         is restarted.
5933         (org-clock-save): Add a function to save clock data.
5934         This includes the contents of `org-clock-history' and the buffer
5935         and position of the currently clocked task, if any.
5936         (org-clock-load): Add a function to load clock data.
5937         This populates `org-clock-history', and resumes the saved clocked
5938         task if there is one.
5939         (org-clock-persistence-insinuate): Add a method to set up the
5940         hooks for clock persistence.
5942 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5944         * org-exp.el (org-export-as-ascii): Handle the case that we are
5945         publishing from an indirect buffer.
5947         * org-table.el (org-table-copy-down): Fix bug with time stamp
5948         increment.
5950         * org-mouse.el (org-mouse-features): New option.
5951         (org-mode-hook): Turn on features depending on
5952         `org-mouse-features'.
5954         * org.el (org-insert-heading-respect-content): Force heading
5955         creation.
5956         (org-insert-heading): keep the folding state of the heading before
5957         the inserted one.
5959 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5961         * org-archive.el (org-archive-to-archive-sibling): Handle top
5962         level headlines better.
5964 2008-10-21  Bastien Guerry  <bzg@altern.org>
5966         * org-export-latex.el (org-export-latex-classes): Added
5967         \usepackage{graphicx} to the default list of packages.
5969 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5971         * org-agenda.el (org-agenda-filter): Renamed from
5972         `org-agenda-filter-tags'.
5974 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5976         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5977         is not defined as a property in this entry.
5978         (org-add-log-note): Mask prefix argument when immediately storing
5979         the note.
5981         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5982         option.
5984 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5986         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5987         after drawers was skipping ahead one line too many, so notes were
5988         inserted after the first note instead of before it.
5990 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5992         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5993         New variables.
5994         (org-prepare-agenda): Reset the filter tags.
5995         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5996         Show filter tags in mode line.
5998         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5999         formatter.
6001         * org-export-latex.el (org-latex-entities-regexp): New constant.
6002         (org-export-as-pdf): Use two calls to `shell-command'.
6004 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6006         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6007         Honor the {} value of the subsuperscript setting.  Make sure that
6008         longer subsuperscripts are typeset in a roman font.
6010         * org.el (org-clock-update-time-maybe): Compute negative clock
6011         intervals correctly.
6013 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6015         * org.el (org-add-log-setup): Respect
6016         `org-log-state-notes-insert-after-drawers'.
6017         (org-log-state-notes-insert-after-drawers): New option.
6018         (org-todo-trigger-tag-changes): New function.
6019         (org-todo): Call `org-todo-trigger-tag-changes'.
6021 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6023         * org.el (org-add-log-setup): Only skip drawers if the are
6024         immediately after the scheduling keywords.
6026         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6027         function
6028         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6029         call it with the current todo state to get the state to switch to
6030         when clocking in.
6031         (org-clock-in): Use org-indent-line-function to indent clock lines.
6032         (org-clock-find-position): Fix indentation of empty clock drawers.
6034 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6036         * org-publish.el (org-publish-org-to): Handle case when
6037         org-export-to-pdf does return a file name, not a buffer.
6038         (org-publish-org-to-pdf): New function.
6040         * org-export-latex.el (org-export-as-pdf)
6041         (org-export-as-pdf-and-open): New commands.
6043         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6044         forms as ranges.
6046         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6047         things in protexted regions.
6049 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6051         * org-export-latex.el (org-export-latex-preprocess): Improve
6052         quoting of LaTeX environments.
6054 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6056         * org.el (org-edit-fixed-width-region): Exclude final newline from
6057         picture area.
6059         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6060         sections, to make internal links work.
6061         (org-export-latex-fontify-headline): Do not remove all text
6062         properties, to make sure that target properties survive this
6063         process.
6065         * org-exp.el (org-export-preprocess-string): Change sequence of
6066         modifications, to make sure links are prepared before the LaTeX
6067         conversions do happen.
6069 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6071         * org-attach.el (org-attach-delete-all): Renamed from
6072         `org-attch-delete'.  Add a security query before deleting the
6073         entire directory.  New optional argument FORCE can overrule the
6074         security query.
6075         (org-attach-delete-one): New command.
6077 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6079         * org-attach.el (org-attach-file-list): Fix bug with directory.
6081 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6083         * org.el (org-apps-regexp-alist): New function.
6084         (org-file-apps): Add auto-mode to the default value.
6085         (org-open-file): Use the new structure of org-file-apps.
6087         * org-attach.el (org-attach): Support the new keys.
6088         (org-attach-method): New option.
6090 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6092         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6093         March.
6095         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6096         of the list value o `org-use-tag-inheritance'.
6098         * org-attach.el (org-attach-auto-tag): New option.
6099         (org-attach-tag, org-attach-untag): New functions.
6100         (org-attach-attach, org-attach-new, org-attach-sync): Call
6101         `org-attach-tag'.
6102         (org-attach-delete): Call `org-attach-untag'.
6104 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6106         * org-table.el (orgtbl-self-insert-command): Make this work for
6107         the keypad as well.
6109 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6111         * org.el (org-add-log-setup): Limit searc for drawers to entry
6112         text, not to subtree.
6114         * org-clock.el (org-clock-heading-for-remember): New variable.
6115         (org-clock-in): Set `org-clock-heading-for-remember'.
6117 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6119         * org-remember.el (org-remember-apply-template): Add new
6120         expansions: %k, %K for currently clocked task and a link to the
6121         currently clocked task, and %< to file notes in the currently
6122         clocked task.
6124 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6126         * org-export-latex.el (org-export-latex-make-header): Also insert
6127         the content of the property :latex-header-extra.
6129         * org-exp.el (org-infile-export-plist): Put the content of
6130         #+LATEX_HEADER: into the property :latex-header-extra.
6132         * org-colview.el (org-columns-get-format-and-top-level): Remove
6133         resetting the marker.
6135         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6136         Remove resetting the marker.
6138         * org.el (org-entry-property-inherited-from): Improve docstring.
6139         (org-entry-get-with-inheritance): Reset marker before starting the
6140         search.
6142         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6144 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6146         * org.el (org-entry-get-multivalued-property)
6147         (org-entry-protect-space, org-entry-restore-space): New
6148         functions.
6149         (org-file-apps-defaults-macosx): Let postscript files be opened by
6150         preview.
6151         (org-time-stamp-inactive): Call `org-time-stamp'.
6152         (org-time-stamp): New argument `inactive'.  Also edit inacive
6153         stamps. Convert time stamp type.
6154         (org-open-file): Interpret the `default' value for the `command'
6155         in `org-file-apps'.
6157         * org-id.el (org-id-int-to-b36-one-digit)
6158         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6159         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6160         b36.
6162 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6164         * org-id.el (org-id-reverse-string): New function.
6165         (org-id-new): Use `org-id-reverse-string' to make sure the
6166         beginning chars of the ID are mutating fast.  This allows to use a
6167         directory structure to spread things better.
6168         (org-id-prefix): Changed default to nil.
6170         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6171         restore the column of the cursor position.
6173         * org-remember.el (org-remember-apply-template): Remove properties
6174         from `initial'.
6176 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6178         * org-wl.el (org-wl-open): Remove useless call to
6179         `wl-thread-open-all'.
6181         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6182         location.
6184 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6186         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6187         `org-bbdb-anniversaries'.
6189         * org.el (org-get-next-sibling, org-forward-same-level): New
6190         functions, similar to the outline versions, but invisible headings
6191         are OK.
6193 2008-09-25  Bastien Guerry  <bzg@altern.org>
6195         * org.el (org-auto-repeat-maybe): Insert a space between
6196         the timestamp's type and the timestamp itself.
6198 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6200         * org-table.el (org-table-sum): Do not format the result with %g,
6201         it does rounding when there are too many digits.
6203         * org.el (org-map-entries): Protect the keyword-selecting variables.
6205 2008-09-23  Bastien Guerry  <bzg@altern.org>
6207         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6208         against all agenda files.
6210 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6212         * org-list.el: New file, aggregating list functions from org.el
6213         and org-export-latex.el.
6215         * org.el (org-edit-src-region-extra): New option.
6217 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6219         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6220         time before 1am.
6222 2008-09-22  Bastien Guerry  <bzg@altern.org>
6224         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6226 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6228         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6229         hline work correctly.
6230         (org-plot/gnuplot-script): Put commas at the end of each script
6231         line.
6233 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6235         * org.el (org-get-refile-targets): Replace links with their
6236         descriptions
6237         (org-imenu-get-tree): Replace links with their descriptions.
6239         * org-remember.el (org-remember-apply-template): Add a new
6240         expansion for adding properties to remember items.
6242         * org.el (org-add-log-setup): Skip over drawers (properties,
6243         clocks etc) when adding notes.
6245         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6246         items as well as the start and end times.
6248         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6249         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6251         * org-remember.el (org-get-x-clipboard): Use the compat
6252         function to get clipboard values when x-selection-value is
6253         unavailable. Use substring-no-properties instead of
6254         set-text-properties to remove text properties from the clipboard
6255         value.
6257         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6258         modeline clock string, and display the full todo value in the
6259         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6260         the currently clocked task.
6261         (org-clock-string-limit): Add a custom value for the maximum
6262         length of the clock string in the modeline.
6263         (org-clock-mode-map): Add a keymap for the modeline string
6265 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6267         * org-compat.el (org-propertize): New function.
6269 2008-09-20  Bastien Guerry  <bzg@altern.org>
6271         * org-export-latex.el (org-export-latex-tables): protect exported
6272         tables from further special chars conversion.
6273         (org-export-latex-preprocess): Preserve LaTeX environments.
6274         (org-list-parse-list): Parse descriptive lists.
6275         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6276         (org-list-to-texinfo): Export descriptive lists.
6277         (org-quote-chars): Remove.
6278         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6279         (org-export-latex-list-beginning-re): Rename to
6280         `org-list-beginning-re'
6281         (org-list-item-begin): Rename to `org-list-item-beginning'
6283 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6285         * org.el (org-refile): Allow refiling to the last entry in the
6286         buffer.
6287         (org-get-tags-at): Fix bug when inheritance is turned off.
6289 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6291         * org.el (org-indent-line-function): No longer check for src
6292         regions, this is too much overhead.
6294         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6295         matching.
6297         * org.el (org-scan-tags): Make sure that tags matching is not case
6298         sensitive.  TODO keyword matching is case sensitive, however, to
6299         avoid confusion with similar words that are not meant to be
6300         keywords.
6302 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6304         * org.el (org-get-local-tags-at): New function.
6305         (org-get-local-tags): New function.
6307         * org-exp.el (org-export-get-categories): New function.
6309         * org-agenda.el (org-sorting-choice)
6310         (org-agenda-sorting-strategy, org-agenda-get-todos)
6311         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6312         (org-agenda-get-scheduled, org-agenda-get-blocks)
6313         (org-entries-lessp): Implement sorting by TODO state.
6314         (org-cmp-todo-state): New defsubst.
6316         * org-colview.el (org-colview-construct-allowed-dates): New
6317         function.
6318         (org-columns-next-allowed-value): Use
6319         `org-colview-construct-allowed-dates'.
6321         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6322         function.
6323         (org-columns-next-allowed-value): Use
6324         `org-colview-construct-allowed-dates'.
6326 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6328         * org.el (org-protect-slash): New function.
6329         (org-get-refile-targets): Use `org-protect-slash'.
6331         * org-agenda.el (org-global-tags-completion-table): New variable.
6333         * org-exp.el (org-export-handle-export-tags): New function.
6334         (org-export-preprocess-string): Call
6335         `org-export-handle-export-tags'.
6337         * org-plot.el: New file.
6339         * org-publish.el (org-publish-expand-components): Function removed.
6340         (org-publish-expand-projects): Allow components to have components.
6342 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6344         * org.el (org-indent-line-function): Do not indent in regions that
6345         are external source code.
6346         (org-yank-and-fold-if-subtree): New function.
6348         * org-agenda.el (org-agenda-todayp): New function.
6349         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6350         `org-agenda-todayp'.
6352         * org.el (org-insert-heading-respect-content)
6353         (org-insert-todo-heading-respect-content): New commands.
6354         (org-insert-heading-respect-content): New option.
6355         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6357         * org-clock.el (org-clock-find-position): Make sure the note after
6358         the clock line gets moved into the new clock drawer.
6360 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6362         * org-id.el (org-id-new): New option.
6364 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6366         * org-table.el (org-table-copy-down): Avoid overflow during
6367         increment.  Use prefix argument 0 to temporarily disable the
6368         increment.
6370 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6372         * org-exp.el (org-export-as-html): Do not turn on the major mode
6373         if the buffer will be killed anyway.
6374         (org-get-current-options): Exclude the #+TEXT field.
6375         (org-export-as-html): Make sure text before the first headline is
6376         a paragraph.
6378         * org-publish.el (org-publish-org-to): Tell the exporter that this
6379         buffer will be killed, so it is not necessary to do major mode
6380         initialization.
6382         * org-archive.el (org-archive-to-archive-sibling): Show empty
6383         lines after folding the archive sibling.
6385         * org.el (org-log-note-extra): New variable.
6387 2008-09-05  Bastien Guerry  <bzg@altern.org>
6389         * org.el (org-additional-option-like-keywords): Added keywords for
6390         the _QUOTE, _VERSE and _SRC environments.
6392         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6393         exporting _QUOTE and _VERSE environments.
6395 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6397         * org-agenda.el (org-agenda-filter-by-tag): New command.
6399         * org-exp.el (org-get-current-options): Remove angular brackets
6400         from the date entry.
6402         * org.el (org-edit-fixed-width-region): New function.
6403         (org-edit-fixed-width-region): Also try
6404         `org-edit-fixed-width-region'.
6405         (org-edit-fixed-width-region-mode): New option.
6406         (org-activate-code): Only interprete lines starting with colon
6407         plus a space as example lines.
6409         * org-remember.el (org-remember-templates): Add nil instead of
6410         empty strings to fix the length of remember templates.
6412         * org-table.el (org-calc-default-modes): Fix the time format for
6413         calc, from 12 hour to 24 hour clock.
6415 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6417         * org-agenda.el (org-agenda-get-deadlines)
6418         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6419         entries that are pre-warnings of deadlines or reminders.
6421         * org.el (org-sort-entries-or-items): Make numeric and alpha
6422         comparisons ignore any TODO keyword and priority cookie.
6424         * org-remember.el (org-remember-handler): Reinterpretation of the
6425         prefix argument.
6427 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6429         * org-agenda.el (org-agenda-get-scheduled): Use new
6430         `org-scheduled' face.
6432         * org-faces.el (org-scheduled): New face.
6434         * org-wl.el (org-wl-open): Remove incorrect declaration.
6436         * org-gnus.el (org-gnus-store-link): Support for :to information
6437         in gnus links.
6439         * org-exp.el (org-export-as-html): Fixed typo in creator
6440         information.
6441         (org-export-protect-examples): New parameter indent.  Insert extra
6442         spaces only when this parameter is specified.
6443         (org-export-preprocess-string): Call `org-export-protect-examples'
6444         with an indentation parameter when exporting to ASCII.
6446         * org-remember.el (org-remember-templates)
6447         (org-remember-apply-template): Allow the file component to be a
6448         function.
6450         * org.el (org-goto-local-search-headings): Renamed from
6451         `org-goto-local-search-forward-headings'.  Added the possibility
6452         to search backwards.
6454 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6456         * org-export-latex.el (org-export-latex): New customization
6457         group.
6459         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6461 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6463         * org-exp.el (org-html-do-expand): Allow {} to terminate
6464         tex macro
6466 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6468         * org.el (org-buffer-list): Select buffers based on major mode,
6469         not on file name.
6471 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6473         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6474         face property.
6476         * org-colview.el (org-columns-display-here): Use
6477         `org-columns-modify-value-for-display-function'.
6479         * org-colview-xemacs.el (org-columns-display-here): Use
6480         `org-columns-modify-value-for-display-function'.
6482 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6484         * org.el (org-columns-modify-value-for-display-function): New option.
6496         * org-publish.el (org-publish-file): Make sure the directory match
6497         for the publishing directory works correctly.
6499         * org-agenda.el (org-agenda-execute-calendar-command)
6500         (org-agenda-diary-entry): Additional optional argument.
6502 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6504         * org-exp.el (org-export-as-html): Add attributes also in mailto
6505         and ftp links.
6507         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6516 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6518         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6519         sure that calls from `org-export-region-as-html' do not do the
6520         special check for a subtree.
6522 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6524         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6526 2008-07-20  Juri Linkov  <juri@jurta.org>
6528         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6529         new keymap `narrow-map' instead of binding "\C-xns".
6531 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6533         * org.el (org-open-file): Use
6534         `org-open-directory-means-index-dot-org'.
6535         (org-open-directory-means-index-dot-org): New option.
6537 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6539         * org.el (org-make-link-string): Remove link attributes from
6540         description.
6541         (org-open-at-point): Remove link attributes bevore using the path.
6543         * org-exp.el (org-export-as-html): Handle link attributes.
6545         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6547         * org-table.el (org-table-to-lisp): New function.
6549         * org.el (org-narrow-to-subtree): Do not include the final newline
6550         into the narrowed region.
6552         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6553         bug with user-define skipping condition.
6555 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6557         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6559 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6561         * org-exp.el (org-export-html-style-default): Automatic overflow
6562         handling for pre fields.
6563         (org-export-as-ascii, org-export-as-html): Change default format
6564         for time stamp.
6566         * org-table.el (org-table-export): Offer completion for translator
6567         functions, and do not require a heading above the table.
6569         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6570         Cater for the case of a list starting in the first line of the
6571         buffer.
6573 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6575         * org-publish.el (org-publish-find-title): Bug fix.
6576         (org-publish-org-index): Implement new :index-style option.
6578 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6580         * org-publish.el (org-publish-timestamp-filename): Use
6581         SHA1-encoded file names in the timestamp directory.
6583 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6585         * org-publish.el (org-publish-needed-p): Be verbose about files
6586         published and files skipped.
6588         * org-exp.el (org-export-preprocess-string): Swap link
6589         normalization and inernal link targeting.
6591         * org-publish.el (org-publish-needed-p): Create timestamp
6592         directory when it does not exist.
6594 2008-07-04  Bastien Guerry  <bzg@altern.org>
6596         * org-clock.el (org-clock-out-when-done): Doc fix.
6598         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6600         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6601         Ignore case when searching for the COMMENT cookie at export time.
6603 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6605         * org-exp.el (org-get-file-contents)
6606         (org-get-and-remove-property): New functions.
6607         (org-export-handle-include-files): Handle the new prefix options.
6608         (org-export-as-html): Fix the verse environment.
6610 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6612         * org.el (org-time=, org-time<, org-time<=, org-time>)
6613         (org-time>=, org-time<>, org-2ft): New functions.
6614         (org-op-to-function): Also provide for the time testing fucntions.
6616 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6618         * org-exp.el (org-export-html-style-default): New constant.
6620 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6622         * org-exp.el (org-export-html-style-extra): New variable.
6623         (org-export-splice-style): New function.
6625 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6627         * org-exp.el (org-export-plist-vars, org-export-as-html):
6628         Implement `org-export-creator-info'.
6629         (org-export-creator-info): New option.
6631 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6633         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6634         (org-property-drawer-re, org-clock-drawer-re): New constants.
6636 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6638         * org-exp.el (org-icalendar-use-deadline)
6639         (org-icalendar-use-scheduled): New options.
6640         (org-icalendar-include-todo): Default changed to t.
6641         (org-print-icalendar-entries): Implement better utilization of
6642         scheduling and deadline time stamps.
6643         (org-export-target-internal-links, org-export-as-html): Allow file
6644         lines without the "file:" prefix if the file path is an absolute
6645         path or starts with ".".
6647         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6648         lastweek etc.
6649         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6651 2008-06-18  Glenn Morris  <rgm@gnu.org>
6652         * org.el (org-map-entries): Let-bind `file'.
6654 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6656         * org.el (org-agenda-skip-archived-trees): Docstring now
6657         discourages using this.
6658         (org-scan-tags): Check for org-agenda-archives-mode.
6659         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6660         (org-agenda-files): Functionality of second arg changed.
6662         * org-agenda.el (org-agenda-archives-mode): New variable
6663         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6664         (org-search-view, org-todo-list, org-tags-view)
6665         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6666         `ifmode' argument.
6667         (org-agenda-quit): Reset the archives mode.
6668         (org-agenda-archives-mode): New command.
6669         (org-agenda-set-mode-name): Include archives info.
6671 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6673         * org.el (org-paste-subtree): Make sure the yanked headline is
6674         visible if it was yanked at a visible point.
6675         (org-move-item-up): Fix the bug with moving white space at the end
6676         of the item.
6677         (org-show-empty-lines-in-parent): New function.
6679 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6681         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6683         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6685         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6686         agenda prefix as well.
6688         * org-publish.el (org-publish-org-index): Make a properly indented
6689         list.
6691         * org.el (org-calendar-agenda-action-key): New option.
6692         (org-get-cursor-date): New function.
6693         (org-mark-entry-for-agenda-action): New command.
6694         (org-overriding-default-time): New variable.
6695         (org-read-date): Respect `org-overriding-default-time'.
6697         * org-remember.el (org-remember-apply-template): Respect the
6698         ovverriding default time.
6700         * org-agenda.el (org-agenda-action-marker): New variable.
6701         (org-agenda-action): New command.
6702         (org-agenda-do-action): New function.
6704 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6706         * org.el (org-schedule, org-deadline): Protect scheduled and
6707         deadline tasks against changes that accidently remove the
6708         repeater.  Also show a message with the new date when done.
6710 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6712         * org.el (org-beginning-of-line): Cater for the case when there
6713         are tags but no headline text.
6714         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6715         it set.
6717 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6719         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6720         the return value is nil instead of "nil" when there is no match.
6722         * org-exp.el (org-insert-centered): Use fill-column instead of
6723         80.
6724         (org-export-as-ascii): Use string-width to measure the width of
6725         the heading.
6727         * org.el (org-diary-to-ical-string): No longer kill buffer
6728         FROMBUF, this is now done by the caller.
6730         * org-exp.el (org-print-icalendar-entries): Move the call to
6731         `org-diary-to-ical-string' out of the loop, and kill the buffer
6732         afterwords.
6734         * org-remember.el (org-remember-visit-immediately): Position
6735         cursor after moving to the note.
6736         (org-remember-apply-template): Use a text property to record the
6737         cursor position.
6738         (org-remember-handler): Align tags after pasting the note.
6740 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6742         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6744         * org-agenda.el (org-agenda-open-link): If there is an
6745         org-bbdb-name property in the current line, jump to that bbdb
6746         entry.
6748         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6749         text property, so that the agenda knows where this entry comes
6750         from.
6752         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6753         interaction between clocking-in from the agenda, and  automatic
6754         task state switching.
6756         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6758         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6759         zmacs-region stays after this command in XEmacs.
6761 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6763         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6765         * org-remember.el (org-remember-templates): Fix bug in
6766         customization type definition.
6768         * org.el (org-map-entries): New function.
6770 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6772         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6773         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6775 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6777         * org-remember.el (org-jump-to-target-location): New variable.
6778         (org-remember-apply-template): Set
6779         `org-remember-apply-template' if requested by template.
6780         (org-remember-handler): Start an idle timer to jump to
6781         remember location.
6783         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6785         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6786         file tags.
6787         (org-get-tags-at): Add the content of `org-file-tags'.
6789         * org-exp.el (org-export-handle-comments): Fix bug with several
6790         comment lines after each other.
6791         (org-number-to-roman, org-number-to-counter): New functions.
6792         (org-export-section-number-format): New option.
6794 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6796         * org-exp.el (org-export-protect-examples): Catch the case of a
6797         missing end_example line.
6799         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6800         `org-file-tags' to nil.
6802         * org-colview.el (org-columns-next-allowed-value): Handle next
6803         argument NTH to directly select a value.
6805         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6806         argument NTH to directly select a value.
6808 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6810         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6812 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6814         * org.el (org-columns-ellipses): New option.
6816 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6818         * org-colview.el (org-columns-add-ellipses): New function.
6819         (org-columns-compact-links): New function.
6820         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6821         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6822         when in agenda.
6823         (org-columns-edit-value): Fixed bug with editing values from
6824         agenda column view.
6825         (org-columns-redo): Also redo the agenda itself.
6827 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6829         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6830         option.
6832         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6834         * org-exp.el (org-export-ascii-preprocess): Renamed from
6835         `org-export-ascii-clean-string'.
6836         (org-export-kill-licensed-text)
6837         (org-export-define-heading-targets)
6838         (org-export-handle-invisible-targets)
6839         (org-export-target-internal-links)
6840         (org-export-remove-or-extract-drawers)
6841         (org-export-remove-archived-trees)
6842         (org-export-protect-quoted-subtrees)
6843         (org-export-protect-verbatim, org-export-protect-examples)
6844         (org-export-select-backend-specific-text)
6845         (org-export-mark-blockquote-and-verse)
6846         (org-export-remove-comment-blocks-and-subtrees)
6847         (org-export-handle-comments, org-export-mark-radio-links)
6848         (org-export-remove-special-table-lines)
6849         (org-export-normalize-links)
6850         (org-export-concatenate-multiline-links)
6851         (org-export-concatenate-multiline-emphasis): New functions,
6852         obtained from spliiting the export preprocessor.
6854         * org-table.el (org-table-recalculate): Improve error message if
6855         the row number is invalid.
6857 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6859         * org-archive.el (org-archive-save-context-info): Fix bugs in
6860         customization setup and docstring.
6862         * org-exp.el (org-export-html-style): Changed the size of in the
6863         <pre> element to 90%.
6865 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6867         * org.el (org-find-src-example-start): Function removed.
6868         (org-edit-src-find-region-and-lang): New function.
6870 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6872         * org.el (org-edit-src-exit): New function.
6873         (org-exit-edit-mode): New minor mode.
6875         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6876         comment-like lines from protected examples.
6878         * org.el (org-edit-src-example, org-find-src-example-start)
6879         (org-protect-source-example, org-edit-special): New functions.
6881 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6883         * org-publish.el (org-publish-project-alist): Fix typo in
6884         docstring.
6885         (org-publish-project-alist): Handle :index-title property.
6887 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6889         * org-export-latex.el (org-export-as-latex): Make sure region
6890         bounds are correct.  Parse subtree properties relating to export.
6892         * org-exp.el (org-export-add-options-to-plist): New function.
6893         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6895 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6897         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6898         EXPORT_TITLE.
6900         * org-exp.el (org-export-get-title-from-subtree)
6901         (org-export-as-ascii, org-export-as-html): Make sure the original
6902         region-beginning and region-end are used, even after moving
6903         point.
6904         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6905         property.
6907         * org-remember.el (org-remember-last-stored-marker): New variable.
6908         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6909         (org-remember-handler): Also use marker to remember
6910         last-stored position.
6912         * org.el (org-goto-marker-or-bmk): New function.
6914 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6916         * org.el (org-file-properties): Renamed from `org-local-properties'.
6917         (org-scan-tags): Take file tags into account.
6918         (org-tags-match-list-sublevels): Default changed to t.
6920         * org-exp.el (org-export-as-html): Close paragraph after a
6921         footnote.
6923         * org.el (org-update-parent-todo-statistics): New function.
6925         * org-exp.el (org-icalendar-store-UID): New option.
6926         (org-icalendar-force-UID): Option removed.
6927         (org-print-icalendar-entries): IMplement UIDs.
6929 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6931         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6933 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6935         * org-faces.el (org-column): Document how this face is being used
6936         and why sometimes the background faces shine through.
6938         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6940         * org-publish.el (org-publish-attachment): Create publishing
6941         directory if it does not yet exist.
6943         * org-table.el (org-calc-default-modes): Change default number
6944         format to (float 8).
6946         * org.el (org-olpath-completing-read): New function.
6947         (org-time-clocksum-format): New option.
6948         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6950         * org-clock.el (org-clock-display, org-clock-out)
6951         (org-update-mode-line): Use `org-time-clocksum-format'.
6953         * org-colview-xemacs.el (org-columns-number-to-string): Use
6954         `org-time-clocksum-format'.
6956         * org-colview.el (org-columns-number-to-string): Use
6957         `org-time-clocksum-format'.
6959 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6961         * org-id.el: New file, move from contrib to core.
6963         * org-exp.el (org-icalendar-force-UID): New option.
6965 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6967         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6968         shifted by one day if theere is a date range without an end
6969         time.
6971         * org.el (org-try-structure-completion): New function.
6973 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6975         * org.el (org-set-font-lock-defaults): Improve fontification of
6976         description lists.
6977         (org-insert-item): Handle description lists.
6978         (org-adaptive-fill-function): Improve auto indentation in
6979         description lists.
6981         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6982         Implement VERSE environment.
6983         (org-export-preprocess-string): Implement the COMMENT
6984         environment.
6986         * org-export-latex.el (org-export-latex-preprocess): Implement
6987         VERSE environment.
6989 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6991         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6992         option.
6994 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6996         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6998         * org.el (org-quote-csv-field): New functions.
7000         * org-table.el (org-table-export-default-format): Remove :splice
7001         from default format, we get the same effect by not specifying
7002         :tstart and :tend.
7003         (org-table-export): Improve setup, distinguish better between
7004         interactive and non-interactive use, allow specifying the format
7005         on the fly, better protection against wrong file names.
7006         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7007         and :tend when :splice is omitted.
7009 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7011         * org-clock.el (org-clock-select-task): Make sure the selection
7012         letters are 1-9 and A-Z, no special characters.
7014 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7016         * org-exp.el (org-export-htmlize): New group.
7017         (org-export-htmlize-output-type)
7018         (org-export-htmlize-css-font-prefix): New options.
7019         (org-export-htmlize-region-for-paste): New function.
7020         (org-export-htmlize-generate-css): New command.
7022 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7024         * org/org.el (org-modules, org-format-latex-options):
7025         * org/org-archive.el (org-archive-stamp-time)
7026         (org-archive-save-context-info):
7027         * org/org-faces.el (org-hide):
7028         * org/org-irc.el (org-irc-parse-link):
7029         * org/org-macs.el (org-call-with-arg, org-autoload):
7030         * org/org-mew.el (org-mew-store-link):
7031         * org/org-remember.el (org-remember-store-without-prompt)
7032         (org-remember-templates): Fix typos in docstrings.
7034         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7036         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7037         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7038         (org-bbdb-anniv-split): Fix typos in docstrings.
7040         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7041         (org-publish-use-timestamps-flag): Reflow docstring.
7042         (org-publish-files-alist): Fix typos in docstring.
7044 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7046         * org.el (org-set-visibility-according-to-property): New function.
7047         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7048         and compute the regular expressions, and update font-lock.
7049         (org-property-re): Allow a dash in property names.
7051         * org-archive.el (org-extract-archive-file): Insert the file name
7052         without the path into the format, to allow the location format to
7053         contain a subdirectory.
7055         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7056         of buffer, and the `org-agenda-type' property undefined, use the
7057         value from the character before.
7059         * org.el (org-add-planning-info): Don't let indentation for
7060         would-be timestamp become extra whitespace at the end of headline.
7062 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7064         * org.el (org-remove-double-quotes, org-file-contents): New
7065         functions.
7067         * org-exp.el (org-infile-export-plist): Also parse the
7068         contents of #+SETUPFILE files, recursively.
7070         * org.el (org-set-regexps-and-options): Also parse the
7071         contents of #+SETUPFILE files, recursively.
7073         * org-exp.el (org-export-handle-include-files): New function.
7074         (org-export-preprocess-string): Call
7075         `org-export-handle-include-files'.
7077         * org.el (org-delete-property-globally)
7078         (org-delete-property, org-set-property): Ignore case during
7079         completion.
7080         (org-set-property): Use `org-completing-read' instead of
7081         `completing-read'.
7083         * org.el (org-complete-expand-structure-template): New,
7084         experimental function.
7085         (org-structure-template-alist): New, experimental option.
7086         (org-complete): Call `org-complete-expand-structure-template'.
7088 2008-05-06  Bastien Guerry  <bzg@altern.org>
7090         * org-export-latex.el (org-export-latex-preprocess): Added
7091         support for blockquotes.
7093 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7095         * org.el (org-read-date-analyze): Catch the case where only a
7096         weekday is given.
7098 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7100         * org.el (org-set-font-lock-defaults): Make the description
7101         tag bold.
7103         * org-exp.el (org-export-as-html, org-close-li): Implement
7104         description lists.
7106 2008-05-04  Jason Riedy  <jason@acm.org>
7108         * org-table.el (*orgtbl-default-fmt*): New variable.
7109         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7110         when there is no other fmt available.
7112         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7113         :tend to suppress the appropriate string.
7115         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7116         table.
7118 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7120         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7121         read date.
7123         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7124         New function.
7126         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7127         New function.
7129 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7131         * org-clock.el (org-clock-find-position): Don't include notes
7132         into clock drawer.
7134         * org-archive.el (org-archive-subtree): No longer remove an
7135         extra line after cutting the subtree.  `org-cut-subtree' already
7136         takes care of this.
7138         * org-remember.el (org-remember-handler): Only kill the target
7139         buffer if it does not contain the running clock.
7141         * org.el (org-markers-to-move): New variable.
7142         (org-save-markers-in-region, org-check-and-save-marker)
7143         (org-reinstall-markers-in-region): New function.
7144         (org-move-subtree-down, org-copy-subtree): Remember relative
7145         marker positions before cutting.
7146         (org-move-subtree-down, org-paste-subtree): Restore relative
7147         marker positions after pasting.
7149         * org-remember.el (org-remember-clock-out-on-exit): New option.
7150         (org-remember-finalize): Clock out only if the setting in
7151         `org-remember-clock-out-on-exit' requires it.
7152         (org-remember-handler): Do the cleanup in the buffer, to make sure
7153         that the clock marker remains in tact.
7155 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7157         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7158         (org-clock-in): Make sure that also tasks outside the narrowed
7159         region will be clocked in correctly.
7160         (org-clock-insert-selection-line): Widen the buffer so that we can
7161         find the correct task heading.
7163         * org.el (org-base-buffer): New function.
7165         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7166         and ";" are escaped.
7167         (org-print-icalendar-entries): Also apply
7168         `org-icalendar-cleanup-string' to the headline, not only to the
7169         summary property.
7171 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7173         * org-exp.el (org-export-preprocess-hook): New hook.
7174         (org-export-preprocess-string): Call
7175         `org-export-preprocess-hook'.
7177         * org.el (org-font-lock-hook): New variable.
7178         (org-font-lock-hook): New function.
7179         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7181 ;; Local Variables:
7182 ;; coding: utf-8
7183 ;; add-log-time-zone-rule: t
7184 ;; End:
7186     Copyright (C) 2008  Free Software Foundation, Inc.
7188   This file is part of GNU Emacs.
7190   GNU Emacs is free software: you can redistribute it and/or modify
7191   it under the terms of the GNU General Public License as published by
7192   the Free Software Foundation, either version 3 of the License, or
7193   (at your option) any later version.
7195   GNU Emacs is distributed in the hope that it will be useful,
7196   but WITHOUT ANY WARRANTY; without even the implied warranty of
7197   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7198   GNU General Public License for more details.
7200   You should have received a copy of the GNU General Public License
7201   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7203 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c