Fix bug with org-startup-indented when creating a clock report
[rgr-org-mode.git] / lisp / ChangeLog
blob913a0deecaa229e5c980b18fbd97ed2ec4060ddd
1 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-indent.el (org-indent-add-properties): Catch case when there
4         is no headline in the buffer.
6 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
8         * org-exp.el (org-html-entities): Add checkmark symbol.
10         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
11         verbatim code for ASCII export.
13         * org.el (org-update-statistics-cookies): Also see checkboxes in
14         ordered lists.
16 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
18         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
19         key.
21         * org-beamer.el (org-beamer-amend-header): Change the location
22         where `org-beamer-header-extra' is inserted.
24         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
25         just for computing this regexp.
27 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
29         * org-beamer.el (org-beamer-frame-default-options): New option.
30         (org-beamer-sectioning): Use default options if the user does not
31         have defined any.
32         (org-beamer-fix-toc): Put a frame around the table of contents.
34         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
35         sure case-folding works well when processing comment stuff.
37         * org-latex.el (org-export-latex-after-save-hook): New hook.
38         (org-export-as-latex): Run the new hook.
40 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
42         * org-beamer.el (org-beamer-environments-default): Add the note
43         environments.
44         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
45         lines and collect and combine the content.
46         (org-beamer-after-initial-vars): Check for note tags and make sure
47         they will be seen like a property.
49         * org.el (org-offer-links-in-entry): Fix bug when there is a
50         single link.
52         * org-exp.el (org-export): Make sure the mark is activated, also
53         when `transient-mark-mode' is off.
55         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
56         (org-agenda-search-view-search-words-only): Obsolete variable, is
57         now an alias for `org-agenda-search-view-always-boolean'.
58         (org-agenda-search-view-force-full-words): New option.
59         (org-search-view): Improve docstring, and implement a better logic
60         for Boolean and phrase searches.
61         (org-agenda-last-search-view-search-was-boolean): New variable.
62         (org-agenda-manipulate-query): Consider the type of the last
63         search when modifying the search string.
65 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
67         * org-latex.el (org-export-as-latex): Do the first letbind in the
68         right moment.
70         * org-agenda.el (org-get-entries-from-diary): Add the new face to
71         these entries.
73         * org-faces.el (org-agenda-diary): New face.
75         * org.el (org-make-link-regexps): Allow regexp-special characters
76         in link types.
77         (org-open-file): When in-emacs is `system', also force system
78         opening, like when the value was `(16)'.
79         (org-update-statistics-cookies): Handle entries without children.
81         * org-exp.el
82         (org-export-preprocess-before-normalizing-links-hook): New hook.
83         (org-export-preprocess-string): Run the new hook.
85         * org.el (org-offer-links-in-entry): Make RET open all links.
87         * org-html.el (org-export-as-html): Remove any left-over display
88         properties in the html file.
90         * org-wl.el (org-wl-store-link): Work-around for format bug with
91         text properties.
93         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
94         invisibility while adding the graphs.
96 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
98         * org-remember.el (org-select-remember-template): Use C letter to
99         customize remember templates.
101         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
102         Move cursor to next visible line.
104 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
106         * org-beamer.el (org-beamer-sectioning): Leave columns environment
107         by specifying 0 or 1 for column width.
108         (org-beamer-column-widths): Make 0 stand for 0.0.
110 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
112         * org-exp.el (org-export-mark-radio-links): Don't match inside
113         <<target>>.
115         * org.el (org-format-latex-header-extra): New variable.
116         (org-format-latex): Set org-format-latex-header-extra from
117         in-buffer stuff.
118         (org-format-latex): Add org-format-latex-header-extra to the
119         variables on which image creation depends.
120         (org-create-formula-image): Add the header stuff from in-buffer
121         settings.
122         (org-read-date-analyze): Base the analysis for future preference
123         on NOW, not on the default date.
125         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
126         for TODO keyword in inline tasks.
128         * org.el (org-log-note-headings): New headings for removing
129         deadline or scheduling date.
130         (org-deadline, org-schedule): Arrange for logging when removing a
131         date.
132         (org-add-log-note): Handle deadline and scheduling removal.
134 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
136         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
138 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
140         * org-agenda.el (org-diary-class): New function.
142 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
144         * org-latex.el (org-export-latex-preprocess): Do process the text
145         of a radio target.
147 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
149         * org.el (org-entry-properties): Add TIMESTAMP properties back
150         in.
152 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
154         * org.el (org-all-time-keywords): New variable.
155         (org-set-regexps-and-options): Set `org-all-time-keywords'.
156         (org-entry-blocked-p): New function.
157         (org-special-properties): Add BLOCKED as a new special property.
158         (org-entry-properties): New optional argument SPECIFIC, only parse
159         for this property when it is specified.
160         (org-entry-get): Pass a SPECIFIC argument to
161         `org-entry-properties'.
163         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
165 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
167         * org-latex.el (org-export-latex-tables): No forced line end if
168         there is no caption.
170 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
172         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
173         package.
175         * org-latex.el (org-export-latex-tables): Only add a caption when
176         macro in in longtable environments if one has been defined.
178         * org-html.el (org-export-as-html): Only take title from buffer if
179         not exporting body-only.
181         * org-latex.el (org-export-latex-preprocess): Better version of
182         the regular expression for protecting LaTeX macros.
183         (org-export-latex-preprocess): Start searching for macros to
184         protect from beginning of buffer.
186         * org-exp.el (org-export-target-internal-links): Check for
187         protectedness earlier in the string.
189         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
190         case sensitively.
192         * org-id.el (org-id-store-link): Match TODO keywords case
193         sensitively.
195         * org.el (org-heading-components, org-get-outline-path)
196         (org-display-outline-path): Match TODO keywords case sensitively.
198         * org-latex.el (org-export-as-latex): Ignore read-only
199         properties.
201         * org-exp.el (org-export-preprocess-string): Remove any
202         `read-only' properties.
204         * org-agenda.el (org-agenda-inactive-leader): New option.
205         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
206         (org-tags-view): Prompt for matcher if MATCH is an empty string.
207         (org-todo-list): Prompt for matcher if ARG is an empty string.
209 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
211         * org.el (org-open-link-functions): New hook.
212         (org-open-at-point): Run `org-open-link-functions'.
214 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
216         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
217         stamps as well.
219         * org.el (org-inhibit-startup-visibility-stuff): New variable.
220         (org-mode): Don't do startup visibility if inhibited.
221         (org-outline-overlay-data, org-set-outline-overlay-data): New
222         functions.
223         (org-save-outline-visibility): New macro.
224         (org-log-note-headings): Document that one should not change the
225         `state' note format.
227 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
229         * org.el (org-make-link-regexps): Capture link path into a group.
231 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
233         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
234         the options plist.
236 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
238         * org.el (org-startup-with-beamer-mode): New option.
239         (org-property-changed-functions)
240         (org-property-allowed-value-functions): New hooks.
241         (org-entry-put, org-property-get-allowed-values): Run the new
242         hooks.
243         (org-property-next-allowed-value): Run the new hooks.
245         * org-exp.el (org-export-select-backend-specific-text): Add the
246         special beamer tags.
248         * org-beamer.el
249         (org-export-preprocess-before-selecting-backend-code-hook): New
250         file.
252         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
253         (org-export-as-latex): Run
254         `org-export-latex-after-initial-vars-hook'.
255         (org-export-latex-format-toc-function)
256         (org-export-latex-make-header): Call
257         `org-export-latex-format-toc-function'.
259         * org.el (org-fill-template): Make template searches case sensitive.
261         * org-exp.el (org-export): Use "1" as a sign to export only the
262         subtree.
264         * org-colview-xemacs.el (org-columns-edit-value): Use
265         org-unrestricted property.
267         * org-colview.el (org-columns-edit-value):  Use
268         org-unrestricted property.
270         * org.el (org-compute-property-at-point): Set org-unrestricted
271         text property if the list contains ":ETC".
272         (org-insert-property-drawer):  Use
273         org-unrestricted property.
275         * org-exp.el
276         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
277         (org-export-preprocess-string): Run
278         `org-export-preprocess-before-selecting-backend-code-hook'.
280         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
282         * org-latex.el (org-export-region-as-latex): Run
283         `org-export-first-hook'.
285         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
287         * org-docbook.el (org-export-as-docbook): Run
288         `org-export-first-hook'.
290         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
292         * org-exp.el (org-export-first-hook): New hook.
294 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
296         * org-list.el (org-previous-item): Exit at the beginning of the
297         buffer.
299         * org-id.el (org-id-locations-save): Only write the id locations
300         if any are defined.
302         * org-archive.el (org-archive-all-done): Make this work in a file
303         with org-odd-levels-only set.
305         * org.el (org-get-refile-targets): Catch the case when a buffer
306         has no file.
308         * org-latex.el (org-export-as-latex): Cleanup forced line ends
309         where they are not needed.
310         (org-export-latex-subcontent): Remove unnecessary newlines.
312 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
314         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
315         (org-export-latex-fontify): Fix regexp bug that takes special
316         care of protecting the right boundary characters in emphasis
317         matches.
318         (org-export-latex-preprocess): Allow multiple arguments to latex
319         macros.
321         * org.el (org-make-link-regexps): Use John Gruber's regexp for
322         urls.
324         * org-macs.el (org-re): Interpret :punct: in regexps.
326         * org-exp.el (org-export-replace-src-segments-and-examples): Also
327         take the final newline after the END line.
329         * org.el (org-clean-visibility-after-subtree-move): Only fix
330         entries that are not entirely invisible already.
331         (org-insert-link): Respect org-link-file-path-type for
332         "docview:" links in addition to "file:" links.
334 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
336         * org-exp.el (org-export-format-source-code-or-example): Avoid
337         additional extra white lines in LaTeX.
339         * org-list.el (org-list-parse-list): Leave empty lines after the
340         list, don't consider them as part of the list.
342         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
343         searches.
345         * org-clock.el (org-clock-select-task): Convert integer to
346         character for XEmacs.
348 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
350         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
351         compatible.
353 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
355         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
356         variable.
357         (org-set-tags): Use it.
359 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
361         * org-list.el (org-empty-line-terminates-plain-lists): Update
362         docstring.
364         * org.el (org-format-latex): Fix link creation for processed latex
365         snippets.
367 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
369         * org-footnote.el (org-footnote-normalize): Protect replacement
370         text.
372         * org.el (org-inside-latex-macro-p): Save match data.
374 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
376         * org-docview.el: New file.
378 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
380         * org-latex.el (org-export-latex-class-options): New variable.
381         (org-export-latex-set-initial-vars): Use the class options.
383         * org.el (org-forward-same-level): Stop at headings that start
384         with an invisible character.
385         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
387 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
389         * org-footnote.el (org-footnote-normalize): Don't take optional
390         arguments in LaTeX macros as footnotes.
392         * org.el (org-inside-latex-macro-p): New function.
394         * org-latex.el (org-latex-to-pdf-process): Change customization
395         group to `org-export-pdf'.
397         * org-agenda.el (org-agenda-get-blocks): Look at time string also
398         on days after the first one.
400         * org.el (org-insert-heading): Also check for item before assuming
401         before-first-heading condition.
403         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
404         (org-export-pdf-logfiles): New option.
405         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
406         (org-export-pdf-logfiles): Fix customization type.
408         * org.el (org-insert-link): Improve error message when there is no
409         default link to select with RET.
411         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
412         parameter list.
414 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
416         * org-latex.el (org-export-latex-parse-global)
417         (org-export-latex-parse-content)
418         (org-export-latex-parse-subcontent): Use
419         `org-re-search-forward-unprotected'.
420         (org-export-as-pdf): Remove log files produced by XeTeX.
422         * org-macs.el (org-re-search-forward-unprotected): New function.
424 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
426         * org-colview.el (org-agenda-colview-summarize): Sort out some
427         confusion between properties and titles, which resulted in
428         agenda summaries not working if a title was set for a column.
430 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
432         * org-mobile.el (org-mobile-agendas): New option.
433         (org-mobile-sumo-agenda-command): Select the right agendas.
435         * org-latex.el (org-export-latex-format-image): Preserve the
436         original-indentation property.
438 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
440         * org-clock.el (org-clock-insert-selection-line): Catch error when
441         an old tasks no longer exists.
443         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
444         (org-export-as-pdf): Don't remove the old PDF file before making
445         the new one.
447         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
448         (org-mouse-context-menu): Use `org-looking-back'.
450         * org.el (org-cycle-level): Use `org-looking-back'.
452         * org-list.el (org-cycle-item-indentation): Use
453         `org-looking-back'.
455         * org-compat.el (org-looking-back): New function.
457         * org.el (org-insert-heading): Catch before-first-headline when
458         inserting a headline.
460 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
462         * org-latex.el (org-export-latex-format-image): Indent figure
463         environment, so that it does not interrupt plain list.
465         * org.el (org-open-at-point): Allow long link descriptions.
467 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
469         * org-html.el (org-export-as-html): Remove empty lines at the
470         beginning of the exported text.
472 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
474         * org-protocol.el (org-protocol-remember): Cater for empty title,
475         region, link.
477         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
478         agenda after adding new entry.
479         (org-agenda-get-represented-tags): New function.
480         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
481         to get a list of tags in the agenda.
483         * org-datetree.el (org-datetree-find-day-create): Fix regular
484         expression.
486         * org.el (org-display-outline-path): Use a format specifier for
487         message, to avoid problems with heading containing `%'.
489         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
490         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
491         (org-agenda-fix-displayed-tags): New function.
492         (org-agenda-do-context-action): Just call
493         `org-display-outline-path', without piping the result through
494         `message'.
496         * org-latex.el (org-export-latex-preprocess): Protect secondary
497         footnote references.
499         * org-indent.el (org-indent-initialize): Avoid empty strings as
500         line prefixes.
502         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
503         hat checking for the mark does not throw an error.
504         (org-agenda-diary-entry-in-org-file): Catch the case that there is
505         not `day' text property in the cursor line.
507         * org.el (org-sort-entries-or-items): Make sure that the final
508         entry has a newline before doing the sorting.
510         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
511         property at the beginning of the line.
513         * org.el (org-make-link-string): Don't allow a description with
514         only white space.
516 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
518         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
519         (org-agenda-insert-diary-as-top-level): New function.
520         (org-agenda-add-entry-to-org-agenda-diary-file): Call
521         `org-agenda-insert-diary-as-top-level'.
523         * org.el (org-occur-in-agenda-files): Make sure none of the
524         buffers is narrowed.
525         (org-activate-plain-links): Add the face property here.
526         (org-set-font-lock-defaults): Do not add the face to plain links,
527         the activator function does this.
529         * org-habit.el (org-is-habit-p): Add doc string.
531 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
533         * org-archive.el (org-archive-subtree-default-with-confirmation):
534         Autoload.
536         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
537         after match optional (happens at the end of a line...).
539         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
540         for special blocks.
542         * org-faces.el (org-copy-face): Set lisp indentation.
543         (org-quote, org-verse): New faces.
545         * org-agenda.el (org-agenda-remove-date): Remove variable.
547 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
549         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
551 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
553         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
554         hash keys to cache and re-use images generated by the
555         org-exp-blocks interface to ditaa and dot.
557 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
559         * org-html.el (org-export-as-html): Move the home/up link into
560         the content div.
562         * org.el (org-export-latex-packages-alist): Option definition
563         moved here from org-latex.el.
565 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
567         * org.el (org-format-latex): Latex images are now saved to files
568         named by the sha1 hash of the latex source text avoiding
569         regeneration of identical images.
571 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
573         * org-html.el (org-export-html-home/up-format): Add an ID to the
574         up/home div.
576 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
578         * org-wl.el (org-wl-store-link): Handle the case that
579         `wl-use-petname' is set.
581         * org.el (org-set-effort): Improve prompt.
582         (org-get-outline-path): Widen to get full path.
583         (org-compact-display-after-subtree-move): Function removed.
585         * org-latex.el (org-export-as-latex): Add the :drawers property.
587 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
589         * org.el (org-speed-commands-user): Allow documentation headlines.
590         (org-speed-commands-default): Organize the value of this constant
591         with descriptive headlines.
592         (org-print-speed-command): Output the headlines.
594 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
596         * org-agenda.el (org-agenda-show-outline-path): New option.
597         (org-agenda-do-context-action): New function.
598         (org-agenda-next-line, org-agenda-previous-line): Use
599         `org-agenda-do-context-action'.
601         * org.el (org-use-speed-commands): Allow function value.
602         (org-speed-commands-default): Make headline motion safe, so that
603         these commands always end on a headline.
604         (org-speed-commands-default): New key `v' for `org-agenda'.
605         (org-speed-move-safe): New function.
606         (org-self-insert-command): Use the function value of
607         `org-use-speed-commands'.
608         (org-get-outline-path): Improve docstring.
609         (org-format-outline-path): New function.
610         (org-display-outline-path): New function.
612 2009-11-12  John Wiegley  <jwiegley@gmail.com>
614         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
615         a string, use that to find the LOGBOOK drawer.
617 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
619         * org.el (org-clone-subtree-with-time-shift): Make it work at the
620         end of the buffer.
622         * org-mobile.el (org-mobile-write-checksums): Specify coding
623         system.
624         (org-mobile-timestamp-buffer): Keep local variable/mode line at
625         beginning of buffer.
627         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
629         * org.el (org-block-todo-from-children-or-siblings-or-parent)
630         (org-block-todo-from-checkboxes): Do not block changes to a nil
631         TODO state.
633 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
635         * org-habit.el (org-habit-parse-todo): Indicate which habit is
636         wrongly set up in the error messages.
638         * org-colview.el (org-columns-display-here): Don't try to
639         calculate values if the underlying property is not set.
640         (org-columns-string-to-number): Convert age strings back into
641         fractional days.
642         (org-agenda-colview-summarize): Handle extended summary types
643         properly.
645         * org-colview-xemacs.el (org-columns-display-here): Don't try to
646         calculate values if the underlying property is not set.
647         (org-columns-string-to-number): Convert age strings back into
648         fractional days.
649         (org-agenda-colview-summarize): Handle extended summary types
650         properly.
652 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
654         * org-exp.el (org-export-format-drawer-function): New variable.
655         (org-export-format-drawer): New function.
656         (org-export-preprocess-string): Pass the backend as a parameter to
657         `org-export-remove-or-extract-drawers'.
658         (org-export-remove-or-extract-drawers): New parameter BACKEND.
660         * org-protocol.el (org-protocol-char-to-string): New defsubst.
662 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
664         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
665         message when no block is selected.
667         * org-latex.el (org-export-latex-links): Check for protectedness
668         in the last matched character, not after the match.
670         * org-datetree.el (org-datetree-find-date-create): Respect
671         restriction when KEEP-RESTRICTION is set.
672         (org-datetree-file-entry-under): New function.
673         (org-datetree-cleanup): New command.
675 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
677         * org-src.el (org-edit-src-code): New optional argument context
678         allows calling functions to avoid altering the saved window
679         configuration.
680         (org-edit-src-exit): Do not restore window configuration when this
681         function is used in the context of saving the edit buffer.
683 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
685         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
686         instances to switching to with-current-buffer, because these seem
687         to cause problems - no idea why.
689         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
690         Require diary-lib for (diary-date-display-form).
692         * org.el (org-log-reschedule, org-log-redeadline): New options.
693         (org-log-note-headings): Add templates for rescheduling and
694         deadline changing.
695         (org-startup-options): Add in-buffer settings for logging changing
696         schedule and deadline time stamps.
697         (org-deadline, org-schedule): Check for existing date and arrange
698         for logging if the user requests it.
699         (org-add-log-note): Prepare proper note buffers for rescheduling
700         and deadline changes.
702 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
704         * org-agenda.el (org-agenda-diary-entry-in-org-file)
705         (org-agenda-add-entry-to-org-agenda-diary-file)
706         (org-agenda-insert-diary-make-new-entry): New functions.
707         (org-agenda-diary-entry): Call
708         `org-agenda-diary-entry-in-org-file' when appropriate.
710         * org.el (org-calendar-insert-diary-entry-key): New option.
711         (org-agenda-diary-file): New option.
712         ("calendar"): Install our insertion function in the calendar.
714         * org-remember.el (org-datetree): Require.
715         (org-remember-templates): Add new positioning option.
716         (org-remember-reference-date): New variable.
717         (org-remember-apply-template): Store the reference date in a local
718         variable.
719         (org-remember-handler): Implement date tree positioning of entries.
721         * org-datetree.el: New file.
723         * org-latex.el (org-export-latex-preprocess): Protect targets in
724         verbatim emphasis.
726         * org-html.el (org-export-as-html): Protect targets in verbatim
727         emphasis.
729         * org-docbook.el (org-export-as-docbook): Protect targets in
730         verbatim emphasis.
732 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
734         * org.el (org-link-display-format): Should be literal replacement.
736 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
738         * org-clock.el (org-show-notification): Handle messages that
739         contain a percent character.
741         * org-remember.el (org-remember-apply-template): Turn of partial
742         completion.
744         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
745         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
747         * org.el (org-indent-mode): Define variable already in org.el.
748         (org-unfontify-region): Remove line-prefix and wrap-prefix
749         properties only if org-indent-mode is active.
751 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
753         * org-icalendar.el (org-print-icalendar-entries): Save match data
754         around call to verify function.
755         (org-print-icalendar-entries): Add a call to the verification
756         function.
758         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
759         save-restrivtion' form.
761 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
763         * org-exp.el (org-export-format-source-code-or-example): restrict
764         scope of preserve-indentp to the let binding.
765         (org-src): require org-src, since org-src-preserve-indentation is used.
767 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
769         * org-timer.el (org-timer-set-timer): Set variables
770         org-timer-timer[123] correctly.
773         * org-mobile.el (org-mobile-files-alist): Make it work when
774         `agenda-archives' is included in
775         `org-agenda-text-search-extra-files'.
776         (org-mobile-push): Restore agenda after mobile push.
778 2009-11-05  John Wiegley  <jwiegley@gmail.com>
780         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
781         way the amount of idle time is presented in the minibuffer.
783 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
785         * org-icalendar.el (org-print-icalendar-entries): Use
786         org-icalendar-verify-function only if non-nil.
788         * org.el (org-refile): Refile to clock only if the prefix arg is
789         2.
790         (org-sparse-tree): Fix docstring to be in line with prompt.
791         (org-update-parent-todo-statistics): Call
792         `org-after-todo-statistics-hook' on each level.
794 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
796         * org-remember.el (org-remember-apply-template): Make sure the
797         buffer exists.
799 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
801         * org.el (org-tab-ind-state): New variable.
802         (org-cycle-level): New function.
803         (org-cycle-level-after-item/entry-creation): New option.
804         (org-flag-subtree): New function.
805         (org-hide-archived-subtrees): Call `org-flag-subtree'.
806         (org-set-effort): Indexed access.
808         * org-list.el (org-cycle-item-indentation): New function.
810         * org.el (org-refile): Make prefix argument 2 refile to current
811         clock.
812         (org-priority): Interpret action `remove' as call to remove the
813         priority cookie.
815         * org-remember.el (org-remember-apply-template): Don't depend on
816         buffer name being like file name.
818 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
820         * org-clock.el (org-clock-play-sound): Expand file in
821         org-clock-sound, to allow ~ for home.
823         * org-remember.el (org-remember-handler): Set
824         text-before-node-creation even if this already looks like a node,
825         because the string might be needed on non-org-mode target files.
827         * org-agenda.el (org-agenda-open-link): Make this work in agenda
828         clocktables.
829         (org-agenda-switch-to): Follow a link at point if
830         org-return-follows-link' is set and there is nothing else to do in
831         this line.
833 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
835         * org-colview-xemacs.el: Add in changes from org-colview.el
837 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
839         * org-exp-blocks.el: Modify split separator regexp to avoid empty
840         strings.
842 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
844         * org-colview.el (org-columns-new): Make this work with the new
845         operators.
846         (org-columns-store-format): Make this work with the new operators.
848 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
850         * org-src.el (org-src-preserve-indentation): Document that this
851         variable is also used during export.
853         * org-exp.el (org-export-format-source-code-or-example): Preserve
854         indentation if a block has a -i option, or if
855         `org-src-preserve-indentation' is set.
857         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
858         indentation if a block has a -i option, or if
859         `org-src-preserve-indentation' is set.
861 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
863         * org.el (org-mode-map): Define the new archiving keys.
864         (org-speed-commands-default): Define an archiving key in the speed
865         command map.
866         (org-org-menu): Improve the menu structure concerning archiving.
868         * org-archive.el (org-archive-subtree-default-with-confirmation):
869         New command.
871         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
872         (org-agenda-menu): Add the new archiving commands to the menu.
873         (org-agenda-archive-default)
874         (org-agenda-archive-default-with-confirmation): New commands.
875         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
876         call `org-agenda-archive-with'.
877         (org-agenda-archive-with): New function.
879         * org-table.el (org-table-convert-region): Inert spaces around "|"
880         to avoid line beginnings like "|-1" which will be mistaken as
881         hlines.
883 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
885         * org.el (org-offer-links-in-entry): Return nil if there are no
886         links, t if a link has been selected.
887         (org-open-at-point): Open attachment directory when called in the
888         headline and there are no links in the entry body.
889         (org-speed-commands-default): Add "o" for open-at-point as a speed
890         command.
892         * org-attach.el (org-attach-reveal): Optional prefix arg
893         IF-EXISTS, which avoids creating the attachment directory if it
894         does not yet exist.
896         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
897         MATCH.
899 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
901         * org.el ("abbrev"): Work with abbrev tables only after they have
902         been loaded.
904         * org-list.el (org-list-send-list): Fix bug related to match
905         data.
907         * org-latex.el (org-export-latex-fontify): Apply verbatim
908         emphasis.
909         (org-export-latex-make-header): Insert \obeylines if line breaks
910         should be preserved.
912         * org-exp.el (org-export-protect-verbatim): Add an
913         `org-verbatim-emph' property to such text.
915 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
917         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
918         (org-print-icalendar-entries): Skip entries where the timestamp is
919         not a deadline and not scheduled, if the user requests that.
921         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
922         before an opening quote.
924         * org-archive.el (org-archive-subtree): Keep archive after
925         archiving something.
927         * org-id.el (org-id-update-id-locations): Add archive files if
928         that is required by `org-id-extra-files'.
930 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
932         * org-src.el (org-src-window-setup): New option.
933         (org-src-switch-to-buffer): New function.
934         (org-edit-src-exit): Add optional argument CONTEXT and use it to
935         restore window configuration.
936         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
937         Call `org-src-switch-to-buffer'.
939         * org.el (org-default-properties): Add STYLE property.
940         (org-files-list): Use the function call to get the files.
941         (org-additional-option-like-keywords): Add SETUPFILE to completion
942         list.
944 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
946         * org-table.el (org-table-convert-region): Correctly interpret
947         quoting in csv import.
949         * org.el (org-icompleting-read): Make iswitchb completion work
950         with lists and tables.
952         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
953         while pushing the mobile agenda.
955 2009-10-25  John Wiegley  <jwiegley@gmail.com>
957         * org-clock.el
958         (org-clock-auto-clock-resolution): Now takes three values: nil, t
959         and `when-no-clock-is-running'.
960         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
961         whether or not to resolve Org buffers on clock in.
963 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
965         * org-colview.el (org-format-time-period): Function to format
966         times in fractional days for display.
967         (org-columns-display-here): Add support for showing a calculated
968         value in place of the property.
969         (org-columns): Set `org-columns-time' to the current time so time
970         difference calculations will work.
971         (org-columns-time): Use to store the current time when column view
972         is displayed, so all time differences will use the same reference
973         point.
974         (org-columns-compile-map): There is now an extra position in each
975         entry specifying the function to use to calculate the displayed
976         value for the non-calculated properties in the column,
977         (org-columns-compute-all): Set `org-columns-time' to the current
978         time so time difference calculations will work.
979         (org-columns-compute): Handle column operators where the values
980         used are calculated from the underlying property.
981         (org-columns-number-to-string): Handle the 'age' column format
982         (org-columns-string-to-number): Correct the function name (was
983         org-column...). Add support for the 'age' column format.
984         (org-columns-compile-format): Support the additional parameter in
985         org-columns-compile-map.
987 2009-10-26  Bastien Guerry  <bzg@altern.org>
989         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
990         variable.
992 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
994         * org-clock.el (org-clock-has-been-used): New variable.
995         (org-clock-in): Set `org-clock-has-been-used'.
996         (org-clock-save): Save only if clock data has been used or created
997         during this session.
999 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1001         * org-clock.el (org-clock-persist): New value, to store only the
1002         clock history.
1003         (org-clock-save): Don't save the clock if only the history should
1004         be stored.
1005         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1006         when restoring a saved clock.
1008 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1010         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1011         `org-time-clock-use-fractional'.
1013         * org.el (org-time-clocksum-use-fractional)
1014         (org-time-clocksum-fractional-format): Two new customizable
1015         variables which allow the user to select fractional times (1.25
1016         instead of 1:25) in the `org-clock-display' report.
1018 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1020         * org-habit.el (org-habit-build-graph): None of the arguments
1021         should be optional.
1022         (org-habit-parse-todo, org-habit-deadline)
1023         (org-habit-get-priority, org-habit-get-faces)
1024         (org-habit-build-graph): Further simplifications by storing all
1025         past, scheduled and deadline dates as a number of days past the
1026         epoch, and not as times.
1028         * org-habit.el (org-habit-warning-face)
1029         (org-habit-warning-future-face): Removed because these are no
1030         longer used.
1031         (org-habit-deadline, org-habit-deadline-repeat): Now always
1032         returns a date; computed if there was a scheduled repeater but no
1033         deadline repeater.
1034         (org-habit-get-priority): Further improvements to the priority
1035         algorithm.  In particular, items past due should always appear
1036         before items due or not yet due.
1037         (org-habit-get-faces): Greatly simplified the logic, now that
1038         `org-habit-deadline' always returns a valid time.
1040 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1042         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1043         New option.
1045         * org.el (org-tag-alist): Fix customization type.
1047 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1049         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1050         Make sure the regexp search can fail without throwing an error.
1051         (org-mobile-apply): Save the inbox buffer after removing
1052         successfully applied changes.
1054 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1056         * org-habit.el (org-habit-build-graph): Fix to the graph building
1057         when last DONE date is earlier than `org-habit-preceding-days'.
1059         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1060         time is reported after the user comes back (but before they
1061         resolve time).
1063         * org.el (org-get-repeat): Change so that this function can be
1064         called with either `org-scheduled-string' or
1065         `org-deadline-string'.
1067         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1068         to find the scheduled date.
1070         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1071         `org-clock-disable-clock-resolution', since negatives don't sound
1072         good in customization variables.
1073         (org-clock-in): Don't use the auto-resolution logic if the user is
1074         clocking into a different task while an active clock is running.
1075         This then allows the default behavior of clocking out of the open
1076         task and then into the new task.
1078         * org-habit.el (org-habit-parse-todo): Generate an error if a
1079         habit has a scheduled repeat period < 1.
1080         (org-habit-get-faces): Fixes to the way that colors are computed.
1081         (org-habit-build-graph): The graph wasn't displaying beyond any
1082         day that had two completions in it.
1084         * org.el (org-modules): Made this variable more consistent, since
1085         it was referring to Org, OrgMode and Org-mode, whereas the docs
1086         for the variable always refer to Org-mode.
1088 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1090         * org.el (org-repeat-re): The changed org-repeat-re no longer
1091         matched simple +2d type repeaters. Fix it so it does.
1093 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1095         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1096         macro in the VERSE environment.
1098 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1100         * org-habit.el (org-habit-get-priority): A new function that
1101         determines the relative priority of a habit, based on how long
1102         past its scheduled date it is, and how near the deadline is.
1104         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1105         using `org-habit-get-priority'.
1107         * org-habit.el (org-habit-build-graph): Start displaying colors
1108         from the first scheduled date, if that date is earlier than the
1109         first completion date.
1111         * org-habit.el: Changed all "color" variables to faces, and made
1112         them appropriate for light and dark backgrounds.
1114         * org-habit.el (org-habit-duration-to-days): Made this function
1115         more general.
1116         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1118         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1119         habits, since they don't use DEADLINE anymore.
1121         * org.el (org-repeat-re, org-display-custom-time)
1122         (org-timestamp-change): Extended to support the new ".+N/N"
1123         syntax, used for habits.
1125         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1126         variable reference.
1128         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1129         modeline when habits are being displayed (if that module is being
1130         loaded).
1132 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1134         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1135         idle time using the xscreensaver extension.
1136         (org-user-idle-seconds): Use X11 idle time if available.
1138 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1140         * org-agenda.el (org-agenda-next-line): New command.
1141         (org-agenda-previous-line): New commands.
1142         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1143         commands.
1144         (org-agenda-follow-mode): Do the follow immediately if the mode is
1145         turned on here.
1146         (previous-line, next-line): Replace keys with the corresponding
1147         org functions.
1148         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1149         command.
1151         * org.el (org-icompleting-read): Turn off partial completion mode
1152         for the duration of this completion round.
1154         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1155         macros in author lines and similar stuff.
1157         * org.el (org-file-tags): Fix docstring.
1158         (org-get-buffer-tags): Add the #+FILETAGS tags.
1159         ("ecb"): Maks ecb show context after jumping into an Org file.
1161 2009-10-20  John Wiegley  <johnw@newartisans.com>
1163         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1164         graphs after everything else in the buffer has been setup.
1166 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1168         * org-mobile.el (org-mobile-apply): Count success and failure.
1170         * org.el (org-indent-line-function): Fix regexp replace problem.
1172 2009-10-19  John Wiegley  <johnw@newartisans.com>
1174         * org-clock.el (org-clock-disable-clock-resolution): New
1175         customization variable that disable automatic clock resolution on
1176         clock in.
1177         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1178         not automatically resolve anything.  This is does not affect
1179         idle-time resolution, however, if `org-clock-idle-time' is set.
1181 2009-10-19  John Wiegley  <johnw@newartisans.com>
1183         * org-habit.el: New file, which implements code to build a "habit
1184         consistency graph".
1186         * org-agenda.el (org-agenda-get-deadlines)
1187         (org-agenda-get-scheduled): Display consistency graphs when
1188         outputting habits into the agenda.  The graphs are always relative
1189         to the current time.
1190         (org-format-agenda-item): Added new parameter `habitp', which
1191         indicates whether we are formatting a habit or not.  Do not
1192         display "extra" leading information if habitp is true.
1194         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1195         leaders for repeat strings.
1196         (org-get-repeat): Now takes a string parameter `tagline', so the
1197         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1199 2009-10-19  John Wiegley  <johnw@newartisans.com>
1201         * org-agenda.el (org-agenda-auto-exclude-function): New
1202         customization variable for allowing the user to create an "auto
1203         exclusion" filter for doing context-aware auto tag filtering.
1204         (org-agenda-filter-by-tag): Changes to support the use of
1205         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1207 2009-10-18  John Wiegley  <johnw@newartisans.com>
1209         * org.el (org-files-list): Don't attempt to return a file name for
1210         Org buffers which have no associated file.
1212         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1214 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1216         * org-mobile.el (org-mobile-locate-entry): Interpret files
1217         relative to org-directory.
1218         (org-mobile-inbox-for-pull): Document the best location for this
1219         file.
1220         (org-mobile-check-setup): Verify `org-directory'.
1221         (org-mobile-create-index-file): Sort the files to be listed in
1222         index.org.
1224 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1226         * org.el (org-fast-tag-selection): Add a way to display a
1227         description for a tag group. This is done by adding a string to
1228         either the startgroup or endgroup cell.
1230 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1232         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1233         (org-emacs-idle-seconds): Use `org-float-time' instead of
1234         `time-to-seconds'
1236 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1238         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1239         type.
1241         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1242         the value of ARG when doing local cycling.
1244 2009-10-17  John Wiegley  <johnw@newartisans.com>
1246         * org-clock.el (org-clock-resolve-clock): If keeping or
1247         subtracting time results in a clock out at a time in the past, and
1248         if the resolution occurred due to idleness or invoking `M-x
1249         org-resolve-clocks', remember that past moment in time.  On the
1250         next clock in, the user will be prompted to see if they want to
1251         back-date their new clock to then.
1252         (org-clock-resolve): Do not jump the user to the location of a
1253         dangling clock if the resolution is occuring due to an idle
1254         timeout.  In that case there is typically only one dangling clock,
1255         the active one, and there is no value gained by shuffling their
1256         windows around to show it to them.  Being prompted to resolve an
1257         idle clock should be as inobtrusive as possible.
1258         (org-resolve-clocks-if-idle): New function that resolves only the
1259         currently active clock if the user has exceeded the time returned
1260         by `org-user-idle-seconds', based on the value of
1261         `org-clock-idle-time'.
1262         (org-clock-in): If, after resolving clocks,
1263         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1265         * org-clock.el (org-clock-resolve-clock): New function that
1266         resolves a clock to a specific time, closing or resuming as need
1267         be, and possibly even starting a new clock.
1268         (org-clock-resolve): New function used by `org-resolve-clocks'
1269         that sets up for the call to `org-clock-resolve-clock'.  It
1270         determines the time to resolve to based on a single-character
1271         selection from the user to either keep time, subtract away time or
1272         cancel the clock.
1273         (org-resolve-clocks): New user command which resolves dangling
1274         clocks -- that is, open but not active -- anywhere in the file
1275         list returned by `org-files-list'.
1276         (org-clock-in): Automatically resolve dangling clocks whenever a
1277         user clocks in.
1278         (org-clock-cancel): If the user cancels the solely clock in a
1279         LOGBOOK, remove the empty drawer.
1281         * org-clock.el (org-clock-idle-time): New user customizable option
1282         for detecting whether the user has left a clock idle.  Note: it is
1283         only used in this commit to test whether it's worthwhile to check
1284         OS X to get the Mac user's current idle time.  If the Emacs idle
1285         time is less than the value, the user hasn't been away long enough
1286         to be worth checking (a more expensive test than just getting
1287         Emacs idle time).
1288         (org-user-idle-seconds, org-mac-idle-seconds)
1289         (org-emacs-idle-seconds): This three functions, in conjunction
1290         with the user customization variable `org-clock-idle-time', return
1291         the number of seconds (as a floating point) that the user has been
1292         away from their Emacs (or, if running on OS X, their computer).
1294         * org-clock.el (org-find-open-clocks): New function that returns a
1295         list of all open clocks in the given FILE.  Note that each clock
1296         it returns is a cons cell of the format (MARKER . START-TIME).
1297         This "clock" value is used by several of the new clock module
1298         utility functions.
1299         (org-is-active-clock): New inline function which tests whether the
1300         given clock value is the same as the currently active clock.
1301         Returns non-nil if this is the case.
1302         (org-with-clock-position): New macro that evaluates FORMS with
1303         point in the buffer and at the position of the given clock.
1304         Changes to the current clock are global.
1305         (org-with-clock): New macro that evaluates FORMS with point in the
1306         buffer and at the position of the given clock.  However, changes
1307         to the current clock are local and have no effect on the user's
1308         active clock.  This allows, for example, far any clock to be
1309         cancelled without cancelling the active clock.
1310         (org-clock-clock-in): New inline function that switches the active
1311         clock to the given clock.  If either the argument RESUME, or the
1312         global `org-clock-in-resume', are non-nil, it will resume a clock
1313         that was previously left open.
1314         (org-clock-clock-out): New inline function that clocks out the
1315         given clock value without affecting the currently active clock.
1316         (org-clock-clock-cancel): New inline function that cancels the
1317         given clock value without affecting the currently active clock.
1319         * org-clock.el (org-clock-in): Before creating
1320         `org-clock-mode-line-timer', check to make sure an older timer is
1321         not currently running.
1322         (org-clock-out): Accept new third parameter `at-time', which
1323         permits a clock to be clocked out at a specific time.  Note that
1324         no attempt is made to verify that the clock out time is later than
1325         the clock in time.
1327         * org.el (org-files-list): New utility function for returning a
1328         list of all open org-mode buffers, plus all files used to build
1329         the agenda buffer.  Note that not all the files will necessarily
1330         be visited by a buffer at time of call.
1331         (org-entry-beginning-position): Like the function
1332         `line-beginning-position', this inline function returns the
1333         beginning position of the current heading/entry.
1334         (org-entry-end-position): Like the function `line-end-position',
1335         this inline function returns the end position of the current
1336         heading/entry.
1338 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1340         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1341         a header line.
1343 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1345         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1347 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1349         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1350         entries that have no tags.
1351         (org-agenda-search-view): New customize group.
1352         (org-agenda-search-view-search-words-only): New option.
1353         (org-search-view): Implement substring search.
1355 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1357         * org.el (org-outline-level): Add doc string.
1359 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1361         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1362         variable.
1363         (org-inlinetask-export-handler): Only export inline task if the
1364         user option calls for it.
1366 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1368         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1369         END if present.
1371 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1373         * org-latex.el (org-export-latex-tables): Don't format in
1374         protected regions.
1376 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1378         * org-src.el (org-edit-src-code)
1379         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1380         macro editing.
1382         * org-agenda.el (org-prefix-category-max-length): New variable.
1383         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1384         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1386 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1388         * org-mobile.el (org-mobile-create-index-file): Improve the
1389         listing of tags and todo keywords.
1391         * org-latex.el (org-export-latex-format-image): New function.
1392         (org-export-latex-links): Use `org-export-latex-format-image'.
1394 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1396         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1397         (org-inlinetask-remove-terminator): New functions.
1398         (org-inlinetask-export-handler): Terminate the description list.
1400         * org-exp.el (org-export-select-backend-specific-text): Remove the
1401         region markers.
1403         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1404         tasks without content.
1406         * org-clock.el: Make sure the clock-in target position does not
1407         move to a different node by widening the buffer.
1409         * org-html.el (org-export-html-format-image): Wrap image into
1410         figure div only when there is a caption.
1412         * org-archive.el (org-archive-mark-done): Change default value to
1413         nil.
1415 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1417         * org.el (org-context): Call `bobp', not `eobp'.
1419         * org-clock.el (org-clock-cancel): Remove quotes from marker
1420         variables.
1422         * org.el (org-read-date-prefer-future): New allowed value `time'.
1423         (org-read-date-analyze): Shift day to tomorrow depending on time
1424         entered and value of `org-read-date-prefer-future'.
1426 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1428         * org.el (org-set-tags-to): New command.
1430         * org-mobile.el (org-mobile-action-alist): Add more options and
1431         update the docstring.
1432         (org-mobile-apply-flags): Parse for and use the data.
1434         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1435         the plist.
1437         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1438         keyword.
1440         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1442 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1444         * org-inlinetask.el (org-inlinetask-export): Option removed.
1445         (org-inlinetask-export-handler): Better export.
1447         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1448         (org-export-as-xoxo): Run the new hook.
1450         * org-html.el (org-export-html-final-hook): New hook.
1451         (org-export-as-html): Run the new hook.
1453         * org-docbook.el (org-export-docbook-final-hook): New hook.
1454         (org-export-as-docbook): Run the new hook.
1456         * org-ascii.el (org-export-ascii-final-hook): New hook.
1457         (org-export-as-ascii): Run the new hook.
1459         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1460         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1462         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1463         space character as the character before the ^/_.
1464         (org-export-latex-final-hook): New hook.
1465         (org-export-as-latex): Run `org-export-latex-final-hook'.
1467 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1469         * org-macs.el (org-if-unprotected-at): Fix docstring.
1471         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1472         text in the prefix (if category is a link).
1474         * org-latex.el (org-export-latex-preprocess): Deal properly with
1475         empty lines in verse environments.
1477         * org.el (org-format-latex-header): Inline fullpage.sty.
1479         * org-footnote.el (org-footnote-create-definition): Reveal context
1480         to add a new footnote definition.
1482         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1483         the index file.
1484         (org-mobile-files): New option.
1485         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1486         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1487         functions.
1488         (org-mobile-push): Start by creating the files lists.
1489         (org-mobile-copy-agenda-files): Move killing the buffer to after
1490         the save-excursion has exited.
1491         (org-mobile-write-checksums): Write checksums also for files in
1492         sub-directories.
1494         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1495         org-table-recalculate when cursor is in TBLFM line.
1497         * org-list.el (org-renumber-ordered-list): Fix cursor position
1498         when bullet length has changed.
1500 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1502         * org.el (org-format-latex): Mention `org-format-latex-options' in
1503         the docstring.
1505 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1507         * org.el (org-agenda-get): New function.
1509         * org-agenda.el (org-agenda-post-command-hook): No longer move
1510         point away from end of line.
1511         (org-agenda-add-entry-text, org-agenda-collect-markers)
1512         (org-finalize-agenda, org-agenda-mark-clocking-task)
1513         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1514         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1515         (org-agenda-compare-effort, org-agenda-filter-apply)
1516         (org-agenda-later, org-agenda-change-time-span)
1517         (org-agenda-post-command-hook, org-agenda-show-priority)
1518         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1519         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1520         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1521         (org-agenda-open-link, org-agenda-copy-local-variable)
1522         (org-agenda-switch-to, org-agenda-check-no-diary)
1523         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1524         (org-agenda-add-note, org-agenda-change-all-lines)
1525         (org-agenda-priority, org-agenda-set-tags)
1526         (org-agenda-set-property, org-agenda-set-effort)
1527         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1528         (org-agenda-show-new-time, org-agenda-date-prompt)
1529         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1530         (org-agenda-clock-in, org-agenda-bulk-mark)
1531         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1532         `org-get-at-bol'.
1534         * org-colview.el (org-columns-display-here)
1535         (org-columns-edit-allowed, org-agenda-columns): Use
1536         `org-get-at-bol'.
1538 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1540         * org.el (org-special-ctrl-a/e): Improve documentation and
1541         customize type.
1542         (org-end-of-line): Don't jump to after the ellipsis.
1543         (org-mode-map): Bind <home> and <end> as well.
1545 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1547         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1548         space after #+ as comments.
1549         (org-open-at-point): Run `org-follow-link-hook' always.
1551         * org-latex.el (org-export-latex-emph-format): Use better commands
1552         to insert special characters in verbatim snippets.
1554 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1556         * org-faces.el (org-copy-face): New function.  Use it to create
1557         various faces formerly created by using `copy-face'.
1559         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1560         window dedicated.
1561         (org-agenda-quit): Kill the frame containing the agenda window if
1562         that frame was created for the agenda.
1564 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1566         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1567         stamp in the agenda.
1569 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1571         * org-mobile.el (org-mobile-create-index-file): Add the list of
1572         TODO keywords, and the list of drawers to the index file.
1574         * org-agenda.el (org-prepare-agenda): Reset
1575         `org-drawers-for-agenda'.
1576         (org-prepare-agenda): Uniquify list of drawers.
1578         * org.el (org-complex-heading-regexp-format): New variable.
1579         (org-set-regexps-and-options): Define
1580         `org-complex-heading-regexp-format'.
1581         (org-drawers-for-agenda): New variable.
1582         (org-map-entries): Bind `org-drawers-for-agenda'.
1583         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1585         * org-remember.el (org-go-to-remember-target)
1586         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1588 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1590         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1591         problem.
1593         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1594         the capture file, and make it non-configurable.
1596         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1597         always with `invisible-ok'.
1598         (org-store-link): No error when there is nothing to link to in the
1599         agenda.
1601         * org-list.el (org-update-checkbox-count): Insert changed cookie
1602         before the old, to avoid problems with invisibility at the end of
1603         the line.
1604         (org-update-checkbox-count): Insert changed cookie before the old,
1605         to avoid problems with invisibility at the end of the line.
1607         * org.el (org-sort-entries-or-items): Include the final newline.
1608         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1609         lines for fontification.
1610         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1611         (org-prepare-dblock): Store the current indentation of the BEGIN
1612         line.
1613         (org-update-dblock): Apply the indentation of the begin line to
1614         the rest of the block.
1615         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1616         (org-startup-folded): New allowed value `showeverything'.
1617         (org-startup-options): Add STARTUP keyword `showeverything'.
1618         (org-set-startup-visibility): Respect value `showeverything' in
1619         org-startup-folded.
1621 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1623         * org.el (org-closest-date): Fix issue with past preference.
1625         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1627         * org-archive.el (org-archive-set-tag)
1628         (org-archive-subtree-default): New commands.
1630         * org-mobile.el (org-mobile-create-index-file): Fix link to
1631         capture file.
1632         (org-mobile-copy-agenda-files): Create the capture file if it does
1633         not exist.
1635         * org-clock.el (org-clock-clocktable-default-properties): New
1636         option.
1637         (org-clock-report): Use
1638         `org-clock-clocktable-default-properties'.
1640 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1642         * org.el (org-iswitchb-completing-read): Fix typo.
1644         * org-crypt.el: New file.
1646         * org.el: Add an entry for org-crypt.
1648 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1650         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1651         consistency.
1652         (org-batch-store-agenda-views): New function.
1653         (org-mobile-force-id-on-agenda-items): Mention variable.
1654         (org-agenda-title-append): Define variable.
1655         (org-write-agenda): New export to Org files.
1656         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1657         (org-agenda): Allow to keep the restricted file list if a special
1658         variable is bound to t.
1659         (org-agenda): Define a special agenda view for working on flagged
1660         entries.
1661         (org-agenda-get-restriction-and-command): List the new agenda
1662         view.
1663         (org-agenda-show-the-flagging-note): New command.
1664         (org-agenda-mode-map): New key `?' for looking at the flagging
1665         note.
1667         * org.el (org-autoload): Autoload org-mobile.el.
1668         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1670         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1672 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1674         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1675         statements.
1676         (org-table-get-remote-range): Match indented #+TBLNAME
1677         statements.
1679         * org.el (org-convert-to-odd-levels)
1680         (org-convert-to-oddeven-levels): Work also correctly if the file
1681         is in outline-mode.
1683 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1685         * org.el (org-store-link): When in agenda buffer, link to
1686         referenced entry.
1687         (org-add-planning-info): Remove spaces at eol.
1689         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1690         property.
1692 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1694         * org-latex.el (org-export-latex-first-lines): Fix problem with
1695         LaTeX export of first line and selected subtree.
1697         * org.el (org-shifttab): Interpret arg differently when using only
1698         odd levels.
1700 2009-09-09  Bastien Guerry  <bzg@altern.org>
1702         * org.el (org-check-agenda-file): Use a more explicit message
1704 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1706         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1707         normal lines.
1709 2009-09-08  Bastien Guerry  <bzg@altern.org>
1711         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1712         prompt in the temporary window.
1714         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1715         prefix for marked entries in the agenda view.
1717 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1719         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1720         a way that prevents any trailing character from being displayed.
1722 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1724         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1725         menu.
1727         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1728         slow regexp match.
1730 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1732         * org-latex.el (org-export-latex-preprocess): Do not protect in
1733         the LaTeX header.
1735         * org-src.el (org-edit-src-save): Save window setup while saving.
1736         (org-edit-src-code): Use new buffer name construction scheme.
1738 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1740         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1741         variable.
1742         (org-agenda-entry-text-cleanup-hook): New hook.
1743         (org-agenda-get-some-entry-text): Remove matches of
1744         `org-agenda-entry-text-exclude-regexps' and run the hook
1745         `org-agenda-entry-text-cleanup-hook'.
1747         * org.el (org-offer-links-in-entry): New argument ZERO to
1748         implement a link with index zero.
1749         (org-cycle-show-empty-lines): Not keep empty line under header
1750         hidden.
1751         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1752         to nil for special completion.
1753         (org-store-link): Don't error before the first heading.
1755         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1756         `org-offer-links-in-entry'.
1758 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1760         * org-agenda.el (org-agenda-quit): Provide the window argument for
1761         `window-dedicated-p', Emacs 22 needs it.
1762         (org-format-agenda-item): If the category is a link, arrange for
1763         invisible text to replaced with spaces.
1764         (org-compile-prefix-format): Add the extra space.
1765         (org-prefix-category-length): New variable.
1767         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1768         references from TOC lines.
1770         * org.el (org-selected-window): New variable.
1772         * org-table.el (org-table-edit-formulas): Remember the selected
1773         window.
1774         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1775         that was originally selected.
1777         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1778         expansion of a macro for more macro definitions.
1780         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1781         invisibility overlay starts on the newline.
1783 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1785         * org-protocol.el (org-protocol-store-link)
1786         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1788         * org-compat.el (org-float-time): New function.
1790         * org.el (org-clock-update-time-maybe)
1791         (org-sort-entries-or-items, org-do-sort)
1792         (org-evaluate-time-range, org-time-string-to-seconds)
1793         (org-closed-in-range): Use `org-float-time'.
1795         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1796         (org-timer-seconds):  Use `org-float-time'.
1798         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1799         (org-clock-sum, org-dblock-write:clocktable)
1800         (org-clocktable-steps):  Use `org-float-time'.
1802         * org-agenda.el (org-agenda-last-marker-time)
1803         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1805         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1806         function.
1808         * org-exp.el (org-get-file-contents): Only protect lines that
1809         really need it.
1811         * org-html.el (require): Require cl for compilation.
1813         * org.el:  Avoid using `default-major-mode'.
1815         * org-plot.el (require): Require CL only at compile time.
1817         * org-exp.el (require): Require CL only at compile time.
1819         * org-agenda.el (org-agenda-quit): When the agenda window is
1820         dedicated, remove other windows before exiting, so that the frame
1821         really will be killed.
1823         * org-exp.el (org-export-handle-include-files): Reset START and
1824         END for each loop cycle.
1826 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1828         * org.el (org-eval-in-calendar): Use
1829         `org-select-frame-set-input-focus'.
1831         * org-compat.el (org-select-frame-set-input-focus): New function.
1833         * org.el (org-update-statistics-cookies): New function.
1834         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1836 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1838         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1839         after the local variables are set.
1841         * org-latex.el (org-export-latex-protect-amp): New function.
1842         (org-export-latex-links): Protect link ampersands in tables.
1844         * org-exp.el (org-export-select-backend-specific-text): Match in
1845         two steps, to avoid regexp problems.
1847         * org.el (org-offer-links-in-entry): Improve working with many and
1848         duplicate links.
1850         * org-agenda.el (org-agenda-show-1): Make more consistent with
1851         normal cycling.
1852         (org-agenda-cycle-show): Make more consistent with normal cycling.
1854         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1855         website.
1857 2009-08-30  Bastien Guerry  <bzg@altern.org>
1859         * org-latex.el (org-export-latex-first-lines): Bugfix.
1861 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1863         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1864         about new effort.
1866         * org.el (org-set-effort): New function.
1867         (org-mode-map): New key for effort setting command.
1869         * org-agenda.el (org-agenda): Keep window setup when calling
1870         agenda from within agenda window.
1871         (org-agenda-mode-map): New keys for effort setting commands.
1872         (org-agenda-menu): Add effort setting commands to menu.
1873         (org-agenda-set-property, org-agenda-set-effort): New functions.
1875         * org-latex.el (org-export-latex-tables): Fix
1876         `org-table-last-alignment' and `org-table-last-column-widths' if
1877         the first column has been removed.
1879 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1881         * org.el (org-remove-timestamp-with-keyword): Only remove in
1882         entry, not in subtree.
1884         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1885         emacs lisp.
1887         * org.el (org-open-at-point): When on headline, offer all strings
1888         in entry.
1890         * org-remember.el (org-remember-templates): Documentation fix.
1892         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1893         `org-get-last-sibling' instead of the outline versions of these
1894         functions.
1895         (org-get-last-sibling): New function.
1896         (org-refile): Use `org-get-next-sibling' instead of the outline
1897         version of this function.
1898         (org-clean-visibility-after-subtree-move): Use
1899         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1900         outline versions of these functions.
1902 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1904         * org-agenda.el (org-prepare-agenda): When creating a new frame
1905         for the agenda, make the window dedicated.
1907         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1909         * org-table.el (org-table-align): Change the order of reinsertion
1910         and deletion, to avoid problems with overlays following the table.
1912         * org.el (org-parse-time-string): Better error message.
1913         (org-show-subtree): Use org-end-of-subtree.
1915         * org-macs.el (org-goto-line): New defsubst.
1917         * org.el (org-open-file, org-change-tag-in-region)
1918         (org-fast-tag-show-exit): Don't use `goto-line'.
1920         * org-table.el (org-table-align, org-table-insert-column)
1921         (org-table-delete-column, org-table-move-column)
1922         (org-table-sort-lines, org-table-copy-region)
1923         (org-table-paste-rectangle, org-table-wrap-region)
1924         (org-table-get-specials, org-table-rotate-recalc-marks)
1925         (org-table-get-range, org-table-recalculate)
1926         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1927         (org-table-show-reference, org-table-highlight-rectangle): Don't
1928         use `goto-line'.
1930         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1931         (org-edit-src-exit): Don't use `goto-line'.
1933         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1935         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1936         Don't use `goto-line'.
1938         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1940         * org-colview.el (org-columns, org-columns-redo)
1941         (org-agenda-columns): Don't use `goto-line'.
1943         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1944         use `goto-line'.
1946         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1947         (org-agenda-add-entry-text-maxlines): Improve docstring.
1948         (org-agenda-start-with-entry-text-mode): New option.
1949         (org-agenda-entry-text-maxlines): New option.
1950         (org-agenda-entry-text-mode): New variable.
1951         (org-agenda-mode): Set initial value of
1952         `org-agenda-entry-text-mode'.
1953         (org-agenda-mode-map): Add the `E' key.
1954         (org-agenda-menu): Add entry text mode to the menu.
1955         (org-agenda-get-some-entry-text): Fix line count bug.
1956         (org-finalize-agenda): Apply entry text mode if appropriate.
1957         (org-agenda-entry-text-show-here): New function.
1958         (org-agenda-entry-text-show): New function.
1959         (org-agenda-entry-text-hide): New function.
1960         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1961         key menu.
1962         (org-agenda-entry-text-mode): New command.
1963         (org-agenda-set-mode-name): Add entry text mode to the mode line
1964         string.
1965         (org-agenda-undo, org-agenda-get-restriction-and-command)
1966         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1967         `goto-line'.
1969 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1971         * org-clock.el (org-notify): Bugfix.
1973 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1975         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1976         check for after-string.
1978         * org-gnus.el (org-gnus-store-link): Simplify.
1980         * org.el (org-latex-regexps): Don't add extra empty lines for
1981         display formulas.
1983 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1985         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1986         (org-agenda-add-entry-text): Use
1987         `org-agenda-get-some-entry-text'.
1989         * org.el (org-cycle-separator-lines): Update docstring.
1990         (org-cycle-show-empty-lines): Handle negative values for
1991         `org-cycle-show-empty-lines'.
1993         * org-exp.el (org-export-protect-sub-super): New function.
1994         (org-export-normalize-links): Protect the url of plain links from
1995         supscript and superscript processing.
1997         * org-remember.el (org-remember-escaped-%): New function.
1998         (org-remember-apply-template): Use `org-remember-escaped-%' to
1999         detect escaped % signs.
2001 2009-08-23  Bastien Guerry  <bzg@altern.org>
2003         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2004         sound when showing the notification.
2006         * org-clock.el (org-notify): New function.
2007         (org-clock-notify-once-if-expired): Use `org-notify'.
2009         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2010         and `gnus-article-mode' separately.
2011         (gnus-summary-article-header): Fix the declare-function.
2013 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2015         * org-exp.el (org-export-format-source-code-or-example): Translate
2016         language.
2018         * org-src.el (org-src-lang-modes): New variable
2019         (org-edit-src-code): Translate language.
2021         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2022         the new structure of the `org-export-latex-listings-langs'
2023         variable.
2025         * org-latex.el (org-export-latex-listings-langs): Change structure
2026         of the variable from plist to alist.
2028 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2030         * org.el (org-in-commented-line): New function.
2032 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2034         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2036 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2038         * org.el (org-flag-drawer): More useful error.
2040 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2042         * org-remember.el (org-remember-apply-template): Use
2043         org-icompleting-read.
2045         * org-publish.el (org-publish): Use org-icompleting-read.
2047         * org-colview.el (org-columns-edit-value, org-columns-new)
2048         (org-insert-columns-dblock): Use org-icompleting-read.
2050         * org-colview-xemacs.el (org-columns-edit-value)
2051         (org-columns-new, org-insert-columns-dblock): Use
2052         org-icompleting-read.
2054         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2055         org-icompleting-read.
2057 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2059         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2060         (org-version): Return the version text.
2061         (org-org-menu): Add a menu entry for the new bug reporter.
2062         (org-submit-bug-report): New command.
2064         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2065         docstring.
2067         * org.el (org-emphasis-regexp-components): Add "`" to set of
2068         pre-emphasis characters.
2070         * org-latex.el (org-export-latex-classes): Always include the soul
2071         package.
2072         (org-export-latex-emphasis-alist): Use \st for strikethough.
2074         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2075         `indent-code-rigidly' to indent.
2077         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2078         properties only if MATCH really is a string.
2080 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2082         * org-latex.el (org-export-latex-packages-alist): Fix
2083         customization type.
2085         * org.el (org-create-formula-image): Also use
2086         `org-export-latex-packages-alist'.
2088         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2089         (org-export-as-html): Format footnotes correctly.
2091 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2093         * org.el (org-fast-tag-selection): Avoid text properties on tags
2094         in the alist.
2096         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2097         text properties on the match element.
2099 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2101         * org.el (org-set-regexps-and-options): Make sure the list of done
2102         keywords is not invalid.
2104         * org-exp.el (org-export-interpolate-newlines): New function.
2106 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2108         * org.el (org-format-latex): Avoid nested overlays.
2110         * org-latex.el (org-export-latex-listings-langs): Add a few more
2111         languages.
2113         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2114         ignore newlines and space before the first macro argument.
2116         * org-latex.el (org-export-latex-tables): Remove save-excursion
2117         around `org-table-align'.
2119 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2121         * org.el (org-export-html-special-string-regexps): Definition
2122         moved into org.el
2124         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2125         in macro calls.
2127 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2129         * org-latex.el (org-export-latex-listings)
2130         (org-export-latex-listings-langs): New options.
2132         * org-exp.el (org-export-format-source-code-or-example): Use
2133         listing package if requested by the user.
2135 2009-08-08  Bastien Guerry  <bzg@altern.org>
2137         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2138         command before actually switching to a buffer.
2140 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2142         * org-exp.el (org-get-file-contents): Only quote org lines when
2143         the markup is src or example.
2145         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2146         New option
2147         (org-agenda-get-day-entries): Remember deadline results and pass
2148         them on into the function getting the scheduling information.
2149         (org-agenda-get-scheduled): Accept deadline results as parameters
2150         and maybe skip some entries.
2151         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2153         * org.el (org-insert-heading): When respecting content, do not
2154         convert current line to headline.
2156         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2157         cheeeeeck the hd marker
2158         (org-clock-in): Also set the hd marker.
2159         (org-clock-out): Also set the hd marker.
2160         (org-clock-cancel): Reset markers.
2162         * org.el (org-clock-hd-marker): New marker.
2164         * org-faces.el (org-agenda-clocking): New face.
2166         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2167         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2169         * org.el (org-modules): Add org-track.el.
2171         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2172         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2173         `org-agenda-bulk-marked-p'.
2174         (org-agenda-bulk-toggle): New command.
2176 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2178         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2179         not just the body.
2181         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2182         messages.
2184 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2186         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2187         before gnuplot can read it.
2189 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2191         * org-latex.el (org-export-latex-first-lines): Fix bug with
2192         finding the end of the first lines.
2194         * org.el (org-create-formula-image): Remove the -E option for
2195         dvipng.
2197         * org-exp.el (org-default-export-plist): Respect #+BIND.
2198         (org-export-confirm-letbind): New function.
2200         * org.el (org-paste-subtree): Test the kill ring entry if it is
2201         going to be used.
2202         (org-copy-subtree): Use `org-forward-same-level'.
2203         (org-forward-same-level): Respect the `invisibe-ok' arg for
2204         back-to-heading.
2206 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2208         * org.el (org-table-map-tables): Make sure cursor is back at table
2209         beginning after funcall.
2211         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2212         handled before children, and do not error if an entry is not
2213         found, probably because it hase been remove when the parent was
2214         archived or refiled.
2216         * org.el (org-ido-completing-read): Accept straight lists for
2217         completion as well as alists.
2219         * org-html.el (org-export-as-html): Fix parenthesis error in
2220         footnore code.
2222         * org-timer.el (org-timer-cancel-timers): Renamed from
2223         `org-timer-cancel-timers'.
2225         * org.el (org-cycle-internal-local): Fix problem with finding next
2226         invisible line.
2228 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2230         * org-list.el (org-list-send-list): Call
2231         `org-list-goto-true-beginning' instead of
2232         `org-list-find-true-beginning', which does not exist.
2234         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2235         (org-timer-set-timer): Do not assign to heading.
2237         * org-id.el (org-id-open): Quote function name.
2239         * org-macs.el (org-unmodified): Turn off recording undo
2240         information while running inside the macro.
2242         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2243         variable.
2244         (org-indent-mode): Remember and restore value of
2245         org-hide-leading-stars before `org-indent-mode'.
2247         * org-table.el (org-table-export): Also work in file-less
2248         buffers.
2250         * org.el (org-startup-indented): New option.
2251         (org-startup-options): Add new options indent and noindent.
2252         (org-unfontify-region): Remove line-prefix and wrap-prefix
2253         properties.
2254         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2255         hooks.
2256         (org-promote, org-demote): Run the new hooks.
2258         * org-table.el (org-table-align): Replace leading \n as well.
2260         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2261         and `line-wrap' text properties.
2263         * org-compat.el (org-kill-new): New function.
2265         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2266         `line-wrap' text properties.
2268         * org-indent.el: New file.
2270 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2272         * org.el (org-provide-todo-statistics): Tweak docstring.
2274         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2276 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2278         * org-exp.el (org-export-as-org): Insert the "-source" string
2279         before the extension.
2281         * org.el (org-read-date): Make sure the calendar is in the current
2282         frame.
2283         (org-set-emph-re): Remove the ? from the post-match.
2284         (org-emphasis-regexp-components): Add backslash to the
2285         postmatch class.
2286         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2287         optional so that also lines at the end of the buffers will still
2288         be matched as headlines.
2290         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2291         Variable made obsolete.
2292         (org-table-relative-ref-may-cross-hline): New option.
2293         (org-table-find-row-type): Honow the new option
2294         `org-table-relative-ref-may-cross-hline'.
2296 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2298         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2299         on single field if no active region.
2301 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2303         * org-latex.el (org-export-latex-make-header): Only insert title
2304         if one is defined.
2306         * org.el (org-make-options-regexp): Allow empty values.
2308         * org-html.el (org-export-as-html): Move hrule detection to after
2309         plain list handling.
2311 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2313         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2315 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2317         * org.el (org-cycle-internal-local): Improved version of finding
2318         next visible line.
2319         (org-cycle-hide-drawers): Only hide drawers if this is really
2320         necessary.
2321         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2322         org-version of this function in Org-mode.  We use advice to
2323         implement this change, so that future changes to this function in
2324         outline.el wil be handled properly.
2325         (org-forward-same-level, org-backward-same-level): New commands.
2327 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2329         * org.el (org-remove-empty-overlays-at)
2330         (org-clean-visibility-after-subtree-move): New functons.
2331         (org-move-subtree-down): Simplify cleanup of display.
2333 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2335         * org-mac-message.el (org-mac-message-get-links): Improve
2336         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2337         "s".  Fix the return value.
2338         (org-mac-message-insert-flagged): Simplify.
2340         * org.el (org-refile-get-location): Tamper with refile history o
2341         that history contains compete matches instead of the entered
2342         string.
2344 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2346         * org.el (org-store-link): Never store a link to an inline task.
2348         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2350         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2351         inline tasks when positioning footnotes.
2353         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2354         function.
2356         * org.el (org-refile): Remove the END line when archiving an
2357         inline task that does have an END line.
2359         * org-archive.el (org-archive-subtree): Remove the END line when
2360         archiving an inline task that does have an END line.
2362         * org-macs.el (org-with-limited-levels): New macro.
2363         (org-get-limited-outline-regexp): New function.
2365         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2366         that did not enumerate first line.
2367         (org-export-mark-radio-links): Skip matches in links.
2369 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2371         * org.el (org-activate-plain-links): Make single-match.
2372         (org-adapt-indentation): Fix docstring.
2374         * org-macs.el (org-unmodified): Turn of modification hooks while
2375         running this macro.
2377 2009-08-02  Bastien Guerry  <bzg@altern.org>
2379         * org.el (org-adapt-indentation): Slightly improve the docstring.
2380         (org-occur): Sends an error when the user inputs an empty string.
2381         (org-priority): Bugfix: the tag alignement should happen within
2382         save-excursion.
2384 2009-07-31  Bastien Guerry  <bzg@altern.org>
2386         * org.el (org-make-link-regexps): Don't exclude parentheses from
2387         `org-plain-link-re'
2388         (org-cycle-internal-local): When locally cycling, switch directly
2389         from CHILDREN to FOLDED if there is no subtree
2390         (org-cycle): Update the docstring to document the new behavior of
2391         `org-cycle-internal-local'.
2393 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2395         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2396         an abbreviated format for days.
2398 2009-07-27  Bastien Guerry  <bzg@altern.org>
2400         * org-protocol.el (org-protocol-default-template-key): New
2401         option.
2403         * org.el (org-refile): Bugfix: save-excursion before reading the
2404         refile target, otherwise cursor moves might confuse `org-refile'.
2406         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2407         footnote reference before the footnote itself.
2409         * org.el (org-toggle-heading): Bugfix: correctly convert list
2410         items before the first headline.
2412         * org-html.el (org-export-html-footnote-format): New option for
2413         formatting the footnote reference.
2414         (org-export-as-html): Use the new option.
2416         * org.el (org-provide-todo-statistics): Allow a list of TODO
2417         keywords to compute statistics against headlines containing a
2418         keyword from this list.
2419         (org-update-parent-todo-statistics): Possibly use the new allowed
2420         value of `org-provide-todo-statistics'.
2422 2009-07-26  Bastien Guerry  <bzg@altern.org>
2424         * org-timer.el: Add autoload cookie.
2426         * org.el (org-occur-link-in-agenda-files): New function.
2428         * org-timer.el (org-timer-last-timer): New variable.
2430         * org-agenda.el (org-agenda-mode-map): New key for
2431         org-timer-set-timer called from the agenda.
2433         * org.el (org-mode-map): New key for org-timer-set-timer.
2435         * org-timer.el (org-timer-reset-timers)
2436         (org-timer-show-remaining-time, org-timer-set-timer): New
2437         functions.
2439         * org-clock.el (org-show-notification): Update the docstring.
2441         * org.el (org-provide-todo-statistics): Allow new value
2442         'all-headlines for this option, which includes entries with no
2443         TODO keywords in the todo statistics.
2444         (org-update-parent-todo-statistics): Possibly use the new
2445         'all-headline value from `org-provide-todo-statistics'.
2447 2009-07-25  Bastien Guerry  <bzg@altern.org>
2449         * org-clock.el (org-dblock-write:clocktable): Add a new option
2450         :timestamp which allows display of timestamps in clock reports.
2452         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2453         list to a subtree, preserving the structure of the list.
2454         (org-set-emph-re): Make the last element optional in the regexp.
2455         This regexp now matches an emphasized string at the end of a line.
2457         * org-list.el (org-list-goto-true-beginning)
2458         (org-list-make-subtree, org-list-make-subtrees): New functions.
2460         * org.el (org-eval-in-calendar): Select the right frame.
2461         (org-save-frame-excursion): Remove this macro.
2463 2009-07-24  Bastien Guerry  <bzg@altern.org>
2465         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2466         trying to find the beginning of a list.
2468         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2469         When present, tell org-get-file-contents not to protect org-like
2470         lines.
2472         * org-id.el (org-id-uuid-program): New option to set the name of
2473         the uuidgen program.
2474         (org-id-method): Use `org-id-uuid-program'.
2475         (org-id-new): Use `org-id-uuid-program'.
2477 2009-07-23  Bastien Guerry  <bzg@altern.org>
2479         * org-exp.el (org-export-number-lines): Allow whitespace in code
2480         references.  Allow the -r switch to remove the references in the
2481         source code even when the lines are not numbered: the labels can
2482         be explicit enough.
2484         * org.el (org-fontify-whole-heading-line): New option.
2485         (org-set-font-lock-defaults): Use the new option.
2487         * org-clock.el (org-show-notification-handler): New option.
2488         (org-show-notification): Use the new option.
2490 2009-07-21  Bastien Guerry  <bzg@altern.org>
2492         * org.el (org-eval-in-calendar): Fix a bug about calendar
2493         navigation when `calendar-setup' value is 'calendar-only.
2495 2009-07-19  Bastien Guerry  <bzg@altern.org>
2497         * org.el (orgstruct++-mode): Fix typo in docstring.
2498         (org-insert-link): Clean up: (or (...)) => (...)
2499         (org-insert-link): Use TAB for stored links completion.
2501 2009-07-18  Bastien Guerry  <bzg@altern.org>
2503         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2504         building the list of targets.
2506         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2507         option.
2508         (org-remember-handler): Use the new option.
2510 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2512         * org.el (org-tags-sort-function): New option for sorting tags.
2513         (org-set-tags): Use the new option to sort tags.
2515         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2516         premature deletion of the data when using org-plot in a script.
2518 2009-07-17  Bastien Guerry  <bzg@altern.org>
2520         * org-clock.el (org-clock-in-prepare-hook): New hook.
2521         (org-clock-in): Use this new hook.
2523 2009-07-16  Bastien Guerry  <bzg@altern.org>
2525         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2526         'reversed for this option to the "true line boundary first"
2527         behavior.
2528         (org-tags-match-list-sublevels): Document the 'indented value for
2529         this variable.
2531         * org-latex.el (org-export-latex-first-lines): Fix problem with
2532         publishing the region.
2534         * org-exp.el (org-export-format-source-code-or-example): Fix
2535         bad line numbering when exporting examples in HTML.
2537         * org-colview.el (org-format-time-period): Formats a time in
2538         fractional days as days, hours, mins, seconds.
2539         (org-columns-display-here): Add special handling for SINCE and
2540         SINCE_IA to format for display.
2542 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2544         * org.el (org-tags-sort-function): Add custom declaration for tags
2545         sorting function.
2546         (org-set-tags): Sort tags if org-tags-sort-function is set
2548 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2550         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2552         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2554         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2555         option.
2557 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2559         * org-publish.el (org-publish-remove-all-timestamps): New function.
2560         (org-publish-all): Remove all timestamp files if `org-publish-all'
2561         is called with a prefix argument.
2563         * org-list.el (org-indent-item): Fix typo.
2564         (org-item-indent-positions): Normalize ordered bullet.
2566         * org-html.el (org-export-html-home/up-format): New option.
2567         (org-export-as-html): Insert the up and HOME links.
2569 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2571         * org-html.el (org-export-as-html): Insert the title into the
2572         option plist.
2573         (org-export-html-insert-plist-item): New function.
2574         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2576         * org-macs.el (org-set-local): Make a local variable, do not make
2577         the variable buffer-local!
2579         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2581         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2583         * org-docbook.el (org-export-as-docbook): Call
2584         `org-install-letbind'.
2586         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2588         * org-exp.el (org-infile-export-plist): Read BIND lines.
2589         (org-install-letbind): New function.
2590         (org-export-as-org, org-export-preprocess-string): Call
2591         `org-install-letbind'.
2593         * org-src.el (org-edit-src-exit): Untabify the example before
2594         returning to Org.
2596         * org-list.el (org-list-demote-modify-bullet): New option.
2597         (org-first-list-item-p): Save point.
2598         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2599         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2600         (org-item-indent-positions): Return bullet types along with
2601         indentation.
2603 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2605         * org.el (org-show-entry): Hide drawers.
2607 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2609         * org-footnote.el (org-footnote-auto-adjust): New option.
2610         (org-footnote-auto-adjust-maybe): New function.
2611         (org-footnote-new, org-footnote-delete): Call
2612         `org-footnote-auto-adjust-maybe'.
2614         * org.el (org-startup-options): Add new footnote-related
2615         keywords.
2617         * org-publish.el (org-publish-timestamp-filename): Additional
2618         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2619         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2620         TRUE-PUB-DIR.  Pass them through to
2621         `org-publish-timestamp-filename'.
2622         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2623         PUB-FUNC, which are included in the hash.
2624         (org-publish-file): Delay timestamp test until the publishing
2625         function is known.
2627 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2629         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2630         setting the deadline.
2632         * org.el (org-read-date-final-answer): New variable.
2633         (org-read-date): Store the final answer string, including the date
2634         from the calendar, for reuse by agenda bulk commands.
2636         * org-publish.el (org-publish-attachment): Fix publishing of
2637         attachments.
2639         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2640         quotation makrs in parenthesis.
2641         (org-remove-initial-hash): New function.
2642         (org-export-latex-preprocess): Fix bug with infinite loop if
2643         environment is not properly closed.
2645         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2646         when indented.
2648         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2649         highlight also when indented.
2651 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2653         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2654         (org-footnote-action): Offer renumbering.
2656         * org.el (org-cycle): Honor the `integrate' value of
2657         org-cycle-include-plain-lists'.
2659         * org-list.el (org-cycle-include-plain-lists): New allowed value
2660         `internal'.  Improve the docstring.
2662         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2663         regexp to work better with LaTeX commands.
2665 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2667         * org-feed.el (org-feed-update): fix problem with non-existing
2668         buffer.
2669         (org-feed-skip-http-headers): New function.
2670         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2671         (org-feed-get-feed): Fix command line arguments for curl.
2673 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2675         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2676         and eps extensions.
2678 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2680         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2681         loaded.
2683         * org.el (org-map-entries): No longer force
2684         `org-tags-match-list-sublevels' to t during a todo-only tags
2685         search.
2687 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2689         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2690         environment.
2691         (org-export-latex-subcontent): Handle user-defined environment.
2693         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2694         the View dispatcher.
2696         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2697         `make-overlay'.
2699         * org-latex.el (org-export-as-pdf): Protect match data during call
2700         to shell-quote-argument.
2702         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2703         (org-agenda-view-mode-dispatch): New function.
2705 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2707         * org-agenda.el (org-agenda-mode): Reset list of marks.
2708         (org-agenda-mode-map): Define new keys for refile and bulk action.
2709         (org-agenda-menu): Add menu itesm for refile and bulk action.
2710         (org-agenda-refile): New function.
2711         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2712         (org-agenda-marked-entries): New variable.
2713         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2714         (org-agenda-remove-all-bulk-action-marks)
2715         (org-agenda-bulk-action): New functions/commands.
2717 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2719         * org-exp.el (org-get-file-contents): Protect org-like lines in
2720         included files.
2721         (org-export-format-source-code-or-example): Remove newlines.
2723         * org-latex.el (org-export-latex-links): Check for no-description
2724         marking.
2726         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2727         argument separator back to comma.
2728         (org-export-normalize-links): Mark links without description.
2730 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2732         * org-exp.el (org-infile-export-plist): Fix bug in macro
2733         processing.
2735         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2736         out.
2737         (org-agenda-highlight-todo): Fix bug with highlighting.
2739 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2741         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2742         new alignment strings.
2744         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2745         command list.
2746         (org-table-align): Check for forced align type.
2748         * org.el (org-self-insert-command): Add yas/expand to command
2749         list.
2751         * org-clock.el (org-clock-in-hook): New hook.
2752         (org-clock-in): Run `org-clock-in-hook.
2753         (org-clock-out-hook): New hook.
2754         (org-clock-out): Run `org-clock-out-hook.
2755         (org-clock-cancel-hook): New hook.
2756         (org-clock-cancel): Run `org-clock-cancel-hook.
2757         (org-clock-goto-hook): New hook.
2758         (org-clock-goto): Run `org-clock-goto-hook.
2760 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2762         * org.el (org-store-link): Better default description for link to
2763         Org-mode headline.
2765         * org-exp.el (org-export-generic): Autoload the generic exporter
2766         function.
2767         (org-export): Implement the `g' key for the generic exporter.
2769 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2771         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2772         and for zbacktab'.
2774         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2776         * org-exp.el (org-infile-export-plist): Get macros also from
2777         #+SETUPFILE.
2779 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2781         * org-colview.el (org-columns-capture-view): Protect vertical bars
2782         in column values.
2783         (org-columns-capture-view): Exclude comment and archived trees.
2785         * org-colview-xemacs.el (org-columns-capture-view): Protect
2786         vertical bars in column values.
2787         (org-columns-capture-view): Exclude comment and archived trees.
2789         * org.el (org-quote-vert): New function.
2791         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2793         * org-exp.el (org-export-format-source-code-or-example): Use
2794         `org-export-latex-verbatim-wrap'.
2796         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2797         time stamps.
2799         * org-html.el (org-export-table-row-tags): New option.
2800         (org-format-org-table-html): Rename `nlines' to `nline', use new
2801         option.
2804 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2806         * org-exp-blocks.el: Declare functions and variables.
2808         * org-remember.el (org-remember-templates): Allow the headline
2809         element to be a function.
2810         (org-remember-apply-template): If the headline is a function, call
2811         it to get the true function.
2813         * org-clock.el (org-clock-menu): New function.
2814         (org-clock-update-mode-line): Update help string.
2815         (org-clock-modify-effort-estimate): New function.
2816         (org-clock-mark-default-task): New function.
2818         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2819         minutes as input.
2820         (org-org-menu): Add new clocking stuff.
2821         (org-clock-is-active): New function.
2823 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2825         * org.el (org-open-non-existing-files): Improve docstring.
2827 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2829         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2830         option.
2831         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2833         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2835         * org-list.el (org-get-checkbox-statistics-face): Use the new
2836         faces.
2838         * org-faces.el (org-checkbox-statistics-todo)
2839         (org-checkbox-statistics-done): New faces.
2841 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2843         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2844         (org-edit-src-exit): Better cursor positioning when returning from
2845         editing.
2847         * org-latex.el (org-export-latex-use-verb): New variable.
2848         (org-export-latex-emph-format): Prefer \texttt over \verb when
2849         org-export-latex-use-verb is set.
2851 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2853         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2854         at normal indentation.
2856         * org-html.el (org-export-html-close-lists-maybe): Also look at
2857         normal indentation.
2859         * org-remember.el (org-remember-handler): Abort remember if the
2860         buffer is empty.
2862         * org-src.el (org-edit-src-content-indentation): New option.
2863         (org-edit-src-exit): Apply extra indentation.
2865         * org-exp.el (org-export-format-source-code-or-example): Run
2866         `org-src-mode-hook'.
2868         * org-src.el (org-src-mode-hook): New variable.
2869         (org-edit-src-code): Run `org-src-mode-hook'.
2871 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2873         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2875         * org-src.el (org-edit-src-get-indentation): New function.
2876         (org-edit-src-code): Base indentation on the begin line.
2878 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2880         * org-gnus.el (org-gnus-store-link): Require message.el in
2881         org-gnus-store-link.
2883 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2885         * org-src.el: New file, split out of org.el
2887         * org-docbook.el (org-export-as-docbook): Better indentation
2888         treatment.
2890         * org-macs.el (org-replace-match-keep-properties): New function.
2892         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2893         preprocessing of center and quote and verse blocks.
2895         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2896         (org-export-as-docbook): Close lists when original indentation
2897         mandates it.
2899         * org-html.el (org-export-html-close-lists-maybe): New function.
2900         (org-export-as-html): Close lists when original indentation
2901         mandates it.
2903         * org-list.el (org-list-end): Respect the stored "original"
2904         indentation when determining the end of the list.
2906         * org-exp.el (org-export-replace-src-segments-and-examples):
2907         Remember indentation correctly.
2909 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2911         * org-clock.el (org-clock-update-mode-line): Apply face
2912         org-mode-line-clock.
2914         * org-faces.el (org-mode-line-clock): New face.
2916 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2918         * org-gnus.el (org-gnus-store-link): Fix bug where
2919         `org-gnus-store-link' used wrong subject when called in an article
2920         buffer.  Patch provided by fengli AT gmail DOT com.
2922 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2924         * org-exp.el (org-export-format-source-code-or-example): Remember
2925         the original indentation of source code snippets and examples.
2927         * org-latex.el (org-export-as-latex): Relocate the table of
2928         contents.
2930         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2932         * org-agenda.el (org-run-agenda-series): Scope global options also
2933         when creating the agenda buffer.
2935 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2937         * org.el (org-adapt-indentation): Improve documentation.
2938         (org-insert-property-drawer): Respect org-adapt-indentation when
2939         inserting the drawer.
2940         (org-remove-flyspell-overlays-in): New function.
2941         (org-do-emphasis-faces, org-activate-plain-links)
2942         (org-activate-code, org-fontify-meta-lines-and-blocks)
2943         (org-activate-angle-links, org-activate-footnote-links)
2944         (org-activate-bracket-links, org-activate-dates)
2945         (org-activate-target-links, org-activate-tags): Remove flyspell
2946         overlays.
2948 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2950         * org.el (org-edit-src-save): New function.
2952         * org-clock.el (org-clock-out-switch-to-state): New option.
2953         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2955         * org-compat.el (org-compatible-face): Improve macro.
2957         * org.el (org-global-properties-fixed): Add default for
2958         CLOCK_MODELINE_TOTAL.
2960         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2961         andd tend.
2962         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2963         org-clock-sum.
2964         (org-clock-get-sum-start): New function.
2966         * org.el (org-startup-options): New keywords blockhide and
2967         blockshow.
2968         (org-mode): Add new invisibility spec.
2969         (org-set-startup-visibility): Hide block on startup if so
2970         desired.
2971         (org-hide-block-startup): New option.
2972         (org-block-regexp): New constant.
2973         (org-hide-block-overlays): New variable.
2974         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2975         (org-show-block-all, org-hide-block-toggle-maybe)
2976         (org-hide-block-toggle): New functions.
2977         (org-edit-src-exit): Do not quote lines starting with # and no +
2978         behind it.
2979         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2980         entry.
2982 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2984         * org.el (org-buffer-property-keys): Add Effort property for
2985         completion.
2987 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2989         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2990         when retrieving total clocked time in the subtree.
2992         * org.el (org-quoting-blocks): New variable.
2994 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2996         * org-table.el (org-table-store-formulas)
2997         (org-table-get-stored-formulas, org-table-fix-formulas)
2998         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2999         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3001         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3002         indented #+TBLFM line.
3004         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3005         indented #+TBLFM line.
3007         * org-colview.el (org-dblock-write:columnview): Allow indented
3008         #+TBLFM line.
3010         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3011         indented #+TBLFM line.
3013         * org-clock.el (org-dblock-write:clocktable): Allow indented
3014         #+TBLFM line.
3016 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3018         * org-exp.el (org-export-format-source-code-or-example): Make
3019         editing indented blocks work correctly.
3021         * org.el (org-edit-src-nindent): New variable.
3022         (org-edit-src-code, org-edit-fixed-width-region)
3023         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3024         editing indented blocks work correctly.
3026 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3028         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3029         indented blocks.
3030         (org-export-format-source-code-or-example): Fix indentation of
3031         blocks.
3032         (org-export-remove-indentation): New function.
3033         (org-export-select-backend-specific-text): Allow backend-specific
3034         code to be indented.
3035         (org-export-mark-blockquote-verse-center): Allow markers to be
3036         indented.
3038         * org.el (org-fontify-meta-lines): New function.
3039         (org-set-font-lock-defaults): Call the new fontification
3040         function.
3042         * org-faces.el (org-meta-line): New face
3043         (org-block):  New face.
3045 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3047         * org.el (org-treat-insert-todo-heading-as-state-change)
3048         (org-treat-S-cursor-todo-selection-as-state-change): New
3049         variables.
3050         (org-insert-todo-heading): Honor
3051         `org-treat-insert-todo-heading-as-state-change'.
3052         (org-shiftright, org-shiftleft): Honor
3053         `org-treat-S-cursor-todo-selection-as-state-change'.
3054         (org-inhibit-logging): New variable.
3056 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3058         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3059         range for marker position checking.
3061         * org-latex.el (org-export-latex-first-lines): Fix bug when
3062         exporting a region.
3064 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3066         * org-exp.el (org-export-push-to-kill-ring): Protect using
3067         x-set-selection, because that does not always work.
3069         * org-agenda.el (org-agenda-list): Apply the new face
3070         `org-agenda-date-today'.
3072         * org-faces.el (org-agenda-date-today): New face.
3074 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3076         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3077         creating appointments.
3079         * org-latex.el (org-export-latex-low-levels): Fix customization
3080         type.
3082         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3083         priority commands.
3085         * org-agenda.el (org-agenda-priority): Disable priority commands.
3087         * org.el (org-enable-priority-commands): New option.
3089         * org-colview-xemacs.el (org-columns-compute)
3090         (org-columns-number-to-string): Fix problems with empty fields.
3092         * org-colview.el (org-columns-compute)
3093         (org-columns-number-to-string): Fix problems with empty fields.
3095         * org-exp.el (org-export-push-to-kill-ring): New function.
3096         (org-export-copy-to-kill-ring): New option.
3098         * org-latex.el (org-export-as-latex): Call
3099         `org-export-push-to-kill-ring'.
3101         * org-html.el (org-export-as-html): Call
3102         `org-export-push-to-kill-ring'.
3104         * org-docbook.el (org-export-as-docbook): Call
3105         `org-export-push-to-kill-ring'.
3107         * org-ascii.el (org-export-as-ascii): Call
3108         `org-export-push-to-kill-ring'.
3110         * org-exp.el (org-export-show-temporary-export-buffer): New
3111         option.
3113         * org-latex.el (org-export-as-latex): Use
3114         `org-export-show-temporary-export-buffer'.
3116         * org-html.el (org-export-as-html): Use
3117         `org-export-show-temporary-export-buffer'.
3119         * org-docbook.el (org-export-as-docbook): Use
3120         `org-export-show-temporary-export-buffer'.
3122         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3123         `org-export-show-temporary-export-buffer'.
3125         * org-exp.el (org-export-show-temporary-export-buffer): New
3126         option.
3127         (org-export-push-to-kill-ring): New function.
3129         * org-colview.el (org-columns-compile-map): New variable.
3130         (org-columns-new, org-columns-compute)
3131         (org-columns-number-to-string, org-columns-uncompile-format)
3132         (org-columns-compile-format): Implement new operators.
3134 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3136         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3138         * org-html.el (org-export-html-xml-declaration): New option.
3139         (org-export-as-html): Use `org-export-html-xml-declaration'.
3141         * org-list.el (org-update-checkbox-count): Make property
3142         dependent.
3144         * org.el (org-hierarchical-todo-statistics): New option.
3145         (org-update-parent-todo-statistics): Modified to handle recursive
3146         statistics.
3148 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3150         * org-publish.el (org-publish): Make this function behave
3151         correctly in interactive use when called with a prefix argument.
3153         * org.el (org-todo-statistics-hook): New hook.
3154         (org-update-parent-todo-statistics): Use new hook.
3155         (org-log-into-drawer): New function.
3156         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3157         determine if we should be logging into a drawer.
3158         (org-log-into-drawer): Update docstring.
3159         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3161         * org-list.el (org-checkbox-statistics-hook): New hook.
3162         (org-update-checkbox-count-maybe): Use new hook.
3164         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3165         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3166         to kill ring.
3168 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3170         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3171         a line.
3173 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3175         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3176         better bufer-generating mechanism.
3177         (org-edit-src-find-buffer): New function.
3179         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3180         archive tag, this is already done by `org-agenda-skip'.
3181         data while constructing lost of tags.
3183 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3185         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3186         as argument separator in macros.
3188         * org-html.el (org-export-as-html): Add xml declaration.
3190 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3192         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3193         (org-sort-entries-or-items): Run the new hook.
3194         (org-after-refile-insert-hook): New hook.
3195         (org-refile): Run `org-after-refile-insert-hook'.
3197         * org-agenda.el (org-agenda-get-progress): Never take time of day
3198         from headline when displaying progress.
3200         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3201         (org-export-as-latex): Force the correct regexp in the
3202         preprocessor buffer.
3203         (org-export-latex-set-initial-vars): Set
3204         `org-export-latex-complex-heading-re'.
3206         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3207         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3209 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3211         * org-latex.el (org-export-latex-tables-centered): New option.
3212         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3214         * org-exp.el (org-export-as-org): New command.
3215         (org-export-as-org): New command.
3217         * org-publish.el (org-publish-org-to-org): New function.
3219 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3221         * org.el (org-yank): Just call `org-yank-generic'.
3222         (org-yank-generic): New function, containing the formaer
3223         functionality of `org-yank'.
3225         * org-latex.el (org-export-latex-not-done-keywords)
3226         (org-export-latex-done-keywords): New variables.
3227         (org-export-latex-todo-keyword-markup): New option.
3228         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3229         (org-export-latex-keywords-maybe): Apply the TODO markup.
3231 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3233         * org-exp.el (org-infile-export-plist): Add more default macros.
3234         (org-export-preprocess-apply-macros): Process macro arguments.
3236 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3238         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3239         `unblocked'.
3240         (org-print-icalendar-entries): Respect the new value of
3241         `org-icalendar-include-todo'.
3243         * org.el (org-link-try-special-completion)
3244         (org-file-complete-link): New functions.
3245         (org-insert-link): Add special completion support for some link
3246         types.
3248         * org-bbdb.el (org-bbdb-complete-link): New function.
3250 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3252         * org-list.el (org-update-checkbox-count): Allow recursive
3253         statistics.
3254         (org-hierarchical-checkbox-statistics): New option.
3256         * org.el (org-cycle): Remove erraneous space character.
3258         * org-icalendar.el (org-icalendar-timezone): Initialize from
3259         environment.
3261         * org-html.el (org-format-org-table-html): Specify the scope.
3262         (org-format-table-table-html): Specify the scope.
3263         (org-export-table-header-tags): Prepare the scope parameter.
3265 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3267         * org-html.el
3268         (org-export-html-table-use-header-tags-for-first-column): New
3269         option.
3271         * org.el (org-autoload): Fix autoloading of ascii export
3272         functions.
3273         (org-modules): Add org-special-blocks.
3275 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3277         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3278         (org-ical-timezone): New option.
3280         * org-exp.el (org-export-get-coderef-format): Use the description
3281         is present.
3283         * org.el (org-sort-entries-or-items): Improve docstring, and make
3284         better implementation for time sorting.
3286 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3288         * org.el (org-edit-src-persistent-message): New option.
3289         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3290         option.
3292         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3293         patch.
3295         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3296         separate buffer instead of indirect buffer to edit source code.
3297         (org-edit-src-exit): Make this function work with the new setup.
3299         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3300         are properly fontified before shown in the selection menu.
3302         * org.el (org-fontify-like-in-org-mode): New function.
3304         * org-latex.el (org-export-latex-links): Use the property list to
3305         retrieve the default image attributes.
3307         * org-exp.el (org-export-plist-vars): Add a new option.
3309 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3311         * org-exp.el (org-export, org-export-visible): Support ASCII
3312         export to buffer
3313         (org-export-normalize-links): Do not protect the description if it
3314         is explicitly given.
3316         * org-ascii.el (org-export-as-ascii-to-buffer)
3317         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3318         commands.
3319         (org-export-as-ascii): Add all the same parameters that are also
3320         supported by the other export functions.
3322         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3323         org-checklist.el.
3324         (org-reset-checkbox-state-subtree): Call
3325         `org-reset-checkbox-state-subtree'.
3327         * org-remember.el (org-select-remember-template): For the
3328         selection of a valid template.
3330         * org-latex.el (org-export-region-as-latex): Supply the
3331         force-no-subtree argument.
3332         (org-export-as-latex): Provide better limits when exporting the
3333         first line.  When exporting to string, we still want the first
3334         lines.
3335         (org-export-latex-first-lines): New argument END, to force the end
3336         of the region.
3337         (org-export-region-as-latex): Use the property list.
3338         (org-export-as-latex):
3340         * org-colview-xemacs.el (org-columns-remove-overlays)
3341         (org-columns): Fix call to `local-variable-p'.
3343 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3345         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3346         (org-export-as-html): Run the new hook.
3348         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3349         (org-export-latex-preprocess): Run the new hook.
3351         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3352         (org-export-preprocess-string): Run the new hook.
3354 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3356         * org-macs.el (org-check-external-command): New defsubst.
3358         * org.el (org-mode-map): New key for reload.
3359         (org-format-latex): Better error message when external programs
3360         are not available.
3362         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3364         * org.el (org-sort-entries-or-items): Explicit sorting function
3365         for priorities, needed for XEmacs compatibility.
3367         * org-remember.el (org-remember-apply-template): Improve auto-save
3368         behavior.
3370 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3372         * org-latex.el (org-export-latex-preprocess): Also protect
3373         environments ending in a star.
3375         * org-list.el (org-at-item-p): Fix regular expression.
3377 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3379         * org.el (org-end-of-subtree): Improve speed.
3381         * org-agenda.el (org-agenda-get-timestamps)
3382         (org-agenda-get-progress, org-agenda-get-deadlines)
3383         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3384         in particular, wait as long as possible to collect the tags.
3385         (org-stuck-projects): Improve docstring.
3387         * org.el (org-store-link): No errors when getting custom id before
3388         first headline.
3389         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3391 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3393         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3395         * org-protocol.el: Remove dependency on url.el.
3396         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3397         dependency on url.el.
3399         * org-latex.el (org-export-as-pdf): Use
3400         `org-latex-to-pdf-process'.
3402 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3404         * org-latex.el (org-latex-to-pdf-process): New option.
3406         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3407         New option.
3408         (org-agenda-get-timestamps): Honor
3409         `org-agenda-skip-additional-timestamps-same-entry'.
3411         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3412         (org-clock-goto): Find recent task only if
3413         `org-clock-goto-may-find-recent-task' allows it.
3415         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3416         drawers, and drawers that are missing the :END: line.
3418 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3420         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3421         clock is running.
3423 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3425         * org.el (org-update-parent-todo-statistics): Check for
3426         STATISTICS_FROM property.
3428         * org-list.el (org-update-checkbox-count): Check for
3429         STATISTICS_FROM property.
3431         * org.el (org-tab-first-hook)
3432         (org-tab-after-check-for-table-hook)
3433         (org-tab-after-check-for-cycling-hook): New hooks.
3434         (org-cycle-internal-global, org-cycle-internal-local): New
3435         functions, split out from `org-cycle'.
3436         (org-cycle): Call the new hooks.
3438 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3440         * org-exp.el (org-export-preprocess-string): Reset the list of
3441         preferred targets for each run of the preprocessor.
3443         * org.el (org-refile-target-verify-function): Improve
3444         documentation.
3445         (org-get-refile-targets): Respect point being moved by the
3446         verification function.
3448         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3449         option.
3450         (org-export-latex-keywords): Use new option.
3452         * org.el (org-rear-nonsticky-at): New defsubst.
3453         (org-activate-plain-links, org-activate-angle-links)
3454         (org-activate-footnote-links, org-activate-bracket-links)
3455         (org-activate-dates, org-activate-target-links)
3456         (org-activate-tags): Place the rear-nonsticky properties at the
3457         correct location.
3459 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3461         * org-protocol.el (server-edit): Declare `server-edit'.
3462         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3463         functions.
3464         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3466         * org.el (org-default-properties): New default properteis for
3467         completion.
3469         * org-exp.el (org-export-add-subtree-options): Add new properties
3470         for subtree export.
3472         * org-docbook.el (org-export-docbook-keywords-markup)
3473         (org-export-docbook-timestamp-markup): New options.
3474         (org-export-docbook-protect-tags): New function.
3476 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3478         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3479         org-refile-target-verify-function for the duration of the command.
3481         * org.el (org-link-to-org-use-id): New possible value
3482         `create-if-interactive-and-no-custom-id'.
3483         (org-store-link): Use custom IDs.
3484         (org-link-search): Find custom ID properties from #link.
3485         (org-default-properties): Add CUSTOM_ID for property completion.
3486         (org-refile-target-verify-function): New option.
3487         (org-goto): Turn off org-refile-target-verify-function
3488         for the duration of the command.
3490 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3492         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3494         * org-exp.el (org-export-preferred-target-alist): New variable.
3495         (org-export-define-heading-targets): Find the new CUSTOM_ID
3496         property.
3497         (org-export-target-internal-links): Target the custom ids when
3498         possible.
3500         * org-latex.el (org-export-latex-preprocess): Better regexp for
3501         matching latex macros with arguments.
3503 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3505         * org-remember.el (org-remember-handler): Allow filing to non-org
3506         files.
3508 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3510         * org-feed.el (org-feed-alist): New keyword options.
3511         (org-feed-update): Use the new options.
3512         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3513         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3514         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3515         functions.
3517         * org-table.el (org-table-fix-formulas): Do not change references
3518         to remote tables.
3519         (org-table-get-remote-range): Convert standard coordinates to RC
3520         format.
3522         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3524 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3526         * org-compat.el (org-sha1-string): Function removed.
3528         * org.el (org-refile-allow-creating-parent-nodes): New option.
3529         (org-refile-get-location): New argument NEW-NODES.
3530         (org-refile): Call `org-refile-get-location' with the new
3531         argument.
3532         (org-refile-get-location): Arrange for adding a new child.
3533         (org-refile-new-child): New function.
3535         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3536         an additional span element.
3538         * org-clock.el: Fix a number of docstrings.
3539         (org-clock-find-position): New argument
3540         FIND-UNCLOSED to make the function find an unclosed clock in the
3541         entry.
3542         (org-clock-in): Call `org-clock-find-position' with the new
3543         argument if we might be resuming a clock.
3545 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3547         * org-latex.el (org-export-latex-display-custom-times): New variable.
3548         (org-export-latex-timestamp-markup): New option.
3549         (org-export-latex-set-initial-vars): Remember the local value of
3550         `org-display-custom-times'.
3551         (org-export-latex-content): Process time stamps.
3552         (org-export-latex-time-stamps): New function.
3554         * org-macs.el (org-maybe-intangible): Add intangible property
3555         again to invisible text.
3557 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3559         * org-exp.el (org-default-export-plist): Handle undefined
3560         variables.
3562 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3564         * org.el (org-sort-entries-or-items): Match TODO keywrds
3565         case-sensitively, when sorting.
3566         (org-priority): Do not match TODO keywords with wrong case.
3568 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3570         * org-feed.el (org-feed-update): Bind the variable
3571         `new-formatted'.
3573         * org-html.el (org-export-as-html): Start paragraphs after literal
3574         examples.
3576         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3577         literal examples.
3579 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3581         * org.el (org-todo): Honor the NOBLOCKING property.
3583         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3584         NOBLOCKING property.
3586         * org.el (org-scan-tags): Fix bug in tag scanner
3588 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3590         * org.el (org-modules): Mark obsolete packages.
3592         * org-html.el: New file, split out from org-exp.el.
3594         * org-icalendar.el: New file, split out from org-exp.el.
3596         * org-xoxo.el: New file, split out from org-exp.el.
3598         * org-ascii.el: New file, split out from org-exp.el.
3600 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3602         * org-compat.el (org-find-library-name): New function.
3604         * org.el (org-pre-cycle-hook): New hook.
3605         (org-cycle): Call the new hook in appropriate places.
3606         (org-reload): Only reload files that have been loaded before.
3608 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3610         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3611         after todo keyword.
3612         (org-todo): When changing TODO state, do matching
3613         case-sensitively.
3614         (org-map-continue-from): New variable.
3615         (org-scan-tags): Respect values in `org-map-continue-from'.
3616         (org-reload): Make XEmacs compatible.
3618 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3620         * org-protocol.el (org-protocol-flatten-greedy): New function.
3621         (org-protocol-flatten): New function.
3623         * org.el (org-open-link-from-string): Pass reference buffer to
3624         `org-open-at-point'.
3625         (org-open-at-point): New optional argument `reference-buffer'.
3627 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3629         * org.el (org-scan-tags): Make tag scan find headline in first
3630         line, 2nd attempt.
3631         (org-get-refile-targets): Add the naked file name.
3632         (org-refile): Store as top-level entry when only file name was
3633         given.
3635         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3637         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3638         Renamed from org-block-todo-from-children-or-siblings, and
3639         enhanced to look for the parent's status as well.
3641         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3642         (org-agenda-get-progress): Add first notes line to log entry if so
3643         desired.
3645 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3647         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3648         (org-agenda-cleanup-fancy-diary): Call the new hook.
3650         * org-remember.el (org-remember-apply-template): Take the default
3651         for the annotation from the :annotation property.
3653         * org-mac-message.el (org-mac-message-get-link): Remove the
3654         quotes.
3655         (org-mac-message-get-link): Return the result.
3657 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3659         * org.el (org-refile-get-location): Add file name only if not
3660         already included in outline path.
3662         * org-faces.el (org-n-level-faces): Fix customization type from
3663         number to integer.
3665         * org-exp.el (org-export-headline-levels): Fix customization type
3666         from number to integer.
3668         * org-agenda.el (org-agenda-confirm-kill)
3669         (org-agenda-custom-commands-local-options)
3670         (org-timeline-show-empty-dates, org-agenda-ndays)
3671         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3672         customization type from number to integer.
3674 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3676         * org-protocol.el: Declare some functions.
3678         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3679         postion before inserting modified headline.
3681         * org-agenda.el (org-agenda-compare-effort): Honor
3682         `org-sort-agenda-noeffort-is-high'.
3683         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3684         (org-agenda-compare-effort): Implement the "?" operator for
3685         finding entries without effort setting.
3687         * org.el (org-extract-attributes-from-string): New function.
3689         * org-exp.el (org-export-splice-attributes): New function.
3691 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3693         * org-mouse.el: XEmacs compatibility fixes
3695         * org-docbook.el (org-export-as-docbook): Process footnotes like
3696         normal text.
3698         * org.el (org-modules): Add org-inlinetasks.el
3699         (org-cycle): Implement limiting level on cycling.
3700         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3701         buffer.
3703         * org-inlinetask.el: New file.
3705         * org.el (org-emphasis-regexp-components): Allow braces in
3706         emphasis pre and post match.
3708         * org-footnote.el (org-footnote-normalize): When only dorting, do
3709         not insert inline notes at the end.
3711         * org-docbook.el (org-id-find-id-file): Add function declaration.
3713         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3715         * org-docbook.el: New file.
3717 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3719         * org.el (org-reftex-citation): New command.
3721 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3723         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3724         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3725         sorting options.
3726         (org-entries-lessp): Apply the new sorting option.
3728         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3729         blocker code, when an older sibling has children.
3731         * org-mac-message.el (org-mac-message-get-link): Improve getting
3732         links from multiple selected messages.
3734 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3736         * org-remember.el (org-remember-finalize): Do not set buffer file
3737         name to nil.
3738         (org-remember-handler): Mark buffer as unmodified.
3739         (org-remember-handler): Delete backup file and show message about
3740         remaining backup files.
3741         (org-remember-auto-remove-backup-files): New option.
3743         * org.el (org-store-link): Use buffer name as link description in
3744         w3-mode buffers.
3745         (org-ido-switchb): Fix argument bug for completion.
3747         * org-remember.el (org-remember-apply-template): Set local
3748         variable `auto-save-visited-file-name' instead of global one.
3750 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3752         * org-feed.el: Re-write.
3754         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3755         (org-agenda-get-todos): Mark file tags as inherited.
3756         (org-agenda-list): Always search diary lines for a time.
3758 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3760         * org-feed.el (org-feed-assume-stable): New option.
3761         (org-feed-before-adding-hook): New hook.
3763         * org-exp.el (org-export-as-html): Close local lists depending on
3764         indentation, also when starting a table.
3766         * org-remember.el (org-remember-backup-directory)
3767         (org-remember-backup-name): New internal variable.
3769 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3771         * org-clock.el (org-clock-out-if-current): Make buffer detection
3772         work in indirect buffers as well.
3774         * org.el (org-emphasis-regexp-components): Add the exxclamation
3775         mark to the post-emphasis characters.
3777 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3779         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3780         (org-read-date): Run the new hook.
3782         * org-mac-message.el (org-mac-flagged-mail): New group.
3783         (org-mac-mail-account): New variable.
3784         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3785         commands.
3787         * org-remember.el (org-remember-backup-directory): New variable.
3788         (org-remember-apply-template): Write file to backup directory.
3790 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3792         * org-mouse.el (org-mouse-todo-menu): New function.
3793         (org-mouse-todo-keywords): Function removed.
3794         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3796         * org-table.el (org-table-beginning-of-field)
3797         (org-table-end-of-field): New commands
3798         (org-table-previous-field, org-table-beginning-of-field): Better
3799         error messages.
3800         (orgtbl-setup): Include `M-a' and `M-e'.
3802         * org.el (org-backward-sentence, org-forward-sentence): New
3803         commands.
3805         * org-colview.el (org-colview-initial-truncate-line-value): New
3806         variable.
3807         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3808         (org-columns): Remember the value of `truncate-lines'.
3810         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3811         New variable.
3812         (org-columns-remove-overlays): Restore the value of
3813         `truncate-lines'.
3814         (org-columns): Remember the value of `truncate-lines'.
3816         * org.el (org-columns-skip-arrchived-trees): New option.
3818         * org-agenda.el (org-agenda-export-html-style): Define color for
3819         org-agenda-done face.
3820         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3821         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3823         * org.el (org-scan-tags): Use the new face.
3825         * org-faces.el (org-agenda-done): New face.
3827         * org.el (org-scan-tags): Test the value org
3828         `org-tags-match-list-sublevels'.
3829         (org-tags-match-list-sublevels): New allowed value: indented.
3831         * org-export-latex.el (org-export-latex-make-header): Apply macros
3832         in header.
3834         * org-exp.el (org-export-apply-macros-in-string): New function.
3836         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3837         with the definition of a checked box.
3839         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3841         * org-export-latex.el (org-export-latex-low-levels): More options
3842         for how to process lower levels in LaTeX.
3843         (org-export-latex-subcontent): Better treatment for lists as a
3844         means of publishing lower levels.
3846 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3848         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3850         * org-faces.el (org-checkbox): New face.
3852         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3853         fragement images if there is an export file.
3855 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3857         * org-agenda.el (org-stuck-projects): Document that the subtree of
3858         projects that are not stuck will now be searched for stuck
3859         sub-projects.
3860         (org-agenda-skip-entry-when-regexp-matches)
3861         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3862         (org-agenda-list-stuck-projects): Use
3863         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3865         * org-export-latex.el (org-export-latex-preprocess): Improve
3866         export of verses.
3868         * org-exp.el (org-export-as-html): Implement centering as a div
3869         rather than a paragraph.  Do a better job with line-end in verse
3870         environments.
3872 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3874         * org.el (org-open-at-point): Fix tags searches by mouse click.
3876 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3878         * org-export-latex.el (org-export-latex-preprocess): Implement the
3879         centering markup.
3881         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3882         from `org-export-mark-blockquote-and-verse'.
3883         (org-export-as-html): Implement the centering markup.
3885         * org-export-latex.el (org-export-latex-tables): Fix vertical
3886         lines in tables.
3888 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3890         * org.el (org-read-date-history): New variable.
3891         (org-read-date): Use new history variable.
3892         (org-toggle-heading): Fix bug when used before first headline.
3893         (org-store-log-note): Remove drawer if empty while note is
3894         aborted.
3895         (org-remove-empty-drawer-at): New function.
3896         (org-check-after-date): New command.
3897         (org-sparse-tree): New sparse tree command "a".
3899         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3901 2009-03-14  Bastien Guerry  <bzg@altern.org>
3903         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3904         column and a space, not only a column.
3906 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3908         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3909         defaults for verbose emphasis.
3910         (org-export-latex-emph-format): New function.
3911         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3913         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3914         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3915         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3916         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3917         commands.
3919         * org.el (org-timestamp-change): Move end-time along with start
3920         time.
3922 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3924         * org-exp.el (org-export-target-internal-links)
3925         (org-export-as-html): Protect links specified as #name.
3927 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3929         * org.el (org-clone-subtree-with-time-shift): New command.
3931         * org-export-latex.el (org-export-latex-special-chars)
3932         (org-export-latex-treat-sub-super-char): Fix subscript export.
3934         * org-exp.el (org-create-multibrace-regexp): Do not add
3935         backslashes to the class.
3937 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3939         * org-colview.el (org-columns-map): Better functions for moving up
3940         and down a row, even if `truncate-line' is nil.
3942         * org.el (org-insert-todo-heading): Make sure the keyword is
3943         inserted at the correct position.
3945         * org-publish.el (org-publish-project-alist)
3946         (org-publish-projects, org-publish-org-index): Change default anme
3947         for the index of file names to "sitemap.org".
3949         * org-export-latex.el (org-export-latex-tables): Use
3950         `org-split-string', for Emacs 21 compatibility.
3952 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3954         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3956 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3958         * org-exp.el (org-export-page-description)
3959         (org-export-page-keywords): New variables.
3960         (org-export-plist-vars): Add entries for :keywords and
3961         :description.
3962         (org-infile-export-plist): Parse for new keywords.
3963         (org-get-current-options): Add new keywords
3964         (org-export-as-html): Publish description and keywords.
3966         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3967         option.
3968         (org-agenda-add-entry-text): Honor
3969         `org-agenda-add-entry-text-descriptive-links'.
3971         * org-export-latex.el (org-export-latex-preprocess): Make all
3972         external preprocess functions use a PARAMETER arg.
3974         * org-exp.el (org-export-preprocess-string)
3975         (org-export-select-backend-specific-text)
3976         (org-export-format-source-code-or-example)
3977         (org-format-org-table-html): Support docbook export.
3978         (org-export-preprocess-string): Make all external preprocess
3979         functions use a PARAMETER arg.
3981 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3983         * org-exp.el (org-export-html-style-include-scripts): New option.
3984         (org-export-plist-vars): Add new option
3985         `org-export-html-style-include-scripts'.
3986         (org-export-as-html): Honor new option
3987         `org-export-html-style-include-scripts'.
3988         (org-export-html-scripts, org-export-html-style-default): Fix
3989         xml issues with the Safari browser.
3991 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3993         * org-publish.el (org-publish-attachment): Only copy file when the
3994         directories differ.
3996 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3998         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3999         for clocktable steps.
4001         * org.el (org-additional-option-like-keywords): Add two more
4002         keywords.
4004 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4006         * org-exp.el (org-export-format-source-code-or-example): Mark
4007         temporary buffer unmodified, so that it will be killed even if
4008         mode like message mode has decided to assign a file name.
4010         * org.el (org-scan-tags): Improve tag inheritance.
4011         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4012         case-sensitive.
4013         (org-scan-tags): Use the internal tags list instead of creating it
4014         from scratch.
4015         (org-trust-scanner-tags, org-scanner-tags): New variables.
4016         (org-scan-tags): Set `org-scanner-tags'.
4017         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4018         (org-map-entries): Document the possible speedup using scanner
4019         tags.
4021 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4023         * org.el (org-add-planning-info): Fix bug with looking for keyword
4024         only at column 0.
4026         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4027         option for tags filter preset.
4028         (org-prepare-agenda): Store filter preset as a property on the
4029         filter variable.
4030         (org-finalize-agenda): Call the filter, if there is a preset.
4031         (org-agenda-filter-by-tag): Filter again after clearing the
4032         filter, when there still is a preset.
4033         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4034         Include the preset filter.
4035         (org-agenda-redo): Apply the filter again, also the preset filter.
4037         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4039         * org.el (org-uuidgen-p): New funtion.
4041         * org-agenda.el (org-agenda-fontify-priorities): New default value
4042         `cookies'.
4043         (org-agenda-fontify-priorities): Renamed from
4044         org-fontify-priorities.
4046         * org.el (org-set-font-lock-defaults): Call
4047         `org-font-lock-add-priority-faces'.
4048         (org-font-lock-add-priority-faces): New function.
4050         * org-faces.el: (org-set-tag-faces): New option.
4051         (org-priority-faces): New variable.
4053         * org-exp.el (org-export-as-html): Add a "content" div around the
4054         entire content of the body tag.
4055         (org-export-html-get-bibliography): New function.
4056         (org-export-html-validation-link): New variable.
4057         (org-export-as-html): Add validation link to exported page.
4059         * org.el (org-match-sparse-tree): Renamed from
4060         `org-tags-sparse-tree'.
4061         (org-tags-sparse-tree): New alias.
4063 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4065         * org.el (org-get-valid-level): Catch the case where the level
4066         change is nil.
4068         * org-clock.el (org-clock-find-position): Better indentation of
4069         new clock drawers.
4071 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4073         * org-agenda.el (org-agenda-quit): Delete window only when the
4074         frame-setup was not `current-window'.
4076         * org.el (org-tag-persistent-alist): New option.
4077         (org-startup-options): Add keyword `noptag'.
4078         (org-fast-todo-selection): Handle :newline correctly.
4079         (org-set-tags): Handle :newline correctly.
4080         (org-fast-tag-selection): Handle :newline correctly.
4082 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4084         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4085         outputting it.
4086         (org-export-ascii-push-links): Fix bug with pussing links into the
4087         export buffer.
4089 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4091         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4092         pasting at top level.
4094         * org-bbdb.el: Improve documentation.
4096 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4098         * org-list.el (org-insert-item): Only consider insert empty lines
4099         is `org-empty-line-terminates-plain-lists' is not nil.
4101         * org.el (org-blank-before-new-entry): Mention the dependence on
4102         `org-empty-line-terminates-plain-lists' in the docstring.
4104         * org-publish.el (org-publish-get-project-from-filename): New
4105         optional argument UP.  Only find the top project if UP is set.
4106         (org-publish-current-project): Find the top encloding project.
4108         * org-agenda.el (org-agenda-before-write-hook)
4109         (org-agenda-add-entry-text-maxlines): New options.
4110         (org-write-agenda): Run the new hook in the temporary buffer.
4111         (org-agenda-add-entry-text): New function.
4112         (org-write-agenda): Implement PDF export, using ps2pdf.
4114         * org.el (org-global-properties-fixed, org-global-properties):
4115         Improve documentation string.
4117         * org-exp.el (org-export-ascii-links-to-notes): New option.
4118         (org-export-as-ascii): Handle links better.
4119         (org-export-ascii-wrap, org-export-ascii-push-links): New
4120         functions.
4122 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4124         * org-agenda.el (org-agenda): Make prefix arg optional.
4125         (org-agenda-search-headline-for-time): New option.
4126         (org-format-agenda-item): Honor
4127         `org-agenda-search-headline-for-time'.
4129         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4130         characters.
4132         * org.el (org-self-insert-cluster-for-undo): New option.
4133         (org-self-insert-command): Cluster undo for 20 characters.
4134         (org-self-insert-command-undo-counter): New variable.
4136 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4138         * org-exp.el (org-export-as-html): Fix problem with closing colone
4139         example.
4141 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4143         * org-export-latex.el (org-export-as-latex)
4144         (org-export-latex-first-lines): Avoid modification flag when
4145         adding or removing text properties.
4146         (org-export-latex-fontify): Catch error when org-emph-alist has
4147         entries that are not defined for LaTeX export.
4149         * org.el (orgstruct++-mode): New function.
4150         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4151         (org-context-p): Allow detecting item context after the first line
4152         of an item.
4153         (orgstruct-make-binding): Detect if item-body context should be
4154         seen.
4155         (orgstruct-is-++): New variable.
4156         (org-add-planning-info): Catch the case when there is no planning
4157         info yet and the call does not want to add anything, only maybe
4158         tries to remove something.
4159         (org-special-ctrl-a/e): All value to be a cons cell with separate
4160         settings for `C-a. and `C-e'.
4161         (org-beginning-of-line, org-end-of-line): Honor separate values
4162         for `C-a' and `C-e'.
4164 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4166         * org.el (org-reload): New command.
4168 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4170         * org-exp.el (org-export-htm-get-tag-class-name)
4171         (org-export-htm-get-todo-kwd-class-name): New functions.
4172         (org-export-html-tag-class-prefix)
4173         (org-export-html-todo-kwd-class-prefix): New options.
4174         (org-export-as-html): Call
4175         `org-export-html-get-todo-kwd-class-name'.
4176         (org-html-level-start): Wrap tags into classes.
4177         (org-export-html-get-tag-class-name)
4178         (org-export-html-get-todo-kwd-class-name): New functions.
4180         * org-export-latex.el (org-export-latex-collect-header-macros):
4181         Remove fields that are used anyway.
4182         (org-export-latex-make-header): Insert the options earlier.
4184         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4185         matching.
4187         * org-list.el (org-indent-item): Allow point to be at the end of
4188         the region.
4190         * org.el (org-metaleft, org-metaright): Be more accurate about
4191         detecting a region where commands apply.
4193         * org-compat.el (org-cursor-to-region-beginning): New function.
4195         * org.el (org-priority): Also find invisible heading.
4197         * org-colview-xemacs.el (org-columns-edit-value): No special
4198         treatment for `org-todo' prefix.
4200         * org-colview.el (org-columns-edit-value): No special treatment
4201         for `org-todo' prefix.
4203         * org-remember.el (org-remember-apply-template): Use
4204         `org-completing-read-no-ido'.
4206         * org.el (org-completing-read-no-ido): New function.
4207         (org-make-tags-matcher, org-set-property): Use
4208         `org-completing-read-no-ido'.
4210         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4211         New option.
4212         (org-export-as-latex): Import in-buffer settings as TeX macros.
4213         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4214         (org-export-latex-collect-header-macros): New function.
4216         * org.el (org-refile-get-location): Turn off
4217         `partial-completion-mode'.
4219 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4221         * org.el (org-block-todo-from-checkboxes): Announce that
4222         checkboxes are the culprit.
4223         (org-block-todo-from-children-or-siblings): Call
4224         `org-up-heading-all instead' of `outline-up-heading'.
4226         * org-agenda.el (org-agenda-show-1): Renamed from
4227         `org-agenda-show'.
4228         (org-agenda-show): Re-install the old version for now.
4229         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4230         variable into the blokker hook, so that the checkbox checker can
4231         anounce that it caused the blocking.
4233         * org.el (org-track-ordered-property-with-tag): New option.
4234         (org-toggle-ordered-property): Honor
4235         `org-track-ordered-property-with-tag'.
4236         (org-tag-alist): Add newline options.
4237         (org-set-regexps-and-options): Separate option lines imply a
4238         newline.
4239         (org-set-regexps-and-options, org-assign-fast-keys)
4240         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4241         option.
4242         (org-indent-line-function): Make sure this works even if there is
4243         not `org-drawer-regexp' defined.  This can happen when
4244         orgstruct-mode is used in a non-org buffer.
4246         * org-list.el (org-checkbox-blocked-p): New function.
4247         (org-toggle-checkbox): Check for blocking.
4249         * org.el (org-modules): Add an entry for org-R.el.
4251         * org-agenda.el (org-agenda-todo-ignore-with-date)
4252         (org-agenda-todo-ignore-scheduled)
4253         (org-agenda-todo-ignore-deadlines): Mention the variable
4254         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4256         * org.el (org-get-wdays): Find the warning period also if it is in
4257         the wrong place.
4258         (org-ido-completing-read): Provide the correct arguments to
4259         ido-completing-read and bind `ido-enter-matching-directory' to
4260         nil.
4262 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4264         * org.el (org-olpath-completing-read): Never use ido for this
4265         one.
4267         * org-exp.el (org-export-normalize-links): Use new macro.
4269         * org-macs.el (org-if-unprotected-at): New macro.
4271         * org-agenda.el (org-agenda-show): Allow numerical prefix
4272         arguments to specify how much context should be shown.
4273         (org-agenda-cycle-show): New command, could be bound to SPC in
4274         org-agenda-mode-map.
4276         * org-exp.el (org-html-level-start): Space after section number.
4278 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4280         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4281         property, for sorting.
4282         (org-cmp-todo-state): Get the applicable TODO keywords directly
4283         from the buffer.
4284         (org-run-agenda-series, org-agenda-list, org-search-view)
4285         (org-todo-list, org-tags-view): Only fit agenda window when the
4286         whole series is done.
4288         * org.el (org-scan-tags): Add todo state as property, for sorting.
4290         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4291         `org-agenda-overriding-header' as an option.
4292         (org-agenda-list): Honor org-agenda-overriding-header'.
4294 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4296         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4297         after removing a checkbox.
4299         * org.el (org-show-entry): Make this work correctly also if it is
4300         the last entry in the file.
4301         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4302         falling back to normal, default command.
4303         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4304         item, call the checkbox toggler to get a box.
4306         * org-list.el (org-toggle-checkbox): Make double prefix set the
4307         checkbox to "[-]".
4308         (org-fix-bullet-type): Only replace bullet if it is changed.
4309         (org-renumber-ordered-list): Handle case when first item does not
4310         have a number.
4312         * org.el (org-add-log-setup): Fix positioning when
4313         `org-log-states-order-reversed' is nil.
4315         * org-clock.el (org-clock-in): Fix positioning when
4316         `org-log-states-order-reversed' is nil.
4317         (org-clock-find-position): Fix positioning when
4318         `org-log-states-order-reversed' is nil.
4320 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4322         * org-clock.el (org-clock-into-drawer): Take default from
4323         `org-log-into-drawer'.
4324         (org-clock-find-position): Look for the correct drawer.
4326         * org.el (org-log-into-drawer): Renamed from
4327         `org-log-state-notes-into-drawer'.
4328         (org-log-state-notes-into-drawer): New variable alias.
4329         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4330         CLOCK.
4331         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4333 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4335         * org-agenda.el (org-agenda): Fix docstring.
4337         * org.el ("org-plot"): Help loading org-plot.
4338         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4339         (org-metadown-hook, org-shiftmetaleft-hook)
4340         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4341         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4342         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4343         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4344         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4346         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4347         for selecting files with any (and even without) extension.
4349         * org.el (org-save-all-org-buffers): Also save id locations.
4350         (org-revert-all-org-buffers): Also load id locations.
4352 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4353         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4354         (org-log-state-notes-into-drawer): New option.
4355         (org-add-log-setup): Place the sate note marker into the drawer,
4356         create drawer when necessary.
4357         (org-refile-targets): Document special interpretation of LEVEL
4358         when odd-levels are used.
4360 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4362         * org.el (org-store-log-note): Fix note indentation when adding
4363         notes to end of list.
4365         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4366         class, so that each keyword can get special colors through CSS.
4368         * org-clock.el (org-clock-out): Add another nil for the previous
4369         state into the call to `org-add-log-setup'.
4371         * org.el (org-log-note-previous-state): New variable.
4372         (org-log-note-headings): New %S escape for old state.
4373         (org-todo): Call the note setup with the old state as an
4374         argument.
4375         (org-add-note): Add another nil for the previous state into the
4376         call to `org-add-log-setup'.
4377         (org-add-log-setup): New argument PREV-STATE.
4378         (org-add-log-note): Handle new %S escape.
4379         (org-store-log-note): Handle new %S escape.
4381 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4383         * org-clock.el (org-clock-find-position): Do not swallow an item
4384         less indented than the CLOCK line itself.
4385         (org-clock-in): Push markers to lin after the clock line.
4386         (org-clock-find-position): Handle values of
4387         `org-clock-into-drawer' smaller than 2.
4389         * org-exp.el (org-html-level-start): Add a CSS class to section
4390         numbers.
4391         (org-export-html-toplevel-hlevel): Better documentation of the
4392         influence of this variables on H levels and css classes in
4393         export.
4395 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4397         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4398         timestamp and nottimestamp to the chooe menu.
4400         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4401         (org-revert-all-org-buffers): New command.
4403 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4405         * org.el (org-return): Implement `org-return-follows-link' in the
4406         function org-return.  This is more robust than using the mouse
4407         map, I think.
4408         (org-set-regexps-and-options): Match more general #+TODO lines.
4409         (org-make-options-regexp): New optional argument EXTRA, for an
4410         extra regexp.
4411         (org-tab-follows-link): Mark as deprecated.
4413 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4415         * org-exp.el (org-export-preprocess-string): Remove clock lines
4416         earlier, so that they cannot cotribute to verbatim snippets.
4418 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4420         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4421         for finding drawers.
4422         (org-export-as-ascii, org-export-as-html): Count levels relative
4423         to the subtree header.
4424         (org-get-min-level): New optional argument OFFSET.
4425         (org-export): Make sure point is restored after popping up that
4426         window.
4428         * org.el (org-do-sort): Also take an inactive timestamp if no
4429         active one is found.
4431         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4432         deleting duplicates.
4434         * org-colview.el (org-columns-capture-view): Copy before
4435         deleting duplicates.
4437         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4438         text before first headline.
4440         * org.el (org-format-latex): Do not convert LaTeX fragments in
4441         protected examples.
4443 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4445         * org-exp.el (org-export-html-style-default): Use color values
4446         instead of names for XHTML validation.
4448         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4449         functions.
4450         (org-return-follows-link): Revert making this the default untile
4451         issues are resolved.
4453         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4454         nottimestamp.
4456 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4458         * org.el (org-mode): Make dependence stuff work more reliably.
4459         (org-update-parent-todo-statistics): Fix bug with updating
4460         statistics cookie.
4462         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4463         ~ as verbatim delimiters.
4465         * org-exp.el (org-export-html-format-image): New argument
4466         PAR-OPEN.
4467         (org-export-as-html): Pass par-open to
4468         `org-export-html-format-image'.
4470 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4472         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4473         (org-use-fast-todo-selection, org-tags-column): New default
4474         setting for variables, based on a poll what typical uses use.
4476         * org-agenda.el (org-agenda-sorting-strategy)
4477         (org-agenda-tags-column): New default setting for variables, based
4478         on a poll what typical uses use.
4480 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4482         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4483         blocked entries from setting the blocked tag.
4485         * org-exp.el (org-export-html-footnotes-section): Use a more
4486         consistent id for footnotes.
4488         * org-export-latex.el (org-export-latex-classes): Remove the
4489         a4paper option from the default styles.
4491 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4493         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4494         (org-block-todo-from-checkboxes): New function.
4495         (org-todo): Make tripple prefix arg circumvent blocking.
4497         * org-timer.el (org-timer): Provide the timer feature.
4499         * org.el (org-require-autoloaded-modules): Add a few more files to
4500         the list of autoloaded modules.
4502         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4504 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4506         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4507         drawers that are unprotected.
4508         (org-export-html-format-image): Make sure inlined LaTeX fragment
4509         images remain inlined.
4511         * org.el (org-toggle-ordered-property): New function.
4512         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4513         (org-org-menu): Add menu entries for TODO dependencies.
4515 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4517         * org.el (org-default-properties): Add ORDERED to the default
4518         properties, to get completion support for it.
4520         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4522         * org.el (org-update-parent-todo-statistics): Update more than one
4523         cookie.
4525         * org-agenda.el (org-agenda-get-todos): Start search from correct
4526         position.
4528         * org.el (org-fast-todo-selection): Make sure TODO selection does
4529         not change buffer position.
4531         * org-list.el (org-toggle-checkbox): Implement adding or removing
4532         checkboxes from line or region when called with a prefix
4533         argument.
4535         * org-rmail.el (org-rmail-store-link): Protect the call to
4536         `rmail-narrow-to-non-pruned-header'.
4538         * org-clock.el (org-clock-special-range): Fix week display in
4539         clock tables.
4541         * org-exp.el (org-get-current-options): Fix bug when in indirect
4542         buffer.
4544 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4546         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4547         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4548         (org-agenda-dim-blocked-tasks): New function.
4550         * org.el (org-enforce-todo-dependencies): New option.
4551         (org-block-todo-from-children-or-siblings): New function.
4553         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4555         * org.el (org-todo): Return correct state type even if the blocker
4556         throws an error.
4557         (org-modifier-cursor-error): Renamed from
4558         `org-shiftcursor-error'.
4559         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4560         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4562         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4563         to get real errors from the blocker hook.
4565         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4566         functions.
4567         (org-set-visibility-according-to-property): Turn off the setting
4568         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4569         property.
4571 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4573         * org.el (org-support-shift-select): New option.
4574         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4575         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4576         selection outside contexts.
4578         * org-list.el (org-at-item-bullet-p): New function.
4580         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4581         variables.
4583         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4584         variable.
4585         (org-insert-footnote-reference-near-definition): Remove
4586         unnecessary let form.
4588         * org-export-latex.el (org-export-latex-first-lines): Add
4589         OPT-PLIST parameter.
4590         (org-export-as-latex): Call `org-export-latex-first-lines' with
4591         opt-plits parameter.
4592         (org-export-latex-preprocess): Remove unnecessary variables.
4594         * org-exp.el (org-infile-export-plist)
4595         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4596         (org-export-remove-headline-metadata)
4597         (org-export-get-title-from-subtree, org-get-min-level)
4598         (org-html-do-expand): Remove innecessary let form.
4600         * org-colview-xemacs.el (org-columns-display-here): Remove
4601         unnecessary variables.
4603         * org-colview.el (org-columns-display-here): Remove unnecessary
4604         variables.
4606         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4607         variables.
4609         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4610         unnecessary variables.
4612         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4613         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4614         variables.
4616         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4617         (org-compact-display-after-subtree-move): Remove unnecessary
4618         variables.
4619         (org-edit-fixed-width-region): Remove unnecessary variables.
4620         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4621         (org-olpath-completing-read): Remove unnecessary variable.
4622         (org-auto-repeat-maybe): Remove unnecessary variable.
4623         (org-map-entries): Remove unnecessary variable.
4624         (org-buffer-property-keys, org-imenu-get-tree)
4625         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4627 -----------------------------------------------------------------
4629 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4630         * org-exp.el (org-export-remove-timestamps): Never remove
4631         timestamps from tables.
4633         * org-export-latex.el (org-export-latex-first-lines): Add more
4634         options to the preprocessing of the text before the first
4635         headline.
4637 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4639         * org-faces.el (org-clock-overlay): Make face compatible with
4640         XEmacs.
4642         * org.el (org-yank): Add property for delete-selection mode.
4644         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4646         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4647         variable.
4649         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4650         to `backward-char'.
4652         * org-exp.el (org-export-as-html): Remove the initial space from
4653         colon examples.
4655         * org.el (org-scan-tags): Call
4656         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4658         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4659         customization groups.
4660         (org-agenda-tags-todo-honor-ignore-options): New option.
4661         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4662         New function.
4663         (org-agenda-get-todos): Use
4664         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4666 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4668         * org-exp.el (org-export-format-source-code-or-example): Escape
4669         HTML characters also in examples that anre not treated with
4670         htmlize.  Also, just switch to EXAMPLE processing if we do not
4671         have a good version of htmlize.
4673         * org-rmail.el: Fix copyright notice.
4675         * org.el (org-activate-footnote-links): Improve footnote link
4676         highlighting.
4678         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4679         a footnote definition at the end of the file.
4681         * org-table.el (org-table-get-specials): Add an imagined hline at
4682         the end of the table.  This can be useful for references that want
4683         to go to the end of the table.  Also fix bug when computing last
4684         row constants, in tables that do not start right at the right
4685         margin.
4686         (org-table-eval-formula): Match and replace remove references.
4687         (org-table-formula-substitute-names): Make sure that names inside
4688         a "remote" call are left alone, the will be replaced later when
4689         the remote call is handled.
4690         (org-table-convert-refs-to-rc): Do not convert things that might
4691         look like a reference, but are really part of an ID or namei n a
4692         remote reference.
4693         (org-table-get-remote-range): New function.
4695 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4697         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4699         * org-clock.el (org-clock-put-overlay): Use new face instead of
4700         `secondary-selection'.
4702         * org-faces.el (org-clock-overlay): New face.
4704 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4706         * org-exp.el (org-get-current-options): Include the option for
4707         publishing time stamps.
4709         * org.el (org-toggle-heading): Renamed from
4710         `org-toggel-region-headings'.
4711         No longer needs a region defined, but will use it if there is one.
4712         (org-ctrl-c-star): Simplified, relying more on the internal
4713         workings of `org-toggle-heading'.
4714         (org-toggle-item): Renamed from `org-toggle-region-items'.
4715         No longer needs a region defined, but will use it if there is one.
4716         (org-ctrl-c-minus): Simplified, relying more on the inernal
4717         workings of `org-toggle-item'.
4719         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4720         environment detection.  Also, do real changes only in unprotected
4721         places.
4723 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4725         * org-export-latex.el (org-export-latex-quotation-marks): Use
4726         `org-if-unprotected-1'.
4727         (org-export-latex-set-initial-vars): Check for class definition in
4728         property.
4730         * org-macs.el (org-if-unprotected-1): New macro.
4732 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4734         * org-compat.el (org-count-lines): New function.
4736         * org-exp.el (org-export-format-source-code-or-example): Handle
4737         switches related to text areas.
4739         * org.el (org-activate-footnote-links): Don't allow match inside a
4740         link.
4742         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4744         * org-export-latex.el (org-export-latex-links): Keep a relative
4745         path relative also after export.
4747         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4749         * org.el (org-make-tags-matcher): Never use IDO for completing the
4750         tags matcher match string.
4751         (org-completing-read): Also remove the special biding for "?".
4753         * org-attach.el (org-attach-allow-inheritance): New option.
4754         (org-attach-inherited): New variable.
4755         (org-attach-dir): Handle properties related to the attachment
4756         directory.
4757         (org-attach-check-absolute-path): New function.
4758         (org-attach-set-directory, org-attach-set-inherit): New commands.
4759         (org-attach): Accommodate the new commands in the dispatcher.
4761 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4763         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4764         `window-full-width-p'.
4766         * org-exp.el (org-export-as-html): Only check for images files
4767         that really can be inlined
4769         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4770         list of extensions to be a parameter.
4772         * org-exp.el (org-export-html-inline-image-extensions): New
4773         variable.
4775         * org-agenda.el (org-prepare-agenda): Use
4776         `org-agenda-block-separator'.
4777         (org-agenda-block-separator): New option.
4779 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4781         * org-export-latex.el (org-export-latex-tables): Call
4782         `org-table-clean-before-export' with the new optional argument.
4784         * org-exp.el (org-table-clean-before-export): New optional
4785         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4786         first column.
4788 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4790         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4791         histograms.
4793         * org-colview.el (org-colview-construct-allowed-dates): Better
4794         error catching when a date/time property does not have allowed
4795         values defined.
4797         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4798         Better error catching when a date/time property does not have
4799         allowed values defined.
4801 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4803         * org.el (org-map-entries): Restore point and restriction after
4804         `org-map-entries'.
4806 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4808         * org.el (org-time=, org-time<, org-time<=, org-time>)
4809         (org-time>=, org-time<>): Make sure both values are dates.
4811 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4813         * org-archive.el (org-extract-archive-heading): Allow %s for file
4814         name also in achive location heading.
4816 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4818         * org-archive.el (org-add-archive-files): Uniquify the list before
4819         returning it.
4821 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4823         * org-compat.el (org-fit-window-to-buffer): Use
4824         `window-full-width-p'.
4826         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4827         space after the colon in short examples.
4829         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4830         enforce a space after the colon.  However, we also allow lines
4831         that are *only* a colon.
4832         (org-export-as-html): Enforce the space after the colon in short
4833         examples.
4834         (org-export-preprocess-string): Do the colon example protection
4835         earlier.
4836         (org-export-remove-timestamps): Do not check for protection at the
4837         end of the line.
4839 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4841         * org.el (org-format-latex-options): Add new matcher for single
4842         letters between dollars.
4843         (org-get-header): Function removed.
4844         (org-heading-components): New function.
4846         * org-exp.el (org-export-define-heading-targets): Record ID's also
4847         as alternative targets.
4848         (org-export-as-html): Interpret "id:" links to other files by
4849         preserving the relative path.
4851         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4852         is nil.
4854         * org-exp.el (org-export-normalize-links): Protect the main link,
4855         to avoid special character processing.
4857         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4858         New variable.
4859         (org-export-latex-special-string-regexps): Variable removed.
4860         (org-export-latex-keywords): Use the new regexp.
4862         * org-exp.el (org-export-handle-include-files): Fetch switches and
4863         put them into the BEGIN statement.
4865         * org-timer.el (org-timer-mode-line-string): New variable.
4867         * org-clock.el (org-clock-mode-line-map): Renamed from
4868         `org-clock-mode-map'.
4869         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4870         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4871         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4872         (org-clock-remove-overlays): Renamed from
4873         `org-remove-clock-overlays'.
4875         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4876         and mode line display.
4877         (org-timer-stop): New command.
4878         (org-timer-seconds): Return correct time when timer is paused.
4879         (org-timer-mode-line-timer): New variable.
4880         (org-timer-set-mode-line, org-timer-update-mode-line): New
4881         functions.
4883         * org.el (org-insert-heading):  Handle new value `auto' for
4884         `org-blank-before-new-entry'.
4885         (org-org-menu): Add new items for timer functions.
4887         * org-list.el (org-insert-item): Handle new value `auto' for
4888         `org-blank-before-new-entry'.
4890         * org.el (org-blank-before-new-entry): New value `auto', made
4891         default.
4893 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4895         * org-exp.el (org-export-normalize-links): If the link is also
4896         used as the description, protect the description.
4898 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4900         * org.el (org-closest-date): Fix bug with yearly repeats, in
4901         combination with preference of the past as it is used for deadline
4902         and scheduling search.
4904         * org-exp.el (org-html-handle-time-stamps): No longer check for
4905         the `org-export-with-timestamps' option, because the preprocesser
4906         has taken care of this already.
4908         * org.el (org-entry-properties): Catch the case when this is
4909         called in a non-org-mode file.
4911         * org-export-latex.el (org-export-latex-remove-from-headlines):
4912         Variable made obsolete, also LaTeX export now uses the standard
4913         variables.
4914         (org-export-as-latex): Add the timestamps parameter to the
4915         preprocessor parameter list.
4916         (org-export-latex-content): Export the remaining keywords without
4917         considering to remove them.
4918         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4919         Use bold font instead of tt font for the keywords.
4920         (org-export-latex-fontify-headline): Format headlines, assuming
4921         that all keywords still present should be published.
4922         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4923         publish what ever remains of the time stamps.
4924         (org-export-latex-list-parameters): New option.
4925         (org-export-latex-lists): Pass additional parameters to the list
4926         converter.
4928         * org-exp.el (org-export-preprocess-string): Remove clock lines
4929         and timestamps already in the preprocesor.
4930         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4931         functions.
4932         (org-export-as-ascii, org-export-as-html): Add the timestamps
4933         parameter to the preprocessor parameter list.
4935         * org-list.el (org-list-parse-list): Parse for checkboxes.
4936         (org-list-to-generic): Introduce and handle new parameters :cbon
4937         and :cboff.
4938         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4939         optional parameter PARAMS.
4941         * org-export-latex.el (org-export-latex-special-chars): Fix
4942         problems with interpreting dollar signs.
4943         (org-inside-latex-math-p): New function.
4944         (org-export-latex-preprocess): Protect all the math fragments.
4946         * org.el (org-latex-regexps): Allow a dash after a dollar.
4948         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4949         mark after copying.
4951         * org-agenda.el (org-run-agenda-series): Have series options set
4952         when finalizing the agenda.
4954         * org-exp.el (org-export-format-source-code-or-example): Protect
4955         the converted examples.
4957         * org.el (org-set-regexps-and-options): Fix the regexp
4958         `org-complex-heading-regexp'.
4960 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4962         * org.el (org-edit-src-get-label-format): New function.
4963         (org-coderef-label-format): New option.
4964         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4965         a label format specification and make sure it is used in the edit
4966         buffer.
4967         (org-edit-src-get-label-format): New function.
4968         (org-store-link): Handle new coderef formats.
4969         (org-link-search): Handle new coderef formats.
4971         * org-footnote.el (org-footnote-create-definition)
4972         (org-footnote-goto-local-insertion-point): Make footnote insertion
4973         work correctly when the "Footnotes" headline is the last line in
4974         the buffer.
4976         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4977         the location.
4979 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4981         * org-w3m.el (org-w3m): New customization group.
4982         (org-w3m-deactivate-mark): New option.
4983         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4984         option say not to.
4986 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4988         * org.el (org-set-font-lock-defaults): Trigger footnote
4989         fontification.
4990         (org-activate-footnote-links): New function.
4991         (org-activate-links): New entry `footnote'.
4993         * org-faces.el (org-footnote): New face.
4995 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4997         * org-macs.el (org-re): Handle the [:word:] class.
4999         * org-exp.el (org-export-preprocess-string): Call
5000         `org-export-protect-colon-examples'.
5001         (org-export-protect-colon-examples): Renamed from
5002         `org-export-protect-examples', and scope limited to lines starting
5003         with a colon.
5005 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5007         * org-exp.el (org-export-preprocess-string): Move the preprocess
5008         hook to after turning on Org-mode.
5009         (org-export-preprocess-after-include-files-hook)
5010         (org-export-preprocess-after-tree-selection-hook)
5011         (org-export-preprocess-before-backend-specifics-hook)
5012         (org-export-preprocess-final-hook): New hooks.
5013         (org-export-preprocess-string): Run the new hooks.
5015         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5017         * org-footnote.el: New file.
5019         * org.el (org-footnote): Require footnote code.
5020         (org-startup-options): Add new footnote options.
5021         (org-mode-map): New keybindig for footnotes.
5022         (org-ctrl-c-ctrl-c): Add function at footnotes.
5023         (org-org-menu): New menu entries for footnotes.
5025         * org-export-latex.el (org-export-as-latex): Pass footnote
5026         variable to preprocessor.
5027         (org-export-latex-preprocess): Treat multiple references to a
5028         footnote.
5030         * org-exp.el (org-export-preprocess-string): Call
5031         `org-footnote-normalize'.
5032         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5033         to preprocessor.
5034         (org-export-as-html): Treat multiple references to a footnote.
5036 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5038         * org-export-latex.el (org-export-latex-links): Handle coderef
5039         links.
5041         * org.el (org-bracket-link-analytic-regexp++): New variable.
5042         (org-make-link-regexps): Initialize
5043         `org-bracket-link-analytic-regexp++'.
5044         (org-store-link): Implement special case in edit-src buffer.
5045         (org-insert-link): No use of ide to insert stored links.
5046         (org-link-search): Implement special case for coderefs.
5048         * org-exp.el (org-export-html-scripts): New constant.
5049         (org-export-html-style-default): Add a new style for highlighted
5050         code.
5051         (org-export-code-refs): New variable.
5052         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5053         Call `org-export-replace-src-segments-and-examples'
5054         No longer call `org-export-protect-examples'.
5055         (org-export-target-internal-links): Take care of coderef targets.
5056         (org-export-last-code-line-counter-value): New variable.
5057         (org-export-replace-src-segments-and-examples): Renamed from
5058         `org-export-replace-src-segments', and modified.
5059         (org-export-format-source-code-or-example): Renamed from
5060         `org-export-format-source-code'.
5061         (org-export-number-lines): New function.
5062         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5064 --------------------------------------------------------------------------
5066 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5068         * org-remember.el (org-remember-handler): Safer way to get a new
5069         buffer accessing the target file.
5071         * org.el (org-refile-get-location): Handle case of current buffer
5072         not having a file associated with it.
5074 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5076         * org-table.el (org-table-get-formula): Only ask to overwrite
5077         field formula if there really is one.
5079         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5080         number, by converting these to a string.
5082         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5083         located in a different file.
5085         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5086         org-colview.el.
5088 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5090         * org.el (org-completion-use-ido): Enhance docstring of
5091         `org-completion-use-ido'.
5093         * org-export-latex.el (org-export-latex-make-header): Double the %
5094         in the time stamp format.
5095         (org-export-latex-special-chars): Handle case where there is no
5096         match group 3.
5098 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5100         * org.el (org-get-refile-targets, org-refile-get-location): Use
5101         expanded file name to improve comparison.
5103 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5105         * org.el (org-scan-tags): Rescan for tags, to get the correct
5106         upcase/downcase stuff.  This slows things down for now, but it
5107         works.
5108         (org-mode): Make sure the tag-faces regexp is initialized.
5110         * org-export-latex.el (org-export-latex-links): Fix bug with
5111         undefined label.
5113         * org-table.el (org-table-get-specials): Set
5114         `org-table-current-last-data-line'.
5115         (org-table-current-last-data-line): New variable.
5116         (org-table-insert-column, org-table-delete-column)
5117         (org-table-move-column, org-table-fix-formulas): Call
5118         `org-table-fix-formulas' a second time to fix the $LR references.
5119         (org-table-get-specials): Add the $LR references to the tables.
5120         (org-table-get-formula): Do not offer last-row names as LHS of
5121         formulas.
5123         * org.el (org-store-link): Capture link description from
5124         `org-id-store-link'.
5126         * org-exp.el (org-export-html-format-image): Add the / to the end
5127         of the <img> tag.
5128         (org-export-format-source-code): Surround example by empty lines,
5129         to make sure it will not be inside a paragraph.
5131         * org.el (org-ido-switchb): New function.
5133 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5135         * org-agenda.el (org-agenda-show): New prefix argument
5136         FULL-ENTRY.
5138         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5139         argument.
5141         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5142         `org-agenda-change-all-lines'.
5143         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5144         tags are now retrieved locally.
5146 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5148         * org.el (org-get-outline-path): Fix bug if level is not given.
5149         (org-org-menu): Do not quote function in menu vector.
5151         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5152         name.
5154 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5156         * org.el (org-refile): Avoid refiling to within the region to be
5157         refiled.
5159         * org-export-latex.el (org-export-latex-special-chars): Replace
5160         special characters also in tables.
5162         * org-agenda.el (org-agenda-change-all-lines): New argument
5163         FORCE-TAGS.
5164         (org-agenda-set-tags): Cet the new tags and pass them to
5165         `org-format-agenda-item'.
5167 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5169         * org-export-latex.el (org-export-latex-classes): Add longable as
5170         a default package to all classes.
5171         (org-export-latex-tables): Handle the longtable attribute and the
5172         align attribute.
5174         * org-table.el (orgtbl-to-generic): Handle tables that start with
5175         a hline.
5177         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5178         \verb for colde-like snippets.
5179         (org-export-as-latex): Fix issues with region export.
5181         * org.el (org-up-heading-safe): Speed up function by using a
5182         direct regexp search.
5183         (org-olpa): New variable.
5184         (org-get-outline-path): Speed-up path constructions in cases where
5185         this is possible because the entire hierarchy is scanned anyway.
5186         (org-refile-get-location): Don't compare the truenames of files,
5187         this is too slow.
5188         (org-goto-max-level): New option.
5189         (org-goto): Use `org-goto-max-level'.
5191 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5193         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5194         Strip angle brackets from message-ids in the former and don't do
5195         it in the latter.
5196         (org-gnus-follow-link): Open summary reliable, even if the last
5197         messages were deleted, and handle empty groups, too.
5199 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5201         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5202         instead of \texttt for the =...= and ~===~ emphasis environments.
5203         (org-export-as-latex): Remove any old :org-license-to-kill text
5204         properties.
5205         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5206         (org-export-latex-make-header): Add some hard space after the
5207         table of contents.
5208         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5209         exported text so that it will be excuded in further steps.
5211         * org-table.el (org-table-get-specials): Make @0 reference the
5212         last line in a table.
5213         (org-table-recalculate): Improve docstring.
5215 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5217         * org.el (org-log-done): Fix docstring.
5219 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5221         * org-exp.el (org-export-html-format-image): Fix bugs.
5223         * org-export-latex.el (org-export-latex-tables)
5224         (org-export-latex-links): Implement attribute, label, and caption
5225         handling.
5227         * org-exp.el (org-export-html-style-default): Add style
5228         definitions for the figure div.
5229         (org-export-preprocess-string, org-export-as-html): Implement
5230         attribute, label, and caption handling.
5231         (org-export-attach-captions-and-attributes): New function.
5232         (org-export-html-format-image): New function.
5233         (org-format-org-table-html): Implement attribute, label, and
5234         caption handling.
5236         * org.el (org-find-text-property-in-string): New function.
5237         (org-extract-attributes): Use the property org-attr instead of
5238         org-attrobutes, because this property is now set with the #+ATTR
5239         lines.
5241 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5243         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5244         the case that FROM is nil.
5246         * org.el (org-before-first-heading-p): New function.
5248 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5250         * org-exp.el (org-export-as-html): Do not add a space before
5251         enforces line breaks.
5252         (org-export-as-html): Close paragraph before blockquote and verse
5253         tags.
5255 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5257         * org-id.el (org-id-locations-file): Wrap file name with
5258         `convert-standard-filename'.
5259         (org-id-files): New variable.
5260         (org-id-use-hash): New option.
5261         (org-id-update-id-locations): Also search in all files current
5262         listed in `org-id-files'.  Convert the resulting alist to a hash
5263         if the user customation says so.
5264         (org-id-locations-save): Handle he case if `org-id-locations' is a
5265         hash.
5266         (org-id-locations-load): Convert the alist to a hash.
5267         (org-id-add-location): Handle the hast case.
5268         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5269         exited.
5270         (org-id-hash-to-alist, org-id-alist-to-hash)
5271         (org-id-paste-tracker): New functions.
5273 -------------------------------------------------------------------------
5275 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5277         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5278         bindings of calendar variables.
5280         * org-table.el (org-table-find-row-type): Renamed from
5281         `org-find-row-type'.
5282         (org-table-rewrite-old-row-references): Renamed from
5283         `org-rewrite-old-row-references'.
5284         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5285         (org-table-cleanup-narrow-column-properties): Renamed from
5286         `org-cleanup-narrow-column-properties'.
5288 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5290         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5291         for better error messages.
5292         (org-table-get-descriptor-line): Supply the new arguments to
5293         `org-find-row-type'.
5294         (org-table-error-on-row-ref-crossing-hline): New option.
5296         * org.el (org-target-link-regexp): Make buffer-local.
5297         (org-move-subtree-down): Fix bug with trees at beginning of
5298         buffer.
5300 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5302         * org-faces.el (org-set-tag-faces): New function.
5303         (org-tags-special-faces-re): New variable.
5305         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5307         * org-faces.el (org-tag-faces): New option.
5308         (org-tag): Mention `org-tag-faces' in the docstring.
5310 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5312         * org-exp.el (org-export-html-style-default): Implement new
5313         quoting.
5315         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5317         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5318         command to the `w3m-minor-mode-map'.
5320         * org-archive.el (org-archive-to-archive-sibling): Protect
5321         `this-command' to avoid appending kills during archiving.
5323         * org-exp.el (org-export-with-priority): New variable.
5324         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5325         instead of internal list of strings and properties.
5326         (org-print-icalendar-entries): Retrieve the location property with
5327         inheritance.
5329 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5331         * org-exp.el (org-export-with-todo-keywords): New option.
5332         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5333         line.
5334         (org-default-export-plist, org-export-add-options-to-plist)
5335         (org-export-as-ascii, org-export-as-html): Use the new structure
5336         of `org-export-plist-vars'.
5338         * org.el (org-map-entries): Return all values.
5340 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5342         * org.el (org-matcher-time): Recognize more special values.
5344         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5346 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5348         * org.el (org-tags-exclude-from-inheritance): New option.
5349         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5350         `org-tags-exclude-from-inheritance'.
5352         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5353         (org-format-agenda-item): Add inherited tags to the agenda line
5354         string, and make sure that properties are kept when downcasing the
5355         tags list.
5356         (org-agenda-add-inherited-tags): New function.
5357         (org-downcase-keep-props): New function.
5359         * org.el (org-scan-tags): Mark inherited tags with a text
5360         property.
5361         (org-get-tags-at): Mark inherited tags with a text property.
5362         (org-add-prop-inherited): New function.
5364         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5365         (org-agenda-show-inherited-tags): New option.
5367 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5369         * org.el (org-modules): Add org-w3m to the default modules.
5371         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5372         orgtbl-mode.
5373         (orgtabl-create-or-convert-from-region): New command.
5375         * org-exp.el (org-export-as-ascii): Remove the handling of
5376         targets.
5377         (org-export-ascii-preprocess): Handle targets already in this
5378         function.
5380 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5382         * org-timer.el (org-timer-start-time): Define this variable.
5383         (org-timer-item): Make argument optional.
5385         * org-list.el (org-insert-item): Automatically insert a timer item
5386         if the current list is a timer list.
5388         * org-timer.el: New file.
5390         * org-publish.el (org-publish-org-index): Only exclude the index
5391         file in the main directory from being added to the site-map.
5392         (org-publish-get-project-from-filename): If the current project is
5393         a component, start publishing from the parent project.
5395 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5397         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5399         * org-publish.el (org-publish-org-index): Improve removal of
5400         temporary buffers.
5402         * org-agenda.el (org-get-closed): Re-apply changes
5403         accidentially overwritten by last commit to Emacs.
5405         * org.el (org-outline-path-complete-in-steps): New option.
5406         (org-refile-get-location): Honor
5407         `org-outline-path-complete-in-steps'.
5408         (org-agenda-change-all-lines, org-tags-sparse-tree)
5409         (org-time-string-to-absolute, org-small-year-to-year)
5410         (org-link-escape): Re-apply changes accidentially overwritten
5411         by last commit to Emacs
5413 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5415         * org-clock.el (org-dblock-write:clocktable): Make sure the
5416         clocktable sees the first line.
5417         (org-clock-in): Warn if the clock cannot be resumed.
5419 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5421         * org.el (org-open-at-point): Fix mixup about interactive and
5422         non-interactive elisp links.
5424 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5426         * org-exp.el (org-export-preprocess-string): Allow one comment
5427         line before the first headline to always be included.  This is
5428         to not miss a commented target.
5430         * org-mouse.el (org-mouse-insert-item): Call
5431         `org-indent-to-column' instead of `indent-to', for XEmacs
5432         compatibility.
5434         * org.el (org-refile-targets): Fix customize definition so
5435         that it works also in XEmacs.
5436         (org-fixup-indentation): Call `org-indent-to-column' instead
5437         of `indent-to', for XEmacs compatibility.
5439 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5441         * org-mew.el (org-mew-store-link): Get the correct case folder
5442         for refiled messages.
5444 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5446         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5447         line break indicators.
5449         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5450         ido-completion propts.
5452 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5454         * org-remember.el (org-remember-apply-template): Use
5455         `org-substring-no-properties'.
5457         * org-compat.el (org-substring-no-properties): New function.
5459         * org-remember.el (org-remember-apply-template): Use
5460         `org-substring-no-properties' for compatibility.
5462         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5463         option.
5464         (org-fix-bullet-type): respect
5465         `org-list-two-spaces-after-bullet-regexp'.
5467         * org-clock.el (org-clock-load): Clean up the code.
5469         * org.el (org-adaptive-fill-function): Allow two spaces after
5470         "1." as a list bullet.
5472 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5474         * org-clock.el (org-clock-save, org-clock-load): Check for
5475         live buffers, existing files, and buffer file names to ensure
5476         consistent information.
5477         (org-clock-persist): Make `clock' a special value of this
5478         variable, and improve docstring.
5480         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5481         (org-get-string-indentation): Adapt indentation when the bullet
5482         width changes.
5484 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5486         * org-remember.el (org-remember-finalize): Make interactive.
5487         (org-remember-kill): New command.
5488         (org-remember-finish-immediately): Call `org-remember-finalize'
5489         directly.
5490         (org-remember-finalize): Make `org-remember-finalize' an interactive
5491         function.
5493 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5495         * org-remember.el (org-remember-apply-template): No ido completion
5496         for free prompts in remember templates.
5497         (org-remember-before-finalize-hook): New hook.
5498         (org-remember-mode): New minor mode.
5499         (org-remember-apply-template): Turn on `org-remember-mode'.
5501         * org-id.el (org-id-add-location): Avoid error when no file is
5502         given.
5504         * org-remember.el (org-remember-apply-template): Fix the way how
5505         the list of allowed properties is retrieved from the target file.
5507         * org.el (org-insert-link): Improve file link matching.
5509 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5511         * org-colview.el (org-columns-display-here): New argument
5512         DATELINE, to trigger using the new face.
5513         (org-agenda-colview-summarize): Call `org-columns-display-here'
5514         with the new argument.
5516         * org-faces.el (org-agenda-column-dateline): New face.
5518         * org-publish.el (org-publish-org-index): Use index-title at page
5519         title, not as section.
5521         * org-exp.el (org-export-html-format-desc): Respect the
5522         org-protect property.
5523         (org-export-as-html): Protect image specifiers that are in the
5524         description part of a link.
5526         * org.el (org-sort-entries-or-items, org-completing-read)
5527         (org-refile-get-location, org-olpath-completing-read, org-todo)
5528         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5529         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5530         (org-set-property, org-delete-property)
5531         (org-delete-property-globally): Use `org-ido-completing-read'.
5533         * org-remember.el (org-remember-apply-template): Use
5534         `org-ido-completing-read'.
5536         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5538         * org-colview.el (org-columns-edit-value, org-columns-new)
5539         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5541         * org-colview-xemacs.el (org-columns-edit-value)
5542         (org-columns-new, org-insert-columns-dblock): Use
5543         `org-ido-completing-read'.
5545         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5546         `org-ido-completing-read'.
5548         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5549         `org-ido-completing-read'.
5551         * org.el (org-time-today): New function.
5552         (org-matcher-time): Use `org-time-today'.  Add special treatment
5553         for "<tomorrow>" and "<yesterday>".
5554         (org-ido-completing-read): New function.
5555         (org-completion-use-ido): New option.
5557         * org-exp.el (org-export-format-source-code): Fix bug in require
5558         htmlize code.
5559         (org-export-target-internal-links): Fix bug in search for text
5560         property.
5562 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5564         * org-export-latex.el (org-export-latex-subcontent): Interprete
5565         target aliases as additonal labels.
5567         * org-exp.el (org-export-target-aliases): New variable.
5568         (org-export-preprocess-string)
5569         (org-export-handle-invisible-targets): Fill the alias alist.
5570         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5571         assign an id.
5572         (org-html-level-start): Insert the target aliases as additonal
5573         anchors.
5575         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5576         picture area.
5578 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5580         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5581         when following a link with the mouse from the agenda.
5583         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5584         headlines are created.
5586 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5588         * org-exp.el (org-export-preprocess-string): Reorder so that we
5589         can still see ID properties when we collect targets.
5590         (org-export-target-internal-links): Also store targets for ID's.
5592         * org.el (org-link-translation-function): New option.
5593         (org-open-at-point): Call `org-link-translation-function' if
5594         non-nil.
5595         (org-translate-link): New function.
5596         (org-translate-link-from-planner): New function.
5597         (org-open-at-point): Allow interactive commands in elisp links.
5599         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5600         iCalendar quoting.  The new one seems to caus problems with
5601         applications.
5603         * org.el (org-yank): Set `this-command' to `yank', so that
5604         `yank-pop' will work.
5606 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5608         * org-id.el (org-id-search-archives): New option.
5610         * org.el (org-link-to-org-use-id): New option.
5611         (org-store-link): Use `org-link-to-org-use-id'.
5612         (org-id): Make org-id.el a standard component.
5614 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5616         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5617         hexified version of the tag.
5619         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5620         compliance as far as quoting is concerned.
5622         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5624         * org.el (org-up-heading-safe, org-forward-same-level): Always
5625         call `org-back-to-heading' instead of `outline-back-to-heading'.
5626         (org-back-to-heading): New wrapper around outline-back-to-heading,
5627         with a useful error message telling where the error happened.
5629         * org-list.el (org-update-checkbox-count): Always call
5630         `org-back-to-heading' instead of `outline-back-to-heading'.
5632         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5633         has an `alt' attribute, to ensure XHTML validation.
5635 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5637         * org-publish.el (org-publish-attachment): Allow publishing to
5638         overwrite attachment files.
5640         * org-agenda.el (org-agenda-timerange-leaders): New option.
5641         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5643         * org.el (org-edit-src-exit): Untabify ASCII image before
5644         returning.
5657 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5659         * org.el (org-yank): Make any prefix force normal yanking.
5660         Suppress folding if text would be swallowed into a folded
5661         subtree.
5662         (org-yank-folded-subtrees, org-yank): Docstring updates.
5664         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5665         defined as 0.
5667         * org-exp.el (org-export-language-setup): Add Catalan and
5668         Esperanto language entries.
5670 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5672         * org.el (org-refile): Allow refiling of entire regions.
5674         * org-clock.el (org-clock-time%): New function.
5676         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5677         retrieve property values.
5679 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5681         * org-agenda.el (org-agenda-list): Handle the value `only' of
5682         org-agenda-show-log'.
5683         (org-agenda-log-mode): Interpret a double prefix arg.
5685 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5687         * org-exp.el (org-export-html-footnotes-section): New variable.
5688         (org-export-as-html): Use `org-export-html-footnotes-section' to
5689         insert the footnotes.
5690         (org-export-language-setup): Add "Footnotes" to language words.
5692 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5694         * org.el (org-yank): Fix bug when not inserting a subtree.
5696 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5698         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5699         instead of `vm-beginning-of-message'.
5701         * org.el (org-make-link-regexps): Make sure that links to gnus can
5702         contain brackets.
5704 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5706         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5707         code.
5709         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5710         shell output.
5712         * org.el (org-link-abbrev-alist): Improve customization type.
5714         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5715         functions.
5717         * org-agenda.el (org-agenda-get-progress): Renamed from
5718         `org-get-closed'.  Implement searching for state changes as well.
5719         (org-agenda-log-mode-items): New option.
5720         (org-agenda-log-mode): New option prefix argument, interpreted as
5721         request to show all possible progress info.
5722         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5723         `org-get-closed'.
5724         (org-agenda-set-mode-name): Handle the more complex log mode
5725         settings.
5726         (org-get-closed): New alias, pointing to `org-get-progress'.
5728 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5730         * org.el (org-file-apps-defaults-gnu)
5731         (org-file-apps-defaults-macosx)
5732         (org-file-apps-defaults-windowsnt): Add an entry defining the
5733         system command.
5734         (org-file-apps): Allow `system' as key and value.
5735         (org-open-at-point): Explain the effect of a double prefix arg.
5736         (org-open-file): If the argument `in-emacs' is (16),
5737         i.e. corresponding to a double prefix argument, try to open the
5738         file externally.
5740 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5742         * org.el (org-insert-link): Abbreviate absolute files names in
5743         links.  Also, fix a bug in which the double C-u prefix would not
5744         be honored.
5746 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5748         * org.el (org-insert-heading): If buffer does not end with a
5749         newline, add one if necessary to insert headline correctly.
5751         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5752         paragraphs, not inside.
5754         * org.el (org-todo): Quote
5755         `org-agenda-headline-snapshot-before-repeat'.
5757         * org-exp.el (org-export-as-html): Fully process link descriptions.
5758         (org-export-html-format-desc): New function.
5759         (org-export-as-html): Collect footnotes into the correct basket.
5760         (org-html-protect): No longer protect quotations marks here, this
5761         goes wrong.
5763         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5764         BEG.
5766         * org-compat.el (org-fit-window-to-buffer): New function (not
5767         really, a preliminary and incomplete version was present earlier,
5768         but not used).
5770         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5771         `org-fit-window-to-buffer'.
5773         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5775         * org-agenda.el (org-agenda-get-restriction-and-command)
5776         (org-fit-agenda-window, org-agenda-convert-date): Use
5777         `org-fit-window-to-buffer'.
5779         * org-exp.el (org-export-as-html): Process href links through
5780         `org-export-html-format-href'.
5781         (org-export-html-format-href): New function.
5783         * org-agenda.el (org-agenda-todo): Update only the current
5784         headline if this is a repeated TODO, marked done for today.
5785         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5786         only the current line.
5788         * org.el (org-todo): Take a snapshot of the headline if the
5789         repeater might change it.
5791 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5793         * org-publish.el (org-publish-find-title): Remove buffers visited
5794         only for extracting the title.
5796         * org-exp.el (org-export-html-style)
5797         (org-export-html-style-default): Mark style definitions as
5798         unparsed CDATA.
5800         * org-publish.el (org-publish-validate-link): Function
5801         re-introduced.
5803 2008-11-02  Charles Sebold  <csebold@gmail.com>
5805         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5806         property.
5807         (org-plot-quote-timestamp-field): New function.
5808         (org-plot-quote-tsv-field): Call timestamp field function when
5809         necessary rather than just quoting as a string.
5810         (org-plot/gnuplot-to-data): Pass in timefmt property.
5811         (org-plot/gnuplot-script): Supports timefmt property.
5812         (org-plot/gnuplot): Checks for timestamp column before checking
5813         for text index column.
5815 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5817         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5819         * org-publish.el (org-publish-org-index): Create a section in the
5820         index file.
5821         (org-publish-org-index): Stop linking to directories.
5823         * org.el (org-emphasis-alist): Use span instead of <u> to
5824         underline text.
5826         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5827         <pre> sections.
5829 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5831         * org-jsinfo.el (org-infojs-template): Remove language attribute
5832         from script tag.
5834 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5836         * org-agenda.el (org-agenda-remove-marked-text): New function.
5837         (org-agenda-mark-filtered-text)
5838         (org-agenda-unmark-filtered-text): New functions.
5839         (org-write-agenda): Remove fltered text.
5841         * org.el (org-make-tags-matcher): Give access to TODO "property"
5842         without speed penalty.
5844 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5846         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5847         option.
5848         (org-store-link-props): Make sure adding to the plist works
5849         correctly.
5851         * org-gnus.el (org-gnus-no-new-news): New function.
5852         (org-gnus-follow-link): Allow the article ID to be a message-id,
5853         in addition to allowing article numbers.  Message IDs make much
5854         more roubust links.
5855         (org-gnus-store-link): Use message-id to create link.
5857 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5859         * org.el (org-emphasize): Reverse the selection array.
5860         (org-emphasis-alist): Set <code> tags for the verbatim
5861         environment.
5863         * org-remember.el (org-remember-handler): Fix bug with
5864         prefix-related changing of the note storage target.
5866         * org-exp.el (org-print-icalendar-entries): Make the exported
5867         priorities compatible with RFC 2445.
5869         * org-clock.el (org-clock-save): Insert time stamp without
5870         dependence on time-stamp.el.
5872 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5874         * org.el ("saveplace"): If saveplace puts point into an invisible
5875         location, make it visible.
5876         (org-make-tags-matcher): Allow inactive time stamps in time
5877         comparisons.
5878         (org-yank-adjusted-subtrees): New option.
5879         (org-yank): Incorporate adjusting trees.
5880         (org-paste-subtree): New argument FOR-YANK which will cause
5881         insertion at point without backing up over white lines, and leave
5882         point at the end of the inserted text.  Also if the cursor is
5883         at the beginning of a headline, use the same level or the inserted
5884         tree.
5886         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5887         with broken symlinks
5889 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5891         * org-exp.el (org-export-select-tags, org-get-current-options):
5892         Fix typo.
5894 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5896         * org-agenda.el (org-format-agenda-item)
5897         (org-agenda-filter-make-matcher): Make sure tags are stored and
5898         compared donwcased.
5900 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5902         * org.el (org-insert-todo-heading): Fix bug with force-heading
5903         argument.
5905 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5907         * org-clock.el (org-clock-in-resume): Add a custom option to
5908         toggle starting the clock from an open clock line.
5909         (org-clock-in): When clocking in to an entry, if
5910         `org-clock-in-resume' is set, check if the first clock line is
5911         open and if so, start the clock from the time in the clock line.
5912         (org-clock-persist): Add a custom option to toggle clock
5913         persistence.
5914         (org-clock-persist-query-save): Add a custom option to toggle
5915         asking the user if they want to save the running clock when
5916         exiting.
5917         (org-clock-persist-query-resume): Add a custom option to toggle
5918         asking the user if they want to resume the saved clock when Emacs
5919         is restarted.
5920         (org-clock-save): Add a function to save clock data.
5921         This includes the contents of `org-clock-history' and the buffer
5922         and position of the currently clocked task, if any.
5923         (org-clock-load): Add a function to load clock data.
5924         This populates `org-clock-history', and resumes the saved clocked
5925         task if there is one.
5926         (org-clock-persistence-insinuate): Add a method to set up the
5927         hooks for clock persistence.
5929 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5931         * org-exp.el (org-export-as-ascii): Handle the case that we are
5932         publishing from an indirect buffer.
5934         * org-table.el (org-table-copy-down): Fix bug with time stamp
5935         increment.
5937         * org-mouse.el (org-mouse-features): New option.
5938         (org-mode-hook): Turn on features depending on
5939         `org-mouse-features'.
5941         * org.el (org-insert-heading-respect-content): Force heading
5942         creation.
5943         (org-insert-heading): keep the folding state of the heading before
5944         the inserted one.
5946 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5948         * org-archive.el (org-archive-to-archive-sibling): Handle top
5949         level headlines better.
5951 2008-10-21  Bastien Guerry  <bzg@altern.org>
5953         * org-export-latex.el (org-export-latex-classes): Added
5954         \usepackage{graphicx} to the default list of packages.
5956 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5958         * org-agenda.el (org-agenda-filter): Renamed from
5959         `org-agenda-filter-tags'.
5961 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5963         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5964         is not defined as a property in this entry.
5965         (org-add-log-note): Mask prefix argument when immediately storing
5966         the note.
5968         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5969         option.
5971 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5973         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5974         after drawers was skipping ahead one line too many, so notes were
5975         inserted after the first note instead of before it.
5977 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5979         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5980         New variables.
5981         (org-prepare-agenda): Reset the filter tags.
5982         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5983         Show filter tags in mode line.
5985         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5986         formatter.
5988         * org-export-latex.el (org-latex-entities-regexp): New constant.
5989         (org-export-as-pdf): Use two calls to `shell-command'.
5991 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5993         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5994         Honor the {} value of the subsuperscript setting.  Make sure that
5995         longer subsuperscripts are typeset in a roman font.
5997         * org.el (org-clock-update-time-maybe): Compute negative clock
5998         intervals correctly.
6000 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6002         * org.el (org-add-log-setup): Respect
6003         `org-log-state-notes-insert-after-drawers'.
6004         (org-log-state-notes-insert-after-drawers): New option.
6005         (org-todo-trigger-tag-changes): New function.
6006         (org-todo): Call `org-todo-trigger-tag-changes'.
6008 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6010         * org.el (org-add-log-setup): Only skip drawers if the are
6011         immediately after the scheduling keywords.
6013         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6014         function
6015         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6016         call it with the current todo state to get the state to switch to
6017         when clocking in.
6018         (org-clock-in): Use org-indent-line-function to indent clock lines.
6019         (org-clock-find-position): Fix indentation of empty clock drawers.
6021 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6023         * org-publish.el (org-publish-org-to): Handle case when
6024         org-export-to-pdf does return a file name, not a buffer.
6025         (org-publish-org-to-pdf): New function.
6027         * org-export-latex.el (org-export-as-pdf)
6028         (org-export-as-pdf-and-open): New commands.
6030         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6031         forms as ranges.
6033         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6034         things in protexted regions.
6036 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6038         * org-export-latex.el (org-export-latex-preprocess): Improve
6039         quoting of LaTeX environments.
6041 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6043         * org.el (org-edit-fixed-width-region): Exclude final newline from
6044         picture area.
6046         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6047         sections, to make internal links work.
6048         (org-export-latex-fontify-headline): Do not remove all text
6049         properties, to make sure that target properties survive this
6050         process.
6052         * org-exp.el (org-export-preprocess-string): Change sequence of
6053         modifications, to make sure links are prepared before the LaTeX
6054         conversions do happen.
6056 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6058         * org-attach.el (org-attach-delete-all): Renamed from
6059         `org-attch-delete'.  Add a security query before deleting the
6060         entire directory.  New optional argument FORCE can overrule the
6061         security query.
6062         (org-attach-delete-one): New command.
6064 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6066         * org-attach.el (org-attach-file-list): Fix bug with directory.
6068 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6070         * org.el (org-apps-regexp-alist): New function.
6071         (org-file-apps): Add auto-mode to the default value.
6072         (org-open-file): Use the new structure of org-file-apps.
6074         * org-attach.el (org-attach): Support the new keys.
6075         (org-attach-method): New option.
6077 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6079         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6080         March.
6082         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6083         of the list value o `org-use-tag-inheritance'.
6085         * org-attach.el (org-attach-auto-tag): New option.
6086         (org-attach-tag, org-attach-untag): New functions.
6087         (org-attach-attach, org-attach-new, org-attach-sync): Call
6088         `org-attach-tag'.
6089         (org-attach-delete): Call `org-attach-untag'.
6091 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6093         * org-table.el (orgtbl-self-insert-command): Make this work for
6094         the keypad as well.
6096 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6098         * org.el (org-add-log-setup): Limit searc for drawers to entry
6099         text, not to subtree.
6101         * org-clock.el (org-clock-heading-for-remember): New variable.
6102         (org-clock-in): Set `org-clock-heading-for-remember'.
6104 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6106         * org-remember.el (org-remember-apply-template): Add new
6107         expansions: %k, %K for currently clocked task and a link to the
6108         currently clocked task, and %< to file notes in the currently
6109         clocked task.
6111 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6113         * org-export-latex.el (org-export-latex-make-header): Also insert
6114         the content of the property :latex-header-extra.
6116         * org-exp.el (org-infile-export-plist): Put the content of
6117         #+LATEX_HEADER: into the property :latex-header-extra.
6119         * org-colview.el (org-columns-get-format-and-top-level): Remove
6120         resetting the marker.
6122         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6123         Remove resetting the marker.
6125         * org.el (org-entry-property-inherited-from): Improve docstring.
6126         (org-entry-get-with-inheritance): Reset marker before starting the
6127         search.
6129         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6131 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6133         * org.el (org-entry-get-multivalued-property)
6134         (org-entry-protect-space, org-entry-restore-space): New
6135         functions.
6136         (org-file-apps-defaults-macosx): Let postscript files be opened by
6137         preview.
6138         (org-time-stamp-inactive): Call `org-time-stamp'.
6139         (org-time-stamp): New argument `inactive'.  Also edit inacive
6140         stamps. Convert time stamp type.
6141         (org-open-file): Interpret the `default' value for the `command'
6142         in `org-file-apps'.
6144         * org-id.el (org-id-int-to-b36-one-digit)
6145         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6146         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6147         b36.
6149 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6151         * org-id.el (org-id-reverse-string): New function.
6152         (org-id-new): Use `org-id-reverse-string' to make sure the
6153         beginning chars of the ID are mutating fast.  This allows to use a
6154         directory structure to spread things better.
6155         (org-id-prefix): Changed default to nil.
6157         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6158         restore the column of the cursor position.
6160         * org-remember.el (org-remember-apply-template): Remove properties
6161         from `initial'.
6163 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6165         * org-wl.el (org-wl-open): Remove useless call to
6166         `wl-thread-open-all'.
6168         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6169         location.
6171 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6173         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6174         `org-bbdb-anniversaries'.
6176         * org.el (org-get-next-sibling, org-forward-same-level): New
6177         functions, similar to the outline versions, but invisible headings
6178         are OK.
6180 2008-09-25  Bastien Guerry  <bzg@altern.org>
6182         * org.el (org-auto-repeat-maybe): Insert a space between
6183         the timestamp's type and the timestamp itself.
6185 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6187         * org-table.el (org-table-sum): Do not format the result with %g,
6188         it does rounding when there are too many digits.
6190         * org.el (org-map-entries): Protect the keyword-selecting variables.
6192 2008-09-23  Bastien Guerry  <bzg@altern.org>
6194         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6195         against all agenda files.
6197 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6199         * org-list.el: New file, aggregating list functions from org.el
6200         and org-export-latex.el.
6202         * org.el (org-edit-src-region-extra): New option.
6204 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6206         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6207         time before 1am.
6209 2008-09-22  Bastien Guerry  <bzg@altern.org>
6211         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6213 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6215         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6216         hline work correctly.
6217         (org-plot/gnuplot-script): Put commas at the end of each script
6218         line.
6220 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6222         * org.el (org-get-refile-targets): Replace links with their
6223         descriptions
6224         (org-imenu-get-tree): Replace links with their descriptions.
6226         * org-remember.el (org-remember-apply-template): Add a new
6227         expansion for adding properties to remember items.
6229         * org.el (org-add-log-setup): Skip over drawers (properties,
6230         clocks etc) when adding notes.
6232         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6233         items as well as the start and end times.
6235         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6236         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6238         * org-remember.el (org-get-x-clipboard): Use the compat
6239         function to get clipboard values when x-selection-value is
6240         unavailable. Use substring-no-properties instead of
6241         set-text-properties to remove text properties from the clipboard
6242         value.
6244         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6245         modeline clock string, and display the full todo value in the
6246         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6247         the currently clocked task.
6248         (org-clock-string-limit): Add a custom value for the maximum
6249         length of the clock string in the modeline.
6250         (org-clock-mode-map): Add a keymap for the modeline string
6252 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6254         * org-compat.el (org-propertize): New function.
6256 2008-09-20  Bastien Guerry  <bzg@altern.org>
6258         * org-export-latex.el (org-export-latex-tables): protect exported
6259         tables from further special chars conversion.
6260         (org-export-latex-preprocess): Preserve LaTeX environments.
6261         (org-list-parse-list): Parse descriptive lists.
6262         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6263         (org-list-to-texinfo): Export descriptive lists.
6264         (org-quote-chars): Remove.
6265         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6266         (org-export-latex-list-beginning-re): Rename to
6267         `org-list-beginning-re'
6268         (org-list-item-begin): Rename to `org-list-item-beginning'
6270 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6272         * org.el (org-refile): Allow refiling to the last entry in the
6273         buffer.
6274         (org-get-tags-at): Fix bug when inheritance is turned off.
6276 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6278         * org.el (org-indent-line-function): No longer check for src
6279         regions, this is too much overhead.
6281         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6282         matching.
6284         * org.el (org-scan-tags): Make sure that tags matching is not case
6285         sensitive.  TODO keyword matching is case sensitive, however, to
6286         avoid confusion with similar words that are not meant to be
6287         keywords.
6289 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6291         * org.el (org-get-local-tags-at): New function.
6292         (org-get-local-tags): New function.
6294         * org-exp.el (org-export-get-categories): New function.
6296         * org-agenda.el (org-sorting-choice)
6297         (org-agenda-sorting-strategy, org-agenda-get-todos)
6298         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6299         (org-agenda-get-scheduled, org-agenda-get-blocks)
6300         (org-entries-lessp): Implement sorting by TODO state.
6301         (org-cmp-todo-state): New defsubst.
6303         * org-colview.el (org-colview-construct-allowed-dates): New
6304         function.
6305         (org-columns-next-allowed-value): Use
6306         `org-colview-construct-allowed-dates'.
6308         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6309         function.
6310         (org-columns-next-allowed-value): Use
6311         `org-colview-construct-allowed-dates'.
6313 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6315         * org.el (org-protect-slash): New function.
6316         (org-get-refile-targets): Use `org-protect-slash'.
6318         * org-agenda.el (org-global-tags-completion-table): New variable.
6320         * org-exp.el (org-export-handle-export-tags): New function.
6321         (org-export-preprocess-string): Call
6322         `org-export-handle-export-tags'.
6324         * org-plot.el: New file.
6326         * org-publish.el (org-publish-expand-components): Function removed.
6327         (org-publish-expand-projects): Allow components to have components.
6329 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6331         * org.el (org-indent-line-function): Do not indent in regions that
6332         are external source code.
6333         (org-yank-and-fold-if-subtree): New function.
6335         * org-agenda.el (org-agenda-todayp): New function.
6336         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6337         `org-agenda-todayp'.
6339         * org.el (org-insert-heading-respect-content)
6340         (org-insert-todo-heading-respect-content): New commands.
6341         (org-insert-heading-respect-content): New option.
6342         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6344         * org-clock.el (org-clock-find-position): Make sure the note after
6345         the clock line gets moved into the new clock drawer.
6347 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6349         * org-id.el (org-id-new): New option.
6351 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6353         * org-table.el (org-table-copy-down): Avoid overflow during
6354         increment.  Use prefix argument 0 to temporarily disable the
6355         increment.
6357 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6359         * org-exp.el (org-export-as-html): Do not turn on the major mode
6360         if the buffer will be killed anyway.
6361         (org-get-current-options): Exclude the #+TEXT field.
6362         (org-export-as-html): Make sure text before the first headline is
6363         a paragraph.
6365         * org-publish.el (org-publish-org-to): Tell the exporter that this
6366         buffer will be killed, so it is not necessary to do major mode
6367         initialization.
6369         * org-archive.el (org-archive-to-archive-sibling): Show empty
6370         lines after folding the archive sibling.
6372         * org.el (org-log-note-extra): New variable.
6374 2008-09-05  Bastien Guerry  <bzg@altern.org>
6376         * org.el (org-additional-option-like-keywords): Added keywords for
6377         the _QUOTE, _VERSE and _SRC environments.
6379         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6380         exporting _QUOTE and _VERSE environments.
6382 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6384         * org-agenda.el (org-agenda-filter-by-tag): New command.
6386         * org-exp.el (org-get-current-options): Remove angular brackets
6387         from the date entry.
6389         * org.el (org-edit-fixed-width-region): New function.
6390         (org-edit-fixed-width-region): Also try
6391         `org-edit-fixed-width-region'.
6392         (org-edit-fixed-width-region-mode): New option.
6393         (org-activate-code): Only interprete lines starting with colon
6394         plus a space as example lines.
6396         * org-remember.el (org-remember-templates): Add nil instead of
6397         empty strings to fix the length of remember templates.
6399         * org-table.el (org-calc-default-modes): Fix the time format for
6400         calc, from 12 hour to 24 hour clock.
6402 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6404         * org-agenda.el (org-agenda-get-deadlines)
6405         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6406         entries that are pre-warnings of deadlines or reminders.
6408         * org.el (org-sort-entries-or-items): Make numeric and alpha
6409         comparisons ignore any TODO keyword and priority cookie.
6411         * org-remember.el (org-remember-handler): Reinterpretation of the
6412         prefix argument.
6414 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6416         * org-agenda.el (org-agenda-get-scheduled): Use new
6417         `org-scheduled' face.
6419         * org-faces.el (org-scheduled): New face.
6421         * org-wl.el (org-wl-open): Remove incorrect declaration.
6423         * org-gnus.el (org-gnus-store-link): Support for :to information
6424         in gnus links.
6426         * org-exp.el (org-export-as-html): Fixed typo in creator
6427         information.
6428         (org-export-protect-examples): New parameter indent.  Insert extra
6429         spaces only when this parameter is specified.
6430         (org-export-preprocess-string): Call `org-export-protect-examples'
6431         with an indentation parameter when exporting to ASCII.
6433         * org-remember.el (org-remember-templates)
6434         (org-remember-apply-template): Allow the file component to be a
6435         function.
6437         * org.el (org-goto-local-search-headings): Renamed from
6438         `org-goto-local-search-forward-headings'.  Added the possibility
6439         to search backwards.
6441 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6443         * org-export-latex.el (org-export-latex): New customization
6444         group.
6446         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6448 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6450         * org-exp.el (org-html-do-expand): Allow {} to terminate
6451         tex macro
6453 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6455         * org.el (org-buffer-list): Select buffers based on major mode,
6456         not on file name.
6458 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6460         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6461         face property.
6463         * org-colview.el (org-columns-display-here): Use
6464         `org-columns-modify-value-for-display-function'.
6466         * org-colview-xemacs.el (org-columns-display-here): Use
6467         `org-columns-modify-value-for-display-function'.
6469 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6471         * org.el (org-columns-modify-value-for-display-function): New option.
6483         * org-publish.el (org-publish-file): Make sure the directory match
6484         for the publishing directory works correctly.
6486         * org-agenda.el (org-agenda-execute-calendar-command)
6487         (org-agenda-diary-entry): Additional optional argument.
6489 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6491         * org-exp.el (org-export-as-html): Add attributes also in mailto
6492         and ftp links.
6494         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6503 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6505         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6506         sure that calls from `org-export-region-as-html' do not do the
6507         special check for a subtree.
6509 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6511         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6513 2008-07-20  Juri Linkov  <juri@jurta.org>
6515         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6516         new keymap `narrow-map' instead of binding "\C-xns".
6518 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6520         * org.el (org-open-file): Use
6521         `org-open-directory-means-index-dot-org'.
6522         (org-open-directory-means-index-dot-org): New option.
6524 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6526         * org.el (org-make-link-string): Remove link attributes from
6527         description.
6528         (org-open-at-point): Remove link attributes bevore using the path.
6530         * org-exp.el (org-export-as-html): Handle link attributes.
6532         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6534         * org-table.el (org-table-to-lisp): New function.
6536         * org.el (org-narrow-to-subtree): Do not include the final newline
6537         into the narrowed region.
6539         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6540         bug with user-define skipping condition.
6542 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6544         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6546 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6548         * org-exp.el (org-export-html-style-default): Automatic overflow
6549         handling for pre fields.
6550         (org-export-as-ascii, org-export-as-html): Change default format
6551         for time stamp.
6553         * org-table.el (org-table-export): Offer completion for translator
6554         functions, and do not require a heading above the table.
6556         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6557         Cater for the case of a list starting in the first line of the
6558         buffer.
6560 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6562         * org-publish.el (org-publish-find-title): Bug fix.
6563         (org-publish-org-index): Implement new :index-style option.
6565 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6567         * org-publish.el (org-publish-timestamp-filename): Use
6568         SHA1-encoded file names in the timestamp directory.
6570 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6572         * org-publish.el (org-publish-needed-p): Be verbose about files
6573         published and files skipped.
6575         * org-exp.el (org-export-preprocess-string): Swap link
6576         normalization and inernal link targeting.
6578         * org-publish.el (org-publish-needed-p): Create timestamp
6579         directory when it does not exist.
6581 2008-07-04  Bastien Guerry  <bzg@altern.org>
6583         * org-clock.el (org-clock-out-when-done): Doc fix.
6585         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6587         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6588         Ignore case when searching for the COMMENT cookie at export time.
6590 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6592         * org-exp.el (org-get-file-contents)
6593         (org-get-and-remove-property): New functions.
6594         (org-export-handle-include-files): Handle the new prefix options.
6595         (org-export-as-html): Fix the verse environment.
6597 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6599         * org.el (org-time=, org-time<, org-time<=, org-time>)
6600         (org-time>=, org-time<>, org-2ft): New functions.
6601         (org-op-to-function): Also provide for the time testing fucntions.
6603 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6605         * org-exp.el (org-export-html-style-default): New constant.
6607 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6609         * org-exp.el (org-export-html-style-extra): New variable.
6610         (org-export-splice-style): New function.
6612 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6614         * org-exp.el (org-export-plist-vars, org-export-as-html):
6615         Implement `org-export-creator-info'.
6616         (org-export-creator-info): New option.
6618 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6620         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6621         (org-property-drawer-re, org-clock-drawer-re): New constants.
6623 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6625         * org-exp.el (org-icalendar-use-deadline)
6626         (org-icalendar-use-scheduled): New options.
6627         (org-icalendar-include-todo): Default changed to t.
6628         (org-print-icalendar-entries): Implement better utilization of
6629         scheduling and deadline time stamps.
6630         (org-export-target-internal-links, org-export-as-html): Allow file
6631         lines without the "file:" prefix if the file path is an absolute
6632         path or starts with ".".
6634         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6635         lastweek etc.
6636         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6638 2008-06-18  Glenn Morris  <rgm@gnu.org>
6639         * org.el (org-map-entries): Let-bind `file'.
6641 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6643         * org.el (org-agenda-skip-archived-trees): Docstring now
6644         discourages using this.
6645         (org-scan-tags): Check for org-agenda-archives-mode.
6646         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6647         (org-agenda-files): Functionality of second arg changed.
6649         * org-agenda.el (org-agenda-archives-mode): New variable
6650         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6651         (org-search-view, org-todo-list, org-tags-view)
6652         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6653         `ifmode' argument.
6654         (org-agenda-quit): Reset the archives mode.
6655         (org-agenda-archives-mode): New command.
6656         (org-agenda-set-mode-name): Include archives info.
6658 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6660         * org.el (org-paste-subtree): Make sure the yanked headline is
6661         visible if it was yanked at a visible point.
6662         (org-move-item-up): Fix the bug with moving white space at the end
6663         of the item.
6664         (org-show-empty-lines-in-parent): New function.
6666 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6668         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6670         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6672         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6673         agenda prefix as well.
6675         * org-publish.el (org-publish-org-index): Make a properly indented
6676         list.
6678         * org.el (org-calendar-agenda-action-key): New option.
6679         (org-get-cursor-date): New function.
6680         (org-mark-entry-for-agenda-action): New command.
6681         (org-overriding-default-time): New variable.
6682         (org-read-date): Respect `org-overriding-default-time'.
6684         * org-remember.el (org-remember-apply-template): Respect the
6685         ovverriding default time.
6687         * org-agenda.el (org-agenda-action-marker): New variable.
6688         (org-agenda-action): New command.
6689         (org-agenda-do-action): New function.
6691 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6693         * org.el (org-schedule, org-deadline): Protect scheduled and
6694         deadline tasks against changes that accidently remove the
6695         repeater.  Also show a message with the new date when done.
6697 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6699         * org.el (org-beginning-of-line): Cater for the case when there
6700         are tags but no headline text.
6701         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6702         it set.
6704 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6706         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6707         the return value is nil instead of "nil" when there is no match.
6709         * org-exp.el (org-insert-centered): Use fill-column instead of
6710         80.
6711         (org-export-as-ascii): Use string-width to measure the width of
6712         the heading.
6714         * org.el (org-diary-to-ical-string): No longer kill buffer
6715         FROMBUF, this is now done by the caller.
6717         * org-exp.el (org-print-icalendar-entries): Move the call to
6718         `org-diary-to-ical-string' out of the loop, and kill the buffer
6719         afterwords.
6721         * org-remember.el (org-remember-visit-immediately): Position
6722         cursor after moving to the note.
6723         (org-remember-apply-template): Use a text property to record the
6724         cursor position.
6725         (org-remember-handler): Align tags after pasting the note.
6727 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6729         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6731         * org-agenda.el (org-agenda-open-link): If there is an
6732         org-bbdb-name property in the current line, jump to that bbdb
6733         entry.
6735         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6736         text property, so that the agenda knows where this entry comes
6737         from.
6739         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6740         interaction between clocking-in from the agenda, and  automatic
6741         task state switching.
6743         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6745         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6746         zmacs-region stays after this command in XEmacs.
6748 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6750         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6752         * org-remember.el (org-remember-templates): Fix bug in
6753         customization type definition.
6755         * org.el (org-map-entries): New function.
6757 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6759         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6760         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6762 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6764         * org-remember.el (org-jump-to-target-location): New variable.
6765         (org-remember-apply-template): Set
6766         `org-remember-apply-template' if requested by template.
6767         (org-remember-handler): Start an idle timer to jump to
6768         remember location.
6770         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6772         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6773         file tags.
6774         (org-get-tags-at): Add the content of `org-file-tags'.
6776         * org-exp.el (org-export-handle-comments): Fix bug with several
6777         comment lines after each other.
6778         (org-number-to-roman, org-number-to-counter): New functions.
6779         (org-export-section-number-format): New option.
6781 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6783         * org-exp.el (org-export-protect-examples): Catch the case of a
6784         missing end_example line.
6786         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6787         `org-file-tags' to nil.
6789         * org-colview.el (org-columns-next-allowed-value): Handle next
6790         argument NTH to directly select a value.
6792         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6793         argument NTH to directly select a value.
6795 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6797         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6799 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6801         * org.el (org-columns-ellipses): New option.
6803 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6805         * org-colview.el (org-columns-add-ellipses): New function.
6806         (org-columns-compact-links): New function.
6807         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6808         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6809         when in agenda.
6810         (org-columns-edit-value): Fixed bug with editing values from
6811         agenda column view.
6812         (org-columns-redo): Also redo the agenda itself.
6814 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6816         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6817         option.
6819         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6821         * org-exp.el (org-export-ascii-preprocess): Renamed from
6822         `org-export-ascii-clean-string'.
6823         (org-export-kill-licensed-text)
6824         (org-export-define-heading-targets)
6825         (org-export-handle-invisible-targets)
6826         (org-export-target-internal-links)
6827         (org-export-remove-or-extract-drawers)
6828         (org-export-remove-archived-trees)
6829         (org-export-protect-quoted-subtrees)
6830         (org-export-protect-verbatim, org-export-protect-examples)
6831         (org-export-select-backend-specific-text)
6832         (org-export-mark-blockquote-and-verse)
6833         (org-export-remove-comment-blocks-and-subtrees)
6834         (org-export-handle-comments, org-export-mark-radio-links)
6835         (org-export-remove-special-table-lines)
6836         (org-export-normalize-links)
6837         (org-export-concatenate-multiline-links)
6838         (org-export-concatenate-multiline-emphasis): New functions,
6839         obtained from spliiting the export preprocessor.
6841         * org-table.el (org-table-recalculate): Improve error message if
6842         the row number is invalid.
6844 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6846         * org-archive.el (org-archive-save-context-info): Fix bugs in
6847         customization setup and docstring.
6849         * org-exp.el (org-export-html-style): Changed the size of in the
6850         <pre> element to 90%.
6852 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6854         * org.el (org-find-src-example-start): Function removed.
6855         (org-edit-src-find-region-and-lang): New function.
6857 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6859         * org.el (org-edit-src-exit): New function.
6860         (org-exit-edit-mode): New minor mode.
6862         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6863         comment-like lines from protected examples.
6865         * org.el (org-edit-src-example, org-find-src-example-start)
6866         (org-protect-source-example, org-edit-special): New functions.
6868 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6870         * org-publish.el (org-publish-project-alist): Fix typo in
6871         docstring.
6872         (org-publish-project-alist): Handle :index-title property.
6874 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6876         * org-export-latex.el (org-export-as-latex): Make sure region
6877         bounds are correct.  Parse subtree properties relating to export.
6879         * org-exp.el (org-export-add-options-to-plist): New function.
6880         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6882 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6884         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6885         EXPORT_TITLE.
6887         * org-exp.el (org-export-get-title-from-subtree)
6888         (org-export-as-ascii, org-export-as-html): Make sure the original
6889         region-beginning and region-end are used, even after moving
6890         point.
6891         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6892         property.
6894         * org-remember.el (org-remember-last-stored-marker): New variable.
6895         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6896         (org-remember-handler): Also use marker to remember
6897         last-stored position.
6899         * org.el (org-goto-marker-or-bmk): New function.
6901 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6903         * org.el (org-file-properties): Renamed from `org-local-properties'.
6904         (org-scan-tags): Take file tags into account.
6905         (org-tags-match-list-sublevels): Default changed to t.
6907         * org-exp.el (org-export-as-html): Close paragraph after a
6908         footnote.
6910         * org.el (org-update-parent-todo-statistics): New function.
6912         * org-exp.el (org-icalendar-store-UID): New option.
6913         (org-icalendar-force-UID): Option removed.
6914         (org-print-icalendar-entries): IMplement UIDs.
6916 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6918         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6920 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6922         * org-faces.el (org-column): Document how this face is being used
6923         and why sometimes the background faces shine through.
6925         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6927         * org-publish.el (org-publish-attachment): Create publishing
6928         directory if it does not yet exist.
6930         * org-table.el (org-calc-default-modes): Change default number
6931         format to (float 8).
6933         * org.el (org-olpath-completing-read): New function.
6934         (org-time-clocksum-format): New option.
6935         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6937         * org-clock.el (org-clock-display, org-clock-out)
6938         (org-update-mode-line): Use `org-time-clocksum-format'.
6940         * org-colview-xemacs.el (org-columns-number-to-string): Use
6941         `org-time-clocksum-format'.
6943         * org-colview.el (org-columns-number-to-string): Use
6944         `org-time-clocksum-format'.
6946 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6948         * org-id.el: New file, move from contrib to core.
6950         * org-exp.el (org-icalendar-force-UID): New option.
6952 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6954         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6955         shifted by one day if theere is a date range without an end
6956         time.
6958         * org.el (org-try-structure-completion): New function.
6960 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6962         * org.el (org-set-font-lock-defaults): Improve fontification of
6963         description lists.
6964         (org-insert-item): Handle description lists.
6965         (org-adaptive-fill-function): Improve auto indentation in
6966         description lists.
6968         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6969         Implement VERSE environment.
6970         (org-export-preprocess-string): Implement the COMMENT
6971         environment.
6973         * org-export-latex.el (org-export-latex-preprocess): Implement
6974         VERSE environment.
6976 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6978         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6979         option.
6981 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6983         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6985         * org.el (org-quote-csv-field): New functions.
6987         * org-table.el (org-table-export-default-format): Remove :splice
6988         from default format, we get the same effect by not specifying
6989         :tstart and :tend.
6990         (org-table-export): Improve setup, distinguish better between
6991         interactive and non-interactive use, allow specifying the format
6992         on the fly, better protection against wrong file names.
6993         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6994         and :tend when :splice is omitted.
6996 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6998         * org-clock.el (org-clock-select-task): Make sure the selection
6999         letters are 1-9 and A-Z, no special characters.
7001 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7003         * org-exp.el (org-export-htmlize): New group.
7004         (org-export-htmlize-output-type)
7005         (org-export-htmlize-css-font-prefix): New options.
7006         (org-export-htmlize-region-for-paste): New function.
7007         (org-export-htmlize-generate-css): New command.
7009 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7011         * org/org.el (org-modules, org-format-latex-options):
7012         * org/org-archive.el (org-archive-stamp-time)
7013         (org-archive-save-context-info):
7014         * org/org-faces.el (org-hide):
7015         * org/org-irc.el (org-irc-parse-link):
7016         * org/org-macs.el (org-call-with-arg, org-autoload):
7017         * org/org-mew.el (org-mew-store-link):
7018         * org/org-remember.el (org-remember-store-without-prompt)
7019         (org-remember-templates): Fix typos in docstrings.
7021         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7023         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7024         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7025         (org-bbdb-anniv-split): Fix typos in docstrings.
7027         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7028         (org-publish-use-timestamps-flag): Reflow docstring.
7029         (org-publish-files-alist): Fix typos in docstring.
7031 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7033         * org.el (org-set-visibility-according-to-property): New function.
7034         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7035         and compute the regular expressions, and update font-lock.
7036         (org-property-re): Allow a dash in property names.
7038         * org-archive.el (org-extract-archive-file): Insert the file name
7039         without the path into the format, to allow the location format to
7040         contain a subdirectory.
7042         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7043         of buffer, and the `org-agenda-type' property undefined, use the
7044         value from the character before.
7046         * org.el (org-add-planning-info): Don't let indentation for
7047         would-be timestamp become extra whitespace at the end of headline.
7049 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7051         * org.el (org-remove-double-quotes, org-file-contents): New
7052         functions.
7054         * org-exp.el (org-infile-export-plist): Also parse the
7055         contents of #+SETUPFILE files, recursively.
7057         * org.el (org-set-regexps-and-options): Also parse the
7058         contents of #+SETUPFILE files, recursively.
7060         * org-exp.el (org-export-handle-include-files): New function.
7061         (org-export-preprocess-string): Call
7062         `org-export-handle-include-files'.
7064         * org.el (org-delete-property-globally)
7065         (org-delete-property, org-set-property): Ignore case during
7066         completion.
7067         (org-set-property): Use `org-completing-read' instead of
7068         `completing-read'.
7070         * org.el (org-complete-expand-structure-template): New,
7071         experimental function.
7072         (org-structure-template-alist): New, experimental option.
7073         (org-complete): Call `org-complete-expand-structure-template'.
7075 2008-05-06  Bastien Guerry  <bzg@altern.org>
7077         * org-export-latex.el (org-export-latex-preprocess): Added
7078         support for blockquotes.
7080 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7082         * org.el (org-read-date-analyze): Catch the case where only a
7083         weekday is given.
7085 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7087         * org.el (org-set-font-lock-defaults): Make the description
7088         tag bold.
7090         * org-exp.el (org-export-as-html, org-close-li): Implement
7091         description lists.
7093 2008-05-04  Jason Riedy  <jason@acm.org>
7095         * org-table.el (*orgtbl-default-fmt*): New variable.
7096         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7097         when there is no other fmt available.
7099         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7100         :tend to suppress the appropriate string.
7102         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7103         table.
7105 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7107         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7108         read date.
7110         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7111         New function.
7113         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7114         New function.
7116 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7118         * org-clock.el (org-clock-find-position): Don't include notes
7119         into clock drawer.
7121         * org-archive.el (org-archive-subtree): No longer remove an
7122         extra line after cutting the subtree.  `org-cut-subtree' already
7123         takes care of this.
7125         * org-remember.el (org-remember-handler): Only kill the target
7126         buffer if it does not contain the running clock.
7128         * org.el (org-markers-to-move): New variable.
7129         (org-save-markers-in-region, org-check-and-save-marker)
7130         (org-reinstall-markers-in-region): New function.
7131         (org-move-subtree-down, org-copy-subtree): Remember relative
7132         marker positions before cutting.
7133         (org-move-subtree-down, org-paste-subtree): Restore relative
7134         marker positions after pasting.
7136         * org-remember.el (org-remember-clock-out-on-exit): New option.
7137         (org-remember-finalize): Clock out only if the setting in
7138         `org-remember-clock-out-on-exit' requires it.
7139         (org-remember-handler): Do the cleanup in the buffer, to make sure
7140         that the clock marker remains in tact.
7142 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7144         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7145         (org-clock-in): Make sure that also tasks outside the narrowed
7146         region will be clocked in correctly.
7147         (org-clock-insert-selection-line): Widen the buffer so that we can
7148         find the correct task heading.
7150         * org.el (org-base-buffer): New function.
7152         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7153         and ";" are escaped.
7154         (org-print-icalendar-entries): Also apply
7155         `org-icalendar-cleanup-string' to the headline, not only to the
7156         summary property.
7158 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7160         * org-exp.el (org-export-preprocess-hook): New hook.
7161         (org-export-preprocess-string): Call
7162         `org-export-preprocess-hook'.
7164         * org.el (org-font-lock-hook): New variable.
7165         (org-font-lock-hook): New function.
7166         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7168 ;; Local Variables:
7169 ;; coding: utf-8
7170 ;; add-log-time-zone-rule: t
7171 ;; End:
7173     Copyright (C) 2008  Free Software Foundation, Inc.
7175   This file is part of GNU Emacs.
7177   GNU Emacs is free software: you can redistribute it and/or modify
7178   it under the terms of the GNU General Public License as published by
7179   the Free Software Foundation, either version 3 of the License, or
7180   (at your option) any later version.
7182   GNU Emacs is distributed in the hope that it will be useful,
7183   but WITHOUT ANY WARRANTY; without even the implied warranty of
7184   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7185   GNU General Public License for more details.
7187   You should have received a copy of the GNU General Public License
7188   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7190 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c