LaTeX export: Make inputenc coding system default to utf8
[org-mode.git] / lisp / ChangeLog
blobe79791a78b1ee5b39178513ccb5e26cb94b6fb97
1 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
4         AUTO as a coding system, instead default to utf8.
6 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
8         * org.el (org-block-todo-from-children-or-siblings-or-parent)
9         (org-block-todo-from-checkboxes): Respect the local variable
10         value when deciding if blocking should be active.
12         * org-latex.el (org-export-latex-make-header): Define the align
13         macro if it is not yet defined.
15         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
16         `org-insert-heading' with the INVISIBLE-OK argument.
18         * org-mac-message.el (org-mac-message-insert-flagged): Call
19         `org-insert-heading' with the INVISIBLE-OK argument.
21         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
23         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
24         prompt message.
26         * org-html.el (org-html-level-start): Use the
27         `html-container-class' text property to set an additional class
28         for an outline container.
30         * org-exp.el (org-export-remember-html-container-classes): New
31         function.
32         (org-export-preprocess-string): Call
33         `org-export-remember-html-container-classes'.
35         * org.el (org-cycle): Mention level cycling in the docstring.
36         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
38         * org-remember.el (org-remember-apply-template): Do file insertion
39         first.
41 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
43         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
44         problem with mis-aligned graphs when showing habits.
46 2010-01-28  Mikael Fornius  <mfo@abc.se>
48         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
49         when assigning. Begin using numerical characters when all in name
50         is used up. This is to spare alphanumeric characters for better
51         match with other keywords.
53 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
55         * org-exp.el (org-export-preprocess-hook): Improve documentation.
57         * org-latex.el (org-export-latex-preprocess): More consistent
58         conversion and protection of the words LaTeX and TeX.
59         (org-export-latex-fontify-headline, org-export-latex-preprocess):
60         Allow angle brackets in commands, for beamer.
62 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
64         * org-clock.el (org-clock-in): Improve the look of the clock line
65         by formatting links.
67 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
69         * org-latex.el (org-export-latex-classes): Use AUTO as the place
70         holder string for the coding system.  And improve the
71         documentation.
72         (org-export-latex-fix-inputenc): Only modify the coding system if
73         it is given by the placeholder AUTO.
75 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
77         * org-clock.el (org-task-overrun-text): New option.
78         (org-task-overrun, org-clock-update-period): New variables.
79         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
80         overrun clock.
81         (org-clock-notify-once-if-expired): Check if clock is overrun.
83         * org-faces.el: New face `org-mode-line-clock-overrun'.
85 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
87         * org.el (org-narrow-to-subtree): Position the end of the narrowed
88         region before the line with the next heading, to prevent the user
89         from prepending text to the next headline.
91 2010-01-20  Stephen Eglen  <stephen@gnu.org>
93         * org-agenda.el (org-get-time-of-day): Use
94         org-agenda-time-leading-zero to allow leading zero (rather than
95         space) for times.
97 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
99         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
100         org-datetree.el is loaded.
102         * org-datetree.el: autoload `org-datetree-find-day-create'
104         * org-latex.el (org-export-latex-hyperref-format): New option.
105         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
107 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
109         * org-ctags.el (org-ctags-enable): Change order of functions.
110         (org-ctags-create-tags): Add wildcard to file name expansion.
112 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
114         * org.el (org-entry-properties): Fix some important bugs.
116 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
118         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
119         the table is not explicitly given.
121 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
123         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
124         as value.
125         (org-clock-out-if-current): Work with the new list value of
126         `org-clock-out-when-done'.
127         (org-clock-out, org-clock-out-if-current): Avoid circular logic
128         between clocking out and state changes.
130         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
132         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
133         accident protect a character that is before a backslash.
135 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
137         * org-agenda.el (org-diary-class): Use
138         `org-order-calendar-date-args'.
140         * org.el (org-order-calendar-date-args): New function.
142         * org-exp.el (org-export-target-internal-links): Check for
143         protectedness after the first bracket.
145         * org.el (org-entry-properties): Don't match wrong-case TODO
146         keywords.
148         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
149         Document that ARG is passed through to remove the date.
150         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
151         not read a date when the user has given a `C-u' prefix.
153 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
155         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
156         tags are hidden.
158 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
160         * org-latex.el (org-export-latex-fix-inputenc): New function.
161         (org-export-latex-inputenc-alist): New option.
163         * org-exp.el (org-export): New key SPC to publish enclosing
164         subtree.
166 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
168         * org-indent.el (org-indent-add-properties): Catch case when there
169         is no headline in the buffer.
171 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
173         * org-exp.el (org-html-entities): Add checkmark symbol.
175         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
176         verbatim code for ASCII export.
178         * org.el (org-update-statistics-cookies): Also see checkboxes in
179         ordered lists.
181 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
183         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
184         key.
186         * org-beamer.el (org-beamer-amend-header): Change the location
187         where `org-beamer-header-extra' is inserted.
189         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
190         just for computing this regexp.
192 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
194         * org-beamer.el (org-beamer-frame-default-options): New option.
195         (org-beamer-sectioning): Use default options if the user does not
196         have defined any.
197         (org-beamer-fix-toc): Put a frame around the table of contents.
199         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
200         sure case-folding works well when processing comment stuff.
202         * org-latex.el (org-export-latex-after-save-hook): New hook.
203         (org-export-as-latex): Run the new hook.
205 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
207         * org-beamer.el (org-beamer-environments-default): Add the note
208         environments.
209         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
210         lines and collect and combine the content.
211         (org-beamer-after-initial-vars): Check for note tags and make sure
212         they will be seen like a property.
214         * org.el (org-offer-links-in-entry): Fix bug when there is a
215         single link.
217         * org-exp.el (org-export): Make sure the mark is activated, also
218         when `transient-mark-mode' is off.
220         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
221         (org-agenda-search-view-search-words-only): Obsolete variable, is
222         now an alias for `org-agenda-search-view-always-boolean'.
223         (org-agenda-search-view-force-full-words): New option.
224         (org-search-view): Improve docstring, and implement a better logic
225         for Boolean and phrase searches.
226         (org-agenda-last-search-view-search-was-boolean): New variable.
227         (org-agenda-manipulate-query): Consider the type of the last
228         search when modifying the search string.
230 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
232         * org-latex.el (org-export-as-latex): Do the first letbind in the
233         right moment.
235         * org-agenda.el (org-get-entries-from-diary): Add the new face to
236         these entries.
238         * org-faces.el (org-agenda-diary): New face.
240         * org.el (org-make-link-regexps): Allow regexp-special characters
241         in link types.
242         (org-open-file): When in-emacs is `system', also force system
243         opening, like when the value was `(16)'.
244         (org-update-statistics-cookies): Handle entries without children.
246         * org-exp.el
247         (org-export-preprocess-before-normalizing-links-hook): New hook.
248         (org-export-preprocess-string): Run the new hook.
250         * org.el (org-offer-links-in-entry): Make RET open all links.
252         * org-html.el (org-export-as-html): Remove any left-over display
253         properties in the html file.
255         * org-wl.el (org-wl-store-link): Work-around for format bug with
256         text properties.
258         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
259         invisibility while adding the graphs.
261 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
263         * org-remember.el (org-select-remember-template): Use C letter to
264         customize remember templates.
266         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
267         Move cursor to next visible line.
269 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
271         * org-beamer.el (org-beamer-sectioning): Leave columns environment
272         by specifying 0 or 1 for column width.
273         (org-beamer-column-widths): Make 0 stand for 0.0.
275 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
277         * org-exp.el (org-export-mark-radio-links): Don't match inside
278         <<target>>.
280         * org.el (org-format-latex-header-extra): New variable.
281         (org-format-latex): Set org-format-latex-header-extra from
282         in-buffer stuff.
283         (org-format-latex): Add org-format-latex-header-extra to the
284         variables on which image creation depends.
285         (org-create-formula-image): Add the header stuff from in-buffer
286         settings.
287         (org-read-date-analyze): Base the analysis for future preference
288         on NOW, not on the default date.
290         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
291         for TODO keyword in inline tasks.
293         * org.el (org-log-note-headings): New headings for removing
294         deadline or scheduling date.
295         (org-deadline, org-schedule): Arrange for logging when removing a
296         date.
297         (org-add-log-note): Handle deadline and scheduling removal.
299 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
301         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
303 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
305         * org-agenda.el (org-diary-class): New function.
307 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
309         * org-latex.el (org-export-latex-preprocess): Do process the text
310         of a radio target.
312 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
314         * org.el (org-entry-properties): Add TIMESTAMP properties back
315         in.
317 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
319         * org.el (org-all-time-keywords): New variable.
320         (org-set-regexps-and-options): Set `org-all-time-keywords'.
321         (org-entry-blocked-p): New function.
322         (org-special-properties): Add BLOCKED as a new special property.
323         (org-entry-properties): New optional argument SPECIFIC, only parse
324         for this property when it is specified.
325         (org-entry-get): Pass a SPECIFIC argument to
326         `org-entry-properties'.
328         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
330 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
332         * org-latex.el (org-export-latex-tables): No forced line end if
333         there is no caption.
335 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
337         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
338         package.
340         * org-latex.el (org-export-latex-tables): Only add a caption when
341         macro in in longtable environments if one has been defined.
343         * org-html.el (org-export-as-html): Only take title from buffer if
344         not exporting body-only.
346         * org-latex.el (org-export-latex-preprocess): Better version of
347         the regular expression for protecting LaTeX macros.
348         (org-export-latex-preprocess): Start searching for macros to
349         protect from beginning of buffer.
351         * org-exp.el (org-export-target-internal-links): Check for
352         protectedness earlier in the string.
354         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
355         case sensitively.
357         * org-id.el (org-id-store-link): Match TODO keywords case
358         sensitively.
360         * org.el (org-heading-components, org-get-outline-path)
361         (org-display-outline-path): Match TODO keywords case sensitively.
363         * org-latex.el (org-export-as-latex): Ignore read-only
364         properties.
366         * org-exp.el (org-export-preprocess-string): Remove any
367         `read-only' properties.
369         * org-agenda.el (org-agenda-inactive-leader): New option.
370         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
371         (org-tags-view): Prompt for matcher if MATCH is an empty string.
372         (org-todo-list): Prompt for matcher if ARG is an empty string.
374 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
376         * org.el (org-open-link-functions): New hook.
377         (org-open-at-point): Run `org-open-link-functions'.
379 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
381         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
382         stamps as well.
384         * org.el (org-inhibit-startup-visibility-stuff): New variable.
385         (org-mode): Don't do startup visibility if inhibited.
386         (org-outline-overlay-data, org-set-outline-overlay-data): New
387         functions.
388         (org-save-outline-visibility): New macro.
389         (org-log-note-headings): Document that one should not change the
390         `state' note format.
392 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
394         * org.el (org-make-link-regexps): Capture link path into a group.
396 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
398         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
399         the options plist.
401 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
403         * org.el (org-startup-with-beamer-mode): New option.
404         (org-property-changed-functions)
405         (org-property-allowed-value-functions): New hooks.
406         (org-entry-put, org-property-get-allowed-values): Run the new
407         hooks.
408         (org-property-next-allowed-value): Run the new hooks.
410         * org-exp.el (org-export-select-backend-specific-text): Add the
411         special beamer tags.
413         * org-beamer.el
414         (org-export-preprocess-before-selecting-backend-code-hook): New
415         file.
417         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
418         (org-export-as-latex): Run
419         `org-export-latex-after-initial-vars-hook'.
420         (org-export-latex-format-toc-function)
421         (org-export-latex-make-header): Call
422         `org-export-latex-format-toc-function'.
424         * org.el (org-fill-template): Make template searches case sensitive.
426         * org-exp.el (org-export): Use "1" as a sign to export only the
427         subtree.
429         * org-colview-xemacs.el (org-columns-edit-value): Use
430         org-unrestricted property.
432         * org-colview.el (org-columns-edit-value):  Use
433         org-unrestricted property.
435         * org.el (org-compute-property-at-point): Set org-unrestricted
436         text property if the list contains ":ETC".
437         (org-insert-property-drawer):  Use
438         org-unrestricted property.
440         * org-exp.el
441         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
442         (org-export-preprocess-string): Run
443         `org-export-preprocess-before-selecting-backend-code-hook'.
445         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
447         * org-latex.el (org-export-region-as-latex): Run
448         `org-export-first-hook'.
450         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
452         * org-docbook.el (org-export-as-docbook): Run
453         `org-export-first-hook'.
455         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
457         * org-exp.el (org-export-first-hook): New hook.
459 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
461         * org-list.el (org-previous-item): Exit at the beginning of the
462         buffer.
464         * org-id.el (org-id-locations-save): Only write the id locations
465         if any are defined.
467         * org-archive.el (org-archive-all-done): Make this work in a file
468         with org-odd-levels-only set.
470         * org.el (org-get-refile-targets): Catch the case when a buffer
471         has no file.
473         * org-latex.el (org-export-as-latex): Cleanup forced line ends
474         where they are not needed.
475         (org-export-latex-subcontent): Remove unnecessary newlines.
477 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
479         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
480         (org-export-latex-fontify): Fix regexp bug that takes special
481         care of protecting the right boundary characters in emphasis
482         matches.
483         (org-export-latex-preprocess): Allow multiple arguments to latex
484         macros.
486         * org.el (org-make-link-regexps): Use John Gruber's regexp for
487         urls.
489         * org-macs.el (org-re): Interpret :punct: in regexps.
491         * org-exp.el (org-export-replace-src-segments-and-examples): Also
492         take the final newline after the END line.
494         * org.el (org-clean-visibility-after-subtree-move): Only fix
495         entries that are not entirely invisible already.
496         (org-insert-link): Respect org-link-file-path-type for
497         "docview:" links in addition to "file:" links.
499 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
501         * org-exp.el (org-export-format-source-code-or-example): Avoid
502         additional extra white lines in LaTeX.
504         * org-list.el (org-list-parse-list): Leave empty lines after the
505         list, don't consider them as part of the list.
507         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
508         searches.
510         * org-clock.el (org-clock-select-task): Convert integer to
511         character for XEmacs.
513 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
515         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
516         compatible.
518 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
520         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
521         variable.
522         (org-set-tags): Use it.
524 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
526         * org-list.el (org-empty-line-terminates-plain-lists): Update
527         docstring.
529         * org.el (org-format-latex): Fix link creation for processed latex
530         snippets.
532 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
534         * org-footnote.el (org-footnote-normalize): Protect replacement
535         text.
537         * org.el (org-inside-latex-macro-p): Save match data.
539 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
541         * org-docview.el: New file.
543 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
545         * org-latex.el (org-export-latex-class-options): New variable.
546         (org-export-latex-set-initial-vars): Use the class options.
548         * org.el (org-forward-same-level): Stop at headings that start
549         with an invisible character.
550         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
552 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
554         * org-footnote.el (org-footnote-normalize): Don't take optional
555         arguments in LaTeX macros as footnotes.
557         * org.el (org-inside-latex-macro-p): New function.
559         * org-latex.el (org-latex-to-pdf-process): Change customization
560         group to `org-export-pdf'.
562         * org-agenda.el (org-agenda-get-blocks): Look at time string also
563         on days after the first one.
565         * org.el (org-insert-heading): Also check for item before assuming
566         before-first-heading condition.
568         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
569         (org-export-pdf-logfiles): New option.
570         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
571         (org-export-pdf-logfiles): Fix customization type.
573         * org.el (org-insert-link): Improve error message when there is no
574         default link to select with RET.
576         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
577         parameter list.
579 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
581         * org-latex.el (org-export-latex-parse-global)
582         (org-export-latex-parse-content)
583         (org-export-latex-parse-subcontent): Use
584         `org-re-search-forward-unprotected'.
585         (org-export-as-pdf): Remove log files produced by XeTeX.
587         * org-macs.el (org-re-search-forward-unprotected): New function.
589 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
591         * org-colview.el (org-agenda-colview-summarize): Sort out some
592         confusion between properties and titles, which resulted in
593         agenda summaries not working if a title was set for a column.
595 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
597         * org-mobile.el (org-mobile-agendas): New option.
598         (org-mobile-sumo-agenda-command): Select the right agendas.
600         * org-latex.el (org-export-latex-format-image): Preserve the
601         original-indentation property.
603 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
605         * org-clock.el (org-clock-insert-selection-line): Catch error when
606         an old tasks no longer exists.
608         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
609         (org-export-as-pdf): Don't remove the old PDF file before making
610         the new one.
612         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
613         (org-mouse-context-menu): Use `org-looking-back'.
615         * org.el (org-cycle-level): Use `org-looking-back'.
617         * org-list.el (org-cycle-item-indentation): Use
618         `org-looking-back'.
620         * org-compat.el (org-looking-back): New function.
622         * org.el (org-insert-heading): Catch before-first-headline when
623         inserting a headline.
625 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
627         * org-latex.el (org-export-latex-format-image): Indent figure
628         environment, so that it does not interrupt plain list.
630         * org.el (org-open-at-point): Allow long link descriptions.
632 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
634         * org-html.el (org-export-as-html): Remove empty lines at the
635         beginning of the exported text.
637 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
639         * org-protocol.el (org-protocol-remember): Cater for empty title,
640         region, link.
642         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
643         agenda after adding new entry.
644         (org-agenda-get-represented-tags): New function.
645         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
646         to get a list of tags in the agenda.
648         * org-datetree.el (org-datetree-find-day-create): Fix regular
649         expression.
651         * org.el (org-display-outline-path): Use a format specifier for
652         message, to avoid problems with heading containing `%'.
654         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
655         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
656         (org-agenda-fix-displayed-tags): New function.
657         (org-agenda-do-context-action): Just call
658         `org-display-outline-path', without piping the result through
659         `message'.
661         * org-latex.el (org-export-latex-preprocess): Protect secondary
662         footnote references.
664         * org-indent.el (org-indent-initialize): Avoid empty strings as
665         line prefixes.
667         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
668         hat checking for the mark does not throw an error.
669         (org-agenda-diary-entry-in-org-file): Catch the case that there is
670         not `day' text property in the cursor line.
672         * org.el (org-sort-entries-or-items): Make sure that the final
673         entry has a newline before doing the sorting.
675         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
676         property at the beginning of the line.
678         * org.el (org-make-link-string): Don't allow a description with
679         only white space.
681 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
683         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
684         (org-agenda-insert-diary-as-top-level): New function.
685         (org-agenda-add-entry-to-org-agenda-diary-file): Call
686         `org-agenda-insert-diary-as-top-level'.
688         * org.el (org-occur-in-agenda-files): Make sure none of the
689         buffers is narrowed.
690         (org-activate-plain-links): Add the face property here.
691         (org-set-font-lock-defaults): Do not add the face to plain links,
692         the activator function does this.
694         * org-habit.el (org-is-habit-p): Add doc string.
696 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
698         * org-archive.el (org-archive-subtree-default-with-confirmation):
699         Autoload.
701         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
702         after match optional (happens at the end of a line...).
704         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
705         for special blocks.
707         * org-faces.el (org-copy-face): Set lisp indentation.
708         (org-quote, org-verse): New faces.
710         * org-agenda.el (org-agenda-remove-date): Remove variable.
712 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
714         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
716 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
718         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
719         hash keys to cache and re-use images generated by the
720         org-exp-blocks interface to ditaa and dot.
722 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
724         * org-html.el (org-export-as-html): Move the home/up link into
725         the content div.
727         * org.el (org-export-latex-packages-alist): Option definition
728         moved here from org-latex.el.
730 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
732         * org.el (org-format-latex): Latex images are now saved to files
733         named by the sha1 hash of the latex source text avoiding
734         regeneration of identical images.
736 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
738         * org-html.el (org-export-html-home/up-format): Add an ID to the
739         up/home div.
741 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
743         * org-wl.el (org-wl-store-link): Handle the case that
744         `wl-use-petname' is set.
746         * org.el (org-set-effort): Improve prompt.
747         (org-get-outline-path): Widen to get full path.
748         (org-compact-display-after-subtree-move): Function removed.
750         * org-latex.el (org-export-as-latex): Add the :drawers property.
752 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
754         * org.el (org-speed-commands-user): Allow documentation headlines.
755         (org-speed-commands-default): Organize the value of this constant
756         with descriptive headlines.
757         (org-print-speed-command): Output the headlines.
759 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
761         * org-agenda.el (org-agenda-show-outline-path): New option.
762         (org-agenda-do-context-action): New function.
763         (org-agenda-next-line, org-agenda-previous-line): Use
764         `org-agenda-do-context-action'.
766         * org.el (org-use-speed-commands): Allow function value.
767         (org-speed-commands-default): Make headline motion safe, so that
768         these commands always end on a headline.
769         (org-speed-commands-default): New key `v' for `org-agenda'.
770         (org-speed-move-safe): New function.
771         (org-self-insert-command): Use the function value of
772         `org-use-speed-commands'.
773         (org-get-outline-path): Improve docstring.
774         (org-format-outline-path): New function.
775         (org-display-outline-path): New function.
777 2009-11-12  John Wiegley  <jwiegley@gmail.com>
779         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
780         a string, use that to find the LOGBOOK drawer.
782 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
784         * org.el (org-clone-subtree-with-time-shift): Make it work at the
785         end of the buffer.
787         * org-mobile.el (org-mobile-write-checksums): Specify coding
788         system.
789         (org-mobile-timestamp-buffer): Keep local variable/mode line at
790         beginning of buffer.
792         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
794         * org.el (org-block-todo-from-children-or-siblings-or-parent)
795         (org-block-todo-from-checkboxes): Do not block changes to a nil
796         TODO state.
798 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
800         * org-habit.el (org-habit-parse-todo): Indicate which habit is
801         wrongly set up in the error messages.
803         * org-colview.el (org-columns-display-here): Don't try to
804         calculate values if the underlying property is not set.
805         (org-columns-string-to-number): Convert age strings back into
806         fractional days.
807         (org-agenda-colview-summarize): Handle extended summary types
808         properly.
810         * org-colview-xemacs.el (org-columns-display-here): Don't try to
811         calculate values if the underlying property is not set.
812         (org-columns-string-to-number): Convert age strings back into
813         fractional days.
814         (org-agenda-colview-summarize): Handle extended summary types
815         properly.
817 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
819         * org-exp.el (org-export-format-drawer-function): New variable.
820         (org-export-format-drawer): New function.
821         (org-export-preprocess-string): Pass the backend as a parameter to
822         `org-export-remove-or-extract-drawers'.
823         (org-export-remove-or-extract-drawers): New parameter BACKEND.
825         * org-protocol.el (org-protocol-char-to-string): New defsubst.
827 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
829         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
830         message when no block is selected.
832         * org-latex.el (org-export-latex-links): Check for protectedness
833         in the last matched character, not after the match.
835         * org-datetree.el (org-datetree-find-date-create): Respect
836         restriction when KEEP-RESTRICTION is set.
837         (org-datetree-file-entry-under): New function.
838         (org-datetree-cleanup): New command.
840 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
842         * org-src.el (org-edit-src-code): New optional argument context
843         allows calling functions to avoid altering the saved window
844         configuration.
845         (org-edit-src-exit): Do not restore window configuration when this
846         function is used in the context of saving the edit buffer.
848 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
850         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
851         instances to switching to with-current-buffer, because these seem
852         to cause problems - no idea why.
854         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
855         Require diary-lib for (diary-date-display-form).
857         * org.el (org-log-reschedule, org-log-redeadline): New options.
858         (org-log-note-headings): Add templates for rescheduling and
859         deadline changing.
860         (org-startup-options): Add in-buffer settings for logging changing
861         schedule and deadline time stamps.
862         (org-deadline, org-schedule): Check for existing date and arrange
863         for logging if the user requests it.
864         (org-add-log-note): Prepare proper note buffers for rescheduling
865         and deadline changes.
867 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
869         * org-agenda.el (org-agenda-diary-entry-in-org-file)
870         (org-agenda-add-entry-to-org-agenda-diary-file)
871         (org-agenda-insert-diary-make-new-entry): New functions.
872         (org-agenda-diary-entry): Call
873         `org-agenda-diary-entry-in-org-file' when appropriate.
875         * org.el (org-calendar-insert-diary-entry-key): New option.
876         (org-agenda-diary-file): New option.
877         ("calendar"): Install our insertion function in the calendar.
879         * org-remember.el (org-datetree): Require.
880         (org-remember-templates): Add new positioning option.
881         (org-remember-reference-date): New variable.
882         (org-remember-apply-template): Store the reference date in a local
883         variable.
884         (org-remember-handler): Implement date tree positioning of entries.
886         * org-datetree.el: New file.
888         * org-latex.el (org-export-latex-preprocess): Protect targets in
889         verbatim emphasis.
891         * org-html.el (org-export-as-html): Protect targets in verbatim
892         emphasis.
894         * org-docbook.el (org-export-as-docbook): Protect targets in
895         verbatim emphasis.
897 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
899         * org.el (org-link-display-format): Should be literal replacement.
901 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
903         * org-clock.el (org-show-notification): Handle messages that
904         contain a percent character.
906         * org-remember.el (org-remember-apply-template): Turn of partial
907         completion.
909         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
910         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
912         * org.el (org-indent-mode): Define variable already in org.el.
913         (org-unfontify-region): Remove line-prefix and wrap-prefix
914         properties only if org-indent-mode is active.
916 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
918         * org-icalendar.el (org-print-icalendar-entries): Save match data
919         around call to verify function.
920         (org-print-icalendar-entries): Add a call to the verification
921         function.
923         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
924         save-restrivtion' form.
926 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
928         * org-exp.el (org-export-format-source-code-or-example): restrict
929         scope of preserve-indentp to the let binding.
930         (org-src): require org-src, since org-src-preserve-indentation is used.
932 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
934         * org-timer.el (org-timer-set-timer): Set variables
935         org-timer-timer[123] correctly.
938         * org-mobile.el (org-mobile-files-alist): Make it work when
939         `agenda-archives' is included in
940         `org-agenda-text-search-extra-files'.
941         (org-mobile-push): Restore agenda after mobile push.
943 2009-11-05  John Wiegley  <jwiegley@gmail.com>
945         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
946         way the amount of idle time is presented in the minibuffer.
948 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
950         * org-icalendar.el (org-print-icalendar-entries): Use
951         org-icalendar-verify-function only if non-nil.
953         * org.el (org-refile): Refile to clock only if the prefix arg is
954         2.
955         (org-sparse-tree): Fix docstring to be in line with prompt.
956         (org-update-parent-todo-statistics): Call
957         `org-after-todo-statistics-hook' on each level.
959 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
961         * org-remember.el (org-remember-apply-template): Make sure the
962         buffer exists.
964 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
966         * org.el (org-tab-ind-state): New variable.
967         (org-cycle-level): New function.
968         (org-cycle-level-after-item/entry-creation): New option.
969         (org-flag-subtree): New function.
970         (org-hide-archived-subtrees): Call `org-flag-subtree'.
971         (org-set-effort): Indexed access.
973         * org-list.el (org-cycle-item-indentation): New function.
975         * org.el (org-refile): Make prefix argument 2 refile to current
976         clock.
977         (org-priority): Interpret action `remove' as call to remove the
978         priority cookie.
980         * org-remember.el (org-remember-apply-template): Don't depend on
981         buffer name being like file name.
983 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
985         * org-clock.el (org-clock-play-sound): Expand file in
986         org-clock-sound, to allow ~ for home.
988         * org-remember.el (org-remember-handler): Set
989         text-before-node-creation even if this already looks like a node,
990         because the string might be needed on non-org-mode target files.
992         * org-agenda.el (org-agenda-open-link): Make this work in agenda
993         clocktables.
994         (org-agenda-switch-to): Follow a link at point if
995         org-return-follows-link' is set and there is nothing else to do in
996         this line.
998 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1000         * org-colview-xemacs.el: Add in changes from org-colview.el
1002 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1004         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1005         strings.
1007 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1009         * org-colview.el (org-columns-new): Make this work with the new
1010         operators.
1011         (org-columns-store-format): Make this work with the new operators.
1013 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1015         * org-src.el (org-src-preserve-indentation): Document that this
1016         variable is also used during export.
1018         * org-exp.el (org-export-format-source-code-or-example): Preserve
1019         indentation if a block has a -i option, or if
1020         `org-src-preserve-indentation' is set.
1022         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1023         indentation if a block has a -i option, or if
1024         `org-src-preserve-indentation' is set.
1026 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1028         * org.el (org-mode-map): Define the new archiving keys.
1029         (org-speed-commands-default): Define an archiving key in the speed
1030         command map.
1031         (org-org-menu): Improve the menu structure concerning archiving.
1033         * org-archive.el (org-archive-subtree-default-with-confirmation):
1034         New command.
1036         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1037         (org-agenda-menu): Add the new archiving commands to the menu.
1038         (org-agenda-archive-default)
1039         (org-agenda-archive-default-with-confirmation): New commands.
1040         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1041         call `org-agenda-archive-with'.
1042         (org-agenda-archive-with): New function.
1044         * org-table.el (org-table-convert-region): Inert spaces around "|"
1045         to avoid line beginnings like "|-1" which will be mistaken as
1046         hlines.
1048 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1050         * org.el (org-offer-links-in-entry): Return nil if there are no
1051         links, t if a link has been selected.
1052         (org-open-at-point): Open attachment directory when called in the
1053         headline and there are no links in the entry body.
1054         (org-speed-commands-default): Add "o" for open-at-point as a speed
1055         command.
1057         * org-attach.el (org-attach-reveal): Optional prefix arg
1058         IF-EXISTS, which avoids creating the attachment directory if it
1059         does not yet exist.
1061         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1062         MATCH.
1064 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1066         * org.el ("abbrev"): Work with abbrev tables only after they have
1067         been loaded.
1069         * org-list.el (org-list-send-list): Fix bug related to match
1070         data.
1072         * org-latex.el (org-export-latex-fontify): Apply verbatim
1073         emphasis.
1074         (org-export-latex-make-header): Insert \obeylines if line breaks
1075         should be preserved.
1077         * org-exp.el (org-export-protect-verbatim): Add an
1078         `org-verbatim-emph' property to such text.
1080 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1082         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1083         (org-print-icalendar-entries): Skip entries where the timestamp is
1084         not a deadline and not scheduled, if the user requests that.
1086         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1087         before an opening quote.
1089         * org-archive.el (org-archive-subtree): Keep archive after
1090         archiving something.
1092         * org-id.el (org-id-update-id-locations): Add archive files if
1093         that is required by `org-id-extra-files'.
1095 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1097         * org-src.el (org-src-window-setup): New option.
1098         (org-src-switch-to-buffer): New function.
1099         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1100         restore window configuration.
1101         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1102         Call `org-src-switch-to-buffer'.
1104         * org.el (org-default-properties): Add STYLE property.
1105         (org-files-list): Use the function call to get the files.
1106         (org-additional-option-like-keywords): Add SETUPFILE to completion
1107         list.
1109 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1111         * org-table.el (org-table-convert-region): Correctly interpret
1112         quoting in csv import.
1114         * org.el (org-icompleting-read): Make iswitchb completion work
1115         with lists and tables.
1117         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1118         while pushing the mobile agenda.
1120 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1122         * org-clock.el
1123         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1124         and `when-no-clock-is-running'.
1125         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1126         whether or not to resolve Org buffers on clock in.
1128 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1130         * org-colview.el (org-format-time-period): Function to format
1131         times in fractional days for display.
1132         (org-columns-display-here): Add support for showing a calculated
1133         value in place of the property.
1134         (org-columns): Set `org-columns-time' to the current time so time
1135         difference calculations will work.
1136         (org-columns-time): Use to store the current time when column view
1137         is displayed, so all time differences will use the same reference
1138         point.
1139         (org-columns-compile-map): There is now an extra position in each
1140         entry specifying the function to use to calculate the displayed
1141         value for the non-calculated properties in the column,
1142         (org-columns-compute-all): Set `org-columns-time' to the current
1143         time so time difference calculations will work.
1144         (org-columns-compute): Handle column operators where the values
1145         used are calculated from the underlying property.
1146         (org-columns-number-to-string): Handle the 'age' column format
1147         (org-columns-string-to-number): Correct the function name (was
1148         org-column...). Add support for the 'age' column format.
1149         (org-columns-compile-format): Support the additional parameter in
1150         org-columns-compile-map.
1152 2009-10-26  Bastien Guerry  <bzg@altern.org>
1154         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1155         variable.
1157 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1159         * org-clock.el (org-clock-has-been-used): New variable.
1160         (org-clock-in): Set `org-clock-has-been-used'.
1161         (org-clock-save): Save only if clock data has been used or created
1162         during this session.
1164 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1166         * org-clock.el (org-clock-persist): New value, to store only the
1167         clock history.
1168         (org-clock-save): Don't save the clock if only the history should
1169         be stored.
1170         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1171         when restoring a saved clock.
1173 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1175         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1176         `org-time-clock-use-fractional'.
1178         * org.el (org-time-clocksum-use-fractional)
1179         (org-time-clocksum-fractional-format): Two new customizable
1180         variables which allow the user to select fractional times (1.25
1181         instead of 1:25) in the `org-clock-display' report.
1183 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1185         * org-habit.el (org-habit-build-graph): None of the arguments
1186         should be optional.
1187         (org-habit-parse-todo, org-habit-deadline)
1188         (org-habit-get-priority, org-habit-get-faces)
1189         (org-habit-build-graph): Further simplifications by storing all
1190         past, scheduled and deadline dates as a number of days past the
1191         epoch, and not as times.
1193         * org-habit.el (org-habit-warning-face)
1194         (org-habit-warning-future-face): Removed because these are no
1195         longer used.
1196         (org-habit-deadline, org-habit-deadline-repeat): Now always
1197         returns a date; computed if there was a scheduled repeater but no
1198         deadline repeater.
1199         (org-habit-get-priority): Further improvements to the priority
1200         algorithm.  In particular, items past due should always appear
1201         before items due or not yet due.
1202         (org-habit-get-faces): Greatly simplified the logic, now that
1203         `org-habit-deadline' always returns a valid time.
1205 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1207         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1208         New option.
1210         * org.el (org-tag-alist): Fix customization type.
1212 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1214         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1215         Make sure the regexp search can fail without throwing an error.
1216         (org-mobile-apply): Save the inbox buffer after removing
1217         successfully applied changes.
1219 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1221         * org-habit.el (org-habit-build-graph): Fix to the graph building
1222         when last DONE date is earlier than `org-habit-preceding-days'.
1224         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1225         time is reported after the user comes back (but before they
1226         resolve time).
1228         * org.el (org-get-repeat): Change so that this function can be
1229         called with either `org-scheduled-string' or
1230         `org-deadline-string'.
1232         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1233         to find the scheduled date.
1235         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1236         `org-clock-disable-clock-resolution', since negatives don't sound
1237         good in customization variables.
1238         (org-clock-in): Don't use the auto-resolution logic if the user is
1239         clocking into a different task while an active clock is running.
1240         This then allows the default behavior of clocking out of the open
1241         task and then into the new task.
1243         * org-habit.el (org-habit-parse-todo): Generate an error if a
1244         habit has a scheduled repeat period < 1.
1245         (org-habit-get-faces): Fixes to the way that colors are computed.
1246         (org-habit-build-graph): The graph wasn't displaying beyond any
1247         day that had two completions in it.
1249         * org.el (org-modules): Made this variable more consistent, since
1250         it was referring to Org, OrgMode and Org-mode, whereas the docs
1251         for the variable always refer to Org-mode.
1253 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1255         * org.el (org-repeat-re): The changed org-repeat-re no longer
1256         matched simple +2d type repeaters. Fix it so it does.
1258 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1260         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1261         macro in the VERSE environment.
1263 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1265         * org-habit.el (org-habit-get-priority): A new function that
1266         determines the relative priority of a habit, based on how long
1267         past its scheduled date it is, and how near the deadline is.
1269         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1270         using `org-habit-get-priority'.
1272         * org-habit.el (org-habit-build-graph): Start displaying colors
1273         from the first scheduled date, if that date is earlier than the
1274         first completion date.
1276         * org-habit.el: Changed all "color" variables to faces, and made
1277         them appropriate for light and dark backgrounds.
1279         * org-habit.el (org-habit-duration-to-days): Made this function
1280         more general.
1281         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1283         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1284         habits, since they don't use DEADLINE anymore.
1286         * org.el (org-repeat-re, org-display-custom-time)
1287         (org-timestamp-change): Extended to support the new ".+N/N"
1288         syntax, used for habits.
1290         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1291         variable reference.
1293         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1294         modeline when habits are being displayed (if that module is being
1295         loaded).
1297 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1299         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1300         idle time using the xscreensaver extension.
1301         (org-user-idle-seconds): Use X11 idle time if available.
1303 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1305         * org-agenda.el (org-agenda-next-line): New command.
1306         (org-agenda-previous-line): New commands.
1307         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1308         commands.
1309         (org-agenda-follow-mode): Do the follow immediately if the mode is
1310         turned on here.
1311         (previous-line, next-line): Replace keys with the corresponding
1312         org functions.
1313         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1314         command.
1316         * org.el (org-icompleting-read): Turn off partial completion mode
1317         for the duration of this completion round.
1319         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1320         macros in author lines and similar stuff.
1322         * org.el (org-file-tags): Fix docstring.
1323         (org-get-buffer-tags): Add the #+FILETAGS tags.
1324         ("ecb"): Maks ecb show context after jumping into an Org file.
1326 2009-10-20  John Wiegley  <johnw@newartisans.com>
1328         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1329         graphs after everything else in the buffer has been setup.
1331 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1333         * org-mobile.el (org-mobile-apply): Count success and failure.
1335         * org.el (org-indent-line-function): Fix regexp replace problem.
1337 2009-10-19  John Wiegley  <johnw@newartisans.com>
1339         * org-clock.el (org-clock-disable-clock-resolution): New
1340         customization variable that disable automatic clock resolution on
1341         clock in.
1342         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1343         not automatically resolve anything.  This is does not affect
1344         idle-time resolution, however, if `org-clock-idle-time' is set.
1346 2009-10-19  John Wiegley  <johnw@newartisans.com>
1348         * org-habit.el: New file, which implements code to build a "habit
1349         consistency graph".
1351         * org-agenda.el (org-agenda-get-deadlines)
1352         (org-agenda-get-scheduled): Display consistency graphs when
1353         outputting habits into the agenda.  The graphs are always relative
1354         to the current time.
1355         (org-format-agenda-item): Added new parameter `habitp', which
1356         indicates whether we are formatting a habit or not.  Do not
1357         display "extra" leading information if habitp is true.
1359         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1360         leaders for repeat strings.
1361         (org-get-repeat): Now takes a string parameter `tagline', so the
1362         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1364 2009-10-19  John Wiegley  <johnw@newartisans.com>
1366         * org-agenda.el (org-agenda-auto-exclude-function): New
1367         customization variable for allowing the user to create an "auto
1368         exclusion" filter for doing context-aware auto tag filtering.
1369         (org-agenda-filter-by-tag): Changes to support the use of
1370         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1372 2009-10-18  John Wiegley  <johnw@newartisans.com>
1374         * org.el (org-files-list): Don't attempt to return a file name for
1375         Org buffers which have no associated file.
1377         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1379 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1381         * org-mobile.el (org-mobile-locate-entry): Interpret files
1382         relative to org-directory.
1383         (org-mobile-inbox-for-pull): Document the best location for this
1384         file.
1385         (org-mobile-check-setup): Verify `org-directory'.
1386         (org-mobile-create-index-file): Sort the files to be listed in
1387         index.org.
1389 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1391         * org.el (org-fast-tag-selection): Add a way to display a
1392         description for a tag group. This is done by adding a string to
1393         either the startgroup or endgroup cell.
1395 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1397         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1398         (org-emacs-idle-seconds): Use `org-float-time' instead of
1399         `time-to-seconds'
1401 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1403         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1404         type.
1406         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1407         the value of ARG when doing local cycling.
1409 2009-10-17  John Wiegley  <johnw@newartisans.com>
1411         * org-clock.el (org-clock-resolve-clock): If keeping or
1412         subtracting time results in a clock out at a time in the past, and
1413         if the resolution occurred due to idleness or invoking `M-x
1414         org-resolve-clocks', remember that past moment in time.  On the
1415         next clock in, the user will be prompted to see if they want to
1416         back-date their new clock to then.
1417         (org-clock-resolve): Do not jump the user to the location of a
1418         dangling clock if the resolution is occuring due to an idle
1419         timeout.  In that case there is typically only one dangling clock,
1420         the active one, and there is no value gained by shuffling their
1421         windows around to show it to them.  Being prompted to resolve an
1422         idle clock should be as inobtrusive as possible.
1423         (org-resolve-clocks-if-idle): New function that resolves only the
1424         currently active clock if the user has exceeded the time returned
1425         by `org-user-idle-seconds', based on the value of
1426         `org-clock-idle-time'.
1427         (org-clock-in): If, after resolving clocks,
1428         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1430         * org-clock.el (org-clock-resolve-clock): New function that
1431         resolves a clock to a specific time, closing or resuming as need
1432         be, and possibly even starting a new clock.
1433         (org-clock-resolve): New function used by `org-resolve-clocks'
1434         that sets up for the call to `org-clock-resolve-clock'.  It
1435         determines the time to resolve to based on a single-character
1436         selection from the user to either keep time, subtract away time or
1437         cancel the clock.
1438         (org-resolve-clocks): New user command which resolves dangling
1439         clocks -- that is, open but not active -- anywhere in the file
1440         list returned by `org-files-list'.
1441         (org-clock-in): Automatically resolve dangling clocks whenever a
1442         user clocks in.
1443         (org-clock-cancel): If the user cancels the solely clock in a
1444         LOGBOOK, remove the empty drawer.
1446         * org-clock.el (org-clock-idle-time): New user customizable option
1447         for detecting whether the user has left a clock idle.  Note: it is
1448         only used in this commit to test whether it's worthwhile to check
1449         OS X to get the Mac user's current idle time.  If the Emacs idle
1450         time is less than the value, the user hasn't been away long enough
1451         to be worth checking (a more expensive test than just getting
1452         Emacs idle time).
1453         (org-user-idle-seconds, org-mac-idle-seconds)
1454         (org-emacs-idle-seconds): This three functions, in conjunction
1455         with the user customization variable `org-clock-idle-time', return
1456         the number of seconds (as a floating point) that the user has been
1457         away from their Emacs (or, if running on OS X, their computer).
1459         * org-clock.el (org-find-open-clocks): New function that returns a
1460         list of all open clocks in the given FILE.  Note that each clock
1461         it returns is a cons cell of the format (MARKER . START-TIME).
1462         This "clock" value is used by several of the new clock module
1463         utility functions.
1464         (org-is-active-clock): New inline function which tests whether the
1465         given clock value is the same as the currently active clock.
1466         Returns non-nil if this is the case.
1467         (org-with-clock-position): New macro that evaluates FORMS with
1468         point in the buffer and at the position of the given clock.
1469         Changes to the current clock are global.
1470         (org-with-clock): New macro that evaluates FORMS with point in the
1471         buffer and at the position of the given clock.  However, changes
1472         to the current clock are local and have no effect on the user's
1473         active clock.  This allows, for example, far any clock to be
1474         cancelled without cancelling the active clock.
1475         (org-clock-clock-in): New inline function that switches the active
1476         clock to the given clock.  If either the argument RESUME, or the
1477         global `org-clock-in-resume', are non-nil, it will resume a clock
1478         that was previously left open.
1479         (org-clock-clock-out): New inline function that clocks out the
1480         given clock value without affecting the currently active clock.
1481         (org-clock-clock-cancel): New inline function that cancels the
1482         given clock value without affecting the currently active clock.
1484         * org-clock.el (org-clock-in): Before creating
1485         `org-clock-mode-line-timer', check to make sure an older timer is
1486         not currently running.
1487         (org-clock-out): Accept new third parameter `at-time', which
1488         permits a clock to be clocked out at a specific time.  Note that
1489         no attempt is made to verify that the clock out time is later than
1490         the clock in time.
1492         * org.el (org-files-list): New utility function for returning a
1493         list of all open org-mode buffers, plus all files used to build
1494         the agenda buffer.  Note that not all the files will necessarily
1495         be visited by a buffer at time of call.
1496         (org-entry-beginning-position): Like the function
1497         `line-beginning-position', this inline function returns the
1498         beginning position of the current heading/entry.
1499         (org-entry-end-position): Like the function `line-end-position',
1500         this inline function returns the end position of the current
1501         heading/entry.
1503 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1505         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1506         a header line.
1508 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1510         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1512 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1514         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1515         entries that have no tags.
1516         (org-agenda-search-view): New customize group.
1517         (org-agenda-search-view-search-words-only): New option.
1518         (org-search-view): Implement substring search.
1520 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1522         * org.el (org-outline-level): Add doc string.
1524 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1526         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1527         variable.
1528         (org-inlinetask-export-handler): Only export inline task if the
1529         user option calls for it.
1531 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1533         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1534         END if present.
1536 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1538         * org-latex.el (org-export-latex-tables): Don't format in
1539         protected regions.
1541 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1543         * org-src.el (org-edit-src-code)
1544         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1545         macro editing.
1547         * org-agenda.el (org-prefix-category-max-length): New variable.
1548         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1549         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1551 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1553         * org-mobile.el (org-mobile-create-index-file): Improve the
1554         listing of tags and todo keywords.
1556         * org-latex.el (org-export-latex-format-image): New function.
1557         (org-export-latex-links): Use `org-export-latex-format-image'.
1559 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1561         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1562         (org-inlinetask-remove-terminator): New functions.
1563         (org-inlinetask-export-handler): Terminate the description list.
1565         * org-exp.el (org-export-select-backend-specific-text): Remove the
1566         region markers.
1568         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1569         tasks without content.
1571         * org-clock.el: Make sure the clock-in target position does not
1572         move to a different node by widening the buffer.
1574         * org-html.el (org-export-html-format-image): Wrap image into
1575         figure div only when there is a caption.
1577         * org-archive.el (org-archive-mark-done): Change default value to
1578         nil.
1580 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1582         * org.el (org-context): Call `bobp', not `eobp'.
1584         * org-clock.el (org-clock-cancel): Remove quotes from marker
1585         variables.
1587         * org.el (org-read-date-prefer-future): New allowed value `time'.
1588         (org-read-date-analyze): Shift day to tomorrow depending on time
1589         entered and value of `org-read-date-prefer-future'.
1591 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1593         * org.el (org-set-tags-to): New command.
1595         * org-mobile.el (org-mobile-action-alist): Add more options and
1596         update the docstring.
1597         (org-mobile-apply-flags): Parse for and use the data.
1599         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1600         the plist.
1602         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1603         keyword.
1605         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1607 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1609         * org-inlinetask.el (org-inlinetask-export): Option removed.
1610         (org-inlinetask-export-handler): Better export.
1612         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1613         (org-export-as-xoxo): Run the new hook.
1615         * org-html.el (org-export-html-final-hook): New hook.
1616         (org-export-as-html): Run the new hook.
1618         * org-docbook.el (org-export-docbook-final-hook): New hook.
1619         (org-export-as-docbook): Run the new hook.
1621         * org-ascii.el (org-export-ascii-final-hook): New hook.
1622         (org-export-as-ascii): Run the new hook.
1624         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1625         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1627         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1628         space character as the character before the ^/_.
1629         (org-export-latex-final-hook): New hook.
1630         (org-export-as-latex): Run `org-export-latex-final-hook'.
1632 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1634         * org-macs.el (org-if-unprotected-at): Fix docstring.
1636         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1637         text in the prefix (if category is a link).
1639         * org-latex.el (org-export-latex-preprocess): Deal properly with
1640         empty lines in verse environments.
1642         * org.el (org-format-latex-header): Inline fullpage.sty.
1644         * org-footnote.el (org-footnote-create-definition): Reveal context
1645         to add a new footnote definition.
1647         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1648         the index file.
1649         (org-mobile-files): New option.
1650         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1651         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1652         functions.
1653         (org-mobile-push): Start by creating the files lists.
1654         (org-mobile-copy-agenda-files): Move killing the buffer to after
1655         the save-excursion has exited.
1656         (org-mobile-write-checksums): Write checksums also for files in
1657         sub-directories.
1659         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1660         org-table-recalculate when cursor is in TBLFM line.
1662         * org-list.el (org-renumber-ordered-list): Fix cursor position
1663         when bullet length has changed.
1665 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1667         * org.el (org-format-latex): Mention `org-format-latex-options' in
1668         the docstring.
1670 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1672         * org.el (org-agenda-get): New function.
1674         * org-agenda.el (org-agenda-post-command-hook): No longer move
1675         point away from end of line.
1676         (org-agenda-add-entry-text, org-agenda-collect-markers)
1677         (org-finalize-agenda, org-agenda-mark-clocking-task)
1678         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1679         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1680         (org-agenda-compare-effort, org-agenda-filter-apply)
1681         (org-agenda-later, org-agenda-change-time-span)
1682         (org-agenda-post-command-hook, org-agenda-show-priority)
1683         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1684         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1685         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1686         (org-agenda-open-link, org-agenda-copy-local-variable)
1687         (org-agenda-switch-to, org-agenda-check-no-diary)
1688         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1689         (org-agenda-add-note, org-agenda-change-all-lines)
1690         (org-agenda-priority, org-agenda-set-tags)
1691         (org-agenda-set-property, org-agenda-set-effort)
1692         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1693         (org-agenda-show-new-time, org-agenda-date-prompt)
1694         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1695         (org-agenda-clock-in, org-agenda-bulk-mark)
1696         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1697         `org-get-at-bol'.
1699         * org-colview.el (org-columns-display-here)
1700         (org-columns-edit-allowed, org-agenda-columns): Use
1701         `org-get-at-bol'.
1703 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1705         * org.el (org-special-ctrl-a/e): Improve documentation and
1706         customize type.
1707         (org-end-of-line): Don't jump to after the ellipsis.
1708         (org-mode-map): Bind <home> and <end> as well.
1710 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1712         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1713         space after #+ as comments.
1714         (org-open-at-point): Run `org-follow-link-hook' always.
1716         * org-latex.el (org-export-latex-emph-format): Use better commands
1717         to insert special characters in verbatim snippets.
1719 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1721         * org-faces.el (org-copy-face): New function.  Use it to create
1722         various faces formerly created by using `copy-face'.
1724         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1725         window dedicated.
1726         (org-agenda-quit): Kill the frame containing the agenda window if
1727         that frame was created for the agenda.
1729 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1731         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1732         stamp in the agenda.
1734 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1736         * org-mobile.el (org-mobile-create-index-file): Add the list of
1737         TODO keywords, and the list of drawers to the index file.
1739         * org-agenda.el (org-prepare-agenda): Reset
1740         `org-drawers-for-agenda'.
1741         (org-prepare-agenda): Uniquify list of drawers.
1743         * org.el (org-complex-heading-regexp-format): New variable.
1744         (org-set-regexps-and-options): Define
1745         `org-complex-heading-regexp-format'.
1746         (org-drawers-for-agenda): New variable.
1747         (org-map-entries): Bind `org-drawers-for-agenda'.
1748         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1750         * org-remember.el (org-go-to-remember-target)
1751         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1753 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1755         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1756         problem.
1758         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1759         the capture file, and make it non-configurable.
1761         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1762         always with `invisible-ok'.
1763         (org-store-link): No error when there is nothing to link to in the
1764         agenda.
1766         * org-list.el (org-update-checkbox-count): Insert changed cookie
1767         before the old, to avoid problems with invisibility at the end of
1768         the line.
1769         (org-update-checkbox-count): Insert changed cookie before the old,
1770         to avoid problems with invisibility at the end of the line.
1772         * org.el (org-sort-entries-or-items): Include the final newline.
1773         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1774         lines for fontification.
1775         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1776         (org-prepare-dblock): Store the current indentation of the BEGIN
1777         line.
1778         (org-update-dblock): Apply the indentation of the begin line to
1779         the rest of the block.
1780         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1781         (org-startup-folded): New allowed value `showeverything'.
1782         (org-startup-options): Add STARTUP keyword `showeverything'.
1783         (org-set-startup-visibility): Respect value `showeverything' in
1784         org-startup-folded.
1786 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1788         * org.el (org-closest-date): Fix issue with past preference.
1790         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1792         * org-archive.el (org-archive-set-tag)
1793         (org-archive-subtree-default): New commands.
1795         * org-mobile.el (org-mobile-create-index-file): Fix link to
1796         capture file.
1797         (org-mobile-copy-agenda-files): Create the capture file if it does
1798         not exist.
1800         * org-clock.el (org-clock-clocktable-default-properties): New
1801         option.
1802         (org-clock-report): Use
1803         `org-clock-clocktable-default-properties'.
1805 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1807         * org.el (org-iswitchb-completing-read): Fix typo.
1809         * org-crypt.el: New file.
1811         * org.el: Add an entry for org-crypt.
1813 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1815         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1816         consistency.
1817         (org-batch-store-agenda-views): New function.
1818         (org-mobile-force-id-on-agenda-items): Mention variable.
1819         (org-agenda-title-append): Define variable.
1820         (org-write-agenda): New export to Org files.
1821         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1822         (org-agenda): Allow to keep the restricted file list if a special
1823         variable is bound to t.
1824         (org-agenda): Define a special agenda view for working on flagged
1825         entries.
1826         (org-agenda-get-restriction-and-command): List the new agenda
1827         view.
1828         (org-agenda-show-the-flagging-note): New command.
1829         (org-agenda-mode-map): New key `?' for looking at the flagging
1830         note.
1832         * org.el (org-autoload): Autoload org-mobile.el.
1833         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1835         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1837 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1839         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1840         statements.
1841         (org-table-get-remote-range): Match indented #+TBLNAME
1842         statements.
1844         * org.el (org-convert-to-odd-levels)
1845         (org-convert-to-oddeven-levels): Work also correctly if the file
1846         is in outline-mode.
1848 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1850         * org.el (org-store-link): When in agenda buffer, link to
1851         referenced entry.
1852         (org-add-planning-info): Remove spaces at eol.
1854         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1855         property.
1857 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1859         * org-latex.el (org-export-latex-first-lines): Fix problem with
1860         LaTeX export of first line and selected subtree.
1862         * org.el (org-shifttab): Interpret arg differently when using only
1863         odd levels.
1865 2009-09-09  Bastien Guerry  <bzg@altern.org>
1867         * org.el (org-check-agenda-file): Use a more explicit message
1869 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1871         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1872         normal lines.
1874 2009-09-08  Bastien Guerry  <bzg@altern.org>
1876         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1877         prompt in the temporary window.
1879         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1880         prefix for marked entries in the agenda view.
1882 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1884         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1885         a way that prevents any trailing character from being displayed.
1887 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1889         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1890         menu.
1892         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1893         slow regexp match.
1895 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1897         * org-latex.el (org-export-latex-preprocess): Do not protect in
1898         the LaTeX header.
1900         * org-src.el (org-edit-src-save): Save window setup while saving.
1901         (org-edit-src-code): Use new buffer name construction scheme.
1903 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1905         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1906         variable.
1907         (org-agenda-entry-text-cleanup-hook): New hook.
1908         (org-agenda-get-some-entry-text): Remove matches of
1909         `org-agenda-entry-text-exclude-regexps' and run the hook
1910         `org-agenda-entry-text-cleanup-hook'.
1912         * org.el (org-offer-links-in-entry): New argument ZERO to
1913         implement a link with index zero.
1914         (org-cycle-show-empty-lines): Not keep empty line under header
1915         hidden.
1916         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1917         to nil for special completion.
1918         (org-store-link): Don't error before the first heading.
1920         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1921         `org-offer-links-in-entry'.
1923 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1925         * org-agenda.el (org-agenda-quit): Provide the window argument for
1926         `window-dedicated-p', Emacs 22 needs it.
1927         (org-format-agenda-item): If the category is a link, arrange for
1928         invisible text to replaced with spaces.
1929         (org-compile-prefix-format): Add the extra space.
1930         (org-prefix-category-length): New variable.
1932         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1933         references from TOC lines.
1935         * org.el (org-selected-window): New variable.
1937         * org-table.el (org-table-edit-formulas): Remember the selected
1938         window.
1939         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1940         that was originally selected.
1942         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1943         expansion of a macro for more macro definitions.
1945         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1946         invisibility overlay starts on the newline.
1948 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1950         * org-protocol.el (org-protocol-store-link)
1951         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1953         * org-compat.el (org-float-time): New function.
1955         * org.el (org-clock-update-time-maybe)
1956         (org-sort-entries-or-items, org-do-sort)
1957         (org-evaluate-time-range, org-time-string-to-seconds)
1958         (org-closed-in-range): Use `org-float-time'.
1960         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1961         (org-timer-seconds):  Use `org-float-time'.
1963         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1964         (org-clock-sum, org-dblock-write:clocktable)
1965         (org-clocktable-steps):  Use `org-float-time'.
1967         * org-agenda.el (org-agenda-last-marker-time)
1968         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1970         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1971         function.
1973         * org-exp.el (org-get-file-contents): Only protect lines that
1974         really need it.
1976         * org-html.el (require): Require cl for compilation.
1978         * org.el:  Avoid using `default-major-mode'.
1980         * org-plot.el (require): Require CL only at compile time.
1982         * org-exp.el (require): Require CL only at compile time.
1984         * org-agenda.el (org-agenda-quit): When the agenda window is
1985         dedicated, remove other windows before exiting, so that the frame
1986         really will be killed.
1988         * org-exp.el (org-export-handle-include-files): Reset START and
1989         END for each loop cycle.
1991 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1993         * org.el (org-eval-in-calendar): Use
1994         `org-select-frame-set-input-focus'.
1996         * org-compat.el (org-select-frame-set-input-focus): New function.
1998         * org.el (org-update-statistics-cookies): New function.
1999         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2001 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2003         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2004         after the local variables are set.
2006         * org-latex.el (org-export-latex-protect-amp): New function.
2007         (org-export-latex-links): Protect link ampersands in tables.
2009         * org-exp.el (org-export-select-backend-specific-text): Match in
2010         two steps, to avoid regexp problems.
2012         * org.el (org-offer-links-in-entry): Improve working with many and
2013         duplicate links.
2015         * org-agenda.el (org-agenda-show-1): Make more consistent with
2016         normal cycling.
2017         (org-agenda-cycle-show): Make more consistent with normal cycling.
2019         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2020         website.
2022 2009-08-30  Bastien Guerry  <bzg@altern.org>
2024         * org-latex.el (org-export-latex-first-lines): Bugfix.
2026 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2028         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2029         about new effort.
2031         * org.el (org-set-effort): New function.
2032         (org-mode-map): New key for effort setting command.
2034         * org-agenda.el (org-agenda): Keep window setup when calling
2035         agenda from within agenda window.
2036         (org-agenda-mode-map): New keys for effort setting commands.
2037         (org-agenda-menu): Add effort setting commands to menu.
2038         (org-agenda-set-property, org-agenda-set-effort): New functions.
2040         * org-latex.el (org-export-latex-tables): Fix
2041         `org-table-last-alignment' and `org-table-last-column-widths' if
2042         the first column has been removed.
2044 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2046         * org.el (org-remove-timestamp-with-keyword): Only remove in
2047         entry, not in subtree.
2049         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2050         emacs lisp.
2052         * org.el (org-open-at-point): When on headline, offer all strings
2053         in entry.
2055         * org-remember.el (org-remember-templates): Documentation fix.
2057         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2058         `org-get-last-sibling' instead of the outline versions of these
2059         functions.
2060         (org-get-last-sibling): New function.
2061         (org-refile): Use `org-get-next-sibling' instead of the outline
2062         version of this function.
2063         (org-clean-visibility-after-subtree-move): Use
2064         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2065         outline versions of these functions.
2067 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2069         * org-agenda.el (org-prepare-agenda): When creating a new frame
2070         for the agenda, make the window dedicated.
2072         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2074         * org-table.el (org-table-align): Change the order of reinsertion
2075         and deletion, to avoid problems with overlays following the table.
2077         * org.el (org-parse-time-string): Better error message.
2078         (org-show-subtree): Use org-end-of-subtree.
2080         * org-macs.el (org-goto-line): New defsubst.
2082         * org.el (org-open-file, org-change-tag-in-region)
2083         (org-fast-tag-show-exit): Don't use `goto-line'.
2085         * org-table.el (org-table-align, org-table-insert-column)
2086         (org-table-delete-column, org-table-move-column)
2087         (org-table-sort-lines, org-table-copy-region)
2088         (org-table-paste-rectangle, org-table-wrap-region)
2089         (org-table-get-specials, org-table-rotate-recalc-marks)
2090         (org-table-get-range, org-table-recalculate)
2091         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2092         (org-table-show-reference, org-table-highlight-rectangle): Don't
2093         use `goto-line'.
2095         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2096         (org-edit-src-exit): Don't use `goto-line'.
2098         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2100         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2101         Don't use `goto-line'.
2103         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2105         * org-colview.el (org-columns, org-columns-redo)
2106         (org-agenda-columns): Don't use `goto-line'.
2108         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2109         use `goto-line'.
2111         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2112         (org-agenda-add-entry-text-maxlines): Improve docstring.
2113         (org-agenda-start-with-entry-text-mode): New option.
2114         (org-agenda-entry-text-maxlines): New option.
2115         (org-agenda-entry-text-mode): New variable.
2116         (org-agenda-mode): Set initial value of
2117         `org-agenda-entry-text-mode'.
2118         (org-agenda-mode-map): Add the `E' key.
2119         (org-agenda-menu): Add entry text mode to the menu.
2120         (org-agenda-get-some-entry-text): Fix line count bug.
2121         (org-finalize-agenda): Apply entry text mode if appropriate.
2122         (org-agenda-entry-text-show-here): New function.
2123         (org-agenda-entry-text-show): New function.
2124         (org-agenda-entry-text-hide): New function.
2125         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2126         key menu.
2127         (org-agenda-entry-text-mode): New command.
2128         (org-agenda-set-mode-name): Add entry text mode to the mode line
2129         string.
2130         (org-agenda-undo, org-agenda-get-restriction-and-command)
2131         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2132         `goto-line'.
2134 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2136         * org-clock.el (org-notify): Bugfix.
2138 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2140         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2141         check for after-string.
2143         * org-gnus.el (org-gnus-store-link): Simplify.
2145         * org.el (org-latex-regexps): Don't add extra empty lines for
2146         display formulas.
2148 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2150         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2151         (org-agenda-add-entry-text): Use
2152         `org-agenda-get-some-entry-text'.
2154         * org.el (org-cycle-separator-lines): Update docstring.
2155         (org-cycle-show-empty-lines): Handle negative values for
2156         `org-cycle-show-empty-lines'.
2158         * org-exp.el (org-export-protect-sub-super): New function.
2159         (org-export-normalize-links): Protect the url of plain links from
2160         supscript and superscript processing.
2162         * org-remember.el (org-remember-escaped-%): New function.
2163         (org-remember-apply-template): Use `org-remember-escaped-%' to
2164         detect escaped % signs.
2166 2009-08-23  Bastien Guerry  <bzg@altern.org>
2168         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2169         sound when showing the notification.
2171         * org-clock.el (org-notify): New function.
2172         (org-clock-notify-once-if-expired): Use `org-notify'.
2174         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2175         and `gnus-article-mode' separately.
2176         (gnus-summary-article-header): Fix the declare-function.
2178 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2180         * org-exp.el (org-export-format-source-code-or-example): Translate
2181         language.
2183         * org-src.el (org-src-lang-modes): New variable
2184         (org-edit-src-code): Translate language.
2186         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2187         the new structure of the `org-export-latex-listings-langs'
2188         variable.
2190         * org-latex.el (org-export-latex-listings-langs): Change structure
2191         of the variable from plist to alist.
2193 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2195         * org.el (org-in-commented-line): New function.
2197 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2199         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2201 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2203         * org.el (org-flag-drawer): More useful error.
2205 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2207         * org-remember.el (org-remember-apply-template): Use
2208         org-icompleting-read.
2210         * org-publish.el (org-publish): Use org-icompleting-read.
2212         * org-colview.el (org-columns-edit-value, org-columns-new)
2213         (org-insert-columns-dblock): Use org-icompleting-read.
2215         * org-colview-xemacs.el (org-columns-edit-value)
2216         (org-columns-new, org-insert-columns-dblock): Use
2217         org-icompleting-read.
2219         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2220         org-icompleting-read.
2222 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2224         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2225         (org-version): Return the version text.
2226         (org-org-menu): Add a menu entry for the new bug reporter.
2227         (org-submit-bug-report): New command.
2229         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2230         docstring.
2232         * org.el (org-emphasis-regexp-components): Add "`" to set of
2233         pre-emphasis characters.
2235         * org-latex.el (org-export-latex-classes): Always include the soul
2236         package.
2237         (org-export-latex-emphasis-alist): Use \st for strikethough.
2239         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2240         `indent-code-rigidly' to indent.
2242         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2243         properties only if MATCH really is a string.
2245 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2247         * org-latex.el (org-export-latex-packages-alist): Fix
2248         customization type.
2250         * org.el (org-create-formula-image): Also use
2251         `org-export-latex-packages-alist'.
2253         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2254         (org-export-as-html): Format footnotes correctly.
2256 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2258         * org.el (org-fast-tag-selection): Avoid text properties on tags
2259         in the alist.
2261         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2262         text properties on the match element.
2264 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2266         * org.el (org-set-regexps-and-options): Make sure the list of done
2267         keywords is not invalid.
2269         * org-exp.el (org-export-interpolate-newlines): New function.
2271 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2273         * org.el (org-format-latex): Avoid nested overlays.
2275         * org-latex.el (org-export-latex-listings-langs): Add a few more
2276         languages.
2278         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2279         ignore newlines and space before the first macro argument.
2281         * org-latex.el (org-export-latex-tables): Remove save-excursion
2282         around `org-table-align'.
2284 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2286         * org.el (org-export-html-special-string-regexps): Definition
2287         moved into org.el
2289         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2290         in macro calls.
2292 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2294         * org-latex.el (org-export-latex-listings)
2295         (org-export-latex-listings-langs): New options.
2297         * org-exp.el (org-export-format-source-code-or-example): Use
2298         listing package if requested by the user.
2300 2009-08-08  Bastien Guerry  <bzg@altern.org>
2302         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2303         command before actually switching to a buffer.
2305 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2307         * org-exp.el (org-get-file-contents): Only quote org lines when
2308         the markup is src or example.
2310         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2311         New option
2312         (org-agenda-get-day-entries): Remember deadline results and pass
2313         them on into the function getting the scheduling information.
2314         (org-agenda-get-scheduled): Accept deadline results as parameters
2315         and maybe skip some entries.
2316         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2318         * org.el (org-insert-heading): When respecting content, do not
2319         convert current line to headline.
2321         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2322         cheeeeeck the hd marker
2323         (org-clock-in): Also set the hd marker.
2324         (org-clock-out): Also set the hd marker.
2325         (org-clock-cancel): Reset markers.
2327         * org.el (org-clock-hd-marker): New marker.
2329         * org-faces.el (org-agenda-clocking): New face.
2331         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2332         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2334         * org.el (org-modules): Add org-track.el.
2336         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2337         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2338         `org-agenda-bulk-marked-p'.
2339         (org-agenda-bulk-toggle): New command.
2341 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2343         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2344         not just the body.
2346         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2347         messages.
2349 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2351         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2352         before gnuplot can read it.
2354 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2356         * org-latex.el (org-export-latex-first-lines): Fix bug with
2357         finding the end of the first lines.
2359         * org.el (org-create-formula-image): Remove the -E option for
2360         dvipng.
2362         * org-exp.el (org-default-export-plist): Respect #+BIND.
2363         (org-export-confirm-letbind): New function.
2365         * org.el (org-paste-subtree): Test the kill ring entry if it is
2366         going to be used.
2367         (org-copy-subtree): Use `org-forward-same-level'.
2368         (org-forward-same-level): Respect the `invisibe-ok' arg for
2369         back-to-heading.
2371 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2373         * org.el (org-table-map-tables): Make sure cursor is back at table
2374         beginning after funcall.
2376         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2377         handled before children, and do not error if an entry is not
2378         found, probably because it hase been remove when the parent was
2379         archived or refiled.
2381         * org.el (org-ido-completing-read): Accept straight lists for
2382         completion as well as alists.
2384         * org-html.el (org-export-as-html): Fix parenthesis error in
2385         footnore code.
2387         * org-timer.el (org-timer-cancel-timers): Renamed from
2388         `org-timer-cancel-timers'.
2390         * org.el (org-cycle-internal-local): Fix problem with finding next
2391         invisible line.
2393 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2395         * org-list.el (org-list-send-list): Call
2396         `org-list-goto-true-beginning' instead of
2397         `org-list-find-true-beginning', which does not exist.
2399         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2400         (org-timer-set-timer): Do not assign to heading.
2402         * org-id.el (org-id-open): Quote function name.
2404         * org-macs.el (org-unmodified): Turn off recording undo
2405         information while running inside the macro.
2407         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2408         variable.
2409         (org-indent-mode): Remember and restore value of
2410         org-hide-leading-stars before `org-indent-mode'.
2412         * org-table.el (org-table-export): Also work in file-less
2413         buffers.
2415         * org.el (org-startup-indented): New option.
2416         (org-startup-options): Add new options indent and noindent.
2417         (org-unfontify-region): Remove line-prefix and wrap-prefix
2418         properties.
2419         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2420         hooks.
2421         (org-promote, org-demote): Run the new hooks.
2423         * org-table.el (org-table-align): Replace leading \n as well.
2425         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2426         and `line-wrap' text properties.
2428         * org-compat.el (org-kill-new): New function.
2430         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2431         `line-wrap' text properties.
2433         * org-indent.el: New file.
2435 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2437         * org.el (org-provide-todo-statistics): Tweak docstring.
2439         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2441 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2443         * org-exp.el (org-export-as-org): Insert the "-source" string
2444         before the extension.
2446         * org.el (org-read-date): Make sure the calendar is in the current
2447         frame.
2448         (org-set-emph-re): Remove the ? from the post-match.
2449         (org-emphasis-regexp-components): Add backslash to the
2450         postmatch class.
2451         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2452         optional so that also lines at the end of the buffers will still
2453         be matched as headlines.
2455         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2456         Variable made obsolete.
2457         (org-table-relative-ref-may-cross-hline): New option.
2458         (org-table-find-row-type): Honow the new option
2459         `org-table-relative-ref-may-cross-hline'.
2461 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2463         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2464         on single field if no active region.
2466 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2468         * org-latex.el (org-export-latex-make-header): Only insert title
2469         if one is defined.
2471         * org.el (org-make-options-regexp): Allow empty values.
2473         * org-html.el (org-export-as-html): Move hrule detection to after
2474         plain list handling.
2476 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2478         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2480 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2482         * org.el (org-cycle-internal-local): Improved version of finding
2483         next visible line.
2484         (org-cycle-hide-drawers): Only hide drawers if this is really
2485         necessary.
2486         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2487         org-version of this function in Org-mode.  We use advice to
2488         implement this change, so that future changes to this function in
2489         outline.el wil be handled properly.
2490         (org-forward-same-level, org-backward-same-level): New commands.
2492 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2494         * org.el (org-remove-empty-overlays-at)
2495         (org-clean-visibility-after-subtree-move): New functons.
2496         (org-move-subtree-down): Simplify cleanup of display.
2498 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2500         * org-mac-message.el (org-mac-message-get-links): Improve
2501         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2502         "s".  Fix the return value.
2503         (org-mac-message-insert-flagged): Simplify.
2505         * org.el (org-refile-get-location): Tamper with refile history o
2506         that history contains compete matches instead of the entered
2507         string.
2509 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2511         * org.el (org-store-link): Never store a link to an inline task.
2513         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2515         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2516         inline tasks when positioning footnotes.
2518         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2519         function.
2521         * org.el (org-refile): Remove the END line when archiving an
2522         inline task that does have an END line.
2524         * org-archive.el (org-archive-subtree): Remove the END line when
2525         archiving an inline task that does have an END line.
2527         * org-macs.el (org-with-limited-levels): New macro.
2528         (org-get-limited-outline-regexp): New function.
2530         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2531         that did not enumerate first line.
2532         (org-export-mark-radio-links): Skip matches in links.
2534 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2536         * org.el (org-activate-plain-links): Make single-match.
2537         (org-adapt-indentation): Fix docstring.
2539         * org-macs.el (org-unmodified): Turn of modification hooks while
2540         running this macro.
2542 2009-08-02  Bastien Guerry  <bzg@altern.org>
2544         * org.el (org-adapt-indentation): Slightly improve the docstring.
2545         (org-occur): Sends an error when the user inputs an empty string.
2546         (org-priority): Bugfix: the tag alignement should happen within
2547         save-excursion.
2549 2009-07-31  Bastien Guerry  <bzg@altern.org>
2551         * org.el (org-make-link-regexps): Don't exclude parentheses from
2552         `org-plain-link-re'
2553         (org-cycle-internal-local): When locally cycling, switch directly
2554         from CHILDREN to FOLDED if there is no subtree
2555         (org-cycle): Update the docstring to document the new behavior of
2556         `org-cycle-internal-local'.
2558 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2560         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2561         an abbreviated format for days.
2563 2009-07-27  Bastien Guerry  <bzg@altern.org>
2565         * org-protocol.el (org-protocol-default-template-key): New
2566         option.
2568         * org.el (org-refile): Bugfix: save-excursion before reading the
2569         refile target, otherwise cursor moves might confuse `org-refile'.
2571         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2572         footnote reference before the footnote itself.
2574         * org.el (org-toggle-heading): Bugfix: correctly convert list
2575         items before the first headline.
2577         * org-html.el (org-export-html-footnote-format): New option for
2578         formatting the footnote reference.
2579         (org-export-as-html): Use the new option.
2581         * org.el (org-provide-todo-statistics): Allow a list of TODO
2582         keywords to compute statistics against headlines containing a
2583         keyword from this list.
2584         (org-update-parent-todo-statistics): Possibly use the new allowed
2585         value of `org-provide-todo-statistics'.
2587 2009-07-26  Bastien Guerry  <bzg@altern.org>
2589         * org-timer.el: Add autoload cookie.
2591         * org.el (org-occur-link-in-agenda-files): New function.
2593         * org-timer.el (org-timer-last-timer): New variable.
2595         * org-agenda.el (org-agenda-mode-map): New key for
2596         org-timer-set-timer called from the agenda.
2598         * org.el (org-mode-map): New key for org-timer-set-timer.
2600         * org-timer.el (org-timer-reset-timers)
2601         (org-timer-show-remaining-time, org-timer-set-timer): New
2602         functions.
2604         * org-clock.el (org-show-notification): Update the docstring.
2606         * org.el (org-provide-todo-statistics): Allow new value
2607         'all-headlines for this option, which includes entries with no
2608         TODO keywords in the todo statistics.
2609         (org-update-parent-todo-statistics): Possibly use the new
2610         'all-headline value from `org-provide-todo-statistics'.
2612 2009-07-25  Bastien Guerry  <bzg@altern.org>
2614         * org-clock.el (org-dblock-write:clocktable): Add a new option
2615         :timestamp which allows display of timestamps in clock reports.
2617         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2618         list to a subtree, preserving the structure of the list.
2619         (org-set-emph-re): Make the last element optional in the regexp.
2620         This regexp now matches an emphasized string at the end of a line.
2622         * org-list.el (org-list-goto-true-beginning)
2623         (org-list-make-subtree, org-list-make-subtrees): New functions.
2625         * org.el (org-eval-in-calendar): Select the right frame.
2626         (org-save-frame-excursion): Remove this macro.
2628 2009-07-24  Bastien Guerry  <bzg@altern.org>
2630         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2631         trying to find the beginning of a list.
2633         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2634         When present, tell org-get-file-contents not to protect org-like
2635         lines.
2637         * org-id.el (org-id-uuid-program): New option to set the name of
2638         the uuidgen program.
2639         (org-id-method): Use `org-id-uuid-program'.
2640         (org-id-new): Use `org-id-uuid-program'.
2642 2009-07-23  Bastien Guerry  <bzg@altern.org>
2644         * org-exp.el (org-export-number-lines): Allow whitespace in code
2645         references.  Allow the -r switch to remove the references in the
2646         source code even when the lines are not numbered: the labels can
2647         be explicit enough.
2649         * org.el (org-fontify-whole-heading-line): New option.
2650         (org-set-font-lock-defaults): Use the new option.
2652         * org-clock.el (org-show-notification-handler): New option.
2653         (org-show-notification): Use the new option.
2655 2009-07-21  Bastien Guerry  <bzg@altern.org>
2657         * org.el (org-eval-in-calendar): Fix a bug about calendar
2658         navigation when `calendar-setup' value is 'calendar-only.
2660 2009-07-19  Bastien Guerry  <bzg@altern.org>
2662         * org.el (orgstruct++-mode): Fix typo in docstring.
2663         (org-insert-link): Clean up: (or (...)) => (...)
2664         (org-insert-link): Use TAB for stored links completion.
2666 2009-07-18  Bastien Guerry  <bzg@altern.org>
2668         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2669         building the list of targets.
2671         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2672         option.
2673         (org-remember-handler): Use the new option.
2675 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2677         * org.el (org-tags-sort-function): New option for sorting tags.
2678         (org-set-tags): Use the new option to sort tags.
2680         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2681         premature deletion of the data when using org-plot in a script.
2683 2009-07-17  Bastien Guerry  <bzg@altern.org>
2685         * org-clock.el (org-clock-in-prepare-hook): New hook.
2686         (org-clock-in): Use this new hook.
2688 2009-07-16  Bastien Guerry  <bzg@altern.org>
2690         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2691         'reversed for this option to the "true line boundary first"
2692         behavior.
2693         (org-tags-match-list-sublevels): Document the 'indented value for
2694         this variable.
2696         * org-latex.el (org-export-latex-first-lines): Fix problem with
2697         publishing the region.
2699         * org-exp.el (org-export-format-source-code-or-example): Fix
2700         bad line numbering when exporting examples in HTML.
2702         * org-colview.el (org-format-time-period): Formats a time in
2703         fractional days as days, hours, mins, seconds.
2704         (org-columns-display-here): Add special handling for SINCE and
2705         SINCE_IA to format for display.
2707 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2709         * org.el (org-tags-sort-function): Add custom declaration for tags
2710         sorting function.
2711         (org-set-tags): Sort tags if org-tags-sort-function is set
2713 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2715         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2717         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2719         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2720         option.
2722 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2724         * org-publish.el (org-publish-remove-all-timestamps): New function.
2725         (org-publish-all): Remove all timestamp files if `org-publish-all'
2726         is called with a prefix argument.
2728         * org-list.el (org-indent-item): Fix typo.
2729         (org-item-indent-positions): Normalize ordered bullet.
2731         * org-html.el (org-export-html-home/up-format): New option.
2732         (org-export-as-html): Insert the up and HOME links.
2734 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2736         * org-html.el (org-export-as-html): Insert the title into the
2737         option plist.
2738         (org-export-html-insert-plist-item): New function.
2739         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2741         * org-macs.el (org-set-local): Make a local variable, do not make
2742         the variable buffer-local!
2744         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2746         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2748         * org-docbook.el (org-export-as-docbook): Call
2749         `org-install-letbind'.
2751         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2753         * org-exp.el (org-infile-export-plist): Read BIND lines.
2754         (org-install-letbind): New function.
2755         (org-export-as-org, org-export-preprocess-string): Call
2756         `org-install-letbind'.
2758         * org-src.el (org-edit-src-exit): Untabify the example before
2759         returning to Org.
2761         * org-list.el (org-list-demote-modify-bullet): New option.
2762         (org-first-list-item-p): Save point.
2763         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2764         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2765         (org-item-indent-positions): Return bullet types along with
2766         indentation.
2768 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2770         * org.el (org-show-entry): Hide drawers.
2772 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2774         * org-footnote.el (org-footnote-auto-adjust): New option.
2775         (org-footnote-auto-adjust-maybe): New function.
2776         (org-footnote-new, org-footnote-delete): Call
2777         `org-footnote-auto-adjust-maybe'.
2779         * org.el (org-startup-options): Add new footnote-related
2780         keywords.
2782         * org-publish.el (org-publish-timestamp-filename): Additional
2783         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2784         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2785         TRUE-PUB-DIR.  Pass them through to
2786         `org-publish-timestamp-filename'.
2787         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2788         PUB-FUNC, which are included in the hash.
2789         (org-publish-file): Delay timestamp test until the publishing
2790         function is known.
2792 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2794         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2795         setting the deadline.
2797         * org.el (org-read-date-final-answer): New variable.
2798         (org-read-date): Store the final answer string, including the date
2799         from the calendar, for reuse by agenda bulk commands.
2801         * org-publish.el (org-publish-attachment): Fix publishing of
2802         attachments.
2804         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2805         quotation makrs in parenthesis.
2806         (org-remove-initial-hash): New function.
2807         (org-export-latex-preprocess): Fix bug with infinite loop if
2808         environment is not properly closed.
2810         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2811         when indented.
2813         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2814         highlight also when indented.
2816 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2818         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2819         (org-footnote-action): Offer renumbering.
2821         * org.el (org-cycle): Honor the `integrate' value of
2822         org-cycle-include-plain-lists'.
2824         * org-list.el (org-cycle-include-plain-lists): New allowed value
2825         `internal'.  Improve the docstring.
2827         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2828         regexp to work better with LaTeX commands.
2830 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2832         * org-feed.el (org-feed-update): fix problem with non-existing
2833         buffer.
2834         (org-feed-skip-http-headers): New function.
2835         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2836         (org-feed-get-feed): Fix command line arguments for curl.
2838 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2840         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2841         and eps extensions.
2843 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2845         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2846         loaded.
2848         * org.el (org-map-entries): No longer force
2849         `org-tags-match-list-sublevels' to t during a todo-only tags
2850         search.
2852 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2854         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2855         environment.
2856         (org-export-latex-subcontent): Handle user-defined environment.
2858         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2859         the View dispatcher.
2861         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2862         `make-overlay'.
2864         * org-latex.el (org-export-as-pdf): Protect match data during call
2865         to shell-quote-argument.
2867         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2868         (org-agenda-view-mode-dispatch): New function.
2870 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2872         * org-agenda.el (org-agenda-mode): Reset list of marks.
2873         (org-agenda-mode-map): Define new keys for refile and bulk action.
2874         (org-agenda-menu): Add menu itesm for refile and bulk action.
2875         (org-agenda-refile): New function.
2876         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2877         (org-agenda-marked-entries): New variable.
2878         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2879         (org-agenda-remove-all-bulk-action-marks)
2880         (org-agenda-bulk-action): New functions/commands.
2882 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2884         * org-exp.el (org-get-file-contents): Protect org-like lines in
2885         included files.
2886         (org-export-format-source-code-or-example): Remove newlines.
2888         * org-latex.el (org-export-latex-links): Check for no-description
2889         marking.
2891         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2892         argument separator back to comma.
2893         (org-export-normalize-links): Mark links without description.
2895 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2897         * org-exp.el (org-infile-export-plist): Fix bug in macro
2898         processing.
2900         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2901         out.
2902         (org-agenda-highlight-todo): Fix bug with highlighting.
2904 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2906         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2907         new alignment strings.
2909         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2910         command list.
2911         (org-table-align): Check for forced align type.
2913         * org.el (org-self-insert-command): Add yas/expand to command
2914         list.
2916         * org-clock.el (org-clock-in-hook): New hook.
2917         (org-clock-in): Run `org-clock-in-hook.
2918         (org-clock-out-hook): New hook.
2919         (org-clock-out): Run `org-clock-out-hook.
2920         (org-clock-cancel-hook): New hook.
2921         (org-clock-cancel): Run `org-clock-cancel-hook.
2922         (org-clock-goto-hook): New hook.
2923         (org-clock-goto): Run `org-clock-goto-hook.
2925 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2927         * org.el (org-store-link): Better default description for link to
2928         Org-mode headline.
2930         * org-exp.el (org-export-generic): Autoload the generic exporter
2931         function.
2932         (org-export): Implement the `g' key for the generic exporter.
2934 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2936         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2937         and for zbacktab'.
2939         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2941         * org-exp.el (org-infile-export-plist): Get macros also from
2942         #+SETUPFILE.
2944 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2946         * org-colview.el (org-columns-capture-view): Protect vertical bars
2947         in column values.
2948         (org-columns-capture-view): Exclude comment and archived trees.
2950         * org-colview-xemacs.el (org-columns-capture-view): Protect
2951         vertical bars in column values.
2952         (org-columns-capture-view): Exclude comment and archived trees.
2954         * org.el (org-quote-vert): New function.
2956         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2958         * org-exp.el (org-export-format-source-code-or-example): Use
2959         `org-export-latex-verbatim-wrap'.
2961         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2962         time stamps.
2964         * org-html.el (org-export-table-row-tags): New option.
2965         (org-format-org-table-html): Rename `nlines' to `nline', use new
2966         option.
2969 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2971         * org-exp-blocks.el: Declare functions and variables.
2973         * org-remember.el (org-remember-templates): Allow the headline
2974         element to be a function.
2975         (org-remember-apply-template): If the headline is a function, call
2976         it to get the true function.
2978         * org-clock.el (org-clock-menu): New function.
2979         (org-clock-update-mode-line): Update help string.
2980         (org-clock-modify-effort-estimate): New function.
2981         (org-clock-mark-default-task): New function.
2983         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2984         minutes as input.
2985         (org-org-menu): Add new clocking stuff.
2986         (org-clock-is-active): New function.
2988 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2990         * org.el (org-open-non-existing-files): Improve docstring.
2992 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2994         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2995         option.
2996         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2998         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3000         * org-list.el (org-get-checkbox-statistics-face): Use the new
3001         faces.
3003         * org-faces.el (org-checkbox-statistics-todo)
3004         (org-checkbox-statistics-done): New faces.
3006 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3008         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3009         (org-edit-src-exit): Better cursor positioning when returning from
3010         editing.
3012         * org-latex.el (org-export-latex-use-verb): New variable.
3013         (org-export-latex-emph-format): Prefer \texttt over \verb when
3014         org-export-latex-use-verb is set.
3016 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3018         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3019         at normal indentation.
3021         * org-html.el (org-export-html-close-lists-maybe): Also look at
3022         normal indentation.
3024         * org-remember.el (org-remember-handler): Abort remember if the
3025         buffer is empty.
3027         * org-src.el (org-edit-src-content-indentation): New option.
3028         (org-edit-src-exit): Apply extra indentation.
3030         * org-exp.el (org-export-format-source-code-or-example): Run
3031         `org-src-mode-hook'.
3033         * org-src.el (org-src-mode-hook): New variable.
3034         (org-edit-src-code): Run `org-src-mode-hook'.
3036 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3038         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3040         * org-src.el (org-edit-src-get-indentation): New function.
3041         (org-edit-src-code): Base indentation on the begin line.
3043 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3045         * org-gnus.el (org-gnus-store-link): Require message.el in
3046         org-gnus-store-link.
3048 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3050         * org-src.el: New file, split out of org.el
3052         * org-docbook.el (org-export-as-docbook): Better indentation
3053         treatment.
3055         * org-macs.el (org-replace-match-keep-properties): New function.
3057         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3058         preprocessing of center and quote and verse blocks.
3060         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3061         (org-export-as-docbook): Close lists when original indentation
3062         mandates it.
3064         * org-html.el (org-export-html-close-lists-maybe): New function.
3065         (org-export-as-html): Close lists when original indentation
3066         mandates it.
3068         * org-list.el (org-list-end): Respect the stored "original"
3069         indentation when determining the end of the list.
3071         * org-exp.el (org-export-replace-src-segments-and-examples):
3072         Remember indentation correctly.
3074 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3076         * org-clock.el (org-clock-update-mode-line): Apply face
3077         org-mode-line-clock.
3079         * org-faces.el (org-mode-line-clock): New face.
3081 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3083         * org-gnus.el (org-gnus-store-link): Fix bug where
3084         `org-gnus-store-link' used wrong subject when called in an article
3085         buffer.  Patch provided by fengli AT gmail DOT com.
3087 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3089         * org-exp.el (org-export-format-source-code-or-example): Remember
3090         the original indentation of source code snippets and examples.
3092         * org-latex.el (org-export-as-latex): Relocate the table of
3093         contents.
3095         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3097         * org-agenda.el (org-run-agenda-series): Scope global options also
3098         when creating the agenda buffer.
3100 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3102         * org.el (org-adapt-indentation): Improve documentation.
3103         (org-insert-property-drawer): Respect org-adapt-indentation when
3104         inserting the drawer.
3105         (org-remove-flyspell-overlays-in): New function.
3106         (org-do-emphasis-faces, org-activate-plain-links)
3107         (org-activate-code, org-fontify-meta-lines-and-blocks)
3108         (org-activate-angle-links, org-activate-footnote-links)
3109         (org-activate-bracket-links, org-activate-dates)
3110         (org-activate-target-links, org-activate-tags): Remove flyspell
3111         overlays.
3113 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3115         * org.el (org-edit-src-save): New function.
3117         * org-clock.el (org-clock-out-switch-to-state): New option.
3118         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3120         * org-compat.el (org-compatible-face): Improve macro.
3122         * org.el (org-global-properties-fixed): Add default for
3123         CLOCK_MODELINE_TOTAL.
3125         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3126         andd tend.
3127         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3128         org-clock-sum.
3129         (org-clock-get-sum-start): New function.
3131         * org.el (org-startup-options): New keywords blockhide and
3132         blockshow.
3133         (org-mode): Add new invisibility spec.
3134         (org-set-startup-visibility): Hide block on startup if so
3135         desired.
3136         (org-hide-block-startup): New option.
3137         (org-block-regexp): New constant.
3138         (org-hide-block-overlays): New variable.
3139         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3140         (org-show-block-all, org-hide-block-toggle-maybe)
3141         (org-hide-block-toggle): New functions.
3142         (org-edit-src-exit): Do not quote lines starting with # and no +
3143         behind it.
3144         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3145         entry.
3147 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3149         * org.el (org-buffer-property-keys): Add Effort property for
3150         completion.
3152 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3154         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3155         when retrieving total clocked time in the subtree.
3157         * org.el (org-quoting-blocks): New variable.
3159 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3161         * org-table.el (org-table-store-formulas)
3162         (org-table-get-stored-formulas, org-table-fix-formulas)
3163         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3164         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3166         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3167         indented #+TBLFM line.
3169         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3170         indented #+TBLFM line.
3172         * org-colview.el (org-dblock-write:columnview): Allow indented
3173         #+TBLFM line.
3175         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3176         indented #+TBLFM line.
3178         * org-clock.el (org-dblock-write:clocktable): Allow indented
3179         #+TBLFM line.
3181 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3183         * org-exp.el (org-export-format-source-code-or-example): Make
3184         editing indented blocks work correctly.
3186         * org.el (org-edit-src-nindent): New variable.
3187         (org-edit-src-code, org-edit-fixed-width-region)
3188         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3189         editing indented blocks work correctly.
3191 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3193         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3194         indented blocks.
3195         (org-export-format-source-code-or-example): Fix indentation of
3196         blocks.
3197         (org-export-remove-indentation): New function.
3198         (org-export-select-backend-specific-text): Allow backend-specific
3199         code to be indented.
3200         (org-export-mark-blockquote-verse-center): Allow markers to be
3201         indented.
3203         * org.el (org-fontify-meta-lines): New function.
3204         (org-set-font-lock-defaults): Call the new fontification
3205         function.
3207         * org-faces.el (org-meta-line): New face
3208         (org-block):  New face.
3210 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3212         * org.el (org-treat-insert-todo-heading-as-state-change)
3213         (org-treat-S-cursor-todo-selection-as-state-change): New
3214         variables.
3215         (org-insert-todo-heading): Honor
3216         `org-treat-insert-todo-heading-as-state-change'.
3217         (org-shiftright, org-shiftleft): Honor
3218         `org-treat-S-cursor-todo-selection-as-state-change'.
3219         (org-inhibit-logging): New variable.
3221 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3223         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3224         range for marker position checking.
3226         * org-latex.el (org-export-latex-first-lines): Fix bug when
3227         exporting a region.
3229 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3231         * org-exp.el (org-export-push-to-kill-ring): Protect using
3232         x-set-selection, because that does not always work.
3234         * org-agenda.el (org-agenda-list): Apply the new face
3235         `org-agenda-date-today'.
3237         * org-faces.el (org-agenda-date-today): New face.
3239 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3241         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3242         creating appointments.
3244         * org-latex.el (org-export-latex-low-levels): Fix customization
3245         type.
3247         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3248         priority commands.
3250         * org-agenda.el (org-agenda-priority): Disable priority commands.
3252         * org.el (org-enable-priority-commands): New option.
3254         * org-colview-xemacs.el (org-columns-compute)
3255         (org-columns-number-to-string): Fix problems with empty fields.
3257         * org-colview.el (org-columns-compute)
3258         (org-columns-number-to-string): Fix problems with empty fields.
3260         * org-exp.el (org-export-push-to-kill-ring): New function.
3261         (org-export-copy-to-kill-ring): New option.
3263         * org-latex.el (org-export-as-latex): Call
3264         `org-export-push-to-kill-ring'.
3266         * org-html.el (org-export-as-html): Call
3267         `org-export-push-to-kill-ring'.
3269         * org-docbook.el (org-export-as-docbook): Call
3270         `org-export-push-to-kill-ring'.
3272         * org-ascii.el (org-export-as-ascii): Call
3273         `org-export-push-to-kill-ring'.
3275         * org-exp.el (org-export-show-temporary-export-buffer): New
3276         option.
3278         * org-latex.el (org-export-as-latex): Use
3279         `org-export-show-temporary-export-buffer'.
3281         * org-html.el (org-export-as-html): Use
3282         `org-export-show-temporary-export-buffer'.
3284         * org-docbook.el (org-export-as-docbook): Use
3285         `org-export-show-temporary-export-buffer'.
3287         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3288         `org-export-show-temporary-export-buffer'.
3290         * org-exp.el (org-export-show-temporary-export-buffer): New
3291         option.
3292         (org-export-push-to-kill-ring): New function.
3294         * org-colview.el (org-columns-compile-map): New variable.
3295         (org-columns-new, org-columns-compute)
3296         (org-columns-number-to-string, org-columns-uncompile-format)
3297         (org-columns-compile-format): Implement new operators.
3299 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3301         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3303         * org-html.el (org-export-html-xml-declaration): New option.
3304         (org-export-as-html): Use `org-export-html-xml-declaration'.
3306         * org-list.el (org-update-checkbox-count): Make property
3307         dependent.
3309         * org.el (org-hierarchical-todo-statistics): New option.
3310         (org-update-parent-todo-statistics): Modified to handle recursive
3311         statistics.
3313 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3315         * org-publish.el (org-publish): Make this function behave
3316         correctly in interactive use when called with a prefix argument.
3318         * org.el (org-todo-statistics-hook): New hook.
3319         (org-update-parent-todo-statistics): Use new hook.
3320         (org-log-into-drawer): New function.
3321         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3322         determine if we should be logging into a drawer.
3323         (org-log-into-drawer): Update docstring.
3324         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3326         * org-list.el (org-checkbox-statistics-hook): New hook.
3327         (org-update-checkbox-count-maybe): Use new hook.
3329         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3330         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3331         to kill ring.
3333 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3335         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3336         a line.
3338 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3340         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3341         better bufer-generating mechanism.
3342         (org-edit-src-find-buffer): New function.
3344         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3345         archive tag, this is already done by `org-agenda-skip'.
3346         data while constructing lost of tags.
3348 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3350         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3351         as argument separator in macros.
3353         * org-html.el (org-export-as-html): Add xml declaration.
3355 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3357         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3358         (org-sort-entries-or-items): Run the new hook.
3359         (org-after-refile-insert-hook): New hook.
3360         (org-refile): Run `org-after-refile-insert-hook'.
3362         * org-agenda.el (org-agenda-get-progress): Never take time of day
3363         from headline when displaying progress.
3365         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3366         (org-export-as-latex): Force the correct regexp in the
3367         preprocessor buffer.
3368         (org-export-latex-set-initial-vars): Set
3369         `org-export-latex-complex-heading-re'.
3371         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3372         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3374 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3376         * org-latex.el (org-export-latex-tables-centered): New option.
3377         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3379         * org-exp.el (org-export-as-org): New command.
3380         (org-export-as-org): New command.
3382         * org-publish.el (org-publish-org-to-org): New function.
3384 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3386         * org.el (org-yank): Just call `org-yank-generic'.
3387         (org-yank-generic): New function, containing the formaer
3388         functionality of `org-yank'.
3390         * org-latex.el (org-export-latex-not-done-keywords)
3391         (org-export-latex-done-keywords): New variables.
3392         (org-export-latex-todo-keyword-markup): New option.
3393         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3394         (org-export-latex-keywords-maybe): Apply the TODO markup.
3396 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3398         * org-exp.el (org-infile-export-plist): Add more default macros.
3399         (org-export-preprocess-apply-macros): Process macro arguments.
3401 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3403         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3404         `unblocked'.
3405         (org-print-icalendar-entries): Respect the new value of
3406         `org-icalendar-include-todo'.
3408         * org.el (org-link-try-special-completion)
3409         (org-file-complete-link): New functions.
3410         (org-insert-link): Add special completion support for some link
3411         types.
3413         * org-bbdb.el (org-bbdb-complete-link): New function.
3415 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3417         * org-list.el (org-update-checkbox-count): Allow recursive
3418         statistics.
3419         (org-hierarchical-checkbox-statistics): New option.
3421         * org.el (org-cycle): Remove erraneous space character.
3423         * org-icalendar.el (org-icalendar-timezone): Initialize from
3424         environment.
3426         * org-html.el (org-format-org-table-html): Specify the scope.
3427         (org-format-table-table-html): Specify the scope.
3428         (org-export-table-header-tags): Prepare the scope parameter.
3430 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3432         * org-html.el
3433         (org-export-html-table-use-header-tags-for-first-column): New
3434         option.
3436         * org.el (org-autoload): Fix autoloading of ascii export
3437         functions.
3438         (org-modules): Add org-special-blocks.
3440 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3442         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3443         (org-ical-timezone): New option.
3445         * org-exp.el (org-export-get-coderef-format): Use the description
3446         is present.
3448         * org.el (org-sort-entries-or-items): Improve docstring, and make
3449         better implementation for time sorting.
3451 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3453         * org.el (org-edit-src-persistent-message): New option.
3454         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3455         option.
3457         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3458         patch.
3460         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3461         separate buffer instead of indirect buffer to edit source code.
3462         (org-edit-src-exit): Make this function work with the new setup.
3464         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3465         are properly fontified before shown in the selection menu.
3467         * org.el (org-fontify-like-in-org-mode): New function.
3469         * org-latex.el (org-export-latex-links): Use the property list to
3470         retrieve the default image attributes.
3472         * org-exp.el (org-export-plist-vars): Add a new option.
3474 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3476         * org-exp.el (org-export, org-export-visible): Support ASCII
3477         export to buffer
3478         (org-export-normalize-links): Do not protect the description if it
3479         is explicitly given.
3481         * org-ascii.el (org-export-as-ascii-to-buffer)
3482         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3483         commands.
3484         (org-export-as-ascii): Add all the same parameters that are also
3485         supported by the other export functions.
3487         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3488         org-checklist.el.
3489         (org-reset-checkbox-state-subtree): Call
3490         `org-reset-checkbox-state-subtree'.
3492         * org-remember.el (org-select-remember-template): For the
3493         selection of a valid template.
3495         * org-latex.el (org-export-region-as-latex): Supply the
3496         force-no-subtree argument.
3497         (org-export-as-latex): Provide better limits when exporting the
3498         first line.  When exporting to string, we still want the first
3499         lines.
3500         (org-export-latex-first-lines): New argument END, to force the end
3501         of the region.
3502         (org-export-region-as-latex): Use the property list.
3503         (org-export-as-latex):
3505         * org-colview-xemacs.el (org-columns-remove-overlays)
3506         (org-columns): Fix call to `local-variable-p'.
3508 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3510         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3511         (org-export-as-html): Run the new hook.
3513         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3514         (org-export-latex-preprocess): Run the new hook.
3516         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3517         (org-export-preprocess-string): Run the new hook.
3519 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3521         * org-macs.el (org-check-external-command): New defsubst.
3523         * org.el (org-mode-map): New key for reload.
3524         (org-format-latex): Better error message when external programs
3525         are not available.
3527         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3529         * org.el (org-sort-entries-or-items): Explicit sorting function
3530         for priorities, needed for XEmacs compatibility.
3532         * org-remember.el (org-remember-apply-template): Improve auto-save
3533         behavior.
3535 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3537         * org-latex.el (org-export-latex-preprocess): Also protect
3538         environments ending in a star.
3540         * org-list.el (org-at-item-p): Fix regular expression.
3542 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3544         * org.el (org-end-of-subtree): Improve speed.
3546         * org-agenda.el (org-agenda-get-timestamps)
3547         (org-agenda-get-progress, org-agenda-get-deadlines)
3548         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3549         in particular, wait as long as possible to collect the tags.
3550         (org-stuck-projects): Improve docstring.
3552         * org.el (org-store-link): No errors when getting custom id before
3553         first headline.
3554         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3556 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3558         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3560         * org-protocol.el: Remove dependency on url.el.
3561         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3562         dependency on url.el.
3564         * org-latex.el (org-export-as-pdf): Use
3565         `org-latex-to-pdf-process'.
3567 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3569         * org-latex.el (org-latex-to-pdf-process): New option.
3571         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3572         New option.
3573         (org-agenda-get-timestamps): Honor
3574         `org-agenda-skip-additional-timestamps-same-entry'.
3576         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3577         (org-clock-goto): Find recent task only if
3578         `org-clock-goto-may-find-recent-task' allows it.
3580         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3581         drawers, and drawers that are missing the :END: line.
3583 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3585         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3586         clock is running.
3588 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3590         * org.el (org-update-parent-todo-statistics): Check for
3591         STATISTICS_FROM property.
3593         * org-list.el (org-update-checkbox-count): Check for
3594         STATISTICS_FROM property.
3596         * org.el (org-tab-first-hook)
3597         (org-tab-after-check-for-table-hook)
3598         (org-tab-after-check-for-cycling-hook): New hooks.
3599         (org-cycle-internal-global, org-cycle-internal-local): New
3600         functions, split out from `org-cycle'.
3601         (org-cycle): Call the new hooks.
3603 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3605         * org-exp.el (org-export-preprocess-string): Reset the list of
3606         preferred targets for each run of the preprocessor.
3608         * org.el (org-refile-target-verify-function): Improve
3609         documentation.
3610         (org-get-refile-targets): Respect point being moved by the
3611         verification function.
3613         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3614         option.
3615         (org-export-latex-keywords): Use new option.
3617         * org.el (org-rear-nonsticky-at): New defsubst.
3618         (org-activate-plain-links, org-activate-angle-links)
3619         (org-activate-footnote-links, org-activate-bracket-links)
3620         (org-activate-dates, org-activate-target-links)
3621         (org-activate-tags): Place the rear-nonsticky properties at the
3622         correct location.
3624 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3626         * org-protocol.el (server-edit): Declare `server-edit'.
3627         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3628         functions.
3629         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3631         * org.el (org-default-properties): New default properteis for
3632         completion.
3634         * org-exp.el (org-export-add-subtree-options): Add new properties
3635         for subtree export.
3637         * org-docbook.el (org-export-docbook-keywords-markup)
3638         (org-export-docbook-timestamp-markup): New options.
3639         (org-export-docbook-protect-tags): New function.
3641 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3643         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3644         org-refile-target-verify-function for the duration of the command.
3646         * org.el (org-link-to-org-use-id): New possible value
3647         `create-if-interactive-and-no-custom-id'.
3648         (org-store-link): Use custom IDs.
3649         (org-link-search): Find custom ID properties from #link.
3650         (org-default-properties): Add CUSTOM_ID for property completion.
3651         (org-refile-target-verify-function): New option.
3652         (org-goto): Turn off org-refile-target-verify-function
3653         for the duration of the command.
3655 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3657         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3659         * org-exp.el (org-export-preferred-target-alist): New variable.
3660         (org-export-define-heading-targets): Find the new CUSTOM_ID
3661         property.
3662         (org-export-target-internal-links): Target the custom ids when
3663         possible.
3665         * org-latex.el (org-export-latex-preprocess): Better regexp for
3666         matching latex macros with arguments.
3668 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3670         * org-remember.el (org-remember-handler): Allow filing to non-org
3671         files.
3673 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3675         * org-feed.el (org-feed-alist): New keyword options.
3676         (org-feed-update): Use the new options.
3677         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3678         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3679         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3680         functions.
3682         * org-table.el (org-table-fix-formulas): Do not change references
3683         to remote tables.
3684         (org-table-get-remote-range): Convert standard coordinates to RC
3685         format.
3687         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3689 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3691         * org-compat.el (org-sha1-string): Function removed.
3693         * org.el (org-refile-allow-creating-parent-nodes): New option.
3694         (org-refile-get-location): New argument NEW-NODES.
3695         (org-refile): Call `org-refile-get-location' with the new
3696         argument.
3697         (org-refile-get-location): Arrange for adding a new child.
3698         (org-refile-new-child): New function.
3700         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3701         an additional span element.
3703         * org-clock.el: Fix a number of docstrings.
3704         (org-clock-find-position): New argument
3705         FIND-UNCLOSED to make the function find an unclosed clock in the
3706         entry.
3707         (org-clock-in): Call `org-clock-find-position' with the new
3708         argument if we might be resuming a clock.
3710 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3712         * org-latex.el (org-export-latex-display-custom-times): New variable.
3713         (org-export-latex-timestamp-markup): New option.
3714         (org-export-latex-set-initial-vars): Remember the local value of
3715         `org-display-custom-times'.
3716         (org-export-latex-content): Process time stamps.
3717         (org-export-latex-time-stamps): New function.
3719         * org-macs.el (org-maybe-intangible): Add intangible property
3720         again to invisible text.
3722 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3724         * org-exp.el (org-default-export-plist): Handle undefined
3725         variables.
3727 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3729         * org.el (org-sort-entries-or-items): Match TODO keywrds
3730         case-sensitively, when sorting.
3731         (org-priority): Do not match TODO keywords with wrong case.
3733 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3735         * org-feed.el (org-feed-update): Bind the variable
3736         `new-formatted'.
3738         * org-html.el (org-export-as-html): Start paragraphs after literal
3739         examples.
3741         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3742         literal examples.
3744 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3746         * org.el (org-todo): Honor the NOBLOCKING property.
3748         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3749         NOBLOCKING property.
3751         * org.el (org-scan-tags): Fix bug in tag scanner
3753 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3755         * org.el (org-modules): Mark obsolete packages.
3757         * org-html.el: New file, split out from org-exp.el.
3759         * org-icalendar.el: New file, split out from org-exp.el.
3761         * org-xoxo.el: New file, split out from org-exp.el.
3763         * org-ascii.el: New file, split out from org-exp.el.
3765 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3767         * org-compat.el (org-find-library-name): New function.
3769         * org.el (org-pre-cycle-hook): New hook.
3770         (org-cycle): Call the new hook in appropriate places.
3771         (org-reload): Only reload files that have been loaded before.
3773 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3775         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3776         after todo keyword.
3777         (org-todo): When changing TODO state, do matching
3778         case-sensitively.
3779         (org-map-continue-from): New variable.
3780         (org-scan-tags): Respect values in `org-map-continue-from'.
3781         (org-reload): Make XEmacs compatible.
3783 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3785         * org-protocol.el (org-protocol-flatten-greedy): New function.
3786         (org-protocol-flatten): New function.
3788         * org.el (org-open-link-from-string): Pass reference buffer to
3789         `org-open-at-point'.
3790         (org-open-at-point): New optional argument `reference-buffer'.
3792 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3794         * org.el (org-scan-tags): Make tag scan find headline in first
3795         line, 2nd attempt.
3796         (org-get-refile-targets): Add the naked file name.
3797         (org-refile): Store as top-level entry when only file name was
3798         given.
3800         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3802         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3803         Renamed from org-block-todo-from-children-or-siblings, and
3804         enhanced to look for the parent's status as well.
3806         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3807         (org-agenda-get-progress): Add first notes line to log entry if so
3808         desired.
3810 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3812         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3813         (org-agenda-cleanup-fancy-diary): Call the new hook.
3815         * org-remember.el (org-remember-apply-template): Take the default
3816         for the annotation from the :annotation property.
3818         * org-mac-message.el (org-mac-message-get-link): Remove the
3819         quotes.
3820         (org-mac-message-get-link): Return the result.
3822 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3824         * org.el (org-refile-get-location): Add file name only if not
3825         already included in outline path.
3827         * org-faces.el (org-n-level-faces): Fix customization type from
3828         number to integer.
3830         * org-exp.el (org-export-headline-levels): Fix customization type
3831         from number to integer.
3833         * org-agenda.el (org-agenda-confirm-kill)
3834         (org-agenda-custom-commands-local-options)
3835         (org-timeline-show-empty-dates, org-agenda-ndays)
3836         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3837         customization type from number to integer.
3839 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3841         * org-protocol.el: Declare some functions.
3843         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3844         postion before inserting modified headline.
3846         * org-agenda.el (org-agenda-compare-effort): Honor
3847         `org-sort-agenda-noeffort-is-high'.
3848         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3849         (org-agenda-compare-effort): Implement the "?" operator for
3850         finding entries without effort setting.
3852         * org.el (org-extract-attributes-from-string): New function.
3854         * org-exp.el (org-export-splice-attributes): New function.
3856 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3858         * org-mouse.el: XEmacs compatibility fixes
3860         * org-docbook.el (org-export-as-docbook): Process footnotes like
3861         normal text.
3863         * org.el (org-modules): Add org-inlinetasks.el
3864         (org-cycle): Implement limiting level on cycling.
3865         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3866         buffer.
3868         * org-inlinetask.el: New file.
3870         * org.el (org-emphasis-regexp-components): Allow braces in
3871         emphasis pre and post match.
3873         * org-footnote.el (org-footnote-normalize): When only dorting, do
3874         not insert inline notes at the end.
3876         * org-docbook.el (org-id-find-id-file): Add function declaration.
3878         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3880         * org-docbook.el: New file.
3882 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3884         * org.el (org-reftex-citation): New command.
3886 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3888         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3889         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3890         sorting options.
3891         (org-entries-lessp): Apply the new sorting option.
3893         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3894         blocker code, when an older sibling has children.
3896         * org-mac-message.el (org-mac-message-get-link): Improve getting
3897         links from multiple selected messages.
3899 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3901         * org-remember.el (org-remember-finalize): Do not set buffer file
3902         name to nil.
3903         (org-remember-handler): Mark buffer as unmodified.
3904         (org-remember-handler): Delete backup file and show message about
3905         remaining backup files.
3906         (org-remember-auto-remove-backup-files): New option.
3908         * org.el (org-store-link): Use buffer name as link description in
3909         w3-mode buffers.
3910         (org-ido-switchb): Fix argument bug for completion.
3912         * org-remember.el (org-remember-apply-template): Set local
3913         variable `auto-save-visited-file-name' instead of global one.
3915 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3917         * org-feed.el: Re-write.
3919         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3920         (org-agenda-get-todos): Mark file tags as inherited.
3921         (org-agenda-list): Always search diary lines for a time.
3923 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3925         * org-feed.el (org-feed-assume-stable): New option.
3926         (org-feed-before-adding-hook): New hook.
3928         * org-exp.el (org-export-as-html): Close local lists depending on
3929         indentation, also when starting a table.
3931         * org-remember.el (org-remember-backup-directory)
3932         (org-remember-backup-name): New internal variable.
3934 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3936         * org-clock.el (org-clock-out-if-current): Make buffer detection
3937         work in indirect buffers as well.
3939         * org.el (org-emphasis-regexp-components): Add the exxclamation
3940         mark to the post-emphasis characters.
3942 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3944         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3945         (org-read-date): Run the new hook.
3947         * org-mac-message.el (org-mac-flagged-mail): New group.
3948         (org-mac-mail-account): New variable.
3949         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3950         commands.
3952         * org-remember.el (org-remember-backup-directory): New variable.
3953         (org-remember-apply-template): Write file to backup directory.
3955 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3957         * org-mouse.el (org-mouse-todo-menu): New function.
3958         (org-mouse-todo-keywords): Function removed.
3959         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3961         * org-table.el (org-table-beginning-of-field)
3962         (org-table-end-of-field): New commands
3963         (org-table-previous-field, org-table-beginning-of-field): Better
3964         error messages.
3965         (orgtbl-setup): Include `M-a' and `M-e'.
3967         * org.el (org-backward-sentence, org-forward-sentence): New
3968         commands.
3970         * org-colview.el (org-colview-initial-truncate-line-value): New
3971         variable.
3972         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3973         (org-columns): Remember the value of `truncate-lines'.
3975         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3976         New variable.
3977         (org-columns-remove-overlays): Restore the value of
3978         `truncate-lines'.
3979         (org-columns): Remember the value of `truncate-lines'.
3981         * org.el (org-columns-skip-arrchived-trees): New option.
3983         * org-agenda.el (org-agenda-export-html-style): Define color for
3984         org-agenda-done face.
3985         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3986         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3988         * org.el (org-scan-tags): Use the new face.
3990         * org-faces.el (org-agenda-done): New face.
3992         * org.el (org-scan-tags): Test the value org
3993         `org-tags-match-list-sublevels'.
3994         (org-tags-match-list-sublevels): New allowed value: indented.
3996         * org-export-latex.el (org-export-latex-make-header): Apply macros
3997         in header.
3999         * org-exp.el (org-export-apply-macros-in-string): New function.
4001         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4002         with the definition of a checked box.
4004         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4006         * org-export-latex.el (org-export-latex-low-levels): More options
4007         for how to process lower levels in LaTeX.
4008         (org-export-latex-subcontent): Better treatment for lists as a
4009         means of publishing lower levels.
4011 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4013         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4015         * org-faces.el (org-checkbox): New face.
4017         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4018         fragement images if there is an export file.
4020 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4022         * org-agenda.el (org-stuck-projects): Document that the subtree of
4023         projects that are not stuck will now be searched for stuck
4024         sub-projects.
4025         (org-agenda-skip-entry-when-regexp-matches)
4026         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4027         (org-agenda-list-stuck-projects): Use
4028         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4030         * org-export-latex.el (org-export-latex-preprocess): Improve
4031         export of verses.
4033         * org-exp.el (org-export-as-html): Implement centering as a div
4034         rather than a paragraph.  Do a better job with line-end in verse
4035         environments.
4037 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4039         * org.el (org-open-at-point): Fix tags searches by mouse click.
4041 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4043         * org-export-latex.el (org-export-latex-preprocess): Implement the
4044         centering markup.
4046         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4047         from `org-export-mark-blockquote-and-verse'.
4048         (org-export-as-html): Implement the centering markup.
4050         * org-export-latex.el (org-export-latex-tables): Fix vertical
4051         lines in tables.
4053 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4055         * org.el (org-read-date-history): New variable.
4056         (org-read-date): Use new history variable.
4057         (org-toggle-heading): Fix bug when used before first headline.
4058         (org-store-log-note): Remove drawer if empty while note is
4059         aborted.
4060         (org-remove-empty-drawer-at): New function.
4061         (org-check-after-date): New command.
4062         (org-sparse-tree): New sparse tree command "a".
4064         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4066 2009-03-14  Bastien Guerry  <bzg@altern.org>
4068         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4069         column and a space, not only a column.
4071 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4073         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4074         defaults for verbose emphasis.
4075         (org-export-latex-emph-format): New function.
4076         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4078         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4079         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4080         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4081         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4082         commands.
4084         * org.el (org-timestamp-change): Move end-time along with start
4085         time.
4087 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4089         * org-exp.el (org-export-target-internal-links)
4090         (org-export-as-html): Protect links specified as #name.
4092 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4094         * org.el (org-clone-subtree-with-time-shift): New command.
4096         * org-export-latex.el (org-export-latex-special-chars)
4097         (org-export-latex-treat-sub-super-char): Fix subscript export.
4099         * org-exp.el (org-create-multibrace-regexp): Do not add
4100         backslashes to the class.
4102 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4104         * org-colview.el (org-columns-map): Better functions for moving up
4105         and down a row, even if `truncate-line' is nil.
4107         * org.el (org-insert-todo-heading): Make sure the keyword is
4108         inserted at the correct position.
4110         * org-publish.el (org-publish-project-alist)
4111         (org-publish-projects, org-publish-org-index): Change default anme
4112         for the index of file names to "sitemap.org".
4114         * org-export-latex.el (org-export-latex-tables): Use
4115         `org-split-string', for Emacs 21 compatibility.
4117 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4119         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4121 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4123         * org-exp.el (org-export-page-description)
4124         (org-export-page-keywords): New variables.
4125         (org-export-plist-vars): Add entries for :keywords and
4126         :description.
4127         (org-infile-export-plist): Parse for new keywords.
4128         (org-get-current-options): Add new keywords
4129         (org-export-as-html): Publish description and keywords.
4131         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4132         option.
4133         (org-agenda-add-entry-text): Honor
4134         `org-agenda-add-entry-text-descriptive-links'.
4136         * org-export-latex.el (org-export-latex-preprocess): Make all
4137         external preprocess functions use a PARAMETER arg.
4139         * org-exp.el (org-export-preprocess-string)
4140         (org-export-select-backend-specific-text)
4141         (org-export-format-source-code-or-example)
4142         (org-format-org-table-html): Support docbook export.
4143         (org-export-preprocess-string): Make all external preprocess
4144         functions use a PARAMETER arg.
4146 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4148         * org-exp.el (org-export-html-style-include-scripts): New option.
4149         (org-export-plist-vars): Add new option
4150         `org-export-html-style-include-scripts'.
4151         (org-export-as-html): Honor new option
4152         `org-export-html-style-include-scripts'.
4153         (org-export-html-scripts, org-export-html-style-default): Fix
4154         xml issues with the Safari browser.
4156 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4158         * org-publish.el (org-publish-attachment): Only copy file when the
4159         directories differ.
4161 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4163         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4164         for clocktable steps.
4166         * org.el (org-additional-option-like-keywords): Add two more
4167         keywords.
4169 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4171         * org-exp.el (org-export-format-source-code-or-example): Mark
4172         temporary buffer unmodified, so that it will be killed even if
4173         mode like message mode has decided to assign a file name.
4175         * org.el (org-scan-tags): Improve tag inheritance.
4176         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4177         case-sensitive.
4178         (org-scan-tags): Use the internal tags list instead of creating it
4179         from scratch.
4180         (org-trust-scanner-tags, org-scanner-tags): New variables.
4181         (org-scan-tags): Set `org-scanner-tags'.
4182         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4183         (org-map-entries): Document the possible speedup using scanner
4184         tags.
4186 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4188         * org.el (org-add-planning-info): Fix bug with looking for keyword
4189         only at column 0.
4191         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4192         option for tags filter preset.
4193         (org-prepare-agenda): Store filter preset as a property on the
4194         filter variable.
4195         (org-finalize-agenda): Call the filter, if there is a preset.
4196         (org-agenda-filter-by-tag): Filter again after clearing the
4197         filter, when there still is a preset.
4198         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4199         Include the preset filter.
4200         (org-agenda-redo): Apply the filter again, also the preset filter.
4202         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4204         * org.el (org-uuidgen-p): New funtion.
4206         * org-agenda.el (org-agenda-fontify-priorities): New default value
4207         `cookies'.
4208         (org-agenda-fontify-priorities): Renamed from
4209         org-fontify-priorities.
4211         * org.el (org-set-font-lock-defaults): Call
4212         `org-font-lock-add-priority-faces'.
4213         (org-font-lock-add-priority-faces): New function.
4215         * org-faces.el: (org-set-tag-faces): New option.
4216         (org-priority-faces): New variable.
4218         * org-exp.el (org-export-as-html): Add a "content" div around the
4219         entire content of the body tag.
4220         (org-export-html-get-bibliography): New function.
4221         (org-export-html-validation-link): New variable.
4222         (org-export-as-html): Add validation link to exported page.
4224         * org.el (org-match-sparse-tree): Renamed from
4225         `org-tags-sparse-tree'.
4226         (org-tags-sparse-tree): New alias.
4228 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4230         * org.el (org-get-valid-level): Catch the case where the level
4231         change is nil.
4233         * org-clock.el (org-clock-find-position): Better indentation of
4234         new clock drawers.
4236 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4238         * org-agenda.el (org-agenda-quit): Delete window only when the
4239         frame-setup was not `current-window'.
4241         * org.el (org-tag-persistent-alist): New option.
4242         (org-startup-options): Add keyword `noptag'.
4243         (org-fast-todo-selection): Handle :newline correctly.
4244         (org-set-tags): Handle :newline correctly.
4245         (org-fast-tag-selection): Handle :newline correctly.
4247 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4249         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4250         outputting it.
4251         (org-export-ascii-push-links): Fix bug with pussing links into the
4252         export buffer.
4254 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4256         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4257         pasting at top level.
4259         * org-bbdb.el: Improve documentation.
4261 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4263         * org-list.el (org-insert-item): Only consider insert empty lines
4264         is `org-empty-line-terminates-plain-lists' is not nil.
4266         * org.el (org-blank-before-new-entry): Mention the dependence on
4267         `org-empty-line-terminates-plain-lists' in the docstring.
4269         * org-publish.el (org-publish-get-project-from-filename): New
4270         optional argument UP.  Only find the top project if UP is set.
4271         (org-publish-current-project): Find the top encloding project.
4273         * org-agenda.el (org-agenda-before-write-hook)
4274         (org-agenda-add-entry-text-maxlines): New options.
4275         (org-write-agenda): Run the new hook in the temporary buffer.
4276         (org-agenda-add-entry-text): New function.
4277         (org-write-agenda): Implement PDF export, using ps2pdf.
4279         * org.el (org-global-properties-fixed, org-global-properties):
4280         Improve documentation string.
4282         * org-exp.el (org-export-ascii-links-to-notes): New option.
4283         (org-export-as-ascii): Handle links better.
4284         (org-export-ascii-wrap, org-export-ascii-push-links): New
4285         functions.
4287 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4289         * org-agenda.el (org-agenda): Make prefix arg optional.
4290         (org-agenda-search-headline-for-time): New option.
4291         (org-format-agenda-item): Honor
4292         `org-agenda-search-headline-for-time'.
4294         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4295         characters.
4297         * org.el (org-self-insert-cluster-for-undo): New option.
4298         (org-self-insert-command): Cluster undo for 20 characters.
4299         (org-self-insert-command-undo-counter): New variable.
4301 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4303         * org-exp.el (org-export-as-html): Fix problem with closing colone
4304         example.
4306 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4308         * org-export-latex.el (org-export-as-latex)
4309         (org-export-latex-first-lines): Avoid modification flag when
4310         adding or removing text properties.
4311         (org-export-latex-fontify): Catch error when org-emph-alist has
4312         entries that are not defined for LaTeX export.
4314         * org.el (orgstruct++-mode): New function.
4315         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4316         (org-context-p): Allow detecting item context after the first line
4317         of an item.
4318         (orgstruct-make-binding): Detect if item-body context should be
4319         seen.
4320         (orgstruct-is-++): New variable.
4321         (org-add-planning-info): Catch the case when there is no planning
4322         info yet and the call does not want to add anything, only maybe
4323         tries to remove something.
4324         (org-special-ctrl-a/e): All value to be a cons cell with separate
4325         settings for `C-a. and `C-e'.
4326         (org-beginning-of-line, org-end-of-line): Honor separate values
4327         for `C-a' and `C-e'.
4329 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4331         * org.el (org-reload): New command.
4333 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4335         * org-exp.el (org-export-htm-get-tag-class-name)
4336         (org-export-htm-get-todo-kwd-class-name): New functions.
4337         (org-export-html-tag-class-prefix)
4338         (org-export-html-todo-kwd-class-prefix): New options.
4339         (org-export-as-html): Call
4340         `org-export-html-get-todo-kwd-class-name'.
4341         (org-html-level-start): Wrap tags into classes.
4342         (org-export-html-get-tag-class-name)
4343         (org-export-html-get-todo-kwd-class-name): New functions.
4345         * org-export-latex.el (org-export-latex-collect-header-macros):
4346         Remove fields that are used anyway.
4347         (org-export-latex-make-header): Insert the options earlier.
4349         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4350         matching.
4352         * org-list.el (org-indent-item): Allow point to be at the end of
4353         the region.
4355         * org.el (org-metaleft, org-metaright): Be more accurate about
4356         detecting a region where commands apply.
4358         * org-compat.el (org-cursor-to-region-beginning): New function.
4360         * org.el (org-priority): Also find invisible heading.
4362         * org-colview-xemacs.el (org-columns-edit-value): No special
4363         treatment for `org-todo' prefix.
4365         * org-colview.el (org-columns-edit-value): No special treatment
4366         for `org-todo' prefix.
4368         * org-remember.el (org-remember-apply-template): Use
4369         `org-completing-read-no-ido'.
4371         * org.el (org-completing-read-no-ido): New function.
4372         (org-make-tags-matcher, org-set-property): Use
4373         `org-completing-read-no-ido'.
4375         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4376         New option.
4377         (org-export-as-latex): Import in-buffer settings as TeX macros.
4378         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4379         (org-export-latex-collect-header-macros): New function.
4381         * org.el (org-refile-get-location): Turn off
4382         `partial-completion-mode'.
4384 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4386         * org.el (org-block-todo-from-checkboxes): Announce that
4387         checkboxes are the culprit.
4388         (org-block-todo-from-children-or-siblings): Call
4389         `org-up-heading-all instead' of `outline-up-heading'.
4391         * org-agenda.el (org-agenda-show-1): Renamed from
4392         `org-agenda-show'.
4393         (org-agenda-show): Re-install the old version for now.
4394         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4395         variable into the blokker hook, so that the checkbox checker can
4396         anounce that it caused the blocking.
4398         * org.el (org-track-ordered-property-with-tag): New option.
4399         (org-toggle-ordered-property): Honor
4400         `org-track-ordered-property-with-tag'.
4401         (org-tag-alist): Add newline options.
4402         (org-set-regexps-and-options): Separate option lines imply a
4403         newline.
4404         (org-set-regexps-and-options, org-assign-fast-keys)
4405         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4406         option.
4407         (org-indent-line-function): Make sure this works even if there is
4408         not `org-drawer-regexp' defined.  This can happen when
4409         orgstruct-mode is used in a non-org buffer.
4411         * org-list.el (org-checkbox-blocked-p): New function.
4412         (org-toggle-checkbox): Check for blocking.
4414         * org.el (org-modules): Add an entry for org-R.el.
4416         * org-agenda.el (org-agenda-todo-ignore-with-date)
4417         (org-agenda-todo-ignore-scheduled)
4418         (org-agenda-todo-ignore-deadlines): Mention the variable
4419         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4421         * org.el (org-get-wdays): Find the warning period also if it is in
4422         the wrong place.
4423         (org-ido-completing-read): Provide the correct arguments to
4424         ido-completing-read and bind `ido-enter-matching-directory' to
4425         nil.
4427 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4429         * org.el (org-olpath-completing-read): Never use ido for this
4430         one.
4432         * org-exp.el (org-export-normalize-links): Use new macro.
4434         * org-macs.el (org-if-unprotected-at): New macro.
4436         * org-agenda.el (org-agenda-show): Allow numerical prefix
4437         arguments to specify how much context should be shown.
4438         (org-agenda-cycle-show): New command, could be bound to SPC in
4439         org-agenda-mode-map.
4441         * org-exp.el (org-html-level-start): Space after section number.
4443 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4445         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4446         property, for sorting.
4447         (org-cmp-todo-state): Get the applicable TODO keywords directly
4448         from the buffer.
4449         (org-run-agenda-series, org-agenda-list, org-search-view)
4450         (org-todo-list, org-tags-view): Only fit agenda window when the
4451         whole series is done.
4453         * org.el (org-scan-tags): Add todo state as property, for sorting.
4455         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4456         `org-agenda-overriding-header' as an option.
4457         (org-agenda-list): Honor org-agenda-overriding-header'.
4459 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4461         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4462         after removing a checkbox.
4464         * org.el (org-show-entry): Make this work correctly also if it is
4465         the last entry in the file.
4466         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4467         falling back to normal, default command.
4468         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4469         item, call the checkbox toggler to get a box.
4471         * org-list.el (org-toggle-checkbox): Make double prefix set the
4472         checkbox to "[-]".
4473         (org-fix-bullet-type): Only replace bullet if it is changed.
4474         (org-renumber-ordered-list): Handle case when first item does not
4475         have a number.
4477         * org.el (org-add-log-setup): Fix positioning when
4478         `org-log-states-order-reversed' is nil.
4480         * org-clock.el (org-clock-in): Fix positioning when
4481         `org-log-states-order-reversed' is nil.
4482         (org-clock-find-position): Fix positioning when
4483         `org-log-states-order-reversed' is nil.
4485 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4487         * org-clock.el (org-clock-into-drawer): Take default from
4488         `org-log-into-drawer'.
4489         (org-clock-find-position): Look for the correct drawer.
4491         * org.el (org-log-into-drawer): Renamed from
4492         `org-log-state-notes-into-drawer'.
4493         (org-log-state-notes-into-drawer): New variable alias.
4494         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4495         CLOCK.
4496         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4498 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4500         * org-agenda.el (org-agenda): Fix docstring.
4502         * org.el ("org-plot"): Help loading org-plot.
4503         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4504         (org-metadown-hook, org-shiftmetaleft-hook)
4505         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4506         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4507         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4508         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4509         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4511         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4512         for selecting files with any (and even without) extension.
4514         * org.el (org-save-all-org-buffers): Also save id locations.
4515         (org-revert-all-org-buffers): Also load id locations.
4517 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4518         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4519         (org-log-state-notes-into-drawer): New option.
4520         (org-add-log-setup): Place the sate note marker into the drawer,
4521         create drawer when necessary.
4522         (org-refile-targets): Document special interpretation of LEVEL
4523         when odd-levels are used.
4525 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4527         * org.el (org-store-log-note): Fix note indentation when adding
4528         notes to end of list.
4530         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4531         class, so that each keyword can get special colors through CSS.
4533         * org-clock.el (org-clock-out): Add another nil for the previous
4534         state into the call to `org-add-log-setup'.
4536         * org.el (org-log-note-previous-state): New variable.
4537         (org-log-note-headings): New %S escape for old state.
4538         (org-todo): Call the note setup with the old state as an
4539         argument.
4540         (org-add-note): Add another nil for the previous state into the
4541         call to `org-add-log-setup'.
4542         (org-add-log-setup): New argument PREV-STATE.
4543         (org-add-log-note): Handle new %S escape.
4544         (org-store-log-note): Handle new %S escape.
4546 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4548         * org-clock.el (org-clock-find-position): Do not swallow an item
4549         less indented than the CLOCK line itself.
4550         (org-clock-in): Push markers to lin after the clock line.
4551         (org-clock-find-position): Handle values of
4552         `org-clock-into-drawer' smaller than 2.
4554         * org-exp.el (org-html-level-start): Add a CSS class to section
4555         numbers.
4556         (org-export-html-toplevel-hlevel): Better documentation of the
4557         influence of this variables on H levels and css classes in
4558         export.
4560 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4562         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4563         timestamp and nottimestamp to the chooe menu.
4565         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4566         (org-revert-all-org-buffers): New command.
4568 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4570         * org.el (org-return): Implement `org-return-follows-link' in the
4571         function org-return.  This is more robust than using the mouse
4572         map, I think.
4573         (org-set-regexps-and-options): Match more general #+TODO lines.
4574         (org-make-options-regexp): New optional argument EXTRA, for an
4575         extra regexp.
4576         (org-tab-follows-link): Mark as deprecated.
4578 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4580         * org-exp.el (org-export-preprocess-string): Remove clock lines
4581         earlier, so that they cannot cotribute to verbatim snippets.
4583 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4585         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4586         for finding drawers.
4587         (org-export-as-ascii, org-export-as-html): Count levels relative
4588         to the subtree header.
4589         (org-get-min-level): New optional argument OFFSET.
4590         (org-export): Make sure point is restored after popping up that
4591         window.
4593         * org.el (org-do-sort): Also take an inactive timestamp if no
4594         active one is found.
4596         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4597         deleting duplicates.
4599         * org-colview.el (org-columns-capture-view): Copy before
4600         deleting duplicates.
4602         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4603         text before first headline.
4605         * org.el (org-format-latex): Do not convert LaTeX fragments in
4606         protected examples.
4608 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4610         * org-exp.el (org-export-html-style-default): Use color values
4611         instead of names for XHTML validation.
4613         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4614         functions.
4615         (org-return-follows-link): Revert making this the default untile
4616         issues are resolved.
4618         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4619         nottimestamp.
4621 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4623         * org.el (org-mode): Make dependence stuff work more reliably.
4624         (org-update-parent-todo-statistics): Fix bug with updating
4625         statistics cookie.
4627         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4628         ~ as verbatim delimiters.
4630         * org-exp.el (org-export-html-format-image): New argument
4631         PAR-OPEN.
4632         (org-export-as-html): Pass par-open to
4633         `org-export-html-format-image'.
4635 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4637         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4638         (org-use-fast-todo-selection, org-tags-column): New default
4639         setting for variables, based on a poll what typical uses use.
4641         * org-agenda.el (org-agenda-sorting-strategy)
4642         (org-agenda-tags-column): New default setting for variables, based
4643         on a poll what typical uses use.
4645 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4647         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4648         blocked entries from setting the blocked tag.
4650         * org-exp.el (org-export-html-footnotes-section): Use a more
4651         consistent id for footnotes.
4653         * org-export-latex.el (org-export-latex-classes): Remove the
4654         a4paper option from the default styles.
4656 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4658         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4659         (org-block-todo-from-checkboxes): New function.
4660         (org-todo): Make tripple prefix arg circumvent blocking.
4662         * org-timer.el (org-timer): Provide the timer feature.
4664         * org.el (org-require-autoloaded-modules): Add a few more files to
4665         the list of autoloaded modules.
4667         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4669 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4671         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4672         drawers that are unprotected.
4673         (org-export-html-format-image): Make sure inlined LaTeX fragment
4674         images remain inlined.
4676         * org.el (org-toggle-ordered-property): New function.
4677         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4678         (org-org-menu): Add menu entries for TODO dependencies.
4680 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4682         * org.el (org-default-properties): Add ORDERED to the default
4683         properties, to get completion support for it.
4685         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4687         * org.el (org-update-parent-todo-statistics): Update more than one
4688         cookie.
4690         * org-agenda.el (org-agenda-get-todos): Start search from correct
4691         position.
4693         * org.el (org-fast-todo-selection): Make sure TODO selection does
4694         not change buffer position.
4696         * org-list.el (org-toggle-checkbox): Implement adding or removing
4697         checkboxes from line or region when called with a prefix
4698         argument.
4700         * org-rmail.el (org-rmail-store-link): Protect the call to
4701         `rmail-narrow-to-non-pruned-header'.
4703         * org-clock.el (org-clock-special-range): Fix week display in
4704         clock tables.
4706         * org-exp.el (org-get-current-options): Fix bug when in indirect
4707         buffer.
4709 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4711         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4712         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4713         (org-agenda-dim-blocked-tasks): New function.
4715         * org.el (org-enforce-todo-dependencies): New option.
4716         (org-block-todo-from-children-or-siblings): New function.
4718         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4720         * org.el (org-todo): Return correct state type even if the blocker
4721         throws an error.
4722         (org-modifier-cursor-error): Renamed from
4723         `org-shiftcursor-error'.
4724         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4725         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4727         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4728         to get real errors from the blocker hook.
4730         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4731         functions.
4732         (org-set-visibility-according-to-property): Turn off the setting
4733         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4734         property.
4736 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4738         * org.el (org-support-shift-select): New option.
4739         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4740         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4741         selection outside contexts.
4743         * org-list.el (org-at-item-bullet-p): New function.
4745         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4746         variables.
4748         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4749         variable.
4750         (org-insert-footnote-reference-near-definition): Remove
4751         unnecessary let form.
4753         * org-export-latex.el (org-export-latex-first-lines): Add
4754         OPT-PLIST parameter.
4755         (org-export-as-latex): Call `org-export-latex-first-lines' with
4756         opt-plits parameter.
4757         (org-export-latex-preprocess): Remove unnecessary variables.
4759         * org-exp.el (org-infile-export-plist)
4760         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4761         (org-export-remove-headline-metadata)
4762         (org-export-get-title-from-subtree, org-get-min-level)
4763         (org-html-do-expand): Remove innecessary let form.
4765         * org-colview-xemacs.el (org-columns-display-here): Remove
4766         unnecessary variables.
4768         * org-colview.el (org-columns-display-here): Remove unnecessary
4769         variables.
4771         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4772         variables.
4774         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4775         unnecessary variables.
4777         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4778         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4779         variables.
4781         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4782         (org-compact-display-after-subtree-move): Remove unnecessary
4783         variables.
4784         (org-edit-fixed-width-region): Remove unnecessary variables.
4785         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4786         (org-olpath-completing-read): Remove unnecessary variable.
4787         (org-auto-repeat-maybe): Remove unnecessary variable.
4788         (org-map-entries): Remove unnecessary variable.
4789         (org-buffer-property-keys, org-imenu-get-tree)
4790         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4792 -----------------------------------------------------------------
4794 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4795         * org-exp.el (org-export-remove-timestamps): Never remove
4796         timestamps from tables.
4798         * org-export-latex.el (org-export-latex-first-lines): Add more
4799         options to the preprocessing of the text before the first
4800         headline.
4802 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4804         * org-faces.el (org-clock-overlay): Make face compatible with
4805         XEmacs.
4807         * org.el (org-yank): Add property for delete-selection mode.
4809         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4811         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4812         variable.
4814         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4815         to `backward-char'.
4817         * org-exp.el (org-export-as-html): Remove the initial space from
4818         colon examples.
4820         * org.el (org-scan-tags): Call
4821         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4823         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4824         customization groups.
4825         (org-agenda-tags-todo-honor-ignore-options): New option.
4826         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4827         New function.
4828         (org-agenda-get-todos): Use
4829         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4831 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4833         * org-exp.el (org-export-format-source-code-or-example): Escape
4834         HTML characters also in examples that anre not treated with
4835         htmlize.  Also, just switch to EXAMPLE processing if we do not
4836         have a good version of htmlize.
4838         * org-rmail.el: Fix copyright notice.
4840         * org.el (org-activate-footnote-links): Improve footnote link
4841         highlighting.
4843         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4844         a footnote definition at the end of the file.
4846         * org-table.el (org-table-get-specials): Add an imagined hline at
4847         the end of the table.  This can be useful for references that want
4848         to go to the end of the table.  Also fix bug when computing last
4849         row constants, in tables that do not start right at the right
4850         margin.
4851         (org-table-eval-formula): Match and replace remove references.
4852         (org-table-formula-substitute-names): Make sure that names inside
4853         a "remote" call are left alone, the will be replaced later when
4854         the remote call is handled.
4855         (org-table-convert-refs-to-rc): Do not convert things that might
4856         look like a reference, but are really part of an ID or namei n a
4857         remote reference.
4858         (org-table-get-remote-range): New function.
4860 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4862         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4864         * org-clock.el (org-clock-put-overlay): Use new face instead of
4865         `secondary-selection'.
4867         * org-faces.el (org-clock-overlay): New face.
4869 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4871         * org-exp.el (org-get-current-options): Include the option for
4872         publishing time stamps.
4874         * org.el (org-toggle-heading): Renamed from
4875         `org-toggel-region-headings'.
4876         No longer needs a region defined, but will use it if there is one.
4877         (org-ctrl-c-star): Simplified, relying more on the internal
4878         workings of `org-toggle-heading'.
4879         (org-toggle-item): Renamed from `org-toggle-region-items'.
4880         No longer needs a region defined, but will use it if there is one.
4881         (org-ctrl-c-minus): Simplified, relying more on the inernal
4882         workings of `org-toggle-item'.
4884         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4885         environment detection.  Also, do real changes only in unprotected
4886         places.
4888 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4890         * org-export-latex.el (org-export-latex-quotation-marks): Use
4891         `org-if-unprotected-1'.
4892         (org-export-latex-set-initial-vars): Check for class definition in
4893         property.
4895         * org-macs.el (org-if-unprotected-1): New macro.
4897 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4899         * org-compat.el (org-count-lines): New function.
4901         * org-exp.el (org-export-format-source-code-or-example): Handle
4902         switches related to text areas.
4904         * org.el (org-activate-footnote-links): Don't allow match inside a
4905         link.
4907         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4909         * org-export-latex.el (org-export-latex-links): Keep a relative
4910         path relative also after export.
4912         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4914         * org.el (org-make-tags-matcher): Never use IDO for completing the
4915         tags matcher match string.
4916         (org-completing-read): Also remove the special biding for "?".
4918         * org-attach.el (org-attach-allow-inheritance): New option.
4919         (org-attach-inherited): New variable.
4920         (org-attach-dir): Handle properties related to the attachment
4921         directory.
4922         (org-attach-check-absolute-path): New function.
4923         (org-attach-set-directory, org-attach-set-inherit): New commands.
4924         (org-attach): Accommodate the new commands in the dispatcher.
4926 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4928         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4929         `window-full-width-p'.
4931         * org-exp.el (org-export-as-html): Only check for images files
4932         that really can be inlined
4934         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4935         list of extensions to be a parameter.
4937         * org-exp.el (org-export-html-inline-image-extensions): New
4938         variable.
4940         * org-agenda.el (org-prepare-agenda): Use
4941         `org-agenda-block-separator'.
4942         (org-agenda-block-separator): New option.
4944 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4946         * org-export-latex.el (org-export-latex-tables): Call
4947         `org-table-clean-before-export' with the new optional argument.
4949         * org-exp.el (org-table-clean-before-export): New optional
4950         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4951         first column.
4953 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4955         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4956         histograms.
4958         * org-colview.el (org-colview-construct-allowed-dates): Better
4959         error catching when a date/time property does not have allowed
4960         values defined.
4962         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4963         Better error catching when a date/time property does not have
4964         allowed values defined.
4966 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4968         * org.el (org-map-entries): Restore point and restriction after
4969         `org-map-entries'.
4971 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4973         * org.el (org-time=, org-time<, org-time<=, org-time>)
4974         (org-time>=, org-time<>): Make sure both values are dates.
4976 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4978         * org-archive.el (org-extract-archive-heading): Allow %s for file
4979         name also in achive location heading.
4981 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4983         * org-archive.el (org-add-archive-files): Uniquify the list before
4984         returning it.
4986 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4988         * org-compat.el (org-fit-window-to-buffer): Use
4989         `window-full-width-p'.
4991         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4992         space after the colon in short examples.
4994         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4995         enforce a space after the colon.  However, we also allow lines
4996         that are *only* a colon.
4997         (org-export-as-html): Enforce the space after the colon in short
4998         examples.
4999         (org-export-preprocess-string): Do the colon example protection
5000         earlier.
5001         (org-export-remove-timestamps): Do not check for protection at the
5002         end of the line.
5004 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5006         * org.el (org-format-latex-options): Add new matcher for single
5007         letters between dollars.
5008         (org-get-header): Function removed.
5009         (org-heading-components): New function.
5011         * org-exp.el (org-export-define-heading-targets): Record ID's also
5012         as alternative targets.
5013         (org-export-as-html): Interpret "id:" links to other files by
5014         preserving the relative path.
5016         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5017         is nil.
5019         * org-exp.el (org-export-normalize-links): Protect the main link,
5020         to avoid special character processing.
5022         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5023         New variable.
5024         (org-export-latex-special-string-regexps): Variable removed.
5025         (org-export-latex-keywords): Use the new regexp.
5027         * org-exp.el (org-export-handle-include-files): Fetch switches and
5028         put them into the BEGIN statement.
5030         * org-timer.el (org-timer-mode-line-string): New variable.
5032         * org-clock.el (org-clock-mode-line-map): Renamed from
5033         `org-clock-mode-map'.
5034         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5035         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5036         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5037         (org-clock-remove-overlays): Renamed from
5038         `org-remove-clock-overlays'.
5040         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5041         and mode line display.
5042         (org-timer-stop): New command.
5043         (org-timer-seconds): Return correct time when timer is paused.
5044         (org-timer-mode-line-timer): New variable.
5045         (org-timer-set-mode-line, org-timer-update-mode-line): New
5046         functions.
5048         * org.el (org-insert-heading):  Handle new value `auto' for
5049         `org-blank-before-new-entry'.
5050         (org-org-menu): Add new items for timer functions.
5052         * org-list.el (org-insert-item): Handle new value `auto' for
5053         `org-blank-before-new-entry'.
5055         * org.el (org-blank-before-new-entry): New value `auto', made
5056         default.
5058 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5060         * org-exp.el (org-export-normalize-links): If the link is also
5061         used as the description, protect the description.
5063 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5065         * org.el (org-closest-date): Fix bug with yearly repeats, in
5066         combination with preference of the past as it is used for deadline
5067         and scheduling search.
5069         * org-exp.el (org-html-handle-time-stamps): No longer check for
5070         the `org-export-with-timestamps' option, because the preprocesser
5071         has taken care of this already.
5073         * org.el (org-entry-properties): Catch the case when this is
5074         called in a non-org-mode file.
5076         * org-export-latex.el (org-export-latex-remove-from-headlines):
5077         Variable made obsolete, also LaTeX export now uses the standard
5078         variables.
5079         (org-export-as-latex): Add the timestamps parameter to the
5080         preprocessor parameter list.
5081         (org-export-latex-content): Export the remaining keywords without
5082         considering to remove them.
5083         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5084         Use bold font instead of tt font for the keywords.
5085         (org-export-latex-fontify-headline): Format headlines, assuming
5086         that all keywords still present should be published.
5087         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5088         publish what ever remains of the time stamps.
5089         (org-export-latex-list-parameters): New option.
5090         (org-export-latex-lists): Pass additional parameters to the list
5091         converter.
5093         * org-exp.el (org-export-preprocess-string): Remove clock lines
5094         and timestamps already in the preprocesor.
5095         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5096         functions.
5097         (org-export-as-ascii, org-export-as-html): Add the timestamps
5098         parameter to the preprocessor parameter list.
5100         * org-list.el (org-list-parse-list): Parse for checkboxes.
5101         (org-list-to-generic): Introduce and handle new parameters :cbon
5102         and :cboff.
5103         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5104         optional parameter PARAMS.
5106         * org-export-latex.el (org-export-latex-special-chars): Fix
5107         problems with interpreting dollar signs.
5108         (org-inside-latex-math-p): New function.
5109         (org-export-latex-preprocess): Protect all the math fragments.
5111         * org.el (org-latex-regexps): Allow a dash after a dollar.
5113         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5114         mark after copying.
5116         * org-agenda.el (org-run-agenda-series): Have series options set
5117         when finalizing the agenda.
5119         * org-exp.el (org-export-format-source-code-or-example): Protect
5120         the converted examples.
5122         * org.el (org-set-regexps-and-options): Fix the regexp
5123         `org-complex-heading-regexp'.
5125 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5127         * org.el (org-edit-src-get-label-format): New function.
5128         (org-coderef-label-format): New option.
5129         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5130         a label format specification and make sure it is used in the edit
5131         buffer.
5132         (org-edit-src-get-label-format): New function.
5133         (org-store-link): Handle new coderef formats.
5134         (org-link-search): Handle new coderef formats.
5136         * org-footnote.el (org-footnote-create-definition)
5137         (org-footnote-goto-local-insertion-point): Make footnote insertion
5138         work correctly when the "Footnotes" headline is the last line in
5139         the buffer.
5141         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5142         the location.
5144 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5146         * org-w3m.el (org-w3m): New customization group.
5147         (org-w3m-deactivate-mark): New option.
5148         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5149         option say not to.
5151 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5153         * org.el (org-set-font-lock-defaults): Trigger footnote
5154         fontification.
5155         (org-activate-footnote-links): New function.
5156         (org-activate-links): New entry `footnote'.
5158         * org-faces.el (org-footnote): New face.
5160 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5162         * org-macs.el (org-re): Handle the [:word:] class.
5164         * org-exp.el (org-export-preprocess-string): Call
5165         `org-export-protect-colon-examples'.
5166         (org-export-protect-colon-examples): Renamed from
5167         `org-export-protect-examples', and scope limited to lines starting
5168         with a colon.
5170 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5172         * org-exp.el (org-export-preprocess-string): Move the preprocess
5173         hook to after turning on Org-mode.
5174         (org-export-preprocess-after-include-files-hook)
5175         (org-export-preprocess-after-tree-selection-hook)
5176         (org-export-preprocess-before-backend-specifics-hook)
5177         (org-export-preprocess-final-hook): New hooks.
5178         (org-export-preprocess-string): Run the new hooks.
5180         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5182         * org-footnote.el: New file.
5184         * org.el (org-footnote): Require footnote code.
5185         (org-startup-options): Add new footnote options.
5186         (org-mode-map): New keybindig for footnotes.
5187         (org-ctrl-c-ctrl-c): Add function at footnotes.
5188         (org-org-menu): New menu entries for footnotes.
5190         * org-export-latex.el (org-export-as-latex): Pass footnote
5191         variable to preprocessor.
5192         (org-export-latex-preprocess): Treat multiple references to a
5193         footnote.
5195         * org-exp.el (org-export-preprocess-string): Call
5196         `org-footnote-normalize'.
5197         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5198         to preprocessor.
5199         (org-export-as-html): Treat multiple references to a footnote.
5201 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5203         * org-export-latex.el (org-export-latex-links): Handle coderef
5204         links.
5206         * org.el (org-bracket-link-analytic-regexp++): New variable.
5207         (org-make-link-regexps): Initialize
5208         `org-bracket-link-analytic-regexp++'.
5209         (org-store-link): Implement special case in edit-src buffer.
5210         (org-insert-link): No use of ide to insert stored links.
5211         (org-link-search): Implement special case for coderefs.
5213         * org-exp.el (org-export-html-scripts): New constant.
5214         (org-export-html-style-default): Add a new style for highlighted
5215         code.
5216         (org-export-code-refs): New variable.
5217         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5218         Call `org-export-replace-src-segments-and-examples'
5219         No longer call `org-export-protect-examples'.
5220         (org-export-target-internal-links): Take care of coderef targets.
5221         (org-export-last-code-line-counter-value): New variable.
5222         (org-export-replace-src-segments-and-examples): Renamed from
5223         `org-export-replace-src-segments', and modified.
5224         (org-export-format-source-code-or-example): Renamed from
5225         `org-export-format-source-code'.
5226         (org-export-number-lines): New function.
5227         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5229 --------------------------------------------------------------------------
5231 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5233         * org-remember.el (org-remember-handler): Safer way to get a new
5234         buffer accessing the target file.
5236         * org.el (org-refile-get-location): Handle case of current buffer
5237         not having a file associated with it.
5239 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5241         * org-table.el (org-table-get-formula): Only ask to overwrite
5242         field formula if there really is one.
5244         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5245         number, by converting these to a string.
5247         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5248         located in a different file.
5250         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5251         org-colview.el.
5253 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5255         * org.el (org-completion-use-ido): Enhance docstring of
5256         `org-completion-use-ido'.
5258         * org-export-latex.el (org-export-latex-make-header): Double the %
5259         in the time stamp format.
5260         (org-export-latex-special-chars): Handle case where there is no
5261         match group 3.
5263 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5265         * org.el (org-get-refile-targets, org-refile-get-location): Use
5266         expanded file name to improve comparison.
5268 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5270         * org.el (org-scan-tags): Rescan for tags, to get the correct
5271         upcase/downcase stuff.  This slows things down for now, but it
5272         works.
5273         (org-mode): Make sure the tag-faces regexp is initialized.
5275         * org-export-latex.el (org-export-latex-links): Fix bug with
5276         undefined label.
5278         * org-table.el (org-table-get-specials): Set
5279         `org-table-current-last-data-line'.
5280         (org-table-current-last-data-line): New variable.
5281         (org-table-insert-column, org-table-delete-column)
5282         (org-table-move-column, org-table-fix-formulas): Call
5283         `org-table-fix-formulas' a second time to fix the $LR references.
5284         (org-table-get-specials): Add the $LR references to the tables.
5285         (org-table-get-formula): Do not offer last-row names as LHS of
5286         formulas.
5288         * org.el (org-store-link): Capture link description from
5289         `org-id-store-link'.
5291         * org-exp.el (org-export-html-format-image): Add the / to the end
5292         of the <img> tag.
5293         (org-export-format-source-code): Surround example by empty lines,
5294         to make sure it will not be inside a paragraph.
5296         * org.el (org-ido-switchb): New function.
5298 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5300         * org-agenda.el (org-agenda-show): New prefix argument
5301         FULL-ENTRY.
5303         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5304         argument.
5306         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5307         `org-agenda-change-all-lines'.
5308         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5309         tags are now retrieved locally.
5311 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5313         * org.el (org-get-outline-path): Fix bug if level is not given.
5314         (org-org-menu): Do not quote function in menu vector.
5316         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5317         name.
5319 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5321         * org.el (org-refile): Avoid refiling to within the region to be
5322         refiled.
5324         * org-export-latex.el (org-export-latex-special-chars): Replace
5325         special characters also in tables.
5327         * org-agenda.el (org-agenda-change-all-lines): New argument
5328         FORCE-TAGS.
5329         (org-agenda-set-tags): Cet the new tags and pass them to
5330         `org-format-agenda-item'.
5332 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5334         * org-export-latex.el (org-export-latex-classes): Add longable as
5335         a default package to all classes.
5336         (org-export-latex-tables): Handle the longtable attribute and the
5337         align attribute.
5339         * org-table.el (orgtbl-to-generic): Handle tables that start with
5340         a hline.
5342         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5343         \verb for colde-like snippets.
5344         (org-export-as-latex): Fix issues with region export.
5346         * org.el (org-up-heading-safe): Speed up function by using a
5347         direct regexp search.
5348         (org-olpa): New variable.
5349         (org-get-outline-path): Speed-up path constructions in cases where
5350         this is possible because the entire hierarchy is scanned anyway.
5351         (org-refile-get-location): Don't compare the truenames of files,
5352         this is too slow.
5353         (org-goto-max-level): New option.
5354         (org-goto): Use `org-goto-max-level'.
5356 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5358         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5359         Strip angle brackets from message-ids in the former and don't do
5360         it in the latter.
5361         (org-gnus-follow-link): Open summary reliable, even if the last
5362         messages were deleted, and handle empty groups, too.
5364 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5366         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5367         instead of \texttt for the =...= and ~===~ emphasis environments.
5368         (org-export-as-latex): Remove any old :org-license-to-kill text
5369         properties.
5370         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5371         (org-export-latex-make-header): Add some hard space after the
5372         table of contents.
5373         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5374         exported text so that it will be excuded in further steps.
5376         * org-table.el (org-table-get-specials): Make @0 reference the
5377         last line in a table.
5378         (org-table-recalculate): Improve docstring.
5380 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5382         * org.el (org-log-done): Fix docstring.
5384 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5386         * org-exp.el (org-export-html-format-image): Fix bugs.
5388         * org-export-latex.el (org-export-latex-tables)
5389         (org-export-latex-links): Implement attribute, label, and caption
5390         handling.
5392         * org-exp.el (org-export-html-style-default): Add style
5393         definitions for the figure div.
5394         (org-export-preprocess-string, org-export-as-html): Implement
5395         attribute, label, and caption handling.
5396         (org-export-attach-captions-and-attributes): New function.
5397         (org-export-html-format-image): New function.
5398         (org-format-org-table-html): Implement attribute, label, and
5399         caption handling.
5401         * org.el (org-find-text-property-in-string): New function.
5402         (org-extract-attributes): Use the property org-attr instead of
5403         org-attrobutes, because this property is now set with the #+ATTR
5404         lines.
5406 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5408         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5409         the case that FROM is nil.
5411         * org.el (org-before-first-heading-p): New function.
5413 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5415         * org-exp.el (org-export-as-html): Do not add a space before
5416         enforces line breaks.
5417         (org-export-as-html): Close paragraph before blockquote and verse
5418         tags.
5420 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5422         * org-id.el (org-id-locations-file): Wrap file name with
5423         `convert-standard-filename'.
5424         (org-id-files): New variable.
5425         (org-id-use-hash): New option.
5426         (org-id-update-id-locations): Also search in all files current
5427         listed in `org-id-files'.  Convert the resulting alist to a hash
5428         if the user customation says so.
5429         (org-id-locations-save): Handle he case if `org-id-locations' is a
5430         hash.
5431         (org-id-locations-load): Convert the alist to a hash.
5432         (org-id-add-location): Handle the hast case.
5433         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5434         exited.
5435         (org-id-hash-to-alist, org-id-alist-to-hash)
5436         (org-id-paste-tracker): New functions.
5438 -------------------------------------------------------------------------
5440 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5442         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5443         bindings of calendar variables.
5445         * org-table.el (org-table-find-row-type): Renamed from
5446         `org-find-row-type'.
5447         (org-table-rewrite-old-row-references): Renamed from
5448         `org-rewrite-old-row-references'.
5449         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5450         (org-table-cleanup-narrow-column-properties): Renamed from
5451         `org-cleanup-narrow-column-properties'.
5453 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5455         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5456         for better error messages.
5457         (org-table-get-descriptor-line): Supply the new arguments to
5458         `org-find-row-type'.
5459         (org-table-error-on-row-ref-crossing-hline): New option.
5461         * org.el (org-target-link-regexp): Make buffer-local.
5462         (org-move-subtree-down): Fix bug with trees at beginning of
5463         buffer.
5465 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5467         * org-faces.el (org-set-tag-faces): New function.
5468         (org-tags-special-faces-re): New variable.
5470         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5472         * org-faces.el (org-tag-faces): New option.
5473         (org-tag): Mention `org-tag-faces' in the docstring.
5475 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5477         * org-exp.el (org-export-html-style-default): Implement new
5478         quoting.
5480         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5482         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5483         command to the `w3m-minor-mode-map'.
5485         * org-archive.el (org-archive-to-archive-sibling): Protect
5486         `this-command' to avoid appending kills during archiving.
5488         * org-exp.el (org-export-with-priority): New variable.
5489         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5490         instead of internal list of strings and properties.
5491         (org-print-icalendar-entries): Retrieve the location property with
5492         inheritance.
5494 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5496         * org-exp.el (org-export-with-todo-keywords): New option.
5497         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5498         line.
5499         (org-default-export-plist, org-export-add-options-to-plist)
5500         (org-export-as-ascii, org-export-as-html): Use the new structure
5501         of `org-export-plist-vars'.
5503         * org.el (org-map-entries): Return all values.
5505 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5507         * org.el (org-matcher-time): Recognize more special values.
5509         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5511 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5513         * org.el (org-tags-exclude-from-inheritance): New option.
5514         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5515         `org-tags-exclude-from-inheritance'.
5517         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5518         (org-format-agenda-item): Add inherited tags to the agenda line
5519         string, and make sure that properties are kept when downcasing the
5520         tags list.
5521         (org-agenda-add-inherited-tags): New function.
5522         (org-downcase-keep-props): New function.
5524         * org.el (org-scan-tags): Mark inherited tags with a text
5525         property.
5526         (org-get-tags-at): Mark inherited tags with a text property.
5527         (org-add-prop-inherited): New function.
5529         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5530         (org-agenda-show-inherited-tags): New option.
5532 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5534         * org.el (org-modules): Add org-w3m to the default modules.
5536         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5537         orgtbl-mode.
5538         (orgtabl-create-or-convert-from-region): New command.
5540         * org-exp.el (org-export-as-ascii): Remove the handling of
5541         targets.
5542         (org-export-ascii-preprocess): Handle targets already in this
5543         function.
5545 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5547         * org-timer.el (org-timer-start-time): Define this variable.
5548         (org-timer-item): Make argument optional.
5550         * org-list.el (org-insert-item): Automatically insert a timer item
5551         if the current list is a timer list.
5553         * org-timer.el: New file.
5555         * org-publish.el (org-publish-org-index): Only exclude the index
5556         file in the main directory from being added to the site-map.
5557         (org-publish-get-project-from-filename): If the current project is
5558         a component, start publishing from the parent project.
5560 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5562         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5564         * org-publish.el (org-publish-org-index): Improve removal of
5565         temporary buffers.
5567         * org-agenda.el (org-get-closed): Re-apply changes
5568         accidentially overwritten by last commit to Emacs.
5570         * org.el (org-outline-path-complete-in-steps): New option.
5571         (org-refile-get-location): Honor
5572         `org-outline-path-complete-in-steps'.
5573         (org-agenda-change-all-lines, org-tags-sparse-tree)
5574         (org-time-string-to-absolute, org-small-year-to-year)
5575         (org-link-escape): Re-apply changes accidentially overwritten
5576         by last commit to Emacs
5578 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5580         * org-clock.el (org-dblock-write:clocktable): Make sure the
5581         clocktable sees the first line.
5582         (org-clock-in): Warn if the clock cannot be resumed.
5584 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5586         * org.el (org-open-at-point): Fix mixup about interactive and
5587         non-interactive elisp links.
5589 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5591         * org-exp.el (org-export-preprocess-string): Allow one comment
5592         line before the first headline to always be included.  This is
5593         to not miss a commented target.
5595         * org-mouse.el (org-mouse-insert-item): Call
5596         `org-indent-to-column' instead of `indent-to', for XEmacs
5597         compatibility.
5599         * org.el (org-refile-targets): Fix customize definition so
5600         that it works also in XEmacs.
5601         (org-fixup-indentation): Call `org-indent-to-column' instead
5602         of `indent-to', for XEmacs compatibility.
5604 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5606         * org-mew.el (org-mew-store-link): Get the correct case folder
5607         for refiled messages.
5609 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5611         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5612         line break indicators.
5614         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5615         ido-completion propts.
5617 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5619         * org-remember.el (org-remember-apply-template): Use
5620         `org-substring-no-properties'.
5622         * org-compat.el (org-substring-no-properties): New function.
5624         * org-remember.el (org-remember-apply-template): Use
5625         `org-substring-no-properties' for compatibility.
5627         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5628         option.
5629         (org-fix-bullet-type): respect
5630         `org-list-two-spaces-after-bullet-regexp'.
5632         * org-clock.el (org-clock-load): Clean up the code.
5634         * org.el (org-adaptive-fill-function): Allow two spaces after
5635         "1." as a list bullet.
5637 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5639         * org-clock.el (org-clock-save, org-clock-load): Check for
5640         live buffers, existing files, and buffer file names to ensure
5641         consistent information.
5642         (org-clock-persist): Make `clock' a special value of this
5643         variable, and improve docstring.
5645         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5646         (org-get-string-indentation): Adapt indentation when the bullet
5647         width changes.
5649 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5651         * org-remember.el (org-remember-finalize): Make interactive.
5652         (org-remember-kill): New command.
5653         (org-remember-finish-immediately): Call `org-remember-finalize'
5654         directly.
5655         (org-remember-finalize): Make `org-remember-finalize' an interactive
5656         function.
5658 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5660         * org-remember.el (org-remember-apply-template): No ido completion
5661         for free prompts in remember templates.
5662         (org-remember-before-finalize-hook): New hook.
5663         (org-remember-mode): New minor mode.
5664         (org-remember-apply-template): Turn on `org-remember-mode'.
5666         * org-id.el (org-id-add-location): Avoid error when no file is
5667         given.
5669         * org-remember.el (org-remember-apply-template): Fix the way how
5670         the list of allowed properties is retrieved from the target file.
5672         * org.el (org-insert-link): Improve file link matching.
5674 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5676         * org-colview.el (org-columns-display-here): New argument
5677         DATELINE, to trigger using the new face.
5678         (org-agenda-colview-summarize): Call `org-columns-display-here'
5679         with the new argument.
5681         * org-faces.el (org-agenda-column-dateline): New face.
5683         * org-publish.el (org-publish-org-index): Use index-title at page
5684         title, not as section.
5686         * org-exp.el (org-export-html-format-desc): Respect the
5687         org-protect property.
5688         (org-export-as-html): Protect image specifiers that are in the
5689         description part of a link.
5691         * org.el (org-sort-entries-or-items, org-completing-read)
5692         (org-refile-get-location, org-olpath-completing-read, org-todo)
5693         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5694         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5695         (org-set-property, org-delete-property)
5696         (org-delete-property-globally): Use `org-ido-completing-read'.
5698         * org-remember.el (org-remember-apply-template): Use
5699         `org-ido-completing-read'.
5701         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5703         * org-colview.el (org-columns-edit-value, org-columns-new)
5704         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5706         * org-colview-xemacs.el (org-columns-edit-value)
5707         (org-columns-new, org-insert-columns-dblock): Use
5708         `org-ido-completing-read'.
5710         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5711         `org-ido-completing-read'.
5713         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5714         `org-ido-completing-read'.
5716         * org.el (org-time-today): New function.
5717         (org-matcher-time): Use `org-time-today'.  Add special treatment
5718         for "<tomorrow>" and "<yesterday>".
5719         (org-ido-completing-read): New function.
5720         (org-completion-use-ido): New option.
5722         * org-exp.el (org-export-format-source-code): Fix bug in require
5723         htmlize code.
5724         (org-export-target-internal-links): Fix bug in search for text
5725         property.
5727 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5729         * org-export-latex.el (org-export-latex-subcontent): Interprete
5730         target aliases as additonal labels.
5732         * org-exp.el (org-export-target-aliases): New variable.
5733         (org-export-preprocess-string)
5734         (org-export-handle-invisible-targets): Fill the alias alist.
5735         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5736         assign an id.
5737         (org-html-level-start): Insert the target aliases as additonal
5738         anchors.
5740         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5741         picture area.
5743 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5745         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5746         when following a link with the mouse from the agenda.
5748         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5749         headlines are created.
5751 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5753         * org-exp.el (org-export-preprocess-string): Reorder so that we
5754         can still see ID properties when we collect targets.
5755         (org-export-target-internal-links): Also store targets for ID's.
5757         * org.el (org-link-translation-function): New option.
5758         (org-open-at-point): Call `org-link-translation-function' if
5759         non-nil.
5760         (org-translate-link): New function.
5761         (org-translate-link-from-planner): New function.
5762         (org-open-at-point): Allow interactive commands in elisp links.
5764         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5765         iCalendar quoting.  The new one seems to caus problems with
5766         applications.
5768         * org.el (org-yank): Set `this-command' to `yank', so that
5769         `yank-pop' will work.
5771 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5773         * org-id.el (org-id-search-archives): New option.
5775         * org.el (org-link-to-org-use-id): New option.
5776         (org-store-link): Use `org-link-to-org-use-id'.
5777         (org-id): Make org-id.el a standard component.
5779 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5781         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5782         hexified version of the tag.
5784         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5785         compliance as far as quoting is concerned.
5787         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5789         * org.el (org-up-heading-safe, org-forward-same-level): Always
5790         call `org-back-to-heading' instead of `outline-back-to-heading'.
5791         (org-back-to-heading): New wrapper around outline-back-to-heading,
5792         with a useful error message telling where the error happened.
5794         * org-list.el (org-update-checkbox-count): Always call
5795         `org-back-to-heading' instead of `outline-back-to-heading'.
5797         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5798         has an `alt' attribute, to ensure XHTML validation.
5800 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5802         * org-publish.el (org-publish-attachment): Allow publishing to
5803         overwrite attachment files.
5805         * org-agenda.el (org-agenda-timerange-leaders): New option.
5806         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5808         * org.el (org-edit-src-exit): Untabify ASCII image before
5809         returning.
5822 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5824         * org.el (org-yank): Make any prefix force normal yanking.
5825         Suppress folding if text would be swallowed into a folded
5826         subtree.
5827         (org-yank-folded-subtrees, org-yank): Docstring updates.
5829         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5830         defined as 0.
5832         * org-exp.el (org-export-language-setup): Add Catalan and
5833         Esperanto language entries.
5835 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5837         * org.el (org-refile): Allow refiling of entire regions.
5839         * org-clock.el (org-clock-time%): New function.
5841         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5842         retrieve property values.
5844 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5846         * org-agenda.el (org-agenda-list): Handle the value `only' of
5847         org-agenda-show-log'.
5848         (org-agenda-log-mode): Interpret a double prefix arg.
5850 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5852         * org-exp.el (org-export-html-footnotes-section): New variable.
5853         (org-export-as-html): Use `org-export-html-footnotes-section' to
5854         insert the footnotes.
5855         (org-export-language-setup): Add "Footnotes" to language words.
5857 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5859         * org.el (org-yank): Fix bug when not inserting a subtree.
5861 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5863         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5864         instead of `vm-beginning-of-message'.
5866         * org.el (org-make-link-regexps): Make sure that links to gnus can
5867         contain brackets.
5869 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5871         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5872         code.
5874         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5875         shell output.
5877         * org.el (org-link-abbrev-alist): Improve customization type.
5879         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5880         functions.
5882         * org-agenda.el (org-agenda-get-progress): Renamed from
5883         `org-get-closed'.  Implement searching for state changes as well.
5884         (org-agenda-log-mode-items): New option.
5885         (org-agenda-log-mode): New option prefix argument, interpreted as
5886         request to show all possible progress info.
5887         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5888         `org-get-closed'.
5889         (org-agenda-set-mode-name): Handle the more complex log mode
5890         settings.
5891         (org-get-closed): New alias, pointing to `org-get-progress'.
5893 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5895         * org.el (org-file-apps-defaults-gnu)
5896         (org-file-apps-defaults-macosx)
5897         (org-file-apps-defaults-windowsnt): Add an entry defining the
5898         system command.
5899         (org-file-apps): Allow `system' as key and value.
5900         (org-open-at-point): Explain the effect of a double prefix arg.
5901         (org-open-file): If the argument `in-emacs' is (16),
5902         i.e. corresponding to a double prefix argument, try to open the
5903         file externally.
5905 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5907         * org.el (org-insert-link): Abbreviate absolute files names in
5908         links.  Also, fix a bug in which the double C-u prefix would not
5909         be honored.
5911 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5913         * org.el (org-insert-heading): If buffer does not end with a
5914         newline, add one if necessary to insert headline correctly.
5916         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5917         paragraphs, not inside.
5919         * org.el (org-todo): Quote
5920         `org-agenda-headline-snapshot-before-repeat'.
5922         * org-exp.el (org-export-as-html): Fully process link descriptions.
5923         (org-export-html-format-desc): New function.
5924         (org-export-as-html): Collect footnotes into the correct basket.
5925         (org-html-protect): No longer protect quotations marks here, this
5926         goes wrong.
5928         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5929         BEG.
5931         * org-compat.el (org-fit-window-to-buffer): New function (not
5932         really, a preliminary and incomplete version was present earlier,
5933         but not used).
5935         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5936         `org-fit-window-to-buffer'.
5938         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5940         * org-agenda.el (org-agenda-get-restriction-and-command)
5941         (org-fit-agenda-window, org-agenda-convert-date): Use
5942         `org-fit-window-to-buffer'.
5944         * org-exp.el (org-export-as-html): Process href links through
5945         `org-export-html-format-href'.
5946         (org-export-html-format-href): New function.
5948         * org-agenda.el (org-agenda-todo): Update only the current
5949         headline if this is a repeated TODO, marked done for today.
5950         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5951         only the current line.
5953         * org.el (org-todo): Take a snapshot of the headline if the
5954         repeater might change it.
5956 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5958         * org-publish.el (org-publish-find-title): Remove buffers visited
5959         only for extracting the title.
5961         * org-exp.el (org-export-html-style)
5962         (org-export-html-style-default): Mark style definitions as
5963         unparsed CDATA.
5965         * org-publish.el (org-publish-validate-link): Function
5966         re-introduced.
5968 2008-11-02  Charles Sebold  <csebold@gmail.com>
5970         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5971         property.
5972         (org-plot-quote-timestamp-field): New function.
5973         (org-plot-quote-tsv-field): Call timestamp field function when
5974         necessary rather than just quoting as a string.
5975         (org-plot/gnuplot-to-data): Pass in timefmt property.
5976         (org-plot/gnuplot-script): Supports timefmt property.
5977         (org-plot/gnuplot): Checks for timestamp column before checking
5978         for text index column.
5980 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5982         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5984         * org-publish.el (org-publish-org-index): Create a section in the
5985         index file.
5986         (org-publish-org-index): Stop linking to directories.
5988         * org.el (org-emphasis-alist): Use span instead of <u> to
5989         underline text.
5991         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5992         <pre> sections.
5994 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5996         * org-jsinfo.el (org-infojs-template): Remove language attribute
5997         from script tag.
5999 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6001         * org-agenda.el (org-agenda-remove-marked-text): New function.
6002         (org-agenda-mark-filtered-text)
6003         (org-agenda-unmark-filtered-text): New functions.
6004         (org-write-agenda): Remove fltered text.
6006         * org.el (org-make-tags-matcher): Give access to TODO "property"
6007         without speed penalty.
6009 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6011         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6012         option.
6013         (org-store-link-props): Make sure adding to the plist works
6014         correctly.
6016         * org-gnus.el (org-gnus-no-new-news): New function.
6017         (org-gnus-follow-link): Allow the article ID to be a message-id,
6018         in addition to allowing article numbers.  Message IDs make much
6019         more roubust links.
6020         (org-gnus-store-link): Use message-id to create link.
6022 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6024         * org.el (org-emphasize): Reverse the selection array.
6025         (org-emphasis-alist): Set <code> tags for the verbatim
6026         environment.
6028         * org-remember.el (org-remember-handler): Fix bug with
6029         prefix-related changing of the note storage target.
6031         * org-exp.el (org-print-icalendar-entries): Make the exported
6032         priorities compatible with RFC 2445.
6034         * org-clock.el (org-clock-save): Insert time stamp without
6035         dependence on time-stamp.el.
6037 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6039         * org.el ("saveplace"): If saveplace puts point into an invisible
6040         location, make it visible.
6041         (org-make-tags-matcher): Allow inactive time stamps in time
6042         comparisons.
6043         (org-yank-adjusted-subtrees): New option.
6044         (org-yank): Incorporate adjusting trees.
6045         (org-paste-subtree): New argument FOR-YANK which will cause
6046         insertion at point without backing up over white lines, and leave
6047         point at the end of the inserted text.  Also if the cursor is
6048         at the beginning of a headline, use the same level or the inserted
6049         tree.
6051         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6052         with broken symlinks
6054 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6056         * org-exp.el (org-export-select-tags, org-get-current-options):
6057         Fix typo.
6059 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6061         * org-agenda.el (org-format-agenda-item)
6062         (org-agenda-filter-make-matcher): Make sure tags are stored and
6063         compared donwcased.
6065 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6067         * org.el (org-insert-todo-heading): Fix bug with force-heading
6068         argument.
6070 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6072         * org-clock.el (org-clock-in-resume): Add a custom option to
6073         toggle starting the clock from an open clock line.
6074         (org-clock-in): When clocking in to an entry, if
6075         `org-clock-in-resume' is set, check if the first clock line is
6076         open and if so, start the clock from the time in the clock line.
6077         (org-clock-persist): Add a custom option to toggle clock
6078         persistence.
6079         (org-clock-persist-query-save): Add a custom option to toggle
6080         asking the user if they want to save the running clock when
6081         exiting.
6082         (org-clock-persist-query-resume): Add a custom option to toggle
6083         asking the user if they want to resume the saved clock when Emacs
6084         is restarted.
6085         (org-clock-save): Add a function to save clock data.
6086         This includes the contents of `org-clock-history' and the buffer
6087         and position of the currently clocked task, if any.
6088         (org-clock-load): Add a function to load clock data.
6089         This populates `org-clock-history', and resumes the saved clocked
6090         task if there is one.
6091         (org-clock-persistence-insinuate): Add a method to set up the
6092         hooks for clock persistence.
6094 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6096         * org-exp.el (org-export-as-ascii): Handle the case that we are
6097         publishing from an indirect buffer.
6099         * org-table.el (org-table-copy-down): Fix bug with time stamp
6100         increment.
6102         * org-mouse.el (org-mouse-features): New option.
6103         (org-mode-hook): Turn on features depending on
6104         `org-mouse-features'.
6106         * org.el (org-insert-heading-respect-content): Force heading
6107         creation.
6108         (org-insert-heading): keep the folding state of the heading before
6109         the inserted one.
6111 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6113         * org-archive.el (org-archive-to-archive-sibling): Handle top
6114         level headlines better.
6116 2008-10-21  Bastien Guerry  <bzg@altern.org>
6118         * org-export-latex.el (org-export-latex-classes): Added
6119         \usepackage{graphicx} to the default list of packages.
6121 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6123         * org-agenda.el (org-agenda-filter): Renamed from
6124         `org-agenda-filter-tags'.
6126 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6128         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6129         is not defined as a property in this entry.
6130         (org-add-log-note): Mask prefix argument when immediately storing
6131         the note.
6133         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6134         option.
6136 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6138         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6139         after drawers was skipping ahead one line too many, so notes were
6140         inserted after the first note instead of before it.
6142 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6144         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6145         New variables.
6146         (org-prepare-agenda): Reset the filter tags.
6147         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6148         Show filter tags in mode line.
6150         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6151         formatter.
6153         * org-export-latex.el (org-latex-entities-regexp): New constant.
6154         (org-export-as-pdf): Use two calls to `shell-command'.
6156 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6158         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6159         Honor the {} value of the subsuperscript setting.  Make sure that
6160         longer subsuperscripts are typeset in a roman font.
6162         * org.el (org-clock-update-time-maybe): Compute negative clock
6163         intervals correctly.
6165 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6167         * org.el (org-add-log-setup): Respect
6168         `org-log-state-notes-insert-after-drawers'.
6169         (org-log-state-notes-insert-after-drawers): New option.
6170         (org-todo-trigger-tag-changes): New function.
6171         (org-todo): Call `org-todo-trigger-tag-changes'.
6173 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6175         * org.el (org-add-log-setup): Only skip drawers if the are
6176         immediately after the scheduling keywords.
6178         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6179         function
6180         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6181         call it with the current todo state to get the state to switch to
6182         when clocking in.
6183         (org-clock-in): Use org-indent-line-function to indent clock lines.
6184         (org-clock-find-position): Fix indentation of empty clock drawers.
6186 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6188         * org-publish.el (org-publish-org-to): Handle case when
6189         org-export-to-pdf does return a file name, not a buffer.
6190         (org-publish-org-to-pdf): New function.
6192         * org-export-latex.el (org-export-as-pdf)
6193         (org-export-as-pdf-and-open): New commands.
6195         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6196         forms as ranges.
6198         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6199         things in protexted regions.
6201 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6203         * org-export-latex.el (org-export-latex-preprocess): Improve
6204         quoting of LaTeX environments.
6206 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6208         * org.el (org-edit-fixed-width-region): Exclude final newline from
6209         picture area.
6211         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6212         sections, to make internal links work.
6213         (org-export-latex-fontify-headline): Do not remove all text
6214         properties, to make sure that target properties survive this
6215         process.
6217         * org-exp.el (org-export-preprocess-string): Change sequence of
6218         modifications, to make sure links are prepared before the LaTeX
6219         conversions do happen.
6221 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6223         * org-attach.el (org-attach-delete-all): Renamed from
6224         `org-attch-delete'.  Add a security query before deleting the
6225         entire directory.  New optional argument FORCE can overrule the
6226         security query.
6227         (org-attach-delete-one): New command.
6229 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6231         * org-attach.el (org-attach-file-list): Fix bug with directory.
6233 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6235         * org.el (org-apps-regexp-alist): New function.
6236         (org-file-apps): Add auto-mode to the default value.
6237         (org-open-file): Use the new structure of org-file-apps.
6239         * org-attach.el (org-attach): Support the new keys.
6240         (org-attach-method): New option.
6242 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6244         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6245         March.
6247         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6248         of the list value o `org-use-tag-inheritance'.
6250         * org-attach.el (org-attach-auto-tag): New option.
6251         (org-attach-tag, org-attach-untag): New functions.
6252         (org-attach-attach, org-attach-new, org-attach-sync): Call
6253         `org-attach-tag'.
6254         (org-attach-delete): Call `org-attach-untag'.
6256 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6258         * org-table.el (orgtbl-self-insert-command): Make this work for
6259         the keypad as well.
6261 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6263         * org.el (org-add-log-setup): Limit searc for drawers to entry
6264         text, not to subtree.
6266         * org-clock.el (org-clock-heading-for-remember): New variable.
6267         (org-clock-in): Set `org-clock-heading-for-remember'.
6269 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6271         * org-remember.el (org-remember-apply-template): Add new
6272         expansions: %k, %K for currently clocked task and a link to the
6273         currently clocked task, and %< to file notes in the currently
6274         clocked task.
6276 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6278         * org-export-latex.el (org-export-latex-make-header): Also insert
6279         the content of the property :latex-header-extra.
6281         * org-exp.el (org-infile-export-plist): Put the content of
6282         #+LATEX_HEADER: into the property :latex-header-extra.
6284         * org-colview.el (org-columns-get-format-and-top-level): Remove
6285         resetting the marker.
6287         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6288         Remove resetting the marker.
6290         * org.el (org-entry-property-inherited-from): Improve docstring.
6291         (org-entry-get-with-inheritance): Reset marker before starting the
6292         search.
6294         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6296 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6298         * org.el (org-entry-get-multivalued-property)
6299         (org-entry-protect-space, org-entry-restore-space): New
6300         functions.
6301         (org-file-apps-defaults-macosx): Let postscript files be opened by
6302         preview.
6303         (org-time-stamp-inactive): Call `org-time-stamp'.
6304         (org-time-stamp): New argument `inactive'.  Also edit inacive
6305         stamps. Convert time stamp type.
6306         (org-open-file): Interpret the `default' value for the `command'
6307         in `org-file-apps'.
6309         * org-id.el (org-id-int-to-b36-one-digit)
6310         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6311         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6312         b36.
6314 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6316         * org-id.el (org-id-reverse-string): New function.
6317         (org-id-new): Use `org-id-reverse-string' to make sure the
6318         beginning chars of the ID are mutating fast.  This allows to use a
6319         directory structure to spread things better.
6320         (org-id-prefix): Changed default to nil.
6322         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6323         restore the column of the cursor position.
6325         * org-remember.el (org-remember-apply-template): Remove properties
6326         from `initial'.
6328 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6330         * org-wl.el (org-wl-open): Remove useless call to
6331         `wl-thread-open-all'.
6333         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6334         location.
6336 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6338         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6339         `org-bbdb-anniversaries'.
6341         * org.el (org-get-next-sibling, org-forward-same-level): New
6342         functions, similar to the outline versions, but invisible headings
6343         are OK.
6345 2008-09-25  Bastien Guerry  <bzg@altern.org>
6347         * org.el (org-auto-repeat-maybe): Insert a space between
6348         the timestamp's type and the timestamp itself.
6350 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6352         * org-table.el (org-table-sum): Do not format the result with %g,
6353         it does rounding when there are too many digits.
6355         * org.el (org-map-entries): Protect the keyword-selecting variables.
6357 2008-09-23  Bastien Guerry  <bzg@altern.org>
6359         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6360         against all agenda files.
6362 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6364         * org-list.el: New file, aggregating list functions from org.el
6365         and org-export-latex.el.
6367         * org.el (org-edit-src-region-extra): New option.
6369 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6371         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6372         time before 1am.
6374 2008-09-22  Bastien Guerry  <bzg@altern.org>
6376         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6378 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6380         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6381         hline work correctly.
6382         (org-plot/gnuplot-script): Put commas at the end of each script
6383         line.
6385 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6387         * org.el (org-get-refile-targets): Replace links with their
6388         descriptions
6389         (org-imenu-get-tree): Replace links with their descriptions.
6391         * org-remember.el (org-remember-apply-template): Add a new
6392         expansion for adding properties to remember items.
6394         * org.el (org-add-log-setup): Skip over drawers (properties,
6395         clocks etc) when adding notes.
6397         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6398         items as well as the start and end times.
6400         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6401         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6403         * org-remember.el (org-get-x-clipboard): Use the compat
6404         function to get clipboard values when x-selection-value is
6405         unavailable. Use substring-no-properties instead of
6406         set-text-properties to remove text properties from the clipboard
6407         value.
6409         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6410         modeline clock string, and display the full todo value in the
6411         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6412         the currently clocked task.
6413         (org-clock-string-limit): Add a custom value for the maximum
6414         length of the clock string in the modeline.
6415         (org-clock-mode-map): Add a keymap for the modeline string
6417 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6419         * org-compat.el (org-propertize): New function.
6421 2008-09-20  Bastien Guerry  <bzg@altern.org>
6423         * org-export-latex.el (org-export-latex-tables): protect exported
6424         tables from further special chars conversion.
6425         (org-export-latex-preprocess): Preserve LaTeX environments.
6426         (org-list-parse-list): Parse descriptive lists.
6427         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6428         (org-list-to-texinfo): Export descriptive lists.
6429         (org-quote-chars): Remove.
6430         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6431         (org-export-latex-list-beginning-re): Rename to
6432         `org-list-beginning-re'
6433         (org-list-item-begin): Rename to `org-list-item-beginning'
6435 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6437         * org.el (org-refile): Allow refiling to the last entry in the
6438         buffer.
6439         (org-get-tags-at): Fix bug when inheritance is turned off.
6441 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6443         * org.el (org-indent-line-function): No longer check for src
6444         regions, this is too much overhead.
6446         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6447         matching.
6449         * org.el (org-scan-tags): Make sure that tags matching is not case
6450         sensitive.  TODO keyword matching is case sensitive, however, to
6451         avoid confusion with similar words that are not meant to be
6452         keywords.
6454 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6456         * org.el (org-get-local-tags-at): New function.
6457         (org-get-local-tags): New function.
6459         * org-exp.el (org-export-get-categories): New function.
6461         * org-agenda.el (org-sorting-choice)
6462         (org-agenda-sorting-strategy, org-agenda-get-todos)
6463         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6464         (org-agenda-get-scheduled, org-agenda-get-blocks)
6465         (org-entries-lessp): Implement sorting by TODO state.
6466         (org-cmp-todo-state): New defsubst.
6468         * org-colview.el (org-colview-construct-allowed-dates): New
6469         function.
6470         (org-columns-next-allowed-value): Use
6471         `org-colview-construct-allowed-dates'.
6473         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6474         function.
6475         (org-columns-next-allowed-value): Use
6476         `org-colview-construct-allowed-dates'.
6478 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6480         * org.el (org-protect-slash): New function.
6481         (org-get-refile-targets): Use `org-protect-slash'.
6483         * org-agenda.el (org-global-tags-completion-table): New variable.
6485         * org-exp.el (org-export-handle-export-tags): New function.
6486         (org-export-preprocess-string): Call
6487         `org-export-handle-export-tags'.
6489         * org-plot.el: New file.
6491         * org-publish.el (org-publish-expand-components): Function removed.
6492         (org-publish-expand-projects): Allow components to have components.
6494 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6496         * org.el (org-indent-line-function): Do not indent in regions that
6497         are external source code.
6498         (org-yank-and-fold-if-subtree): New function.
6500         * org-agenda.el (org-agenda-todayp): New function.
6501         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6502         `org-agenda-todayp'.
6504         * org.el (org-insert-heading-respect-content)
6505         (org-insert-todo-heading-respect-content): New commands.
6506         (org-insert-heading-respect-content): New option.
6507         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6509         * org-clock.el (org-clock-find-position): Make sure the note after
6510         the clock line gets moved into the new clock drawer.
6512 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6514         * org-id.el (org-id-new): New option.
6516 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6518         * org-table.el (org-table-copy-down): Avoid overflow during
6519         increment.  Use prefix argument 0 to temporarily disable the
6520         increment.
6522 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6524         * org-exp.el (org-export-as-html): Do not turn on the major mode
6525         if the buffer will be killed anyway.
6526         (org-get-current-options): Exclude the #+TEXT field.
6527         (org-export-as-html): Make sure text before the first headline is
6528         a paragraph.
6530         * org-publish.el (org-publish-org-to): Tell the exporter that this
6531         buffer will be killed, so it is not necessary to do major mode
6532         initialization.
6534         * org-archive.el (org-archive-to-archive-sibling): Show empty
6535         lines after folding the archive sibling.
6537         * org.el (org-log-note-extra): New variable.
6539 2008-09-05  Bastien Guerry  <bzg@altern.org>
6541         * org.el (org-additional-option-like-keywords): Added keywords for
6542         the _QUOTE, _VERSE and _SRC environments.
6544         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6545         exporting _QUOTE and _VERSE environments.
6547 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6549         * org-agenda.el (org-agenda-filter-by-tag): New command.
6551         * org-exp.el (org-get-current-options): Remove angular brackets
6552         from the date entry.
6554         * org.el (org-edit-fixed-width-region): New function.
6555         (org-edit-fixed-width-region): Also try
6556         `org-edit-fixed-width-region'.
6557         (org-edit-fixed-width-region-mode): New option.
6558         (org-activate-code): Only interprete lines starting with colon
6559         plus a space as example lines.
6561         * org-remember.el (org-remember-templates): Add nil instead of
6562         empty strings to fix the length of remember templates.
6564         * org-table.el (org-calc-default-modes): Fix the time format for
6565         calc, from 12 hour to 24 hour clock.
6567 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6569         * org-agenda.el (org-agenda-get-deadlines)
6570         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6571         entries that are pre-warnings of deadlines or reminders.
6573         * org.el (org-sort-entries-or-items): Make numeric and alpha
6574         comparisons ignore any TODO keyword and priority cookie.
6576         * org-remember.el (org-remember-handler): Reinterpretation of the
6577         prefix argument.
6579 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6581         * org-agenda.el (org-agenda-get-scheduled): Use new
6582         `org-scheduled' face.
6584         * org-faces.el (org-scheduled): New face.
6586         * org-wl.el (org-wl-open): Remove incorrect declaration.
6588         * org-gnus.el (org-gnus-store-link): Support for :to information
6589         in gnus links.
6591         * org-exp.el (org-export-as-html): Fixed typo in creator
6592         information.
6593         (org-export-protect-examples): New parameter indent.  Insert extra
6594         spaces only when this parameter is specified.
6595         (org-export-preprocess-string): Call `org-export-protect-examples'
6596         with an indentation parameter when exporting to ASCII.
6598         * org-remember.el (org-remember-templates)
6599         (org-remember-apply-template): Allow the file component to be a
6600         function.
6602         * org.el (org-goto-local-search-headings): Renamed from
6603         `org-goto-local-search-forward-headings'.  Added the possibility
6604         to search backwards.
6606 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6608         * org-export-latex.el (org-export-latex): New customization
6609         group.
6611         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6613 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6615         * org-exp.el (org-html-do-expand): Allow {} to terminate
6616         tex macro
6618 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6620         * org.el (org-buffer-list): Select buffers based on major mode,
6621         not on file name.
6623 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6625         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6626         face property.
6628         * org-colview.el (org-columns-display-here): Use
6629         `org-columns-modify-value-for-display-function'.
6631         * org-colview-xemacs.el (org-columns-display-here): Use
6632         `org-columns-modify-value-for-display-function'.
6634 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6636         * org.el (org-columns-modify-value-for-display-function): New option.
6648         * org-publish.el (org-publish-file): Make sure the directory match
6649         for the publishing directory works correctly.
6651         * org-agenda.el (org-agenda-execute-calendar-command)
6652         (org-agenda-diary-entry): Additional optional argument.
6654 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6656         * org-exp.el (org-export-as-html): Add attributes also in mailto
6657         and ftp links.
6659         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6668 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6670         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6671         sure that calls from `org-export-region-as-html' do not do the
6672         special check for a subtree.
6674 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6676         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6678 2008-07-20  Juri Linkov  <juri@jurta.org>
6680         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6681         new keymap `narrow-map' instead of binding "\C-xns".
6683 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6685         * org.el (org-open-file): Use
6686         `org-open-directory-means-index-dot-org'.
6687         (org-open-directory-means-index-dot-org): New option.
6689 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6691         * org.el (org-make-link-string): Remove link attributes from
6692         description.
6693         (org-open-at-point): Remove link attributes bevore using the path.
6695         * org-exp.el (org-export-as-html): Handle link attributes.
6697         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6699         * org-table.el (org-table-to-lisp): New function.
6701         * org.el (org-narrow-to-subtree): Do not include the final newline
6702         into the narrowed region.
6704         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6705         bug with user-define skipping condition.
6707 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6709         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6711 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6713         * org-exp.el (org-export-html-style-default): Automatic overflow
6714         handling for pre fields.
6715         (org-export-as-ascii, org-export-as-html): Change default format
6716         for time stamp.
6718         * org-table.el (org-table-export): Offer completion for translator
6719         functions, and do not require a heading above the table.
6721         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6722         Cater for the case of a list starting in the first line of the
6723         buffer.
6725 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6727         * org-publish.el (org-publish-find-title): Bug fix.
6728         (org-publish-org-index): Implement new :index-style option.
6730 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6732         * org-publish.el (org-publish-timestamp-filename): Use
6733         SHA1-encoded file names in the timestamp directory.
6735 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6737         * org-publish.el (org-publish-needed-p): Be verbose about files
6738         published and files skipped.
6740         * org-exp.el (org-export-preprocess-string): Swap link
6741         normalization and inernal link targeting.
6743         * org-publish.el (org-publish-needed-p): Create timestamp
6744         directory when it does not exist.
6746 2008-07-04  Bastien Guerry  <bzg@altern.org>
6748         * org-clock.el (org-clock-out-when-done): Doc fix.
6750         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6752         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6753         Ignore case when searching for the COMMENT cookie at export time.
6755 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6757         * org-exp.el (org-get-file-contents)
6758         (org-get-and-remove-property): New functions.
6759         (org-export-handle-include-files): Handle the new prefix options.
6760         (org-export-as-html): Fix the verse environment.
6762 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6764         * org.el (org-time=, org-time<, org-time<=, org-time>)
6765         (org-time>=, org-time<>, org-2ft): New functions.
6766         (org-op-to-function): Also provide for the time testing fucntions.
6768 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6770         * org-exp.el (org-export-html-style-default): New constant.
6772 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6774         * org-exp.el (org-export-html-style-extra): New variable.
6775         (org-export-splice-style): New function.
6777 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6779         * org-exp.el (org-export-plist-vars, org-export-as-html):
6780         Implement `org-export-creator-info'.
6781         (org-export-creator-info): New option.
6783 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6785         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6786         (org-property-drawer-re, org-clock-drawer-re): New constants.
6788 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6790         * org-exp.el (org-icalendar-use-deadline)
6791         (org-icalendar-use-scheduled): New options.
6792         (org-icalendar-include-todo): Default changed to t.
6793         (org-print-icalendar-entries): Implement better utilization of
6794         scheduling and deadline time stamps.
6795         (org-export-target-internal-links, org-export-as-html): Allow file
6796         lines without the "file:" prefix if the file path is an absolute
6797         path or starts with ".".
6799         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6800         lastweek etc.
6801         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6803 2008-06-18  Glenn Morris  <rgm@gnu.org>
6804         * org.el (org-map-entries): Let-bind `file'.
6806 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6808         * org.el (org-agenda-skip-archived-trees): Docstring now
6809         discourages using this.
6810         (org-scan-tags): Check for org-agenda-archives-mode.
6811         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6812         (org-agenda-files): Functionality of second arg changed.
6814         * org-agenda.el (org-agenda-archives-mode): New variable
6815         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6816         (org-search-view, org-todo-list, org-tags-view)
6817         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6818         `ifmode' argument.
6819         (org-agenda-quit): Reset the archives mode.
6820         (org-agenda-archives-mode): New command.
6821         (org-agenda-set-mode-name): Include archives info.
6823 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6825         * org.el (org-paste-subtree): Make sure the yanked headline is
6826         visible if it was yanked at a visible point.
6827         (org-move-item-up): Fix the bug with moving white space at the end
6828         of the item.
6829         (org-show-empty-lines-in-parent): New function.
6831 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6833         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6835         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6837         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6838         agenda prefix as well.
6840         * org-publish.el (org-publish-org-index): Make a properly indented
6841         list.
6843         * org.el (org-calendar-agenda-action-key): New option.
6844         (org-get-cursor-date): New function.
6845         (org-mark-entry-for-agenda-action): New command.
6846         (org-overriding-default-time): New variable.
6847         (org-read-date): Respect `org-overriding-default-time'.
6849         * org-remember.el (org-remember-apply-template): Respect the
6850         ovverriding default time.
6852         * org-agenda.el (org-agenda-action-marker): New variable.
6853         (org-agenda-action): New command.
6854         (org-agenda-do-action): New function.
6856 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6858         * org.el (org-schedule, org-deadline): Protect scheduled and
6859         deadline tasks against changes that accidently remove the
6860         repeater.  Also show a message with the new date when done.
6862 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6864         * org.el (org-beginning-of-line): Cater for the case when there
6865         are tags but no headline text.
6866         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6867         it set.
6869 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6871         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6872         the return value is nil instead of "nil" when there is no match.
6874         * org-exp.el (org-insert-centered): Use fill-column instead of
6875         80.
6876         (org-export-as-ascii): Use string-width to measure the width of
6877         the heading.
6879         * org.el (org-diary-to-ical-string): No longer kill buffer
6880         FROMBUF, this is now done by the caller.
6882         * org-exp.el (org-print-icalendar-entries): Move the call to
6883         `org-diary-to-ical-string' out of the loop, and kill the buffer
6884         afterwords.
6886         * org-remember.el (org-remember-visit-immediately): Position
6887         cursor after moving to the note.
6888         (org-remember-apply-template): Use a text property to record the
6889         cursor position.
6890         (org-remember-handler): Align tags after pasting the note.
6892 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6894         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6896         * org-agenda.el (org-agenda-open-link): If there is an
6897         org-bbdb-name property in the current line, jump to that bbdb
6898         entry.
6900         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6901         text property, so that the agenda knows where this entry comes
6902         from.
6904         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6905         interaction between clocking-in from the agenda, and  automatic
6906         task state switching.
6908         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6910         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6911         zmacs-region stays after this command in XEmacs.
6913 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6915         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6917         * org-remember.el (org-remember-templates): Fix bug in
6918         customization type definition.
6920         * org.el (org-map-entries): New function.
6922 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6924         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6925         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6927 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6929         * org-remember.el (org-jump-to-target-location): New variable.
6930         (org-remember-apply-template): Set
6931         `org-remember-apply-template' if requested by template.
6932         (org-remember-handler): Start an idle timer to jump to
6933         remember location.
6935         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6937         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6938         file tags.
6939         (org-get-tags-at): Add the content of `org-file-tags'.
6941         * org-exp.el (org-export-handle-comments): Fix bug with several
6942         comment lines after each other.
6943         (org-number-to-roman, org-number-to-counter): New functions.
6944         (org-export-section-number-format): New option.
6946 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6948         * org-exp.el (org-export-protect-examples): Catch the case of a
6949         missing end_example line.
6951         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6952         `org-file-tags' to nil.
6954         * org-colview.el (org-columns-next-allowed-value): Handle next
6955         argument NTH to directly select a value.
6957         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6958         argument NTH to directly select a value.
6960 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6962         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6964 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6966         * org.el (org-columns-ellipses): New option.
6968 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6970         * org-colview.el (org-columns-add-ellipses): New function.
6971         (org-columns-compact-links): New function.
6972         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6973         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6974         when in agenda.
6975         (org-columns-edit-value): Fixed bug with editing values from
6976         agenda column view.
6977         (org-columns-redo): Also redo the agenda itself.
6979 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6981         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6982         option.
6984         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6986         * org-exp.el (org-export-ascii-preprocess): Renamed from
6987         `org-export-ascii-clean-string'.
6988         (org-export-kill-licensed-text)
6989         (org-export-define-heading-targets)
6990         (org-export-handle-invisible-targets)
6991         (org-export-target-internal-links)
6992         (org-export-remove-or-extract-drawers)
6993         (org-export-remove-archived-trees)
6994         (org-export-protect-quoted-subtrees)
6995         (org-export-protect-verbatim, org-export-protect-examples)
6996         (org-export-select-backend-specific-text)
6997         (org-export-mark-blockquote-and-verse)
6998         (org-export-remove-comment-blocks-and-subtrees)
6999         (org-export-handle-comments, org-export-mark-radio-links)
7000         (org-export-remove-special-table-lines)
7001         (org-export-normalize-links)
7002         (org-export-concatenate-multiline-links)
7003         (org-export-concatenate-multiline-emphasis): New functions,
7004         obtained from spliiting the export preprocessor.
7006         * org-table.el (org-table-recalculate): Improve error message if
7007         the row number is invalid.
7009 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7011         * org-archive.el (org-archive-save-context-info): Fix bugs in
7012         customization setup and docstring.
7014         * org-exp.el (org-export-html-style): Changed the size of in the
7015         <pre> element to 90%.
7017 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7019         * org.el (org-find-src-example-start): Function removed.
7020         (org-edit-src-find-region-and-lang): New function.
7022 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7024         * org.el (org-edit-src-exit): New function.
7025         (org-exit-edit-mode): New minor mode.
7027         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7028         comment-like lines from protected examples.
7030         * org.el (org-edit-src-example, org-find-src-example-start)
7031         (org-protect-source-example, org-edit-special): New functions.
7033 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7035         * org-publish.el (org-publish-project-alist): Fix typo in
7036         docstring.
7037         (org-publish-project-alist): Handle :index-title property.
7039 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7041         * org-export-latex.el (org-export-as-latex): Make sure region
7042         bounds are correct.  Parse subtree properties relating to export.
7044         * org-exp.el (org-export-add-options-to-plist): New function.
7045         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7047 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7049         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7050         EXPORT_TITLE.
7052         * org-exp.el (org-export-get-title-from-subtree)
7053         (org-export-as-ascii, org-export-as-html): Make sure the original
7054         region-beginning and region-end are used, even after moving
7055         point.
7056         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7057         property.
7059         * org-remember.el (org-remember-last-stored-marker): New variable.
7060         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7061         (org-remember-handler): Also use marker to remember
7062         last-stored position.
7064         * org.el (org-goto-marker-or-bmk): New function.
7066 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7068         * org.el (org-file-properties): Renamed from `org-local-properties'.
7069         (org-scan-tags): Take file tags into account.
7070         (org-tags-match-list-sublevels): Default changed to t.
7072         * org-exp.el (org-export-as-html): Close paragraph after a
7073         footnote.
7075         * org.el (org-update-parent-todo-statistics): New function.
7077         * org-exp.el (org-icalendar-store-UID): New option.
7078         (org-icalendar-force-UID): Option removed.
7079         (org-print-icalendar-entries): IMplement UIDs.
7081 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7083         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7085 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7087         * org-faces.el (org-column): Document how this face is being used
7088         and why sometimes the background faces shine through.
7090         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7092         * org-publish.el (org-publish-attachment): Create publishing
7093         directory if it does not yet exist.
7095         * org-table.el (org-calc-default-modes): Change default number
7096         format to (float 8).
7098         * org.el (org-olpath-completing-read): New function.
7099         (org-time-clocksum-format): New option.
7100         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7102         * org-clock.el (org-clock-display, org-clock-out)
7103         (org-update-mode-line): Use `org-time-clocksum-format'.
7105         * org-colview-xemacs.el (org-columns-number-to-string): Use
7106         `org-time-clocksum-format'.
7108         * org-colview.el (org-columns-number-to-string): Use
7109         `org-time-clocksum-format'.
7111 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7113         * org-id.el: New file, move from contrib to core.
7115         * org-exp.el (org-icalendar-force-UID): New option.
7117 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7119         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7120         shifted by one day if theere is a date range without an end
7121         time.
7123         * org.el (org-try-structure-completion): New function.
7125 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7127         * org.el (org-set-font-lock-defaults): Improve fontification of
7128         description lists.
7129         (org-insert-item): Handle description lists.
7130         (org-adaptive-fill-function): Improve auto indentation in
7131         description lists.
7133         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7134         Implement VERSE environment.
7135         (org-export-preprocess-string): Implement the COMMENT
7136         environment.
7138         * org-export-latex.el (org-export-latex-preprocess): Implement
7139         VERSE environment.
7141 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7143         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7144         option.
7146 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7148         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7150         * org.el (org-quote-csv-field): New functions.
7152         * org-table.el (org-table-export-default-format): Remove :splice
7153         from default format, we get the same effect by not specifying
7154         :tstart and :tend.
7155         (org-table-export): Improve setup, distinguish better between
7156         interactive and non-interactive use, allow specifying the format
7157         on the fly, better protection against wrong file names.
7158         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7159         and :tend when :splice is omitted.
7161 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7163         * org-clock.el (org-clock-select-task): Make sure the selection
7164         letters are 1-9 and A-Z, no special characters.
7166 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7168         * org-exp.el (org-export-htmlize): New group.
7169         (org-export-htmlize-output-type)
7170         (org-export-htmlize-css-font-prefix): New options.
7171         (org-export-htmlize-region-for-paste): New function.
7172         (org-export-htmlize-generate-css): New command.
7174 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7176         * org/org.el (org-modules, org-format-latex-options):
7177         * org/org-archive.el (org-archive-stamp-time)
7178         (org-archive-save-context-info):
7179         * org/org-faces.el (org-hide):
7180         * org/org-irc.el (org-irc-parse-link):
7181         * org/org-macs.el (org-call-with-arg, org-autoload):
7182         * org/org-mew.el (org-mew-store-link):
7183         * org/org-remember.el (org-remember-store-without-prompt)
7184         (org-remember-templates): Fix typos in docstrings.
7186         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7188         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7189         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7190         (org-bbdb-anniv-split): Fix typos in docstrings.
7192         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7193         (org-publish-use-timestamps-flag): Reflow docstring.
7194         (org-publish-files-alist): Fix typos in docstring.
7196 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7198         * org.el (org-set-visibility-according-to-property): New function.
7199         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7200         and compute the regular expressions, and update font-lock.
7201         (org-property-re): Allow a dash in property names.
7203         * org-archive.el (org-extract-archive-file): Insert the file name
7204         without the path into the format, to allow the location format to
7205         contain a subdirectory.
7207         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7208         of buffer, and the `org-agenda-type' property undefined, use the
7209         value from the character before.
7211         * org.el (org-add-planning-info): Don't let indentation for
7212         would-be timestamp become extra whitespace at the end of headline.
7214 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7216         * org.el (org-remove-double-quotes, org-file-contents): New
7217         functions.
7219         * org-exp.el (org-infile-export-plist): Also parse the
7220         contents of #+SETUPFILE files, recursively.
7222         * org.el (org-set-regexps-and-options): Also parse the
7223         contents of #+SETUPFILE files, recursively.
7225         * org-exp.el (org-export-handle-include-files): New function.
7226         (org-export-preprocess-string): Call
7227         `org-export-handle-include-files'.
7229         * org.el (org-delete-property-globally)
7230         (org-delete-property, org-set-property): Ignore case during
7231         completion.
7232         (org-set-property): Use `org-completing-read' instead of
7233         `completing-read'.
7235         * org.el (org-complete-expand-structure-template): New,
7236         experimental function.
7237         (org-structure-template-alist): New, experimental option.
7238         (org-complete): Call `org-complete-expand-structure-template'.
7240 2008-05-06  Bastien Guerry  <bzg@altern.org>
7242         * org-export-latex.el (org-export-latex-preprocess): Added
7243         support for blockquotes.
7245 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7247         * org.el (org-read-date-analyze): Catch the case where only a
7248         weekday is given.
7250 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7252         * org.el (org-set-font-lock-defaults): Make the description
7253         tag bold.
7255         * org-exp.el (org-export-as-html, org-close-li): Implement
7256         description lists.
7258 2008-05-04  Jason Riedy  <jason@acm.org>
7260         * org-table.el (*orgtbl-default-fmt*): New variable.
7261         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7262         when there is no other fmt available.
7264         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7265         :tend to suppress the appropriate string.
7267         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7268         table.
7270 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7272         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7273         read date.
7275         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7276         New function.
7278         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7279         New function.
7281 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7283         * org-clock.el (org-clock-find-position): Don't include notes
7284         into clock drawer.
7286         * org-archive.el (org-archive-subtree): No longer remove an
7287         extra line after cutting the subtree.  `org-cut-subtree' already
7288         takes care of this.
7290         * org-remember.el (org-remember-handler): Only kill the target
7291         buffer if it does not contain the running clock.
7293         * org.el (org-markers-to-move): New variable.
7294         (org-save-markers-in-region, org-check-and-save-marker)
7295         (org-reinstall-markers-in-region): New function.
7296         (org-move-subtree-down, org-copy-subtree): Remember relative
7297         marker positions before cutting.
7298         (org-move-subtree-down, org-paste-subtree): Restore relative
7299         marker positions after pasting.
7301         * org-remember.el (org-remember-clock-out-on-exit): New option.
7302         (org-remember-finalize): Clock out only if the setting in
7303         `org-remember-clock-out-on-exit' requires it.
7304         (org-remember-handler): Do the cleanup in the buffer, to make sure
7305         that the clock marker remains in tact.
7307 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7309         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7310         (org-clock-in): Make sure that also tasks outside the narrowed
7311         region will be clocked in correctly.
7312         (org-clock-insert-selection-line): Widen the buffer so that we can
7313         find the correct task heading.
7315         * org.el (org-base-buffer): New function.
7317         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7318         and ";" are escaped.
7319         (org-print-icalendar-entries): Also apply
7320         `org-icalendar-cleanup-string' to the headline, not only to the
7321         summary property.
7323 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7325         * org-exp.el (org-export-preprocess-hook): New hook.
7326         (org-export-preprocess-string): Call
7327         `org-export-preprocess-hook'.
7329         * org.el (org-font-lock-hook): New variable.
7330         (org-font-lock-hook): New function.
7331         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7333 ;; Local Variables:
7334 ;; coding: utf-8
7335 ;; add-log-time-zone-rule: t
7336 ;; End:
7338     Copyright (C) 2008  Free Software Foundation, Inc.
7340   This file is part of GNU Emacs.
7342   GNU Emacs is free software: you can redistribute it and/or modify
7343   it under the terms of the GNU General Public License as published by
7344   the Free Software Foundation, either version 3 of the License, or
7345   (at your option) any later version.
7347   GNU Emacs is distributed in the hope that it will be useful,
7348   but WITHOUT ANY WARRANTY; without even the implied warranty of
7349   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7350   GNU General Public License for more details.
7352   You should have received a copy of the GNU General Public License
7353   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7355 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c