New option org-beamer-frame-default-options.
[org-mode.git] / lisp / ChangeLog
blob3e21aaf487d8cbbf24a3283dea2c257ab6e28b7e
1 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-beamer.el (org-beamer-frame-default-options): New option.
4         (org-beamer-sectioning): Use default options if the user does not
5         have defined any.
7         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
8         sure case-folding works well when processing comment stuff.
10         * org-latex.el (org-export-latex-after-save-hook): New hook.
11         (org-export-as-latex): Run the new hook.
13 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
15         * org-beamer.el (org-beamer-environments-default): Add the note
16         environments.
17         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
18         lines and collect and combine the content.
19         (org-beamer-after-initial-vars): Check for note tags and make sure
20         they will be seen like a property.
22         * org.el (org-offer-links-in-entry): Fix bug when there is a
23         single link.
25         * org-exp.el (org-export): Make sure the mark is activated, also
26         when `transient-mark-mode' is off.
28         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
29         (org-agenda-search-view-search-words-only): Obsolete variable, is
30         now an alias for `org-agenda-search-view-always-boolean'.
31         (org-agenda-search-view-force-full-words): New option.
32         (org-search-view): Improve docstring, and implement a better logic
33         for Boolean and phrase searches.
34         (org-agenda-last-search-view-search-was-boolean): New variable.
35         (org-agenda-manipulate-query): Consider the type of the last
36         search when modifying the search string.
38 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
40         * org-latex.el (org-export-as-latex): Do the first letbind in the
41         right moment.
43         * org-agenda.el (org-get-entries-from-diary): Add the new face to
44         these entries.
46         * org-faces.el (org-agenda-diary): New face.
48         * org.el (org-make-link-regexps): Allow regexp-special characters
49         in link types.
50         (org-open-file): When in-emacs is `system', also force system
51         opening, like when the value was `(16)'.
52         (org-update-statistics-cookies): Handle entries without children.
54         * org-exp.el
55         (org-export-preprocess-before-normalizing-links-hook): New hook.
56         (org-export-preprocess-string): Run the new hook.
58         * org.el (org-offer-links-in-entry): Make RET open all links.
60         * org-html.el (org-export-as-html): Remove any left-over display
61         properties in the html file.
63         * org-wl.el (org-wl-store-link): Work-around for format bug with
64         text properties.
66         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
67         invisibility while adding the graphs.
69 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
71         * org-remember.el (org-select-remember-template): Use C letter to
72         customize remember templates.
74         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
75         Move cursor to next visible line.
77 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
79         * org-beamer.el (org-beamer-sectioning): Leave columns environment
80         by specifying 0 or 1 for column width.
81         (org-beamer-column-widths): Make 0 stand for 0.0.
83 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
85         * org-exp.el (org-export-mark-radio-links): Don't match inside
86         <<target>>.
88         * org.el (org-format-latex-header-extra): New variable.
89         (org-format-latex): Set org-format-latex-header-extra from
90         in-buffer stuff.
91         (org-format-latex): Add org-format-latex-header-extra to the
92         variables on which image creation depends.
93         (org-create-formula-image): Add the header stuff from in-buffer
94         settings.
95         (org-read-date-analyze): Base the analysis for future preference
96         on NOW, not on the default date.
98         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
99         for TODO keyword in inline tasks.
101         * org.el (org-log-note-headings): New headings for removing
102         deadline or scheduling date.
103         (org-deadline, org-schedule): Arrange for logging when removing a
104         date.
105         (org-add-log-note): Handle deadline and scheduling removal.
107 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
109         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
111 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
113         * org-agenda.el (org-diary-class): New function.
115 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
117         * org-latex.el (org-export-latex-preprocess): Do process the text
118         of a radio target.
120 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
122         * org.el (org-entry-properties): Add TIMESTAMP properties back
123         in.
125 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
127         * org.el (org-all-time-keywords): New variable.
128         (org-set-regexps-and-options): Set `org-all-time-keywords'.
129         (org-entry-blocked-p): New function.
130         (org-special-properties): Add BLOCKED as a new special property.
131         (org-entry-properties): New optional argument SPECIFIC, only parse
132         for this property when it is specified.
133         (org-entry-get): Pass a SPECIFIC argument to
134         `org-entry-properties'.
136         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
138 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
140         * org-latex.el (org-export-latex-tables): No forced line end if
141         there is no caption.
143 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
145         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
146         package.
148         * org-latex.el (org-export-latex-tables): Only add a caption when
149         macro in in longtable environments if one has been defined.
151         * org-html.el (org-export-as-html): Only take title from buffer if
152         not exporting body-only.
154         * org-latex.el (org-export-latex-preprocess): Better version of
155         the regular expression for protecting LaTeX macros.
156         (org-export-latex-preprocess): Start searching for macros to
157         protect from beginning of buffer.
159         * org-exp.el (org-export-target-internal-links): Check for
160         protectedness earlier in the string.
162         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
163         case sensitively.
165         * org-id.el (org-id-store-link): Match TODO keywords case
166         sensitively.
168         * org.el (org-heading-components, org-get-outline-path)
169         (org-display-outline-path): Match TODO keywords case sensitively.
171         * org-latex.el (org-export-as-latex): Ignore read-only
172         properties.
174         * org-exp.el (org-export-preprocess-string): Remove any
175         `read-only' properties.
177         * org-agenda.el (org-agenda-inactive-leader): New option.
178         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
179         (org-tags-view): Prompt for matcher if MATCH is an empty string.
180         (org-todo-list): Prompt for matcher if ARG is an empty string.
182 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
184         * org.el (org-open-link-functions): New hook.
185         (org-open-at-point): Run `org-open-link-functions'.
187 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
189         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
190         stamps as well.
192         * org.el (org-inhibit-startup-visibility-stuff): New variable.
193         (org-mode): Don't do startup visibility if inhibited.
194         (org-outline-overlay-data, org-set-outline-overlay-data): New
195         functions.
196         (org-save-outline-visibility): New macro.
197         (org-log-note-headings): Document that one should not change the
198         `state' note format.
200 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
202         * org.el (org-make-link-regexps): Capture link path into a group.
204 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
206         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
207         the options plist.
209 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
211         * org.el (org-startup-with-beamer-mode): New option.
212         (org-property-changed-functions)
213         (org-property-allowed-value-functions): New hooks.
214         (org-entry-put, org-property-get-allowed-values): Run the new
215         hooks.
216         (org-property-next-allowed-value): Run the new hooks.
218         * org-exp.el (org-export-select-backend-specific-text): Add the
219         special beamer tags.
221         * org-beamer.el
222         (org-export-preprocess-before-selecting-backend-code-hook): New
223         file.
225         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
226         (org-export-as-latex): Run
227         `org-export-latex-after-initial-vars-hook'.
228         (org-export-latex-format-toc-function)
229         (org-export-latex-make-header): Call
230         `org-export-latex-format-toc-function'.
232         * org.el (org-fill-template): Make template searches case sensitive.
234         * org-exp.el (org-export): Use "1" as a sign to export only the
235         subtree.
237         * org-colview-xemacs.el (org-columns-edit-value): Use
238         org-unrestricted property.
240         * org-colview.el (org-columns-edit-value):  Use
241         org-unrestricted property.
243         * org.el (org-compute-property-at-point): Set org-unrestricted
244         text property if the list contains ":ETC".
245         (org-insert-property-drawer):  Use
246         org-unrestricted property.
248         * org-exp.el
249         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
250         (org-export-preprocess-string): Run
251         `org-export-preprocess-before-selecting-backend-code-hook'.
253         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
255         * org-latex.el (org-export-region-as-latex): Run
256         `org-export-first-hook'.
258         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
260         * org-docbook.el (org-export-as-docbook): Run
261         `org-export-first-hook'.
263         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
265         * org-exp.el (org-export-first-hook): New hook.
267 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
269         * org-list.el (org-previous-item): Exit at the beginning of the
270         buffer.
272         * org-id.el (org-id-locations-save): Only write the id locations
273         if any are defined.
275         * org-archive.el (org-archive-all-done): Make this work in a file
276         with org-odd-levels-only set.
278         * org.el (org-get-refile-targets): Catch the case when a buffer
279         has no file.
281         * org-latex.el (org-export-as-latex): Cleanup forced line ends
282         where they are not needed.
283         (org-export-latex-subcontent): Remove unnecessary newlines.
285 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
287         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
288         (org-export-latex-fontify): Fix regexp bug that takes special
289         care of protecting the right boundary characters in emphasis
290         matches.
291         (org-export-latex-preprocess): Allow multiple arguments to latex
292         macros.
294         * org.el (org-make-link-regexps): Use John Gruber's regexp for
295         urls.
297         * org-macs.el (org-re): Interpret :punct: in regexps.
299         * org-exp.el (org-export-replace-src-segments-and-examples): Also
300         take the final newline after the END line.
302         * org.el (org-clean-visibility-after-subtree-move): Only fix
303         entries that are not entirely invisible already.
304         (org-insert-link): Respect org-link-file-path-type for
305         "docview:" links in addition to "file:" links.
307 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
309         * org-exp.el (org-export-format-source-code-or-example): Avoid
310         additional extra white lines in LaTeX.
312         * org-list.el (org-list-parse-list): Leave empty lines after the
313         list, don't consider them as part of the list.
315         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
316         searches.
318         * org-clock.el (org-clock-select-task): Convert integer to
319         character for XEmacs.
321 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
323         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
324         compatible.
326 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
328         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
329         variable.
330         (org-set-tags): Use it.
332 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
334         * org-list.el (org-empty-line-terminates-plain-lists): Update
335         docstring.
337         * org.el (org-format-latex): Fix link creation for processed latex
338         snippets.
340 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
342         * org-footnote.el (org-footnote-normalize): Protect replacement
343         text.
345         * org.el (org-inside-latex-macro-p): Save match data.
347 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
349         * org-docview.el: New file.
351 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
353         * org-latex.el (org-export-latex-class-options): New variable.
354         (org-export-latex-set-initial-vars): Use the class options.
356         * org.el (org-forward-same-level): Stop at headings that start
357         with an invisible character.
358         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
360 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
362         * org-footnote.el (org-footnote-normalize): Don't take optional
363         arguments in LaTeX macros as footnotes.
365         * org.el (org-inside-latex-macro-p): New function.
367         * org-latex.el (org-latex-to-pdf-process): Change customization
368         group to `org-export-pdf'.
370         * org-agenda.el (org-agenda-get-blocks): Look at time string also
371         on days after the first one.
373         * org.el (org-insert-heading): Also check for item before assuming
374         before-first-heading condition.
376         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
377         (org-export-pdf-logfiles): New option.
378         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
379         (org-export-pdf-logfiles): Fix customization type.
381         * org.el (org-insert-link): Improve error message when there is no
382         default link to select with RET.
384         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
385         parameter list.
387 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
389         * org-latex.el (org-export-latex-parse-global)
390         (org-export-latex-parse-content)
391         (org-export-latex-parse-subcontent): Use
392         `org-re-search-forward-unprotected'.
393         (org-export-as-pdf): Remove log files produced by XeTeX.
395         * org-macs.el (org-re-search-forward-unprotected): New function.
397 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
399         * org-colview.el (org-agenda-colview-summarize): Sort out some
400         confusion between properties and titles, which resulted in
401         agenda summaries not working if a title was set for a column.
403 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
405         * org-mobile.el (org-mobile-agendas): New option.
406         (org-mobile-sumo-agenda-command): Select the right agendas.
408         * org-latex.el (org-export-latex-format-image): Preserve the
409         original-indentation property.
411 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
413         * org-clock.el (org-clock-insert-selection-line): Catch error when
414         an old tasks no longer exists.
416         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
417         (org-export-as-pdf): Don't remove the old PDF file before making
418         the new one.
420         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
421         (org-mouse-context-menu): Use `org-looking-back'.
423         * org.el (org-cycle-level): Use `org-looking-back'.
425         * org-list.el (org-cycle-item-indentation): Use
426         `org-looking-back'.
428         * org-compat.el (org-looking-back): New function.
430         * org.el (org-insert-heading): Catch before-first-headline when
431         inserting a headline.
433 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
435         * org-latex.el (org-export-latex-format-image): Indent figure
436         environment, so that it does not interrupt plain list.
438         * org.el (org-open-at-point): Allow long link descriptions.
440 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
442         * org-html.el (org-export-as-html): Remove empty lines at the
443         beginning of the exported text.
445 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
447         * org-protocol.el (org-protocol-remember): Cater for empty title,
448         region, link.
450         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
451         agenda after adding new entry.
452         (org-agenda-get-represented-tags): New function.
453         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
454         to get a list of tags in the agenda.
456         * org-datetree.el (org-datetree-find-day-create): Fix regular
457         expression.
459         * org.el (org-display-outline-path): Use a format specifier for
460         message, to avoid problems with heading containing `%'.
462         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
463         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
464         (org-agenda-fix-displayed-tags): New function.
465         (org-agenda-do-context-action): Just call
466         `org-display-outline-path', without piping the result through
467         `message'.
469         * org-latex.el (org-export-latex-preprocess): Protect secondary
470         footnote references.
472         * org-indent.el (org-indent-initialize): Avoid empty strings as
473         line prefixes.
475         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
476         hat checking for the mark does not throw an error.
477         (org-agenda-diary-entry-in-org-file): Catch the case that there is
478         not `day' text property in the cursor line.
480         * org.el (org-sort-entries-or-items): Make sure that the final
481         entry has a newline before doing the sorting.
483         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
484         property at the beginning of the line.
486         * org.el (org-make-link-string): Don't allow a description with
487         only white space.
489 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
491         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
492         (org-agenda-insert-diary-as-top-level): New function.
493         (org-agenda-add-entry-to-org-agenda-diary-file): Call
494         `org-agenda-insert-diary-as-top-level'.
496         * org.el (org-occur-in-agenda-files): Make sure none of the
497         buffers is narrowed.
498         (org-activate-plain-links): Add the face property here.
499         (org-set-font-lock-defaults): Do not add the face to plain links,
500         the activator function does this.
502         * org-habit.el (org-is-habit-p): Add doc string.
504 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
506         * org-archive.el (org-archive-subtree-default-with-confirmation):
507         Autoload.
509         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
510         after match optional (happens at the end of a line...).
512         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
513         for special blocks.
515         * org-faces.el (org-copy-face): Set lisp indentation.
516         (org-quote, org-verse): New faces.
518         * org-agenda.el (org-agenda-remove-date): Remove variable.
520 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
522         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
524 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
526         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
527         hash keys to cache and re-use images generated by the
528         org-exp-blocks interface to ditaa and dot.
530 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
532         * org-html.el (org-export-as-html): Move the home/up link into
533         the content div.
535         * org.el (org-export-latex-packages-alist): Option definition
536         moved here from org-latex.el.
538 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
540         * org.el (org-format-latex): Latex images are now saved to files
541         named by the sha1 hash of the latex source text avoiding
542         regeneration of identical images.
544 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
546         * org-html.el (org-export-html-home/up-format): Add an ID to the
547         up/home div.
549 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
551         * org-wl.el (org-wl-store-link): Handle the case that
552         `wl-use-petname' is set.
554         * org.el (org-set-effort): Improve prompt.
555         (org-get-outline-path): Widen to get full path.
556         (org-compact-display-after-subtree-move): Function removed.
558         * org-latex.el (org-export-as-latex): Add the :drawers property.
560 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
562         * org.el (org-speed-commands-user): Allow documentation headlines.
563         (org-speed-commands-default): Organize the value of this constant
564         with descriptive headlines.
565         (org-print-speed-command): Output the headlines.
567 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
569         * org-agenda.el (org-agenda-show-outline-path): New option.
570         (org-agenda-do-context-action): New function.
571         (org-agenda-next-line, org-agenda-previous-line): Use
572         `org-agenda-do-context-action'.
574         * org.el (org-use-speed-commands): Allow function value.
575         (org-speed-commands-default): Make headline motion safe, so that
576         these commands always end on a headline.
577         (org-speed-commands-default): New key `v' for `org-agenda'.
578         (org-speed-move-safe): New function.
579         (org-self-insert-command): Use the function value of
580         `org-use-speed-commands'.
581         (org-get-outline-path): Improve docstring.
582         (org-format-outline-path): New function.
583         (org-display-outline-path): New function.
585 2009-11-12  John Wiegley  <jwiegley@gmail.com>
587         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
588         a string, use that to find the LOGBOOK drawer.
590 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
592         * org.el (org-clone-subtree-with-time-shift): Make it work at the
593         end of the buffer.
595         * org-mobile.el (org-mobile-write-checksums): Specify coding
596         system.
597         (org-mobile-timestamp-buffer): Keep local variable/mode line at
598         beginning of buffer.
600         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
602         * org.el (org-block-todo-from-children-or-siblings-or-parent)
603         (org-block-todo-from-checkboxes): Do not block changes to a nil
604         TODO state.
606 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
608         * org-habit.el (org-habit-parse-todo): Indicate which habit is
609         wrongly set up in the error messages.
611         * org-colview.el (org-columns-display-here): Don't try to
612         calculate values if the underlying property is not set.
613         (org-columns-string-to-number): Convert age strings back into
614         fractional days.
615         (org-agenda-colview-summarize): Handle extended summary types
616         properly.
618         * org-colview-xemacs.el (org-columns-display-here): Don't try to
619         calculate values if the underlying property is not set.
620         (org-columns-string-to-number): Convert age strings back into
621         fractional days.
622         (org-agenda-colview-summarize): Handle extended summary types
623         properly.
625 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
627         * org-exp.el (org-export-format-drawer-function): New variable.
628         (org-export-format-drawer): New function.
629         (org-export-preprocess-string): Pass the backend as a parameter to
630         `org-export-remove-or-extract-drawers'.
631         (org-export-remove-or-extract-drawers): New parameter BACKEND.
633         * org-protocol.el (org-protocol-char-to-string): New defsubst.
635 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
637         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
638         message when no block is selected.
640         * org-latex.el (org-export-latex-links): Check for protectedness
641         in the last matched character, not after the match.
643         * org-datetree.el (org-datetree-find-date-create): Respect
644         restriction when KEEP-RESTRICTION is set.
645         (org-datetree-file-entry-under): New function.
646         (org-datetree-cleanup): New command.
648 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
650         * org-src.el (org-edit-src-code): New optional argument context
651         allows calling functions to avoid altering the saved window
652         configuration.
653         (org-edit-src-exit): Do not restore window configuration when this
654         function is used in the context of saving the edit buffer.
656 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
658         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
659         instances to switching to with-current-buffer, because these seem
660         to cause problems - no idea why.
662         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
663         Require diary-lib for (diary-date-display-form).
665         * org.el (org-log-reschedule, org-log-redeadline): New options.
666         (org-log-note-headings): Add templates for rescheduling and
667         deadline changing.
668         (org-startup-options): Add in-buffer settings for logging changing
669         schedule and deadline time stamps.
670         (org-deadline, org-schedule): Check for existing date and arrange
671         for logging if the user requests it.
672         (org-add-log-note): Prepare proper note buffers for rescheduling
673         and deadline changes.
675 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
677         * org-agenda.el (org-agenda-diary-entry-in-org-file)
678         (org-agenda-add-entry-to-org-agenda-diary-file)
679         (org-agenda-insert-diary-make-new-entry): New functions.
680         (org-agenda-diary-entry): Call
681         `org-agenda-diary-entry-in-org-file' when appropriate.
683         * org.el (org-calendar-insert-diary-entry-key): New option.
684         (org-agenda-diary-file): New option.
685         ("calendar"): Install our insertion function in the calendar.
687         * org-remember.el (org-datetree): Require.
688         (org-remember-templates): Add new positioning option.
689         (org-remember-reference-date): New variable.
690         (org-remember-apply-template): Store the reference date in a local
691         variable.
692         (org-remember-handler): Implement date tree positioning of entries.
694         * org-datetree.el: New file.
696         * org-latex.el (org-export-latex-preprocess): Protect targets in
697         verbatim emphasis.
699         * org-html.el (org-export-as-html): Protect targets in verbatim
700         emphasis.
702         * org-docbook.el (org-export-as-docbook): Protect targets in
703         verbatim emphasis.
705 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
707         * org.el (org-link-display-format): Should be literal replacement.
709 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
711         * org-clock.el (org-show-notification): Handle messages that
712         contain a percent character.
714         * org-remember.el (org-remember-apply-template): Turn of partial
715         completion.
717         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
718         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
720         * org.el (org-indent-mode): Define variable already in org.el.
721         (org-unfontify-region): Remove line-prefix and wrap-prefix
722         properties only if org-indent-mode is active.
724 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
726         * org-icalendar.el (org-print-icalendar-entries): Save match data
727         around call to verify function.
728         (org-print-icalendar-entries): Add a call to the verification
729         function.
731         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
732         save-restrivtion' form.
734 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
736         * org-exp.el (org-export-format-source-code-or-example): restrict
737         scope of preserve-indentp to the let binding.
738         (org-src): require org-src, since org-src-preserve-indentation is used.
740 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
742         * org-timer.el (org-timer-set-timer): Set variables
743         org-timer-timer[123] correctly.
746         * org-mobile.el (org-mobile-files-alist): Make it work when
747         `agenda-archives' is included in
748         `org-agenda-text-search-extra-files'.
749         (org-mobile-push): Restore agenda after mobile push.
751 2009-11-05  John Wiegley  <jwiegley@gmail.com>
753         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
754         way the amount of idle time is presented in the minibuffer.
756 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
758         * org-icalendar.el (org-print-icalendar-entries): Use
759         org-icalendar-verify-function only if non-nil.
761         * org.el (org-refile): Refile to clock only if the prefix arg is
762         2.
763         (org-sparse-tree): Fix docstring to be in line with prompt.
764         (org-update-parent-todo-statistics): Call
765         `org-after-todo-statistics-hook' on each level.
767 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
769         * org-remember.el (org-remember-apply-template): Make sure the
770         buffer exists.
772 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
774         * org.el (org-tab-ind-state): New variable.
775         (org-cycle-level): New function.
776         (org-cycle-level-after-item/entry-creation): New option.
777         (org-flag-subtree): New function.
778         (org-hide-archived-subtrees): Call `org-flag-subtree'.
779         (org-set-effort): Indexed access.
781         * org-list.el (org-cycle-item-indentation): New function.
783         * org.el (org-refile): Make prefix argument 2 refile to current
784         clock.
785         (org-priority): Interpret action `remove' as call to remove the
786         priority cookie.
788         * org-remember.el (org-remember-apply-template): Don't depend on
789         buffer name being like file name.
791 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
793         * org-clock.el (org-clock-play-sound): Expand file in
794         org-clock-sound, to allow ~ for home.
796         * org-remember.el (org-remember-handler): Set
797         text-before-node-creation even if this already looks like a node,
798         because the string might be needed on non-org-mode target files.
800         * org-agenda.el (org-agenda-open-link): Make this work in agenda
801         clocktables.
802         (org-agenda-switch-to): Follow a link at point if
803         org-return-follows-link' is set and there is nothing else to do in
804         this line.
806 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
808         * org-colview-xemacs.el: Add in changes from org-colview.el
810 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
812         * org-exp-blocks.el: Modify split separator regexp to avoid empty
813         strings.
815 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
817         * org-colview.el (org-columns-new): Make this work with the new
818         operators.
819         (org-columns-store-format): Make this work with the new operators.
821 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
823         * org-src.el (org-src-preserve-indentation): Document that this
824         variable is also used during export.
826         * org-exp.el (org-export-format-source-code-or-example): Preserve
827         indentation if a block has a -i option, or if
828         `org-src-preserve-indentation' is set.
830         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
831         indentation if a block has a -i option, or if
832         `org-src-preserve-indentation' is set.
834 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
836         * org.el (org-mode-map): Define the new archiving keys.
837         (org-speed-commands-default): Define an archiving key in the speed
838         command map.
839         (org-org-menu): Improve the menu structure concerning archiving.
841         * org-archive.el (org-archive-subtree-default-with-confirmation):
842         New command.
844         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
845         (org-agenda-menu): Add the new archiving commands to the menu.
846         (org-agenda-archive-default)
847         (org-agenda-archive-default-with-confirmation): New commands.
848         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
849         call `org-agenda-archive-with'.
850         (org-agenda-archive-with): New function.
852         * org-table.el (org-table-convert-region): Inert spaces around "|"
853         to avoid line beginnings like "|-1" which will be mistaken as
854         hlines.
856 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
858         * org.el (org-offer-links-in-entry): Return nil if there are no
859         links, t if a link has been selected.
860         (org-open-at-point): Open attachment directory when called in the
861         headline and there are no links in the entry body.
862         (org-speed-commands-default): Add "o" for open-at-point as a speed
863         command.
865         * org-attach.el (org-attach-reveal): Optional prefix arg
866         IF-EXISTS, which avoids creating the attachment directory if it
867         does not yet exist.
869         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
870         MATCH.
872 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
874         * org.el ("abbrev"): Work with abbrev tables only after they have
875         been loaded.
877         * org-list.el (org-list-send-list): Fix bug related to match
878         data.
880         * org-latex.el (org-export-latex-fontify): Apply verbatim
881         emphasis.
882         (org-export-latex-make-header): Insert \obeylines if line breaks
883         should be preserved.
885         * org-exp.el (org-export-protect-verbatim): Add an
886         `org-verbatim-emph' property to such text.
888 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
890         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
891         (org-print-icalendar-entries): Skip entries where the timestamp is
892         not a deadline and not scheduled, if the user requests that.
894         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
895         before an opening quote.
897         * org-archive.el (org-archive-subtree): Keep archive after
898         archiving something.
900         * org-id.el (org-id-update-id-locations): Add archive files if
901         that is required by `org-id-extra-files'.
903 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
905         * org-src.el (org-src-window-setup): New option.
906         (org-src-switch-to-buffer): New function.
907         (org-edit-src-exit): Add optional argument CONTEXT and use it to
908         restore window configuration.
909         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
910         Call `org-src-switch-to-buffer'.
912         * org.el (org-default-properties): Add STYLE property.
913         (org-files-list): Use the function call to get the files.
914         (org-additional-option-like-keywords): Add SETUPFILE to completion
915         list.
917 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
919         * org-table.el (org-table-convert-region): Correctly interpret
920         quoting in csv import.
922         * org.el (org-icompleting-read): Make iswitchb completion work
923         with lists and tables.
925         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
926         while pushing the mobile agenda.
928 2009-10-25  John Wiegley  <jwiegley@gmail.com>
930         * org-clock.el
931         (org-clock-auto-clock-resolution): Now takes three values: nil, t
932         and `when-no-clock-is-running'.
933         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
934         whether or not to resolve Org buffers on clock in.
936 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
938         * org-colview.el (org-format-time-period): Function to format
939         times in fractional days for display.
940         (org-columns-display-here): Add support for showing a calculated
941         value in place of the property.
942         (org-columns): Set `org-columns-time' to the current time so time
943         difference calculations will work.
944         (org-columns-time): Use to store the current time when column view
945         is displayed, so all time differences will use the same reference
946         point.
947         (org-columns-compile-map): There is now an extra position in each
948         entry specifying the function to use to calculate the displayed
949         value for the non-calculated properties in the column,
950         (org-columns-compute-all): Set `org-columns-time' to the current
951         time so time difference calculations will work.
952         (org-columns-compute): Handle column operators where the values
953         used are calculated from the underlying property.
954         (org-columns-number-to-string): Handle the 'age' column format
955         (org-columns-string-to-number): Correct the function name (was
956         org-column...). Add support for the 'age' column format.
957         (org-columns-compile-format): Support the additional parameter in
958         org-columns-compile-map.
960 2009-10-26  Bastien Guerry  <bzg@altern.org>
962         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
963         variable.
965 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
967         * org-clock.el (org-clock-has-been-used): New variable.
968         (org-clock-in): Set `org-clock-has-been-used'.
969         (org-clock-save): Save only if clock data has been used or created
970         during this session.
972 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
974         * org-clock.el (org-clock-persist): New value, to store only the
975         clock history.
976         (org-clock-save): Don't save the clock if only the history should
977         be stored.
978         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
979         when restoring a saved clock.
981 2009-10-24  John Wiegley  <jwiegley@gmail.com>
983         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
984         `org-time-clock-use-fractional'.
986         * org.el (org-time-clocksum-use-fractional)
987         (org-time-clocksum-fractional-format): Two new customizable
988         variables which allow the user to select fractional times (1.25
989         instead of 1:25) in the `org-clock-display' report.
991 2009-10-23  John Wiegley  <jwiegley@gmail.com>
993         * org-habit.el (org-habit-build-graph): None of the arguments
994         should be optional.
995         (org-habit-parse-todo, org-habit-deadline)
996         (org-habit-get-priority, org-habit-get-faces)
997         (org-habit-build-graph): Further simplifications by storing all
998         past, scheduled and deadline dates as a number of days past the
999         epoch, and not as times.
1001         * org-habit.el (org-habit-warning-face)
1002         (org-habit-warning-future-face): Removed because these are no
1003         longer used.
1004         (org-habit-deadline, org-habit-deadline-repeat): Now always
1005         returns a date; computed if there was a scheduled repeater but no
1006         deadline repeater.
1007         (org-habit-get-priority): Further improvements to the priority
1008         algorithm.  In particular, items past due should always appear
1009         before items due or not yet due.
1010         (org-habit-get-faces): Greatly simplified the logic, now that
1011         `org-habit-deadline' always returns a valid time.
1013 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1015         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1016         New option.
1018         * org.el (org-tag-alist): Fix customization type.
1020 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1022         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1023         Make sure the regexp search can fail without throwing an error.
1024         (org-mobile-apply): Save the inbox buffer after removing
1025         successfully applied changes.
1027 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1029         * org-habit.el (org-habit-build-graph): Fix to the graph building
1030         when last DONE date is earlier than `org-habit-preceding-days'.
1032         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1033         time is reported after the user comes back (but before they
1034         resolve time).
1036         * org.el (org-get-repeat): Change so that this function can be
1037         called with either `org-scheduled-string' or
1038         `org-deadline-string'.
1040         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1041         to find the scheduled date.
1043         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1044         `org-clock-disable-clock-resolution', since negatives don't sound
1045         good in customization variables.
1046         (org-clock-in): Don't use the auto-resolution logic if the user is
1047         clocking into a different task while an active clock is running.
1048         This then allows the default behavior of clocking out of the open
1049         task and then into the new task.
1051         * org-habit.el (org-habit-parse-todo): Generate an error if a
1052         habit has a scheduled repeat period < 1.
1053         (org-habit-get-faces): Fixes to the way that colors are computed.
1054         (org-habit-build-graph): The graph wasn't displaying beyond any
1055         day that had two completions in it.
1057         * org.el (org-modules): Made this variable more consistent, since
1058         it was referring to Org, OrgMode and Org-mode, whereas the docs
1059         for the variable always refer to Org-mode.
1061 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1063         * org.el (org-repeat-re): The changed org-repeat-re no longer
1064         matched simple +2d type repeaters. Fix it so it does.
1066 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1068         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1069         macro in the VERSE environment.
1071 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1073         * org-habit.el (org-habit-get-priority): A new function that
1074         determines the relative priority of a habit, based on how long
1075         past its scheduled date it is, and how near the deadline is.
1077         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1078         using `org-habit-get-priority'.
1080         * org-habit.el (org-habit-build-graph): Start displaying colors
1081         from the first scheduled date, if that date is earlier than the
1082         first completion date.
1084         * org-habit.el: Changed all "color" variables to faces, and made
1085         them appropriate for light and dark backgrounds.
1087         * org-habit.el (org-habit-duration-to-days): Made this function
1088         more general.
1089         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1091         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1092         habits, since they don't use DEADLINE anymore.
1094         * org.el (org-repeat-re, org-display-custom-time)
1095         (org-timestamp-change): Extended to support the new ".+N/N"
1096         syntax, used for habits.
1098         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1099         variable reference.
1101         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1102         modeline when habits are being displayed (if that module is being
1103         loaded).
1105 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1107         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1108         idle time using the xscreensaver extension.
1109         (org-user-idle-seconds): Use X11 idle time if available.
1111 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1113         * org-agenda.el (org-agenda-next-line): New command.
1114         (org-agenda-previous-line): New commands.
1115         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1116         commands.
1117         (org-agenda-follow-mode): Do the follow immediately if the mode is
1118         turned on here.
1119         (previous-line, next-line): Replace keys with the corresponding
1120         org functions.
1121         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1122         command.
1124         * org.el (org-icompleting-read): Turn off partial completion mode
1125         for the duration of this completion round.
1127         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1128         macros in author lines and similar stuff.
1130         * org.el (org-file-tags): Fix docstring.
1131         (org-get-buffer-tags): Add the #+FILETAGS tags.
1132         ("ecb"): Maks ecb show context after jumping into an Org file.
1134 2009-10-20  John Wiegley  <johnw@newartisans.com>
1136         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1137         graphs after everything else in the buffer has been setup.
1139 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1141         * org-mobile.el (org-mobile-apply): Count success and failure.
1143         * org.el (org-indent-line-function): Fix regexp replace problem.
1145 2009-10-19  John Wiegley  <johnw@newartisans.com>
1147         * org-clock.el (org-clock-disable-clock-resolution): New
1148         customization variable that disable automatic clock resolution on
1149         clock in.
1150         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1151         not automatically resolve anything.  This is does not affect
1152         idle-time resolution, however, if `org-clock-idle-time' is set.
1154 2009-10-19  John Wiegley  <johnw@newartisans.com>
1156         * org-habit.el: New file, which implements code to build a "habit
1157         consistency graph".
1159         * org-agenda.el (org-agenda-get-deadlines)
1160         (org-agenda-get-scheduled): Display consistency graphs when
1161         outputting habits into the agenda.  The graphs are always relative
1162         to the current time.
1163         (org-format-agenda-item): Added new parameter `habitp', which
1164         indicates whether we are formatting a habit or not.  Do not
1165         display "extra" leading information if habitp is true.
1167         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1168         leaders for repeat strings.
1169         (org-get-repeat): Now takes a string parameter `tagline', so the
1170         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1172 2009-10-19  John Wiegley  <johnw@newartisans.com>
1174         * org-agenda.el (org-agenda-auto-exclude-function): New
1175         customization variable for allowing the user to create an "auto
1176         exclusion" filter for doing context-aware auto tag filtering.
1177         (org-agenda-filter-by-tag): Changes to support the use of
1178         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1180 2009-10-18  John Wiegley  <johnw@newartisans.com>
1182         * org.el (org-files-list): Don't attempt to return a file name for
1183         Org buffers which have no associated file.
1185         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1187 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1189         * org-mobile.el (org-mobile-locate-entry): Interpret files
1190         relative to org-directory.
1191         (org-mobile-inbox-for-pull): Document the best location for this
1192         file.
1193         (org-mobile-check-setup): Verify `org-directory'.
1194         (org-mobile-create-index-file): Sort the files to be listed in
1195         index.org.
1197 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1199         * org.el (org-fast-tag-selection): Add a way to display a
1200         description for a tag group. This is done by adding a string to
1201         either the startgroup or endgroup cell.
1203 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1205         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1206         (org-emacs-idle-seconds): Use `org-float-time' instead of
1207         `time-to-seconds'
1209 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1211         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1212         type.
1214         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1215         the value of ARG when doing local cycling.
1217 2009-10-17  John Wiegley  <johnw@newartisans.com>
1219         * org-clock.el (org-clock-resolve-clock): If keeping or
1220         subtracting time results in a clock out at a time in the past, and
1221         if the resolution occurred due to idleness or invoking `M-x
1222         org-resolve-clocks', remember that past moment in time.  On the
1223         next clock in, the user will be prompted to see if they want to
1224         back-date their new clock to then.
1225         (org-clock-resolve): Do not jump the user to the location of a
1226         dangling clock if the resolution is occuring due to an idle
1227         timeout.  In that case there is typically only one dangling clock,
1228         the active one, and there is no value gained by shuffling their
1229         windows around to show it to them.  Being prompted to resolve an
1230         idle clock should be as inobtrusive as possible.
1231         (org-resolve-clocks-if-idle): New function that resolves only the
1232         currently active clock if the user has exceeded the time returned
1233         by `org-user-idle-seconds', based on the value of
1234         `org-clock-idle-time'.
1235         (org-clock-in): If, after resolving clocks,
1236         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1238         * org-clock.el (org-clock-resolve-clock): New function that
1239         resolves a clock to a specific time, closing or resuming as need
1240         be, and possibly even starting a new clock.
1241         (org-clock-resolve): New function used by `org-resolve-clocks'
1242         that sets up for the call to `org-clock-resolve-clock'.  It
1243         determines the time to resolve to based on a single-character
1244         selection from the user to either keep time, subtract away time or
1245         cancel the clock.
1246         (org-resolve-clocks): New user command which resolves dangling
1247         clocks -- that is, open but not active -- anywhere in the file
1248         list returned by `org-files-list'.
1249         (org-clock-in): Automatically resolve dangling clocks whenever a
1250         user clocks in.
1251         (org-clock-cancel): If the user cancels the solely clock in a
1252         LOGBOOK, remove the empty drawer.
1254         * org-clock.el (org-clock-idle-time): New user customizable option
1255         for detecting whether the user has left a clock idle.  Note: it is
1256         only used in this commit to test whether it's worthwhile to check
1257         OS X to get the Mac user's current idle time.  If the Emacs idle
1258         time is less than the value, the user hasn't been away long enough
1259         to be worth checking (a more expensive test than just getting
1260         Emacs idle time).
1261         (org-user-idle-seconds, org-mac-idle-seconds)
1262         (org-emacs-idle-seconds): This three functions, in conjunction
1263         with the user customization variable `org-clock-idle-time', return
1264         the number of seconds (as a floating point) that the user has been
1265         away from their Emacs (or, if running on OS X, their computer).
1267         * org-clock.el (org-find-open-clocks): New function that returns a
1268         list of all open clocks in the given FILE.  Note that each clock
1269         it returns is a cons cell of the format (MARKER . START-TIME).
1270         This "clock" value is used by several of the new clock module
1271         utility functions.
1272         (org-is-active-clock): New inline function which tests whether the
1273         given clock value is the same as the currently active clock.
1274         Returns non-nil if this is the case.
1275         (org-with-clock-position): New macro that evaluates FORMS with
1276         point in the buffer and at the position of the given clock.
1277         Changes to the current clock are global.
1278         (org-with-clock): New macro that evaluates FORMS with point in the
1279         buffer and at the position of the given clock.  However, changes
1280         to the current clock are local and have no effect on the user's
1281         active clock.  This allows, for example, far any clock to be
1282         cancelled without cancelling the active clock.
1283         (org-clock-clock-in): New inline function that switches the active
1284         clock to the given clock.  If either the argument RESUME, or the
1285         global `org-clock-in-resume', are non-nil, it will resume a clock
1286         that was previously left open.
1287         (org-clock-clock-out): New inline function that clocks out the
1288         given clock value without affecting the currently active clock.
1289         (org-clock-clock-cancel): New inline function that cancels the
1290         given clock value without affecting the currently active clock.
1292         * org-clock.el (org-clock-in): Before creating
1293         `org-clock-mode-line-timer', check to make sure an older timer is
1294         not currently running.
1295         (org-clock-out): Accept new third parameter `at-time', which
1296         permits a clock to be clocked out at a specific time.  Note that
1297         no attempt is made to verify that the clock out time is later than
1298         the clock in time.
1300         * org.el (org-files-list): New utility function for returning a
1301         list of all open org-mode buffers, plus all files used to build
1302         the agenda buffer.  Note that not all the files will necessarily
1303         be visited by a buffer at time of call.
1304         (org-entry-beginning-position): Like the function
1305         `line-beginning-position', this inline function returns the
1306         beginning position of the current heading/entry.
1307         (org-entry-end-position): Like the function `line-end-position',
1308         this inline function returns the end position of the current
1309         heading/entry.
1311 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1313         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1314         a header line.
1316 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1318         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1320 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1322         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1323         entries that have no tags.
1324         (org-agenda-search-view): New customize group.
1325         (org-agenda-search-view-search-words-only): New option.
1326         (org-search-view): Implement substring search.
1328 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1330         * org.el (org-outline-level): Add doc string.
1332 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1334         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1335         variable.
1336         (org-inlinetask-export-handler): Only export inline task if the
1337         user option calls for it.
1339 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1341         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1342         END if present.
1344 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1346         * org-latex.el (org-export-latex-tables): Don't format in
1347         protected regions.
1349 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1351         * org-src.el (org-edit-src-code)
1352         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1353         macro editing.
1355         * org-agenda.el (org-prefix-category-max-length): New variable.
1356         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1357         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1359 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1361         * org-mobile.el (org-mobile-create-index-file): Improve the
1362         listing of tags and todo keywords.
1364         * org-latex.el (org-export-latex-format-image): New function.
1365         (org-export-latex-links): Use `org-export-latex-format-image'.
1367 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1369         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1370         (org-inlinetask-remove-terminator): New functions.
1371         (org-inlinetask-export-handler): Terminate the description list.
1373         * org-exp.el (org-export-select-backend-specific-text): Remove the
1374         region markers.
1376         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1377         tasks without content.
1379         * org-clock.el: Make sure the clock-in target position does not
1380         move to a different node by widening the buffer.
1382         * org-html.el (org-export-html-format-image): Wrap image into
1383         figure div only when there is a caption.
1385         * org-archive.el (org-archive-mark-done): Change default value to
1386         nil.
1388 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1390         * org.el (org-context): Call `bobp', not `eobp'.
1392         * org-clock.el (org-clock-cancel): Remove quotes from marker
1393         variables.
1395         * org.el (org-read-date-prefer-future): New allowed value `time'.
1396         (org-read-date-analyze): Shift day to tomorrow depending on time
1397         entered and value of `org-read-date-prefer-future'.
1399 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1401         * org.el (org-set-tags-to): New command.
1403         * org-mobile.el (org-mobile-action-alist): Add more options and
1404         update the docstring.
1405         (org-mobile-apply-flags): Parse for and use the data.
1407         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1408         the plist.
1410         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1411         keyword.
1413         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1415 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1417         * org-inlinetask.el (org-inlinetask-export): Option removed.
1418         (org-inlinetask-export-handler): Better export.
1420         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1421         (org-export-as-xoxo): Run the new hook.
1423         * org-html.el (org-export-html-final-hook): New hook.
1424         (org-export-as-html): Run the new hook.
1426         * org-docbook.el (org-export-docbook-final-hook): New hook.
1427         (org-export-as-docbook): Run the new hook.
1429         * org-ascii.el (org-export-ascii-final-hook): New hook.
1430         (org-export-as-ascii): Run the new hook.
1432         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1433         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1435         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1436         space character as the character before the ^/_.
1437         (org-export-latex-final-hook): New hook.
1438         (org-export-as-latex): Run `org-export-latex-final-hook'.
1440 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1442         * org-macs.el (org-if-unprotected-at): Fix docstring.
1444         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1445         text in the prefix (if category is a link).
1447         * org-latex.el (org-export-latex-preprocess): Deal properly with
1448         empty lines in verse environments.
1450         * org.el (org-format-latex-header): Inline fullpage.sty.
1452         * org-footnote.el (org-footnote-create-definition): Reveal context
1453         to add a new footnote definition.
1455         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1456         the index file.
1457         (org-mobile-files): New option.
1458         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1459         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1460         functions.
1461         (org-mobile-push): Start by creating the files lists.
1462         (org-mobile-copy-agenda-files): Move killing the buffer to after
1463         the save-excursion has exited.
1464         (org-mobile-write-checksums): Write checksums also for files in
1465         sub-directories.
1467         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1468         org-table-recalculate when cursor is in TBLFM line.
1470         * org-list.el (org-renumber-ordered-list): Fix cursor position
1471         when bullet length has changed.
1473 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1475         * org.el (org-format-latex): Mention `org-format-latex-options' in
1476         the docstring.
1478 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1480         * org.el (org-agenda-get): New function.
1482         * org-agenda.el (org-agenda-post-command-hook): No longer move
1483         point away from end of line.
1484         (org-agenda-add-entry-text, org-agenda-collect-markers)
1485         (org-finalize-agenda, org-agenda-mark-clocking-task)
1486         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1487         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1488         (org-agenda-compare-effort, org-agenda-filter-apply)
1489         (org-agenda-later, org-agenda-change-time-span)
1490         (org-agenda-post-command-hook, org-agenda-show-priority)
1491         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1492         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1493         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1494         (org-agenda-open-link, org-agenda-copy-local-variable)
1495         (org-agenda-switch-to, org-agenda-check-no-diary)
1496         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1497         (org-agenda-add-note, org-agenda-change-all-lines)
1498         (org-agenda-priority, org-agenda-set-tags)
1499         (org-agenda-set-property, org-agenda-set-effort)
1500         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1501         (org-agenda-show-new-time, org-agenda-date-prompt)
1502         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1503         (org-agenda-clock-in, org-agenda-bulk-mark)
1504         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1505         `org-get-at-bol'.
1507         * org-colview.el (org-columns-display-here)
1508         (org-columns-edit-allowed, org-agenda-columns): Use
1509         `org-get-at-bol'.
1511 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1513         * org.el (org-special-ctrl-a/e): Improve documentation and
1514         customize type.
1515         (org-end-of-line): Don't jump to after the ellipsis.
1516         (org-mode-map): Bind <home> and <end> as well.
1518 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1520         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1521         space after #+ as comments.
1522         (org-open-at-point): Run `org-follow-link-hook' always.
1524         * org-latex.el (org-export-latex-emph-format): Use better commands
1525         to insert special characters in verbatim snippets.
1527 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1529         * org-faces.el (org-copy-face): New function.  Use it to create
1530         various faces formerly created by using `copy-face'.
1532         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1533         window dedicated.
1534         (org-agenda-quit): Kill the frame containing the agenda window if
1535         that frame was created for the agenda.
1537 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1539         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1540         stamp in the agenda.
1542 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1544         * org-mobile.el (org-mobile-create-index-file): Add the list of
1545         TODO keywords, and the list of drawers to the index file.
1547         * org-agenda.el (org-prepare-agenda): Reset
1548         `org-drawers-for-agenda'.
1549         (org-prepare-agenda): Uniquify list of drawers.
1551         * org.el (org-complex-heading-regexp-format): New variable.
1552         (org-set-regexps-and-options): Define
1553         `org-complex-heading-regexp-format'.
1554         (org-drawers-for-agenda): New variable.
1555         (org-map-entries): Bind `org-drawers-for-agenda'.
1556         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1558         * org-remember.el (org-go-to-remember-target)
1559         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1561 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1563         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1564         problem.
1566         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1567         the capture file, and make it non-configurable.
1569         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1570         always with `invisible-ok'.
1571         (org-store-link): No error when there is nothing to link to in the
1572         agenda.
1574         * org-list.el (org-update-checkbox-count): Insert changed cookie
1575         before the old, to avoid problems with invisibility at the end of
1576         the line.
1577         (org-update-checkbox-count): Insert changed cookie before the old,
1578         to avoid problems with invisibility at the end of the line.
1580         * org.el (org-sort-entries-or-items): Include the final newline.
1581         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1582         lines for fontification.
1583         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1584         (org-prepare-dblock): Store the current indentation of the BEGIN
1585         line.
1586         (org-update-dblock): Apply the indentation of the begin line to
1587         the rest of the block.
1588         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1589         (org-startup-folded): New allowed value `showeverything'.
1590         (org-startup-options): Add STARTUP keyword `showeverything'.
1591         (org-set-startup-visibility): Respect value `showeverything' in
1592         org-startup-folded.
1594 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1596         * org.el (org-closest-date): Fix issue with past preference.
1598         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1600         * org-archive.el (org-archive-set-tag)
1601         (org-archive-subtree-default): New commands.
1603         * org-mobile.el (org-mobile-create-index-file): Fix link to
1604         capture file.
1605         (org-mobile-copy-agenda-files): Create the capture file if it does
1606         not exist.
1608         * org-clock.el (org-clock-clocktable-default-properties): New
1609         option.
1610         (org-clock-report): Use
1611         `org-clock-clocktable-default-properties'.
1613 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1615         * org.el (org-iswitchb-completing-read): Fix typo.
1617         * org-crypt.el: New file.
1619         * org.el: Add an entry for org-crypt.
1621 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1623         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1624         consistency.
1625         (org-batch-store-agenda-views): New function.
1626         (org-mobile-force-id-on-agenda-items): Mention variable.
1627         (org-agenda-title-append): Define variable.
1628         (org-write-agenda): New export to Org files.
1629         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1630         (org-agenda): Allow to keep the restricted file list if a special
1631         variable is bound to t.
1632         (org-agenda): Define a special agenda view for working on flagged
1633         entries.
1634         (org-agenda-get-restriction-and-command): List the new agenda
1635         view.
1636         (org-agenda-show-the-flagging-note): New command.
1637         (org-agenda-mode-map): New key `?' for looking at the flagging
1638         note.
1640         * org.el (org-autoload): Autoload org-mobile.el.
1641         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1643         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1645 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1647         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1648         statements.
1649         (org-table-get-remote-range): Match indented #+TBLNAME
1650         statements.
1652         * org.el (org-convert-to-odd-levels)
1653         (org-convert-to-oddeven-levels): Work also correctly if the file
1654         is in outline-mode.
1656 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1658         * org.el (org-store-link): When in agenda buffer, link to
1659         referenced entry.
1660         (org-add-planning-info): Remove spaces at eol.
1662         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1663         property.
1665 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1667         * org-latex.el (org-export-latex-first-lines): Fix problem with
1668         LaTeX export of first line and selected subtree.
1670         * org.el (org-shifttab): Interpret arg differently when using only
1671         odd levels.
1673 2009-09-09  Bastien Guerry  <bzg@altern.org>
1675         * org.el (org-check-agenda-file): Use a more explicit message
1677 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1679         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1680         normal lines.
1682 2009-09-08  Bastien Guerry  <bzg@altern.org>
1684         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1685         prompt in the temporary window.
1687         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1688         prefix for marked entries in the agenda view.
1690 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1692         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1693         a way that prevents any trailing character from being displayed.
1695 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1697         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1698         menu.
1700         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1701         slow regexp match.
1703 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1705         * org-latex.el (org-export-latex-preprocess): Do not protect in
1706         the LaTeX header.
1708         * org-src.el (org-edit-src-save): Save window setup while saving.
1709         (org-edit-src-code): Use new buffer name construction scheme.
1711 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1713         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1714         variable.
1715         (org-agenda-entry-text-cleanup-hook): New hook.
1716         (org-agenda-get-some-entry-text): Remove matches of
1717         `org-agenda-entry-text-exclude-regexps' and run the hook
1718         `org-agenda-entry-text-cleanup-hook'.
1720         * org.el (org-offer-links-in-entry): New argument ZERO to
1721         implement a link with index zero.
1722         (org-cycle-show-empty-lines): Not keep empty line under header
1723         hidden.
1724         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1725         to nil for special completion.
1726         (org-store-link): Don't error before the first heading.
1728         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1729         `org-offer-links-in-entry'.
1731 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1733         * org-agenda.el (org-agenda-quit): Provide the window argument for
1734         `window-dedicated-p', Emacs 22 needs it.
1735         (org-format-agenda-item): If the category is a link, arrange for
1736         invisible text to replaced with spaces.
1737         (org-compile-prefix-format): Add the extra space.
1738         (org-prefix-category-length): New variable.
1740         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1741         references from TOC lines.
1743         * org.el (org-selected-window): New variable.
1745         * org-table.el (org-table-edit-formulas): Remember the selected
1746         window.
1747         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1748         that was originally selected.
1750         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1751         expansion of a macro for more macro definitions.
1753         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1754         invisibility overlay starts on the newline.
1756 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1758         * org-protocol.el (org-protocol-store-link)
1759         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1761         * org-compat.el (org-float-time): New function.
1763         * org.el (org-clock-update-time-maybe)
1764         (org-sort-entries-or-items, org-do-sort)
1765         (org-evaluate-time-range, org-time-string-to-seconds)
1766         (org-closed-in-range): Use `org-float-time'.
1768         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1769         (org-timer-seconds):  Use `org-float-time'.
1771         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1772         (org-clock-sum, org-dblock-write:clocktable)
1773         (org-clocktable-steps):  Use `org-float-time'.
1775         * org-agenda.el (org-agenda-last-marker-time)
1776         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1778         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1779         function.
1781         * org-exp.el (org-get-file-contents): Only protect lines that
1782         really need it.
1784         * org-html.el (require): Require cl for compilation.
1786         * org.el:  Avoid using `default-major-mode'.
1788         * org-plot.el (require): Require CL only at compile time.
1790         * org-exp.el (require): Require CL only at compile time.
1792         * org-agenda.el (org-agenda-quit): When the agenda window is
1793         dedicated, remove other windows before exiting, so that the frame
1794         really will be killed.
1796         * org-exp.el (org-export-handle-include-files): Reset START and
1797         END for each loop cycle.
1799 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1801         * org.el (org-eval-in-calendar): Use
1802         `org-select-frame-set-input-focus'.
1804         * org-compat.el (org-select-frame-set-input-focus): New function.
1806         * org.el (org-update-statistics-cookies): New function.
1807         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1809 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1811         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1812         after the local variables are set.
1814         * org-latex.el (org-export-latex-protect-amp): New function.
1815         (org-export-latex-links): Protect link ampersands in tables.
1817         * org-exp.el (org-export-select-backend-specific-text): Match in
1818         two steps, to avoid regexp problems.
1820         * org.el (org-offer-links-in-entry): Improve working with many and
1821         duplicate links.
1823         * org-agenda.el (org-agenda-show-1): Make more consistent with
1824         normal cycling.
1825         (org-agenda-cycle-show): Make more consistent with normal cycling.
1827         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1828         website.
1830 2009-08-30  Bastien Guerry  <bzg@altern.org>
1832         * org-latex.el (org-export-latex-first-lines): Bugfix.
1834 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1836         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1837         about new effort.
1839         * org.el (org-set-effort): New function.
1840         (org-mode-map): New key for effort setting command.
1842         * org-agenda.el (org-agenda): Keep window setup when calling
1843         agenda from within agenda window.
1844         (org-agenda-mode-map): New keys for effort setting commands.
1845         (org-agenda-menu): Add effort setting commands to menu.
1846         (org-agenda-set-property, org-agenda-set-effort): New functions.
1848         * org-latex.el (org-export-latex-tables): Fix
1849         `org-table-last-alignment' and `org-table-last-column-widths' if
1850         the first column has been removed.
1852 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1854         * org.el (org-remove-timestamp-with-keyword): Only remove in
1855         entry, not in subtree.
1857         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1858         emacs lisp.
1860         * org.el (org-open-at-point): When on headline, offer all strings
1861         in entry.
1863         * org-remember.el (org-remember-templates): Documentation fix.
1865         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1866         `org-get-last-sibling' instead of the outline versions of these
1867         functions.
1868         (org-get-last-sibling): New function.
1869         (org-refile): Use `org-get-next-sibling' instead of the outline
1870         version of this function.
1871         (org-clean-visibility-after-subtree-move): Use
1872         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1873         outline versions of these functions.
1875 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1877         * org-agenda.el (org-prepare-agenda): When creating a new frame
1878         for the agenda, make the window dedicated.
1880         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1882         * org-table.el (org-table-align): Change the order of reinsertion
1883         and deletion, to avoid problems with overlays following the table.
1885         * org.el (org-parse-time-string): Better error message.
1886         (org-show-subtree): Use org-end-of-subtree.
1888         * org-macs.el (org-goto-line): New defsubst.
1890         * org.el (org-open-file, org-change-tag-in-region)
1891         (org-fast-tag-show-exit): Don't use `goto-line'.
1893         * org-table.el (org-table-align, org-table-insert-column)
1894         (org-table-delete-column, org-table-move-column)
1895         (org-table-sort-lines, org-table-copy-region)
1896         (org-table-paste-rectangle, org-table-wrap-region)
1897         (org-table-get-specials, org-table-rotate-recalc-marks)
1898         (org-table-get-range, org-table-recalculate)
1899         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1900         (org-table-show-reference, org-table-highlight-rectangle): Don't
1901         use `goto-line'.
1903         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1904         (org-edit-src-exit): Don't use `goto-line'.
1906         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1908         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1909         Don't use `goto-line'.
1911         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1913         * org-colview.el (org-columns, org-columns-redo)
1914         (org-agenda-columns): Don't use `goto-line'.
1916         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1917         use `goto-line'.
1919         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1920         (org-agenda-add-entry-text-maxlines): Improve docstring.
1921         (org-agenda-start-with-entry-text-mode): New option.
1922         (org-agenda-entry-text-maxlines): New option.
1923         (org-agenda-entry-text-mode): New variable.
1924         (org-agenda-mode): Set initial value of
1925         `org-agenda-entry-text-mode'.
1926         (org-agenda-mode-map): Add the `E' key.
1927         (org-agenda-menu): Add entry text mode to the menu.
1928         (org-agenda-get-some-entry-text): Fix line count bug.
1929         (org-finalize-agenda): Apply entry text mode if appropriate.
1930         (org-agenda-entry-text-show-here): New function.
1931         (org-agenda-entry-text-show): New function.
1932         (org-agenda-entry-text-hide): New function.
1933         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1934         key menu.
1935         (org-agenda-entry-text-mode): New command.
1936         (org-agenda-set-mode-name): Add entry text mode to the mode line
1937         string.
1938         (org-agenda-undo, org-agenda-get-restriction-and-command)
1939         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1940         `goto-line'.
1942 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1944         * org-clock.el (org-notify): Bugfix.
1946 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1948         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1949         check for after-string.
1951         * org-gnus.el (org-gnus-store-link): Simplify.
1953         * org.el (org-latex-regexps): Don't add extra empty lines for
1954         display formulas.
1956 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1958         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1959         (org-agenda-add-entry-text): Use
1960         `org-agenda-get-some-entry-text'.
1962         * org.el (org-cycle-separator-lines): Update docstring.
1963         (org-cycle-show-empty-lines): Handle negative values for
1964         `org-cycle-show-empty-lines'.
1966         * org-exp.el (org-export-protect-sub-super): New function.
1967         (org-export-normalize-links): Protect the url of plain links from
1968         supscript and superscript processing.
1970         * org-remember.el (org-remember-escaped-%): New function.
1971         (org-remember-apply-template): Use `org-remember-escaped-%' to
1972         detect escaped % signs.
1974 2009-08-23  Bastien Guerry  <bzg@altern.org>
1976         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1977         sound when showing the notification.
1979         * org-clock.el (org-notify): New function.
1980         (org-clock-notify-once-if-expired): Use `org-notify'.
1982         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1983         and `gnus-article-mode' separately.
1984         (gnus-summary-article-header): Fix the declare-function.
1986 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1988         * org-exp.el (org-export-format-source-code-or-example): Translate
1989         language.
1991         * org-src.el (org-src-lang-modes): New variable
1992         (org-edit-src-code): Translate language.
1994         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1995         the new structure of the `org-export-latex-listings-langs'
1996         variable.
1998         * org-latex.el (org-export-latex-listings-langs): Change structure
1999         of the variable from plist to alist.
2001 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2003         * org.el (org-in-commented-line): New function.
2005 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2007         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2009 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2011         * org.el (org-flag-drawer): More useful error.
2013 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2015         * org-remember.el (org-remember-apply-template): Use
2016         org-icompleting-read.
2018         * org-publish.el (org-publish): Use org-icompleting-read.
2020         * org-colview.el (org-columns-edit-value, org-columns-new)
2021         (org-insert-columns-dblock): Use org-icompleting-read.
2023         * org-colview-xemacs.el (org-columns-edit-value)
2024         (org-columns-new, org-insert-columns-dblock): Use
2025         org-icompleting-read.
2027         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2028         org-icompleting-read.
2030 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2032         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2033         (org-version): Return the version text.
2034         (org-org-menu): Add a menu entry for the new bug reporter.
2035         (org-submit-bug-report): New command.
2037         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2038         docstring.
2040         * org.el (org-emphasis-regexp-components): Add "`" to set of
2041         pre-emphasis characters.
2043         * org-latex.el (org-export-latex-classes): Always include the soul
2044         package.
2045         (org-export-latex-emphasis-alist): Use \st for strikethough.
2047         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2048         `indent-code-rigidly' to indent.
2050         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2051         properties only if MATCH really is a string.
2053 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2055         * org-latex.el (org-export-latex-packages-alist): Fix
2056         customization type.
2058         * org.el (org-create-formula-image): Also use
2059         `org-export-latex-packages-alist'.
2061         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2062         (org-export-as-html): Format footnotes correctly.
2064 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2066         * org.el (org-fast-tag-selection): Avoid text properties on tags
2067         in the alist.
2069         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2070         text properties on the match element.
2072 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2074         * org.el (org-set-regexps-and-options): Make sure the list of done
2075         keywords is not invalid.
2077         * org-exp.el (org-export-interpolate-newlines): New function.
2079 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2081         * org.el (org-format-latex): Avoid nested overlays.
2083         * org-latex.el (org-export-latex-listings-langs): Add a few more
2084         languages.
2086         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2087         ignore newlines and space before the first macro argument.
2089         * org-latex.el (org-export-latex-tables): Remove save-excursion
2090         around `org-table-align'.
2092 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2094         * org.el (org-export-html-special-string-regexps): Definition
2095         moved into org.el
2097         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2098         in macro calls.
2100 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2102         * org-latex.el (org-export-latex-listings)
2103         (org-export-latex-listings-langs): New options.
2105         * org-exp.el (org-export-format-source-code-or-example): Use
2106         listing package if requested by the user.
2108 2009-08-08  Bastien Guerry  <bzg@altern.org>
2110         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2111         command before actually switching to a buffer.
2113 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2115         * org-exp.el (org-get-file-contents): Only quote org lines when
2116         the markup is src or example.
2118         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2119         New option
2120         (org-agenda-get-day-entries): Remember deadline results and pass
2121         them on into the function getting the scheduling information.
2122         (org-agenda-get-scheduled): Accept deadline results as parameters
2123         and maybe skip some entries.
2124         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2126         * org.el (org-insert-heading): When respecting content, do not
2127         convert current line to headline.
2129         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2130         cheeeeeck the hd marker
2131         (org-clock-in): Also set the hd marker.
2132         (org-clock-out): Also set the hd marker.
2133         (org-clock-cancel): Reset markers.
2135         * org.el (org-clock-hd-marker): New marker.
2137         * org-faces.el (org-agenda-clocking): New face.
2139         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2140         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2142         * org.el (org-modules): Add org-track.el.
2144         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2145         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2146         `org-agenda-bulk-marked-p'.
2147         (org-agenda-bulk-toggle): New command.
2149 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2151         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2152         not just the body.
2154         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2155         messages.
2157 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2159         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2160         before gnuplot can read it.
2162 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2164         * org-latex.el (org-export-latex-first-lines): Fix bug with
2165         finding the end of the first lines.
2167         * org.el (org-create-formula-image): Remove the -E option for
2168         dvipng.
2170         * org-exp.el (org-default-export-plist): Respect #+BIND.
2171         (org-export-confirm-letbind): New function.
2173         * org.el (org-paste-subtree): Test the kill ring entry if it is
2174         going to be used.
2175         (org-copy-subtree): Use `org-forward-same-level'.
2176         (org-forward-same-level): Respect the `invisibe-ok' arg for
2177         back-to-heading.
2179 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2181         * org.el (org-table-map-tables): Make sure cursor is back at table
2182         beginning after funcall.
2184         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2185         handled before children, and do not error if an entry is not
2186         found, probably because it hase been remove when the parent was
2187         archived or refiled.
2189         * org.el (org-ido-completing-read): Accept straight lists for
2190         completion as well as alists.
2192         * org-html.el (org-export-as-html): Fix parenthesis error in
2193         footnore code.
2195         * org-timer.el (org-timer-cancel-timers): Renamed from
2196         `org-timer-cancel-timers'.
2198         * org.el (org-cycle-internal-local): Fix problem with finding next
2199         invisible line.
2201 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2203         * org-list.el (org-list-send-list): Call
2204         `org-list-goto-true-beginning' instead of
2205         `org-list-find-true-beginning', which does not exist.
2207         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2208         (org-timer-set-timer): Do not assign to heading.
2210         * org-id.el (org-id-open): Quote function name.
2212         * org-macs.el (org-unmodified): Turn off recording undo
2213         information while running inside the macro.
2215         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2216         variable.
2217         (org-indent-mode): Remember and restore value of
2218         org-hide-leading-stars before `org-indent-mode'.
2220         * org-table.el (org-table-export): Also work in file-less
2221         buffers.
2223         * org.el (org-startup-indented): New option.
2224         (org-startup-options): Add new options indent and noindent.
2225         (org-unfontify-region): Remove line-prefix and wrap-prefix
2226         properties.
2227         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2228         hooks.
2229         (org-promote, org-demote): Run the new hooks.
2231         * org-table.el (org-table-align): Replace leading \n as well.
2233         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2234         and `line-wrap' text properties.
2236         * org-compat.el (org-kill-new): New function.
2238         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2239         `line-wrap' text properties.
2241         * org-indent.el: New file.
2243 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2245         * org.el (org-provide-todo-statistics): Tweak docstring.
2247         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2249 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2251         * org-exp.el (org-export-as-org): Insert the "-source" string
2252         before the extension.
2254         * org.el (org-read-date): Make sure the calendar is in the current
2255         frame.
2256         (org-set-emph-re): Remove the ? from the post-match.
2257         (org-emphasis-regexp-components): Add backslash to the
2258         postmatch class.
2259         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2260         optional so that also lines at the end of the buffers will still
2261         be matched as headlines.
2263         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2264         Variable made obsolete.
2265         (org-table-relative-ref-may-cross-hline): New option.
2266         (org-table-find-row-type): Honow the new option
2267         `org-table-relative-ref-may-cross-hline'.
2269 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2271         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2272         on single field if no active region.
2274 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2276         * org-latex.el (org-export-latex-make-header): Only insert title
2277         if one is defined.
2279         * org.el (org-make-options-regexp): Allow empty values.
2281         * org-html.el (org-export-as-html): Move hrule detection to after
2282         plain list handling.
2284 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2286         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2288 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2290         * org.el (org-cycle-internal-local): Improved version of finding
2291         next visible line.
2292         (org-cycle-hide-drawers): Only hide drawers if this is really
2293         necessary.
2294         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2295         org-version of this function in Org-mode.  We use advice to
2296         implement this change, so that future changes to this function in
2297         outline.el wil be handled properly.
2298         (org-forward-same-level, org-backward-same-level): New commands.
2300 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2302         * org.el (org-remove-empty-overlays-at)
2303         (org-clean-visibility-after-subtree-move): New functons.
2304         (org-move-subtree-down): Simplify cleanup of display.
2306 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2308         * org-mac-message.el (org-mac-message-get-links): Improve
2309         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2310         "s".  Fix the return value.
2311         (org-mac-message-insert-flagged): Simplify.
2313         * org.el (org-refile-get-location): Tamper with refile history o
2314         that history contains compete matches instead of the entered
2315         string.
2317 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2319         * org.el (org-store-link): Never store a link to an inline task.
2321         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2323         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2324         inline tasks when positioning footnotes.
2326         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2327         function.
2329         * org.el (org-refile): Remove the END line when archiving an
2330         inline task that does have an END line.
2332         * org-archive.el (org-archive-subtree): Remove the END line when
2333         archiving an inline task that does have an END line.
2335         * org-macs.el (org-with-limited-levels): New macro.
2336         (org-get-limited-outline-regexp): New function.
2338         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2339         that did not enumerate first line.
2340         (org-export-mark-radio-links): Skip matches in links.
2342 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2344         * org.el (org-activate-plain-links): Make single-match.
2345         (org-adapt-indentation): Fix docstring.
2347         * org-macs.el (org-unmodified): Turn of modification hooks while
2348         running this macro.
2350 2009-08-02  Bastien Guerry  <bzg@altern.org>
2352         * org.el (org-adapt-indentation): Slightly improve the docstring.
2353         (org-occur): Sends an error when the user inputs an empty string.
2354         (org-priority): Bugfix: the tag alignement should happen within
2355         save-excursion.
2357 2009-07-31  Bastien Guerry  <bzg@altern.org>
2359         * org.el (org-make-link-regexps): Don't exclude parentheses from
2360         `org-plain-link-re'
2361         (org-cycle-internal-local): When locally cycling, switch directly
2362         from CHILDREN to FOLDED if there is no subtree
2363         (org-cycle): Update the docstring to document the new behavior of
2364         `org-cycle-internal-local'.
2366 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2368         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2369         an abbreviated format for days.
2371 2009-07-27  Bastien Guerry  <bzg@altern.org>
2373         * org-protocol.el (org-protocol-default-template-key): New
2374         option.
2376         * org.el (org-refile): Bugfix: save-excursion before reading the
2377         refile target, otherwise cursor moves might confuse `org-refile'.
2379         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2380         footnote reference before the footnote itself.
2382         * org.el (org-toggle-heading): Bugfix: correctly convert list
2383         items before the first headline.
2385         * org-html.el (org-export-html-footnote-format): New option for
2386         formatting the footnote reference.
2387         (org-export-as-html): Use the new option.
2389         * org.el (org-provide-todo-statistics): Allow a list of TODO
2390         keywords to compute statistics against headlines containing a
2391         keyword from this list.
2392         (org-update-parent-todo-statistics): Possibly use the new allowed
2393         value of `org-provide-todo-statistics'.
2395 2009-07-26  Bastien Guerry  <bzg@altern.org>
2397         * org-timer.el: Add autoload cookie.
2399         * org.el (org-occur-link-in-agenda-files): New function.
2401         * org-timer.el (org-timer-last-timer): New variable.
2403         * org-agenda.el (org-agenda-mode-map): New key for
2404         org-timer-set-timer called from the agenda.
2406         * org.el (org-mode-map): New key for org-timer-set-timer.
2408         * org-timer.el (org-timer-reset-timers)
2409         (org-timer-show-remaining-time, org-timer-set-timer): New
2410         functions.
2412         * org-clock.el (org-show-notification): Update the docstring.
2414         * org.el (org-provide-todo-statistics): Allow new value
2415         'all-headlines for this option, which includes entries with no
2416         TODO keywords in the todo statistics.
2417         (org-update-parent-todo-statistics): Possibly use the new
2418         'all-headline value from `org-provide-todo-statistics'.
2420 2009-07-25  Bastien Guerry  <bzg@altern.org>
2422         * org-clock.el (org-dblock-write:clocktable): Add a new option
2423         :timestamp which allows display of timestamps in clock reports.
2425         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2426         list to a subtree, preserving the structure of the list.
2427         (org-set-emph-re): Make the last element optional in the regexp.
2428         This regexp now matches an emphasized string at the end of a line.
2430         * org-list.el (org-list-goto-true-beginning)
2431         (org-list-make-subtree, org-list-make-subtrees): New functions.
2433         * org.el (org-eval-in-calendar): Select the right frame.
2434         (org-save-frame-excursion): Remove this macro.
2436 2009-07-24  Bastien Guerry  <bzg@altern.org>
2438         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2439         trying to find the beginning of a list.
2441         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2442         When present, tell org-get-file-contents not to protect org-like
2443         lines.
2445         * org-id.el (org-id-uuid-program): New option to set the name of
2446         the uuidgen program.
2447         (org-id-method): Use `org-id-uuid-program'.
2448         (org-id-new): Use `org-id-uuid-program'.
2450 2009-07-23  Bastien Guerry  <bzg@altern.org>
2452         * org-exp.el (org-export-number-lines): Allow whitespace in code
2453         references.  Allow the -r switch to remove the references in the
2454         source code even when the lines are not numbered: the labels can
2455         be explicit enough.
2457         * org.el (org-fontify-whole-heading-line): New option.
2458         (org-set-font-lock-defaults): Use the new option.
2460         * org-clock.el (org-show-notification-handler): New option.
2461         (org-show-notification): Use the new option.
2463 2009-07-21  Bastien Guerry  <bzg@altern.org>
2465         * org.el (org-eval-in-calendar): Fix a bug about calendar
2466         navigation when `calendar-setup' value is 'calendar-only.
2468 2009-07-19  Bastien Guerry  <bzg@altern.org>
2470         * org.el (orgstruct++-mode): Fix typo in docstring.
2471         (org-insert-link): Clean up: (or (...)) => (...)
2472         (org-insert-link): Use TAB for stored links completion.
2474 2009-07-18  Bastien Guerry  <bzg@altern.org>
2476         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2477         building the list of targets.
2479         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2480         option.
2481         (org-remember-handler): Use the new option.
2483 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2485         * org.el (org-tags-sort-function): New option for sorting tags.
2486         (org-set-tags): Use the new option to sort tags.
2488         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2489         premature deletion of the data when using org-plot in a script.
2491 2009-07-17  Bastien Guerry  <bzg@altern.org>
2493         * org-clock.el (org-clock-in-prepare-hook): New hook.
2494         (org-clock-in): Use this new hook.
2496 2009-07-16  Bastien Guerry  <bzg@altern.org>
2498         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2499         'reversed for this option to the "true line boundary first"
2500         behavior.
2501         (org-tags-match-list-sublevels): Document the 'indented value for
2502         this variable.
2504         * org-latex.el (org-export-latex-first-lines): Fix problem with
2505         publishing the region.
2507         * org-exp.el (org-export-format-source-code-or-example): Fix
2508         bad line numbering when exporting examples in HTML.
2510         * org-colview.el (org-format-time-period): Formats a time in
2511         fractional days as days, hours, mins, seconds.
2512         (org-columns-display-here): Add special handling for SINCE and
2513         SINCE_IA to format for display.
2515 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2517         * org.el (org-tags-sort-function): Add custom declaration for tags
2518         sorting function.
2519         (org-set-tags): Sort tags if org-tags-sort-function is set
2521 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2523         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2525         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2527         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2528         option.
2530 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2532         * org-publish.el (org-publish-remove-all-timestamps): New function.
2533         (org-publish-all): Remove all timestamp files if `org-publish-all'
2534         is called with a prefix argument.
2536         * org-list.el (org-indent-item): Fix typo.
2537         (org-item-indent-positions): Normalize ordered bullet.
2539         * org-html.el (org-export-html-home/up-format): New option.
2540         (org-export-as-html): Insert the up and HOME links.
2542 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2544         * org-html.el (org-export-as-html): Insert the title into the
2545         option plist.
2546         (org-export-html-insert-plist-item): New function.
2547         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2549         * org-macs.el (org-set-local): Make a local variable, do not make
2550         the variable buffer-local!
2552         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2554         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2556         * org-docbook.el (org-export-as-docbook): Call
2557         `org-install-letbind'.
2559         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2561         * org-exp.el (org-infile-export-plist): Read BIND lines.
2562         (org-install-letbind): New function.
2563         (org-export-as-org, org-export-preprocess-string): Call
2564         `org-install-letbind'.
2566         * org-src.el (org-edit-src-exit): Untabify the example before
2567         returning to Org.
2569         * org-list.el (org-list-demote-modify-bullet): New option.
2570         (org-first-list-item-p): Save point.
2571         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2572         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2573         (org-item-indent-positions): Return bullet types along with
2574         indentation.
2576 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2578         * org.el (org-show-entry): Hide drawers.
2580 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2582         * org-footnote.el (org-footnote-auto-adjust): New option.
2583         (org-footnote-auto-adjust-maybe): New function.
2584         (org-footnote-new, org-footnote-delete): Call
2585         `org-footnote-auto-adjust-maybe'.
2587         * org.el (org-startup-options): Add new footnote-related
2588         keywords.
2590         * org-publish.el (org-publish-timestamp-filename): Additional
2591         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2592         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2593         TRUE-PUB-DIR.  Pass them through to
2594         `org-publish-timestamp-filename'.
2595         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2596         PUB-FUNC, which are included in the hash.
2597         (org-publish-file): Delay timestamp test until the publishing
2598         function is known.
2600 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2602         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2603         setting the deadline.
2605         * org.el (org-read-date-final-answer): New variable.
2606         (org-read-date): Store the final answer string, including the date
2607         from the calendar, for reuse by agenda bulk commands.
2609         * org-publish.el (org-publish-attachment): Fix publishing of
2610         attachments.
2612         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2613         quotation makrs in parenthesis.
2614         (org-remove-initial-hash): New function.
2615         (org-export-latex-preprocess): Fix bug with infinite loop if
2616         environment is not properly closed.
2618         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2619         when indented.
2621         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2622         highlight also when indented.
2624 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2626         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2627         (org-footnote-action): Offer renumbering.
2629         * org.el (org-cycle): Honor the `integrate' value of
2630         org-cycle-include-plain-lists'.
2632         * org-list.el (org-cycle-include-plain-lists): New allowed value
2633         `internal'.  Improve the docstring.
2635         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2636         regexp to work better with LaTeX commands.
2638 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2640         * org-feed.el (org-feed-update): fix problem with non-existing
2641         buffer.
2642         (org-feed-skip-http-headers): New function.
2643         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2644         (org-feed-get-feed): Fix command line arguments for curl.
2646 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2648         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2649         and eps extensions.
2651 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2653         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2654         loaded.
2656         * org.el (org-map-entries): No longer force
2657         `org-tags-match-list-sublevels' to t during a todo-only tags
2658         search.
2660 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2662         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2663         environment.
2664         (org-export-latex-subcontent): Handle user-defined environment.
2666         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2667         the View dispatcher.
2669         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2670         `make-overlay'.
2672         * org-latex.el (org-export-as-pdf): Protect match data during call
2673         to shell-quote-argument.
2675         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2676         (org-agenda-view-mode-dispatch): New function.
2678 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2680         * org-agenda.el (org-agenda-mode): Reset list of marks.
2681         (org-agenda-mode-map): Define new keys for refile and bulk action.
2682         (org-agenda-menu): Add menu itesm for refile and bulk action.
2683         (org-agenda-refile): New function.
2684         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2685         (org-agenda-marked-entries): New variable.
2686         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2687         (org-agenda-remove-all-bulk-action-marks)
2688         (org-agenda-bulk-action): New functions/commands.
2690 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2692         * org-exp.el (org-get-file-contents): Protect org-like lines in
2693         included files.
2694         (org-export-format-source-code-or-example): Remove newlines.
2696         * org-latex.el (org-export-latex-links): Check for no-description
2697         marking.
2699         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2700         argument separator back to comma.
2701         (org-export-normalize-links): Mark links without description.
2703 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2705         * org-exp.el (org-infile-export-plist): Fix bug in macro
2706         processing.
2708         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2709         out.
2710         (org-agenda-highlight-todo): Fix bug with highlighting.
2712 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2714         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2715         new alignment strings.
2717         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2718         command list.
2719         (org-table-align): Check for forced align type.
2721         * org.el (org-self-insert-command): Add yas/expand to command
2722         list.
2724         * org-clock.el (org-clock-in-hook): New hook.
2725         (org-clock-in): Run `org-clock-in-hook.
2726         (org-clock-out-hook): New hook.
2727         (org-clock-out): Run `org-clock-out-hook.
2728         (org-clock-cancel-hook): New hook.
2729         (org-clock-cancel): Run `org-clock-cancel-hook.
2730         (org-clock-goto-hook): New hook.
2731         (org-clock-goto): Run `org-clock-goto-hook.
2733 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2735         * org.el (org-store-link): Better default description for link to
2736         Org-mode headline.
2738         * org-exp.el (org-export-generic): Autoload the generic exporter
2739         function.
2740         (org-export): Implement the `g' key for the generic exporter.
2742 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2744         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2745         and for zbacktab'.
2747         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2749         * org-exp.el (org-infile-export-plist): Get macros also from
2750         #+SETUPFILE.
2752 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2754         * org-colview.el (org-columns-capture-view): Protect vertical bars
2755         in column values.
2756         (org-columns-capture-view): Exclude comment and archived trees.
2758         * org-colview-xemacs.el (org-columns-capture-view): Protect
2759         vertical bars in column values.
2760         (org-columns-capture-view): Exclude comment and archived trees.
2762         * org.el (org-quote-vert): New function.
2764         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2766         * org-exp.el (org-export-format-source-code-or-example): Use
2767         `org-export-latex-verbatim-wrap'.
2769         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2770         time stamps.
2772         * org-html.el (org-export-table-row-tags): New option.
2773         (org-format-org-table-html): Rename `nlines' to `nline', use new
2774         option.
2777 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2779         * org-exp-blocks.el: Declare functions and variables.
2781         * org-remember.el (org-remember-templates): Allow the headline
2782         element to be a function.
2783         (org-remember-apply-template): If the headline is a function, call
2784         it to get the true function.
2786         * org-clock.el (org-clock-menu): New function.
2787         (org-clock-update-mode-line): Update help string.
2788         (org-clock-modify-effort-estimate): New function.
2789         (org-clock-mark-default-task): New function.
2791         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2792         minutes as input.
2793         (org-org-menu): Add new clocking stuff.
2794         (org-clock-is-active): New function.
2796 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2798         * org.el (org-open-non-existing-files): Improve docstring.
2800 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2802         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2803         option.
2804         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2806         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2808         * org-list.el (org-get-checkbox-statistics-face): Use the new
2809         faces.
2811         * org-faces.el (org-checkbox-statistics-todo)
2812         (org-checkbox-statistics-done): New faces.
2814 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2816         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2817         (org-edit-src-exit): Better cursor positioning when returning from
2818         editing.
2820         * org-latex.el (org-export-latex-use-verb): New variable.
2821         (org-export-latex-emph-format): Prefer \texttt over \verb when
2822         org-export-latex-use-verb is set.
2824 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2826         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2827         at normal indentation.
2829         * org-html.el (org-export-html-close-lists-maybe): Also look at
2830         normal indentation.
2832         * org-remember.el (org-remember-handler): Abort remember if the
2833         buffer is empty.
2835         * org-src.el (org-edit-src-content-indentation): New option.
2836         (org-edit-src-exit): Apply extra indentation.
2838         * org-exp.el (org-export-format-source-code-or-example): Run
2839         `org-src-mode-hook'.
2841         * org-src.el (org-src-mode-hook): New variable.
2842         (org-edit-src-code): Run `org-src-mode-hook'.
2844 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2846         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2848         * org-src.el (org-edit-src-get-indentation): New function.
2849         (org-edit-src-code): Base indentation on the begin line.
2851 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2853         * org-gnus.el (org-gnus-store-link): Require message.el in
2854         org-gnus-store-link.
2856 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2858         * org-src.el: New file, split out of org.el
2860         * org-docbook.el (org-export-as-docbook): Better indentation
2861         treatment.
2863         * org-macs.el (org-replace-match-keep-properties): New function.
2865         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2866         preprocessing of center and quote and verse blocks.
2868         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2869         (org-export-as-docbook): Close lists when original indentation
2870         mandates it.
2872         * org-html.el (org-export-html-close-lists-maybe): New function.
2873         (org-export-as-html): Close lists when original indentation
2874         mandates it.
2876         * org-list.el (org-list-end): Respect the stored "original"
2877         indentation when determining the end of the list.
2879         * org-exp.el (org-export-replace-src-segments-and-examples):
2880         Remember indentation correctly.
2882 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2884         * org-clock.el (org-clock-update-mode-line): Apply face
2885         org-mode-line-clock.
2887         * org-faces.el (org-mode-line-clock): New face.
2889 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2891         * org-gnus.el (org-gnus-store-link): Fix bug where
2892         `org-gnus-store-link' used wrong subject when called in an article
2893         buffer.  Patch provided by fengli AT gmail DOT com.
2895 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2897         * org-exp.el (org-export-format-source-code-or-example): Remember
2898         the original indentation of source code snippets and examples.
2900         * org-latex.el (org-export-as-latex): Relocate the table of
2901         contents.
2903         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2905         * org-agenda.el (org-run-agenda-series): Scope global options also
2906         when creating the agenda buffer.
2908 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2910         * org.el (org-adapt-indentation): Improve documentation.
2911         (org-insert-property-drawer): Respect org-adapt-indentation when
2912         inserting the drawer.
2913         (org-remove-flyspell-overlays-in): New function.
2914         (org-do-emphasis-faces, org-activate-plain-links)
2915         (org-activate-code, org-fontify-meta-lines-and-blocks)
2916         (org-activate-angle-links, org-activate-footnote-links)
2917         (org-activate-bracket-links, org-activate-dates)
2918         (org-activate-target-links, org-activate-tags): Remove flyspell
2919         overlays.
2921 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2923         * org.el (org-edit-src-save): New function.
2925         * org-clock.el (org-clock-out-switch-to-state): New option.
2926         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2928         * org-compat.el (org-compatible-face): Improve macro.
2930         * org.el (org-global-properties-fixed): Add default for
2931         CLOCK_MODELINE_TOTAL.
2933         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2934         andd tend.
2935         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2936         org-clock-sum.
2937         (org-clock-get-sum-start): New function.
2939         * org.el (org-startup-options): New keywords blockhide and
2940         blockshow.
2941         (org-mode): Add new invisibility spec.
2942         (org-set-startup-visibility): Hide block on startup if so
2943         desired.
2944         (org-hide-block-startup): New option.
2945         (org-block-regexp): New constant.
2946         (org-hide-block-overlays): New variable.
2947         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2948         (org-show-block-all, org-hide-block-toggle-maybe)
2949         (org-hide-block-toggle): New functions.
2950         (org-edit-src-exit): Do not quote lines starting with # and no +
2951         behind it.
2952         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2953         entry.
2955 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2957         * org.el (org-buffer-property-keys): Add Effort property for
2958         completion.
2960 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2962         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2963         when retrieving total clocked time in the subtree.
2965         * org.el (org-quoting-blocks): New variable.
2967 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2969         * org-table.el (org-table-store-formulas)
2970         (org-table-get-stored-formulas, org-table-fix-formulas)
2971         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2972         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2974         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2975         indented #+TBLFM line.
2977         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2978         indented #+TBLFM line.
2980         * org-colview.el (org-dblock-write:columnview): Allow indented
2981         #+TBLFM line.
2983         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2984         indented #+TBLFM line.
2986         * org-clock.el (org-dblock-write:clocktable): Allow indented
2987         #+TBLFM line.
2989 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2991         * org-exp.el (org-export-format-source-code-or-example): Make
2992         editing indented blocks work correctly.
2994         * org.el (org-edit-src-nindent): New variable.
2995         (org-edit-src-code, org-edit-fixed-width-region)
2996         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2997         editing indented blocks work correctly.
2999 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3001         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3002         indented blocks.
3003         (org-export-format-source-code-or-example): Fix indentation of
3004         blocks.
3005         (org-export-remove-indentation): New function.
3006         (org-export-select-backend-specific-text): Allow backend-specific
3007         code to be indented.
3008         (org-export-mark-blockquote-verse-center): Allow markers to be
3009         indented.
3011         * org.el (org-fontify-meta-lines): New function.
3012         (org-set-font-lock-defaults): Call the new fontification
3013         function.
3015         * org-faces.el (org-meta-line): New face
3016         (org-block):  New face.
3018 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3020         * org.el (org-treat-insert-todo-heading-as-state-change)
3021         (org-treat-S-cursor-todo-selection-as-state-change): New
3022         variables.
3023         (org-insert-todo-heading): Honor
3024         `org-treat-insert-todo-heading-as-state-change'.
3025         (org-shiftright, org-shiftleft): Honor
3026         `org-treat-S-cursor-todo-selection-as-state-change'.
3027         (org-inhibit-logging): New variable.
3029 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3031         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3032         range for marker position checking.
3034         * org-latex.el (org-export-latex-first-lines): Fix bug when
3035         exporting a region.
3037 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3039         * org-exp.el (org-export-push-to-kill-ring): Protect using
3040         x-set-selection, because that does not always work.
3042         * org-agenda.el (org-agenda-list): Apply the new face
3043         `org-agenda-date-today'.
3045         * org-faces.el (org-agenda-date-today): New face.
3047 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3049         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3050         creating appointments.
3052         * org-latex.el (org-export-latex-low-levels): Fix customization
3053         type.
3055         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3056         priority commands.
3058         * org-agenda.el (org-agenda-priority): Disable priority commands.
3060         * org.el (org-enable-priority-commands): New option.
3062         * org-colview-xemacs.el (org-columns-compute)
3063         (org-columns-number-to-string): Fix problems with empty fields.
3065         * org-colview.el (org-columns-compute)
3066         (org-columns-number-to-string): Fix problems with empty fields.
3068         * org-exp.el (org-export-push-to-kill-ring): New function.
3069         (org-export-copy-to-kill-ring): New option.
3071         * org-latex.el (org-export-as-latex): Call
3072         `org-export-push-to-kill-ring'.
3074         * org-html.el (org-export-as-html): Call
3075         `org-export-push-to-kill-ring'.
3077         * org-docbook.el (org-export-as-docbook): Call
3078         `org-export-push-to-kill-ring'.
3080         * org-ascii.el (org-export-as-ascii): Call
3081         `org-export-push-to-kill-ring'.
3083         * org-exp.el (org-export-show-temporary-export-buffer): New
3084         option.
3086         * org-latex.el (org-export-as-latex): Use
3087         `org-export-show-temporary-export-buffer'.
3089         * org-html.el (org-export-as-html): Use
3090         `org-export-show-temporary-export-buffer'.
3092         * org-docbook.el (org-export-as-docbook): Use
3093         `org-export-show-temporary-export-buffer'.
3095         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3096         `org-export-show-temporary-export-buffer'.
3098         * org-exp.el (org-export-show-temporary-export-buffer): New
3099         option.
3100         (org-export-push-to-kill-ring): New function.
3102         * org-colview.el (org-columns-compile-map): New variable.
3103         (org-columns-new, org-columns-compute)
3104         (org-columns-number-to-string, org-columns-uncompile-format)
3105         (org-columns-compile-format): Implement new operators.
3107 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3109         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3111         * org-html.el (org-export-html-xml-declaration): New option.
3112         (org-export-as-html): Use `org-export-html-xml-declaration'.
3114         * org-list.el (org-update-checkbox-count): Make property
3115         dependent.
3117         * org.el (org-hierarchical-todo-statistics): New option.
3118         (org-update-parent-todo-statistics): Modified to handle recursive
3119         statistics.
3121 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3123         * org-publish.el (org-publish): Make this function behave
3124         correctly in interactive use when called with a prefix argument.
3126         * org.el (org-todo-statistics-hook): New hook.
3127         (org-update-parent-todo-statistics): Use new hook.
3128         (org-log-into-drawer): New function.
3129         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3130         determine if we should be logging into a drawer.
3131         (org-log-into-drawer): Update docstring.
3132         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3134         * org-list.el (org-checkbox-statistics-hook): New hook.
3135         (org-update-checkbox-count-maybe): Use new hook.
3137         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3138         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3139         to kill ring.
3141 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3143         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3144         a line.
3146 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3148         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3149         better bufer-generating mechanism.
3150         (org-edit-src-find-buffer): New function.
3152         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3153         archive tag, this is already done by `org-agenda-skip'.
3154         data while constructing lost of tags.
3156 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3158         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3159         as argument separator in macros.
3161         * org-html.el (org-export-as-html): Add xml declaration.
3163 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3165         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3166         (org-sort-entries-or-items): Run the new hook.
3167         (org-after-refile-insert-hook): New hook.
3168         (org-refile): Run `org-after-refile-insert-hook'.
3170         * org-agenda.el (org-agenda-get-progress): Never take time of day
3171         from headline when displaying progress.
3173         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3174         (org-export-as-latex): Force the correct regexp in the
3175         preprocessor buffer.
3176         (org-export-latex-set-initial-vars): Set
3177         `org-export-latex-complex-heading-re'.
3179         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3180         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3182 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3184         * org-latex.el (org-export-latex-tables-centered): New option.
3185         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3187         * org-exp.el (org-export-as-org): New command.
3188         (org-export-as-org): New command.
3190         * org-publish.el (org-publish-org-to-org): New function.
3192 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3194         * org.el (org-yank): Just call `org-yank-generic'.
3195         (org-yank-generic): New function, containing the formaer
3196         functionality of `org-yank'.
3198         * org-latex.el (org-export-latex-not-done-keywords)
3199         (org-export-latex-done-keywords): New variables.
3200         (org-export-latex-todo-keyword-markup): New option.
3201         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3202         (org-export-latex-keywords-maybe): Apply the TODO markup.
3204 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3206         * org-exp.el (org-infile-export-plist): Add more default macros.
3207         (org-export-preprocess-apply-macros): Process macro arguments.
3209 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3211         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3212         `unblocked'.
3213         (org-print-icalendar-entries): Respect the new value of
3214         `org-icalendar-include-todo'.
3216         * org.el (org-link-try-special-completion)
3217         (org-file-complete-link): New functions.
3218         (org-insert-link): Add special completion support for some link
3219         types.
3221         * org-bbdb.el (org-bbdb-complete-link): New function.
3223 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3225         * org-list.el (org-update-checkbox-count): Allow recursive
3226         statistics.
3227         (org-hierarchical-checkbox-statistics): New option.
3229         * org.el (org-cycle): Remove erraneous space character.
3231         * org-icalendar.el (org-icalendar-timezone): Initialize from
3232         environment.
3234         * org-html.el (org-format-org-table-html): Specify the scope.
3235         (org-format-table-table-html): Specify the scope.
3236         (org-export-table-header-tags): Prepare the scope parameter.
3238 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3240         * org-html.el
3241         (org-export-html-table-use-header-tags-for-first-column): New
3242         option.
3244         * org.el (org-autoload): Fix autoloading of ascii export
3245         functions.
3246         (org-modules): Add org-special-blocks.
3248 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3250         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3251         (org-ical-timezone): New option.
3253         * org-exp.el (org-export-get-coderef-format): Use the description
3254         is present.
3256         * org.el (org-sort-entries-or-items): Improve docstring, and make
3257         better implementation for time sorting.
3259 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3261         * org.el (org-edit-src-persistent-message): New option.
3262         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3263         option.
3265         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3266         patch.
3268         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3269         separate buffer instead of indirect buffer to edit source code.
3270         (org-edit-src-exit): Make this function work with the new setup.
3272         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3273         are properly fontified before shown in the selection menu.
3275         * org.el (org-fontify-like-in-org-mode): New function.
3277         * org-latex.el (org-export-latex-links): Use the property list to
3278         retrieve the default image attributes.
3280         * org-exp.el (org-export-plist-vars): Add a new option.
3282 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3284         * org-exp.el (org-export, org-export-visible): Support ASCII
3285         export to buffer
3286         (org-export-normalize-links): Do not protect the description if it
3287         is explicitly given.
3289         * org-ascii.el (org-export-as-ascii-to-buffer)
3290         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3291         commands.
3292         (org-export-as-ascii): Add all the same parameters that are also
3293         supported by the other export functions.
3295         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3296         org-checklist.el.
3297         (org-reset-checkbox-state-subtree): Call
3298         `org-reset-checkbox-state-subtree'.
3300         * org-remember.el (org-select-remember-template): For the
3301         selection of a valid template.
3303         * org-latex.el (org-export-region-as-latex): Supply the
3304         force-no-subtree argument.
3305         (org-export-as-latex): Provide better limits when exporting the
3306         first line.  When exporting to string, we still want the first
3307         lines.
3308         (org-export-latex-first-lines): New argument END, to force the end
3309         of the region.
3310         (org-export-region-as-latex): Use the property list.
3311         (org-export-as-latex):
3313         * org-colview-xemacs.el (org-columns-remove-overlays)
3314         (org-columns): Fix call to `local-variable-p'.
3316 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3318         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3319         (org-export-as-html): Run the new hook.
3321         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3322         (org-export-latex-preprocess): Run the new hook.
3324         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3325         (org-export-preprocess-string): Run the new hook.
3327 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3329         * org-macs.el (org-check-external-command): New defsubst.
3331         * org.el (org-mode-map): New key for reload.
3332         (org-format-latex): Better error message when external programs
3333         are not available.
3335         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3337         * org.el (org-sort-entries-or-items): Explicit sorting function
3338         for priorities, needed for XEmacs compatibility.
3340         * org-remember.el (org-remember-apply-template): Improve auto-save
3341         behavior.
3343 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3345         * org-latex.el (org-export-latex-preprocess): Also protect
3346         environments ending in a star.
3348         * org-list.el (org-at-item-p): Fix regular expression.
3350 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3352         * org.el (org-end-of-subtree): Improve speed.
3354         * org-agenda.el (org-agenda-get-timestamps)
3355         (org-agenda-get-progress, org-agenda-get-deadlines)
3356         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3357         in particular, wait as long as possible to collect the tags.
3358         (org-stuck-projects): Improve docstring.
3360         * org.el (org-store-link): No errors when getting custom id before
3361         first headline.
3362         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3364 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3366         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3368         * org-protocol.el: Remove dependency on url.el.
3369         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3370         dependency on url.el.
3372         * org-latex.el (org-export-as-pdf): Use
3373         `org-latex-to-pdf-process'.
3375 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3377         * org-latex.el (org-latex-to-pdf-process): New option.
3379         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3380         New option.
3381         (org-agenda-get-timestamps): Honor
3382         `org-agenda-skip-additional-timestamps-same-entry'.
3384         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3385         (org-clock-goto): Find recent task only if
3386         `org-clock-goto-may-find-recent-task' allows it.
3388         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3389         drawers, and drawers that are missing the :END: line.
3391 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3393         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3394         clock is running.
3396 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3398         * org.el (org-update-parent-todo-statistics): Check for
3399         STATISTICS_FROM property.
3401         * org-list.el (org-update-checkbox-count): Check for
3402         STATISTICS_FROM property.
3404         * org.el (org-tab-first-hook)
3405         (org-tab-after-check-for-table-hook)
3406         (org-tab-after-check-for-cycling-hook): New hooks.
3407         (org-cycle-internal-global, org-cycle-internal-local): New
3408         functions, split out from `org-cycle'.
3409         (org-cycle): Call the new hooks.
3411 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3413         * org-exp.el (org-export-preprocess-string): Reset the list of
3414         preferred targets for each run of the preprocessor.
3416         * org.el (org-refile-target-verify-function): Improve
3417         documentation.
3418         (org-get-refile-targets): Respect point being moved by the
3419         verification function.
3421         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3422         option.
3423         (org-export-latex-keywords): Use new option.
3425         * org.el (org-rear-nonsticky-at): New defsubst.
3426         (org-activate-plain-links, org-activate-angle-links)
3427         (org-activate-footnote-links, org-activate-bracket-links)
3428         (org-activate-dates, org-activate-target-links)
3429         (org-activate-tags): Place the rear-nonsticky properties at the
3430         correct location.
3432 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3434         * org-protocol.el (server-edit): Declare `server-edit'.
3435         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3436         functions.
3437         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3439         * org.el (org-default-properties): New default properteis for
3440         completion.
3442         * org-exp.el (org-export-add-subtree-options): Add new properties
3443         for subtree export.
3445         * org-docbook.el (org-export-docbook-keywords-markup)
3446         (org-export-docbook-timestamp-markup): New options.
3447         (org-export-docbook-protect-tags): New function.
3449 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3451         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3452         org-refile-target-verify-function for the duration of the command.
3454         * org.el (org-link-to-org-use-id): New possible value
3455         `create-if-interactive-and-no-custom-id'.
3456         (org-store-link): Use custom IDs.
3457         (org-link-search): Find custom ID properties from #link.
3458         (org-default-properties): Add CUSTOM_ID for property completion.
3459         (org-refile-target-verify-function): New option.
3460         (org-goto): Turn off org-refile-target-verify-function
3461         for the duration of the command.
3463 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3465         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3467         * org-exp.el (org-export-preferred-target-alist): New variable.
3468         (org-export-define-heading-targets): Find the new CUSTOM_ID
3469         property.
3470         (org-export-target-internal-links): Target the custom ids when
3471         possible.
3473         * org-latex.el (org-export-latex-preprocess): Better regexp for
3474         matching latex macros with arguments.
3476 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3478         * org-remember.el (org-remember-handler): Allow filing to non-org
3479         files.
3481 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3483         * org-feed.el (org-feed-alist): New keyword options.
3484         (org-feed-update): Use the new options.
3485         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3486         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3487         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3488         functions.
3490         * org-table.el (org-table-fix-formulas): Do not change references
3491         to remote tables.
3492         (org-table-get-remote-range): Convert standard coordinates to RC
3493         format.
3495         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3497 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3499         * org-compat.el (org-sha1-string): Function removed.
3501         * org.el (org-refile-allow-creating-parent-nodes): New option.
3502         (org-refile-get-location): New argument NEW-NODES.
3503         (org-refile): Call `org-refile-get-location' with the new
3504         argument.
3505         (org-refile-get-location): Arrange for adding a new child.
3506         (org-refile-new-child): New function.
3508         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3509         an additional span element.
3511         * org-clock.el: Fix a number of docstrings.
3512         (org-clock-find-position): New argument
3513         FIND-UNCLOSED to make the function find an unclosed clock in the
3514         entry.
3515         (org-clock-in): Call `org-clock-find-position' with the new
3516         argument if we might be resuming a clock.
3518 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3520         * org-latex.el (org-export-latex-display-custom-times): New variable.
3521         (org-export-latex-timestamp-markup): New option.
3522         (org-export-latex-set-initial-vars): Remember the local value of
3523         `org-display-custom-times'.
3524         (org-export-latex-content): Process time stamps.
3525         (org-export-latex-time-stamps): New function.
3527         * org-macs.el (org-maybe-intangible): Add intangible property
3528         again to invisible text.
3530 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3532         * org-exp.el (org-default-export-plist): Handle undefined
3533         variables.
3535 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3537         * org.el (org-sort-entries-or-items): Match TODO keywrds
3538         case-sensitively, when sorting.
3539         (org-priority): Do not match TODO keywords with wrong case.
3541 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3543         * org-feed.el (org-feed-update): Bind the variable
3544         `new-formatted'.
3546         * org-html.el (org-export-as-html): Start paragraphs after literal
3547         examples.
3549         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3550         literal examples.
3552 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3554         * org.el (org-todo): Honor the NOBLOCKING property.
3556         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3557         NOBLOCKING property.
3559         * org.el (org-scan-tags): Fix bug in tag scanner
3561 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3563         * org.el (org-modules): Mark obsolete packages.
3565         * org-html.el: New file, split out from org-exp.el.
3567         * org-icalendar.el: New file, split out from org-exp.el.
3569         * org-xoxo.el: New file, split out from org-exp.el.
3571         * org-ascii.el: New file, split out from org-exp.el.
3573 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3575         * org-compat.el (org-find-library-name): New function.
3577         * org.el (org-pre-cycle-hook): New hook.
3578         (org-cycle): Call the new hook in appropriate places.
3579         (org-reload): Only reload files that have been loaded before.
3581 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3583         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3584         after todo keyword.
3585         (org-todo): When changing TODO state, do matching
3586         case-sensitively.
3587         (org-map-continue-from): New variable.
3588         (org-scan-tags): Respect values in `org-map-continue-from'.
3589         (org-reload): Make XEmacs compatible.
3591 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3593         * org-protocol.el (org-protocol-flatten-greedy): New function.
3594         (org-protocol-flatten): New function.
3596         * org.el (org-open-link-from-string): Pass reference buffer to
3597         `org-open-at-point'.
3598         (org-open-at-point): New optional argument `reference-buffer'.
3600 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3602         * org.el (org-scan-tags): Make tag scan find headline in first
3603         line, 2nd attempt.
3604         (org-get-refile-targets): Add the naked file name.
3605         (org-refile): Store as top-level entry when only file name was
3606         given.
3608         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3610         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3611         Renamed from org-block-todo-from-children-or-siblings, and
3612         enhanced to look for the parent's status as well.
3614         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3615         (org-agenda-get-progress): Add first notes line to log entry if so
3616         desired.
3618 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3620         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3621         (org-agenda-cleanup-fancy-diary): Call the new hook.
3623         * org-remember.el (org-remember-apply-template): Take the default
3624         for the annotation from the :annotation property.
3626         * org-mac-message.el (org-mac-message-get-link): Remove the
3627         quotes.
3628         (org-mac-message-get-link): Return the result.
3630 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3632         * org.el (org-refile-get-location): Add file name only if not
3633         already included in outline path.
3635         * org-faces.el (org-n-level-faces): Fix customization type from
3636         number to integer.
3638         * org-exp.el (org-export-headline-levels): Fix customization type
3639         from number to integer.
3641         * org-agenda.el (org-agenda-confirm-kill)
3642         (org-agenda-custom-commands-local-options)
3643         (org-timeline-show-empty-dates, org-agenda-ndays)
3644         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3645         customization type from number to integer.
3647 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3649         * org-protocol.el: Declare some functions.
3651         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3652         postion before inserting modified headline.
3654         * org-agenda.el (org-agenda-compare-effort): Honor
3655         `org-sort-agenda-noeffort-is-high'.
3656         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3657         (org-agenda-compare-effort): Implement the "?" operator for
3658         finding entries without effort setting.
3660         * org.el (org-extract-attributes-from-string): New function.
3662         * org-exp.el (org-export-splice-attributes): New function.
3664 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3666         * org-mouse.el: XEmacs compatibility fixes
3668         * org-docbook.el (org-export-as-docbook): Process footnotes like
3669         normal text.
3671         * org.el (org-modules): Add org-inlinetasks.el
3672         (org-cycle): Implement limiting level on cycling.
3673         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3674         buffer.
3676         * org-inlinetask.el: New file.
3678         * org.el (org-emphasis-regexp-components): Allow braces in
3679         emphasis pre and post match.
3681         * org-footnote.el (org-footnote-normalize): When only dorting, do
3682         not insert inline notes at the end.
3684         * org-docbook.el (org-id-find-id-file): Add function declaration.
3686         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3688         * org-docbook.el: New file.
3690 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3692         * org.el (org-reftex-citation): New command.
3694 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3696         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3697         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3698         sorting options.
3699         (org-entries-lessp): Apply the new sorting option.
3701         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3702         blocker code, when an older sibling has children.
3704         * org-mac-message.el (org-mac-message-get-link): Improve getting
3705         links from multiple selected messages.
3707 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3709         * org-remember.el (org-remember-finalize): Do not set buffer file
3710         name to nil.
3711         (org-remember-handler): Mark buffer as unmodified.
3712         (org-remember-handler): Delete backup file and show message about
3713         remaining backup files.
3714         (org-remember-auto-remove-backup-files): New option.
3716         * org.el (org-store-link): Use buffer name as link description in
3717         w3-mode buffers.
3718         (org-ido-switchb): Fix argument bug for completion.
3720         * org-remember.el (org-remember-apply-template): Set local
3721         variable `auto-save-visited-file-name' instead of global one.
3723 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3725         * org-feed.el: Re-write.
3727         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3728         (org-agenda-get-todos): Mark file tags as inherited.
3729         (org-agenda-list): Always search diary lines for a time.
3731 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3733         * org-feed.el (org-feed-assume-stable): New option.
3734         (org-feed-before-adding-hook): New hook.
3736         * org-exp.el (org-export-as-html): Close local lists depending on
3737         indentation, also when starting a table.
3739         * org-remember.el (org-remember-backup-directory)
3740         (org-remember-backup-name): New internal variable.
3742 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3744         * org-clock.el (org-clock-out-if-current): Make buffer detection
3745         work in indirect buffers as well.
3747         * org.el (org-emphasis-regexp-components): Add the exxclamation
3748         mark to the post-emphasis characters.
3750 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3752         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3753         (org-read-date): Run the new hook.
3755         * org-mac-message.el (org-mac-flagged-mail): New group.
3756         (org-mac-mail-account): New variable.
3757         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3758         commands.
3760         * org-remember.el (org-remember-backup-directory): New variable.
3761         (org-remember-apply-template): Write file to backup directory.
3763 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3765         * org-mouse.el (org-mouse-todo-menu): New function.
3766         (org-mouse-todo-keywords): Function removed.
3767         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3769         * org-table.el (org-table-beginning-of-field)
3770         (org-table-end-of-field): New commands
3771         (org-table-previous-field, org-table-beginning-of-field): Better
3772         error messages.
3773         (orgtbl-setup): Include `M-a' and `M-e'.
3775         * org.el (org-backward-sentence, org-forward-sentence): New
3776         commands.
3778         * org-colview.el (org-colview-initial-truncate-line-value): New
3779         variable.
3780         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3781         (org-columns): Remember the value of `truncate-lines'.
3783         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3784         New variable.
3785         (org-columns-remove-overlays): Restore the value of
3786         `truncate-lines'.
3787         (org-columns): Remember the value of `truncate-lines'.
3789         * org.el (org-columns-skip-arrchived-trees): New option.
3791         * org-agenda.el (org-agenda-export-html-style): Define color for
3792         org-agenda-done face.
3793         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3794         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3796         * org.el (org-scan-tags): Use the new face.
3798         * org-faces.el (org-agenda-done): New face.
3800         * org.el (org-scan-tags): Test the value org
3801         `org-tags-match-list-sublevels'.
3802         (org-tags-match-list-sublevels): New allowed value: indented.
3804         * org-export-latex.el (org-export-latex-make-header): Apply macros
3805         in header.
3807         * org-exp.el (org-export-apply-macros-in-string): New function.
3809         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3810         with the definition of a checked box.
3812         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3814         * org-export-latex.el (org-export-latex-low-levels): More options
3815         for how to process lower levels in LaTeX.
3816         (org-export-latex-subcontent): Better treatment for lists as a
3817         means of publishing lower levels.
3819 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3821         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3823         * org-faces.el (org-checkbox): New face.
3825         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3826         fragement images if there is an export file.
3828 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3830         * org-agenda.el (org-stuck-projects): Document that the subtree of
3831         projects that are not stuck will now be searched for stuck
3832         sub-projects.
3833         (org-agenda-skip-entry-when-regexp-matches)
3834         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3835         (org-agenda-list-stuck-projects): Use
3836         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3838         * org-export-latex.el (org-export-latex-preprocess): Improve
3839         export of verses.
3841         * org-exp.el (org-export-as-html): Implement centering as a div
3842         rather than a paragraph.  Do a better job with line-end in verse
3843         environments.
3845 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3847         * org.el (org-open-at-point): Fix tags searches by mouse click.
3849 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3851         * org-export-latex.el (org-export-latex-preprocess): Implement the
3852         centering markup.
3854         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3855         from `org-export-mark-blockquote-and-verse'.
3856         (org-export-as-html): Implement the centering markup.
3858         * org-export-latex.el (org-export-latex-tables): Fix vertical
3859         lines in tables.
3861 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3863         * org.el (org-read-date-history): New variable.
3864         (org-read-date): Use new history variable.
3865         (org-toggle-heading): Fix bug when used before first headline.
3866         (org-store-log-note): Remove drawer if empty while note is
3867         aborted.
3868         (org-remove-empty-drawer-at): New function.
3869         (org-check-after-date): New command.
3870         (org-sparse-tree): New sparse tree command "a".
3872         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3874 2009-03-14  Bastien Guerry  <bzg@altern.org>
3876         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3877         column and a space, not only a column.
3879 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3881         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3882         defaults for verbose emphasis.
3883         (org-export-latex-emph-format): New function.
3884         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3886         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3887         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3888         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3889         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3890         commands.
3892         * org.el (org-timestamp-change): Move end-time along with start
3893         time.
3895 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3897         * org-exp.el (org-export-target-internal-links)
3898         (org-export-as-html): Protect links specified as #name.
3900 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3902         * org.el (org-clone-subtree-with-time-shift): New command.
3904         * org-export-latex.el (org-export-latex-special-chars)
3905         (org-export-latex-treat-sub-super-char): Fix subscript export.
3907         * org-exp.el (org-create-multibrace-regexp): Do not add
3908         backslashes to the class.
3910 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3912         * org-colview.el (org-columns-map): Better functions for moving up
3913         and down a row, even if `truncate-line' is nil.
3915         * org.el (org-insert-todo-heading): Make sure the keyword is
3916         inserted at the correct position.
3918         * org-publish.el (org-publish-project-alist)
3919         (org-publish-projects, org-publish-org-index): Change default anme
3920         for the index of file names to "sitemap.org".
3922         * org-export-latex.el (org-export-latex-tables): Use
3923         `org-split-string', for Emacs 21 compatibility.
3925 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3927         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3929 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3931         * org-exp.el (org-export-page-description)
3932         (org-export-page-keywords): New variables.
3933         (org-export-plist-vars): Add entries for :keywords and
3934         :description.
3935         (org-infile-export-plist): Parse for new keywords.
3936         (org-get-current-options): Add new keywords
3937         (org-export-as-html): Publish description and keywords.
3939         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3940         option.
3941         (org-agenda-add-entry-text): Honor
3942         `org-agenda-add-entry-text-descriptive-links'.
3944         * org-export-latex.el (org-export-latex-preprocess): Make all
3945         external preprocess functions use a PARAMETER arg.
3947         * org-exp.el (org-export-preprocess-string)
3948         (org-export-select-backend-specific-text)
3949         (org-export-format-source-code-or-example)
3950         (org-format-org-table-html): Support docbook export.
3951         (org-export-preprocess-string): Make all external preprocess
3952         functions use a PARAMETER arg.
3954 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3956         * org-exp.el (org-export-html-style-include-scripts): New option.
3957         (org-export-plist-vars): Add new option
3958         `org-export-html-style-include-scripts'.
3959         (org-export-as-html): Honor new option
3960         `org-export-html-style-include-scripts'.
3961         (org-export-html-scripts, org-export-html-style-default): Fix
3962         xml issues with the Safari browser.
3964 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3966         * org-publish.el (org-publish-attachment): Only copy file when the
3967         directories differ.
3969 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3971         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3972         for clocktable steps.
3974         * org.el (org-additional-option-like-keywords): Add two more
3975         keywords.
3977 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3979         * org-exp.el (org-export-format-source-code-or-example): Mark
3980         temporary buffer unmodified, so that it will be killed even if
3981         mode like message mode has decided to assign a file name.
3983         * org.el (org-scan-tags): Improve tag inheritance.
3984         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3985         case-sensitive.
3986         (org-scan-tags): Use the internal tags list instead of creating it
3987         from scratch.
3988         (org-trust-scanner-tags, org-scanner-tags): New variables.
3989         (org-scan-tags): Set `org-scanner-tags'.
3990         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3991         (org-map-entries): Document the possible speedup using scanner
3992         tags.
3994 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3996         * org.el (org-add-planning-info): Fix bug with looking for keyword
3997         only at column 0.
3999         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4000         option for tags filter preset.
4001         (org-prepare-agenda): Store filter preset as a property on the
4002         filter variable.
4003         (org-finalize-agenda): Call the filter, if there is a preset.
4004         (org-agenda-filter-by-tag): Filter again after clearing the
4005         filter, when there still is a preset.
4006         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4007         Include the preset filter.
4008         (org-agenda-redo): Apply the filter again, also the preset filter.
4010         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4012         * org.el (org-uuidgen-p): New funtion.
4014         * org-agenda.el (org-agenda-fontify-priorities): New default value
4015         `cookies'.
4016         (org-agenda-fontify-priorities): Renamed from
4017         org-fontify-priorities.
4019         * org.el (org-set-font-lock-defaults): Call
4020         `org-font-lock-add-priority-faces'.
4021         (org-font-lock-add-priority-faces): New function.
4023         * org-faces.el: (org-set-tag-faces): New option.
4024         (org-priority-faces): New variable.
4026         * org-exp.el (org-export-as-html): Add a "content" div around the
4027         entire content of the body tag.
4028         (org-export-html-get-bibliography): New function.
4029         (org-export-html-validation-link): New variable.
4030         (org-export-as-html): Add validation link to exported page.
4032         * org.el (org-match-sparse-tree): Renamed from
4033         `org-tags-sparse-tree'.
4034         (org-tags-sparse-tree): New alias.
4036 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4038         * org.el (org-get-valid-level): Catch the case where the level
4039         change is nil.
4041         * org-clock.el (org-clock-find-position): Better indentation of
4042         new clock drawers.
4044 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4046         * org-agenda.el (org-agenda-quit): Delete window only when the
4047         frame-setup was not `current-window'.
4049         * org.el (org-tag-persistent-alist): New option.
4050         (org-startup-options): Add keyword `noptag'.
4051         (org-fast-todo-selection): Handle :newline correctly.
4052         (org-set-tags): Handle :newline correctly.
4053         (org-fast-tag-selection): Handle :newline correctly.
4055 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4057         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4058         outputting it.
4059         (org-export-ascii-push-links): Fix bug with pussing links into the
4060         export buffer.
4062 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4064         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4065         pasting at top level.
4067         * org-bbdb.el: Improve documentation.
4069 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4071         * org-list.el (org-insert-item): Only consider insert empty lines
4072         is `org-empty-line-terminates-plain-lists' is not nil.
4074         * org.el (org-blank-before-new-entry): Mention the dependence on
4075         `org-empty-line-terminates-plain-lists' in the docstring.
4077         * org-publish.el (org-publish-get-project-from-filename): New
4078         optional argument UP.  Only find the top project if UP is set.
4079         (org-publish-current-project): Find the top encloding project.
4081         * org-agenda.el (org-agenda-before-write-hook)
4082         (org-agenda-add-entry-text-maxlines): New options.
4083         (org-write-agenda): Run the new hook in the temporary buffer.
4084         (org-agenda-add-entry-text): New function.
4085         (org-write-agenda): Implement PDF export, using ps2pdf.
4087         * org.el (org-global-properties-fixed, org-global-properties):
4088         Improve documentation string.
4090         * org-exp.el (org-export-ascii-links-to-notes): New option.
4091         (org-export-as-ascii): Handle links better.
4092         (org-export-ascii-wrap, org-export-ascii-push-links): New
4093         functions.
4095 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4097         * org-agenda.el (org-agenda): Make prefix arg optional.
4098         (org-agenda-search-headline-for-time): New option.
4099         (org-format-agenda-item): Honor
4100         `org-agenda-search-headline-for-time'.
4102         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4103         characters.
4105         * org.el (org-self-insert-cluster-for-undo): New option.
4106         (org-self-insert-command): Cluster undo for 20 characters.
4107         (org-self-insert-command-undo-counter): New variable.
4109 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4111         * org-exp.el (org-export-as-html): Fix problem with closing colone
4112         example.
4114 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4116         * org-export-latex.el (org-export-as-latex)
4117         (org-export-latex-first-lines): Avoid modification flag when
4118         adding or removing text properties.
4119         (org-export-latex-fontify): Catch error when org-emph-alist has
4120         entries that are not defined for LaTeX export.
4122         * org.el (orgstruct++-mode): New function.
4123         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4124         (org-context-p): Allow detecting item context after the first line
4125         of an item.
4126         (orgstruct-make-binding): Detect if item-body context should be
4127         seen.
4128         (orgstruct-is-++): New variable.
4129         (org-add-planning-info): Catch the case when there is no planning
4130         info yet and the call does not want to add anything, only maybe
4131         tries to remove something.
4132         (org-special-ctrl-a/e): All value to be a cons cell with separate
4133         settings for `C-a. and `C-e'.
4134         (org-beginning-of-line, org-end-of-line): Honor separate values
4135         for `C-a' and `C-e'.
4137 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4139         * org.el (org-reload): New command.
4141 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4143         * org-exp.el (org-export-htm-get-tag-class-name)
4144         (org-export-htm-get-todo-kwd-class-name): New functions.
4145         (org-export-html-tag-class-prefix)
4146         (org-export-html-todo-kwd-class-prefix): New options.
4147         (org-export-as-html): Call
4148         `org-export-html-get-todo-kwd-class-name'.
4149         (org-html-level-start): Wrap tags into classes.
4150         (org-export-html-get-tag-class-name)
4151         (org-export-html-get-todo-kwd-class-name): New functions.
4153         * org-export-latex.el (org-export-latex-collect-header-macros):
4154         Remove fields that are used anyway.
4155         (org-export-latex-make-header): Insert the options earlier.
4157         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4158         matching.
4160         * org-list.el (org-indent-item): Allow point to be at the end of
4161         the region.
4163         * org.el (org-metaleft, org-metaright): Be more accurate about
4164         detecting a region where commands apply.
4166         * org-compat.el (org-cursor-to-region-beginning): New function.
4168         * org.el (org-priority): Also find invisible heading.
4170         * org-colview-xemacs.el (org-columns-edit-value): No special
4171         treatment for `org-todo' prefix.
4173         * org-colview.el (org-columns-edit-value): No special treatment
4174         for `org-todo' prefix.
4176         * org-remember.el (org-remember-apply-template): Use
4177         `org-completing-read-no-ido'.
4179         * org.el (org-completing-read-no-ido): New function.
4180         (org-make-tags-matcher, org-set-property): Use
4181         `org-completing-read-no-ido'.
4183         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4184         New option.
4185         (org-export-as-latex): Import in-buffer settings as TeX macros.
4186         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4187         (org-export-latex-collect-header-macros): New function.
4189         * org.el (org-refile-get-location): Turn off
4190         `partial-completion-mode'.
4192 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4194         * org.el (org-block-todo-from-checkboxes): Announce that
4195         checkboxes are the culprit.
4196         (org-block-todo-from-children-or-siblings): Call
4197         `org-up-heading-all instead' of `outline-up-heading'.
4199         * org-agenda.el (org-agenda-show-1): Renamed from
4200         `org-agenda-show'.
4201         (org-agenda-show): Re-install the old version for now.
4202         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4203         variable into the blokker hook, so that the checkbox checker can
4204         anounce that it caused the blocking.
4206         * org.el (org-track-ordered-property-with-tag): New option.
4207         (org-toggle-ordered-property): Honor
4208         `org-track-ordered-property-with-tag'.
4209         (org-tag-alist): Add newline options.
4210         (org-set-regexps-and-options): Separate option lines imply a
4211         newline.
4212         (org-set-regexps-and-options, org-assign-fast-keys)
4213         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4214         option.
4215         (org-indent-line-function): Make sure this works even if there is
4216         not `org-drawer-regexp' defined.  This can happen when
4217         orgstruct-mode is used in a non-org buffer.
4219         * org-list.el (org-checkbox-blocked-p): New function.
4220         (org-toggle-checkbox): Check for blocking.
4222         * org.el (org-modules): Add an entry for org-R.el.
4224         * org-agenda.el (org-agenda-todo-ignore-with-date)
4225         (org-agenda-todo-ignore-scheduled)
4226         (org-agenda-todo-ignore-deadlines): Mention the variable
4227         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4229         * org.el (org-get-wdays): Find the warning period also if it is in
4230         the wrong place.
4231         (org-ido-completing-read): Provide the correct arguments to
4232         ido-completing-read and bind `ido-enter-matching-directory' to
4233         nil.
4235 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4237         * org.el (org-olpath-completing-read): Never use ido for this
4238         one.
4240         * org-exp.el (org-export-normalize-links): Use new macro.
4242         * org-macs.el (org-if-unprotected-at): New macro.
4244         * org-agenda.el (org-agenda-show): Allow numerical prefix
4245         arguments to specify how much context should be shown.
4246         (org-agenda-cycle-show): New command, could be bound to SPC in
4247         org-agenda-mode-map.
4249         * org-exp.el (org-html-level-start): Space after section number.
4251 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4253         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4254         property, for sorting.
4255         (org-cmp-todo-state): Get the applicable TODO keywords directly
4256         from the buffer.
4257         (org-run-agenda-series, org-agenda-list, org-search-view)
4258         (org-todo-list, org-tags-view): Only fit agenda window when the
4259         whole series is done.
4261         * org.el (org-scan-tags): Add todo state as property, for sorting.
4263         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4264         `org-agenda-overriding-header' as an option.
4265         (org-agenda-list): Honor org-agenda-overriding-header'.
4267 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4269         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4270         after removing a checkbox.
4272         * org.el (org-show-entry): Make this work correctly also if it is
4273         the last entry in the file.
4274         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4275         falling back to normal, default command.
4276         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4277         item, call the checkbox toggler to get a box.
4279         * org-list.el (org-toggle-checkbox): Make double prefix set the
4280         checkbox to "[-]".
4281         (org-fix-bullet-type): Only replace bullet if it is changed.
4282         (org-renumber-ordered-list): Handle case when first item does not
4283         have a number.
4285         * org.el (org-add-log-setup): Fix positioning when
4286         `org-log-states-order-reversed' is nil.
4288         * org-clock.el (org-clock-in): Fix positioning when
4289         `org-log-states-order-reversed' is nil.
4290         (org-clock-find-position): Fix positioning when
4291         `org-log-states-order-reversed' is nil.
4293 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4295         * org-clock.el (org-clock-into-drawer): Take default from
4296         `org-log-into-drawer'.
4297         (org-clock-find-position): Look for the correct drawer.
4299         * org.el (org-log-into-drawer): Renamed from
4300         `org-log-state-notes-into-drawer'.
4301         (org-log-state-notes-into-drawer): New variable alias.
4302         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4303         CLOCK.
4304         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4306 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4308         * org-agenda.el (org-agenda): Fix docstring.
4310         * org.el ("org-plot"): Help loading org-plot.
4311         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4312         (org-metadown-hook, org-shiftmetaleft-hook)
4313         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4314         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4315         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4316         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4317         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4319         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4320         for selecting files with any (and even without) extension.
4322         * org.el (org-save-all-org-buffers): Also save id locations.
4323         (org-revert-all-org-buffers): Also load id locations.
4325 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4326         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4327         (org-log-state-notes-into-drawer): New option.
4328         (org-add-log-setup): Place the sate note marker into the drawer,
4329         create drawer when necessary.
4330         (org-refile-targets): Document special interpretation of LEVEL
4331         when odd-levels are used.
4333 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4335         * org.el (org-store-log-note): Fix note indentation when adding
4336         notes to end of list.
4338         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4339         class, so that each keyword can get special colors through CSS.
4341         * org-clock.el (org-clock-out): Add another nil for the previous
4342         state into the call to `org-add-log-setup'.
4344         * org.el (org-log-note-previous-state): New variable.
4345         (org-log-note-headings): New %S escape for old state.
4346         (org-todo): Call the note setup with the old state as an
4347         argument.
4348         (org-add-note): Add another nil for the previous state into the
4349         call to `org-add-log-setup'.
4350         (org-add-log-setup): New argument PREV-STATE.
4351         (org-add-log-note): Handle new %S escape.
4352         (org-store-log-note): Handle new %S escape.
4354 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4356         * org-clock.el (org-clock-find-position): Do not swallow an item
4357         less indented than the CLOCK line itself.
4358         (org-clock-in): Push markers to lin after the clock line.
4359         (org-clock-find-position): Handle values of
4360         `org-clock-into-drawer' smaller than 2.
4362         * org-exp.el (org-html-level-start): Add a CSS class to section
4363         numbers.
4364         (org-export-html-toplevel-hlevel): Better documentation of the
4365         influence of this variables on H levels and css classes in
4366         export.
4368 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4370         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4371         timestamp and nottimestamp to the chooe menu.
4373         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4374         (org-revert-all-org-buffers): New command.
4376 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4378         * org.el (org-return): Implement `org-return-follows-link' in the
4379         function org-return.  This is more robust than using the mouse
4380         map, I think.
4381         (org-set-regexps-and-options): Match more general #+TODO lines.
4382         (org-make-options-regexp): New optional argument EXTRA, for an
4383         extra regexp.
4384         (org-tab-follows-link): Mark as deprecated.
4386 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4388         * org-exp.el (org-export-preprocess-string): Remove clock lines
4389         earlier, so that they cannot cotribute to verbatim snippets.
4391 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4393         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4394         for finding drawers.
4395         (org-export-as-ascii, org-export-as-html): Count levels relative
4396         to the subtree header.
4397         (org-get-min-level): New optional argument OFFSET.
4398         (org-export): Make sure point is restored after popping up that
4399         window.
4401         * org.el (org-do-sort): Also take an inactive timestamp if no
4402         active one is found.
4404         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4405         deleting duplicates.
4407         * org-colview.el (org-columns-capture-view): Copy before
4408         deleting duplicates.
4410         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4411         text before first headline.
4413         * org.el (org-format-latex): Do not convert LaTeX fragments in
4414         protected examples.
4416 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4418         * org-exp.el (org-export-html-style-default): Use color values
4419         instead of names for XHTML validation.
4421         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4422         functions.
4423         (org-return-follows-link): Revert making this the default untile
4424         issues are resolved.
4426         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4427         nottimestamp.
4429 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4431         * org.el (org-mode): Make dependence stuff work more reliably.
4432         (org-update-parent-todo-statistics): Fix bug with updating
4433         statistics cookie.
4435         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4436         ~ as verbatim delimiters.
4438         * org-exp.el (org-export-html-format-image): New argument
4439         PAR-OPEN.
4440         (org-export-as-html): Pass par-open to
4441         `org-export-html-format-image'.
4443 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4445         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4446         (org-use-fast-todo-selection, org-tags-column): New default
4447         setting for variables, based on a poll what typical uses use.
4449         * org-agenda.el (org-agenda-sorting-strategy)
4450         (org-agenda-tags-column): New default setting for variables, based
4451         on a poll what typical uses use.
4453 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4455         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4456         blocked entries from setting the blocked tag.
4458         * org-exp.el (org-export-html-footnotes-section): Use a more
4459         consistent id for footnotes.
4461         * org-export-latex.el (org-export-latex-classes): Remove the
4462         a4paper option from the default styles.
4464 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4466         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4467         (org-block-todo-from-checkboxes): New function.
4468         (org-todo): Make tripple prefix arg circumvent blocking.
4470         * org-timer.el (org-timer): Provide the timer feature.
4472         * org.el (org-require-autoloaded-modules): Add a few more files to
4473         the list of autoloaded modules.
4475         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4477 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4479         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4480         drawers that are unprotected.
4481         (org-export-html-format-image): Make sure inlined LaTeX fragment
4482         images remain inlined.
4484         * org.el (org-toggle-ordered-property): New function.
4485         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4486         (org-org-menu): Add menu entries for TODO dependencies.
4488 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4490         * org.el (org-default-properties): Add ORDERED to the default
4491         properties, to get completion support for it.
4493         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4495         * org.el (org-update-parent-todo-statistics): Update more than one
4496         cookie.
4498         * org-agenda.el (org-agenda-get-todos): Start search from correct
4499         position.
4501         * org.el (org-fast-todo-selection): Make sure TODO selection does
4502         not change buffer position.
4504         * org-list.el (org-toggle-checkbox): Implement adding or removing
4505         checkboxes from line or region when called with a prefix
4506         argument.
4508         * org-rmail.el (org-rmail-store-link): Protect the call to
4509         `rmail-narrow-to-non-pruned-header'.
4511         * org-clock.el (org-clock-special-range): Fix week display in
4512         clock tables.
4514         * org-exp.el (org-get-current-options): Fix bug when in indirect
4515         buffer.
4517 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4519         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4520         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4521         (org-agenda-dim-blocked-tasks): New function.
4523         * org.el (org-enforce-todo-dependencies): New option.
4524         (org-block-todo-from-children-or-siblings): New function.
4526         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4528         * org.el (org-todo): Return correct state type even if the blocker
4529         throws an error.
4530         (org-modifier-cursor-error): Renamed from
4531         `org-shiftcursor-error'.
4532         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4533         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4535         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4536         to get real errors from the blocker hook.
4538         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4539         functions.
4540         (org-set-visibility-according-to-property): Turn off the setting
4541         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4542         property.
4544 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4546         * org.el (org-support-shift-select): New option.
4547         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4548         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4549         selection outside contexts.
4551         * org-list.el (org-at-item-bullet-p): New function.
4553         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4554         variables.
4556         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4557         variable.
4558         (org-insert-footnote-reference-near-definition): Remove
4559         unnecessary let form.
4561         * org-export-latex.el (org-export-latex-first-lines): Add
4562         OPT-PLIST parameter.
4563         (org-export-as-latex): Call `org-export-latex-first-lines' with
4564         opt-plits parameter.
4565         (org-export-latex-preprocess): Remove unnecessary variables.
4567         * org-exp.el (org-infile-export-plist)
4568         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4569         (org-export-remove-headline-metadata)
4570         (org-export-get-title-from-subtree, org-get-min-level)
4571         (org-html-do-expand): Remove innecessary let form.
4573         * org-colview-xemacs.el (org-columns-display-here): Remove
4574         unnecessary variables.
4576         * org-colview.el (org-columns-display-here): Remove unnecessary
4577         variables.
4579         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4580         variables.
4582         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4583         unnecessary variables.
4585         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4586         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4587         variables.
4589         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4590         (org-compact-display-after-subtree-move): Remove unnecessary
4591         variables.
4592         (org-edit-fixed-width-region): Remove unnecessary variables.
4593         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4594         (org-olpath-completing-read): Remove unnecessary variable.
4595         (org-auto-repeat-maybe): Remove unnecessary variable.
4596         (org-map-entries): Remove unnecessary variable.
4597         (org-buffer-property-keys, org-imenu-get-tree)
4598         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4600 -----------------------------------------------------------------
4602 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4603         * org-exp.el (org-export-remove-timestamps): Never remove
4604         timestamps from tables.
4606         * org-export-latex.el (org-export-latex-first-lines): Add more
4607         options to the preprocessing of the text before the first
4608         headline.
4610 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4612         * org-faces.el (org-clock-overlay): Make face compatible with
4613         XEmacs.
4615         * org.el (org-yank): Add property for delete-selection mode.
4617         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4619         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4620         variable.
4622         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4623         to `backward-char'.
4625         * org-exp.el (org-export-as-html): Remove the initial space from
4626         colon examples.
4628         * org.el (org-scan-tags): Call
4629         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4631         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4632         customization groups.
4633         (org-agenda-tags-todo-honor-ignore-options): New option.
4634         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4635         New function.
4636         (org-agenda-get-todos): Use
4637         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4639 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4641         * org-exp.el (org-export-format-source-code-or-example): Escape
4642         HTML characters also in examples that anre not treated with
4643         htmlize.  Also, just switch to EXAMPLE processing if we do not
4644         have a good version of htmlize.
4646         * org-rmail.el: Fix copyright notice.
4648         * org.el (org-activate-footnote-links): Improve footnote link
4649         highlighting.
4651         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4652         a footnote definition at the end of the file.
4654         * org-table.el (org-table-get-specials): Add an imagined hline at
4655         the end of the table.  This can be useful for references that want
4656         to go to the end of the table.  Also fix bug when computing last
4657         row constants, in tables that do not start right at the right
4658         margin.
4659         (org-table-eval-formula): Match and replace remove references.
4660         (org-table-formula-substitute-names): Make sure that names inside
4661         a "remote" call are left alone, the will be replaced later when
4662         the remote call is handled.
4663         (org-table-convert-refs-to-rc): Do not convert things that might
4664         look like a reference, but are really part of an ID or namei n a
4665         remote reference.
4666         (org-table-get-remote-range): New function.
4668 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4670         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4672         * org-clock.el (org-clock-put-overlay): Use new face instead of
4673         `secondary-selection'.
4675         * org-faces.el (org-clock-overlay): New face.
4677 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4679         * org-exp.el (org-get-current-options): Include the option for
4680         publishing time stamps.
4682         * org.el (org-toggle-heading): Renamed from
4683         `org-toggel-region-headings'.
4684         No longer needs a region defined, but will use it if there is one.
4685         (org-ctrl-c-star): Simplified, relying more on the internal
4686         workings of `org-toggle-heading'.
4687         (org-toggle-item): Renamed from `org-toggle-region-items'.
4688         No longer needs a region defined, but will use it if there is one.
4689         (org-ctrl-c-minus): Simplified, relying more on the inernal
4690         workings of `org-toggle-item'.
4692         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4693         environment detection.  Also, do real changes only in unprotected
4694         places.
4696 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4698         * org-export-latex.el (org-export-latex-quotation-marks): Use
4699         `org-if-unprotected-1'.
4700         (org-export-latex-set-initial-vars): Check for class definition in
4701         property.
4703         * org-macs.el (org-if-unprotected-1): New macro.
4705 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4707         * org-compat.el (org-count-lines): New function.
4709         * org-exp.el (org-export-format-source-code-or-example): Handle
4710         switches related to text areas.
4712         * org.el (org-activate-footnote-links): Don't allow match inside a
4713         link.
4715         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4717         * org-export-latex.el (org-export-latex-links): Keep a relative
4718         path relative also after export.
4720         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4722         * org.el (org-make-tags-matcher): Never use IDO for completing the
4723         tags matcher match string.
4724         (org-completing-read): Also remove the special biding for "?".
4726         * org-attach.el (org-attach-allow-inheritance): New option.
4727         (org-attach-inherited): New variable.
4728         (org-attach-dir): Handle properties related to the attachment
4729         directory.
4730         (org-attach-check-absolute-path): New function.
4731         (org-attach-set-directory, org-attach-set-inherit): New commands.
4732         (org-attach): Accommodate the new commands in the dispatcher.
4734 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4736         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4737         `window-full-width-p'.
4739         * org-exp.el (org-export-as-html): Only check for images files
4740         that really can be inlined
4742         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4743         list of extensions to be a parameter.
4745         * org-exp.el (org-export-html-inline-image-extensions): New
4746         variable.
4748         * org-agenda.el (org-prepare-agenda): Use
4749         `org-agenda-block-separator'.
4750         (org-agenda-block-separator): New option.
4752 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4754         * org-export-latex.el (org-export-latex-tables): Call
4755         `org-table-clean-before-export' with the new optional argument.
4757         * org-exp.el (org-table-clean-before-export): New optional
4758         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4759         first column.
4761 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4763         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4764         histograms.
4766         * org-colview.el (org-colview-construct-allowed-dates): Better
4767         error catching when a date/time property does not have allowed
4768         values defined.
4770         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4771         Better error catching when a date/time property does not have
4772         allowed values defined.
4774 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4776         * org.el (org-map-entries): Restore point and restriction after
4777         `org-map-entries'.
4779 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4781         * org.el (org-time=, org-time<, org-time<=, org-time>)
4782         (org-time>=, org-time<>): Make sure both values are dates.
4784 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4786         * org-archive.el (org-extract-archive-heading): Allow %s for file
4787         name also in achive location heading.
4789 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4791         * org-archive.el (org-add-archive-files): Uniquify the list before
4792         returning it.
4794 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4796         * org-compat.el (org-fit-window-to-buffer): Use
4797         `window-full-width-p'.
4799         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4800         space after the colon in short examples.
4802         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4803         enforce a space after the colon.  However, we also allow lines
4804         that are *only* a colon.
4805         (org-export-as-html): Enforce the space after the colon in short
4806         examples.
4807         (org-export-preprocess-string): Do the colon example protection
4808         earlier.
4809         (org-export-remove-timestamps): Do not check for protection at the
4810         end of the line.
4812 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4814         * org.el (org-format-latex-options): Add new matcher for single
4815         letters between dollars.
4816         (org-get-header): Function removed.
4817         (org-heading-components): New function.
4819         * org-exp.el (org-export-define-heading-targets): Record ID's also
4820         as alternative targets.
4821         (org-export-as-html): Interpret "id:" links to other files by
4822         preserving the relative path.
4824         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4825         is nil.
4827         * org-exp.el (org-export-normalize-links): Protect the main link,
4828         to avoid special character processing.
4830         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4831         New variable.
4832         (org-export-latex-special-string-regexps): Variable removed.
4833         (org-export-latex-keywords): Use the new regexp.
4835         * org-exp.el (org-export-handle-include-files): Fetch switches and
4836         put them into the BEGIN statement.
4838         * org-timer.el (org-timer-mode-line-string): New variable.
4840         * org-clock.el (org-clock-mode-line-map): Renamed from
4841         `org-clock-mode-map'.
4842         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4843         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4844         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4845         (org-clock-remove-overlays): Renamed from
4846         `org-remove-clock-overlays'.
4848         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4849         and mode line display.
4850         (org-timer-stop): New command.
4851         (org-timer-seconds): Return correct time when timer is paused.
4852         (org-timer-mode-line-timer): New variable.
4853         (org-timer-set-mode-line, org-timer-update-mode-line): New
4854         functions.
4856         * org.el (org-insert-heading):  Handle new value `auto' for
4857         `org-blank-before-new-entry'.
4858         (org-org-menu): Add new items for timer functions.
4860         * org-list.el (org-insert-item): Handle new value `auto' for
4861         `org-blank-before-new-entry'.
4863         * org.el (org-blank-before-new-entry): New value `auto', made
4864         default.
4866 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4868         * org-exp.el (org-export-normalize-links): If the link is also
4869         used as the description, protect the description.
4871 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4873         * org.el (org-closest-date): Fix bug with yearly repeats, in
4874         combination with preference of the past as it is used for deadline
4875         and scheduling search.
4877         * org-exp.el (org-html-handle-time-stamps): No longer check for
4878         the `org-export-with-timestamps' option, because the preprocesser
4879         has taken care of this already.
4881         * org.el (org-entry-properties): Catch the case when this is
4882         called in a non-org-mode file.
4884         * org-export-latex.el (org-export-latex-remove-from-headlines):
4885         Variable made obsolete, also LaTeX export now uses the standard
4886         variables.
4887         (org-export-as-latex): Add the timestamps parameter to the
4888         preprocessor parameter list.
4889         (org-export-latex-content): Export the remaining keywords without
4890         considering to remove them.
4891         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4892         Use bold font instead of tt font for the keywords.
4893         (org-export-latex-fontify-headline): Format headlines, assuming
4894         that all keywords still present should be published.
4895         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4896         publish what ever remains of the time stamps.
4897         (org-export-latex-list-parameters): New option.
4898         (org-export-latex-lists): Pass additional parameters to the list
4899         converter.
4901         * org-exp.el (org-export-preprocess-string): Remove clock lines
4902         and timestamps already in the preprocesor.
4903         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4904         functions.
4905         (org-export-as-ascii, org-export-as-html): Add the timestamps
4906         parameter to the preprocessor parameter list.
4908         * org-list.el (org-list-parse-list): Parse for checkboxes.
4909         (org-list-to-generic): Introduce and handle new parameters :cbon
4910         and :cboff.
4911         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4912         optional parameter PARAMS.
4914         * org-export-latex.el (org-export-latex-special-chars): Fix
4915         problems with interpreting dollar signs.
4916         (org-inside-latex-math-p): New function.
4917         (org-export-latex-preprocess): Protect all the math fragments.
4919         * org.el (org-latex-regexps): Allow a dash after a dollar.
4921         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4922         mark after copying.
4924         * org-agenda.el (org-run-agenda-series): Have series options set
4925         when finalizing the agenda.
4927         * org-exp.el (org-export-format-source-code-or-example): Protect
4928         the converted examples.
4930         * org.el (org-set-regexps-and-options): Fix the regexp
4931         `org-complex-heading-regexp'.
4933 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4935         * org.el (org-edit-src-get-label-format): New function.
4936         (org-coderef-label-format): New option.
4937         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4938         a label format specification and make sure it is used in the edit
4939         buffer.
4940         (org-edit-src-get-label-format): New function.
4941         (org-store-link): Handle new coderef formats.
4942         (org-link-search): Handle new coderef formats.
4944         * org-footnote.el (org-footnote-create-definition)
4945         (org-footnote-goto-local-insertion-point): Make footnote insertion
4946         work correctly when the "Footnotes" headline is the last line in
4947         the buffer.
4949         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4950         the location.
4952 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4954         * org-w3m.el (org-w3m): New customization group.
4955         (org-w3m-deactivate-mark): New option.
4956         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4957         option say not to.
4959 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4961         * org.el (org-set-font-lock-defaults): Trigger footnote
4962         fontification.
4963         (org-activate-footnote-links): New function.
4964         (org-activate-links): New entry `footnote'.
4966         * org-faces.el (org-footnote): New face.
4968 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4970         * org-macs.el (org-re): Handle the [:word:] class.
4972         * org-exp.el (org-export-preprocess-string): Call
4973         `org-export-protect-colon-examples'.
4974         (org-export-protect-colon-examples): Renamed from
4975         `org-export-protect-examples', and scope limited to lines starting
4976         with a colon.
4978 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4980         * org-exp.el (org-export-preprocess-string): Move the preprocess
4981         hook to after turning on Org-mode.
4982         (org-export-preprocess-after-include-files-hook)
4983         (org-export-preprocess-after-tree-selection-hook)
4984         (org-export-preprocess-before-backend-specifics-hook)
4985         (org-export-preprocess-final-hook): New hooks.
4986         (org-export-preprocess-string): Run the new hooks.
4988         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4990         * org-footnote.el: New file.
4992         * org.el (org-footnote): Require footnote code.
4993         (org-startup-options): Add new footnote options.
4994         (org-mode-map): New keybindig for footnotes.
4995         (org-ctrl-c-ctrl-c): Add function at footnotes.
4996         (org-org-menu): New menu entries for footnotes.
4998         * org-export-latex.el (org-export-as-latex): Pass footnote
4999         variable to preprocessor.
5000         (org-export-latex-preprocess): Treat multiple references to a
5001         footnote.
5003         * org-exp.el (org-export-preprocess-string): Call
5004         `org-footnote-normalize'.
5005         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5006         to preprocessor.
5007         (org-export-as-html): Treat multiple references to a footnote.
5009 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5011         * org-export-latex.el (org-export-latex-links): Handle coderef
5012         links.
5014         * org.el (org-bracket-link-analytic-regexp++): New variable.
5015         (org-make-link-regexps): Initialize
5016         `org-bracket-link-analytic-regexp++'.
5017         (org-store-link): Implement special case in edit-src buffer.
5018         (org-insert-link): No use of ide to insert stored links.
5019         (org-link-search): Implement special case for coderefs.
5021         * org-exp.el (org-export-html-scripts): New constant.
5022         (org-export-html-style-default): Add a new style for highlighted
5023         code.
5024         (org-export-code-refs): New variable.
5025         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5026         Call `org-export-replace-src-segments-and-examples'
5027         No longer call `org-export-protect-examples'.
5028         (org-export-target-internal-links): Take care of coderef targets.
5029         (org-export-last-code-line-counter-value): New variable.
5030         (org-export-replace-src-segments-and-examples): Renamed from
5031         `org-export-replace-src-segments', and modified.
5032         (org-export-format-source-code-or-example): Renamed from
5033         `org-export-format-source-code'.
5034         (org-export-number-lines): New function.
5035         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5037 --------------------------------------------------------------------------
5039 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5041         * org-remember.el (org-remember-handler): Safer way to get a new
5042         buffer accessing the target file.
5044         * org.el (org-refile-get-location): Handle case of current buffer
5045         not having a file associated with it.
5047 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5049         * org-table.el (org-table-get-formula): Only ask to overwrite
5050         field formula if there really is one.
5052         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5053         number, by converting these to a string.
5055         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5056         located in a different file.
5058         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5059         org-colview.el.
5061 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5063         * org.el (org-completion-use-ido): Enhance docstring of
5064         `org-completion-use-ido'.
5066         * org-export-latex.el (org-export-latex-make-header): Double the %
5067         in the time stamp format.
5068         (org-export-latex-special-chars): Handle case where there is no
5069         match group 3.
5071 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5073         * org.el (org-get-refile-targets, org-refile-get-location): Use
5074         expanded file name to improve comparison.
5076 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5078         * org.el (org-scan-tags): Rescan for tags, to get the correct
5079         upcase/downcase stuff.  This slows things down for now, but it
5080         works.
5081         (org-mode): Make sure the tag-faces regexp is initialized.
5083         * org-export-latex.el (org-export-latex-links): Fix bug with
5084         undefined label.
5086         * org-table.el (org-table-get-specials): Set
5087         `org-table-current-last-data-line'.
5088         (org-table-current-last-data-line): New variable.
5089         (org-table-insert-column, org-table-delete-column)
5090         (org-table-move-column, org-table-fix-formulas): Call
5091         `org-table-fix-formulas' a second time to fix the $LR references.
5092         (org-table-get-specials): Add the $LR references to the tables.
5093         (org-table-get-formula): Do not offer last-row names as LHS of
5094         formulas.
5096         * org.el (org-store-link): Capture link description from
5097         `org-id-store-link'.
5099         * org-exp.el (org-export-html-format-image): Add the / to the end
5100         of the <img> tag.
5101         (org-export-format-source-code): Surround example by empty lines,
5102         to make sure it will not be inside a paragraph.
5104         * org.el (org-ido-switchb): New function.
5106 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5108         * org-agenda.el (org-agenda-show): New prefix argument
5109         FULL-ENTRY.
5111         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5112         argument.
5114         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5115         `org-agenda-change-all-lines'.
5116         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5117         tags are now retrieved locally.
5119 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5121         * org.el (org-get-outline-path): Fix bug if level is not given.
5122         (org-org-menu): Do not quote function in menu vector.
5124         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5125         name.
5127 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5129         * org.el (org-refile): Avoid refiling to within the region to be
5130         refiled.
5132         * org-export-latex.el (org-export-latex-special-chars): Replace
5133         special characters also in tables.
5135         * org-agenda.el (org-agenda-change-all-lines): New argument
5136         FORCE-TAGS.
5137         (org-agenda-set-tags): Cet the new tags and pass them to
5138         `org-format-agenda-item'.
5140 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5142         * org-export-latex.el (org-export-latex-classes): Add longable as
5143         a default package to all classes.
5144         (org-export-latex-tables): Handle the longtable attribute and the
5145         align attribute.
5147         * org-table.el (orgtbl-to-generic): Handle tables that start with
5148         a hline.
5150         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5151         \verb for colde-like snippets.
5152         (org-export-as-latex): Fix issues with region export.
5154         * org.el (org-up-heading-safe): Speed up function by using a
5155         direct regexp search.
5156         (org-olpa): New variable.
5157         (org-get-outline-path): Speed-up path constructions in cases where
5158         this is possible because the entire hierarchy is scanned anyway.
5159         (org-refile-get-location): Don't compare the truenames of files,
5160         this is too slow.
5161         (org-goto-max-level): New option.
5162         (org-goto): Use `org-goto-max-level'.
5164 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5166         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5167         Strip angle brackets from message-ids in the former and don't do
5168         it in the latter.
5169         (org-gnus-follow-link): Open summary reliable, even if the last
5170         messages were deleted, and handle empty groups, too.
5172 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5174         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5175         instead of \texttt for the =...= and ~===~ emphasis environments.
5176         (org-export-as-latex): Remove any old :org-license-to-kill text
5177         properties.
5178         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5179         (org-export-latex-make-header): Add some hard space after the
5180         table of contents.
5181         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5182         exported text so that it will be excuded in further steps.
5184         * org-table.el (org-table-get-specials): Make @0 reference the
5185         last line in a table.
5186         (org-table-recalculate): Improve docstring.
5188 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5190         * org.el (org-log-done): Fix docstring.
5192 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5194         * org-exp.el (org-export-html-format-image): Fix bugs.
5196         * org-export-latex.el (org-export-latex-tables)
5197         (org-export-latex-links): Implement attribute, label, and caption
5198         handling.
5200         * org-exp.el (org-export-html-style-default): Add style
5201         definitions for the figure div.
5202         (org-export-preprocess-string, org-export-as-html): Implement
5203         attribute, label, and caption handling.
5204         (org-export-attach-captions-and-attributes): New function.
5205         (org-export-html-format-image): New function.
5206         (org-format-org-table-html): Implement attribute, label, and
5207         caption handling.
5209         * org.el (org-find-text-property-in-string): New function.
5210         (org-extract-attributes): Use the property org-attr instead of
5211         org-attrobutes, because this property is now set with the #+ATTR
5212         lines.
5214 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5216         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5217         the case that FROM is nil.
5219         * org.el (org-before-first-heading-p): New function.
5221 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5223         * org-exp.el (org-export-as-html): Do not add a space before
5224         enforces line breaks.
5225         (org-export-as-html): Close paragraph before blockquote and verse
5226         tags.
5228 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5230         * org-id.el (org-id-locations-file): Wrap file name with
5231         `convert-standard-filename'.
5232         (org-id-files): New variable.
5233         (org-id-use-hash): New option.
5234         (org-id-update-id-locations): Also search in all files current
5235         listed in `org-id-files'.  Convert the resulting alist to a hash
5236         if the user customation says so.
5237         (org-id-locations-save): Handle he case if `org-id-locations' is a
5238         hash.
5239         (org-id-locations-load): Convert the alist to a hash.
5240         (org-id-add-location): Handle the hast case.
5241         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5242         exited.
5243         (org-id-hash-to-alist, org-id-alist-to-hash)
5244         (org-id-paste-tracker): New functions.
5246 -------------------------------------------------------------------------
5248 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5250         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5251         bindings of calendar variables.
5253         * org-table.el (org-table-find-row-type): Renamed from
5254         `org-find-row-type'.
5255         (org-table-rewrite-old-row-references): Renamed from
5256         `org-rewrite-old-row-references'.
5257         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5258         (org-table-cleanup-narrow-column-properties): Renamed from
5259         `org-cleanup-narrow-column-properties'.
5261 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5263         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5264         for better error messages.
5265         (org-table-get-descriptor-line): Supply the new arguments to
5266         `org-find-row-type'.
5267         (org-table-error-on-row-ref-crossing-hline): New option.
5269         * org.el (org-target-link-regexp): Make buffer-local.
5270         (org-move-subtree-down): Fix bug with trees at beginning of
5271         buffer.
5273 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5275         * org-faces.el (org-set-tag-faces): New function.
5276         (org-tags-special-faces-re): New variable.
5278         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5280         * org-faces.el (org-tag-faces): New option.
5281         (org-tag): Mention `org-tag-faces' in the docstring.
5283 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5285         * org-exp.el (org-export-html-style-default): Implement new
5286         quoting.
5288         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5290         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5291         command to the `w3m-minor-mode-map'.
5293         * org-archive.el (org-archive-to-archive-sibling): Protect
5294         `this-command' to avoid appending kills during archiving.
5296         * org-exp.el (org-export-with-priority): New variable.
5297         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5298         instead of internal list of strings and properties.
5299         (org-print-icalendar-entries): Retrieve the location property with
5300         inheritance.
5302 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5304         * org-exp.el (org-export-with-todo-keywords): New option.
5305         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5306         line.
5307         (org-default-export-plist, org-export-add-options-to-plist)
5308         (org-export-as-ascii, org-export-as-html): Use the new structure
5309         of `org-export-plist-vars'.
5311         * org.el (org-map-entries): Return all values.
5313 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5315         * org.el (org-matcher-time): Recognize more special values.
5317         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5319 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5321         * org.el (org-tags-exclude-from-inheritance): New option.
5322         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5323         `org-tags-exclude-from-inheritance'.
5325         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5326         (org-format-agenda-item): Add inherited tags to the agenda line
5327         string, and make sure that properties are kept when downcasing the
5328         tags list.
5329         (org-agenda-add-inherited-tags): New function.
5330         (org-downcase-keep-props): New function.
5332         * org.el (org-scan-tags): Mark inherited tags with a text
5333         property.
5334         (org-get-tags-at): Mark inherited tags with a text property.
5335         (org-add-prop-inherited): New function.
5337         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5338         (org-agenda-show-inherited-tags): New option.
5340 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5342         * org.el (org-modules): Add org-w3m to the default modules.
5344         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5345         orgtbl-mode.
5346         (orgtabl-create-or-convert-from-region): New command.
5348         * org-exp.el (org-export-as-ascii): Remove the handling of
5349         targets.
5350         (org-export-ascii-preprocess): Handle targets already in this
5351         function.
5353 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5355         * org-timer.el (org-timer-start-time): Define this variable.
5356         (org-timer-item): Make argument optional.
5358         * org-list.el (org-insert-item): Automatically insert a timer item
5359         if the current list is a timer list.
5361         * org-timer.el: New file.
5363         * org-publish.el (org-publish-org-index): Only exclude the index
5364         file in the main directory from being added to the site-map.
5365         (org-publish-get-project-from-filename): If the current project is
5366         a component, start publishing from the parent project.
5368 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5370         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5372         * org-publish.el (org-publish-org-index): Improve removal of
5373         temporary buffers.
5375         * org-agenda.el (org-get-closed): Re-apply changes
5376         accidentially overwritten by last commit to Emacs.
5378         * org.el (org-outline-path-complete-in-steps): New option.
5379         (org-refile-get-location): Honor
5380         `org-outline-path-complete-in-steps'.
5381         (org-agenda-change-all-lines, org-tags-sparse-tree)
5382         (org-time-string-to-absolute, org-small-year-to-year)
5383         (org-link-escape): Re-apply changes accidentially overwritten
5384         by last commit to Emacs
5386 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5388         * org-clock.el (org-dblock-write:clocktable): Make sure the
5389         clocktable sees the first line.
5390         (org-clock-in): Warn if the clock cannot be resumed.
5392 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5394         * org.el (org-open-at-point): Fix mixup about interactive and
5395         non-interactive elisp links.
5397 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5399         * org-exp.el (org-export-preprocess-string): Allow one comment
5400         line before the first headline to always be included.  This is
5401         to not miss a commented target.
5403         * org-mouse.el (org-mouse-insert-item): Call
5404         `org-indent-to-column' instead of `indent-to', for XEmacs
5405         compatibility.
5407         * org.el (org-refile-targets): Fix customize definition so
5408         that it works also in XEmacs.
5409         (org-fixup-indentation): Call `org-indent-to-column' instead
5410         of `indent-to', for XEmacs compatibility.
5412 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5414         * org-mew.el (org-mew-store-link): Get the correct case folder
5415         for refiled messages.
5417 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5419         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5420         line break indicators.
5422         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5423         ido-completion propts.
5425 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5427         * org-remember.el (org-remember-apply-template): Use
5428         `org-substring-no-properties'.
5430         * org-compat.el (org-substring-no-properties): New function.
5432         * org-remember.el (org-remember-apply-template): Use
5433         `org-substring-no-properties' for compatibility.
5435         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5436         option.
5437         (org-fix-bullet-type): respect
5438         `org-list-two-spaces-after-bullet-regexp'.
5440         * org-clock.el (org-clock-load): Clean up the code.
5442         * org.el (org-adaptive-fill-function): Allow two spaces after
5443         "1." as a list bullet.
5445 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5447         * org-clock.el (org-clock-save, org-clock-load): Check for
5448         live buffers, existing files, and buffer file names to ensure
5449         consistent information.
5450         (org-clock-persist): Make `clock' a special value of this
5451         variable, and improve docstring.
5453         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5454         (org-get-string-indentation): Adapt indentation when the bullet
5455         width changes.
5457 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5459         * org-remember.el (org-remember-finalize): Make interactive.
5460         (org-remember-kill): New command.
5461         (org-remember-finish-immediately): Call `org-remember-finalize'
5462         directly.
5463         (org-remember-finalize): Make `org-remember-finalize' an interactive
5464         function.
5466 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5468         * org-remember.el (org-remember-apply-template): No ido completion
5469         for free prompts in remember templates.
5470         (org-remember-before-finalize-hook): New hook.
5471         (org-remember-mode): New minor mode.
5472         (org-remember-apply-template): Turn on `org-remember-mode'.
5474         * org-id.el (org-id-add-location): Avoid error when no file is
5475         given.
5477         * org-remember.el (org-remember-apply-template): Fix the way how
5478         the list of allowed properties is retrieved from the target file.
5480         * org.el (org-insert-link): Improve file link matching.
5482 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5484         * org-colview.el (org-columns-display-here): New argument
5485         DATELINE, to trigger using the new face.
5486         (org-agenda-colview-summarize): Call `org-columns-display-here'
5487         with the new argument.
5489         * org-faces.el (org-agenda-column-dateline): New face.
5491         * org-publish.el (org-publish-org-index): Use index-title at page
5492         title, not as section.
5494         * org-exp.el (org-export-html-format-desc): Respect the
5495         org-protect property.
5496         (org-export-as-html): Protect image specifiers that are in the
5497         description part of a link.
5499         * org.el (org-sort-entries-or-items, org-completing-read)
5500         (org-refile-get-location, org-olpath-completing-read, org-todo)
5501         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5502         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5503         (org-set-property, org-delete-property)
5504         (org-delete-property-globally): Use `org-ido-completing-read'.
5506         * org-remember.el (org-remember-apply-template): Use
5507         `org-ido-completing-read'.
5509         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5511         * org-colview.el (org-columns-edit-value, org-columns-new)
5512         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5514         * org-colview-xemacs.el (org-columns-edit-value)
5515         (org-columns-new, org-insert-columns-dblock): Use
5516         `org-ido-completing-read'.
5518         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5519         `org-ido-completing-read'.
5521         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5522         `org-ido-completing-read'.
5524         * org.el (org-time-today): New function.
5525         (org-matcher-time): Use `org-time-today'.  Add special treatment
5526         for "<tomorrow>" and "<yesterday>".
5527         (org-ido-completing-read): New function.
5528         (org-completion-use-ido): New option.
5530         * org-exp.el (org-export-format-source-code): Fix bug in require
5531         htmlize code.
5532         (org-export-target-internal-links): Fix bug in search for text
5533         property.
5535 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5537         * org-export-latex.el (org-export-latex-subcontent): Interprete
5538         target aliases as additonal labels.
5540         * org-exp.el (org-export-target-aliases): New variable.
5541         (org-export-preprocess-string)
5542         (org-export-handle-invisible-targets): Fill the alias alist.
5543         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5544         assign an id.
5545         (org-html-level-start): Insert the target aliases as additonal
5546         anchors.
5548         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5549         picture area.
5551 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5553         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5554         when following a link with the mouse from the agenda.
5556         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5557         headlines are created.
5559 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5561         * org-exp.el (org-export-preprocess-string): Reorder so that we
5562         can still see ID properties when we collect targets.
5563         (org-export-target-internal-links): Also store targets for ID's.
5565         * org.el (org-link-translation-function): New option.
5566         (org-open-at-point): Call `org-link-translation-function' if
5567         non-nil.
5568         (org-translate-link): New function.
5569         (org-translate-link-from-planner): New function.
5570         (org-open-at-point): Allow interactive commands in elisp links.
5572         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5573         iCalendar quoting.  The new one seems to caus problems with
5574         applications.
5576         * org.el (org-yank): Set `this-command' to `yank', so that
5577         `yank-pop' will work.
5579 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5581         * org-id.el (org-id-search-archives): New option.
5583         * org.el (org-link-to-org-use-id): New option.
5584         (org-store-link): Use `org-link-to-org-use-id'.
5585         (org-id): Make org-id.el a standard component.
5587 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5589         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5590         hexified version of the tag.
5592         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5593         compliance as far as quoting is concerned.
5595         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5597         * org.el (org-up-heading-safe, org-forward-same-level): Always
5598         call `org-back-to-heading' instead of `outline-back-to-heading'.
5599         (org-back-to-heading): New wrapper around outline-back-to-heading,
5600         with a useful error message telling where the error happened.
5602         * org-list.el (org-update-checkbox-count): Always call
5603         `org-back-to-heading' instead of `outline-back-to-heading'.
5605         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5606         has an `alt' attribute, to ensure XHTML validation.
5608 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5610         * org-publish.el (org-publish-attachment): Allow publishing to
5611         overwrite attachment files.
5613         * org-agenda.el (org-agenda-timerange-leaders): New option.
5614         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5616         * org.el (org-edit-src-exit): Untabify ASCII image before
5617         returning.
5630 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5632         * org.el (org-yank): Make any prefix force normal yanking.
5633         Suppress folding if text would be swallowed into a folded
5634         subtree.
5635         (org-yank-folded-subtrees, org-yank): Docstring updates.
5637         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5638         defined as 0.
5640         * org-exp.el (org-export-language-setup): Add Catalan and
5641         Esperanto language entries.
5643 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5645         * org.el (org-refile): Allow refiling of entire regions.
5647         * org-clock.el (org-clock-time%): New function.
5649         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5650         retrieve property values.
5652 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5654         * org-agenda.el (org-agenda-list): Handle the value `only' of
5655         org-agenda-show-log'.
5656         (org-agenda-log-mode): Interpret a double prefix arg.
5658 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5660         * org-exp.el (org-export-html-footnotes-section): New variable.
5661         (org-export-as-html): Use `org-export-html-footnotes-section' to
5662         insert the footnotes.
5663         (org-export-language-setup): Add "Footnotes" to language words.
5665 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5667         * org.el (org-yank): Fix bug when not inserting a subtree.
5669 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5671         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5672         instead of `vm-beginning-of-message'.
5674         * org.el (org-make-link-regexps): Make sure that links to gnus can
5675         contain brackets.
5677 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5679         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5680         code.
5682         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5683         shell output.
5685         * org.el (org-link-abbrev-alist): Improve customization type.
5687         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5688         functions.
5690         * org-agenda.el (org-agenda-get-progress): Renamed from
5691         `org-get-closed'.  Implement searching for state changes as well.
5692         (org-agenda-log-mode-items): New option.
5693         (org-agenda-log-mode): New option prefix argument, interpreted as
5694         request to show all possible progress info.
5695         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5696         `org-get-closed'.
5697         (org-agenda-set-mode-name): Handle the more complex log mode
5698         settings.
5699         (org-get-closed): New alias, pointing to `org-get-progress'.
5701 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5703         * org.el (org-file-apps-defaults-gnu)
5704         (org-file-apps-defaults-macosx)
5705         (org-file-apps-defaults-windowsnt): Add an entry defining the
5706         system command.
5707         (org-file-apps): Allow `system' as key and value.
5708         (org-open-at-point): Explain the effect of a double prefix arg.
5709         (org-open-file): If the argument `in-emacs' is (16),
5710         i.e. corresponding to a double prefix argument, try to open the
5711         file externally.
5713 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5715         * org.el (org-insert-link): Abbreviate absolute files names in
5716         links.  Also, fix a bug in which the double C-u prefix would not
5717         be honored.
5719 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5721         * org.el (org-insert-heading): If buffer does not end with a
5722         newline, add one if necessary to insert headline correctly.
5724         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5725         paragraphs, not inside.
5727         * org.el (org-todo): Quote
5728         `org-agenda-headline-snapshot-before-repeat'.
5730         * org-exp.el (org-export-as-html): Fully process link descriptions.
5731         (org-export-html-format-desc): New function.
5732         (org-export-as-html): Collect footnotes into the correct basket.
5733         (org-html-protect): No longer protect quotations marks here, this
5734         goes wrong.
5736         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5737         BEG.
5739         * org-compat.el (org-fit-window-to-buffer): New function (not
5740         really, a preliminary and incomplete version was present earlier,
5741         but not used).
5743         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5744         `org-fit-window-to-buffer'.
5746         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5748         * org-agenda.el (org-agenda-get-restriction-and-command)
5749         (org-fit-agenda-window, org-agenda-convert-date): Use
5750         `org-fit-window-to-buffer'.
5752         * org-exp.el (org-export-as-html): Process href links through
5753         `org-export-html-format-href'.
5754         (org-export-html-format-href): New function.
5756         * org-agenda.el (org-agenda-todo): Update only the current
5757         headline if this is a repeated TODO, marked done for today.
5758         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5759         only the current line.
5761         * org.el (org-todo): Take a snapshot of the headline if the
5762         repeater might change it.
5764 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5766         * org-publish.el (org-publish-find-title): Remove buffers visited
5767         only for extracting the title.
5769         * org-exp.el (org-export-html-style)
5770         (org-export-html-style-default): Mark style definitions as
5771         unparsed CDATA.
5773         * org-publish.el (org-publish-validate-link): Function
5774         re-introduced.
5776 2008-11-02  Charles Sebold  <csebold@gmail.com>
5778         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5779         property.
5780         (org-plot-quote-timestamp-field): New function.
5781         (org-plot-quote-tsv-field): Call timestamp field function when
5782         necessary rather than just quoting as a string.
5783         (org-plot/gnuplot-to-data): Pass in timefmt property.
5784         (org-plot/gnuplot-script): Supports timefmt property.
5785         (org-plot/gnuplot): Checks for timestamp column before checking
5786         for text index column.
5788 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5790         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5792         * org-publish.el (org-publish-org-index): Create a section in the
5793         index file.
5794         (org-publish-org-index): Stop linking to directories.
5796         * org.el (org-emphasis-alist): Use span instead of <u> to
5797         underline text.
5799         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5800         <pre> sections.
5802 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5804         * org-jsinfo.el (org-infojs-template): Remove language attribute
5805         from script tag.
5807 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5809         * org-agenda.el (org-agenda-remove-marked-text): New function.
5810         (org-agenda-mark-filtered-text)
5811         (org-agenda-unmark-filtered-text): New functions.
5812         (org-write-agenda): Remove fltered text.
5814         * org.el (org-make-tags-matcher): Give access to TODO "property"
5815         without speed penalty.
5817 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5819         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5820         option.
5821         (org-store-link-props): Make sure adding to the plist works
5822         correctly.
5824         * org-gnus.el (org-gnus-no-new-news): New function.
5825         (org-gnus-follow-link): Allow the article ID to be a message-id,
5826         in addition to allowing article numbers.  Message IDs make much
5827         more roubust links.
5828         (org-gnus-store-link): Use message-id to create link.
5830 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5832         * org.el (org-emphasize): Reverse the selection array.
5833         (org-emphasis-alist): Set <code> tags for the verbatim
5834         environment.
5836         * org-remember.el (org-remember-handler): Fix bug with
5837         prefix-related changing of the note storage target.
5839         * org-exp.el (org-print-icalendar-entries): Make the exported
5840         priorities compatible with RFC 2445.
5842         * org-clock.el (org-clock-save): Insert time stamp without
5843         dependence on time-stamp.el.
5845 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5847         * org.el ("saveplace"): If saveplace puts point into an invisible
5848         location, make it visible.
5849         (org-make-tags-matcher): Allow inactive time stamps in time
5850         comparisons.
5851         (org-yank-adjusted-subtrees): New option.
5852         (org-yank): Incorporate adjusting trees.
5853         (org-paste-subtree): New argument FOR-YANK which will cause
5854         insertion at point without backing up over white lines, and leave
5855         point at the end of the inserted text.  Also if the cursor is
5856         at the beginning of a headline, use the same level or the inserted
5857         tree.
5859         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5860         with broken symlinks
5862 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5864         * org-exp.el (org-export-select-tags, org-get-current-options):
5865         Fix typo.
5867 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5869         * org-agenda.el (org-format-agenda-item)
5870         (org-agenda-filter-make-matcher): Make sure tags are stored and
5871         compared donwcased.
5873 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5875         * org.el (org-insert-todo-heading): Fix bug with force-heading
5876         argument.
5878 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5880         * org-clock.el (org-clock-in-resume): Add a custom option to
5881         toggle starting the clock from an open clock line.
5882         (org-clock-in): When clocking in to an entry, if
5883         `org-clock-in-resume' is set, check if the first clock line is
5884         open and if so, start the clock from the time in the clock line.
5885         (org-clock-persist): Add a custom option to toggle clock
5886         persistence.
5887         (org-clock-persist-query-save): Add a custom option to toggle
5888         asking the user if they want to save the running clock when
5889         exiting.
5890         (org-clock-persist-query-resume): Add a custom option to toggle
5891         asking the user if they want to resume the saved clock when Emacs
5892         is restarted.
5893         (org-clock-save): Add a function to save clock data.
5894         This includes the contents of `org-clock-history' and the buffer
5895         and position of the currently clocked task, if any.
5896         (org-clock-load): Add a function to load clock data.
5897         This populates `org-clock-history', and resumes the saved clocked
5898         task if there is one.
5899         (org-clock-persistence-insinuate): Add a method to set up the
5900         hooks for clock persistence.
5902 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5904         * org-exp.el (org-export-as-ascii): Handle the case that we are
5905         publishing from an indirect buffer.
5907         * org-table.el (org-table-copy-down): Fix bug with time stamp
5908         increment.
5910         * org-mouse.el (org-mouse-features): New option.
5911         (org-mode-hook): Turn on features depending on
5912         `org-mouse-features'.
5914         * org.el (org-insert-heading-respect-content): Force heading
5915         creation.
5916         (org-insert-heading): keep the folding state of the heading before
5917         the inserted one.
5919 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5921         * org-archive.el (org-archive-to-archive-sibling): Handle top
5922         level headlines better.
5924 2008-10-21  Bastien Guerry  <bzg@altern.org>
5926         * org-export-latex.el (org-export-latex-classes): Added
5927         \usepackage{graphicx} to the default list of packages.
5929 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5931         * org-agenda.el (org-agenda-filter): Renamed from
5932         `org-agenda-filter-tags'.
5934 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5936         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5937         is not defined as a property in this entry.
5938         (org-add-log-note): Mask prefix argument when immediately storing
5939         the note.
5941         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5942         option.
5944 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5946         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5947         after drawers was skipping ahead one line too many, so notes were
5948         inserted after the first note instead of before it.
5950 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5952         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5953         New variables.
5954         (org-prepare-agenda): Reset the filter tags.
5955         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5956         Show filter tags in mode line.
5958         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5959         formatter.
5961         * org-export-latex.el (org-latex-entities-regexp): New constant.
5962         (org-export-as-pdf): Use two calls to `shell-command'.
5964 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5966         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5967         Honor the {} value of the subsuperscript setting.  Make sure that
5968         longer subsuperscripts are typeset in a roman font.
5970         * org.el (org-clock-update-time-maybe): Compute negative clock
5971         intervals correctly.
5973 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5975         * org.el (org-add-log-setup): Respect
5976         `org-log-state-notes-insert-after-drawers'.
5977         (org-log-state-notes-insert-after-drawers): New option.
5978         (org-todo-trigger-tag-changes): New function.
5979         (org-todo): Call `org-todo-trigger-tag-changes'.
5981 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5983         * org.el (org-add-log-setup): Only skip drawers if the are
5984         immediately after the scheduling keywords.
5986         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5987         function
5988         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5989         call it with the current todo state to get the state to switch to
5990         when clocking in.
5991         (org-clock-in): Use org-indent-line-function to indent clock lines.
5992         (org-clock-find-position): Fix indentation of empty clock drawers.
5994 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5996         * org-publish.el (org-publish-org-to): Handle case when
5997         org-export-to-pdf does return a file name, not a buffer.
5998         (org-publish-org-to-pdf): New function.
6000         * org-export-latex.el (org-export-as-pdf)
6001         (org-export-as-pdf-and-open): New commands.
6003         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6004         forms as ranges.
6006         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6007         things in protexted regions.
6009 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6011         * org-export-latex.el (org-export-latex-preprocess): Improve
6012         quoting of LaTeX environments.
6014 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6016         * org.el (org-edit-fixed-width-region): Exclude final newline from
6017         picture area.
6019         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6020         sections, to make internal links work.
6021         (org-export-latex-fontify-headline): Do not remove all text
6022         properties, to make sure that target properties survive this
6023         process.
6025         * org-exp.el (org-export-preprocess-string): Change sequence of
6026         modifications, to make sure links are prepared before the LaTeX
6027         conversions do happen.
6029 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6031         * org-attach.el (org-attach-delete-all): Renamed from
6032         `org-attch-delete'.  Add a security query before deleting the
6033         entire directory.  New optional argument FORCE can overrule the
6034         security query.
6035         (org-attach-delete-one): New command.
6037 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6039         * org-attach.el (org-attach-file-list): Fix bug with directory.
6041 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6043         * org.el (org-apps-regexp-alist): New function.
6044         (org-file-apps): Add auto-mode to the default value.
6045         (org-open-file): Use the new structure of org-file-apps.
6047         * org-attach.el (org-attach): Support the new keys.
6048         (org-attach-method): New option.
6050 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6052         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6053         March.
6055         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6056         of the list value o `org-use-tag-inheritance'.
6058         * org-attach.el (org-attach-auto-tag): New option.
6059         (org-attach-tag, org-attach-untag): New functions.
6060         (org-attach-attach, org-attach-new, org-attach-sync): Call
6061         `org-attach-tag'.
6062         (org-attach-delete): Call `org-attach-untag'.
6064 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6066         * org-table.el (orgtbl-self-insert-command): Make this work for
6067         the keypad as well.
6069 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6071         * org.el (org-add-log-setup): Limit searc for drawers to entry
6072         text, not to subtree.
6074         * org-clock.el (org-clock-heading-for-remember): New variable.
6075         (org-clock-in): Set `org-clock-heading-for-remember'.
6077 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6079         * org-remember.el (org-remember-apply-template): Add new
6080         expansions: %k, %K for currently clocked task and a link to the
6081         currently clocked task, and %< to file notes in the currently
6082         clocked task.
6084 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6086         * org-export-latex.el (org-export-latex-make-header): Also insert
6087         the content of the property :latex-header-extra.
6089         * org-exp.el (org-infile-export-plist): Put the content of
6090         #+LATEX_HEADER: into the property :latex-header-extra.
6092         * org-colview.el (org-columns-get-format-and-top-level): Remove
6093         resetting the marker.
6095         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6096         Remove resetting the marker.
6098         * org.el (org-entry-property-inherited-from): Improve docstring.
6099         (org-entry-get-with-inheritance): Reset marker before starting the
6100         search.
6102         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6104 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6106         * org.el (org-entry-get-multivalued-property)
6107         (org-entry-protect-space, org-entry-restore-space): New
6108         functions.
6109         (org-file-apps-defaults-macosx): Let postscript files be opened by
6110         preview.
6111         (org-time-stamp-inactive): Call `org-time-stamp'.
6112         (org-time-stamp): New argument `inactive'.  Also edit inacive
6113         stamps. Convert time stamp type.
6114         (org-open-file): Interpret the `default' value for the `command'
6115         in `org-file-apps'.
6117         * org-id.el (org-id-int-to-b36-one-digit)
6118         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6119         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6120         b36.
6122 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6124         * org-id.el (org-id-reverse-string): New function.
6125         (org-id-new): Use `org-id-reverse-string' to make sure the
6126         beginning chars of the ID are mutating fast.  This allows to use a
6127         directory structure to spread things better.
6128         (org-id-prefix): Changed default to nil.
6130         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6131         restore the column of the cursor position.
6133         * org-remember.el (org-remember-apply-template): Remove properties
6134         from `initial'.
6136 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6138         * org-wl.el (org-wl-open): Remove useless call to
6139         `wl-thread-open-all'.
6141         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6142         location.
6144 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6146         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6147         `org-bbdb-anniversaries'.
6149         * org.el (org-get-next-sibling, org-forward-same-level): New
6150         functions, similar to the outline versions, but invisible headings
6151         are OK.
6153 2008-09-25  Bastien Guerry  <bzg@altern.org>
6155         * org.el (org-auto-repeat-maybe): Insert a space between
6156         the timestamp's type and the timestamp itself.
6158 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6160         * org-table.el (org-table-sum): Do not format the result with %g,
6161         it does rounding when there are too many digits.
6163         * org.el (org-map-entries): Protect the keyword-selecting variables.
6165 2008-09-23  Bastien Guerry  <bzg@altern.org>
6167         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6168         against all agenda files.
6170 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6172         * org-list.el: New file, aggregating list functions from org.el
6173         and org-export-latex.el.
6175         * org.el (org-edit-src-region-extra): New option.
6177 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6179         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6180         time before 1am.
6182 2008-09-22  Bastien Guerry  <bzg@altern.org>
6184         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6186 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6188         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6189         hline work correctly.
6190         (org-plot/gnuplot-script): Put commas at the end of each script
6191         line.
6193 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6195         * org.el (org-get-refile-targets): Replace links with their
6196         descriptions
6197         (org-imenu-get-tree): Replace links with their descriptions.
6199         * org-remember.el (org-remember-apply-template): Add a new
6200         expansion for adding properties to remember items.
6202         * org.el (org-add-log-setup): Skip over drawers (properties,
6203         clocks etc) when adding notes.
6205         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6206         items as well as the start and end times.
6208         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6209         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6211         * org-remember.el (org-get-x-clipboard): Use the compat
6212         function to get clipboard values when x-selection-value is
6213         unavailable. Use substring-no-properties instead of
6214         set-text-properties to remove text properties from the clipboard
6215         value.
6217         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6218         modeline clock string, and display the full todo value in the
6219         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6220         the currently clocked task.
6221         (org-clock-string-limit): Add a custom value for the maximum
6222         length of the clock string in the modeline.
6223         (org-clock-mode-map): Add a keymap for the modeline string
6225 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6227         * org-compat.el (org-propertize): New function.
6229 2008-09-20  Bastien Guerry  <bzg@altern.org>
6231         * org-export-latex.el (org-export-latex-tables): protect exported
6232         tables from further special chars conversion.
6233         (org-export-latex-preprocess): Preserve LaTeX environments.
6234         (org-list-parse-list): Parse descriptive lists.
6235         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6236         (org-list-to-texinfo): Export descriptive lists.
6237         (org-quote-chars): Remove.
6238         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6239         (org-export-latex-list-beginning-re): Rename to
6240         `org-list-beginning-re'
6241         (org-list-item-begin): Rename to `org-list-item-beginning'
6243 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6245         * org.el (org-refile): Allow refiling to the last entry in the
6246         buffer.
6247         (org-get-tags-at): Fix bug when inheritance is turned off.
6249 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6251         * org.el (org-indent-line-function): No longer check for src
6252         regions, this is too much overhead.
6254         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6255         matching.
6257         * org.el (org-scan-tags): Make sure that tags matching is not case
6258         sensitive.  TODO keyword matching is case sensitive, however, to
6259         avoid confusion with similar words that are not meant to be
6260         keywords.
6262 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6264         * org.el (org-get-local-tags-at): New function.
6265         (org-get-local-tags): New function.
6267         * org-exp.el (org-export-get-categories): New function.
6269         * org-agenda.el (org-sorting-choice)
6270         (org-agenda-sorting-strategy, org-agenda-get-todos)
6271         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6272         (org-agenda-get-scheduled, org-agenda-get-blocks)
6273         (org-entries-lessp): Implement sorting by TODO state.
6274         (org-cmp-todo-state): New defsubst.
6276         * org-colview.el (org-colview-construct-allowed-dates): New
6277         function.
6278         (org-columns-next-allowed-value): Use
6279         `org-colview-construct-allowed-dates'.
6281         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6282         function.
6283         (org-columns-next-allowed-value): Use
6284         `org-colview-construct-allowed-dates'.
6286 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6288         * org.el (org-protect-slash): New function.
6289         (org-get-refile-targets): Use `org-protect-slash'.
6291         * org-agenda.el (org-global-tags-completion-table): New variable.
6293         * org-exp.el (org-export-handle-export-tags): New function.
6294         (org-export-preprocess-string): Call
6295         `org-export-handle-export-tags'.
6297         * org-plot.el: New file.
6299         * org-publish.el (org-publish-expand-components): Function removed.
6300         (org-publish-expand-projects): Allow components to have components.
6302 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6304         * org.el (org-indent-line-function): Do not indent in regions that
6305         are external source code.
6306         (org-yank-and-fold-if-subtree): New function.
6308         * org-agenda.el (org-agenda-todayp): New function.
6309         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6310         `org-agenda-todayp'.
6312         * org.el (org-insert-heading-respect-content)
6313         (org-insert-todo-heading-respect-content): New commands.
6314         (org-insert-heading-respect-content): New option.
6315         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6317         * org-clock.el (org-clock-find-position): Make sure the note after
6318         the clock line gets moved into the new clock drawer.
6320 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6322         * org-id.el (org-id-new): New option.
6324 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6326         * org-table.el (org-table-copy-down): Avoid overflow during
6327         increment.  Use prefix argument 0 to temporarily disable the
6328         increment.
6330 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6332         * org-exp.el (org-export-as-html): Do not turn on the major mode
6333         if the buffer will be killed anyway.
6334         (org-get-current-options): Exclude the #+TEXT field.
6335         (org-export-as-html): Make sure text before the first headline is
6336         a paragraph.
6338         * org-publish.el (org-publish-org-to): Tell the exporter that this
6339         buffer will be killed, so it is not necessary to do major mode
6340         initialization.
6342         * org-archive.el (org-archive-to-archive-sibling): Show empty
6343         lines after folding the archive sibling.
6345         * org.el (org-log-note-extra): New variable.
6347 2008-09-05  Bastien Guerry  <bzg@altern.org>
6349         * org.el (org-additional-option-like-keywords): Added keywords for
6350         the _QUOTE, _VERSE and _SRC environments.
6352         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6353         exporting _QUOTE and _VERSE environments.
6355 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6357         * org-agenda.el (org-agenda-filter-by-tag): New command.
6359         * org-exp.el (org-get-current-options): Remove angular brackets
6360         from the date entry.
6362         * org.el (org-edit-fixed-width-region): New function.
6363         (org-edit-fixed-width-region): Also try
6364         `org-edit-fixed-width-region'.
6365         (org-edit-fixed-width-region-mode): New option.
6366         (org-activate-code): Only interprete lines starting with colon
6367         plus a space as example lines.
6369         * org-remember.el (org-remember-templates): Add nil instead of
6370         empty strings to fix the length of remember templates.
6372         * org-table.el (org-calc-default-modes): Fix the time format for
6373         calc, from 12 hour to 24 hour clock.
6375 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6377         * org-agenda.el (org-agenda-get-deadlines)
6378         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6379         entries that are pre-warnings of deadlines or reminders.
6381         * org.el (org-sort-entries-or-items): Make numeric and alpha
6382         comparisons ignore any TODO keyword and priority cookie.
6384         * org-remember.el (org-remember-handler): Reinterpretation of the
6385         prefix argument.
6387 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6389         * org-agenda.el (org-agenda-get-scheduled): Use new
6390         `org-scheduled' face.
6392         * org-faces.el (org-scheduled): New face.
6394         * org-wl.el (org-wl-open): Remove incorrect declaration.
6396         * org-gnus.el (org-gnus-store-link): Support for :to information
6397         in gnus links.
6399         * org-exp.el (org-export-as-html): Fixed typo in creator
6400         information.
6401         (org-export-protect-examples): New parameter indent.  Insert extra
6402         spaces only when this parameter is specified.
6403         (org-export-preprocess-string): Call `org-export-protect-examples'
6404         with an indentation parameter when exporting to ASCII.
6406         * org-remember.el (org-remember-templates)
6407         (org-remember-apply-template): Allow the file component to be a
6408         function.
6410         * org.el (org-goto-local-search-headings): Renamed from
6411         `org-goto-local-search-forward-headings'.  Added the possibility
6412         to search backwards.
6414 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6416         * org-export-latex.el (org-export-latex): New customization
6417         group.
6419         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6421 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6423         * org-exp.el (org-html-do-expand): Allow {} to terminate
6424         tex macro
6426 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6428         * org.el (org-buffer-list): Select buffers based on major mode,
6429         not on file name.
6431 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6433         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6434         face property.
6436         * org-colview.el (org-columns-display-here): Use
6437         `org-columns-modify-value-for-display-function'.
6439         * org-colview-xemacs.el (org-columns-display-here): Use
6440         `org-columns-modify-value-for-display-function'.
6442 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6444         * org.el (org-columns-modify-value-for-display-function): New option.
6456         * org-publish.el (org-publish-file): Make sure the directory match
6457         for the publishing directory works correctly.
6459         * org-agenda.el (org-agenda-execute-calendar-command)
6460         (org-agenda-diary-entry): Additional optional argument.
6462 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6464         * org-exp.el (org-export-as-html): Add attributes also in mailto
6465         and ftp links.
6467         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6476 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6478         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6479         sure that calls from `org-export-region-as-html' do not do the
6480         special check for a subtree.
6482 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6484         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6486 2008-07-20  Juri Linkov  <juri@jurta.org>
6488         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6489         new keymap `narrow-map' instead of binding "\C-xns".
6491 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6493         * org.el (org-open-file): Use
6494         `org-open-directory-means-index-dot-org'.
6495         (org-open-directory-means-index-dot-org): New option.
6497 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6499         * org.el (org-make-link-string): Remove link attributes from
6500         description.
6501         (org-open-at-point): Remove link attributes bevore using the path.
6503         * org-exp.el (org-export-as-html): Handle link attributes.
6505         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6507         * org-table.el (org-table-to-lisp): New function.
6509         * org.el (org-narrow-to-subtree): Do not include the final newline
6510         into the narrowed region.
6512         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6513         bug with user-define skipping condition.
6515 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6517         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6519 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6521         * org-exp.el (org-export-html-style-default): Automatic overflow
6522         handling for pre fields.
6523         (org-export-as-ascii, org-export-as-html): Change default format
6524         for time stamp.
6526         * org-table.el (org-table-export): Offer completion for translator
6527         functions, and do not require a heading above the table.
6529         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6530         Cater for the case of a list starting in the first line of the
6531         buffer.
6533 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6535         * org-publish.el (org-publish-find-title): Bug fix.
6536         (org-publish-org-index): Implement new :index-style option.
6538 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6540         * org-publish.el (org-publish-timestamp-filename): Use
6541         SHA1-encoded file names in the timestamp directory.
6543 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6545         * org-publish.el (org-publish-needed-p): Be verbose about files
6546         published and files skipped.
6548         * org-exp.el (org-export-preprocess-string): Swap link
6549         normalization and inernal link targeting.
6551         * org-publish.el (org-publish-needed-p): Create timestamp
6552         directory when it does not exist.
6554 2008-07-04  Bastien Guerry  <bzg@altern.org>
6556         * org-clock.el (org-clock-out-when-done): Doc fix.
6558         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6560         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6561         Ignore case when searching for the COMMENT cookie at export time.
6563 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6565         * org-exp.el (org-get-file-contents)
6566         (org-get-and-remove-property): New functions.
6567         (org-export-handle-include-files): Handle the new prefix options.
6568         (org-export-as-html): Fix the verse environment.
6570 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6572         * org.el (org-time=, org-time<, org-time<=, org-time>)
6573         (org-time>=, org-time<>, org-2ft): New functions.
6574         (org-op-to-function): Also provide for the time testing fucntions.
6576 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6578         * org-exp.el (org-export-html-style-default): New constant.
6580 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6582         * org-exp.el (org-export-html-style-extra): New variable.
6583         (org-export-splice-style): New function.
6585 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6587         * org-exp.el (org-export-plist-vars, org-export-as-html):
6588         Implement `org-export-creator-info'.
6589         (org-export-creator-info): New option.
6591 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6593         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6594         (org-property-drawer-re, org-clock-drawer-re): New constants.
6596 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6598         * org-exp.el (org-icalendar-use-deadline)
6599         (org-icalendar-use-scheduled): New options.
6600         (org-icalendar-include-todo): Default changed to t.
6601         (org-print-icalendar-entries): Implement better utilization of
6602         scheduling and deadline time stamps.
6603         (org-export-target-internal-links, org-export-as-html): Allow file
6604         lines without the "file:" prefix if the file path is an absolute
6605         path or starts with ".".
6607         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6608         lastweek etc.
6609         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6611 2008-06-18  Glenn Morris  <rgm@gnu.org>
6612         * org.el (org-map-entries): Let-bind `file'.
6614 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6616         * org.el (org-agenda-skip-archived-trees): Docstring now
6617         discourages using this.
6618         (org-scan-tags): Check for org-agenda-archives-mode.
6619         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6620         (org-agenda-files): Functionality of second arg changed.
6622         * org-agenda.el (org-agenda-archives-mode): New variable
6623         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6624         (org-search-view, org-todo-list, org-tags-view)
6625         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6626         `ifmode' argument.
6627         (org-agenda-quit): Reset the archives mode.
6628         (org-agenda-archives-mode): New command.
6629         (org-agenda-set-mode-name): Include archives info.
6631 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6633         * org.el (org-paste-subtree): Make sure the yanked headline is
6634         visible if it was yanked at a visible point.
6635         (org-move-item-up): Fix the bug with moving white space at the end
6636         of the item.
6637         (org-show-empty-lines-in-parent): New function.
6639 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6641         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6643         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6645         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6646         agenda prefix as well.
6648         * org-publish.el (org-publish-org-index): Make a properly indented
6649         list.
6651         * org.el (org-calendar-agenda-action-key): New option.
6652         (org-get-cursor-date): New function.
6653         (org-mark-entry-for-agenda-action): New command.
6654         (org-overriding-default-time): New variable.
6655         (org-read-date): Respect `org-overriding-default-time'.
6657         * org-remember.el (org-remember-apply-template): Respect the
6658         ovverriding default time.
6660         * org-agenda.el (org-agenda-action-marker): New variable.
6661         (org-agenda-action): New command.
6662         (org-agenda-do-action): New function.
6664 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6666         * org.el (org-schedule, org-deadline): Protect scheduled and
6667         deadline tasks against changes that accidently remove the
6668         repeater.  Also show a message with the new date when done.
6670 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6672         * org.el (org-beginning-of-line): Cater for the case when there
6673         are tags but no headline text.
6674         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6675         it set.
6677 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6679         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6680         the return value is nil instead of "nil" when there is no match.
6682         * org-exp.el (org-insert-centered): Use fill-column instead of
6683         80.
6684         (org-export-as-ascii): Use string-width to measure the width of
6685         the heading.
6687         * org.el (org-diary-to-ical-string): No longer kill buffer
6688         FROMBUF, this is now done by the caller.
6690         * org-exp.el (org-print-icalendar-entries): Move the call to
6691         `org-diary-to-ical-string' out of the loop, and kill the buffer
6692         afterwords.
6694         * org-remember.el (org-remember-visit-immediately): Position
6695         cursor after moving to the note.
6696         (org-remember-apply-template): Use a text property to record the
6697         cursor position.
6698         (org-remember-handler): Align tags after pasting the note.
6700 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6702         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6704         * org-agenda.el (org-agenda-open-link): If there is an
6705         org-bbdb-name property in the current line, jump to that bbdb
6706         entry.
6708         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6709         text property, so that the agenda knows where this entry comes
6710         from.
6712         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6713         interaction between clocking-in from the agenda, and  automatic
6714         task state switching.
6716         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6718         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6719         zmacs-region stays after this command in XEmacs.
6721 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6723         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6725         * org-remember.el (org-remember-templates): Fix bug in
6726         customization type definition.
6728         * org.el (org-map-entries): New function.
6730 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6732         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6733         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6735 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6737         * org-remember.el (org-jump-to-target-location): New variable.
6738         (org-remember-apply-template): Set
6739         `org-remember-apply-template' if requested by template.
6740         (org-remember-handler): Start an idle timer to jump to
6741         remember location.
6743         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6745         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6746         file tags.
6747         (org-get-tags-at): Add the content of `org-file-tags'.
6749         * org-exp.el (org-export-handle-comments): Fix bug with several
6750         comment lines after each other.
6751         (org-number-to-roman, org-number-to-counter): New functions.
6752         (org-export-section-number-format): New option.
6754 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6756         * org-exp.el (org-export-protect-examples): Catch the case of a
6757         missing end_example line.
6759         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6760         `org-file-tags' to nil.
6762         * org-colview.el (org-columns-next-allowed-value): Handle next
6763         argument NTH to directly select a value.
6765         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6766         argument NTH to directly select a value.
6768 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6770         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6772 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6774         * org.el (org-columns-ellipses): New option.
6776 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6778         * org-colview.el (org-columns-add-ellipses): New function.
6779         (org-columns-compact-links): New function.
6780         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6781         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6782         when in agenda.
6783         (org-columns-edit-value): Fixed bug with editing values from
6784         agenda column view.
6785         (org-columns-redo): Also redo the agenda itself.
6787 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6789         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6790         option.
6792         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6794         * org-exp.el (org-export-ascii-preprocess): Renamed from
6795         `org-export-ascii-clean-string'.
6796         (org-export-kill-licensed-text)
6797         (org-export-define-heading-targets)
6798         (org-export-handle-invisible-targets)
6799         (org-export-target-internal-links)
6800         (org-export-remove-or-extract-drawers)
6801         (org-export-remove-archived-trees)
6802         (org-export-protect-quoted-subtrees)
6803         (org-export-protect-verbatim, org-export-protect-examples)
6804         (org-export-select-backend-specific-text)
6805         (org-export-mark-blockquote-and-verse)
6806         (org-export-remove-comment-blocks-and-subtrees)
6807         (org-export-handle-comments, org-export-mark-radio-links)
6808         (org-export-remove-special-table-lines)
6809         (org-export-normalize-links)
6810         (org-export-concatenate-multiline-links)
6811         (org-export-concatenate-multiline-emphasis): New functions,
6812         obtained from spliiting the export preprocessor.
6814         * org-table.el (org-table-recalculate): Improve error message if
6815         the row number is invalid.
6817 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6819         * org-archive.el (org-archive-save-context-info): Fix bugs in
6820         customization setup and docstring.
6822         * org-exp.el (org-export-html-style): Changed the size of in the
6823         <pre> element to 90%.
6825 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6827         * org.el (org-find-src-example-start): Function removed.
6828         (org-edit-src-find-region-and-lang): New function.
6830 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6832         * org.el (org-edit-src-exit): New function.
6833         (org-exit-edit-mode): New minor mode.
6835         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6836         comment-like lines from protected examples.
6838         * org.el (org-edit-src-example, org-find-src-example-start)
6839         (org-protect-source-example, org-edit-special): New functions.
6841 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6843         * org-publish.el (org-publish-project-alist): Fix typo in
6844         docstring.
6845         (org-publish-project-alist): Handle :index-title property.
6847 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6849         * org-export-latex.el (org-export-as-latex): Make sure region
6850         bounds are correct.  Parse subtree properties relating to export.
6852         * org-exp.el (org-export-add-options-to-plist): New function.
6853         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6855 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6857         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6858         EXPORT_TITLE.
6860         * org-exp.el (org-export-get-title-from-subtree)
6861         (org-export-as-ascii, org-export-as-html): Make sure the original
6862         region-beginning and region-end are used, even after moving
6863         point.
6864         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6865         property.
6867         * org-remember.el (org-remember-last-stored-marker): New variable.
6868         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6869         (org-remember-handler): Also use marker to remember
6870         last-stored position.
6872         * org.el (org-goto-marker-or-bmk): New function.
6874 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6876         * org.el (org-file-properties): Renamed from `org-local-properties'.
6877         (org-scan-tags): Take file tags into account.
6878         (org-tags-match-list-sublevels): Default changed to t.
6880         * org-exp.el (org-export-as-html): Close paragraph after a
6881         footnote.
6883         * org.el (org-update-parent-todo-statistics): New function.
6885         * org-exp.el (org-icalendar-store-UID): New option.
6886         (org-icalendar-force-UID): Option removed.
6887         (org-print-icalendar-entries): IMplement UIDs.
6889 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6891         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6893 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6895         * org-faces.el (org-column): Document how this face is being used
6896         and why sometimes the background faces shine through.
6898         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6900         * org-publish.el (org-publish-attachment): Create publishing
6901         directory if it does not yet exist.
6903         * org-table.el (org-calc-default-modes): Change default number
6904         format to (float 8).
6906         * org.el (org-olpath-completing-read): New function.
6907         (org-time-clocksum-format): New option.
6908         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6910         * org-clock.el (org-clock-display, org-clock-out)
6911         (org-update-mode-line): Use `org-time-clocksum-format'.
6913         * org-colview-xemacs.el (org-columns-number-to-string): Use
6914         `org-time-clocksum-format'.
6916         * org-colview.el (org-columns-number-to-string): Use
6917         `org-time-clocksum-format'.
6919 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6921         * org-id.el: New file, move from contrib to core.
6923         * org-exp.el (org-icalendar-force-UID): New option.
6925 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6927         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6928         shifted by one day if theere is a date range without an end
6929         time.
6931         * org.el (org-try-structure-completion): New function.
6933 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6935         * org.el (org-set-font-lock-defaults): Improve fontification of
6936         description lists.
6937         (org-insert-item): Handle description lists.
6938         (org-adaptive-fill-function): Improve auto indentation in
6939         description lists.
6941         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6942         Implement VERSE environment.
6943         (org-export-preprocess-string): Implement the COMMENT
6944         environment.
6946         * org-export-latex.el (org-export-latex-preprocess): Implement
6947         VERSE environment.
6949 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6951         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6952         option.
6954 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6956         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6958         * org.el (org-quote-csv-field): New functions.
6960         * org-table.el (org-table-export-default-format): Remove :splice
6961         from default format, we get the same effect by not specifying
6962         :tstart and :tend.
6963         (org-table-export): Improve setup, distinguish better between
6964         interactive and non-interactive use, allow specifying the format
6965         on the fly, better protection against wrong file names.
6966         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6967         and :tend when :splice is omitted.
6969 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6971         * org-clock.el (org-clock-select-task): Make sure the selection
6972         letters are 1-9 and A-Z, no special characters.
6974 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6976         * org-exp.el (org-export-htmlize): New group.
6977         (org-export-htmlize-output-type)
6978         (org-export-htmlize-css-font-prefix): New options.
6979         (org-export-htmlize-region-for-paste): New function.
6980         (org-export-htmlize-generate-css): New command.
6982 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6984         * org/org.el (org-modules, org-format-latex-options):
6985         * org/org-archive.el (org-archive-stamp-time)
6986         (org-archive-save-context-info):
6987         * org/org-faces.el (org-hide):
6988         * org/org-irc.el (org-irc-parse-link):
6989         * org/org-macs.el (org-call-with-arg, org-autoload):
6990         * org/org-mew.el (org-mew-store-link):
6991         * org/org-remember.el (org-remember-store-without-prompt)
6992         (org-remember-templates): Fix typos in docstrings.
6994         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6996         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6997         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6998         (org-bbdb-anniv-split): Fix typos in docstrings.
7000         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7001         (org-publish-use-timestamps-flag): Reflow docstring.
7002         (org-publish-files-alist): Fix typos in docstring.
7004 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7006         * org.el (org-set-visibility-according-to-property): New function.
7007         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7008         and compute the regular expressions, and update font-lock.
7009         (org-property-re): Allow a dash in property names.
7011         * org-archive.el (org-extract-archive-file): Insert the file name
7012         without the path into the format, to allow the location format to
7013         contain a subdirectory.
7015         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7016         of buffer, and the `org-agenda-type' property undefined, use the
7017         value from the character before.
7019         * org.el (org-add-planning-info): Don't let indentation for
7020         would-be timestamp become extra whitespace at the end of headline.
7022 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7024         * org.el (org-remove-double-quotes, org-file-contents): New
7025         functions.
7027         * org-exp.el (org-infile-export-plist): Also parse the
7028         contents of #+SETUPFILE files, recursively.
7030         * org.el (org-set-regexps-and-options): Also parse the
7031         contents of #+SETUPFILE files, recursively.
7033         * org-exp.el (org-export-handle-include-files): New function.
7034         (org-export-preprocess-string): Call
7035         `org-export-handle-include-files'.
7037         * org.el (org-delete-property-globally)
7038         (org-delete-property, org-set-property): Ignore case during
7039         completion.
7040         (org-set-property): Use `org-completing-read' instead of
7041         `completing-read'.
7043         * org.el (org-complete-expand-structure-template): New,
7044         experimental function.
7045         (org-structure-template-alist): New, experimental option.
7046         (org-complete): Call `org-complete-expand-structure-template'.
7048 2008-05-06  Bastien Guerry  <bzg@altern.org>
7050         * org-export-latex.el (org-export-latex-preprocess): Added
7051         support for blockquotes.
7053 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7055         * org.el (org-read-date-analyze): Catch the case where only a
7056         weekday is given.
7058 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7060         * org.el (org-set-font-lock-defaults): Make the description
7061         tag bold.
7063         * org-exp.el (org-export-as-html, org-close-li): Implement
7064         description lists.
7066 2008-05-04  Jason Riedy  <jason@acm.org>
7068         * org-table.el (*orgtbl-default-fmt*): New variable.
7069         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7070         when there is no other fmt available.
7072         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7073         :tend to suppress the appropriate string.
7075         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7076         table.
7078 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7080         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7081         read date.
7083         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7084         New function.
7086         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7087         New function.
7089 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7091         * org-clock.el (org-clock-find-position): Don't include notes
7092         into clock drawer.
7094         * org-archive.el (org-archive-subtree): No longer remove an
7095         extra line after cutting the subtree.  `org-cut-subtree' already
7096         takes care of this.
7098         * org-remember.el (org-remember-handler): Only kill the target
7099         buffer if it does not contain the running clock.
7101         * org.el (org-markers-to-move): New variable.
7102         (org-save-markers-in-region, org-check-and-save-marker)
7103         (org-reinstall-markers-in-region): New function.
7104         (org-move-subtree-down, org-copy-subtree): Remember relative
7105         marker positions before cutting.
7106         (org-move-subtree-down, org-paste-subtree): Restore relative
7107         marker positions after pasting.
7109         * org-remember.el (org-remember-clock-out-on-exit): New option.
7110         (org-remember-finalize): Clock out only if the setting in
7111         `org-remember-clock-out-on-exit' requires it.
7112         (org-remember-handler): Do the cleanup in the buffer, to make sure
7113         that the clock marker remains in tact.
7115 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7117         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7118         (org-clock-in): Make sure that also tasks outside the narrowed
7119         region will be clocked in correctly.
7120         (org-clock-insert-selection-line): Widen the buffer so that we can
7121         find the correct task heading.
7123         * org.el (org-base-buffer): New function.
7125         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7126         and ";" are escaped.
7127         (org-print-icalendar-entries): Also apply
7128         `org-icalendar-cleanup-string' to the headline, not only to the
7129         summary property.
7131 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7133         * org-exp.el (org-export-preprocess-hook): New hook.
7134         (org-export-preprocess-string): Call
7135         `org-export-preprocess-hook'.
7137         * org.el (org-font-lock-hook): New variable.
7138         (org-font-lock-hook): New function.
7139         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7141 ;; Local Variables:
7142 ;; coding: utf-8
7143 ;; add-log-time-zone-rule: t
7144 ;; End:
7146     Copyright (C) 2008  Free Software Foundation, Inc.
7148   This file is part of GNU Emacs.
7150   GNU Emacs is free software: you can redistribute it and/or modify
7151   it under the terms of the GNU General Public License as published by
7152   the Free Software Foundation, either version 3 of the License, or
7153   (at your option) any later version.
7155   GNU Emacs is distributed in the hope that it will be useful,
7156   but WITHOUT ANY WARRANTY; without even the implied warranty of
7157   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7158   GNU General Public License for more details.
7160   You should have received a copy of the GNU General Public License
7161   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7163 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c