Put a frame around the automatically generated TOC in beamer
[org-mode.git] / lisp / ChangeLog
blob79c7b245cab1c1a34f18354e815abd1d5f0450d6
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.
6         (org-beamer-fix-toc): Put a frame around the table of contents.
8         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
9         sure case-folding works well when processing comment stuff.
11         * org-latex.el (org-export-latex-after-save-hook): New hook.
12         (org-export-as-latex): Run the new hook.
14 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
16         * org-beamer.el (org-beamer-environments-default): Add the note
17         environments.
18         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
19         lines and collect and combine the content.
20         (org-beamer-after-initial-vars): Check for note tags and make sure
21         they will be seen like a property.
23         * org.el (org-offer-links-in-entry): Fix bug when there is a
24         single link.
26         * org-exp.el (org-export): Make sure the mark is activated, also
27         when `transient-mark-mode' is off.
29         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
30         (org-agenda-search-view-search-words-only): Obsolete variable, is
31         now an alias for `org-agenda-search-view-always-boolean'.
32         (org-agenda-search-view-force-full-words): New option.
33         (org-search-view): Improve docstring, and implement a better logic
34         for Boolean and phrase searches.
35         (org-agenda-last-search-view-search-was-boolean): New variable.
36         (org-agenda-manipulate-query): Consider the type of the last
37         search when modifying the search string.
39 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
41         * org-latex.el (org-export-as-latex): Do the first letbind in the
42         right moment.
44         * org-agenda.el (org-get-entries-from-diary): Add the new face to
45         these entries.
47         * org-faces.el (org-agenda-diary): New face.
49         * org.el (org-make-link-regexps): Allow regexp-special characters
50         in link types.
51         (org-open-file): When in-emacs is `system', also force system
52         opening, like when the value was `(16)'.
53         (org-update-statistics-cookies): Handle entries without children.
55         * org-exp.el
56         (org-export-preprocess-before-normalizing-links-hook): New hook.
57         (org-export-preprocess-string): Run the new hook.
59         * org.el (org-offer-links-in-entry): Make RET open all links.
61         * org-html.el (org-export-as-html): Remove any left-over display
62         properties in the html file.
64         * org-wl.el (org-wl-store-link): Work-around for format bug with
65         text properties.
67         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
68         invisibility while adding the graphs.
70 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
72         * org-remember.el (org-select-remember-template): Use C letter to
73         customize remember templates.
75         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
76         Move cursor to next visible line.
78 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
80         * org-beamer.el (org-beamer-sectioning): Leave columns environment
81         by specifying 0 or 1 for column width.
82         (org-beamer-column-widths): Make 0 stand for 0.0.
84 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
86         * org-exp.el (org-export-mark-radio-links): Don't match inside
87         <<target>>.
89         * org.el (org-format-latex-header-extra): New variable.
90         (org-format-latex): Set org-format-latex-header-extra from
91         in-buffer stuff.
92         (org-format-latex): Add org-format-latex-header-extra to the
93         variables on which image creation depends.
94         (org-create-formula-image): Add the header stuff from in-buffer
95         settings.
96         (org-read-date-analyze): Base the analysis for future preference
97         on NOW, not on the default date.
99         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
100         for TODO keyword in inline tasks.
102         * org.el (org-log-note-headings): New headings for removing
103         deadline or scheduling date.
104         (org-deadline, org-schedule): Arrange for logging when removing a
105         date.
106         (org-add-log-note): Handle deadline and scheduling removal.
108 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
110         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
112 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
114         * org-agenda.el (org-diary-class): New function.
116 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
118         * org-latex.el (org-export-latex-preprocess): Do process the text
119         of a radio target.
121 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
123         * org.el (org-entry-properties): Add TIMESTAMP properties back
124         in.
126 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
128         * org.el (org-all-time-keywords): New variable.
129         (org-set-regexps-and-options): Set `org-all-time-keywords'.
130         (org-entry-blocked-p): New function.
131         (org-special-properties): Add BLOCKED as a new special property.
132         (org-entry-properties): New optional argument SPECIFIC, only parse
133         for this property when it is specified.
134         (org-entry-get): Pass a SPECIFIC argument to
135         `org-entry-properties'.
137         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
139 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
141         * org-latex.el (org-export-latex-tables): No forced line end if
142         there is no caption.
144 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
146         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
147         package.
149         * org-latex.el (org-export-latex-tables): Only add a caption when
150         macro in in longtable environments if one has been defined.
152         * org-html.el (org-export-as-html): Only take title from buffer if
153         not exporting body-only.
155         * org-latex.el (org-export-latex-preprocess): Better version of
156         the regular expression for protecting LaTeX macros.
157         (org-export-latex-preprocess): Start searching for macros to
158         protect from beginning of buffer.
160         * org-exp.el (org-export-target-internal-links): Check for
161         protectedness earlier in the string.
163         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
164         case sensitively.
166         * org-id.el (org-id-store-link): Match TODO keywords case
167         sensitively.
169         * org.el (org-heading-components, org-get-outline-path)
170         (org-display-outline-path): Match TODO keywords case sensitively.
172         * org-latex.el (org-export-as-latex): Ignore read-only
173         properties.
175         * org-exp.el (org-export-preprocess-string): Remove any
176         `read-only' properties.
178         * org-agenda.el (org-agenda-inactive-leader): New option.
179         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
180         (org-tags-view): Prompt for matcher if MATCH is an empty string.
181         (org-todo-list): Prompt for matcher if ARG is an empty string.
183 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
185         * org.el (org-open-link-functions): New hook.
186         (org-open-at-point): Run `org-open-link-functions'.
188 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
190         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
191         stamps as well.
193         * org.el (org-inhibit-startup-visibility-stuff): New variable.
194         (org-mode): Don't do startup visibility if inhibited.
195         (org-outline-overlay-data, org-set-outline-overlay-data): New
196         functions.
197         (org-save-outline-visibility): New macro.
198         (org-log-note-headings): Document that one should not change the
199         `state' note format.
201 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
203         * org.el (org-make-link-regexps): Capture link path into a group.
205 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
207         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
208         the options plist.
210 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
212         * org.el (org-startup-with-beamer-mode): New option.
213         (org-property-changed-functions)
214         (org-property-allowed-value-functions): New hooks.
215         (org-entry-put, org-property-get-allowed-values): Run the new
216         hooks.
217         (org-property-next-allowed-value): Run the new hooks.
219         * org-exp.el (org-export-select-backend-specific-text): Add the
220         special beamer tags.
222         * org-beamer.el
223         (org-export-preprocess-before-selecting-backend-code-hook): New
224         file.
226         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
227         (org-export-as-latex): Run
228         `org-export-latex-after-initial-vars-hook'.
229         (org-export-latex-format-toc-function)
230         (org-export-latex-make-header): Call
231         `org-export-latex-format-toc-function'.
233         * org.el (org-fill-template): Make template searches case sensitive.
235         * org-exp.el (org-export): Use "1" as a sign to export only the
236         subtree.
238         * org-colview-xemacs.el (org-columns-edit-value): Use
239         org-unrestricted property.
241         * org-colview.el (org-columns-edit-value):  Use
242         org-unrestricted property.
244         * org.el (org-compute-property-at-point): Set org-unrestricted
245         text property if the list contains ":ETC".
246         (org-insert-property-drawer):  Use
247         org-unrestricted property.
249         * org-exp.el
250         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
251         (org-export-preprocess-string): Run
252         `org-export-preprocess-before-selecting-backend-code-hook'.
254         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
256         * org-latex.el (org-export-region-as-latex): Run
257         `org-export-first-hook'.
259         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
261         * org-docbook.el (org-export-as-docbook): Run
262         `org-export-first-hook'.
264         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
266         * org-exp.el (org-export-first-hook): New hook.
268 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
270         * org-list.el (org-previous-item): Exit at the beginning of the
271         buffer.
273         * org-id.el (org-id-locations-save): Only write the id locations
274         if any are defined.
276         * org-archive.el (org-archive-all-done): Make this work in a file
277         with org-odd-levels-only set.
279         * org.el (org-get-refile-targets): Catch the case when a buffer
280         has no file.
282         * org-latex.el (org-export-as-latex): Cleanup forced line ends
283         where they are not needed.
284         (org-export-latex-subcontent): Remove unnecessary newlines.
286 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
288         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
289         (org-export-latex-fontify): Fix regexp bug that takes special
290         care of protecting the right boundary characters in emphasis
291         matches.
292         (org-export-latex-preprocess): Allow multiple arguments to latex
293         macros.
295         * org.el (org-make-link-regexps): Use John Gruber's regexp for
296         urls.
298         * org-macs.el (org-re): Interpret :punct: in regexps.
300         * org-exp.el (org-export-replace-src-segments-and-examples): Also
301         take the final newline after the END line.
303         * org.el (org-clean-visibility-after-subtree-move): Only fix
304         entries that are not entirely invisible already.
305         (org-insert-link): Respect org-link-file-path-type for
306         "docview:" links in addition to "file:" links.
308 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
310         * org-exp.el (org-export-format-source-code-or-example): Avoid
311         additional extra white lines in LaTeX.
313         * org-list.el (org-list-parse-list): Leave empty lines after the
314         list, don't consider them as part of the list.
316         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
317         searches.
319         * org-clock.el (org-clock-select-task): Convert integer to
320         character for XEmacs.
322 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
324         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
325         compatible.
327 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
329         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
330         variable.
331         (org-set-tags): Use it.
333 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
335         * org-list.el (org-empty-line-terminates-plain-lists): Update
336         docstring.
338         * org.el (org-format-latex): Fix link creation for processed latex
339         snippets.
341 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
343         * org-footnote.el (org-footnote-normalize): Protect replacement
344         text.
346         * org.el (org-inside-latex-macro-p): Save match data.
348 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
350         * org-docview.el: New file.
352 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
354         * org-latex.el (org-export-latex-class-options): New variable.
355         (org-export-latex-set-initial-vars): Use the class options.
357         * org.el (org-forward-same-level): Stop at headings that start
358         with an invisible character.
359         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
361 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
363         * org-footnote.el (org-footnote-normalize): Don't take optional
364         arguments in LaTeX macros as footnotes.
366         * org.el (org-inside-latex-macro-p): New function.
368         * org-latex.el (org-latex-to-pdf-process): Change customization
369         group to `org-export-pdf'.
371         * org-agenda.el (org-agenda-get-blocks): Look at time string also
372         on days after the first one.
374         * org.el (org-insert-heading): Also check for item before assuming
375         before-first-heading condition.
377         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
378         (org-export-pdf-logfiles): New option.
379         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
380         (org-export-pdf-logfiles): Fix customization type.
382         * org.el (org-insert-link): Improve error message when there is no
383         default link to select with RET.
385         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
386         parameter list.
388 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
390         * org-latex.el (org-export-latex-parse-global)
391         (org-export-latex-parse-content)
392         (org-export-latex-parse-subcontent): Use
393         `org-re-search-forward-unprotected'.
394         (org-export-as-pdf): Remove log files produced by XeTeX.
396         * org-macs.el (org-re-search-forward-unprotected): New function.
398 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
400         * org-colview.el (org-agenda-colview-summarize): Sort out some
401         confusion between properties and titles, which resulted in
402         agenda summaries not working if a title was set for a column.
404 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
406         * org-mobile.el (org-mobile-agendas): New option.
407         (org-mobile-sumo-agenda-command): Select the right agendas.
409         * org-latex.el (org-export-latex-format-image): Preserve the
410         original-indentation property.
412 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
414         * org-clock.el (org-clock-insert-selection-line): Catch error when
415         an old tasks no longer exists.
417         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
418         (org-export-as-pdf): Don't remove the old PDF file before making
419         the new one.
421         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
422         (org-mouse-context-menu): Use `org-looking-back'.
424         * org.el (org-cycle-level): Use `org-looking-back'.
426         * org-list.el (org-cycle-item-indentation): Use
427         `org-looking-back'.
429         * org-compat.el (org-looking-back): New function.
431         * org.el (org-insert-heading): Catch before-first-headline when
432         inserting a headline.
434 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org-latex.el (org-export-latex-format-image): Indent figure
437         environment, so that it does not interrupt plain list.
439         * org.el (org-open-at-point): Allow long link descriptions.
441 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
443         * org-html.el (org-export-as-html): Remove empty lines at the
444         beginning of the exported text.
446 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
448         * org-protocol.el (org-protocol-remember): Cater for empty title,
449         region, link.
451         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
452         agenda after adding new entry.
453         (org-agenda-get-represented-tags): New function.
454         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
455         to get a list of tags in the agenda.
457         * org-datetree.el (org-datetree-find-day-create): Fix regular
458         expression.
460         * org.el (org-display-outline-path): Use a format specifier for
461         message, to avoid problems with heading containing `%'.
463         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
464         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
465         (org-agenda-fix-displayed-tags): New function.
466         (org-agenda-do-context-action): Just call
467         `org-display-outline-path', without piping the result through
468         `message'.
470         * org-latex.el (org-export-latex-preprocess): Protect secondary
471         footnote references.
473         * org-indent.el (org-indent-initialize): Avoid empty strings as
474         line prefixes.
476         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
477         hat checking for the mark does not throw an error.
478         (org-agenda-diary-entry-in-org-file): Catch the case that there is
479         not `day' text property in the cursor line.
481         * org.el (org-sort-entries-or-items): Make sure that the final
482         entry has a newline before doing the sorting.
484         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
485         property at the beginning of the line.
487         * org.el (org-make-link-string): Don't allow a description with
488         only white space.
490 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
492         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
493         (org-agenda-insert-diary-as-top-level): New function.
494         (org-agenda-add-entry-to-org-agenda-diary-file): Call
495         `org-agenda-insert-diary-as-top-level'.
497         * org.el (org-occur-in-agenda-files): Make sure none of the
498         buffers is narrowed.
499         (org-activate-plain-links): Add the face property here.
500         (org-set-font-lock-defaults): Do not add the face to plain links,
501         the activator function does this.
503         * org-habit.el (org-is-habit-p): Add doc string.
505 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
507         * org-archive.el (org-archive-subtree-default-with-confirmation):
508         Autoload.
510         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
511         after match optional (happens at the end of a line...).
513         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
514         for special blocks.
516         * org-faces.el (org-copy-face): Set lisp indentation.
517         (org-quote, org-verse): New faces.
519         * org-agenda.el (org-agenda-remove-date): Remove variable.
521 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
523         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
525 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
527         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
528         hash keys to cache and re-use images generated by the
529         org-exp-blocks interface to ditaa and dot.
531 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
533         * org-html.el (org-export-as-html): Move the home/up link into
534         the content div.
536         * org.el (org-export-latex-packages-alist): Option definition
537         moved here from org-latex.el.
539 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
541         * org.el (org-format-latex): Latex images are now saved to files
542         named by the sha1 hash of the latex source text avoiding
543         regeneration of identical images.
545 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
547         * org-html.el (org-export-html-home/up-format): Add an ID to the
548         up/home div.
550 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
552         * org-wl.el (org-wl-store-link): Handle the case that
553         `wl-use-petname' is set.
555         * org.el (org-set-effort): Improve prompt.
556         (org-get-outline-path): Widen to get full path.
557         (org-compact-display-after-subtree-move): Function removed.
559         * org-latex.el (org-export-as-latex): Add the :drawers property.
561 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
563         * org.el (org-speed-commands-user): Allow documentation headlines.
564         (org-speed-commands-default): Organize the value of this constant
565         with descriptive headlines.
566         (org-print-speed-command): Output the headlines.
568 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
570         * org-agenda.el (org-agenda-show-outline-path): New option.
571         (org-agenda-do-context-action): New function.
572         (org-agenda-next-line, org-agenda-previous-line): Use
573         `org-agenda-do-context-action'.
575         * org.el (org-use-speed-commands): Allow function value.
576         (org-speed-commands-default): Make headline motion safe, so that
577         these commands always end on a headline.
578         (org-speed-commands-default): New key `v' for `org-agenda'.
579         (org-speed-move-safe): New function.
580         (org-self-insert-command): Use the function value of
581         `org-use-speed-commands'.
582         (org-get-outline-path): Improve docstring.
583         (org-format-outline-path): New function.
584         (org-display-outline-path): New function.
586 2009-11-12  John Wiegley  <jwiegley@gmail.com>
588         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
589         a string, use that to find the LOGBOOK drawer.
591 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
593         * org.el (org-clone-subtree-with-time-shift): Make it work at the
594         end of the buffer.
596         * org-mobile.el (org-mobile-write-checksums): Specify coding
597         system.
598         (org-mobile-timestamp-buffer): Keep local variable/mode line at
599         beginning of buffer.
601         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
603         * org.el (org-block-todo-from-children-or-siblings-or-parent)
604         (org-block-todo-from-checkboxes): Do not block changes to a nil
605         TODO state.
607 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
609         * org-habit.el (org-habit-parse-todo): Indicate which habit is
610         wrongly set up in the error messages.
612         * org-colview.el (org-columns-display-here): Don't try to
613         calculate values if the underlying property is not set.
614         (org-columns-string-to-number): Convert age strings back into
615         fractional days.
616         (org-agenda-colview-summarize): Handle extended summary types
617         properly.
619         * org-colview-xemacs.el (org-columns-display-here): Don't try to
620         calculate values if the underlying property is not set.
621         (org-columns-string-to-number): Convert age strings back into
622         fractional days.
623         (org-agenda-colview-summarize): Handle extended summary types
624         properly.
626 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
628         * org-exp.el (org-export-format-drawer-function): New variable.
629         (org-export-format-drawer): New function.
630         (org-export-preprocess-string): Pass the backend as a parameter to
631         `org-export-remove-or-extract-drawers'.
632         (org-export-remove-or-extract-drawers): New parameter BACKEND.
634         * org-protocol.el (org-protocol-char-to-string): New defsubst.
636 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
638         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
639         message when no block is selected.
641         * org-latex.el (org-export-latex-links): Check for protectedness
642         in the last matched character, not after the match.
644         * org-datetree.el (org-datetree-find-date-create): Respect
645         restriction when KEEP-RESTRICTION is set.
646         (org-datetree-file-entry-under): New function.
647         (org-datetree-cleanup): New command.
649 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
651         * org-src.el (org-edit-src-code): New optional argument context
652         allows calling functions to avoid altering the saved window
653         configuration.
654         (org-edit-src-exit): Do not restore window configuration when this
655         function is used in the context of saving the edit buffer.
657 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
659         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
660         instances to switching to with-current-buffer, because these seem
661         to cause problems - no idea why.
663         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
664         Require diary-lib for (diary-date-display-form).
666         * org.el (org-log-reschedule, org-log-redeadline): New options.
667         (org-log-note-headings): Add templates for rescheduling and
668         deadline changing.
669         (org-startup-options): Add in-buffer settings for logging changing
670         schedule and deadline time stamps.
671         (org-deadline, org-schedule): Check for existing date and arrange
672         for logging if the user requests it.
673         (org-add-log-note): Prepare proper note buffers for rescheduling
674         and deadline changes.
676 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
678         * org-agenda.el (org-agenda-diary-entry-in-org-file)
679         (org-agenda-add-entry-to-org-agenda-diary-file)
680         (org-agenda-insert-diary-make-new-entry): New functions.
681         (org-agenda-diary-entry): Call
682         `org-agenda-diary-entry-in-org-file' when appropriate.
684         * org.el (org-calendar-insert-diary-entry-key): New option.
685         (org-agenda-diary-file): New option.
686         ("calendar"): Install our insertion function in the calendar.
688         * org-remember.el (org-datetree): Require.
689         (org-remember-templates): Add new positioning option.
690         (org-remember-reference-date): New variable.
691         (org-remember-apply-template): Store the reference date in a local
692         variable.
693         (org-remember-handler): Implement date tree positioning of entries.
695         * org-datetree.el: New file.
697         * org-latex.el (org-export-latex-preprocess): Protect targets in
698         verbatim emphasis.
700         * org-html.el (org-export-as-html): Protect targets in verbatim
701         emphasis.
703         * org-docbook.el (org-export-as-docbook): Protect targets in
704         verbatim emphasis.
706 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
708         * org.el (org-link-display-format): Should be literal replacement.
710 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
712         * org-clock.el (org-show-notification): Handle messages that
713         contain a percent character.
715         * org-remember.el (org-remember-apply-template): Turn of partial
716         completion.
718         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
719         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
721         * org.el (org-indent-mode): Define variable already in org.el.
722         (org-unfontify-region): Remove line-prefix and wrap-prefix
723         properties only if org-indent-mode is active.
725 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
727         * org-icalendar.el (org-print-icalendar-entries): Save match data
728         around call to verify function.
729         (org-print-icalendar-entries): Add a call to the verification
730         function.
732         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
733         save-restrivtion' form.
735 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
737         * org-exp.el (org-export-format-source-code-or-example): restrict
738         scope of preserve-indentp to the let binding.
739         (org-src): require org-src, since org-src-preserve-indentation is used.
741 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
743         * org-timer.el (org-timer-set-timer): Set variables
744         org-timer-timer[123] correctly.
747         * org-mobile.el (org-mobile-files-alist): Make it work when
748         `agenda-archives' is included in
749         `org-agenda-text-search-extra-files'.
750         (org-mobile-push): Restore agenda after mobile push.
752 2009-11-05  John Wiegley  <jwiegley@gmail.com>
754         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
755         way the amount of idle time is presented in the minibuffer.
757 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
759         * org-icalendar.el (org-print-icalendar-entries): Use
760         org-icalendar-verify-function only if non-nil.
762         * org.el (org-refile): Refile to clock only if the prefix arg is
763         2.
764         (org-sparse-tree): Fix docstring to be in line with prompt.
765         (org-update-parent-todo-statistics): Call
766         `org-after-todo-statistics-hook' on each level.
768 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
770         * org-remember.el (org-remember-apply-template): Make sure the
771         buffer exists.
773 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
775         * org.el (org-tab-ind-state): New variable.
776         (org-cycle-level): New function.
777         (org-cycle-level-after-item/entry-creation): New option.
778         (org-flag-subtree): New function.
779         (org-hide-archived-subtrees): Call `org-flag-subtree'.
780         (org-set-effort): Indexed access.
782         * org-list.el (org-cycle-item-indentation): New function.
784         * org.el (org-refile): Make prefix argument 2 refile to current
785         clock.
786         (org-priority): Interpret action `remove' as call to remove the
787         priority cookie.
789         * org-remember.el (org-remember-apply-template): Don't depend on
790         buffer name being like file name.
792 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
794         * org-clock.el (org-clock-play-sound): Expand file in
795         org-clock-sound, to allow ~ for home.
797         * org-remember.el (org-remember-handler): Set
798         text-before-node-creation even if this already looks like a node,
799         because the string might be needed on non-org-mode target files.
801         * org-agenda.el (org-agenda-open-link): Make this work in agenda
802         clocktables.
803         (org-agenda-switch-to): Follow a link at point if
804         org-return-follows-link' is set and there is nothing else to do in
805         this line.
807 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
809         * org-colview-xemacs.el: Add in changes from org-colview.el
811 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
813         * org-exp-blocks.el: Modify split separator regexp to avoid empty
814         strings.
816 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
818         * org-colview.el (org-columns-new): Make this work with the new
819         operators.
820         (org-columns-store-format): Make this work with the new operators.
822 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
824         * org-src.el (org-src-preserve-indentation): Document that this
825         variable is also used during export.
827         * org-exp.el (org-export-format-source-code-or-example): Preserve
828         indentation if a block has a -i option, or if
829         `org-src-preserve-indentation' is set.
831         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
832         indentation if a block has a -i option, or if
833         `org-src-preserve-indentation' is set.
835 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
837         * org.el (org-mode-map): Define the new archiving keys.
838         (org-speed-commands-default): Define an archiving key in the speed
839         command map.
840         (org-org-menu): Improve the menu structure concerning archiving.
842         * org-archive.el (org-archive-subtree-default-with-confirmation):
843         New command.
845         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
846         (org-agenda-menu): Add the new archiving commands to the menu.
847         (org-agenda-archive-default)
848         (org-agenda-archive-default-with-confirmation): New commands.
849         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
850         call `org-agenda-archive-with'.
851         (org-agenda-archive-with): New function.
853         * org-table.el (org-table-convert-region): Inert spaces around "|"
854         to avoid line beginnings like "|-1" which will be mistaken as
855         hlines.
857 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
859         * org.el (org-offer-links-in-entry): Return nil if there are no
860         links, t if a link has been selected.
861         (org-open-at-point): Open attachment directory when called in the
862         headline and there are no links in the entry body.
863         (org-speed-commands-default): Add "o" for open-at-point as a speed
864         command.
866         * org-attach.el (org-attach-reveal): Optional prefix arg
867         IF-EXISTS, which avoids creating the attachment directory if it
868         does not yet exist.
870         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
871         MATCH.
873 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
875         * org.el ("abbrev"): Work with abbrev tables only after they have
876         been loaded.
878         * org-list.el (org-list-send-list): Fix bug related to match
879         data.
881         * org-latex.el (org-export-latex-fontify): Apply verbatim
882         emphasis.
883         (org-export-latex-make-header): Insert \obeylines if line breaks
884         should be preserved.
886         * org-exp.el (org-export-protect-verbatim): Add an
887         `org-verbatim-emph' property to such text.
889 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
891         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
892         (org-print-icalendar-entries): Skip entries where the timestamp is
893         not a deadline and not scheduled, if the user requests that.
895         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
896         before an opening quote.
898         * org-archive.el (org-archive-subtree): Keep archive after
899         archiving something.
901         * org-id.el (org-id-update-id-locations): Add archive files if
902         that is required by `org-id-extra-files'.
904 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
906         * org-src.el (org-src-window-setup): New option.
907         (org-src-switch-to-buffer): New function.
908         (org-edit-src-exit): Add optional argument CONTEXT and use it to
909         restore window configuration.
910         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
911         Call `org-src-switch-to-buffer'.
913         * org.el (org-default-properties): Add STYLE property.
914         (org-files-list): Use the function call to get the files.
915         (org-additional-option-like-keywords): Add SETUPFILE to completion
916         list.
918 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
920         * org-table.el (org-table-convert-region): Correctly interpret
921         quoting in csv import.
923         * org.el (org-icompleting-read): Make iswitchb completion work
924         with lists and tables.
926         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
927         while pushing the mobile agenda.
929 2009-10-25  John Wiegley  <jwiegley@gmail.com>
931         * org-clock.el
932         (org-clock-auto-clock-resolution): Now takes three values: nil, t
933         and `when-no-clock-is-running'.
934         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
935         whether or not to resolve Org buffers on clock in.
937 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
939         * org-colview.el (org-format-time-period): Function to format
940         times in fractional days for display.
941         (org-columns-display-here): Add support for showing a calculated
942         value in place of the property.
943         (org-columns): Set `org-columns-time' to the current time so time
944         difference calculations will work.
945         (org-columns-time): Use to store the current time when column view
946         is displayed, so all time differences will use the same reference
947         point.
948         (org-columns-compile-map): There is now an extra position in each
949         entry specifying the function to use to calculate the displayed
950         value for the non-calculated properties in the column,
951         (org-columns-compute-all): Set `org-columns-time' to the current
952         time so time difference calculations will work.
953         (org-columns-compute): Handle column operators where the values
954         used are calculated from the underlying property.
955         (org-columns-number-to-string): Handle the 'age' column format
956         (org-columns-string-to-number): Correct the function name (was
957         org-column...). Add support for the 'age' column format.
958         (org-columns-compile-format): Support the additional parameter in
959         org-columns-compile-map.
961 2009-10-26  Bastien Guerry  <bzg@altern.org>
963         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
964         variable.
966 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
968         * org-clock.el (org-clock-has-been-used): New variable.
969         (org-clock-in): Set `org-clock-has-been-used'.
970         (org-clock-save): Save only if clock data has been used or created
971         during this session.
973 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
975         * org-clock.el (org-clock-persist): New value, to store only the
976         clock history.
977         (org-clock-save): Don't save the clock if only the history should
978         be stored.
979         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
980         when restoring a saved clock.
982 2009-10-24  John Wiegley  <jwiegley@gmail.com>
984         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
985         `org-time-clock-use-fractional'.
987         * org.el (org-time-clocksum-use-fractional)
988         (org-time-clocksum-fractional-format): Two new customizable
989         variables which allow the user to select fractional times (1.25
990         instead of 1:25) in the `org-clock-display' report.
992 2009-10-23  John Wiegley  <jwiegley@gmail.com>
994         * org-habit.el (org-habit-build-graph): None of the arguments
995         should be optional.
996         (org-habit-parse-todo, org-habit-deadline)
997         (org-habit-get-priority, org-habit-get-faces)
998         (org-habit-build-graph): Further simplifications by storing all
999         past, scheduled and deadline dates as a number of days past the
1000         epoch, and not as times.
1002         * org-habit.el (org-habit-warning-face)
1003         (org-habit-warning-future-face): Removed because these are no
1004         longer used.
1005         (org-habit-deadline, org-habit-deadline-repeat): Now always
1006         returns a date; computed if there was a scheduled repeater but no
1007         deadline repeater.
1008         (org-habit-get-priority): Further improvements to the priority
1009         algorithm.  In particular, items past due should always appear
1010         before items due or not yet due.
1011         (org-habit-get-faces): Greatly simplified the logic, now that
1012         `org-habit-deadline' always returns a valid time.
1014 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1016         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1017         New option.
1019         * org.el (org-tag-alist): Fix customization type.
1021 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1023         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1024         Make sure the regexp search can fail without throwing an error.
1025         (org-mobile-apply): Save the inbox buffer after removing
1026         successfully applied changes.
1028 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1030         * org-habit.el (org-habit-build-graph): Fix to the graph building
1031         when last DONE date is earlier than `org-habit-preceding-days'.
1033         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1034         time is reported after the user comes back (but before they
1035         resolve time).
1037         * org.el (org-get-repeat): Change so that this function can be
1038         called with either `org-scheduled-string' or
1039         `org-deadline-string'.
1041         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1042         to find the scheduled date.
1044         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1045         `org-clock-disable-clock-resolution', since negatives don't sound
1046         good in customization variables.
1047         (org-clock-in): Don't use the auto-resolution logic if the user is
1048         clocking into a different task while an active clock is running.
1049         This then allows the default behavior of clocking out of the open
1050         task and then into the new task.
1052         * org-habit.el (org-habit-parse-todo): Generate an error if a
1053         habit has a scheduled repeat period < 1.
1054         (org-habit-get-faces): Fixes to the way that colors are computed.
1055         (org-habit-build-graph): The graph wasn't displaying beyond any
1056         day that had two completions in it.
1058         * org.el (org-modules): Made this variable more consistent, since
1059         it was referring to Org, OrgMode and Org-mode, whereas the docs
1060         for the variable always refer to Org-mode.
1062 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1064         * org.el (org-repeat-re): The changed org-repeat-re no longer
1065         matched simple +2d type repeaters. Fix it so it does.
1067 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1069         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1070         macro in the VERSE environment.
1072 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1074         * org-habit.el (org-habit-get-priority): A new function that
1075         determines the relative priority of a habit, based on how long
1076         past its scheduled date it is, and how near the deadline is.
1078         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1079         using `org-habit-get-priority'.
1081         * org-habit.el (org-habit-build-graph): Start displaying colors
1082         from the first scheduled date, if that date is earlier than the
1083         first completion date.
1085         * org-habit.el: Changed all "color" variables to faces, and made
1086         them appropriate for light and dark backgrounds.
1088         * org-habit.el (org-habit-duration-to-days): Made this function
1089         more general.
1090         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1092         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1093         habits, since they don't use DEADLINE anymore.
1095         * org.el (org-repeat-re, org-display-custom-time)
1096         (org-timestamp-change): Extended to support the new ".+N/N"
1097         syntax, used for habits.
1099         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1100         variable reference.
1102         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1103         modeline when habits are being displayed (if that module is being
1104         loaded).
1106 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1108         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1109         idle time using the xscreensaver extension.
1110         (org-user-idle-seconds): Use X11 idle time if available.
1112 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1114         * org-agenda.el (org-agenda-next-line): New command.
1115         (org-agenda-previous-line): New commands.
1116         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1117         commands.
1118         (org-agenda-follow-mode): Do the follow immediately if the mode is
1119         turned on here.
1120         (previous-line, next-line): Replace keys with the corresponding
1121         org functions.
1122         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1123         command.
1125         * org.el (org-icompleting-read): Turn off partial completion mode
1126         for the duration of this completion round.
1128         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1129         macros in author lines and similar stuff.
1131         * org.el (org-file-tags): Fix docstring.
1132         (org-get-buffer-tags): Add the #+FILETAGS tags.
1133         ("ecb"): Maks ecb show context after jumping into an Org file.
1135 2009-10-20  John Wiegley  <johnw@newartisans.com>
1137         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1138         graphs after everything else in the buffer has been setup.
1140 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1142         * org-mobile.el (org-mobile-apply): Count success and failure.
1144         * org.el (org-indent-line-function): Fix regexp replace problem.
1146 2009-10-19  John Wiegley  <johnw@newartisans.com>
1148         * org-clock.el (org-clock-disable-clock-resolution): New
1149         customization variable that disable automatic clock resolution on
1150         clock in.
1151         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1152         not automatically resolve anything.  This is does not affect
1153         idle-time resolution, however, if `org-clock-idle-time' is set.
1155 2009-10-19  John Wiegley  <johnw@newartisans.com>
1157         * org-habit.el: New file, which implements code to build a "habit
1158         consistency graph".
1160         * org-agenda.el (org-agenda-get-deadlines)
1161         (org-agenda-get-scheduled): Display consistency graphs when
1162         outputting habits into the agenda.  The graphs are always relative
1163         to the current time.
1164         (org-format-agenda-item): Added new parameter `habitp', which
1165         indicates whether we are formatting a habit or not.  Do not
1166         display "extra" leading information if habitp is true.
1168         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1169         leaders for repeat strings.
1170         (org-get-repeat): Now takes a string parameter `tagline', so the
1171         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1173 2009-10-19  John Wiegley  <johnw@newartisans.com>
1175         * org-agenda.el (org-agenda-auto-exclude-function): New
1176         customization variable for allowing the user to create an "auto
1177         exclusion" filter for doing context-aware auto tag filtering.
1178         (org-agenda-filter-by-tag): Changes to support the use of
1179         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1181 2009-10-18  John Wiegley  <johnw@newartisans.com>
1183         * org.el (org-files-list): Don't attempt to return a file name for
1184         Org buffers which have no associated file.
1186         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1188 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1190         * org-mobile.el (org-mobile-locate-entry): Interpret files
1191         relative to org-directory.
1192         (org-mobile-inbox-for-pull): Document the best location for this
1193         file.
1194         (org-mobile-check-setup): Verify `org-directory'.
1195         (org-mobile-create-index-file): Sort the files to be listed in
1196         index.org.
1198 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1200         * org.el (org-fast-tag-selection): Add a way to display a
1201         description for a tag group. This is done by adding a string to
1202         either the startgroup or endgroup cell.
1204 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1206         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1207         (org-emacs-idle-seconds): Use `org-float-time' instead of
1208         `time-to-seconds'
1210 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1212         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1213         type.
1215         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1216         the value of ARG when doing local cycling.
1218 2009-10-17  John Wiegley  <johnw@newartisans.com>
1220         * org-clock.el (org-clock-resolve-clock): If keeping or
1221         subtracting time results in a clock out at a time in the past, and
1222         if the resolution occurred due to idleness or invoking `M-x
1223         org-resolve-clocks', remember that past moment in time.  On the
1224         next clock in, the user will be prompted to see if they want to
1225         back-date their new clock to then.
1226         (org-clock-resolve): Do not jump the user to the location of a
1227         dangling clock if the resolution is occuring due to an idle
1228         timeout.  In that case there is typically only one dangling clock,
1229         the active one, and there is no value gained by shuffling their
1230         windows around to show it to them.  Being prompted to resolve an
1231         idle clock should be as inobtrusive as possible.
1232         (org-resolve-clocks-if-idle): New function that resolves only the
1233         currently active clock if the user has exceeded the time returned
1234         by `org-user-idle-seconds', based on the value of
1235         `org-clock-idle-time'.
1236         (org-clock-in): If, after resolving clocks,
1237         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1239         * org-clock.el (org-clock-resolve-clock): New function that
1240         resolves a clock to a specific time, closing or resuming as need
1241         be, and possibly even starting a new clock.
1242         (org-clock-resolve): New function used by `org-resolve-clocks'
1243         that sets up for the call to `org-clock-resolve-clock'.  It
1244         determines the time to resolve to based on a single-character
1245         selection from the user to either keep time, subtract away time or
1246         cancel the clock.
1247         (org-resolve-clocks): New user command which resolves dangling
1248         clocks -- that is, open but not active -- anywhere in the file
1249         list returned by `org-files-list'.
1250         (org-clock-in): Automatically resolve dangling clocks whenever a
1251         user clocks in.
1252         (org-clock-cancel): If the user cancels the solely clock in a
1253         LOGBOOK, remove the empty drawer.
1255         * org-clock.el (org-clock-idle-time): New user customizable option
1256         for detecting whether the user has left a clock idle.  Note: it is
1257         only used in this commit to test whether it's worthwhile to check
1258         OS X to get the Mac user's current idle time.  If the Emacs idle
1259         time is less than the value, the user hasn't been away long enough
1260         to be worth checking (a more expensive test than just getting
1261         Emacs idle time).
1262         (org-user-idle-seconds, org-mac-idle-seconds)
1263         (org-emacs-idle-seconds): This three functions, in conjunction
1264         with the user customization variable `org-clock-idle-time', return
1265         the number of seconds (as a floating point) that the user has been
1266         away from their Emacs (or, if running on OS X, their computer).
1268         * org-clock.el (org-find-open-clocks): New function that returns a
1269         list of all open clocks in the given FILE.  Note that each clock
1270         it returns is a cons cell of the format (MARKER . START-TIME).
1271         This "clock" value is used by several of the new clock module
1272         utility functions.
1273         (org-is-active-clock): New inline function which tests whether the
1274         given clock value is the same as the currently active clock.
1275         Returns non-nil if this is the case.
1276         (org-with-clock-position): New macro that evaluates FORMS with
1277         point in the buffer and at the position of the given clock.
1278         Changes to the current clock are global.
1279         (org-with-clock): New macro that evaluates FORMS with point in the
1280         buffer and at the position of the given clock.  However, changes
1281         to the current clock are local and have no effect on the user's
1282         active clock.  This allows, for example, far any clock to be
1283         cancelled without cancelling the active clock.
1284         (org-clock-clock-in): New inline function that switches the active
1285         clock to the given clock.  If either the argument RESUME, or the
1286         global `org-clock-in-resume', are non-nil, it will resume a clock
1287         that was previously left open.
1288         (org-clock-clock-out): New inline function that clocks out the
1289         given clock value without affecting the currently active clock.
1290         (org-clock-clock-cancel): New inline function that cancels the
1291         given clock value without affecting the currently active clock.
1293         * org-clock.el (org-clock-in): Before creating
1294         `org-clock-mode-line-timer', check to make sure an older timer is
1295         not currently running.
1296         (org-clock-out): Accept new third parameter `at-time', which
1297         permits a clock to be clocked out at a specific time.  Note that
1298         no attempt is made to verify that the clock out time is later than
1299         the clock in time.
1301         * org.el (org-files-list): New utility function for returning a
1302         list of all open org-mode buffers, plus all files used to build
1303         the agenda buffer.  Note that not all the files will necessarily
1304         be visited by a buffer at time of call.
1305         (org-entry-beginning-position): Like the function
1306         `line-beginning-position', this inline function returns the
1307         beginning position of the current heading/entry.
1308         (org-entry-end-position): Like the function `line-end-position',
1309         this inline function returns the end position of the current
1310         heading/entry.
1312 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1314         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1315         a header line.
1317 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1319         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1321 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1323         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1324         entries that have no tags.
1325         (org-agenda-search-view): New customize group.
1326         (org-agenda-search-view-search-words-only): New option.
1327         (org-search-view): Implement substring search.
1329 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1331         * org.el (org-outline-level): Add doc string.
1333 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1335         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1336         variable.
1337         (org-inlinetask-export-handler): Only export inline task if the
1338         user option calls for it.
1340 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1342         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1343         END if present.
1345 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1347         * org-latex.el (org-export-latex-tables): Don't format in
1348         protected regions.
1350 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1352         * org-src.el (org-edit-src-code)
1353         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1354         macro editing.
1356         * org-agenda.el (org-prefix-category-max-length): New variable.
1357         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1358         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1360 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1362         * org-mobile.el (org-mobile-create-index-file): Improve the
1363         listing of tags and todo keywords.
1365         * org-latex.el (org-export-latex-format-image): New function.
1366         (org-export-latex-links): Use `org-export-latex-format-image'.
1368 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1370         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1371         (org-inlinetask-remove-terminator): New functions.
1372         (org-inlinetask-export-handler): Terminate the description list.
1374         * org-exp.el (org-export-select-backend-specific-text): Remove the
1375         region markers.
1377         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1378         tasks without content.
1380         * org-clock.el: Make sure the clock-in target position does not
1381         move to a different node by widening the buffer.
1383         * org-html.el (org-export-html-format-image): Wrap image into
1384         figure div only when there is a caption.
1386         * org-archive.el (org-archive-mark-done): Change default value to
1387         nil.
1389 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1391         * org.el (org-context): Call `bobp', not `eobp'.
1393         * org-clock.el (org-clock-cancel): Remove quotes from marker
1394         variables.
1396         * org.el (org-read-date-prefer-future): New allowed value `time'.
1397         (org-read-date-analyze): Shift day to tomorrow depending on time
1398         entered and value of `org-read-date-prefer-future'.
1400 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1402         * org.el (org-set-tags-to): New command.
1404         * org-mobile.el (org-mobile-action-alist): Add more options and
1405         update the docstring.
1406         (org-mobile-apply-flags): Parse for and use the data.
1408         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1409         the plist.
1411         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1412         keyword.
1414         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1416 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1418         * org-inlinetask.el (org-inlinetask-export): Option removed.
1419         (org-inlinetask-export-handler): Better export.
1421         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1422         (org-export-as-xoxo): Run the new hook.
1424         * org-html.el (org-export-html-final-hook): New hook.
1425         (org-export-as-html): Run the new hook.
1427         * org-docbook.el (org-export-docbook-final-hook): New hook.
1428         (org-export-as-docbook): Run the new hook.
1430         * org-ascii.el (org-export-ascii-final-hook): New hook.
1431         (org-export-as-ascii): Run the new hook.
1433         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1434         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1436         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1437         space character as the character before the ^/_.
1438         (org-export-latex-final-hook): New hook.
1439         (org-export-as-latex): Run `org-export-latex-final-hook'.
1441 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1443         * org-macs.el (org-if-unprotected-at): Fix docstring.
1445         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1446         text in the prefix (if category is a link).
1448         * org-latex.el (org-export-latex-preprocess): Deal properly with
1449         empty lines in verse environments.
1451         * org.el (org-format-latex-header): Inline fullpage.sty.
1453         * org-footnote.el (org-footnote-create-definition): Reveal context
1454         to add a new footnote definition.
1456         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1457         the index file.
1458         (org-mobile-files): New option.
1459         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1460         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1461         functions.
1462         (org-mobile-push): Start by creating the files lists.
1463         (org-mobile-copy-agenda-files): Move killing the buffer to after
1464         the save-excursion has exited.
1465         (org-mobile-write-checksums): Write checksums also for files in
1466         sub-directories.
1468         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1469         org-table-recalculate when cursor is in TBLFM line.
1471         * org-list.el (org-renumber-ordered-list): Fix cursor position
1472         when bullet length has changed.
1474 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1476         * org.el (org-format-latex): Mention `org-format-latex-options' in
1477         the docstring.
1479 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1481         * org.el (org-agenda-get): New function.
1483         * org-agenda.el (org-agenda-post-command-hook): No longer move
1484         point away from end of line.
1485         (org-agenda-add-entry-text, org-agenda-collect-markers)
1486         (org-finalize-agenda, org-agenda-mark-clocking-task)
1487         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1488         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1489         (org-agenda-compare-effort, org-agenda-filter-apply)
1490         (org-agenda-later, org-agenda-change-time-span)
1491         (org-agenda-post-command-hook, org-agenda-show-priority)
1492         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1493         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1494         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1495         (org-agenda-open-link, org-agenda-copy-local-variable)
1496         (org-agenda-switch-to, org-agenda-check-no-diary)
1497         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1498         (org-agenda-add-note, org-agenda-change-all-lines)
1499         (org-agenda-priority, org-agenda-set-tags)
1500         (org-agenda-set-property, org-agenda-set-effort)
1501         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1502         (org-agenda-show-new-time, org-agenda-date-prompt)
1503         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1504         (org-agenda-clock-in, org-agenda-bulk-mark)
1505         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1506         `org-get-at-bol'.
1508         * org-colview.el (org-columns-display-here)
1509         (org-columns-edit-allowed, org-agenda-columns): Use
1510         `org-get-at-bol'.
1512 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1514         * org.el (org-special-ctrl-a/e): Improve documentation and
1515         customize type.
1516         (org-end-of-line): Don't jump to after the ellipsis.
1517         (org-mode-map): Bind <home> and <end> as well.
1519 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1521         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1522         space after #+ as comments.
1523         (org-open-at-point): Run `org-follow-link-hook' always.
1525         * org-latex.el (org-export-latex-emph-format): Use better commands
1526         to insert special characters in verbatim snippets.
1528 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1530         * org-faces.el (org-copy-face): New function.  Use it to create
1531         various faces formerly created by using `copy-face'.
1533         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1534         window dedicated.
1535         (org-agenda-quit): Kill the frame containing the agenda window if
1536         that frame was created for the agenda.
1538 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1540         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1541         stamp in the agenda.
1543 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1545         * org-mobile.el (org-mobile-create-index-file): Add the list of
1546         TODO keywords, and the list of drawers to the index file.
1548         * org-agenda.el (org-prepare-agenda): Reset
1549         `org-drawers-for-agenda'.
1550         (org-prepare-agenda): Uniquify list of drawers.
1552         * org.el (org-complex-heading-regexp-format): New variable.
1553         (org-set-regexps-and-options): Define
1554         `org-complex-heading-regexp-format'.
1555         (org-drawers-for-agenda): New variable.
1556         (org-map-entries): Bind `org-drawers-for-agenda'.
1557         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1559         * org-remember.el (org-go-to-remember-target)
1560         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1562 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1564         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1565         problem.
1567         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1568         the capture file, and make it non-configurable.
1570         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1571         always with `invisible-ok'.
1572         (org-store-link): No error when there is nothing to link to in the
1573         agenda.
1575         * org-list.el (org-update-checkbox-count): Insert changed cookie
1576         before the old, to avoid problems with invisibility at the end of
1577         the line.
1578         (org-update-checkbox-count): Insert changed cookie before the old,
1579         to avoid problems with invisibility at the end of the line.
1581         * org.el (org-sort-entries-or-items): Include the final newline.
1582         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1583         lines for fontification.
1584         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1585         (org-prepare-dblock): Store the current indentation of the BEGIN
1586         line.
1587         (org-update-dblock): Apply the indentation of the begin line to
1588         the rest of the block.
1589         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1590         (org-startup-folded): New allowed value `showeverything'.
1591         (org-startup-options): Add STARTUP keyword `showeverything'.
1592         (org-set-startup-visibility): Respect value `showeverything' in
1593         org-startup-folded.
1595 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1597         * org.el (org-closest-date): Fix issue with past preference.
1599         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1601         * org-archive.el (org-archive-set-tag)
1602         (org-archive-subtree-default): New commands.
1604         * org-mobile.el (org-mobile-create-index-file): Fix link to
1605         capture file.
1606         (org-mobile-copy-agenda-files): Create the capture file if it does
1607         not exist.
1609         * org-clock.el (org-clock-clocktable-default-properties): New
1610         option.
1611         (org-clock-report): Use
1612         `org-clock-clocktable-default-properties'.
1614 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1616         * org.el (org-iswitchb-completing-read): Fix typo.
1618         * org-crypt.el: New file.
1620         * org.el: Add an entry for org-crypt.
1622 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1624         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1625         consistency.
1626         (org-batch-store-agenda-views): New function.
1627         (org-mobile-force-id-on-agenda-items): Mention variable.
1628         (org-agenda-title-append): Define variable.
1629         (org-write-agenda): New export to Org files.
1630         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1631         (org-agenda): Allow to keep the restricted file list if a special
1632         variable is bound to t.
1633         (org-agenda): Define a special agenda view for working on flagged
1634         entries.
1635         (org-agenda-get-restriction-and-command): List the new agenda
1636         view.
1637         (org-agenda-show-the-flagging-note): New command.
1638         (org-agenda-mode-map): New key `?' for looking at the flagging
1639         note.
1641         * org.el (org-autoload): Autoload org-mobile.el.
1642         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1644         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1646 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1648         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1649         statements.
1650         (org-table-get-remote-range): Match indented #+TBLNAME
1651         statements.
1653         * org.el (org-convert-to-odd-levels)
1654         (org-convert-to-oddeven-levels): Work also correctly if the file
1655         is in outline-mode.
1657 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1659         * org.el (org-store-link): When in agenda buffer, link to
1660         referenced entry.
1661         (org-add-planning-info): Remove spaces at eol.
1663         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1664         property.
1666 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1668         * org-latex.el (org-export-latex-first-lines): Fix problem with
1669         LaTeX export of first line and selected subtree.
1671         * org.el (org-shifttab): Interpret arg differently when using only
1672         odd levels.
1674 2009-09-09  Bastien Guerry  <bzg@altern.org>
1676         * org.el (org-check-agenda-file): Use a more explicit message
1678 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1680         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1681         normal lines.
1683 2009-09-08  Bastien Guerry  <bzg@altern.org>
1685         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1686         prompt in the temporary window.
1688         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1689         prefix for marked entries in the agenda view.
1691 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1693         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1694         a way that prevents any trailing character from being displayed.
1696 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1698         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1699         menu.
1701         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1702         slow regexp match.
1704 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1706         * org-latex.el (org-export-latex-preprocess): Do not protect in
1707         the LaTeX header.
1709         * org-src.el (org-edit-src-save): Save window setup while saving.
1710         (org-edit-src-code): Use new buffer name construction scheme.
1712 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1714         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1715         variable.
1716         (org-agenda-entry-text-cleanup-hook): New hook.
1717         (org-agenda-get-some-entry-text): Remove matches of
1718         `org-agenda-entry-text-exclude-regexps' and run the hook
1719         `org-agenda-entry-text-cleanup-hook'.
1721         * org.el (org-offer-links-in-entry): New argument ZERO to
1722         implement a link with index zero.
1723         (org-cycle-show-empty-lines): Not keep empty line under header
1724         hidden.
1725         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1726         to nil for special completion.
1727         (org-store-link): Don't error before the first heading.
1729         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1730         `org-offer-links-in-entry'.
1732 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1734         * org-agenda.el (org-agenda-quit): Provide the window argument for
1735         `window-dedicated-p', Emacs 22 needs it.
1736         (org-format-agenda-item): If the category is a link, arrange for
1737         invisible text to replaced with spaces.
1738         (org-compile-prefix-format): Add the extra space.
1739         (org-prefix-category-length): New variable.
1741         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1742         references from TOC lines.
1744         * org.el (org-selected-window): New variable.
1746         * org-table.el (org-table-edit-formulas): Remember the selected
1747         window.
1748         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1749         that was originally selected.
1751         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1752         expansion of a macro for more macro definitions.
1754         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1755         invisibility overlay starts on the newline.
1757 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1759         * org-protocol.el (org-protocol-store-link)
1760         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1762         * org-compat.el (org-float-time): New function.
1764         * org.el (org-clock-update-time-maybe)
1765         (org-sort-entries-or-items, org-do-sort)
1766         (org-evaluate-time-range, org-time-string-to-seconds)
1767         (org-closed-in-range): Use `org-float-time'.
1769         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1770         (org-timer-seconds):  Use `org-float-time'.
1772         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1773         (org-clock-sum, org-dblock-write:clocktable)
1774         (org-clocktable-steps):  Use `org-float-time'.
1776         * org-agenda.el (org-agenda-last-marker-time)
1777         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1779         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1780         function.
1782         * org-exp.el (org-get-file-contents): Only protect lines that
1783         really need it.
1785         * org-html.el (require): Require cl for compilation.
1787         * org.el:  Avoid using `default-major-mode'.
1789         * org-plot.el (require): Require CL only at compile time.
1791         * org-exp.el (require): Require CL only at compile time.
1793         * org-agenda.el (org-agenda-quit): When the agenda window is
1794         dedicated, remove other windows before exiting, so that the frame
1795         really will be killed.
1797         * org-exp.el (org-export-handle-include-files): Reset START and
1798         END for each loop cycle.
1800 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1802         * org.el (org-eval-in-calendar): Use
1803         `org-select-frame-set-input-focus'.
1805         * org-compat.el (org-select-frame-set-input-focus): New function.
1807         * org.el (org-update-statistics-cookies): New function.
1808         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1810 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1812         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1813         after the local variables are set.
1815         * org-latex.el (org-export-latex-protect-amp): New function.
1816         (org-export-latex-links): Protect link ampersands in tables.
1818         * org-exp.el (org-export-select-backend-specific-text): Match in
1819         two steps, to avoid regexp problems.
1821         * org.el (org-offer-links-in-entry): Improve working with many and
1822         duplicate links.
1824         * org-agenda.el (org-agenda-show-1): Make more consistent with
1825         normal cycling.
1826         (org-agenda-cycle-show): Make more consistent with normal cycling.
1828         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1829         website.
1831 2009-08-30  Bastien Guerry  <bzg@altern.org>
1833         * org-latex.el (org-export-latex-first-lines): Bugfix.
1835 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1837         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1838         about new effort.
1840         * org.el (org-set-effort): New function.
1841         (org-mode-map): New key for effort setting command.
1843         * org-agenda.el (org-agenda): Keep window setup when calling
1844         agenda from within agenda window.
1845         (org-agenda-mode-map): New keys for effort setting commands.
1846         (org-agenda-menu): Add effort setting commands to menu.
1847         (org-agenda-set-property, org-agenda-set-effort): New functions.
1849         * org-latex.el (org-export-latex-tables): Fix
1850         `org-table-last-alignment' and `org-table-last-column-widths' if
1851         the first column has been removed.
1853 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1855         * org.el (org-remove-timestamp-with-keyword): Only remove in
1856         entry, not in subtree.
1858         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1859         emacs lisp.
1861         * org.el (org-open-at-point): When on headline, offer all strings
1862         in entry.
1864         * org-remember.el (org-remember-templates): Documentation fix.
1866         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1867         `org-get-last-sibling' instead of the outline versions of these
1868         functions.
1869         (org-get-last-sibling): New function.
1870         (org-refile): Use `org-get-next-sibling' instead of the outline
1871         version of this function.
1872         (org-clean-visibility-after-subtree-move): Use
1873         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1874         outline versions of these functions.
1876 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1878         * org-agenda.el (org-prepare-agenda): When creating a new frame
1879         for the agenda, make the window dedicated.
1881         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1883         * org-table.el (org-table-align): Change the order of reinsertion
1884         and deletion, to avoid problems with overlays following the table.
1886         * org.el (org-parse-time-string): Better error message.
1887         (org-show-subtree): Use org-end-of-subtree.
1889         * org-macs.el (org-goto-line): New defsubst.
1891         * org.el (org-open-file, org-change-tag-in-region)
1892         (org-fast-tag-show-exit): Don't use `goto-line'.
1894         * org-table.el (org-table-align, org-table-insert-column)
1895         (org-table-delete-column, org-table-move-column)
1896         (org-table-sort-lines, org-table-copy-region)
1897         (org-table-paste-rectangle, org-table-wrap-region)
1898         (org-table-get-specials, org-table-rotate-recalc-marks)
1899         (org-table-get-range, org-table-recalculate)
1900         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1901         (org-table-show-reference, org-table-highlight-rectangle): Don't
1902         use `goto-line'.
1904         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1905         (org-edit-src-exit): Don't use `goto-line'.
1907         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1909         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1910         Don't use `goto-line'.
1912         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1914         * org-colview.el (org-columns, org-columns-redo)
1915         (org-agenda-columns): Don't use `goto-line'.
1917         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1918         use `goto-line'.
1920         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1921         (org-agenda-add-entry-text-maxlines): Improve docstring.
1922         (org-agenda-start-with-entry-text-mode): New option.
1923         (org-agenda-entry-text-maxlines): New option.
1924         (org-agenda-entry-text-mode): New variable.
1925         (org-agenda-mode): Set initial value of
1926         `org-agenda-entry-text-mode'.
1927         (org-agenda-mode-map): Add the `E' key.
1928         (org-agenda-menu): Add entry text mode to the menu.
1929         (org-agenda-get-some-entry-text): Fix line count bug.
1930         (org-finalize-agenda): Apply entry text mode if appropriate.
1931         (org-agenda-entry-text-show-here): New function.
1932         (org-agenda-entry-text-show): New function.
1933         (org-agenda-entry-text-hide): New function.
1934         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1935         key menu.
1936         (org-agenda-entry-text-mode): New command.
1937         (org-agenda-set-mode-name): Add entry text mode to the mode line
1938         string.
1939         (org-agenda-undo, org-agenda-get-restriction-and-command)
1940         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1941         `goto-line'.
1943 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1945         * org-clock.el (org-notify): Bugfix.
1947 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1949         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1950         check for after-string.
1952         * org-gnus.el (org-gnus-store-link): Simplify.
1954         * org.el (org-latex-regexps): Don't add extra empty lines for
1955         display formulas.
1957 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1959         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1960         (org-agenda-add-entry-text): Use
1961         `org-agenda-get-some-entry-text'.
1963         * org.el (org-cycle-separator-lines): Update docstring.
1964         (org-cycle-show-empty-lines): Handle negative values for
1965         `org-cycle-show-empty-lines'.
1967         * org-exp.el (org-export-protect-sub-super): New function.
1968         (org-export-normalize-links): Protect the url of plain links from
1969         supscript and superscript processing.
1971         * org-remember.el (org-remember-escaped-%): New function.
1972         (org-remember-apply-template): Use `org-remember-escaped-%' to
1973         detect escaped % signs.
1975 2009-08-23  Bastien Guerry  <bzg@altern.org>
1977         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1978         sound when showing the notification.
1980         * org-clock.el (org-notify): New function.
1981         (org-clock-notify-once-if-expired): Use `org-notify'.
1983         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1984         and `gnus-article-mode' separately.
1985         (gnus-summary-article-header): Fix the declare-function.
1987 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1989         * org-exp.el (org-export-format-source-code-or-example): Translate
1990         language.
1992         * org-src.el (org-src-lang-modes): New variable
1993         (org-edit-src-code): Translate language.
1995         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1996         the new structure of the `org-export-latex-listings-langs'
1997         variable.
1999         * org-latex.el (org-export-latex-listings-langs): Change structure
2000         of the variable from plist to alist.
2002 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2004         * org.el (org-in-commented-line): New function.
2006 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2008         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2010 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2012         * org.el (org-flag-drawer): More useful error.
2014 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2016         * org-remember.el (org-remember-apply-template): Use
2017         org-icompleting-read.
2019         * org-publish.el (org-publish): Use org-icompleting-read.
2021         * org-colview.el (org-columns-edit-value, org-columns-new)
2022         (org-insert-columns-dblock): Use org-icompleting-read.
2024         * org-colview-xemacs.el (org-columns-edit-value)
2025         (org-columns-new, org-insert-columns-dblock): Use
2026         org-icompleting-read.
2028         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2029         org-icompleting-read.
2031 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2033         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2034         (org-version): Return the version text.
2035         (org-org-menu): Add a menu entry for the new bug reporter.
2036         (org-submit-bug-report): New command.
2038         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2039         docstring.
2041         * org.el (org-emphasis-regexp-components): Add "`" to set of
2042         pre-emphasis characters.
2044         * org-latex.el (org-export-latex-classes): Always include the soul
2045         package.
2046         (org-export-latex-emphasis-alist): Use \st for strikethough.
2048         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2049         `indent-code-rigidly' to indent.
2051         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2052         properties only if MATCH really is a string.
2054 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2056         * org-latex.el (org-export-latex-packages-alist): Fix
2057         customization type.
2059         * org.el (org-create-formula-image): Also use
2060         `org-export-latex-packages-alist'.
2062         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2063         (org-export-as-html): Format footnotes correctly.
2065 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2067         * org.el (org-fast-tag-selection): Avoid text properties on tags
2068         in the alist.
2070         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2071         text properties on the match element.
2073 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2075         * org.el (org-set-regexps-and-options): Make sure the list of done
2076         keywords is not invalid.
2078         * org-exp.el (org-export-interpolate-newlines): New function.
2080 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2082         * org.el (org-format-latex): Avoid nested overlays.
2084         * org-latex.el (org-export-latex-listings-langs): Add a few more
2085         languages.
2087         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2088         ignore newlines and space before the first macro argument.
2090         * org-latex.el (org-export-latex-tables): Remove save-excursion
2091         around `org-table-align'.
2093 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2095         * org.el (org-export-html-special-string-regexps): Definition
2096         moved into org.el
2098         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2099         in macro calls.
2101 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2103         * org-latex.el (org-export-latex-listings)
2104         (org-export-latex-listings-langs): New options.
2106         * org-exp.el (org-export-format-source-code-or-example): Use
2107         listing package if requested by the user.
2109 2009-08-08  Bastien Guerry  <bzg@altern.org>
2111         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2112         command before actually switching to a buffer.
2114 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2116         * org-exp.el (org-get-file-contents): Only quote org lines when
2117         the markup is src or example.
2119         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2120         New option
2121         (org-agenda-get-day-entries): Remember deadline results and pass
2122         them on into the function getting the scheduling information.
2123         (org-agenda-get-scheduled): Accept deadline results as parameters
2124         and maybe skip some entries.
2125         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2127         * org.el (org-insert-heading): When respecting content, do not
2128         convert current line to headline.
2130         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2131         cheeeeeck the hd marker
2132         (org-clock-in): Also set the hd marker.
2133         (org-clock-out): Also set the hd marker.
2134         (org-clock-cancel): Reset markers.
2136         * org.el (org-clock-hd-marker): New marker.
2138         * org-faces.el (org-agenda-clocking): New face.
2140         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2141         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2143         * org.el (org-modules): Add org-track.el.
2145         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2146         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2147         `org-agenda-bulk-marked-p'.
2148         (org-agenda-bulk-toggle): New command.
2150 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2152         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2153         not just the body.
2155         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2156         messages.
2158 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2160         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2161         before gnuplot can read it.
2163 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2165         * org-latex.el (org-export-latex-first-lines): Fix bug with
2166         finding the end of the first lines.
2168         * org.el (org-create-formula-image): Remove the -E option for
2169         dvipng.
2171         * org-exp.el (org-default-export-plist): Respect #+BIND.
2172         (org-export-confirm-letbind): New function.
2174         * org.el (org-paste-subtree): Test the kill ring entry if it is
2175         going to be used.
2176         (org-copy-subtree): Use `org-forward-same-level'.
2177         (org-forward-same-level): Respect the `invisibe-ok' arg for
2178         back-to-heading.
2180 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2182         * org.el (org-table-map-tables): Make sure cursor is back at table
2183         beginning after funcall.
2185         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2186         handled before children, and do not error if an entry is not
2187         found, probably because it hase been remove when the parent was
2188         archived or refiled.
2190         * org.el (org-ido-completing-read): Accept straight lists for
2191         completion as well as alists.
2193         * org-html.el (org-export-as-html): Fix parenthesis error in
2194         footnore code.
2196         * org-timer.el (org-timer-cancel-timers): Renamed from
2197         `org-timer-cancel-timers'.
2199         * org.el (org-cycle-internal-local): Fix problem with finding next
2200         invisible line.
2202 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2204         * org-list.el (org-list-send-list): Call
2205         `org-list-goto-true-beginning' instead of
2206         `org-list-find-true-beginning', which does not exist.
2208         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2209         (org-timer-set-timer): Do not assign to heading.
2211         * org-id.el (org-id-open): Quote function name.
2213         * org-macs.el (org-unmodified): Turn off recording undo
2214         information while running inside the macro.
2216         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2217         variable.
2218         (org-indent-mode): Remember and restore value of
2219         org-hide-leading-stars before `org-indent-mode'.
2221         * org-table.el (org-table-export): Also work in file-less
2222         buffers.
2224         * org.el (org-startup-indented): New option.
2225         (org-startup-options): Add new options indent and noindent.
2226         (org-unfontify-region): Remove line-prefix and wrap-prefix
2227         properties.
2228         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2229         hooks.
2230         (org-promote, org-demote): Run the new hooks.
2232         * org-table.el (org-table-align): Replace leading \n as well.
2234         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2235         and `line-wrap' text properties.
2237         * org-compat.el (org-kill-new): New function.
2239         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2240         `line-wrap' text properties.
2242         * org-indent.el: New file.
2244 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2246         * org.el (org-provide-todo-statistics): Tweak docstring.
2248         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2250 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2252         * org-exp.el (org-export-as-org): Insert the "-source" string
2253         before the extension.
2255         * org.el (org-read-date): Make sure the calendar is in the current
2256         frame.
2257         (org-set-emph-re): Remove the ? from the post-match.
2258         (org-emphasis-regexp-components): Add backslash to the
2259         postmatch class.
2260         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2261         optional so that also lines at the end of the buffers will still
2262         be matched as headlines.
2264         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2265         Variable made obsolete.
2266         (org-table-relative-ref-may-cross-hline): New option.
2267         (org-table-find-row-type): Honow the new option
2268         `org-table-relative-ref-may-cross-hline'.
2270 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2272         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2273         on single field if no active region.
2275 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2277         * org-latex.el (org-export-latex-make-header): Only insert title
2278         if one is defined.
2280         * org.el (org-make-options-regexp): Allow empty values.
2282         * org-html.el (org-export-as-html): Move hrule detection to after
2283         plain list handling.
2285 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2287         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2289 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2291         * org.el (org-cycle-internal-local): Improved version of finding
2292         next visible line.
2293         (org-cycle-hide-drawers): Only hide drawers if this is really
2294         necessary.
2295         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2296         org-version of this function in Org-mode.  We use advice to
2297         implement this change, so that future changes to this function in
2298         outline.el wil be handled properly.
2299         (org-forward-same-level, org-backward-same-level): New commands.
2301 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2303         * org.el (org-remove-empty-overlays-at)
2304         (org-clean-visibility-after-subtree-move): New functons.
2305         (org-move-subtree-down): Simplify cleanup of display.
2307 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2309         * org-mac-message.el (org-mac-message-get-links): Improve
2310         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2311         "s".  Fix the return value.
2312         (org-mac-message-insert-flagged): Simplify.
2314         * org.el (org-refile-get-location): Tamper with refile history o
2315         that history contains compete matches instead of the entered
2316         string.
2318 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2320         * org.el (org-store-link): Never store a link to an inline task.
2322         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2324         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2325         inline tasks when positioning footnotes.
2327         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2328         function.
2330         * org.el (org-refile): Remove the END line when archiving an
2331         inline task that does have an END line.
2333         * org-archive.el (org-archive-subtree): Remove the END line when
2334         archiving an inline task that does have an END line.
2336         * org-macs.el (org-with-limited-levels): New macro.
2337         (org-get-limited-outline-regexp): New function.
2339         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2340         that did not enumerate first line.
2341         (org-export-mark-radio-links): Skip matches in links.
2343 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2345         * org.el (org-activate-plain-links): Make single-match.
2346         (org-adapt-indentation): Fix docstring.
2348         * org-macs.el (org-unmodified): Turn of modification hooks while
2349         running this macro.
2351 2009-08-02  Bastien Guerry  <bzg@altern.org>
2353         * org.el (org-adapt-indentation): Slightly improve the docstring.
2354         (org-occur): Sends an error when the user inputs an empty string.
2355         (org-priority): Bugfix: the tag alignement should happen within
2356         save-excursion.
2358 2009-07-31  Bastien Guerry  <bzg@altern.org>
2360         * org.el (org-make-link-regexps): Don't exclude parentheses from
2361         `org-plain-link-re'
2362         (org-cycle-internal-local): When locally cycling, switch directly
2363         from CHILDREN to FOLDED if there is no subtree
2364         (org-cycle): Update the docstring to document the new behavior of
2365         `org-cycle-internal-local'.
2367 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2369         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2370         an abbreviated format for days.
2372 2009-07-27  Bastien Guerry  <bzg@altern.org>
2374         * org-protocol.el (org-protocol-default-template-key): New
2375         option.
2377         * org.el (org-refile): Bugfix: save-excursion before reading the
2378         refile target, otherwise cursor moves might confuse `org-refile'.
2380         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2381         footnote reference before the footnote itself.
2383         * org.el (org-toggle-heading): Bugfix: correctly convert list
2384         items before the first headline.
2386         * org-html.el (org-export-html-footnote-format): New option for
2387         formatting the footnote reference.
2388         (org-export-as-html): Use the new option.
2390         * org.el (org-provide-todo-statistics): Allow a list of TODO
2391         keywords to compute statistics against headlines containing a
2392         keyword from this list.
2393         (org-update-parent-todo-statistics): Possibly use the new allowed
2394         value of `org-provide-todo-statistics'.
2396 2009-07-26  Bastien Guerry  <bzg@altern.org>
2398         * org-timer.el: Add autoload cookie.
2400         * org.el (org-occur-link-in-agenda-files): New function.
2402         * org-timer.el (org-timer-last-timer): New variable.
2404         * org-agenda.el (org-agenda-mode-map): New key for
2405         org-timer-set-timer called from the agenda.
2407         * org.el (org-mode-map): New key for org-timer-set-timer.
2409         * org-timer.el (org-timer-reset-timers)
2410         (org-timer-show-remaining-time, org-timer-set-timer): New
2411         functions.
2413         * org-clock.el (org-show-notification): Update the docstring.
2415         * org.el (org-provide-todo-statistics): Allow new value
2416         'all-headlines for this option, which includes entries with no
2417         TODO keywords in the todo statistics.
2418         (org-update-parent-todo-statistics): Possibly use the new
2419         'all-headline value from `org-provide-todo-statistics'.
2421 2009-07-25  Bastien Guerry  <bzg@altern.org>
2423         * org-clock.el (org-dblock-write:clocktable): Add a new option
2424         :timestamp which allows display of timestamps in clock reports.
2426         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2427         list to a subtree, preserving the structure of the list.
2428         (org-set-emph-re): Make the last element optional in the regexp.
2429         This regexp now matches an emphasized string at the end of a line.
2431         * org-list.el (org-list-goto-true-beginning)
2432         (org-list-make-subtree, org-list-make-subtrees): New functions.
2434         * org.el (org-eval-in-calendar): Select the right frame.
2435         (org-save-frame-excursion): Remove this macro.
2437 2009-07-24  Bastien Guerry  <bzg@altern.org>
2439         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2440         trying to find the beginning of a list.
2442         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2443         When present, tell org-get-file-contents not to protect org-like
2444         lines.
2446         * org-id.el (org-id-uuid-program): New option to set the name of
2447         the uuidgen program.
2448         (org-id-method): Use `org-id-uuid-program'.
2449         (org-id-new): Use `org-id-uuid-program'.
2451 2009-07-23  Bastien Guerry  <bzg@altern.org>
2453         * org-exp.el (org-export-number-lines): Allow whitespace in code
2454         references.  Allow the -r switch to remove the references in the
2455         source code even when the lines are not numbered: the labels can
2456         be explicit enough.
2458         * org.el (org-fontify-whole-heading-line): New option.
2459         (org-set-font-lock-defaults): Use the new option.
2461         * org-clock.el (org-show-notification-handler): New option.
2462         (org-show-notification): Use the new option.
2464 2009-07-21  Bastien Guerry  <bzg@altern.org>
2466         * org.el (org-eval-in-calendar): Fix a bug about calendar
2467         navigation when `calendar-setup' value is 'calendar-only.
2469 2009-07-19  Bastien Guerry  <bzg@altern.org>
2471         * org.el (orgstruct++-mode): Fix typo in docstring.
2472         (org-insert-link): Clean up: (or (...)) => (...)
2473         (org-insert-link): Use TAB for stored links completion.
2475 2009-07-18  Bastien Guerry  <bzg@altern.org>
2477         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2478         building the list of targets.
2480         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2481         option.
2482         (org-remember-handler): Use the new option.
2484 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2486         * org.el (org-tags-sort-function): New option for sorting tags.
2487         (org-set-tags): Use the new option to sort tags.
2489         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2490         premature deletion of the data when using org-plot in a script.
2492 2009-07-17  Bastien Guerry  <bzg@altern.org>
2494         * org-clock.el (org-clock-in-prepare-hook): New hook.
2495         (org-clock-in): Use this new hook.
2497 2009-07-16  Bastien Guerry  <bzg@altern.org>
2499         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2500         'reversed for this option to the "true line boundary first"
2501         behavior.
2502         (org-tags-match-list-sublevels): Document the 'indented value for
2503         this variable.
2505         * org-latex.el (org-export-latex-first-lines): Fix problem with
2506         publishing the region.
2508         * org-exp.el (org-export-format-source-code-or-example): Fix
2509         bad line numbering when exporting examples in HTML.
2511         * org-colview.el (org-format-time-period): Formats a time in
2512         fractional days as days, hours, mins, seconds.
2513         (org-columns-display-here): Add special handling for SINCE and
2514         SINCE_IA to format for display.
2516 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2518         * org.el (org-tags-sort-function): Add custom declaration for tags
2519         sorting function.
2520         (org-set-tags): Sort tags if org-tags-sort-function is set
2522 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2524         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2526         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2528         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2529         option.
2531 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2533         * org-publish.el (org-publish-remove-all-timestamps): New function.
2534         (org-publish-all): Remove all timestamp files if `org-publish-all'
2535         is called with a prefix argument.
2537         * org-list.el (org-indent-item): Fix typo.
2538         (org-item-indent-positions): Normalize ordered bullet.
2540         * org-html.el (org-export-html-home/up-format): New option.
2541         (org-export-as-html): Insert the up and HOME links.
2543 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2545         * org-html.el (org-export-as-html): Insert the title into the
2546         option plist.
2547         (org-export-html-insert-plist-item): New function.
2548         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2550         * org-macs.el (org-set-local): Make a local variable, do not make
2551         the variable buffer-local!
2553         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2555         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2557         * org-docbook.el (org-export-as-docbook): Call
2558         `org-install-letbind'.
2560         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2562         * org-exp.el (org-infile-export-plist): Read BIND lines.
2563         (org-install-letbind): New function.
2564         (org-export-as-org, org-export-preprocess-string): Call
2565         `org-install-letbind'.
2567         * org-src.el (org-edit-src-exit): Untabify the example before
2568         returning to Org.
2570         * org-list.el (org-list-demote-modify-bullet): New option.
2571         (org-first-list-item-p): Save point.
2572         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2573         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2574         (org-item-indent-positions): Return bullet types along with
2575         indentation.
2577 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2579         * org.el (org-show-entry): Hide drawers.
2581 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2583         * org-footnote.el (org-footnote-auto-adjust): New option.
2584         (org-footnote-auto-adjust-maybe): New function.
2585         (org-footnote-new, org-footnote-delete): Call
2586         `org-footnote-auto-adjust-maybe'.
2588         * org.el (org-startup-options): Add new footnote-related
2589         keywords.
2591         * org-publish.el (org-publish-timestamp-filename): Additional
2592         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2593         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2594         TRUE-PUB-DIR.  Pass them through to
2595         `org-publish-timestamp-filename'.
2596         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2597         PUB-FUNC, which are included in the hash.
2598         (org-publish-file): Delay timestamp test until the publishing
2599         function is known.
2601 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2603         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2604         setting the deadline.
2606         * org.el (org-read-date-final-answer): New variable.
2607         (org-read-date): Store the final answer string, including the date
2608         from the calendar, for reuse by agenda bulk commands.
2610         * org-publish.el (org-publish-attachment): Fix publishing of
2611         attachments.
2613         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2614         quotation makrs in parenthesis.
2615         (org-remove-initial-hash): New function.
2616         (org-export-latex-preprocess): Fix bug with infinite loop if
2617         environment is not properly closed.
2619         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2620         when indented.
2622         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2623         highlight also when indented.
2625 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2627         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2628         (org-footnote-action): Offer renumbering.
2630         * org.el (org-cycle): Honor the `integrate' value of
2631         org-cycle-include-plain-lists'.
2633         * org-list.el (org-cycle-include-plain-lists): New allowed value
2634         `internal'.  Improve the docstring.
2636         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2637         regexp to work better with LaTeX commands.
2639 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2641         * org-feed.el (org-feed-update): fix problem with non-existing
2642         buffer.
2643         (org-feed-skip-http-headers): New function.
2644         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2645         (org-feed-get-feed): Fix command line arguments for curl.
2647 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2649         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2650         and eps extensions.
2652 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2654         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2655         loaded.
2657         * org.el (org-map-entries): No longer force
2658         `org-tags-match-list-sublevels' to t during a todo-only tags
2659         search.
2661 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2663         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2664         environment.
2665         (org-export-latex-subcontent): Handle user-defined environment.
2667         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2668         the View dispatcher.
2670         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2671         `make-overlay'.
2673         * org-latex.el (org-export-as-pdf): Protect match data during call
2674         to shell-quote-argument.
2676         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2677         (org-agenda-view-mode-dispatch): New function.
2679 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2681         * org-agenda.el (org-agenda-mode): Reset list of marks.
2682         (org-agenda-mode-map): Define new keys for refile and bulk action.
2683         (org-agenda-menu): Add menu itesm for refile and bulk action.
2684         (org-agenda-refile): New function.
2685         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2686         (org-agenda-marked-entries): New variable.
2687         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2688         (org-agenda-remove-all-bulk-action-marks)
2689         (org-agenda-bulk-action): New functions/commands.
2691 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2693         * org-exp.el (org-get-file-contents): Protect org-like lines in
2694         included files.
2695         (org-export-format-source-code-or-example): Remove newlines.
2697         * org-latex.el (org-export-latex-links): Check for no-description
2698         marking.
2700         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2701         argument separator back to comma.
2702         (org-export-normalize-links): Mark links without description.
2704 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2706         * org-exp.el (org-infile-export-plist): Fix bug in macro
2707         processing.
2709         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2710         out.
2711         (org-agenda-highlight-todo): Fix bug with highlighting.
2713 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2715         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2716         new alignment strings.
2718         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2719         command list.
2720         (org-table-align): Check for forced align type.
2722         * org.el (org-self-insert-command): Add yas/expand to command
2723         list.
2725         * org-clock.el (org-clock-in-hook): New hook.
2726         (org-clock-in): Run `org-clock-in-hook.
2727         (org-clock-out-hook): New hook.
2728         (org-clock-out): Run `org-clock-out-hook.
2729         (org-clock-cancel-hook): New hook.
2730         (org-clock-cancel): Run `org-clock-cancel-hook.
2731         (org-clock-goto-hook): New hook.
2732         (org-clock-goto): Run `org-clock-goto-hook.
2734 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2736         * org.el (org-store-link): Better default description for link to
2737         Org-mode headline.
2739         * org-exp.el (org-export-generic): Autoload the generic exporter
2740         function.
2741         (org-export): Implement the `g' key for the generic exporter.
2743 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2745         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2746         and for zbacktab'.
2748         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2750         * org-exp.el (org-infile-export-plist): Get macros also from
2751         #+SETUPFILE.
2753 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2755         * org-colview.el (org-columns-capture-view): Protect vertical bars
2756         in column values.
2757         (org-columns-capture-view): Exclude comment and archived trees.
2759         * org-colview-xemacs.el (org-columns-capture-view): Protect
2760         vertical bars in column values.
2761         (org-columns-capture-view): Exclude comment and archived trees.
2763         * org.el (org-quote-vert): New function.
2765         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2767         * org-exp.el (org-export-format-source-code-or-example): Use
2768         `org-export-latex-verbatim-wrap'.
2770         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2771         time stamps.
2773         * org-html.el (org-export-table-row-tags): New option.
2774         (org-format-org-table-html): Rename `nlines' to `nline', use new
2775         option.
2778 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2780         * org-exp-blocks.el: Declare functions and variables.
2782         * org-remember.el (org-remember-templates): Allow the headline
2783         element to be a function.
2784         (org-remember-apply-template): If the headline is a function, call
2785         it to get the true function.
2787         * org-clock.el (org-clock-menu): New function.
2788         (org-clock-update-mode-line): Update help string.
2789         (org-clock-modify-effort-estimate): New function.
2790         (org-clock-mark-default-task): New function.
2792         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2793         minutes as input.
2794         (org-org-menu): Add new clocking stuff.
2795         (org-clock-is-active): New function.
2797 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2799         * org.el (org-open-non-existing-files): Improve docstring.
2801 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2803         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2804         option.
2805         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2807         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2809         * org-list.el (org-get-checkbox-statistics-face): Use the new
2810         faces.
2812         * org-faces.el (org-checkbox-statistics-todo)
2813         (org-checkbox-statistics-done): New faces.
2815 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2817         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2818         (org-edit-src-exit): Better cursor positioning when returning from
2819         editing.
2821         * org-latex.el (org-export-latex-use-verb): New variable.
2822         (org-export-latex-emph-format): Prefer \texttt over \verb when
2823         org-export-latex-use-verb is set.
2825 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2827         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2828         at normal indentation.
2830         * org-html.el (org-export-html-close-lists-maybe): Also look at
2831         normal indentation.
2833         * org-remember.el (org-remember-handler): Abort remember if the
2834         buffer is empty.
2836         * org-src.el (org-edit-src-content-indentation): New option.
2837         (org-edit-src-exit): Apply extra indentation.
2839         * org-exp.el (org-export-format-source-code-or-example): Run
2840         `org-src-mode-hook'.
2842         * org-src.el (org-src-mode-hook): New variable.
2843         (org-edit-src-code): Run `org-src-mode-hook'.
2845 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2847         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2849         * org-src.el (org-edit-src-get-indentation): New function.
2850         (org-edit-src-code): Base indentation on the begin line.
2852 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2854         * org-gnus.el (org-gnus-store-link): Require message.el in
2855         org-gnus-store-link.
2857 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2859         * org-src.el: New file, split out of org.el
2861         * org-docbook.el (org-export-as-docbook): Better indentation
2862         treatment.
2864         * org-macs.el (org-replace-match-keep-properties): New function.
2866         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2867         preprocessing of center and quote and verse blocks.
2869         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2870         (org-export-as-docbook): Close lists when original indentation
2871         mandates it.
2873         * org-html.el (org-export-html-close-lists-maybe): New function.
2874         (org-export-as-html): Close lists when original indentation
2875         mandates it.
2877         * org-list.el (org-list-end): Respect the stored "original"
2878         indentation when determining the end of the list.
2880         * org-exp.el (org-export-replace-src-segments-and-examples):
2881         Remember indentation correctly.
2883 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2885         * org-clock.el (org-clock-update-mode-line): Apply face
2886         org-mode-line-clock.
2888         * org-faces.el (org-mode-line-clock): New face.
2890 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2892         * org-gnus.el (org-gnus-store-link): Fix bug where
2893         `org-gnus-store-link' used wrong subject when called in an article
2894         buffer.  Patch provided by fengli AT gmail DOT com.
2896 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org-exp.el (org-export-format-source-code-or-example): Remember
2899         the original indentation of source code snippets and examples.
2901         * org-latex.el (org-export-as-latex): Relocate the table of
2902         contents.
2904         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2906         * org-agenda.el (org-run-agenda-series): Scope global options also
2907         when creating the agenda buffer.
2909 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2911         * org.el (org-adapt-indentation): Improve documentation.
2912         (org-insert-property-drawer): Respect org-adapt-indentation when
2913         inserting the drawer.
2914         (org-remove-flyspell-overlays-in): New function.
2915         (org-do-emphasis-faces, org-activate-plain-links)
2916         (org-activate-code, org-fontify-meta-lines-and-blocks)
2917         (org-activate-angle-links, org-activate-footnote-links)
2918         (org-activate-bracket-links, org-activate-dates)
2919         (org-activate-target-links, org-activate-tags): Remove flyspell
2920         overlays.
2922 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2924         * org.el (org-edit-src-save): New function.
2926         * org-clock.el (org-clock-out-switch-to-state): New option.
2927         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2929         * org-compat.el (org-compatible-face): Improve macro.
2931         * org.el (org-global-properties-fixed): Add default for
2932         CLOCK_MODELINE_TOTAL.
2934         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2935         andd tend.
2936         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2937         org-clock-sum.
2938         (org-clock-get-sum-start): New function.
2940         * org.el (org-startup-options): New keywords blockhide and
2941         blockshow.
2942         (org-mode): Add new invisibility spec.
2943         (org-set-startup-visibility): Hide block on startup if so
2944         desired.
2945         (org-hide-block-startup): New option.
2946         (org-block-regexp): New constant.
2947         (org-hide-block-overlays): New variable.
2948         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2949         (org-show-block-all, org-hide-block-toggle-maybe)
2950         (org-hide-block-toggle): New functions.
2951         (org-edit-src-exit): Do not quote lines starting with # and no +
2952         behind it.
2953         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2954         entry.
2956 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2958         * org.el (org-buffer-property-keys): Add Effort property for
2959         completion.
2961 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2963         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2964         when retrieving total clocked time in the subtree.
2966         * org.el (org-quoting-blocks): New variable.
2968 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2970         * org-table.el (org-table-store-formulas)
2971         (org-table-get-stored-formulas, org-table-fix-formulas)
2972         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2973         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2975         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2976         indented #+TBLFM line.
2978         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2979         indented #+TBLFM line.
2981         * org-colview.el (org-dblock-write:columnview): Allow indented
2982         #+TBLFM line.
2984         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2985         indented #+TBLFM line.
2987         * org-clock.el (org-dblock-write:clocktable): Allow indented
2988         #+TBLFM line.
2990 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2992         * org-exp.el (org-export-format-source-code-or-example): Make
2993         editing indented blocks work correctly.
2995         * org.el (org-edit-src-nindent): New variable.
2996         (org-edit-src-code, org-edit-fixed-width-region)
2997         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2998         editing indented blocks work correctly.
3000 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3002         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3003         indented blocks.
3004         (org-export-format-source-code-or-example): Fix indentation of
3005         blocks.
3006         (org-export-remove-indentation): New function.
3007         (org-export-select-backend-specific-text): Allow backend-specific
3008         code to be indented.
3009         (org-export-mark-blockquote-verse-center): Allow markers to be
3010         indented.
3012         * org.el (org-fontify-meta-lines): New function.
3013         (org-set-font-lock-defaults): Call the new fontification
3014         function.
3016         * org-faces.el (org-meta-line): New face
3017         (org-block):  New face.
3019 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3021         * org.el (org-treat-insert-todo-heading-as-state-change)
3022         (org-treat-S-cursor-todo-selection-as-state-change): New
3023         variables.
3024         (org-insert-todo-heading): Honor
3025         `org-treat-insert-todo-heading-as-state-change'.
3026         (org-shiftright, org-shiftleft): Honor
3027         `org-treat-S-cursor-todo-selection-as-state-change'.
3028         (org-inhibit-logging): New variable.
3030 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3032         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3033         range for marker position checking.
3035         * org-latex.el (org-export-latex-first-lines): Fix bug when
3036         exporting a region.
3038 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3040         * org-exp.el (org-export-push-to-kill-ring): Protect using
3041         x-set-selection, because that does not always work.
3043         * org-agenda.el (org-agenda-list): Apply the new face
3044         `org-agenda-date-today'.
3046         * org-faces.el (org-agenda-date-today): New face.
3048 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3050         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3051         creating appointments.
3053         * org-latex.el (org-export-latex-low-levels): Fix customization
3054         type.
3056         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3057         priority commands.
3059         * org-agenda.el (org-agenda-priority): Disable priority commands.
3061         * org.el (org-enable-priority-commands): New option.
3063         * org-colview-xemacs.el (org-columns-compute)
3064         (org-columns-number-to-string): Fix problems with empty fields.
3066         * org-colview.el (org-columns-compute)
3067         (org-columns-number-to-string): Fix problems with empty fields.
3069         * org-exp.el (org-export-push-to-kill-ring): New function.
3070         (org-export-copy-to-kill-ring): New option.
3072         * org-latex.el (org-export-as-latex): Call
3073         `org-export-push-to-kill-ring'.
3075         * org-html.el (org-export-as-html): Call
3076         `org-export-push-to-kill-ring'.
3078         * org-docbook.el (org-export-as-docbook): Call
3079         `org-export-push-to-kill-ring'.
3081         * org-ascii.el (org-export-as-ascii): Call
3082         `org-export-push-to-kill-ring'.
3084         * org-exp.el (org-export-show-temporary-export-buffer): New
3085         option.
3087         * org-latex.el (org-export-as-latex): Use
3088         `org-export-show-temporary-export-buffer'.
3090         * org-html.el (org-export-as-html): Use
3091         `org-export-show-temporary-export-buffer'.
3093         * org-docbook.el (org-export-as-docbook): Use
3094         `org-export-show-temporary-export-buffer'.
3096         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3097         `org-export-show-temporary-export-buffer'.
3099         * org-exp.el (org-export-show-temporary-export-buffer): New
3100         option.
3101         (org-export-push-to-kill-ring): New function.
3103         * org-colview.el (org-columns-compile-map): New variable.
3104         (org-columns-new, org-columns-compute)
3105         (org-columns-number-to-string, org-columns-uncompile-format)
3106         (org-columns-compile-format): Implement new operators.
3108 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3110         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3112         * org-html.el (org-export-html-xml-declaration): New option.
3113         (org-export-as-html): Use `org-export-html-xml-declaration'.
3115         * org-list.el (org-update-checkbox-count): Make property
3116         dependent.
3118         * org.el (org-hierarchical-todo-statistics): New option.
3119         (org-update-parent-todo-statistics): Modified to handle recursive
3120         statistics.
3122 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3124         * org-publish.el (org-publish): Make this function behave
3125         correctly in interactive use when called with a prefix argument.
3127         * org.el (org-todo-statistics-hook): New hook.
3128         (org-update-parent-todo-statistics): Use new hook.
3129         (org-log-into-drawer): New function.
3130         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3131         determine if we should be logging into a drawer.
3132         (org-log-into-drawer): Update docstring.
3133         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3135         * org-list.el (org-checkbox-statistics-hook): New hook.
3136         (org-update-checkbox-count-maybe): Use new hook.
3138         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3139         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3140         to kill ring.
3142 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3144         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3145         a line.
3147 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3149         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3150         better bufer-generating mechanism.
3151         (org-edit-src-find-buffer): New function.
3153         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3154         archive tag, this is already done by `org-agenda-skip'.
3155         data while constructing lost of tags.
3157 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3159         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3160         as argument separator in macros.
3162         * org-html.el (org-export-as-html): Add xml declaration.
3164 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3166         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3167         (org-sort-entries-or-items): Run the new hook.
3168         (org-after-refile-insert-hook): New hook.
3169         (org-refile): Run `org-after-refile-insert-hook'.
3171         * org-agenda.el (org-agenda-get-progress): Never take time of day
3172         from headline when displaying progress.
3174         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3175         (org-export-as-latex): Force the correct regexp in the
3176         preprocessor buffer.
3177         (org-export-latex-set-initial-vars): Set
3178         `org-export-latex-complex-heading-re'.
3180         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3181         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3183 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3185         * org-latex.el (org-export-latex-tables-centered): New option.
3186         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3188         * org-exp.el (org-export-as-org): New command.
3189         (org-export-as-org): New command.
3191         * org-publish.el (org-publish-org-to-org): New function.
3193 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3195         * org.el (org-yank): Just call `org-yank-generic'.
3196         (org-yank-generic): New function, containing the formaer
3197         functionality of `org-yank'.
3199         * org-latex.el (org-export-latex-not-done-keywords)
3200         (org-export-latex-done-keywords): New variables.
3201         (org-export-latex-todo-keyword-markup): New option.
3202         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3203         (org-export-latex-keywords-maybe): Apply the TODO markup.
3205 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3207         * org-exp.el (org-infile-export-plist): Add more default macros.
3208         (org-export-preprocess-apply-macros): Process macro arguments.
3210 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3212         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3213         `unblocked'.
3214         (org-print-icalendar-entries): Respect the new value of
3215         `org-icalendar-include-todo'.
3217         * org.el (org-link-try-special-completion)
3218         (org-file-complete-link): New functions.
3219         (org-insert-link): Add special completion support for some link
3220         types.
3222         * org-bbdb.el (org-bbdb-complete-link): New function.
3224 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3226         * org-list.el (org-update-checkbox-count): Allow recursive
3227         statistics.
3228         (org-hierarchical-checkbox-statistics): New option.
3230         * org.el (org-cycle): Remove erraneous space character.
3232         * org-icalendar.el (org-icalendar-timezone): Initialize from
3233         environment.
3235         * org-html.el (org-format-org-table-html): Specify the scope.
3236         (org-format-table-table-html): Specify the scope.
3237         (org-export-table-header-tags): Prepare the scope parameter.
3239 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3241         * org-html.el
3242         (org-export-html-table-use-header-tags-for-first-column): New
3243         option.
3245         * org.el (org-autoload): Fix autoloading of ascii export
3246         functions.
3247         (org-modules): Add org-special-blocks.
3249 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3251         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3252         (org-ical-timezone): New option.
3254         * org-exp.el (org-export-get-coderef-format): Use the description
3255         is present.
3257         * org.el (org-sort-entries-or-items): Improve docstring, and make
3258         better implementation for time sorting.
3260 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3262         * org.el (org-edit-src-persistent-message): New option.
3263         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3264         option.
3266         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3267         patch.
3269         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3270         separate buffer instead of indirect buffer to edit source code.
3271         (org-edit-src-exit): Make this function work with the new setup.
3273         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3274         are properly fontified before shown in the selection menu.
3276         * org.el (org-fontify-like-in-org-mode): New function.
3278         * org-latex.el (org-export-latex-links): Use the property list to
3279         retrieve the default image attributes.
3281         * org-exp.el (org-export-plist-vars): Add a new option.
3283 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3285         * org-exp.el (org-export, org-export-visible): Support ASCII
3286         export to buffer
3287         (org-export-normalize-links): Do not protect the description if it
3288         is explicitly given.
3290         * org-ascii.el (org-export-as-ascii-to-buffer)
3291         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3292         commands.
3293         (org-export-as-ascii): Add all the same parameters that are also
3294         supported by the other export functions.
3296         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3297         org-checklist.el.
3298         (org-reset-checkbox-state-subtree): Call
3299         `org-reset-checkbox-state-subtree'.
3301         * org-remember.el (org-select-remember-template): For the
3302         selection of a valid template.
3304         * org-latex.el (org-export-region-as-latex): Supply the
3305         force-no-subtree argument.
3306         (org-export-as-latex): Provide better limits when exporting the
3307         first line.  When exporting to string, we still want the first
3308         lines.
3309         (org-export-latex-first-lines): New argument END, to force the end
3310         of the region.
3311         (org-export-region-as-latex): Use the property list.
3312         (org-export-as-latex):
3314         * org-colview-xemacs.el (org-columns-remove-overlays)
3315         (org-columns): Fix call to `local-variable-p'.
3317 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3319         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3320         (org-export-as-html): Run the new hook.
3322         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3323         (org-export-latex-preprocess): Run the new hook.
3325         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3326         (org-export-preprocess-string): Run the new hook.
3328 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3330         * org-macs.el (org-check-external-command): New defsubst.
3332         * org.el (org-mode-map): New key for reload.
3333         (org-format-latex): Better error message when external programs
3334         are not available.
3336         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3338         * org.el (org-sort-entries-or-items): Explicit sorting function
3339         for priorities, needed for XEmacs compatibility.
3341         * org-remember.el (org-remember-apply-template): Improve auto-save
3342         behavior.
3344 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3346         * org-latex.el (org-export-latex-preprocess): Also protect
3347         environments ending in a star.
3349         * org-list.el (org-at-item-p): Fix regular expression.
3351 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3353         * org.el (org-end-of-subtree): Improve speed.
3355         * org-agenda.el (org-agenda-get-timestamps)
3356         (org-agenda-get-progress, org-agenda-get-deadlines)
3357         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3358         in particular, wait as long as possible to collect the tags.
3359         (org-stuck-projects): Improve docstring.
3361         * org.el (org-store-link): No errors when getting custom id before
3362         first headline.
3363         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3365 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3367         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3369         * org-protocol.el: Remove dependency on url.el.
3370         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3371         dependency on url.el.
3373         * org-latex.el (org-export-as-pdf): Use
3374         `org-latex-to-pdf-process'.
3376 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3378         * org-latex.el (org-latex-to-pdf-process): New option.
3380         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3381         New option.
3382         (org-agenda-get-timestamps): Honor
3383         `org-agenda-skip-additional-timestamps-same-entry'.
3385         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3386         (org-clock-goto): Find recent task only if
3387         `org-clock-goto-may-find-recent-task' allows it.
3389         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3390         drawers, and drawers that are missing the :END: line.
3392 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3394         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3395         clock is running.
3397 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3399         * org.el (org-update-parent-todo-statistics): Check for
3400         STATISTICS_FROM property.
3402         * org-list.el (org-update-checkbox-count): Check for
3403         STATISTICS_FROM property.
3405         * org.el (org-tab-first-hook)
3406         (org-tab-after-check-for-table-hook)
3407         (org-tab-after-check-for-cycling-hook): New hooks.
3408         (org-cycle-internal-global, org-cycle-internal-local): New
3409         functions, split out from `org-cycle'.
3410         (org-cycle): Call the new hooks.
3412 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3414         * org-exp.el (org-export-preprocess-string): Reset the list of
3415         preferred targets for each run of the preprocessor.
3417         * org.el (org-refile-target-verify-function): Improve
3418         documentation.
3419         (org-get-refile-targets): Respect point being moved by the
3420         verification function.
3422         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3423         option.
3424         (org-export-latex-keywords): Use new option.
3426         * org.el (org-rear-nonsticky-at): New defsubst.
3427         (org-activate-plain-links, org-activate-angle-links)
3428         (org-activate-footnote-links, org-activate-bracket-links)
3429         (org-activate-dates, org-activate-target-links)
3430         (org-activate-tags): Place the rear-nonsticky properties at the
3431         correct location.
3433 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3435         * org-protocol.el (server-edit): Declare `server-edit'.
3436         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3437         functions.
3438         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3440         * org.el (org-default-properties): New default properteis for
3441         completion.
3443         * org-exp.el (org-export-add-subtree-options): Add new properties
3444         for subtree export.
3446         * org-docbook.el (org-export-docbook-keywords-markup)
3447         (org-export-docbook-timestamp-markup): New options.
3448         (org-export-docbook-protect-tags): New function.
3450 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3452         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3453         org-refile-target-verify-function for the duration of the command.
3455         * org.el (org-link-to-org-use-id): New possible value
3456         `create-if-interactive-and-no-custom-id'.
3457         (org-store-link): Use custom IDs.
3458         (org-link-search): Find custom ID properties from #link.
3459         (org-default-properties): Add CUSTOM_ID for property completion.
3460         (org-refile-target-verify-function): New option.
3461         (org-goto): Turn off org-refile-target-verify-function
3462         for the duration of the command.
3464 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3466         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3468         * org-exp.el (org-export-preferred-target-alist): New variable.
3469         (org-export-define-heading-targets): Find the new CUSTOM_ID
3470         property.
3471         (org-export-target-internal-links): Target the custom ids when
3472         possible.
3474         * org-latex.el (org-export-latex-preprocess): Better regexp for
3475         matching latex macros with arguments.
3477 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3479         * org-remember.el (org-remember-handler): Allow filing to non-org
3480         files.
3482 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3484         * org-feed.el (org-feed-alist): New keyword options.
3485         (org-feed-update): Use the new options.
3486         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3487         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3488         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3489         functions.
3491         * org-table.el (org-table-fix-formulas): Do not change references
3492         to remote tables.
3493         (org-table-get-remote-range): Convert standard coordinates to RC
3494         format.
3496         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3498 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3500         * org-compat.el (org-sha1-string): Function removed.
3502         * org.el (org-refile-allow-creating-parent-nodes): New option.
3503         (org-refile-get-location): New argument NEW-NODES.
3504         (org-refile): Call `org-refile-get-location' with the new
3505         argument.
3506         (org-refile-get-location): Arrange for adding a new child.
3507         (org-refile-new-child): New function.
3509         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3510         an additional span element.
3512         * org-clock.el: Fix a number of docstrings.
3513         (org-clock-find-position): New argument
3514         FIND-UNCLOSED to make the function find an unclosed clock in the
3515         entry.
3516         (org-clock-in): Call `org-clock-find-position' with the new
3517         argument if we might be resuming a clock.
3519 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3521         * org-latex.el (org-export-latex-display-custom-times): New variable.
3522         (org-export-latex-timestamp-markup): New option.
3523         (org-export-latex-set-initial-vars): Remember the local value of
3524         `org-display-custom-times'.
3525         (org-export-latex-content): Process time stamps.
3526         (org-export-latex-time-stamps): New function.
3528         * org-macs.el (org-maybe-intangible): Add intangible property
3529         again to invisible text.
3531 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3533         * org-exp.el (org-default-export-plist): Handle undefined
3534         variables.
3536 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3538         * org.el (org-sort-entries-or-items): Match TODO keywrds
3539         case-sensitively, when sorting.
3540         (org-priority): Do not match TODO keywords with wrong case.
3542 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3544         * org-feed.el (org-feed-update): Bind the variable
3545         `new-formatted'.
3547         * org-html.el (org-export-as-html): Start paragraphs after literal
3548         examples.
3550         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3551         literal examples.
3553 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3555         * org.el (org-todo): Honor the NOBLOCKING property.
3557         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3558         NOBLOCKING property.
3560         * org.el (org-scan-tags): Fix bug in tag scanner
3562 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3564         * org.el (org-modules): Mark obsolete packages.
3566         * org-html.el: New file, split out from org-exp.el.
3568         * org-icalendar.el: New file, split out from org-exp.el.
3570         * org-xoxo.el: New file, split out from org-exp.el.
3572         * org-ascii.el: New file, split out from org-exp.el.
3574 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3576         * org-compat.el (org-find-library-name): New function.
3578         * org.el (org-pre-cycle-hook): New hook.
3579         (org-cycle): Call the new hook in appropriate places.
3580         (org-reload): Only reload files that have been loaded before.
3582 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3584         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3585         after todo keyword.
3586         (org-todo): When changing TODO state, do matching
3587         case-sensitively.
3588         (org-map-continue-from): New variable.
3589         (org-scan-tags): Respect values in `org-map-continue-from'.
3590         (org-reload): Make XEmacs compatible.
3592 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3594         * org-protocol.el (org-protocol-flatten-greedy): New function.
3595         (org-protocol-flatten): New function.
3597         * org.el (org-open-link-from-string): Pass reference buffer to
3598         `org-open-at-point'.
3599         (org-open-at-point): New optional argument `reference-buffer'.
3601 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3603         * org.el (org-scan-tags): Make tag scan find headline in first
3604         line, 2nd attempt.
3605         (org-get-refile-targets): Add the naked file name.
3606         (org-refile): Store as top-level entry when only file name was
3607         given.
3609         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3611         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3612         Renamed from org-block-todo-from-children-or-siblings, and
3613         enhanced to look for the parent's status as well.
3615         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3616         (org-agenda-get-progress): Add first notes line to log entry if so
3617         desired.
3619 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3621         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3622         (org-agenda-cleanup-fancy-diary): Call the new hook.
3624         * org-remember.el (org-remember-apply-template): Take the default
3625         for the annotation from the :annotation property.
3627         * org-mac-message.el (org-mac-message-get-link): Remove the
3628         quotes.
3629         (org-mac-message-get-link): Return the result.
3631 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3633         * org.el (org-refile-get-location): Add file name only if not
3634         already included in outline path.
3636         * org-faces.el (org-n-level-faces): Fix customization type from
3637         number to integer.
3639         * org-exp.el (org-export-headline-levels): Fix customization type
3640         from number to integer.
3642         * org-agenda.el (org-agenda-confirm-kill)
3643         (org-agenda-custom-commands-local-options)
3644         (org-timeline-show-empty-dates, org-agenda-ndays)
3645         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3646         customization type from number to integer.
3648 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3650         * org-protocol.el: Declare some functions.
3652         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3653         postion before inserting modified headline.
3655         * org-agenda.el (org-agenda-compare-effort): Honor
3656         `org-sort-agenda-noeffort-is-high'.
3657         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3658         (org-agenda-compare-effort): Implement the "?" operator for
3659         finding entries without effort setting.
3661         * org.el (org-extract-attributes-from-string): New function.
3663         * org-exp.el (org-export-splice-attributes): New function.
3665 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3667         * org-mouse.el: XEmacs compatibility fixes
3669         * org-docbook.el (org-export-as-docbook): Process footnotes like
3670         normal text.
3672         * org.el (org-modules): Add org-inlinetasks.el
3673         (org-cycle): Implement limiting level on cycling.
3674         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3675         buffer.
3677         * org-inlinetask.el: New file.
3679         * org.el (org-emphasis-regexp-components): Allow braces in
3680         emphasis pre and post match.
3682         * org-footnote.el (org-footnote-normalize): When only dorting, do
3683         not insert inline notes at the end.
3685         * org-docbook.el (org-id-find-id-file): Add function declaration.
3687         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3689         * org-docbook.el: New file.
3691 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3693         * org.el (org-reftex-citation): New command.
3695 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3697         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3698         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3699         sorting options.
3700         (org-entries-lessp): Apply the new sorting option.
3702         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3703         blocker code, when an older sibling has children.
3705         * org-mac-message.el (org-mac-message-get-link): Improve getting
3706         links from multiple selected messages.
3708 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3710         * org-remember.el (org-remember-finalize): Do not set buffer file
3711         name to nil.
3712         (org-remember-handler): Mark buffer as unmodified.
3713         (org-remember-handler): Delete backup file and show message about
3714         remaining backup files.
3715         (org-remember-auto-remove-backup-files): New option.
3717         * org.el (org-store-link): Use buffer name as link description in
3718         w3-mode buffers.
3719         (org-ido-switchb): Fix argument bug for completion.
3721         * org-remember.el (org-remember-apply-template): Set local
3722         variable `auto-save-visited-file-name' instead of global one.
3724 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3726         * org-feed.el: Re-write.
3728         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3729         (org-agenda-get-todos): Mark file tags as inherited.
3730         (org-agenda-list): Always search diary lines for a time.
3732 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3734         * org-feed.el (org-feed-assume-stable): New option.
3735         (org-feed-before-adding-hook): New hook.
3737         * org-exp.el (org-export-as-html): Close local lists depending on
3738         indentation, also when starting a table.
3740         * org-remember.el (org-remember-backup-directory)
3741         (org-remember-backup-name): New internal variable.
3743 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3745         * org-clock.el (org-clock-out-if-current): Make buffer detection
3746         work in indirect buffers as well.
3748         * org.el (org-emphasis-regexp-components): Add the exxclamation
3749         mark to the post-emphasis characters.
3751 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3753         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3754         (org-read-date): Run the new hook.
3756         * org-mac-message.el (org-mac-flagged-mail): New group.
3757         (org-mac-mail-account): New variable.
3758         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3759         commands.
3761         * org-remember.el (org-remember-backup-directory): New variable.
3762         (org-remember-apply-template): Write file to backup directory.
3764 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3766         * org-mouse.el (org-mouse-todo-menu): New function.
3767         (org-mouse-todo-keywords): Function removed.
3768         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3770         * org-table.el (org-table-beginning-of-field)
3771         (org-table-end-of-field): New commands
3772         (org-table-previous-field, org-table-beginning-of-field): Better
3773         error messages.
3774         (orgtbl-setup): Include `M-a' and `M-e'.
3776         * org.el (org-backward-sentence, org-forward-sentence): New
3777         commands.
3779         * org-colview.el (org-colview-initial-truncate-line-value): New
3780         variable.
3781         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3782         (org-columns): Remember the value of `truncate-lines'.
3784         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3785         New variable.
3786         (org-columns-remove-overlays): Restore the value of
3787         `truncate-lines'.
3788         (org-columns): Remember the value of `truncate-lines'.
3790         * org.el (org-columns-skip-arrchived-trees): New option.
3792         * org-agenda.el (org-agenda-export-html-style): Define color for
3793         org-agenda-done face.
3794         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3795         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3797         * org.el (org-scan-tags): Use the new face.
3799         * org-faces.el (org-agenda-done): New face.
3801         * org.el (org-scan-tags): Test the value org
3802         `org-tags-match-list-sublevels'.
3803         (org-tags-match-list-sublevels): New allowed value: indented.
3805         * org-export-latex.el (org-export-latex-make-header): Apply macros
3806         in header.
3808         * org-exp.el (org-export-apply-macros-in-string): New function.
3810         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3811         with the definition of a checked box.
3813         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3815         * org-export-latex.el (org-export-latex-low-levels): More options
3816         for how to process lower levels in LaTeX.
3817         (org-export-latex-subcontent): Better treatment for lists as a
3818         means of publishing lower levels.
3820 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3822         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3824         * org-faces.el (org-checkbox): New face.
3826         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3827         fragement images if there is an export file.
3829 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3831         * org-agenda.el (org-stuck-projects): Document that the subtree of
3832         projects that are not stuck will now be searched for stuck
3833         sub-projects.
3834         (org-agenda-skip-entry-when-regexp-matches)
3835         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3836         (org-agenda-list-stuck-projects): Use
3837         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3839         * org-export-latex.el (org-export-latex-preprocess): Improve
3840         export of verses.
3842         * org-exp.el (org-export-as-html): Implement centering as a div
3843         rather than a paragraph.  Do a better job with line-end in verse
3844         environments.
3846 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3848         * org.el (org-open-at-point): Fix tags searches by mouse click.
3850 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3852         * org-export-latex.el (org-export-latex-preprocess): Implement the
3853         centering markup.
3855         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3856         from `org-export-mark-blockquote-and-verse'.
3857         (org-export-as-html): Implement the centering markup.
3859         * org-export-latex.el (org-export-latex-tables): Fix vertical
3860         lines in tables.
3862 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3864         * org.el (org-read-date-history): New variable.
3865         (org-read-date): Use new history variable.
3866         (org-toggle-heading): Fix bug when used before first headline.
3867         (org-store-log-note): Remove drawer if empty while note is
3868         aborted.
3869         (org-remove-empty-drawer-at): New function.
3870         (org-check-after-date): New command.
3871         (org-sparse-tree): New sparse tree command "a".
3873         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3875 2009-03-14  Bastien Guerry  <bzg@altern.org>
3877         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3878         column and a space, not only a column.
3880 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3882         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3883         defaults for verbose emphasis.
3884         (org-export-latex-emph-format): New function.
3885         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3887         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3888         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3889         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3890         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3891         commands.
3893         * org.el (org-timestamp-change): Move end-time along with start
3894         time.
3896 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3898         * org-exp.el (org-export-target-internal-links)
3899         (org-export-as-html): Protect links specified as #name.
3901 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3903         * org.el (org-clone-subtree-with-time-shift): New command.
3905         * org-export-latex.el (org-export-latex-special-chars)
3906         (org-export-latex-treat-sub-super-char): Fix subscript export.
3908         * org-exp.el (org-create-multibrace-regexp): Do not add
3909         backslashes to the class.
3911 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3913         * org-colview.el (org-columns-map): Better functions for moving up
3914         and down a row, even if `truncate-line' is nil.
3916         * org.el (org-insert-todo-heading): Make sure the keyword is
3917         inserted at the correct position.
3919         * org-publish.el (org-publish-project-alist)
3920         (org-publish-projects, org-publish-org-index): Change default anme
3921         for the index of file names to "sitemap.org".
3923         * org-export-latex.el (org-export-latex-tables): Use
3924         `org-split-string', for Emacs 21 compatibility.
3926 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3928         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3930 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3932         * org-exp.el (org-export-page-description)
3933         (org-export-page-keywords): New variables.
3934         (org-export-plist-vars): Add entries for :keywords and
3935         :description.
3936         (org-infile-export-plist): Parse for new keywords.
3937         (org-get-current-options): Add new keywords
3938         (org-export-as-html): Publish description and keywords.
3940         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3941         option.
3942         (org-agenda-add-entry-text): Honor
3943         `org-agenda-add-entry-text-descriptive-links'.
3945         * org-export-latex.el (org-export-latex-preprocess): Make all
3946         external preprocess functions use a PARAMETER arg.
3948         * org-exp.el (org-export-preprocess-string)
3949         (org-export-select-backend-specific-text)
3950         (org-export-format-source-code-or-example)
3951         (org-format-org-table-html): Support docbook export.
3952         (org-export-preprocess-string): Make all external preprocess
3953         functions use a PARAMETER arg.
3955 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3957         * org-exp.el (org-export-html-style-include-scripts): New option.
3958         (org-export-plist-vars): Add new option
3959         `org-export-html-style-include-scripts'.
3960         (org-export-as-html): Honor new option
3961         `org-export-html-style-include-scripts'.
3962         (org-export-html-scripts, org-export-html-style-default): Fix
3963         xml issues with the Safari browser.
3965 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3967         * org-publish.el (org-publish-attachment): Only copy file when the
3968         directories differ.
3970 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3972         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3973         for clocktable steps.
3975         * org.el (org-additional-option-like-keywords): Add two more
3976         keywords.
3978 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3980         * org-exp.el (org-export-format-source-code-or-example): Mark
3981         temporary buffer unmodified, so that it will be killed even if
3982         mode like message mode has decided to assign a file name.
3984         * org.el (org-scan-tags): Improve tag inheritance.
3985         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3986         case-sensitive.
3987         (org-scan-tags): Use the internal tags list instead of creating it
3988         from scratch.
3989         (org-trust-scanner-tags, org-scanner-tags): New variables.
3990         (org-scan-tags): Set `org-scanner-tags'.
3991         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3992         (org-map-entries): Document the possible speedup using scanner
3993         tags.
3995 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3997         * org.el (org-add-planning-info): Fix bug with looking for keyword
3998         only at column 0.
4000         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4001         option for tags filter preset.
4002         (org-prepare-agenda): Store filter preset as a property on the
4003         filter variable.
4004         (org-finalize-agenda): Call the filter, if there is a preset.
4005         (org-agenda-filter-by-tag): Filter again after clearing the
4006         filter, when there still is a preset.
4007         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4008         Include the preset filter.
4009         (org-agenda-redo): Apply the filter again, also the preset filter.
4011         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4013         * org.el (org-uuidgen-p): New funtion.
4015         * org-agenda.el (org-agenda-fontify-priorities): New default value
4016         `cookies'.
4017         (org-agenda-fontify-priorities): Renamed from
4018         org-fontify-priorities.
4020         * org.el (org-set-font-lock-defaults): Call
4021         `org-font-lock-add-priority-faces'.
4022         (org-font-lock-add-priority-faces): New function.
4024         * org-faces.el: (org-set-tag-faces): New option.
4025         (org-priority-faces): New variable.
4027         * org-exp.el (org-export-as-html): Add a "content" div around the
4028         entire content of the body tag.
4029         (org-export-html-get-bibliography): New function.
4030         (org-export-html-validation-link): New variable.
4031         (org-export-as-html): Add validation link to exported page.
4033         * org.el (org-match-sparse-tree): Renamed from
4034         `org-tags-sparse-tree'.
4035         (org-tags-sparse-tree): New alias.
4037 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4039         * org.el (org-get-valid-level): Catch the case where the level
4040         change is nil.
4042         * org-clock.el (org-clock-find-position): Better indentation of
4043         new clock drawers.
4045 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4047         * org-agenda.el (org-agenda-quit): Delete window only when the
4048         frame-setup was not `current-window'.
4050         * org.el (org-tag-persistent-alist): New option.
4051         (org-startup-options): Add keyword `noptag'.
4052         (org-fast-todo-selection): Handle :newline correctly.
4053         (org-set-tags): Handle :newline correctly.
4054         (org-fast-tag-selection): Handle :newline correctly.
4056 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4058         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4059         outputting it.
4060         (org-export-ascii-push-links): Fix bug with pussing links into the
4061         export buffer.
4063 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4065         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4066         pasting at top level.
4068         * org-bbdb.el: Improve documentation.
4070 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4072         * org-list.el (org-insert-item): Only consider insert empty lines
4073         is `org-empty-line-terminates-plain-lists' is not nil.
4075         * org.el (org-blank-before-new-entry): Mention the dependence on
4076         `org-empty-line-terminates-plain-lists' in the docstring.
4078         * org-publish.el (org-publish-get-project-from-filename): New
4079         optional argument UP.  Only find the top project if UP is set.
4080         (org-publish-current-project): Find the top encloding project.
4082         * org-agenda.el (org-agenda-before-write-hook)
4083         (org-agenda-add-entry-text-maxlines): New options.
4084         (org-write-agenda): Run the new hook in the temporary buffer.
4085         (org-agenda-add-entry-text): New function.
4086         (org-write-agenda): Implement PDF export, using ps2pdf.
4088         * org.el (org-global-properties-fixed, org-global-properties):
4089         Improve documentation string.
4091         * org-exp.el (org-export-ascii-links-to-notes): New option.
4092         (org-export-as-ascii): Handle links better.
4093         (org-export-ascii-wrap, org-export-ascii-push-links): New
4094         functions.
4096 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4098         * org-agenda.el (org-agenda): Make prefix arg optional.
4099         (org-agenda-search-headline-for-time): New option.
4100         (org-format-agenda-item): Honor
4101         `org-agenda-search-headline-for-time'.
4103         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4104         characters.
4106         * org.el (org-self-insert-cluster-for-undo): New option.
4107         (org-self-insert-command): Cluster undo for 20 characters.
4108         (org-self-insert-command-undo-counter): New variable.
4110 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4112         * org-exp.el (org-export-as-html): Fix problem with closing colone
4113         example.
4115 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4117         * org-export-latex.el (org-export-as-latex)
4118         (org-export-latex-first-lines): Avoid modification flag when
4119         adding or removing text properties.
4120         (org-export-latex-fontify): Catch error when org-emph-alist has
4121         entries that are not defined for LaTeX export.
4123         * org.el (orgstruct++-mode): New function.
4124         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4125         (org-context-p): Allow detecting item context after the first line
4126         of an item.
4127         (orgstruct-make-binding): Detect if item-body context should be
4128         seen.
4129         (orgstruct-is-++): New variable.
4130         (org-add-planning-info): Catch the case when there is no planning
4131         info yet and the call does not want to add anything, only maybe
4132         tries to remove something.
4133         (org-special-ctrl-a/e): All value to be a cons cell with separate
4134         settings for `C-a. and `C-e'.
4135         (org-beginning-of-line, org-end-of-line): Honor separate values
4136         for `C-a' and `C-e'.
4138 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4140         * org.el (org-reload): New command.
4142 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4144         * org-exp.el (org-export-htm-get-tag-class-name)
4145         (org-export-htm-get-todo-kwd-class-name): New functions.
4146         (org-export-html-tag-class-prefix)
4147         (org-export-html-todo-kwd-class-prefix): New options.
4148         (org-export-as-html): Call
4149         `org-export-html-get-todo-kwd-class-name'.
4150         (org-html-level-start): Wrap tags into classes.
4151         (org-export-html-get-tag-class-name)
4152         (org-export-html-get-todo-kwd-class-name): New functions.
4154         * org-export-latex.el (org-export-latex-collect-header-macros):
4155         Remove fields that are used anyway.
4156         (org-export-latex-make-header): Insert the options earlier.
4158         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4159         matching.
4161         * org-list.el (org-indent-item): Allow point to be at the end of
4162         the region.
4164         * org.el (org-metaleft, org-metaright): Be more accurate about
4165         detecting a region where commands apply.
4167         * org-compat.el (org-cursor-to-region-beginning): New function.
4169         * org.el (org-priority): Also find invisible heading.
4171         * org-colview-xemacs.el (org-columns-edit-value): No special
4172         treatment for `org-todo' prefix.
4174         * org-colview.el (org-columns-edit-value): No special treatment
4175         for `org-todo' prefix.
4177         * org-remember.el (org-remember-apply-template): Use
4178         `org-completing-read-no-ido'.
4180         * org.el (org-completing-read-no-ido): New function.
4181         (org-make-tags-matcher, org-set-property): Use
4182         `org-completing-read-no-ido'.
4184         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4185         New option.
4186         (org-export-as-latex): Import in-buffer settings as TeX macros.
4187         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4188         (org-export-latex-collect-header-macros): New function.
4190         * org.el (org-refile-get-location): Turn off
4191         `partial-completion-mode'.
4193 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4195         * org.el (org-block-todo-from-checkboxes): Announce that
4196         checkboxes are the culprit.
4197         (org-block-todo-from-children-or-siblings): Call
4198         `org-up-heading-all instead' of `outline-up-heading'.
4200         * org-agenda.el (org-agenda-show-1): Renamed from
4201         `org-agenda-show'.
4202         (org-agenda-show): Re-install the old version for now.
4203         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4204         variable into the blokker hook, so that the checkbox checker can
4205         anounce that it caused the blocking.
4207         * org.el (org-track-ordered-property-with-tag): New option.
4208         (org-toggle-ordered-property): Honor
4209         `org-track-ordered-property-with-tag'.
4210         (org-tag-alist): Add newline options.
4211         (org-set-regexps-and-options): Separate option lines imply a
4212         newline.
4213         (org-set-regexps-and-options, org-assign-fast-keys)
4214         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4215         option.
4216         (org-indent-line-function): Make sure this works even if there is
4217         not `org-drawer-regexp' defined.  This can happen when
4218         orgstruct-mode is used in a non-org buffer.
4220         * org-list.el (org-checkbox-blocked-p): New function.
4221         (org-toggle-checkbox): Check for blocking.
4223         * org.el (org-modules): Add an entry for org-R.el.
4225         * org-agenda.el (org-agenda-todo-ignore-with-date)
4226         (org-agenda-todo-ignore-scheduled)
4227         (org-agenda-todo-ignore-deadlines): Mention the variable
4228         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4230         * org.el (org-get-wdays): Find the warning period also if it is in
4231         the wrong place.
4232         (org-ido-completing-read): Provide the correct arguments to
4233         ido-completing-read and bind `ido-enter-matching-directory' to
4234         nil.
4236 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4238         * org.el (org-olpath-completing-read): Never use ido for this
4239         one.
4241         * org-exp.el (org-export-normalize-links): Use new macro.
4243         * org-macs.el (org-if-unprotected-at): New macro.
4245         * org-agenda.el (org-agenda-show): Allow numerical prefix
4246         arguments to specify how much context should be shown.
4247         (org-agenda-cycle-show): New command, could be bound to SPC in
4248         org-agenda-mode-map.
4250         * org-exp.el (org-html-level-start): Space after section number.
4252 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4254         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4255         property, for sorting.
4256         (org-cmp-todo-state): Get the applicable TODO keywords directly
4257         from the buffer.
4258         (org-run-agenda-series, org-agenda-list, org-search-view)
4259         (org-todo-list, org-tags-view): Only fit agenda window when the
4260         whole series is done.
4262         * org.el (org-scan-tags): Add todo state as property, for sorting.
4264         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4265         `org-agenda-overriding-header' as an option.
4266         (org-agenda-list): Honor org-agenda-overriding-header'.
4268 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4270         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4271         after removing a checkbox.
4273         * org.el (org-show-entry): Make this work correctly also if it is
4274         the last entry in the file.
4275         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4276         falling back to normal, default command.
4277         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4278         item, call the checkbox toggler to get a box.
4280         * org-list.el (org-toggle-checkbox): Make double prefix set the
4281         checkbox to "[-]".
4282         (org-fix-bullet-type): Only replace bullet if it is changed.
4283         (org-renumber-ordered-list): Handle case when first item does not
4284         have a number.
4286         * org.el (org-add-log-setup): Fix positioning when
4287         `org-log-states-order-reversed' is nil.
4289         * org-clock.el (org-clock-in): Fix positioning when
4290         `org-log-states-order-reversed' is nil.
4291         (org-clock-find-position): Fix positioning when
4292         `org-log-states-order-reversed' is nil.
4294 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4296         * org-clock.el (org-clock-into-drawer): Take default from
4297         `org-log-into-drawer'.
4298         (org-clock-find-position): Look for the correct drawer.
4300         * org.el (org-log-into-drawer): Renamed from
4301         `org-log-state-notes-into-drawer'.
4302         (org-log-state-notes-into-drawer): New variable alias.
4303         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4304         CLOCK.
4305         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4307 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4309         * org-agenda.el (org-agenda): Fix docstring.
4311         * org.el ("org-plot"): Help loading org-plot.
4312         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4313         (org-metadown-hook, org-shiftmetaleft-hook)
4314         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4315         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4316         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4317         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4318         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4320         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4321         for selecting files with any (and even without) extension.
4323         * org.el (org-save-all-org-buffers): Also save id locations.
4324         (org-revert-all-org-buffers): Also load id locations.
4326 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4327         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4328         (org-log-state-notes-into-drawer): New option.
4329         (org-add-log-setup): Place the sate note marker into the drawer,
4330         create drawer when necessary.
4331         (org-refile-targets): Document special interpretation of LEVEL
4332         when odd-levels are used.
4334 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4336         * org.el (org-store-log-note): Fix note indentation when adding
4337         notes to end of list.
4339         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4340         class, so that each keyword can get special colors through CSS.
4342         * org-clock.el (org-clock-out): Add another nil for the previous
4343         state into the call to `org-add-log-setup'.
4345         * org.el (org-log-note-previous-state): New variable.
4346         (org-log-note-headings): New %S escape for old state.
4347         (org-todo): Call the note setup with the old state as an
4348         argument.
4349         (org-add-note): Add another nil for the previous state into the
4350         call to `org-add-log-setup'.
4351         (org-add-log-setup): New argument PREV-STATE.
4352         (org-add-log-note): Handle new %S escape.
4353         (org-store-log-note): Handle new %S escape.
4355 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4357         * org-clock.el (org-clock-find-position): Do not swallow an item
4358         less indented than the CLOCK line itself.
4359         (org-clock-in): Push markers to lin after the clock line.
4360         (org-clock-find-position): Handle values of
4361         `org-clock-into-drawer' smaller than 2.
4363         * org-exp.el (org-html-level-start): Add a CSS class to section
4364         numbers.
4365         (org-export-html-toplevel-hlevel): Better documentation of the
4366         influence of this variables on H levels and css classes in
4367         export.
4369 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4371         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4372         timestamp and nottimestamp to the chooe menu.
4374         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4375         (org-revert-all-org-buffers): New command.
4377 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4379         * org.el (org-return): Implement `org-return-follows-link' in the
4380         function org-return.  This is more robust than using the mouse
4381         map, I think.
4382         (org-set-regexps-and-options): Match more general #+TODO lines.
4383         (org-make-options-regexp): New optional argument EXTRA, for an
4384         extra regexp.
4385         (org-tab-follows-link): Mark as deprecated.
4387 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4389         * org-exp.el (org-export-preprocess-string): Remove clock lines
4390         earlier, so that they cannot cotribute to verbatim snippets.
4392 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4394         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4395         for finding drawers.
4396         (org-export-as-ascii, org-export-as-html): Count levels relative
4397         to the subtree header.
4398         (org-get-min-level): New optional argument OFFSET.
4399         (org-export): Make sure point is restored after popping up that
4400         window.
4402         * org.el (org-do-sort): Also take an inactive timestamp if no
4403         active one is found.
4405         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4406         deleting duplicates.
4408         * org-colview.el (org-columns-capture-view): Copy before
4409         deleting duplicates.
4411         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4412         text before first headline.
4414         * org.el (org-format-latex): Do not convert LaTeX fragments in
4415         protected examples.
4417 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4419         * org-exp.el (org-export-html-style-default): Use color values
4420         instead of names for XHTML validation.
4422         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4423         functions.
4424         (org-return-follows-link): Revert making this the default untile
4425         issues are resolved.
4427         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4428         nottimestamp.
4430 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4432         * org.el (org-mode): Make dependence stuff work more reliably.
4433         (org-update-parent-todo-statistics): Fix bug with updating
4434         statistics cookie.
4436         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4437         ~ as verbatim delimiters.
4439         * org-exp.el (org-export-html-format-image): New argument
4440         PAR-OPEN.
4441         (org-export-as-html): Pass par-open to
4442         `org-export-html-format-image'.
4444 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4446         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4447         (org-use-fast-todo-selection, org-tags-column): New default
4448         setting for variables, based on a poll what typical uses use.
4450         * org-agenda.el (org-agenda-sorting-strategy)
4451         (org-agenda-tags-column): New default setting for variables, based
4452         on a poll what typical uses use.
4454 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4456         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4457         blocked entries from setting the blocked tag.
4459         * org-exp.el (org-export-html-footnotes-section): Use a more
4460         consistent id for footnotes.
4462         * org-export-latex.el (org-export-latex-classes): Remove the
4463         a4paper option from the default styles.
4465 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4467         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4468         (org-block-todo-from-checkboxes): New function.
4469         (org-todo): Make tripple prefix arg circumvent blocking.
4471         * org-timer.el (org-timer): Provide the timer feature.
4473         * org.el (org-require-autoloaded-modules): Add a few more files to
4474         the list of autoloaded modules.
4476         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4478 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4480         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4481         drawers that are unprotected.
4482         (org-export-html-format-image): Make sure inlined LaTeX fragment
4483         images remain inlined.
4485         * org.el (org-toggle-ordered-property): New function.
4486         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4487         (org-org-menu): Add menu entries for TODO dependencies.
4489 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4491         * org.el (org-default-properties): Add ORDERED to the default
4492         properties, to get completion support for it.
4494         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4496         * org.el (org-update-parent-todo-statistics): Update more than one
4497         cookie.
4499         * org-agenda.el (org-agenda-get-todos): Start search from correct
4500         position.
4502         * org.el (org-fast-todo-selection): Make sure TODO selection does
4503         not change buffer position.
4505         * org-list.el (org-toggle-checkbox): Implement adding or removing
4506         checkboxes from line or region when called with a prefix
4507         argument.
4509         * org-rmail.el (org-rmail-store-link): Protect the call to
4510         `rmail-narrow-to-non-pruned-header'.
4512         * org-clock.el (org-clock-special-range): Fix week display in
4513         clock tables.
4515         * org-exp.el (org-get-current-options): Fix bug when in indirect
4516         buffer.
4518 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4520         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4521         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4522         (org-agenda-dim-blocked-tasks): New function.
4524         * org.el (org-enforce-todo-dependencies): New option.
4525         (org-block-todo-from-children-or-siblings): New function.
4527         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4529         * org.el (org-todo): Return correct state type even if the blocker
4530         throws an error.
4531         (org-modifier-cursor-error): Renamed from
4532         `org-shiftcursor-error'.
4533         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4534         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4536         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4537         to get real errors from the blocker hook.
4539         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4540         functions.
4541         (org-set-visibility-according-to-property): Turn off the setting
4542         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4543         property.
4545 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4547         * org.el (org-support-shift-select): New option.
4548         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4549         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4550         selection outside contexts.
4552         * org-list.el (org-at-item-bullet-p): New function.
4554         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4555         variables.
4557         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4558         variable.
4559         (org-insert-footnote-reference-near-definition): Remove
4560         unnecessary let form.
4562         * org-export-latex.el (org-export-latex-first-lines): Add
4563         OPT-PLIST parameter.
4564         (org-export-as-latex): Call `org-export-latex-first-lines' with
4565         opt-plits parameter.
4566         (org-export-latex-preprocess): Remove unnecessary variables.
4568         * org-exp.el (org-infile-export-plist)
4569         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4570         (org-export-remove-headline-metadata)
4571         (org-export-get-title-from-subtree, org-get-min-level)
4572         (org-html-do-expand): Remove innecessary let form.
4574         * org-colview-xemacs.el (org-columns-display-here): Remove
4575         unnecessary variables.
4577         * org-colview.el (org-columns-display-here): Remove unnecessary
4578         variables.
4580         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4581         variables.
4583         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4584         unnecessary variables.
4586         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4587         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4588         variables.
4590         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4591         (org-compact-display-after-subtree-move): Remove unnecessary
4592         variables.
4593         (org-edit-fixed-width-region): Remove unnecessary variables.
4594         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4595         (org-olpath-completing-read): Remove unnecessary variable.
4596         (org-auto-repeat-maybe): Remove unnecessary variable.
4597         (org-map-entries): Remove unnecessary variable.
4598         (org-buffer-property-keys, org-imenu-get-tree)
4599         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4601 -----------------------------------------------------------------
4603 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4604         * org-exp.el (org-export-remove-timestamps): Never remove
4605         timestamps from tables.
4607         * org-export-latex.el (org-export-latex-first-lines): Add more
4608         options to the preprocessing of the text before the first
4609         headline.
4611 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4613         * org-faces.el (org-clock-overlay): Make face compatible with
4614         XEmacs.
4616         * org.el (org-yank): Add property for delete-selection mode.
4618         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4620         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4621         variable.
4623         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4624         to `backward-char'.
4626         * org-exp.el (org-export-as-html): Remove the initial space from
4627         colon examples.
4629         * org.el (org-scan-tags): Call
4630         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4632         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4633         customization groups.
4634         (org-agenda-tags-todo-honor-ignore-options): New option.
4635         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4636         New function.
4637         (org-agenda-get-todos): Use
4638         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4640 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4642         * org-exp.el (org-export-format-source-code-or-example): Escape
4643         HTML characters also in examples that anre not treated with
4644         htmlize.  Also, just switch to EXAMPLE processing if we do not
4645         have a good version of htmlize.
4647         * org-rmail.el: Fix copyright notice.
4649         * org.el (org-activate-footnote-links): Improve footnote link
4650         highlighting.
4652         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4653         a footnote definition at the end of the file.
4655         * org-table.el (org-table-get-specials): Add an imagined hline at
4656         the end of the table.  This can be useful for references that want
4657         to go to the end of the table.  Also fix bug when computing last
4658         row constants, in tables that do not start right at the right
4659         margin.
4660         (org-table-eval-formula): Match and replace remove references.
4661         (org-table-formula-substitute-names): Make sure that names inside
4662         a "remote" call are left alone, the will be replaced later when
4663         the remote call is handled.
4664         (org-table-convert-refs-to-rc): Do not convert things that might
4665         look like a reference, but are really part of an ID or namei n a
4666         remote reference.
4667         (org-table-get-remote-range): New function.
4669 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4671         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4673         * org-clock.el (org-clock-put-overlay): Use new face instead of
4674         `secondary-selection'.
4676         * org-faces.el (org-clock-overlay): New face.
4678 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4680         * org-exp.el (org-get-current-options): Include the option for
4681         publishing time stamps.
4683         * org.el (org-toggle-heading): Renamed from
4684         `org-toggel-region-headings'.
4685         No longer needs a region defined, but will use it if there is one.
4686         (org-ctrl-c-star): Simplified, relying more on the internal
4687         workings of `org-toggle-heading'.
4688         (org-toggle-item): Renamed from `org-toggle-region-items'.
4689         No longer needs a region defined, but will use it if there is one.
4690         (org-ctrl-c-minus): Simplified, relying more on the inernal
4691         workings of `org-toggle-item'.
4693         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4694         environment detection.  Also, do real changes only in unprotected
4695         places.
4697 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4699         * org-export-latex.el (org-export-latex-quotation-marks): Use
4700         `org-if-unprotected-1'.
4701         (org-export-latex-set-initial-vars): Check for class definition in
4702         property.
4704         * org-macs.el (org-if-unprotected-1): New macro.
4706 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4708         * org-compat.el (org-count-lines): New function.
4710         * org-exp.el (org-export-format-source-code-or-example): Handle
4711         switches related to text areas.
4713         * org.el (org-activate-footnote-links): Don't allow match inside a
4714         link.
4716         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4718         * org-export-latex.el (org-export-latex-links): Keep a relative
4719         path relative also after export.
4721         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4723         * org.el (org-make-tags-matcher): Never use IDO for completing the
4724         tags matcher match string.
4725         (org-completing-read): Also remove the special biding for "?".
4727         * org-attach.el (org-attach-allow-inheritance): New option.
4728         (org-attach-inherited): New variable.
4729         (org-attach-dir): Handle properties related to the attachment
4730         directory.
4731         (org-attach-check-absolute-path): New function.
4732         (org-attach-set-directory, org-attach-set-inherit): New commands.
4733         (org-attach): Accommodate the new commands in the dispatcher.
4735 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4737         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4738         `window-full-width-p'.
4740         * org-exp.el (org-export-as-html): Only check for images files
4741         that really can be inlined
4743         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4744         list of extensions to be a parameter.
4746         * org-exp.el (org-export-html-inline-image-extensions): New
4747         variable.
4749         * org-agenda.el (org-prepare-agenda): Use
4750         `org-agenda-block-separator'.
4751         (org-agenda-block-separator): New option.
4753 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4755         * org-export-latex.el (org-export-latex-tables): Call
4756         `org-table-clean-before-export' with the new optional argument.
4758         * org-exp.el (org-table-clean-before-export): New optional
4759         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4760         first column.
4762 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4764         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4765         histograms.
4767         * org-colview.el (org-colview-construct-allowed-dates): Better
4768         error catching when a date/time property does not have allowed
4769         values defined.
4771         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4772         Better error catching when a date/time property does not have
4773         allowed values defined.
4775 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4777         * org.el (org-map-entries): Restore point and restriction after
4778         `org-map-entries'.
4780 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4782         * org.el (org-time=, org-time<, org-time<=, org-time>)
4783         (org-time>=, org-time<>): Make sure both values are dates.
4785 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4787         * org-archive.el (org-extract-archive-heading): Allow %s for file
4788         name also in achive location heading.
4790 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4792         * org-archive.el (org-add-archive-files): Uniquify the list before
4793         returning it.
4795 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4797         * org-compat.el (org-fit-window-to-buffer): Use
4798         `window-full-width-p'.
4800         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4801         space after the colon in short examples.
4803         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4804         enforce a space after the colon.  However, we also allow lines
4805         that are *only* a colon.
4806         (org-export-as-html): Enforce the space after the colon in short
4807         examples.
4808         (org-export-preprocess-string): Do the colon example protection
4809         earlier.
4810         (org-export-remove-timestamps): Do not check for protection at the
4811         end of the line.
4813 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4815         * org.el (org-format-latex-options): Add new matcher for single
4816         letters between dollars.
4817         (org-get-header): Function removed.
4818         (org-heading-components): New function.
4820         * org-exp.el (org-export-define-heading-targets): Record ID's also
4821         as alternative targets.
4822         (org-export-as-html): Interpret "id:" links to other files by
4823         preserving the relative path.
4825         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4826         is nil.
4828         * org-exp.el (org-export-normalize-links): Protect the main link,
4829         to avoid special character processing.
4831         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4832         New variable.
4833         (org-export-latex-special-string-regexps): Variable removed.
4834         (org-export-latex-keywords): Use the new regexp.
4836         * org-exp.el (org-export-handle-include-files): Fetch switches and
4837         put them into the BEGIN statement.
4839         * org-timer.el (org-timer-mode-line-string): New variable.
4841         * org-clock.el (org-clock-mode-line-map): Renamed from
4842         `org-clock-mode-map'.
4843         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4844         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4845         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4846         (org-clock-remove-overlays): Renamed from
4847         `org-remove-clock-overlays'.
4849         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4850         and mode line display.
4851         (org-timer-stop): New command.
4852         (org-timer-seconds): Return correct time when timer is paused.
4853         (org-timer-mode-line-timer): New variable.
4854         (org-timer-set-mode-line, org-timer-update-mode-line): New
4855         functions.
4857         * org.el (org-insert-heading):  Handle new value `auto' for
4858         `org-blank-before-new-entry'.
4859         (org-org-menu): Add new items for timer functions.
4861         * org-list.el (org-insert-item): Handle new value `auto' for
4862         `org-blank-before-new-entry'.
4864         * org.el (org-blank-before-new-entry): New value `auto', made
4865         default.
4867 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4869         * org-exp.el (org-export-normalize-links): If the link is also
4870         used as the description, protect the description.
4872 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4874         * org.el (org-closest-date): Fix bug with yearly repeats, in
4875         combination with preference of the past as it is used for deadline
4876         and scheduling search.
4878         * org-exp.el (org-html-handle-time-stamps): No longer check for
4879         the `org-export-with-timestamps' option, because the preprocesser
4880         has taken care of this already.
4882         * org.el (org-entry-properties): Catch the case when this is
4883         called in a non-org-mode file.
4885         * org-export-latex.el (org-export-latex-remove-from-headlines):
4886         Variable made obsolete, also LaTeX export now uses the standard
4887         variables.
4888         (org-export-as-latex): Add the timestamps parameter to the
4889         preprocessor parameter list.
4890         (org-export-latex-content): Export the remaining keywords without
4891         considering to remove them.
4892         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4893         Use bold font instead of tt font for the keywords.
4894         (org-export-latex-fontify-headline): Format headlines, assuming
4895         that all keywords still present should be published.
4896         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4897         publish what ever remains of the time stamps.
4898         (org-export-latex-list-parameters): New option.
4899         (org-export-latex-lists): Pass additional parameters to the list
4900         converter.
4902         * org-exp.el (org-export-preprocess-string): Remove clock lines
4903         and timestamps already in the preprocesor.
4904         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4905         functions.
4906         (org-export-as-ascii, org-export-as-html): Add the timestamps
4907         parameter to the preprocessor parameter list.
4909         * org-list.el (org-list-parse-list): Parse for checkboxes.
4910         (org-list-to-generic): Introduce and handle new parameters :cbon
4911         and :cboff.
4912         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4913         optional parameter PARAMS.
4915         * org-export-latex.el (org-export-latex-special-chars): Fix
4916         problems with interpreting dollar signs.
4917         (org-inside-latex-math-p): New function.
4918         (org-export-latex-preprocess): Protect all the math fragments.
4920         * org.el (org-latex-regexps): Allow a dash after a dollar.
4922         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4923         mark after copying.
4925         * org-agenda.el (org-run-agenda-series): Have series options set
4926         when finalizing the agenda.
4928         * org-exp.el (org-export-format-source-code-or-example): Protect
4929         the converted examples.
4931         * org.el (org-set-regexps-and-options): Fix the regexp
4932         `org-complex-heading-regexp'.
4934 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4936         * org.el (org-edit-src-get-label-format): New function.
4937         (org-coderef-label-format): New option.
4938         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4939         a label format specification and make sure it is used in the edit
4940         buffer.
4941         (org-edit-src-get-label-format): New function.
4942         (org-store-link): Handle new coderef formats.
4943         (org-link-search): Handle new coderef formats.
4945         * org-footnote.el (org-footnote-create-definition)
4946         (org-footnote-goto-local-insertion-point): Make footnote insertion
4947         work correctly when the "Footnotes" headline is the last line in
4948         the buffer.
4950         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4951         the location.
4953 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4955         * org-w3m.el (org-w3m): New customization group.
4956         (org-w3m-deactivate-mark): New option.
4957         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4958         option say not to.
4960 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4962         * org.el (org-set-font-lock-defaults): Trigger footnote
4963         fontification.
4964         (org-activate-footnote-links): New function.
4965         (org-activate-links): New entry `footnote'.
4967         * org-faces.el (org-footnote): New face.
4969 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4971         * org-macs.el (org-re): Handle the [:word:] class.
4973         * org-exp.el (org-export-preprocess-string): Call
4974         `org-export-protect-colon-examples'.
4975         (org-export-protect-colon-examples): Renamed from
4976         `org-export-protect-examples', and scope limited to lines starting
4977         with a colon.
4979 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4981         * org-exp.el (org-export-preprocess-string): Move the preprocess
4982         hook to after turning on Org-mode.
4983         (org-export-preprocess-after-include-files-hook)
4984         (org-export-preprocess-after-tree-selection-hook)
4985         (org-export-preprocess-before-backend-specifics-hook)
4986         (org-export-preprocess-final-hook): New hooks.
4987         (org-export-preprocess-string): Run the new hooks.
4989         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4991         * org-footnote.el: New file.
4993         * org.el (org-footnote): Require footnote code.
4994         (org-startup-options): Add new footnote options.
4995         (org-mode-map): New keybindig for footnotes.
4996         (org-ctrl-c-ctrl-c): Add function at footnotes.
4997         (org-org-menu): New menu entries for footnotes.
4999         * org-export-latex.el (org-export-as-latex): Pass footnote
5000         variable to preprocessor.
5001         (org-export-latex-preprocess): Treat multiple references to a
5002         footnote.
5004         * org-exp.el (org-export-preprocess-string): Call
5005         `org-footnote-normalize'.
5006         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5007         to preprocessor.
5008         (org-export-as-html): Treat multiple references to a footnote.
5010 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5012         * org-export-latex.el (org-export-latex-links): Handle coderef
5013         links.
5015         * org.el (org-bracket-link-analytic-regexp++): New variable.
5016         (org-make-link-regexps): Initialize
5017         `org-bracket-link-analytic-regexp++'.
5018         (org-store-link): Implement special case in edit-src buffer.
5019         (org-insert-link): No use of ide to insert stored links.
5020         (org-link-search): Implement special case for coderefs.
5022         * org-exp.el (org-export-html-scripts): New constant.
5023         (org-export-html-style-default): Add a new style for highlighted
5024         code.
5025         (org-export-code-refs): New variable.
5026         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5027         Call `org-export-replace-src-segments-and-examples'
5028         No longer call `org-export-protect-examples'.
5029         (org-export-target-internal-links): Take care of coderef targets.
5030         (org-export-last-code-line-counter-value): New variable.
5031         (org-export-replace-src-segments-and-examples): Renamed from
5032         `org-export-replace-src-segments', and modified.
5033         (org-export-format-source-code-or-example): Renamed from
5034         `org-export-format-source-code'.
5035         (org-export-number-lines): New function.
5036         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5038 --------------------------------------------------------------------------
5040 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5042         * org-remember.el (org-remember-handler): Safer way to get a new
5043         buffer accessing the target file.
5045         * org.el (org-refile-get-location): Handle case of current buffer
5046         not having a file associated with it.
5048 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5050         * org-table.el (org-table-get-formula): Only ask to overwrite
5051         field formula if there really is one.
5053         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5054         number, by converting these to a string.
5056         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5057         located in a different file.
5059         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5060         org-colview.el.
5062 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5064         * org.el (org-completion-use-ido): Enhance docstring of
5065         `org-completion-use-ido'.
5067         * org-export-latex.el (org-export-latex-make-header): Double the %
5068         in the time stamp format.
5069         (org-export-latex-special-chars): Handle case where there is no
5070         match group 3.
5072 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5074         * org.el (org-get-refile-targets, org-refile-get-location): Use
5075         expanded file name to improve comparison.
5077 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5079         * org.el (org-scan-tags): Rescan for tags, to get the correct
5080         upcase/downcase stuff.  This slows things down for now, but it
5081         works.
5082         (org-mode): Make sure the tag-faces regexp is initialized.
5084         * org-export-latex.el (org-export-latex-links): Fix bug with
5085         undefined label.
5087         * org-table.el (org-table-get-specials): Set
5088         `org-table-current-last-data-line'.
5089         (org-table-current-last-data-line): New variable.
5090         (org-table-insert-column, org-table-delete-column)
5091         (org-table-move-column, org-table-fix-formulas): Call
5092         `org-table-fix-formulas' a second time to fix the $LR references.
5093         (org-table-get-specials): Add the $LR references to the tables.
5094         (org-table-get-formula): Do not offer last-row names as LHS of
5095         formulas.
5097         * org.el (org-store-link): Capture link description from
5098         `org-id-store-link'.
5100         * org-exp.el (org-export-html-format-image): Add the / to the end
5101         of the <img> tag.
5102         (org-export-format-source-code): Surround example by empty lines,
5103         to make sure it will not be inside a paragraph.
5105         * org.el (org-ido-switchb): New function.
5107 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5109         * org-agenda.el (org-agenda-show): New prefix argument
5110         FULL-ENTRY.
5112         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5113         argument.
5115         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5116         `org-agenda-change-all-lines'.
5117         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5118         tags are now retrieved locally.
5120 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5122         * org.el (org-get-outline-path): Fix bug if level is not given.
5123         (org-org-menu): Do not quote function in menu vector.
5125         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5126         name.
5128 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5130         * org.el (org-refile): Avoid refiling to within the region to be
5131         refiled.
5133         * org-export-latex.el (org-export-latex-special-chars): Replace
5134         special characters also in tables.
5136         * org-agenda.el (org-agenda-change-all-lines): New argument
5137         FORCE-TAGS.
5138         (org-agenda-set-tags): Cet the new tags and pass them to
5139         `org-format-agenda-item'.
5141 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5143         * org-export-latex.el (org-export-latex-classes): Add longable as
5144         a default package to all classes.
5145         (org-export-latex-tables): Handle the longtable attribute and the
5146         align attribute.
5148         * org-table.el (orgtbl-to-generic): Handle tables that start with
5149         a hline.
5151         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5152         \verb for colde-like snippets.
5153         (org-export-as-latex): Fix issues with region export.
5155         * org.el (org-up-heading-safe): Speed up function by using a
5156         direct regexp search.
5157         (org-olpa): New variable.
5158         (org-get-outline-path): Speed-up path constructions in cases where
5159         this is possible because the entire hierarchy is scanned anyway.
5160         (org-refile-get-location): Don't compare the truenames of files,
5161         this is too slow.
5162         (org-goto-max-level): New option.
5163         (org-goto): Use `org-goto-max-level'.
5165 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5167         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5168         Strip angle brackets from message-ids in the former and don't do
5169         it in the latter.
5170         (org-gnus-follow-link): Open summary reliable, even if the last
5171         messages were deleted, and handle empty groups, too.
5173 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5175         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5176         instead of \texttt for the =...= and ~===~ emphasis environments.
5177         (org-export-as-latex): Remove any old :org-license-to-kill text
5178         properties.
5179         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5180         (org-export-latex-make-header): Add some hard space after the
5181         table of contents.
5182         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5183         exported text so that it will be excuded in further steps.
5185         * org-table.el (org-table-get-specials): Make @0 reference the
5186         last line in a table.
5187         (org-table-recalculate): Improve docstring.
5189 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5191         * org.el (org-log-done): Fix docstring.
5193 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5195         * org-exp.el (org-export-html-format-image): Fix bugs.
5197         * org-export-latex.el (org-export-latex-tables)
5198         (org-export-latex-links): Implement attribute, label, and caption
5199         handling.
5201         * org-exp.el (org-export-html-style-default): Add style
5202         definitions for the figure div.
5203         (org-export-preprocess-string, org-export-as-html): Implement
5204         attribute, label, and caption handling.
5205         (org-export-attach-captions-and-attributes): New function.
5206         (org-export-html-format-image): New function.
5207         (org-format-org-table-html): Implement attribute, label, and
5208         caption handling.
5210         * org.el (org-find-text-property-in-string): New function.
5211         (org-extract-attributes): Use the property org-attr instead of
5212         org-attrobutes, because this property is now set with the #+ATTR
5213         lines.
5215 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5217         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5218         the case that FROM is nil.
5220         * org.el (org-before-first-heading-p): New function.
5222 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5224         * org-exp.el (org-export-as-html): Do not add a space before
5225         enforces line breaks.
5226         (org-export-as-html): Close paragraph before blockquote and verse
5227         tags.
5229 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5231         * org-id.el (org-id-locations-file): Wrap file name with
5232         `convert-standard-filename'.
5233         (org-id-files): New variable.
5234         (org-id-use-hash): New option.
5235         (org-id-update-id-locations): Also search in all files current
5236         listed in `org-id-files'.  Convert the resulting alist to a hash
5237         if the user customation says so.
5238         (org-id-locations-save): Handle he case if `org-id-locations' is a
5239         hash.
5240         (org-id-locations-load): Convert the alist to a hash.
5241         (org-id-add-location): Handle the hast case.
5242         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5243         exited.
5244         (org-id-hash-to-alist, org-id-alist-to-hash)
5245         (org-id-paste-tracker): New functions.
5247 -------------------------------------------------------------------------
5249 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5251         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5252         bindings of calendar variables.
5254         * org-table.el (org-table-find-row-type): Renamed from
5255         `org-find-row-type'.
5256         (org-table-rewrite-old-row-references): Renamed from
5257         `org-rewrite-old-row-references'.
5258         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5259         (org-table-cleanup-narrow-column-properties): Renamed from
5260         `org-cleanup-narrow-column-properties'.
5262 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5264         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5265         for better error messages.
5266         (org-table-get-descriptor-line): Supply the new arguments to
5267         `org-find-row-type'.
5268         (org-table-error-on-row-ref-crossing-hline): New option.
5270         * org.el (org-target-link-regexp): Make buffer-local.
5271         (org-move-subtree-down): Fix bug with trees at beginning of
5272         buffer.
5274 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5276         * org-faces.el (org-set-tag-faces): New function.
5277         (org-tags-special-faces-re): New variable.
5279         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5281         * org-faces.el (org-tag-faces): New option.
5282         (org-tag): Mention `org-tag-faces' in the docstring.
5284 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5286         * org-exp.el (org-export-html-style-default): Implement new
5287         quoting.
5289         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5291         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5292         command to the `w3m-minor-mode-map'.
5294         * org-archive.el (org-archive-to-archive-sibling): Protect
5295         `this-command' to avoid appending kills during archiving.
5297         * org-exp.el (org-export-with-priority): New variable.
5298         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5299         instead of internal list of strings and properties.
5300         (org-print-icalendar-entries): Retrieve the location property with
5301         inheritance.
5303 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5305         * org-exp.el (org-export-with-todo-keywords): New option.
5306         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5307         line.
5308         (org-default-export-plist, org-export-add-options-to-plist)
5309         (org-export-as-ascii, org-export-as-html): Use the new structure
5310         of `org-export-plist-vars'.
5312         * org.el (org-map-entries): Return all values.
5314 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5316         * org.el (org-matcher-time): Recognize more special values.
5318         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5320 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5322         * org.el (org-tags-exclude-from-inheritance): New option.
5323         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5324         `org-tags-exclude-from-inheritance'.
5326         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5327         (org-format-agenda-item): Add inherited tags to the agenda line
5328         string, and make sure that properties are kept when downcasing the
5329         tags list.
5330         (org-agenda-add-inherited-tags): New function.
5331         (org-downcase-keep-props): New function.
5333         * org.el (org-scan-tags): Mark inherited tags with a text
5334         property.
5335         (org-get-tags-at): Mark inherited tags with a text property.
5336         (org-add-prop-inherited): New function.
5338         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5339         (org-agenda-show-inherited-tags): New option.
5341 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5343         * org.el (org-modules): Add org-w3m to the default modules.
5345         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5346         orgtbl-mode.
5347         (orgtabl-create-or-convert-from-region): New command.
5349         * org-exp.el (org-export-as-ascii): Remove the handling of
5350         targets.
5351         (org-export-ascii-preprocess): Handle targets already in this
5352         function.
5354 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5356         * org-timer.el (org-timer-start-time): Define this variable.
5357         (org-timer-item): Make argument optional.
5359         * org-list.el (org-insert-item): Automatically insert a timer item
5360         if the current list is a timer list.
5362         * org-timer.el: New file.
5364         * org-publish.el (org-publish-org-index): Only exclude the index
5365         file in the main directory from being added to the site-map.
5366         (org-publish-get-project-from-filename): If the current project is
5367         a component, start publishing from the parent project.
5369 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5371         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5373         * org-publish.el (org-publish-org-index): Improve removal of
5374         temporary buffers.
5376         * org-agenda.el (org-get-closed): Re-apply changes
5377         accidentially overwritten by last commit to Emacs.
5379         * org.el (org-outline-path-complete-in-steps): New option.
5380         (org-refile-get-location): Honor
5381         `org-outline-path-complete-in-steps'.
5382         (org-agenda-change-all-lines, org-tags-sparse-tree)
5383         (org-time-string-to-absolute, org-small-year-to-year)
5384         (org-link-escape): Re-apply changes accidentially overwritten
5385         by last commit to Emacs
5387 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5389         * org-clock.el (org-dblock-write:clocktable): Make sure the
5390         clocktable sees the first line.
5391         (org-clock-in): Warn if the clock cannot be resumed.
5393 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5395         * org.el (org-open-at-point): Fix mixup about interactive and
5396         non-interactive elisp links.
5398 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5400         * org-exp.el (org-export-preprocess-string): Allow one comment
5401         line before the first headline to always be included.  This is
5402         to not miss a commented target.
5404         * org-mouse.el (org-mouse-insert-item): Call
5405         `org-indent-to-column' instead of `indent-to', for XEmacs
5406         compatibility.
5408         * org.el (org-refile-targets): Fix customize definition so
5409         that it works also in XEmacs.
5410         (org-fixup-indentation): Call `org-indent-to-column' instead
5411         of `indent-to', for XEmacs compatibility.
5413 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5415         * org-mew.el (org-mew-store-link): Get the correct case folder
5416         for refiled messages.
5418 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5420         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5421         line break indicators.
5423         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5424         ido-completion propts.
5426 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5428         * org-remember.el (org-remember-apply-template): Use
5429         `org-substring-no-properties'.
5431         * org-compat.el (org-substring-no-properties): New function.
5433         * org-remember.el (org-remember-apply-template): Use
5434         `org-substring-no-properties' for compatibility.
5436         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5437         option.
5438         (org-fix-bullet-type): respect
5439         `org-list-two-spaces-after-bullet-regexp'.
5441         * org-clock.el (org-clock-load): Clean up the code.
5443         * org.el (org-adaptive-fill-function): Allow two spaces after
5444         "1." as a list bullet.
5446 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5448         * org-clock.el (org-clock-save, org-clock-load): Check for
5449         live buffers, existing files, and buffer file names to ensure
5450         consistent information.
5451         (org-clock-persist): Make `clock' a special value of this
5452         variable, and improve docstring.
5454         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5455         (org-get-string-indentation): Adapt indentation when the bullet
5456         width changes.
5458 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5460         * org-remember.el (org-remember-finalize): Make interactive.
5461         (org-remember-kill): New command.
5462         (org-remember-finish-immediately): Call `org-remember-finalize'
5463         directly.
5464         (org-remember-finalize): Make `org-remember-finalize' an interactive
5465         function.
5467 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5469         * org-remember.el (org-remember-apply-template): No ido completion
5470         for free prompts in remember templates.
5471         (org-remember-before-finalize-hook): New hook.
5472         (org-remember-mode): New minor mode.
5473         (org-remember-apply-template): Turn on `org-remember-mode'.
5475         * org-id.el (org-id-add-location): Avoid error when no file is
5476         given.
5478         * org-remember.el (org-remember-apply-template): Fix the way how
5479         the list of allowed properties is retrieved from the target file.
5481         * org.el (org-insert-link): Improve file link matching.
5483 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5485         * org-colview.el (org-columns-display-here): New argument
5486         DATELINE, to trigger using the new face.
5487         (org-agenda-colview-summarize): Call `org-columns-display-here'
5488         with the new argument.
5490         * org-faces.el (org-agenda-column-dateline): New face.
5492         * org-publish.el (org-publish-org-index): Use index-title at page
5493         title, not as section.
5495         * org-exp.el (org-export-html-format-desc): Respect the
5496         org-protect property.
5497         (org-export-as-html): Protect image specifiers that are in the
5498         description part of a link.
5500         * org.el (org-sort-entries-or-items, org-completing-read)
5501         (org-refile-get-location, org-olpath-completing-read, org-todo)
5502         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5503         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5504         (org-set-property, org-delete-property)
5505         (org-delete-property-globally): Use `org-ido-completing-read'.
5507         * org-remember.el (org-remember-apply-template): Use
5508         `org-ido-completing-read'.
5510         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5512         * org-colview.el (org-columns-edit-value, org-columns-new)
5513         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5515         * org-colview-xemacs.el (org-columns-edit-value)
5516         (org-columns-new, org-insert-columns-dblock): Use
5517         `org-ido-completing-read'.
5519         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5520         `org-ido-completing-read'.
5522         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5523         `org-ido-completing-read'.
5525         * org.el (org-time-today): New function.
5526         (org-matcher-time): Use `org-time-today'.  Add special treatment
5527         for "<tomorrow>" and "<yesterday>".
5528         (org-ido-completing-read): New function.
5529         (org-completion-use-ido): New option.
5531         * org-exp.el (org-export-format-source-code): Fix bug in require
5532         htmlize code.
5533         (org-export-target-internal-links): Fix bug in search for text
5534         property.
5536 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5538         * org-export-latex.el (org-export-latex-subcontent): Interprete
5539         target aliases as additonal labels.
5541         * org-exp.el (org-export-target-aliases): New variable.
5542         (org-export-preprocess-string)
5543         (org-export-handle-invisible-targets): Fill the alias alist.
5544         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5545         assign an id.
5546         (org-html-level-start): Insert the target aliases as additonal
5547         anchors.
5549         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5550         picture area.
5552 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5554         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5555         when following a link with the mouse from the agenda.
5557         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5558         headlines are created.
5560 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5562         * org-exp.el (org-export-preprocess-string): Reorder so that we
5563         can still see ID properties when we collect targets.
5564         (org-export-target-internal-links): Also store targets for ID's.
5566         * org.el (org-link-translation-function): New option.
5567         (org-open-at-point): Call `org-link-translation-function' if
5568         non-nil.
5569         (org-translate-link): New function.
5570         (org-translate-link-from-planner): New function.
5571         (org-open-at-point): Allow interactive commands in elisp links.
5573         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5574         iCalendar quoting.  The new one seems to caus problems with
5575         applications.
5577         * org.el (org-yank): Set `this-command' to `yank', so that
5578         `yank-pop' will work.
5580 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5582         * org-id.el (org-id-search-archives): New option.
5584         * org.el (org-link-to-org-use-id): New option.
5585         (org-store-link): Use `org-link-to-org-use-id'.
5586         (org-id): Make org-id.el a standard component.
5588 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5590         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5591         hexified version of the tag.
5593         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5594         compliance as far as quoting is concerned.
5596         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5598         * org.el (org-up-heading-safe, org-forward-same-level): Always
5599         call `org-back-to-heading' instead of `outline-back-to-heading'.
5600         (org-back-to-heading): New wrapper around outline-back-to-heading,
5601         with a useful error message telling where the error happened.
5603         * org-list.el (org-update-checkbox-count): Always call
5604         `org-back-to-heading' instead of `outline-back-to-heading'.
5606         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5607         has an `alt' attribute, to ensure XHTML validation.
5609 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5611         * org-publish.el (org-publish-attachment): Allow publishing to
5612         overwrite attachment files.
5614         * org-agenda.el (org-agenda-timerange-leaders): New option.
5615         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5617         * org.el (org-edit-src-exit): Untabify ASCII image before
5618         returning.
5631 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5633         * org.el (org-yank): Make any prefix force normal yanking.
5634         Suppress folding if text would be swallowed into a folded
5635         subtree.
5636         (org-yank-folded-subtrees, org-yank): Docstring updates.
5638         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5639         defined as 0.
5641         * org-exp.el (org-export-language-setup): Add Catalan and
5642         Esperanto language entries.
5644 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5646         * org.el (org-refile): Allow refiling of entire regions.
5648         * org-clock.el (org-clock-time%): New function.
5650         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5651         retrieve property values.
5653 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5655         * org-agenda.el (org-agenda-list): Handle the value `only' of
5656         org-agenda-show-log'.
5657         (org-agenda-log-mode): Interpret a double prefix arg.
5659 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5661         * org-exp.el (org-export-html-footnotes-section): New variable.
5662         (org-export-as-html): Use `org-export-html-footnotes-section' to
5663         insert the footnotes.
5664         (org-export-language-setup): Add "Footnotes" to language words.
5666 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5668         * org.el (org-yank): Fix bug when not inserting a subtree.
5670 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5672         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5673         instead of `vm-beginning-of-message'.
5675         * org.el (org-make-link-regexps): Make sure that links to gnus can
5676         contain brackets.
5678 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5680         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5681         code.
5683         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5684         shell output.
5686         * org.el (org-link-abbrev-alist): Improve customization type.
5688         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5689         functions.
5691         * org-agenda.el (org-agenda-get-progress): Renamed from
5692         `org-get-closed'.  Implement searching for state changes as well.
5693         (org-agenda-log-mode-items): New option.
5694         (org-agenda-log-mode): New option prefix argument, interpreted as
5695         request to show all possible progress info.
5696         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5697         `org-get-closed'.
5698         (org-agenda-set-mode-name): Handle the more complex log mode
5699         settings.
5700         (org-get-closed): New alias, pointing to `org-get-progress'.
5702 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5704         * org.el (org-file-apps-defaults-gnu)
5705         (org-file-apps-defaults-macosx)
5706         (org-file-apps-defaults-windowsnt): Add an entry defining the
5707         system command.
5708         (org-file-apps): Allow `system' as key and value.
5709         (org-open-at-point): Explain the effect of a double prefix arg.
5710         (org-open-file): If the argument `in-emacs' is (16),
5711         i.e. corresponding to a double prefix argument, try to open the
5712         file externally.
5714 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5716         * org.el (org-insert-link): Abbreviate absolute files names in
5717         links.  Also, fix a bug in which the double C-u prefix would not
5718         be honored.
5720 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5722         * org.el (org-insert-heading): If buffer does not end with a
5723         newline, add one if necessary to insert headline correctly.
5725         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5726         paragraphs, not inside.
5728         * org.el (org-todo): Quote
5729         `org-agenda-headline-snapshot-before-repeat'.
5731         * org-exp.el (org-export-as-html): Fully process link descriptions.
5732         (org-export-html-format-desc): New function.
5733         (org-export-as-html): Collect footnotes into the correct basket.
5734         (org-html-protect): No longer protect quotations marks here, this
5735         goes wrong.
5737         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5738         BEG.
5740         * org-compat.el (org-fit-window-to-buffer): New function (not
5741         really, a preliminary and incomplete version was present earlier,
5742         but not used).
5744         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5745         `org-fit-window-to-buffer'.
5747         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5749         * org-agenda.el (org-agenda-get-restriction-and-command)
5750         (org-fit-agenda-window, org-agenda-convert-date): Use
5751         `org-fit-window-to-buffer'.
5753         * org-exp.el (org-export-as-html): Process href links through
5754         `org-export-html-format-href'.
5755         (org-export-html-format-href): New function.
5757         * org-agenda.el (org-agenda-todo): Update only the current
5758         headline if this is a repeated TODO, marked done for today.
5759         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5760         only the current line.
5762         * org.el (org-todo): Take a snapshot of the headline if the
5763         repeater might change it.
5765 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5767         * org-publish.el (org-publish-find-title): Remove buffers visited
5768         only for extracting the title.
5770         * org-exp.el (org-export-html-style)
5771         (org-export-html-style-default): Mark style definitions as
5772         unparsed CDATA.
5774         * org-publish.el (org-publish-validate-link): Function
5775         re-introduced.
5777 2008-11-02  Charles Sebold  <csebold@gmail.com>
5779         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5780         property.
5781         (org-plot-quote-timestamp-field): New function.
5782         (org-plot-quote-tsv-field): Call timestamp field function when
5783         necessary rather than just quoting as a string.
5784         (org-plot/gnuplot-to-data): Pass in timefmt property.
5785         (org-plot/gnuplot-script): Supports timefmt property.
5786         (org-plot/gnuplot): Checks for timestamp column before checking
5787         for text index column.
5789 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5791         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5793         * org-publish.el (org-publish-org-index): Create a section in the
5794         index file.
5795         (org-publish-org-index): Stop linking to directories.
5797         * org.el (org-emphasis-alist): Use span instead of <u> to
5798         underline text.
5800         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5801         <pre> sections.
5803 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5805         * org-jsinfo.el (org-infojs-template): Remove language attribute
5806         from script tag.
5808 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5810         * org-agenda.el (org-agenda-remove-marked-text): New function.
5811         (org-agenda-mark-filtered-text)
5812         (org-agenda-unmark-filtered-text): New functions.
5813         (org-write-agenda): Remove fltered text.
5815         * org.el (org-make-tags-matcher): Give access to TODO "property"
5816         without speed penalty.
5818 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5820         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5821         option.
5822         (org-store-link-props): Make sure adding to the plist works
5823         correctly.
5825         * org-gnus.el (org-gnus-no-new-news): New function.
5826         (org-gnus-follow-link): Allow the article ID to be a message-id,
5827         in addition to allowing article numbers.  Message IDs make much
5828         more roubust links.
5829         (org-gnus-store-link): Use message-id to create link.
5831 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5833         * org.el (org-emphasize): Reverse the selection array.
5834         (org-emphasis-alist): Set <code> tags for the verbatim
5835         environment.
5837         * org-remember.el (org-remember-handler): Fix bug with
5838         prefix-related changing of the note storage target.
5840         * org-exp.el (org-print-icalendar-entries): Make the exported
5841         priorities compatible with RFC 2445.
5843         * org-clock.el (org-clock-save): Insert time stamp without
5844         dependence on time-stamp.el.
5846 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5848         * org.el ("saveplace"): If saveplace puts point into an invisible
5849         location, make it visible.
5850         (org-make-tags-matcher): Allow inactive time stamps in time
5851         comparisons.
5852         (org-yank-adjusted-subtrees): New option.
5853         (org-yank): Incorporate adjusting trees.
5854         (org-paste-subtree): New argument FOR-YANK which will cause
5855         insertion at point without backing up over white lines, and leave
5856         point at the end of the inserted text.  Also if the cursor is
5857         at the beginning of a headline, use the same level or the inserted
5858         tree.
5860         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5861         with broken symlinks
5863 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5865         * org-exp.el (org-export-select-tags, org-get-current-options):
5866         Fix typo.
5868 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5870         * org-agenda.el (org-format-agenda-item)
5871         (org-agenda-filter-make-matcher): Make sure tags are stored and
5872         compared donwcased.
5874 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5876         * org.el (org-insert-todo-heading): Fix bug with force-heading
5877         argument.
5879 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5881         * org-clock.el (org-clock-in-resume): Add a custom option to
5882         toggle starting the clock from an open clock line.
5883         (org-clock-in): When clocking in to an entry, if
5884         `org-clock-in-resume' is set, check if the first clock line is
5885         open and if so, start the clock from the time in the clock line.
5886         (org-clock-persist): Add a custom option to toggle clock
5887         persistence.
5888         (org-clock-persist-query-save): Add a custom option to toggle
5889         asking the user if they want to save the running clock when
5890         exiting.
5891         (org-clock-persist-query-resume): Add a custom option to toggle
5892         asking the user if they want to resume the saved clock when Emacs
5893         is restarted.
5894         (org-clock-save): Add a function to save clock data.
5895         This includes the contents of `org-clock-history' and the buffer
5896         and position of the currently clocked task, if any.
5897         (org-clock-load): Add a function to load clock data.
5898         This populates `org-clock-history', and resumes the saved clocked
5899         task if there is one.
5900         (org-clock-persistence-insinuate): Add a method to set up the
5901         hooks for clock persistence.
5903 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5905         * org-exp.el (org-export-as-ascii): Handle the case that we are
5906         publishing from an indirect buffer.
5908         * org-table.el (org-table-copy-down): Fix bug with time stamp
5909         increment.
5911         * org-mouse.el (org-mouse-features): New option.
5912         (org-mode-hook): Turn on features depending on
5913         `org-mouse-features'.
5915         * org.el (org-insert-heading-respect-content): Force heading
5916         creation.
5917         (org-insert-heading): keep the folding state of the heading before
5918         the inserted one.
5920 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5922         * org-archive.el (org-archive-to-archive-sibling): Handle top
5923         level headlines better.
5925 2008-10-21  Bastien Guerry  <bzg@altern.org>
5927         * org-export-latex.el (org-export-latex-classes): Added
5928         \usepackage{graphicx} to the default list of packages.
5930 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5932         * org-agenda.el (org-agenda-filter): Renamed from
5933         `org-agenda-filter-tags'.
5935 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5937         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5938         is not defined as a property in this entry.
5939         (org-add-log-note): Mask prefix argument when immediately storing
5940         the note.
5942         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5943         option.
5945 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5947         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5948         after drawers was skipping ahead one line too many, so notes were
5949         inserted after the first note instead of before it.
5951 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5953         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5954         New variables.
5955         (org-prepare-agenda): Reset the filter tags.
5956         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5957         Show filter tags in mode line.
5959         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5960         formatter.
5962         * org-export-latex.el (org-latex-entities-regexp): New constant.
5963         (org-export-as-pdf): Use two calls to `shell-command'.
5965 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5967         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5968         Honor the {} value of the subsuperscript setting.  Make sure that
5969         longer subsuperscripts are typeset in a roman font.
5971         * org.el (org-clock-update-time-maybe): Compute negative clock
5972         intervals correctly.
5974 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5976         * org.el (org-add-log-setup): Respect
5977         `org-log-state-notes-insert-after-drawers'.
5978         (org-log-state-notes-insert-after-drawers): New option.
5979         (org-todo-trigger-tag-changes): New function.
5980         (org-todo): Call `org-todo-trigger-tag-changes'.
5982 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5984         * org.el (org-add-log-setup): Only skip drawers if the are
5985         immediately after the scheduling keywords.
5987         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5988         function
5989         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5990         call it with the current todo state to get the state to switch to
5991         when clocking in.
5992         (org-clock-in): Use org-indent-line-function to indent clock lines.
5993         (org-clock-find-position): Fix indentation of empty clock drawers.
5995 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5997         * org-publish.el (org-publish-org-to): Handle case when
5998         org-export-to-pdf does return a file name, not a buffer.
5999         (org-publish-org-to-pdf): New function.
6001         * org-export-latex.el (org-export-as-pdf)
6002         (org-export-as-pdf-and-open): New commands.
6004         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6005         forms as ranges.
6007         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6008         things in protexted regions.
6010 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6012         * org-export-latex.el (org-export-latex-preprocess): Improve
6013         quoting of LaTeX environments.
6015 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6017         * org.el (org-edit-fixed-width-region): Exclude final newline from
6018         picture area.
6020         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6021         sections, to make internal links work.
6022         (org-export-latex-fontify-headline): Do not remove all text
6023         properties, to make sure that target properties survive this
6024         process.
6026         * org-exp.el (org-export-preprocess-string): Change sequence of
6027         modifications, to make sure links are prepared before the LaTeX
6028         conversions do happen.
6030 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6032         * org-attach.el (org-attach-delete-all): Renamed from
6033         `org-attch-delete'.  Add a security query before deleting the
6034         entire directory.  New optional argument FORCE can overrule the
6035         security query.
6036         (org-attach-delete-one): New command.
6038 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6040         * org-attach.el (org-attach-file-list): Fix bug with directory.
6042 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6044         * org.el (org-apps-regexp-alist): New function.
6045         (org-file-apps): Add auto-mode to the default value.
6046         (org-open-file): Use the new structure of org-file-apps.
6048         * org-attach.el (org-attach): Support the new keys.
6049         (org-attach-method): New option.
6051 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6053         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6054         March.
6056         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6057         of the list value o `org-use-tag-inheritance'.
6059         * org-attach.el (org-attach-auto-tag): New option.
6060         (org-attach-tag, org-attach-untag): New functions.
6061         (org-attach-attach, org-attach-new, org-attach-sync): Call
6062         `org-attach-tag'.
6063         (org-attach-delete): Call `org-attach-untag'.
6065 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6067         * org-table.el (orgtbl-self-insert-command): Make this work for
6068         the keypad as well.
6070 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6072         * org.el (org-add-log-setup): Limit searc for drawers to entry
6073         text, not to subtree.
6075         * org-clock.el (org-clock-heading-for-remember): New variable.
6076         (org-clock-in): Set `org-clock-heading-for-remember'.
6078 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6080         * org-remember.el (org-remember-apply-template): Add new
6081         expansions: %k, %K for currently clocked task and a link to the
6082         currently clocked task, and %< to file notes in the currently
6083         clocked task.
6085 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6087         * org-export-latex.el (org-export-latex-make-header): Also insert
6088         the content of the property :latex-header-extra.
6090         * org-exp.el (org-infile-export-plist): Put the content of
6091         #+LATEX_HEADER: into the property :latex-header-extra.
6093         * org-colview.el (org-columns-get-format-and-top-level): Remove
6094         resetting the marker.
6096         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6097         Remove resetting the marker.
6099         * org.el (org-entry-property-inherited-from): Improve docstring.
6100         (org-entry-get-with-inheritance): Reset marker before starting the
6101         search.
6103         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6105 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6107         * org.el (org-entry-get-multivalued-property)
6108         (org-entry-protect-space, org-entry-restore-space): New
6109         functions.
6110         (org-file-apps-defaults-macosx): Let postscript files be opened by
6111         preview.
6112         (org-time-stamp-inactive): Call `org-time-stamp'.
6113         (org-time-stamp): New argument `inactive'.  Also edit inacive
6114         stamps. Convert time stamp type.
6115         (org-open-file): Interpret the `default' value for the `command'
6116         in `org-file-apps'.
6118         * org-id.el (org-id-int-to-b36-one-digit)
6119         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6120         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6121         b36.
6123 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6125         * org-id.el (org-id-reverse-string): New function.
6126         (org-id-new): Use `org-id-reverse-string' to make sure the
6127         beginning chars of the ID are mutating fast.  This allows to use a
6128         directory structure to spread things better.
6129         (org-id-prefix): Changed default to nil.
6131         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6132         restore the column of the cursor position.
6134         * org-remember.el (org-remember-apply-template): Remove properties
6135         from `initial'.
6137 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6139         * org-wl.el (org-wl-open): Remove useless call to
6140         `wl-thread-open-all'.
6142         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6143         location.
6145 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6147         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6148         `org-bbdb-anniversaries'.
6150         * org.el (org-get-next-sibling, org-forward-same-level): New
6151         functions, similar to the outline versions, but invisible headings
6152         are OK.
6154 2008-09-25  Bastien Guerry  <bzg@altern.org>
6156         * org.el (org-auto-repeat-maybe): Insert a space between
6157         the timestamp's type and the timestamp itself.
6159 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6161         * org-table.el (org-table-sum): Do not format the result with %g,
6162         it does rounding when there are too many digits.
6164         * org.el (org-map-entries): Protect the keyword-selecting variables.
6166 2008-09-23  Bastien Guerry  <bzg@altern.org>
6168         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6169         against all agenda files.
6171 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6173         * org-list.el: New file, aggregating list functions from org.el
6174         and org-export-latex.el.
6176         * org.el (org-edit-src-region-extra): New option.
6178 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6180         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6181         time before 1am.
6183 2008-09-22  Bastien Guerry  <bzg@altern.org>
6185         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6187 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6189         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6190         hline work correctly.
6191         (org-plot/gnuplot-script): Put commas at the end of each script
6192         line.
6194 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6196         * org.el (org-get-refile-targets): Replace links with their
6197         descriptions
6198         (org-imenu-get-tree): Replace links with their descriptions.
6200         * org-remember.el (org-remember-apply-template): Add a new
6201         expansion for adding properties to remember items.
6203         * org.el (org-add-log-setup): Skip over drawers (properties,
6204         clocks etc) when adding notes.
6206         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6207         items as well as the start and end times.
6209         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6210         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6212         * org-remember.el (org-get-x-clipboard): Use the compat
6213         function to get clipboard values when x-selection-value is
6214         unavailable. Use substring-no-properties instead of
6215         set-text-properties to remove text properties from the clipboard
6216         value.
6218         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6219         modeline clock string, and display the full todo value in the
6220         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6221         the currently clocked task.
6222         (org-clock-string-limit): Add a custom value for the maximum
6223         length of the clock string in the modeline.
6224         (org-clock-mode-map): Add a keymap for the modeline string
6226 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6228         * org-compat.el (org-propertize): New function.
6230 2008-09-20  Bastien Guerry  <bzg@altern.org>
6232         * org-export-latex.el (org-export-latex-tables): protect exported
6233         tables from further special chars conversion.
6234         (org-export-latex-preprocess): Preserve LaTeX environments.
6235         (org-list-parse-list): Parse descriptive lists.
6236         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6237         (org-list-to-texinfo): Export descriptive lists.
6238         (org-quote-chars): Remove.
6239         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6240         (org-export-latex-list-beginning-re): Rename to
6241         `org-list-beginning-re'
6242         (org-list-item-begin): Rename to `org-list-item-beginning'
6244 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6246         * org.el (org-refile): Allow refiling to the last entry in the
6247         buffer.
6248         (org-get-tags-at): Fix bug when inheritance is turned off.
6250 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6252         * org.el (org-indent-line-function): No longer check for src
6253         regions, this is too much overhead.
6255         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6256         matching.
6258         * org.el (org-scan-tags): Make sure that tags matching is not case
6259         sensitive.  TODO keyword matching is case sensitive, however, to
6260         avoid confusion with similar words that are not meant to be
6261         keywords.
6263 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6265         * org.el (org-get-local-tags-at): New function.
6266         (org-get-local-tags): New function.
6268         * org-exp.el (org-export-get-categories): New function.
6270         * org-agenda.el (org-sorting-choice)
6271         (org-agenda-sorting-strategy, org-agenda-get-todos)
6272         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6273         (org-agenda-get-scheduled, org-agenda-get-blocks)
6274         (org-entries-lessp): Implement sorting by TODO state.
6275         (org-cmp-todo-state): New defsubst.
6277         * org-colview.el (org-colview-construct-allowed-dates): New
6278         function.
6279         (org-columns-next-allowed-value): Use
6280         `org-colview-construct-allowed-dates'.
6282         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6283         function.
6284         (org-columns-next-allowed-value): Use
6285         `org-colview-construct-allowed-dates'.
6287 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6289         * org.el (org-protect-slash): New function.
6290         (org-get-refile-targets): Use `org-protect-slash'.
6292         * org-agenda.el (org-global-tags-completion-table): New variable.
6294         * org-exp.el (org-export-handle-export-tags): New function.
6295         (org-export-preprocess-string): Call
6296         `org-export-handle-export-tags'.
6298         * org-plot.el: New file.
6300         * org-publish.el (org-publish-expand-components): Function removed.
6301         (org-publish-expand-projects): Allow components to have components.
6303 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6305         * org.el (org-indent-line-function): Do not indent in regions that
6306         are external source code.
6307         (org-yank-and-fold-if-subtree): New function.
6309         * org-agenda.el (org-agenda-todayp): New function.
6310         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6311         `org-agenda-todayp'.
6313         * org.el (org-insert-heading-respect-content)
6314         (org-insert-todo-heading-respect-content): New commands.
6315         (org-insert-heading-respect-content): New option.
6316         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6318         * org-clock.el (org-clock-find-position): Make sure the note after
6319         the clock line gets moved into the new clock drawer.
6321 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6323         * org-id.el (org-id-new): New option.
6325 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6327         * org-table.el (org-table-copy-down): Avoid overflow during
6328         increment.  Use prefix argument 0 to temporarily disable the
6329         increment.
6331 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6333         * org-exp.el (org-export-as-html): Do not turn on the major mode
6334         if the buffer will be killed anyway.
6335         (org-get-current-options): Exclude the #+TEXT field.
6336         (org-export-as-html): Make sure text before the first headline is
6337         a paragraph.
6339         * org-publish.el (org-publish-org-to): Tell the exporter that this
6340         buffer will be killed, so it is not necessary to do major mode
6341         initialization.
6343         * org-archive.el (org-archive-to-archive-sibling): Show empty
6344         lines after folding the archive sibling.
6346         * org.el (org-log-note-extra): New variable.
6348 2008-09-05  Bastien Guerry  <bzg@altern.org>
6350         * org.el (org-additional-option-like-keywords): Added keywords for
6351         the _QUOTE, _VERSE and _SRC environments.
6353         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6354         exporting _QUOTE and _VERSE environments.
6356 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6358         * org-agenda.el (org-agenda-filter-by-tag): New command.
6360         * org-exp.el (org-get-current-options): Remove angular brackets
6361         from the date entry.
6363         * org.el (org-edit-fixed-width-region): New function.
6364         (org-edit-fixed-width-region): Also try
6365         `org-edit-fixed-width-region'.
6366         (org-edit-fixed-width-region-mode): New option.
6367         (org-activate-code): Only interprete lines starting with colon
6368         plus a space as example lines.
6370         * org-remember.el (org-remember-templates): Add nil instead of
6371         empty strings to fix the length of remember templates.
6373         * org-table.el (org-calc-default-modes): Fix the time format for
6374         calc, from 12 hour to 24 hour clock.
6376 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6378         * org-agenda.el (org-agenda-get-deadlines)
6379         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6380         entries that are pre-warnings of deadlines or reminders.
6382         * org.el (org-sort-entries-or-items): Make numeric and alpha
6383         comparisons ignore any TODO keyword and priority cookie.
6385         * org-remember.el (org-remember-handler): Reinterpretation of the
6386         prefix argument.
6388 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6390         * org-agenda.el (org-agenda-get-scheduled): Use new
6391         `org-scheduled' face.
6393         * org-faces.el (org-scheduled): New face.
6395         * org-wl.el (org-wl-open): Remove incorrect declaration.
6397         * org-gnus.el (org-gnus-store-link): Support for :to information
6398         in gnus links.
6400         * org-exp.el (org-export-as-html): Fixed typo in creator
6401         information.
6402         (org-export-protect-examples): New parameter indent.  Insert extra
6403         spaces only when this parameter is specified.
6404         (org-export-preprocess-string): Call `org-export-protect-examples'
6405         with an indentation parameter when exporting to ASCII.
6407         * org-remember.el (org-remember-templates)
6408         (org-remember-apply-template): Allow the file component to be a
6409         function.
6411         * org.el (org-goto-local-search-headings): Renamed from
6412         `org-goto-local-search-forward-headings'.  Added the possibility
6413         to search backwards.
6415 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6417         * org-export-latex.el (org-export-latex): New customization
6418         group.
6420         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6422 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6424         * org-exp.el (org-html-do-expand): Allow {} to terminate
6425         tex macro
6427 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6429         * org.el (org-buffer-list): Select buffers based on major mode,
6430         not on file name.
6432 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6434         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6435         face property.
6437         * org-colview.el (org-columns-display-here): Use
6438         `org-columns-modify-value-for-display-function'.
6440         * org-colview-xemacs.el (org-columns-display-here): Use
6441         `org-columns-modify-value-for-display-function'.
6443 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6445         * org.el (org-columns-modify-value-for-display-function): New option.
6457         * org-publish.el (org-publish-file): Make sure the directory match
6458         for the publishing directory works correctly.
6460         * org-agenda.el (org-agenda-execute-calendar-command)
6461         (org-agenda-diary-entry): Additional optional argument.
6463 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6465         * org-exp.el (org-export-as-html): Add attributes also in mailto
6466         and ftp links.
6468         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6477 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6479         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6480         sure that calls from `org-export-region-as-html' do not do the
6481         special check for a subtree.
6483 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6485         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6487 2008-07-20  Juri Linkov  <juri@jurta.org>
6489         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6490         new keymap `narrow-map' instead of binding "\C-xns".
6492 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6494         * org.el (org-open-file): Use
6495         `org-open-directory-means-index-dot-org'.
6496         (org-open-directory-means-index-dot-org): New option.
6498 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6500         * org.el (org-make-link-string): Remove link attributes from
6501         description.
6502         (org-open-at-point): Remove link attributes bevore using the path.
6504         * org-exp.el (org-export-as-html): Handle link attributes.
6506         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6508         * org-table.el (org-table-to-lisp): New function.
6510         * org.el (org-narrow-to-subtree): Do not include the final newline
6511         into the narrowed region.
6513         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6514         bug with user-define skipping condition.
6516 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6518         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6520 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6522         * org-exp.el (org-export-html-style-default): Automatic overflow
6523         handling for pre fields.
6524         (org-export-as-ascii, org-export-as-html): Change default format
6525         for time stamp.
6527         * org-table.el (org-table-export): Offer completion for translator
6528         functions, and do not require a heading above the table.
6530         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6531         Cater for the case of a list starting in the first line of the
6532         buffer.
6534 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6536         * org-publish.el (org-publish-find-title): Bug fix.
6537         (org-publish-org-index): Implement new :index-style option.
6539 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6541         * org-publish.el (org-publish-timestamp-filename): Use
6542         SHA1-encoded file names in the timestamp directory.
6544 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6546         * org-publish.el (org-publish-needed-p): Be verbose about files
6547         published and files skipped.
6549         * org-exp.el (org-export-preprocess-string): Swap link
6550         normalization and inernal link targeting.
6552         * org-publish.el (org-publish-needed-p): Create timestamp
6553         directory when it does not exist.
6555 2008-07-04  Bastien Guerry  <bzg@altern.org>
6557         * org-clock.el (org-clock-out-when-done): Doc fix.
6559         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6561         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6562         Ignore case when searching for the COMMENT cookie at export time.
6564 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6566         * org-exp.el (org-get-file-contents)
6567         (org-get-and-remove-property): New functions.
6568         (org-export-handle-include-files): Handle the new prefix options.
6569         (org-export-as-html): Fix the verse environment.
6571 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6573         * org.el (org-time=, org-time<, org-time<=, org-time>)
6574         (org-time>=, org-time<>, org-2ft): New functions.
6575         (org-op-to-function): Also provide for the time testing fucntions.
6577 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6579         * org-exp.el (org-export-html-style-default): New constant.
6581 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6583         * org-exp.el (org-export-html-style-extra): New variable.
6584         (org-export-splice-style): New function.
6586 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6588         * org-exp.el (org-export-plist-vars, org-export-as-html):
6589         Implement `org-export-creator-info'.
6590         (org-export-creator-info): New option.
6592 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6594         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6595         (org-property-drawer-re, org-clock-drawer-re): New constants.
6597 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6599         * org-exp.el (org-icalendar-use-deadline)
6600         (org-icalendar-use-scheduled): New options.
6601         (org-icalendar-include-todo): Default changed to t.
6602         (org-print-icalendar-entries): Implement better utilization of
6603         scheduling and deadline time stamps.
6604         (org-export-target-internal-links, org-export-as-html): Allow file
6605         lines without the "file:" prefix if the file path is an absolute
6606         path or starts with ".".
6608         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6609         lastweek etc.
6610         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6612 2008-06-18  Glenn Morris  <rgm@gnu.org>
6613         * org.el (org-map-entries): Let-bind `file'.
6615 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6617         * org.el (org-agenda-skip-archived-trees): Docstring now
6618         discourages using this.
6619         (org-scan-tags): Check for org-agenda-archives-mode.
6620         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6621         (org-agenda-files): Functionality of second arg changed.
6623         * org-agenda.el (org-agenda-archives-mode): New variable
6624         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6625         (org-search-view, org-todo-list, org-tags-view)
6626         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6627         `ifmode' argument.
6628         (org-agenda-quit): Reset the archives mode.
6629         (org-agenda-archives-mode): New command.
6630         (org-agenda-set-mode-name): Include archives info.
6632 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6634         * org.el (org-paste-subtree): Make sure the yanked headline is
6635         visible if it was yanked at a visible point.
6636         (org-move-item-up): Fix the bug with moving white space at the end
6637         of the item.
6638         (org-show-empty-lines-in-parent): New function.
6640 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6642         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6644         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6646         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6647         agenda prefix as well.
6649         * org-publish.el (org-publish-org-index): Make a properly indented
6650         list.
6652         * org.el (org-calendar-agenda-action-key): New option.
6653         (org-get-cursor-date): New function.
6654         (org-mark-entry-for-agenda-action): New command.
6655         (org-overriding-default-time): New variable.
6656         (org-read-date): Respect `org-overriding-default-time'.
6658         * org-remember.el (org-remember-apply-template): Respect the
6659         ovverriding default time.
6661         * org-agenda.el (org-agenda-action-marker): New variable.
6662         (org-agenda-action): New command.
6663         (org-agenda-do-action): New function.
6665 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6667         * org.el (org-schedule, org-deadline): Protect scheduled and
6668         deadline tasks against changes that accidently remove the
6669         repeater.  Also show a message with the new date when done.
6671 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6673         * org.el (org-beginning-of-line): Cater for the case when there
6674         are tags but no headline text.
6675         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6676         it set.
6678 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6680         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6681         the return value is nil instead of "nil" when there is no match.
6683         * org-exp.el (org-insert-centered): Use fill-column instead of
6684         80.
6685         (org-export-as-ascii): Use string-width to measure the width of
6686         the heading.
6688         * org.el (org-diary-to-ical-string): No longer kill buffer
6689         FROMBUF, this is now done by the caller.
6691         * org-exp.el (org-print-icalendar-entries): Move the call to
6692         `org-diary-to-ical-string' out of the loop, and kill the buffer
6693         afterwords.
6695         * org-remember.el (org-remember-visit-immediately): Position
6696         cursor after moving to the note.
6697         (org-remember-apply-template): Use a text property to record the
6698         cursor position.
6699         (org-remember-handler): Align tags after pasting the note.
6701 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6703         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6705         * org-agenda.el (org-agenda-open-link): If there is an
6706         org-bbdb-name property in the current line, jump to that bbdb
6707         entry.
6709         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6710         text property, so that the agenda knows where this entry comes
6711         from.
6713         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6714         interaction between clocking-in from the agenda, and  automatic
6715         task state switching.
6717         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6719         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6720         zmacs-region stays after this command in XEmacs.
6722 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6724         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6726         * org-remember.el (org-remember-templates): Fix bug in
6727         customization type definition.
6729         * org.el (org-map-entries): New function.
6731 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6733         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6734         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6736 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6738         * org-remember.el (org-jump-to-target-location): New variable.
6739         (org-remember-apply-template): Set
6740         `org-remember-apply-template' if requested by template.
6741         (org-remember-handler): Start an idle timer to jump to
6742         remember location.
6744         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6746         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6747         file tags.
6748         (org-get-tags-at): Add the content of `org-file-tags'.
6750         * org-exp.el (org-export-handle-comments): Fix bug with several
6751         comment lines after each other.
6752         (org-number-to-roman, org-number-to-counter): New functions.
6753         (org-export-section-number-format): New option.
6755 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6757         * org-exp.el (org-export-protect-examples): Catch the case of a
6758         missing end_example line.
6760         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6761         `org-file-tags' to nil.
6763         * org-colview.el (org-columns-next-allowed-value): Handle next
6764         argument NTH to directly select a value.
6766         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6767         argument NTH to directly select a value.
6769 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6771         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6773 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6775         * org.el (org-columns-ellipses): New option.
6777 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6779         * org-colview.el (org-columns-add-ellipses): New function.
6780         (org-columns-compact-links): New function.
6781         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6782         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6783         when in agenda.
6784         (org-columns-edit-value): Fixed bug with editing values from
6785         agenda column view.
6786         (org-columns-redo): Also redo the agenda itself.
6788 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6790         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6791         option.
6793         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6795         * org-exp.el (org-export-ascii-preprocess): Renamed from
6796         `org-export-ascii-clean-string'.
6797         (org-export-kill-licensed-text)
6798         (org-export-define-heading-targets)
6799         (org-export-handle-invisible-targets)
6800         (org-export-target-internal-links)
6801         (org-export-remove-or-extract-drawers)
6802         (org-export-remove-archived-trees)
6803         (org-export-protect-quoted-subtrees)
6804         (org-export-protect-verbatim, org-export-protect-examples)
6805         (org-export-select-backend-specific-text)
6806         (org-export-mark-blockquote-and-verse)
6807         (org-export-remove-comment-blocks-and-subtrees)
6808         (org-export-handle-comments, org-export-mark-radio-links)
6809         (org-export-remove-special-table-lines)
6810         (org-export-normalize-links)
6811         (org-export-concatenate-multiline-links)
6812         (org-export-concatenate-multiline-emphasis): New functions,
6813         obtained from spliiting the export preprocessor.
6815         * org-table.el (org-table-recalculate): Improve error message if
6816         the row number is invalid.
6818 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6820         * org-archive.el (org-archive-save-context-info): Fix bugs in
6821         customization setup and docstring.
6823         * org-exp.el (org-export-html-style): Changed the size of in the
6824         <pre> element to 90%.
6826 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6828         * org.el (org-find-src-example-start): Function removed.
6829         (org-edit-src-find-region-and-lang): New function.
6831 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6833         * org.el (org-edit-src-exit): New function.
6834         (org-exit-edit-mode): New minor mode.
6836         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6837         comment-like lines from protected examples.
6839         * org.el (org-edit-src-example, org-find-src-example-start)
6840         (org-protect-source-example, org-edit-special): New functions.
6842 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6844         * org-publish.el (org-publish-project-alist): Fix typo in
6845         docstring.
6846         (org-publish-project-alist): Handle :index-title property.
6848 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6850         * org-export-latex.el (org-export-as-latex): Make sure region
6851         bounds are correct.  Parse subtree properties relating to export.
6853         * org-exp.el (org-export-add-options-to-plist): New function.
6854         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6856 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6858         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6859         EXPORT_TITLE.
6861         * org-exp.el (org-export-get-title-from-subtree)
6862         (org-export-as-ascii, org-export-as-html): Make sure the original
6863         region-beginning and region-end are used, even after moving
6864         point.
6865         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6866         property.
6868         * org-remember.el (org-remember-last-stored-marker): New variable.
6869         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6870         (org-remember-handler): Also use marker to remember
6871         last-stored position.
6873         * org.el (org-goto-marker-or-bmk): New function.
6875 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6877         * org.el (org-file-properties): Renamed from `org-local-properties'.
6878         (org-scan-tags): Take file tags into account.
6879         (org-tags-match-list-sublevels): Default changed to t.
6881         * org-exp.el (org-export-as-html): Close paragraph after a
6882         footnote.
6884         * org.el (org-update-parent-todo-statistics): New function.
6886         * org-exp.el (org-icalendar-store-UID): New option.
6887         (org-icalendar-force-UID): Option removed.
6888         (org-print-icalendar-entries): IMplement UIDs.
6890 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6892         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6894 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6896         * org-faces.el (org-column): Document how this face is being used
6897         and why sometimes the background faces shine through.
6899         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6901         * org-publish.el (org-publish-attachment): Create publishing
6902         directory if it does not yet exist.
6904         * org-table.el (org-calc-default-modes): Change default number
6905         format to (float 8).
6907         * org.el (org-olpath-completing-read): New function.
6908         (org-time-clocksum-format): New option.
6909         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6911         * org-clock.el (org-clock-display, org-clock-out)
6912         (org-update-mode-line): Use `org-time-clocksum-format'.
6914         * org-colview-xemacs.el (org-columns-number-to-string): Use
6915         `org-time-clocksum-format'.
6917         * org-colview.el (org-columns-number-to-string): Use
6918         `org-time-clocksum-format'.
6920 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6922         * org-id.el: New file, move from contrib to core.
6924         * org-exp.el (org-icalendar-force-UID): New option.
6926 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6928         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6929         shifted by one day if theere is a date range without an end
6930         time.
6932         * org.el (org-try-structure-completion): New function.
6934 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6936         * org.el (org-set-font-lock-defaults): Improve fontification of
6937         description lists.
6938         (org-insert-item): Handle description lists.
6939         (org-adaptive-fill-function): Improve auto indentation in
6940         description lists.
6942         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6943         Implement VERSE environment.
6944         (org-export-preprocess-string): Implement the COMMENT
6945         environment.
6947         * org-export-latex.el (org-export-latex-preprocess): Implement
6948         VERSE environment.
6950 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6952         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6953         option.
6955 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6957         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6959         * org.el (org-quote-csv-field): New functions.
6961         * org-table.el (org-table-export-default-format): Remove :splice
6962         from default format, we get the same effect by not specifying
6963         :tstart and :tend.
6964         (org-table-export): Improve setup, distinguish better between
6965         interactive and non-interactive use, allow specifying the format
6966         on the fly, better protection against wrong file names.
6967         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6968         and :tend when :splice is omitted.
6970 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6972         * org-clock.el (org-clock-select-task): Make sure the selection
6973         letters are 1-9 and A-Z, no special characters.
6975 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6977         * org-exp.el (org-export-htmlize): New group.
6978         (org-export-htmlize-output-type)
6979         (org-export-htmlize-css-font-prefix): New options.
6980         (org-export-htmlize-region-for-paste): New function.
6981         (org-export-htmlize-generate-css): New command.
6983 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6985         * org/org.el (org-modules, org-format-latex-options):
6986         * org/org-archive.el (org-archive-stamp-time)
6987         (org-archive-save-context-info):
6988         * org/org-faces.el (org-hide):
6989         * org/org-irc.el (org-irc-parse-link):
6990         * org/org-macs.el (org-call-with-arg, org-autoload):
6991         * org/org-mew.el (org-mew-store-link):
6992         * org/org-remember.el (org-remember-store-without-prompt)
6993         (org-remember-templates): Fix typos in docstrings.
6995         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6997         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6998         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6999         (org-bbdb-anniv-split): Fix typos in docstrings.
7001         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7002         (org-publish-use-timestamps-flag): Reflow docstring.
7003         (org-publish-files-alist): Fix typos in docstring.
7005 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7007         * org.el (org-set-visibility-according-to-property): New function.
7008         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7009         and compute the regular expressions, and update font-lock.
7010         (org-property-re): Allow a dash in property names.
7012         * org-archive.el (org-extract-archive-file): Insert the file name
7013         without the path into the format, to allow the location format to
7014         contain a subdirectory.
7016         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7017         of buffer, and the `org-agenda-type' property undefined, use the
7018         value from the character before.
7020         * org.el (org-add-planning-info): Don't let indentation for
7021         would-be timestamp become extra whitespace at the end of headline.
7023 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7025         * org.el (org-remove-double-quotes, org-file-contents): New
7026         functions.
7028         * org-exp.el (org-infile-export-plist): Also parse the
7029         contents of #+SETUPFILE files, recursively.
7031         * org.el (org-set-regexps-and-options): Also parse the
7032         contents of #+SETUPFILE files, recursively.
7034         * org-exp.el (org-export-handle-include-files): New function.
7035         (org-export-preprocess-string): Call
7036         `org-export-handle-include-files'.
7038         * org.el (org-delete-property-globally)
7039         (org-delete-property, org-set-property): Ignore case during
7040         completion.
7041         (org-set-property): Use `org-completing-read' instead of
7042         `completing-read'.
7044         * org.el (org-complete-expand-structure-template): New,
7045         experimental function.
7046         (org-structure-template-alist): New, experimental option.
7047         (org-complete): Call `org-complete-expand-structure-template'.
7049 2008-05-06  Bastien Guerry  <bzg@altern.org>
7051         * org-export-latex.el (org-export-latex-preprocess): Added
7052         support for blockquotes.
7054 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7056         * org.el (org-read-date-analyze): Catch the case where only a
7057         weekday is given.
7059 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7061         * org.el (org-set-font-lock-defaults): Make the description
7062         tag bold.
7064         * org-exp.el (org-export-as-html, org-close-li): Implement
7065         description lists.
7067 2008-05-04  Jason Riedy  <jason@acm.org>
7069         * org-table.el (*orgtbl-default-fmt*): New variable.
7070         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7071         when there is no other fmt available.
7073         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7074         :tend to suppress the appropriate string.
7076         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7077         table.
7079 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7081         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7082         read date.
7084         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7085         New function.
7087         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7088         New function.
7090 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7092         * org-clock.el (org-clock-find-position): Don't include notes
7093         into clock drawer.
7095         * org-archive.el (org-archive-subtree): No longer remove an
7096         extra line after cutting the subtree.  `org-cut-subtree' already
7097         takes care of this.
7099         * org-remember.el (org-remember-handler): Only kill the target
7100         buffer if it does not contain the running clock.
7102         * org.el (org-markers-to-move): New variable.
7103         (org-save-markers-in-region, org-check-and-save-marker)
7104         (org-reinstall-markers-in-region): New function.
7105         (org-move-subtree-down, org-copy-subtree): Remember relative
7106         marker positions before cutting.
7107         (org-move-subtree-down, org-paste-subtree): Restore relative
7108         marker positions after pasting.
7110         * org-remember.el (org-remember-clock-out-on-exit): New option.
7111         (org-remember-finalize): Clock out only if the setting in
7112         `org-remember-clock-out-on-exit' requires it.
7113         (org-remember-handler): Do the cleanup in the buffer, to make sure
7114         that the clock marker remains in tact.
7116 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7118         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7119         (org-clock-in): Make sure that also tasks outside the narrowed
7120         region will be clocked in correctly.
7121         (org-clock-insert-selection-line): Widen the buffer so that we can
7122         find the correct task heading.
7124         * org.el (org-base-buffer): New function.
7126         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7127         and ";" are escaped.
7128         (org-print-icalendar-entries): Also apply
7129         `org-icalendar-cleanup-string' to the headline, not only to the
7130         summary property.
7132 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7134         * org-exp.el (org-export-preprocess-hook): New hook.
7135         (org-export-preprocess-string): Call
7136         `org-export-preprocess-hook'.
7138         * org.el (org-font-lock-hook): New variable.
7139         (org-font-lock-hook): New function.
7140         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7142 ;; Local Variables:
7143 ;; coding: utf-8
7144 ;; add-log-time-zone-rule: t
7145 ;; End:
7147     Copyright (C) 2008  Free Software Foundation, Inc.
7149   This file is part of GNU Emacs.
7151   GNU Emacs is free software: you can redistribute it and/or modify
7152   it under the terms of the GNU General Public License as published by
7153   the Free Software Foundation, either version 3 of the License, or
7154   (at your option) any later version.
7156   GNU Emacs is distributed in the hope that it will be useful,
7157   but WITHOUT ANY WARRANTY; without even the implied warranty of
7158   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7159   GNU General Public License for more details.
7161   You should have received a copy of the GNU General Public License
7162   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7164 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c