Let blocking be turned-off on a per-file basis using local variables
[rgr-org-mode.git] / lisp / ChangeLog
blob8e1ceefa38e24ce74600ef7c541760b1cfafbcf3
1 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-block-todo-from-children-or-siblings-or-parent)
4         (org-block-todo-from-checkboxes): Respect the local variable
5         value when deciding if blocking should be active.
7         * org-latex.el (org-export-latex-make-header): Define the align
8         macro if it is not yet defined.
10         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
11         `org-insert-heading' with the INVISIBLE-OK argument.
13         * org-mac-message.el (org-mac-message-insert-flagged): Call
14         `org-insert-heading' with the INVISIBLE-OK argument.
16         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
18         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
19         prompt message.
21         * org-html.el (org-html-level-start): Use the
22         `html-container-class' text property to set an additional class
23         for an outline container.
25         * org-exp.el (org-export-remember-html-container-classes): New
26         function.
27         (org-export-preprocess-string): Call
28         `org-export-remember-html-container-classes'.
30         * org.el (org-cycle): Mention level cycling in the docstring.
31         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
33         * org-remember.el (org-remember-apply-template): Do file insertion
34         first.
36 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
38         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
39         problem with mis-aligned graphs when showing habits.
41 2010-01-28  Mikael Fornius  <mfo@abc.se>
43         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
44         when assigning. Begin using numerical characters when all in name
45         is used up. This is to spare alphanumeric characters for better
46         match with other keywords.
48 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
50         * org-exp.el (org-export-preprocess-hook): Improve documentation.
52         * org-latex.el (org-export-latex-preprocess): More consistent
53         conversion and protection of the words LaTeX and TeX.
54         (org-export-latex-fontify-headline, org-export-latex-preprocess):
55         Allow angle brackets in commands, for beamer.
57 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
59         * org-clock.el (org-clock-in): Improve the look of the clock line
60         by formatting links.
62 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
64         * org-latex.el (org-export-latex-classes): Use AUTO as the place
65         holder string for the coding system.  And improve the
66         documentation.
67         (org-export-latex-fix-inputenc): Only modify the coding system if
68         it is given by the placeholder AUTO.
70 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
72         * org-clock.el (org-task-overrun-text): New option.
73         (org-task-overrun, org-clock-update-period): New variables.
74         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
75         overrun clock.
76         (org-clock-notify-once-if-expired): Check if clock is overrun.
78         * org-faces.el: New face `org-mode-line-clock-overrun'.
80 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
82         * org.el (org-narrow-to-subtree): Position the end of the narrowed
83         region before the line with the next heading, to prevent the user
84         from prepending text to the next headline.
86 2010-01-20  Stephen Eglen  <stephen@gnu.org>
88         * org-agenda.el (org-get-time-of-day): Use
89         org-agenda-time-leading-zero to allow leading zero (rather than
90         space) for times.
92 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
94         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
95         org-datetree.el is loaded.
97         * org-datetree.el: autoload `org-datetree-find-day-create'
99         * org-latex.el (org-export-latex-hyperref-format): New option.
100         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
102 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
104         * org-ctags.el (org-ctags-enable): Change order of functions.
105         (org-ctags-create-tags): Add wildcard to file name expansion.
107 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
109         * org.el (org-entry-properties): Fix some important bugs.
111 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
113         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
114         the table is not explicitly given.
116 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
118         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
119         as value.
120         (org-clock-out-if-current): Work with the new list value of
121         `org-clock-out-when-done'.
122         (org-clock-out, org-clock-out-if-current): Avoid circular logic
123         between clocking out and state changes.
125         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
127         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
128         accident protect a character that is before a backslash.
130 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
132         * org-agenda.el (org-diary-class): Use
133         `org-order-calendar-date-args'.
135         * org.el (org-order-calendar-date-args): New function.
137         * org-exp.el (org-export-target-internal-links): Check for
138         protectedness after the first bracket.
140         * org.el (org-entry-properties): Don't match wrong-case TODO
141         keywords.
143         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
144         Document that ARG is passed through to remove the date.
145         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
146         not read a date when the user has given a `C-u' prefix.
148 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
150         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
151         tags are hidden.
153 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
155         * org-latex.el (org-export-latex-fix-inputenc): New function.
156         (org-export-latex-inputenc-alist): New option.
158         * org-exp.el (org-export): New key SPC to publish enclosing
159         subtree.
161 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
163         * org-indent.el (org-indent-add-properties): Catch case when there
164         is no headline in the buffer.
166 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
168         * org-exp.el (org-html-entities): Add checkmark symbol.
170         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
171         verbatim code for ASCII export.
173         * org.el (org-update-statistics-cookies): Also see checkboxes in
174         ordered lists.
176 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
178         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
179         key.
181         * org-beamer.el (org-beamer-amend-header): Change the location
182         where `org-beamer-header-extra' is inserted.
184         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
185         just for computing this regexp.
187 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
189         * org-beamer.el (org-beamer-frame-default-options): New option.
190         (org-beamer-sectioning): Use default options if the user does not
191         have defined any.
192         (org-beamer-fix-toc): Put a frame around the table of contents.
194         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
195         sure case-folding works well when processing comment stuff.
197         * org-latex.el (org-export-latex-after-save-hook): New hook.
198         (org-export-as-latex): Run the new hook.
200 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
202         * org-beamer.el (org-beamer-environments-default): Add the note
203         environments.
204         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
205         lines and collect and combine the content.
206         (org-beamer-after-initial-vars): Check for note tags and make sure
207         they will be seen like a property.
209         * org.el (org-offer-links-in-entry): Fix bug when there is a
210         single link.
212         * org-exp.el (org-export): Make sure the mark is activated, also
213         when `transient-mark-mode' is off.
215         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
216         (org-agenda-search-view-search-words-only): Obsolete variable, is
217         now an alias for `org-agenda-search-view-always-boolean'.
218         (org-agenda-search-view-force-full-words): New option.
219         (org-search-view): Improve docstring, and implement a better logic
220         for Boolean and phrase searches.
221         (org-agenda-last-search-view-search-was-boolean): New variable.
222         (org-agenda-manipulate-query): Consider the type of the last
223         search when modifying the search string.
225 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
227         * org-latex.el (org-export-as-latex): Do the first letbind in the
228         right moment.
230         * org-agenda.el (org-get-entries-from-diary): Add the new face to
231         these entries.
233         * org-faces.el (org-agenda-diary): New face.
235         * org.el (org-make-link-regexps): Allow regexp-special characters
236         in link types.
237         (org-open-file): When in-emacs is `system', also force system
238         opening, like when the value was `(16)'.
239         (org-update-statistics-cookies): Handle entries without children.
241         * org-exp.el
242         (org-export-preprocess-before-normalizing-links-hook): New hook.
243         (org-export-preprocess-string): Run the new hook.
245         * org.el (org-offer-links-in-entry): Make RET open all links.
247         * org-html.el (org-export-as-html): Remove any left-over display
248         properties in the html file.
250         * org-wl.el (org-wl-store-link): Work-around for format bug with
251         text properties.
253         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
254         invisibility while adding the graphs.
256 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
258         * org-remember.el (org-select-remember-template): Use C letter to
259         customize remember templates.
261         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
262         Move cursor to next visible line.
264 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
266         * org-beamer.el (org-beamer-sectioning): Leave columns environment
267         by specifying 0 or 1 for column width.
268         (org-beamer-column-widths): Make 0 stand for 0.0.
270 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
272         * org-exp.el (org-export-mark-radio-links): Don't match inside
273         <<target>>.
275         * org.el (org-format-latex-header-extra): New variable.
276         (org-format-latex): Set org-format-latex-header-extra from
277         in-buffer stuff.
278         (org-format-latex): Add org-format-latex-header-extra to the
279         variables on which image creation depends.
280         (org-create-formula-image): Add the header stuff from in-buffer
281         settings.
282         (org-read-date-analyze): Base the analysis for future preference
283         on NOW, not on the default date.
285         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
286         for TODO keyword in inline tasks.
288         * org.el (org-log-note-headings): New headings for removing
289         deadline or scheduling date.
290         (org-deadline, org-schedule): Arrange for logging when removing a
291         date.
292         (org-add-log-note): Handle deadline and scheduling removal.
294 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
296         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
298 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
300         * org-agenda.el (org-diary-class): New function.
302 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
304         * org-latex.el (org-export-latex-preprocess): Do process the text
305         of a radio target.
307 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
309         * org.el (org-entry-properties): Add TIMESTAMP properties back
310         in.
312 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
314         * org.el (org-all-time-keywords): New variable.
315         (org-set-regexps-and-options): Set `org-all-time-keywords'.
316         (org-entry-blocked-p): New function.
317         (org-special-properties): Add BLOCKED as a new special property.
318         (org-entry-properties): New optional argument SPECIFIC, only parse
319         for this property when it is specified.
320         (org-entry-get): Pass a SPECIFIC argument to
321         `org-entry-properties'.
323         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
325 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
327         * org-latex.el (org-export-latex-tables): No forced line end if
328         there is no caption.
330 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
332         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
333         package.
335         * org-latex.el (org-export-latex-tables): Only add a caption when
336         macro in in longtable environments if one has been defined.
338         * org-html.el (org-export-as-html): Only take title from buffer if
339         not exporting body-only.
341         * org-latex.el (org-export-latex-preprocess): Better version of
342         the regular expression for protecting LaTeX macros.
343         (org-export-latex-preprocess): Start searching for macros to
344         protect from beginning of buffer.
346         * org-exp.el (org-export-target-internal-links): Check for
347         protectedness earlier in the string.
349         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
350         case sensitively.
352         * org-id.el (org-id-store-link): Match TODO keywords case
353         sensitively.
355         * org.el (org-heading-components, org-get-outline-path)
356         (org-display-outline-path): Match TODO keywords case sensitively.
358         * org-latex.el (org-export-as-latex): Ignore read-only
359         properties.
361         * org-exp.el (org-export-preprocess-string): Remove any
362         `read-only' properties.
364         * org-agenda.el (org-agenda-inactive-leader): New option.
365         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
366         (org-tags-view): Prompt for matcher if MATCH is an empty string.
367         (org-todo-list): Prompt for matcher if ARG is an empty string.
369 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
371         * org.el (org-open-link-functions): New hook.
372         (org-open-at-point): Run `org-open-link-functions'.
374 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
376         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
377         stamps as well.
379         * org.el (org-inhibit-startup-visibility-stuff): New variable.
380         (org-mode): Don't do startup visibility if inhibited.
381         (org-outline-overlay-data, org-set-outline-overlay-data): New
382         functions.
383         (org-save-outline-visibility): New macro.
384         (org-log-note-headings): Document that one should not change the
385         `state' note format.
387 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
389         * org.el (org-make-link-regexps): Capture link path into a group.
391 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
393         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
394         the options plist.
396 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
398         * org.el (org-startup-with-beamer-mode): New option.
399         (org-property-changed-functions)
400         (org-property-allowed-value-functions): New hooks.
401         (org-entry-put, org-property-get-allowed-values): Run the new
402         hooks.
403         (org-property-next-allowed-value): Run the new hooks.
405         * org-exp.el (org-export-select-backend-specific-text): Add the
406         special beamer tags.
408         * org-beamer.el
409         (org-export-preprocess-before-selecting-backend-code-hook): New
410         file.
412         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
413         (org-export-as-latex): Run
414         `org-export-latex-after-initial-vars-hook'.
415         (org-export-latex-format-toc-function)
416         (org-export-latex-make-header): Call
417         `org-export-latex-format-toc-function'.
419         * org.el (org-fill-template): Make template searches case sensitive.
421         * org-exp.el (org-export): Use "1" as a sign to export only the
422         subtree.
424         * org-colview-xemacs.el (org-columns-edit-value): Use
425         org-unrestricted property.
427         * org-colview.el (org-columns-edit-value):  Use
428         org-unrestricted property.
430         * org.el (org-compute-property-at-point): Set org-unrestricted
431         text property if the list contains ":ETC".
432         (org-insert-property-drawer):  Use
433         org-unrestricted property.
435         * org-exp.el
436         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
437         (org-export-preprocess-string): Run
438         `org-export-preprocess-before-selecting-backend-code-hook'.
440         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
442         * org-latex.el (org-export-region-as-latex): Run
443         `org-export-first-hook'.
445         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
447         * org-docbook.el (org-export-as-docbook): Run
448         `org-export-first-hook'.
450         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
452         * org-exp.el (org-export-first-hook): New hook.
454 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
456         * org-list.el (org-previous-item): Exit at the beginning of the
457         buffer.
459         * org-id.el (org-id-locations-save): Only write the id locations
460         if any are defined.
462         * org-archive.el (org-archive-all-done): Make this work in a file
463         with org-odd-levels-only set.
465         * org.el (org-get-refile-targets): Catch the case when a buffer
466         has no file.
468         * org-latex.el (org-export-as-latex): Cleanup forced line ends
469         where they are not needed.
470         (org-export-latex-subcontent): Remove unnecessary newlines.
472 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
474         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
475         (org-export-latex-fontify): Fix regexp bug that takes special
476         care of protecting the right boundary characters in emphasis
477         matches.
478         (org-export-latex-preprocess): Allow multiple arguments to latex
479         macros.
481         * org.el (org-make-link-regexps): Use John Gruber's regexp for
482         urls.
484         * org-macs.el (org-re): Interpret :punct: in regexps.
486         * org-exp.el (org-export-replace-src-segments-and-examples): Also
487         take the final newline after the END line.
489         * org.el (org-clean-visibility-after-subtree-move): Only fix
490         entries that are not entirely invisible already.
491         (org-insert-link): Respect org-link-file-path-type for
492         "docview:" links in addition to "file:" links.
494 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
496         * org-exp.el (org-export-format-source-code-or-example): Avoid
497         additional extra white lines in LaTeX.
499         * org-list.el (org-list-parse-list): Leave empty lines after the
500         list, don't consider them as part of the list.
502         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
503         searches.
505         * org-clock.el (org-clock-select-task): Convert integer to
506         character for XEmacs.
508 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
510         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
511         compatible.
513 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
515         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
516         variable.
517         (org-set-tags): Use it.
519 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
521         * org-list.el (org-empty-line-terminates-plain-lists): Update
522         docstring.
524         * org.el (org-format-latex): Fix link creation for processed latex
525         snippets.
527 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
529         * org-footnote.el (org-footnote-normalize): Protect replacement
530         text.
532         * org.el (org-inside-latex-macro-p): Save match data.
534 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
536         * org-docview.el: New file.
538 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
540         * org-latex.el (org-export-latex-class-options): New variable.
541         (org-export-latex-set-initial-vars): Use the class options.
543         * org.el (org-forward-same-level): Stop at headings that start
544         with an invisible character.
545         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
547 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
549         * org-footnote.el (org-footnote-normalize): Don't take optional
550         arguments in LaTeX macros as footnotes.
552         * org.el (org-inside-latex-macro-p): New function.
554         * org-latex.el (org-latex-to-pdf-process): Change customization
555         group to `org-export-pdf'.
557         * org-agenda.el (org-agenda-get-blocks): Look at time string also
558         on days after the first one.
560         * org.el (org-insert-heading): Also check for item before assuming
561         before-first-heading condition.
563         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
564         (org-export-pdf-logfiles): New option.
565         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
566         (org-export-pdf-logfiles): Fix customization type.
568         * org.el (org-insert-link): Improve error message when there is no
569         default link to select with RET.
571         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
572         parameter list.
574 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
576         * org-latex.el (org-export-latex-parse-global)
577         (org-export-latex-parse-content)
578         (org-export-latex-parse-subcontent): Use
579         `org-re-search-forward-unprotected'.
580         (org-export-as-pdf): Remove log files produced by XeTeX.
582         * org-macs.el (org-re-search-forward-unprotected): New function.
584 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
586         * org-colview.el (org-agenda-colview-summarize): Sort out some
587         confusion between properties and titles, which resulted in
588         agenda summaries not working if a title was set for a column.
590 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
592         * org-mobile.el (org-mobile-agendas): New option.
593         (org-mobile-sumo-agenda-command): Select the right agendas.
595         * org-latex.el (org-export-latex-format-image): Preserve the
596         original-indentation property.
598 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
600         * org-clock.el (org-clock-insert-selection-line): Catch error when
601         an old tasks no longer exists.
603         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
604         (org-export-as-pdf): Don't remove the old PDF file before making
605         the new one.
607         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
608         (org-mouse-context-menu): Use `org-looking-back'.
610         * org.el (org-cycle-level): Use `org-looking-back'.
612         * org-list.el (org-cycle-item-indentation): Use
613         `org-looking-back'.
615         * org-compat.el (org-looking-back): New function.
617         * org.el (org-insert-heading): Catch before-first-headline when
618         inserting a headline.
620 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
622         * org-latex.el (org-export-latex-format-image): Indent figure
623         environment, so that it does not interrupt plain list.
625         * org.el (org-open-at-point): Allow long link descriptions.
627 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
629         * org-html.el (org-export-as-html): Remove empty lines at the
630         beginning of the exported text.
632 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
634         * org-protocol.el (org-protocol-remember): Cater for empty title,
635         region, link.
637         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
638         agenda after adding new entry.
639         (org-agenda-get-represented-tags): New function.
640         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
641         to get a list of tags in the agenda.
643         * org-datetree.el (org-datetree-find-day-create): Fix regular
644         expression.
646         * org.el (org-display-outline-path): Use a format specifier for
647         message, to avoid problems with heading containing `%'.
649         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
650         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
651         (org-agenda-fix-displayed-tags): New function.
652         (org-agenda-do-context-action): Just call
653         `org-display-outline-path', without piping the result through
654         `message'.
656         * org-latex.el (org-export-latex-preprocess): Protect secondary
657         footnote references.
659         * org-indent.el (org-indent-initialize): Avoid empty strings as
660         line prefixes.
662         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
663         hat checking for the mark does not throw an error.
664         (org-agenda-diary-entry-in-org-file): Catch the case that there is
665         not `day' text property in the cursor line.
667         * org.el (org-sort-entries-or-items): Make sure that the final
668         entry has a newline before doing the sorting.
670         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
671         property at the beginning of the line.
673         * org.el (org-make-link-string): Don't allow a description with
674         only white space.
676 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
678         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
679         (org-agenda-insert-diary-as-top-level): New function.
680         (org-agenda-add-entry-to-org-agenda-diary-file): Call
681         `org-agenda-insert-diary-as-top-level'.
683         * org.el (org-occur-in-agenda-files): Make sure none of the
684         buffers is narrowed.
685         (org-activate-plain-links): Add the face property here.
686         (org-set-font-lock-defaults): Do not add the face to plain links,
687         the activator function does this.
689         * org-habit.el (org-is-habit-p): Add doc string.
691 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
693         * org-archive.el (org-archive-subtree-default-with-confirmation):
694         Autoload.
696         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
697         after match optional (happens at the end of a line...).
699         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
700         for special blocks.
702         * org-faces.el (org-copy-face): Set lisp indentation.
703         (org-quote, org-verse): New faces.
705         * org-agenda.el (org-agenda-remove-date): Remove variable.
707 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
709         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
711 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
713         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
714         hash keys to cache and re-use images generated by the
715         org-exp-blocks interface to ditaa and dot.
717 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
719         * org-html.el (org-export-as-html): Move the home/up link into
720         the content div.
722         * org.el (org-export-latex-packages-alist): Option definition
723         moved here from org-latex.el.
725 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
727         * org.el (org-format-latex): Latex images are now saved to files
728         named by the sha1 hash of the latex source text avoiding
729         regeneration of identical images.
731 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
733         * org-html.el (org-export-html-home/up-format): Add an ID to the
734         up/home div.
736 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
738         * org-wl.el (org-wl-store-link): Handle the case that
739         `wl-use-petname' is set.
741         * org.el (org-set-effort): Improve prompt.
742         (org-get-outline-path): Widen to get full path.
743         (org-compact-display-after-subtree-move): Function removed.
745         * org-latex.el (org-export-as-latex): Add the :drawers property.
747 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
749         * org.el (org-speed-commands-user): Allow documentation headlines.
750         (org-speed-commands-default): Organize the value of this constant
751         with descriptive headlines.
752         (org-print-speed-command): Output the headlines.
754 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
756         * org-agenda.el (org-agenda-show-outline-path): New option.
757         (org-agenda-do-context-action): New function.
758         (org-agenda-next-line, org-agenda-previous-line): Use
759         `org-agenda-do-context-action'.
761         * org.el (org-use-speed-commands): Allow function value.
762         (org-speed-commands-default): Make headline motion safe, so that
763         these commands always end on a headline.
764         (org-speed-commands-default): New key `v' for `org-agenda'.
765         (org-speed-move-safe): New function.
766         (org-self-insert-command): Use the function value of
767         `org-use-speed-commands'.
768         (org-get-outline-path): Improve docstring.
769         (org-format-outline-path): New function.
770         (org-display-outline-path): New function.
772 2009-11-12  John Wiegley  <jwiegley@gmail.com>
774         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
775         a string, use that to find the LOGBOOK drawer.
777 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
779         * org.el (org-clone-subtree-with-time-shift): Make it work at the
780         end of the buffer.
782         * org-mobile.el (org-mobile-write-checksums): Specify coding
783         system.
784         (org-mobile-timestamp-buffer): Keep local variable/mode line at
785         beginning of buffer.
787         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
789         * org.el (org-block-todo-from-children-or-siblings-or-parent)
790         (org-block-todo-from-checkboxes): Do not block changes to a nil
791         TODO state.
793 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
795         * org-habit.el (org-habit-parse-todo): Indicate which habit is
796         wrongly set up in the error messages.
798         * org-colview.el (org-columns-display-here): Don't try to
799         calculate values if the underlying property is not set.
800         (org-columns-string-to-number): Convert age strings back into
801         fractional days.
802         (org-agenda-colview-summarize): Handle extended summary types
803         properly.
805         * org-colview-xemacs.el (org-columns-display-here): Don't try to
806         calculate values if the underlying property is not set.
807         (org-columns-string-to-number): Convert age strings back into
808         fractional days.
809         (org-agenda-colview-summarize): Handle extended summary types
810         properly.
812 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
814         * org-exp.el (org-export-format-drawer-function): New variable.
815         (org-export-format-drawer): New function.
816         (org-export-preprocess-string): Pass the backend as a parameter to
817         `org-export-remove-or-extract-drawers'.
818         (org-export-remove-or-extract-drawers): New parameter BACKEND.
820         * org-protocol.el (org-protocol-char-to-string): New defsubst.
822 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
824         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
825         message when no block is selected.
827         * org-latex.el (org-export-latex-links): Check for protectedness
828         in the last matched character, not after the match.
830         * org-datetree.el (org-datetree-find-date-create): Respect
831         restriction when KEEP-RESTRICTION is set.
832         (org-datetree-file-entry-under): New function.
833         (org-datetree-cleanup): New command.
835 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
837         * org-src.el (org-edit-src-code): New optional argument context
838         allows calling functions to avoid altering the saved window
839         configuration.
840         (org-edit-src-exit): Do not restore window configuration when this
841         function is used in the context of saving the edit buffer.
843 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
845         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
846         instances to switching to with-current-buffer, because these seem
847         to cause problems - no idea why.
849         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
850         Require diary-lib for (diary-date-display-form).
852         * org.el (org-log-reschedule, org-log-redeadline): New options.
853         (org-log-note-headings): Add templates for rescheduling and
854         deadline changing.
855         (org-startup-options): Add in-buffer settings for logging changing
856         schedule and deadline time stamps.
857         (org-deadline, org-schedule): Check for existing date and arrange
858         for logging if the user requests it.
859         (org-add-log-note): Prepare proper note buffers for rescheduling
860         and deadline changes.
862 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
864         * org-agenda.el (org-agenda-diary-entry-in-org-file)
865         (org-agenda-add-entry-to-org-agenda-diary-file)
866         (org-agenda-insert-diary-make-new-entry): New functions.
867         (org-agenda-diary-entry): Call
868         `org-agenda-diary-entry-in-org-file' when appropriate.
870         * org.el (org-calendar-insert-diary-entry-key): New option.
871         (org-agenda-diary-file): New option.
872         ("calendar"): Install our insertion function in the calendar.
874         * org-remember.el (org-datetree): Require.
875         (org-remember-templates): Add new positioning option.
876         (org-remember-reference-date): New variable.
877         (org-remember-apply-template): Store the reference date in a local
878         variable.
879         (org-remember-handler): Implement date tree positioning of entries.
881         * org-datetree.el: New file.
883         * org-latex.el (org-export-latex-preprocess): Protect targets in
884         verbatim emphasis.
886         * org-html.el (org-export-as-html): Protect targets in verbatim
887         emphasis.
889         * org-docbook.el (org-export-as-docbook): Protect targets in
890         verbatim emphasis.
892 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
894         * org.el (org-link-display-format): Should be literal replacement.
896 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
898         * org-clock.el (org-show-notification): Handle messages that
899         contain a percent character.
901         * org-remember.el (org-remember-apply-template): Turn of partial
902         completion.
904         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
905         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
907         * org.el (org-indent-mode): Define variable already in org.el.
908         (org-unfontify-region): Remove line-prefix and wrap-prefix
909         properties only if org-indent-mode is active.
911 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
913         * org-icalendar.el (org-print-icalendar-entries): Save match data
914         around call to verify function.
915         (org-print-icalendar-entries): Add a call to the verification
916         function.
918         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
919         save-restrivtion' form.
921 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
923         * org-exp.el (org-export-format-source-code-or-example): restrict
924         scope of preserve-indentp to the let binding.
925         (org-src): require org-src, since org-src-preserve-indentation is used.
927 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
929         * org-timer.el (org-timer-set-timer): Set variables
930         org-timer-timer[123] correctly.
933         * org-mobile.el (org-mobile-files-alist): Make it work when
934         `agenda-archives' is included in
935         `org-agenda-text-search-extra-files'.
936         (org-mobile-push): Restore agenda after mobile push.
938 2009-11-05  John Wiegley  <jwiegley@gmail.com>
940         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
941         way the amount of idle time is presented in the minibuffer.
943 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
945         * org-icalendar.el (org-print-icalendar-entries): Use
946         org-icalendar-verify-function only if non-nil.
948         * org.el (org-refile): Refile to clock only if the prefix arg is
949         2.
950         (org-sparse-tree): Fix docstring to be in line with prompt.
951         (org-update-parent-todo-statistics): Call
952         `org-after-todo-statistics-hook' on each level.
954 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
956         * org-remember.el (org-remember-apply-template): Make sure the
957         buffer exists.
959 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
961         * org.el (org-tab-ind-state): New variable.
962         (org-cycle-level): New function.
963         (org-cycle-level-after-item/entry-creation): New option.
964         (org-flag-subtree): New function.
965         (org-hide-archived-subtrees): Call `org-flag-subtree'.
966         (org-set-effort): Indexed access.
968         * org-list.el (org-cycle-item-indentation): New function.
970         * org.el (org-refile): Make prefix argument 2 refile to current
971         clock.
972         (org-priority): Interpret action `remove' as call to remove the
973         priority cookie.
975         * org-remember.el (org-remember-apply-template): Don't depend on
976         buffer name being like file name.
978 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
980         * org-clock.el (org-clock-play-sound): Expand file in
981         org-clock-sound, to allow ~ for home.
983         * org-remember.el (org-remember-handler): Set
984         text-before-node-creation even if this already looks like a node,
985         because the string might be needed on non-org-mode target files.
987         * org-agenda.el (org-agenda-open-link): Make this work in agenda
988         clocktables.
989         (org-agenda-switch-to): Follow a link at point if
990         org-return-follows-link' is set and there is nothing else to do in
991         this line.
993 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
995         * org-colview-xemacs.el: Add in changes from org-colview.el
997 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
999         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1000         strings.
1002 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1004         * org-colview.el (org-columns-new): Make this work with the new
1005         operators.
1006         (org-columns-store-format): Make this work with the new operators.
1008 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1010         * org-src.el (org-src-preserve-indentation): Document that this
1011         variable is also used during export.
1013         * org-exp.el (org-export-format-source-code-or-example): Preserve
1014         indentation if a block has a -i option, or if
1015         `org-src-preserve-indentation' is set.
1017         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1018         indentation if a block has a -i option, or if
1019         `org-src-preserve-indentation' is set.
1021 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1023         * org.el (org-mode-map): Define the new archiving keys.
1024         (org-speed-commands-default): Define an archiving key in the speed
1025         command map.
1026         (org-org-menu): Improve the menu structure concerning archiving.
1028         * org-archive.el (org-archive-subtree-default-with-confirmation):
1029         New command.
1031         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1032         (org-agenda-menu): Add the new archiving commands to the menu.
1033         (org-agenda-archive-default)
1034         (org-agenda-archive-default-with-confirmation): New commands.
1035         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1036         call `org-agenda-archive-with'.
1037         (org-agenda-archive-with): New function.
1039         * org-table.el (org-table-convert-region): Inert spaces around "|"
1040         to avoid line beginnings like "|-1" which will be mistaken as
1041         hlines.
1043 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1045         * org.el (org-offer-links-in-entry): Return nil if there are no
1046         links, t if a link has been selected.
1047         (org-open-at-point): Open attachment directory when called in the
1048         headline and there are no links in the entry body.
1049         (org-speed-commands-default): Add "o" for open-at-point as a speed
1050         command.
1052         * org-attach.el (org-attach-reveal): Optional prefix arg
1053         IF-EXISTS, which avoids creating the attachment directory if it
1054         does not yet exist.
1056         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1057         MATCH.
1059 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1061         * org.el ("abbrev"): Work with abbrev tables only after they have
1062         been loaded.
1064         * org-list.el (org-list-send-list): Fix bug related to match
1065         data.
1067         * org-latex.el (org-export-latex-fontify): Apply verbatim
1068         emphasis.
1069         (org-export-latex-make-header): Insert \obeylines if line breaks
1070         should be preserved.
1072         * org-exp.el (org-export-protect-verbatim): Add an
1073         `org-verbatim-emph' property to such text.
1075 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1077         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1078         (org-print-icalendar-entries): Skip entries where the timestamp is
1079         not a deadline and not scheduled, if the user requests that.
1081         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1082         before an opening quote.
1084         * org-archive.el (org-archive-subtree): Keep archive after
1085         archiving something.
1087         * org-id.el (org-id-update-id-locations): Add archive files if
1088         that is required by `org-id-extra-files'.
1090 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1092         * org-src.el (org-src-window-setup): New option.
1093         (org-src-switch-to-buffer): New function.
1094         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1095         restore window configuration.
1096         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1097         Call `org-src-switch-to-buffer'.
1099         * org.el (org-default-properties): Add STYLE property.
1100         (org-files-list): Use the function call to get the files.
1101         (org-additional-option-like-keywords): Add SETUPFILE to completion
1102         list.
1104 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1106         * org-table.el (org-table-convert-region): Correctly interpret
1107         quoting in csv import.
1109         * org.el (org-icompleting-read): Make iswitchb completion work
1110         with lists and tables.
1112         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1113         while pushing the mobile agenda.
1115 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1117         * org-clock.el
1118         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1119         and `when-no-clock-is-running'.
1120         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1121         whether or not to resolve Org buffers on clock in.
1123 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1125         * org-colview.el (org-format-time-period): Function to format
1126         times in fractional days for display.
1127         (org-columns-display-here): Add support for showing a calculated
1128         value in place of the property.
1129         (org-columns): Set `org-columns-time' to the current time so time
1130         difference calculations will work.
1131         (org-columns-time): Use to store the current time when column view
1132         is displayed, so all time differences will use the same reference
1133         point.
1134         (org-columns-compile-map): There is now an extra position in each
1135         entry specifying the function to use to calculate the displayed
1136         value for the non-calculated properties in the column,
1137         (org-columns-compute-all): Set `org-columns-time' to the current
1138         time so time difference calculations will work.
1139         (org-columns-compute): Handle column operators where the values
1140         used are calculated from the underlying property.
1141         (org-columns-number-to-string): Handle the 'age' column format
1142         (org-columns-string-to-number): Correct the function name (was
1143         org-column...). Add support for the 'age' column format.
1144         (org-columns-compile-format): Support the additional parameter in
1145         org-columns-compile-map.
1147 2009-10-26  Bastien Guerry  <bzg@altern.org>
1149         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1150         variable.
1152 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1154         * org-clock.el (org-clock-has-been-used): New variable.
1155         (org-clock-in): Set `org-clock-has-been-used'.
1156         (org-clock-save): Save only if clock data has been used or created
1157         during this session.
1159 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1161         * org-clock.el (org-clock-persist): New value, to store only the
1162         clock history.
1163         (org-clock-save): Don't save the clock if only the history should
1164         be stored.
1165         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1166         when restoring a saved clock.
1168 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1170         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1171         `org-time-clock-use-fractional'.
1173         * org.el (org-time-clocksum-use-fractional)
1174         (org-time-clocksum-fractional-format): Two new customizable
1175         variables which allow the user to select fractional times (1.25
1176         instead of 1:25) in the `org-clock-display' report.
1178 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1180         * org-habit.el (org-habit-build-graph): None of the arguments
1181         should be optional.
1182         (org-habit-parse-todo, org-habit-deadline)
1183         (org-habit-get-priority, org-habit-get-faces)
1184         (org-habit-build-graph): Further simplifications by storing all
1185         past, scheduled and deadline dates as a number of days past the
1186         epoch, and not as times.
1188         * org-habit.el (org-habit-warning-face)
1189         (org-habit-warning-future-face): Removed because these are no
1190         longer used.
1191         (org-habit-deadline, org-habit-deadline-repeat): Now always
1192         returns a date; computed if there was a scheduled repeater but no
1193         deadline repeater.
1194         (org-habit-get-priority): Further improvements to the priority
1195         algorithm.  In particular, items past due should always appear
1196         before items due or not yet due.
1197         (org-habit-get-faces): Greatly simplified the logic, now that
1198         `org-habit-deadline' always returns a valid time.
1200 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1202         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1203         New option.
1205         * org.el (org-tag-alist): Fix customization type.
1207 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1209         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1210         Make sure the regexp search can fail without throwing an error.
1211         (org-mobile-apply): Save the inbox buffer after removing
1212         successfully applied changes.
1214 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1216         * org-habit.el (org-habit-build-graph): Fix to the graph building
1217         when last DONE date is earlier than `org-habit-preceding-days'.
1219         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1220         time is reported after the user comes back (but before they
1221         resolve time).
1223         * org.el (org-get-repeat): Change so that this function can be
1224         called with either `org-scheduled-string' or
1225         `org-deadline-string'.
1227         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1228         to find the scheduled date.
1230         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1231         `org-clock-disable-clock-resolution', since negatives don't sound
1232         good in customization variables.
1233         (org-clock-in): Don't use the auto-resolution logic if the user is
1234         clocking into a different task while an active clock is running.
1235         This then allows the default behavior of clocking out of the open
1236         task and then into the new task.
1238         * org-habit.el (org-habit-parse-todo): Generate an error if a
1239         habit has a scheduled repeat period < 1.
1240         (org-habit-get-faces): Fixes to the way that colors are computed.
1241         (org-habit-build-graph): The graph wasn't displaying beyond any
1242         day that had two completions in it.
1244         * org.el (org-modules): Made this variable more consistent, since
1245         it was referring to Org, OrgMode and Org-mode, whereas the docs
1246         for the variable always refer to Org-mode.
1248 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1250         * org.el (org-repeat-re): The changed org-repeat-re no longer
1251         matched simple +2d type repeaters. Fix it so it does.
1253 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1255         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1256         macro in the VERSE environment.
1258 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1260         * org-habit.el (org-habit-get-priority): A new function that
1261         determines the relative priority of a habit, based on how long
1262         past its scheduled date it is, and how near the deadline is.
1264         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1265         using `org-habit-get-priority'.
1267         * org-habit.el (org-habit-build-graph): Start displaying colors
1268         from the first scheduled date, if that date is earlier than the
1269         first completion date.
1271         * org-habit.el: Changed all "color" variables to faces, and made
1272         them appropriate for light and dark backgrounds.
1274         * org-habit.el (org-habit-duration-to-days): Made this function
1275         more general.
1276         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1278         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1279         habits, since they don't use DEADLINE anymore.
1281         * org.el (org-repeat-re, org-display-custom-time)
1282         (org-timestamp-change): Extended to support the new ".+N/N"
1283         syntax, used for habits.
1285         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1286         variable reference.
1288         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1289         modeline when habits are being displayed (if that module is being
1290         loaded).
1292 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1294         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1295         idle time using the xscreensaver extension.
1296         (org-user-idle-seconds): Use X11 idle time if available.
1298 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1300         * org-agenda.el (org-agenda-next-line): New command.
1301         (org-agenda-previous-line): New commands.
1302         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1303         commands.
1304         (org-agenda-follow-mode): Do the follow immediately if the mode is
1305         turned on here.
1306         (previous-line, next-line): Replace keys with the corresponding
1307         org functions.
1308         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1309         command.
1311         * org.el (org-icompleting-read): Turn off partial completion mode
1312         for the duration of this completion round.
1314         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1315         macros in author lines and similar stuff.
1317         * org.el (org-file-tags): Fix docstring.
1318         (org-get-buffer-tags): Add the #+FILETAGS tags.
1319         ("ecb"): Maks ecb show context after jumping into an Org file.
1321 2009-10-20  John Wiegley  <johnw@newartisans.com>
1323         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1324         graphs after everything else in the buffer has been setup.
1326 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1328         * org-mobile.el (org-mobile-apply): Count success and failure.
1330         * org.el (org-indent-line-function): Fix regexp replace problem.
1332 2009-10-19  John Wiegley  <johnw@newartisans.com>
1334         * org-clock.el (org-clock-disable-clock-resolution): New
1335         customization variable that disable automatic clock resolution on
1336         clock in.
1337         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1338         not automatically resolve anything.  This is does not affect
1339         idle-time resolution, however, if `org-clock-idle-time' is set.
1341 2009-10-19  John Wiegley  <johnw@newartisans.com>
1343         * org-habit.el: New file, which implements code to build a "habit
1344         consistency graph".
1346         * org-agenda.el (org-agenda-get-deadlines)
1347         (org-agenda-get-scheduled): Display consistency graphs when
1348         outputting habits into the agenda.  The graphs are always relative
1349         to the current time.
1350         (org-format-agenda-item): Added new parameter `habitp', which
1351         indicates whether we are formatting a habit or not.  Do not
1352         display "extra" leading information if habitp is true.
1354         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1355         leaders for repeat strings.
1356         (org-get-repeat): Now takes a string parameter `tagline', so the
1357         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1359 2009-10-19  John Wiegley  <johnw@newartisans.com>
1361         * org-agenda.el (org-agenda-auto-exclude-function): New
1362         customization variable for allowing the user to create an "auto
1363         exclusion" filter for doing context-aware auto tag filtering.
1364         (org-agenda-filter-by-tag): Changes to support the use of
1365         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1367 2009-10-18  John Wiegley  <johnw@newartisans.com>
1369         * org.el (org-files-list): Don't attempt to return a file name for
1370         Org buffers which have no associated file.
1372         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1374 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1376         * org-mobile.el (org-mobile-locate-entry): Interpret files
1377         relative to org-directory.
1378         (org-mobile-inbox-for-pull): Document the best location for this
1379         file.
1380         (org-mobile-check-setup): Verify `org-directory'.
1381         (org-mobile-create-index-file): Sort the files to be listed in
1382         index.org.
1384 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1386         * org.el (org-fast-tag-selection): Add a way to display a
1387         description for a tag group. This is done by adding a string to
1388         either the startgroup or endgroup cell.
1390 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1392         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1393         (org-emacs-idle-seconds): Use `org-float-time' instead of
1394         `time-to-seconds'
1396 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1398         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1399         type.
1401         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1402         the value of ARG when doing local cycling.
1404 2009-10-17  John Wiegley  <johnw@newartisans.com>
1406         * org-clock.el (org-clock-resolve-clock): If keeping or
1407         subtracting time results in a clock out at a time in the past, and
1408         if the resolution occurred due to idleness or invoking `M-x
1409         org-resolve-clocks', remember that past moment in time.  On the
1410         next clock in, the user will be prompted to see if they want to
1411         back-date their new clock to then.
1412         (org-clock-resolve): Do not jump the user to the location of a
1413         dangling clock if the resolution is occuring due to an idle
1414         timeout.  In that case there is typically only one dangling clock,
1415         the active one, and there is no value gained by shuffling their
1416         windows around to show it to them.  Being prompted to resolve an
1417         idle clock should be as inobtrusive as possible.
1418         (org-resolve-clocks-if-idle): New function that resolves only the
1419         currently active clock if the user has exceeded the time returned
1420         by `org-user-idle-seconds', based on the value of
1421         `org-clock-idle-time'.
1422         (org-clock-in): If, after resolving clocks,
1423         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1425         * org-clock.el (org-clock-resolve-clock): New function that
1426         resolves a clock to a specific time, closing or resuming as need
1427         be, and possibly even starting a new clock.
1428         (org-clock-resolve): New function used by `org-resolve-clocks'
1429         that sets up for the call to `org-clock-resolve-clock'.  It
1430         determines the time to resolve to based on a single-character
1431         selection from the user to either keep time, subtract away time or
1432         cancel the clock.
1433         (org-resolve-clocks): New user command which resolves dangling
1434         clocks -- that is, open but not active -- anywhere in the file
1435         list returned by `org-files-list'.
1436         (org-clock-in): Automatically resolve dangling clocks whenever a
1437         user clocks in.
1438         (org-clock-cancel): If the user cancels the solely clock in a
1439         LOGBOOK, remove the empty drawer.
1441         * org-clock.el (org-clock-idle-time): New user customizable option
1442         for detecting whether the user has left a clock idle.  Note: it is
1443         only used in this commit to test whether it's worthwhile to check
1444         OS X to get the Mac user's current idle time.  If the Emacs idle
1445         time is less than the value, the user hasn't been away long enough
1446         to be worth checking (a more expensive test than just getting
1447         Emacs idle time).
1448         (org-user-idle-seconds, org-mac-idle-seconds)
1449         (org-emacs-idle-seconds): This three functions, in conjunction
1450         with the user customization variable `org-clock-idle-time', return
1451         the number of seconds (as a floating point) that the user has been
1452         away from their Emacs (or, if running on OS X, their computer).
1454         * org-clock.el (org-find-open-clocks): New function that returns a
1455         list of all open clocks in the given FILE.  Note that each clock
1456         it returns is a cons cell of the format (MARKER . START-TIME).
1457         This "clock" value is used by several of the new clock module
1458         utility functions.
1459         (org-is-active-clock): New inline function which tests whether the
1460         given clock value is the same as the currently active clock.
1461         Returns non-nil if this is the case.
1462         (org-with-clock-position): New macro that evaluates FORMS with
1463         point in the buffer and at the position of the given clock.
1464         Changes to the current clock are global.
1465         (org-with-clock): New macro that evaluates FORMS with point in the
1466         buffer and at the position of the given clock.  However, changes
1467         to the current clock are local and have no effect on the user's
1468         active clock.  This allows, for example, far any clock to be
1469         cancelled without cancelling the active clock.
1470         (org-clock-clock-in): New inline function that switches the active
1471         clock to the given clock.  If either the argument RESUME, or the
1472         global `org-clock-in-resume', are non-nil, it will resume a clock
1473         that was previously left open.
1474         (org-clock-clock-out): New inline function that clocks out the
1475         given clock value without affecting the currently active clock.
1476         (org-clock-clock-cancel): New inline function that cancels the
1477         given clock value without affecting the currently active clock.
1479         * org-clock.el (org-clock-in): Before creating
1480         `org-clock-mode-line-timer', check to make sure an older timer is
1481         not currently running.
1482         (org-clock-out): Accept new third parameter `at-time', which
1483         permits a clock to be clocked out at a specific time.  Note that
1484         no attempt is made to verify that the clock out time is later than
1485         the clock in time.
1487         * org.el (org-files-list): New utility function for returning a
1488         list of all open org-mode buffers, plus all files used to build
1489         the agenda buffer.  Note that not all the files will necessarily
1490         be visited by a buffer at time of call.
1491         (org-entry-beginning-position): Like the function
1492         `line-beginning-position', this inline function returns the
1493         beginning position of the current heading/entry.
1494         (org-entry-end-position): Like the function `line-end-position',
1495         this inline function returns the end position of the current
1496         heading/entry.
1498 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1500         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1501         a header line.
1503 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1505         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1507 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1509         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1510         entries that have no tags.
1511         (org-agenda-search-view): New customize group.
1512         (org-agenda-search-view-search-words-only): New option.
1513         (org-search-view): Implement substring search.
1515 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1517         * org.el (org-outline-level): Add doc string.
1519 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1521         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1522         variable.
1523         (org-inlinetask-export-handler): Only export inline task if the
1524         user option calls for it.
1526 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1528         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1529         END if present.
1531 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1533         * org-latex.el (org-export-latex-tables): Don't format in
1534         protected regions.
1536 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1538         * org-src.el (org-edit-src-code)
1539         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1540         macro editing.
1542         * org-agenda.el (org-prefix-category-max-length): New variable.
1543         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1544         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1546 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1548         * org-mobile.el (org-mobile-create-index-file): Improve the
1549         listing of tags and todo keywords.
1551         * org-latex.el (org-export-latex-format-image): New function.
1552         (org-export-latex-links): Use `org-export-latex-format-image'.
1554 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1556         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1557         (org-inlinetask-remove-terminator): New functions.
1558         (org-inlinetask-export-handler): Terminate the description list.
1560         * org-exp.el (org-export-select-backend-specific-text): Remove the
1561         region markers.
1563         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1564         tasks without content.
1566         * org-clock.el: Make sure the clock-in target position does not
1567         move to a different node by widening the buffer.
1569         * org-html.el (org-export-html-format-image): Wrap image into
1570         figure div only when there is a caption.
1572         * org-archive.el (org-archive-mark-done): Change default value to
1573         nil.
1575 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1577         * org.el (org-context): Call `bobp', not `eobp'.
1579         * org-clock.el (org-clock-cancel): Remove quotes from marker
1580         variables.
1582         * org.el (org-read-date-prefer-future): New allowed value `time'.
1583         (org-read-date-analyze): Shift day to tomorrow depending on time
1584         entered and value of `org-read-date-prefer-future'.
1586 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1588         * org.el (org-set-tags-to): New command.
1590         * org-mobile.el (org-mobile-action-alist): Add more options and
1591         update the docstring.
1592         (org-mobile-apply-flags): Parse for and use the data.
1594         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1595         the plist.
1597         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1598         keyword.
1600         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1602 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1604         * org-inlinetask.el (org-inlinetask-export): Option removed.
1605         (org-inlinetask-export-handler): Better export.
1607         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1608         (org-export-as-xoxo): Run the new hook.
1610         * org-html.el (org-export-html-final-hook): New hook.
1611         (org-export-as-html): Run the new hook.
1613         * org-docbook.el (org-export-docbook-final-hook): New hook.
1614         (org-export-as-docbook): Run the new hook.
1616         * org-ascii.el (org-export-ascii-final-hook): New hook.
1617         (org-export-as-ascii): Run the new hook.
1619         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1620         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1622         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1623         space character as the character before the ^/_.
1624         (org-export-latex-final-hook): New hook.
1625         (org-export-as-latex): Run `org-export-latex-final-hook'.
1627 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1629         * org-macs.el (org-if-unprotected-at): Fix docstring.
1631         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1632         text in the prefix (if category is a link).
1634         * org-latex.el (org-export-latex-preprocess): Deal properly with
1635         empty lines in verse environments.
1637         * org.el (org-format-latex-header): Inline fullpage.sty.
1639         * org-footnote.el (org-footnote-create-definition): Reveal context
1640         to add a new footnote definition.
1642         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1643         the index file.
1644         (org-mobile-files): New option.
1645         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1646         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1647         functions.
1648         (org-mobile-push): Start by creating the files lists.
1649         (org-mobile-copy-agenda-files): Move killing the buffer to after
1650         the save-excursion has exited.
1651         (org-mobile-write-checksums): Write checksums also for files in
1652         sub-directories.
1654         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1655         org-table-recalculate when cursor is in TBLFM line.
1657         * org-list.el (org-renumber-ordered-list): Fix cursor position
1658         when bullet length has changed.
1660 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1662         * org.el (org-format-latex): Mention `org-format-latex-options' in
1663         the docstring.
1665 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1667         * org.el (org-agenda-get): New function.
1669         * org-agenda.el (org-agenda-post-command-hook): No longer move
1670         point away from end of line.
1671         (org-agenda-add-entry-text, org-agenda-collect-markers)
1672         (org-finalize-agenda, org-agenda-mark-clocking-task)
1673         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1674         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1675         (org-agenda-compare-effort, org-agenda-filter-apply)
1676         (org-agenda-later, org-agenda-change-time-span)
1677         (org-agenda-post-command-hook, org-agenda-show-priority)
1678         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1679         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1680         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1681         (org-agenda-open-link, org-agenda-copy-local-variable)
1682         (org-agenda-switch-to, org-agenda-check-no-diary)
1683         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1684         (org-agenda-add-note, org-agenda-change-all-lines)
1685         (org-agenda-priority, org-agenda-set-tags)
1686         (org-agenda-set-property, org-agenda-set-effort)
1687         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1688         (org-agenda-show-new-time, org-agenda-date-prompt)
1689         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1690         (org-agenda-clock-in, org-agenda-bulk-mark)
1691         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1692         `org-get-at-bol'.
1694         * org-colview.el (org-columns-display-here)
1695         (org-columns-edit-allowed, org-agenda-columns): Use
1696         `org-get-at-bol'.
1698 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1700         * org.el (org-special-ctrl-a/e): Improve documentation and
1701         customize type.
1702         (org-end-of-line): Don't jump to after the ellipsis.
1703         (org-mode-map): Bind <home> and <end> as well.
1705 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1707         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1708         space after #+ as comments.
1709         (org-open-at-point): Run `org-follow-link-hook' always.
1711         * org-latex.el (org-export-latex-emph-format): Use better commands
1712         to insert special characters in verbatim snippets.
1714 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1716         * org-faces.el (org-copy-face): New function.  Use it to create
1717         various faces formerly created by using `copy-face'.
1719         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1720         window dedicated.
1721         (org-agenda-quit): Kill the frame containing the agenda window if
1722         that frame was created for the agenda.
1724 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1726         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1727         stamp in the agenda.
1729 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1731         * org-mobile.el (org-mobile-create-index-file): Add the list of
1732         TODO keywords, and the list of drawers to the index file.
1734         * org-agenda.el (org-prepare-agenda): Reset
1735         `org-drawers-for-agenda'.
1736         (org-prepare-agenda): Uniquify list of drawers.
1738         * org.el (org-complex-heading-regexp-format): New variable.
1739         (org-set-regexps-and-options): Define
1740         `org-complex-heading-regexp-format'.
1741         (org-drawers-for-agenda): New variable.
1742         (org-map-entries): Bind `org-drawers-for-agenda'.
1743         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1745         * org-remember.el (org-go-to-remember-target)
1746         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1748 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1750         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1751         problem.
1753         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1754         the capture file, and make it non-configurable.
1756         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1757         always with `invisible-ok'.
1758         (org-store-link): No error when there is nothing to link to in the
1759         agenda.
1761         * org-list.el (org-update-checkbox-count): Insert changed cookie
1762         before the old, to avoid problems with invisibility at the end of
1763         the line.
1764         (org-update-checkbox-count): Insert changed cookie before the old,
1765         to avoid problems with invisibility at the end of the line.
1767         * org.el (org-sort-entries-or-items): Include the final newline.
1768         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1769         lines for fontification.
1770         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1771         (org-prepare-dblock): Store the current indentation of the BEGIN
1772         line.
1773         (org-update-dblock): Apply the indentation of the begin line to
1774         the rest of the block.
1775         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1776         (org-startup-folded): New allowed value `showeverything'.
1777         (org-startup-options): Add STARTUP keyword `showeverything'.
1778         (org-set-startup-visibility): Respect value `showeverything' in
1779         org-startup-folded.
1781 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1783         * org.el (org-closest-date): Fix issue with past preference.
1785         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1787         * org-archive.el (org-archive-set-tag)
1788         (org-archive-subtree-default): New commands.
1790         * org-mobile.el (org-mobile-create-index-file): Fix link to
1791         capture file.
1792         (org-mobile-copy-agenda-files): Create the capture file if it does
1793         not exist.
1795         * org-clock.el (org-clock-clocktable-default-properties): New
1796         option.
1797         (org-clock-report): Use
1798         `org-clock-clocktable-default-properties'.
1800 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1802         * org.el (org-iswitchb-completing-read): Fix typo.
1804         * org-crypt.el: New file.
1806         * org.el: Add an entry for org-crypt.
1808 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1810         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1811         consistency.
1812         (org-batch-store-agenda-views): New function.
1813         (org-mobile-force-id-on-agenda-items): Mention variable.
1814         (org-agenda-title-append): Define variable.
1815         (org-write-agenda): New export to Org files.
1816         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1817         (org-agenda): Allow to keep the restricted file list if a special
1818         variable is bound to t.
1819         (org-agenda): Define a special agenda view for working on flagged
1820         entries.
1821         (org-agenda-get-restriction-and-command): List the new agenda
1822         view.
1823         (org-agenda-show-the-flagging-note): New command.
1824         (org-agenda-mode-map): New key `?' for looking at the flagging
1825         note.
1827         * org.el (org-autoload): Autoload org-mobile.el.
1828         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1830         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1832 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1834         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1835         statements.
1836         (org-table-get-remote-range): Match indented #+TBLNAME
1837         statements.
1839         * org.el (org-convert-to-odd-levels)
1840         (org-convert-to-oddeven-levels): Work also correctly if the file
1841         is in outline-mode.
1843 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1845         * org.el (org-store-link): When in agenda buffer, link to
1846         referenced entry.
1847         (org-add-planning-info): Remove spaces at eol.
1849         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1850         property.
1852 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1854         * org-latex.el (org-export-latex-first-lines): Fix problem with
1855         LaTeX export of first line and selected subtree.
1857         * org.el (org-shifttab): Interpret arg differently when using only
1858         odd levels.
1860 2009-09-09  Bastien Guerry  <bzg@altern.org>
1862         * org.el (org-check-agenda-file): Use a more explicit message
1864 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1866         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1867         normal lines.
1869 2009-09-08  Bastien Guerry  <bzg@altern.org>
1871         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1872         prompt in the temporary window.
1874         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1875         prefix for marked entries in the agenda view.
1877 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1879         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1880         a way that prevents any trailing character from being displayed.
1882 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1884         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1885         menu.
1887         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1888         slow regexp match.
1890 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1892         * org-latex.el (org-export-latex-preprocess): Do not protect in
1893         the LaTeX header.
1895         * org-src.el (org-edit-src-save): Save window setup while saving.
1896         (org-edit-src-code): Use new buffer name construction scheme.
1898 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1900         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1901         variable.
1902         (org-agenda-entry-text-cleanup-hook): New hook.
1903         (org-agenda-get-some-entry-text): Remove matches of
1904         `org-agenda-entry-text-exclude-regexps' and run the hook
1905         `org-agenda-entry-text-cleanup-hook'.
1907         * org.el (org-offer-links-in-entry): New argument ZERO to
1908         implement a link with index zero.
1909         (org-cycle-show-empty-lines): Not keep empty line under header
1910         hidden.
1911         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1912         to nil for special completion.
1913         (org-store-link): Don't error before the first heading.
1915         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1916         `org-offer-links-in-entry'.
1918 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1920         * org-agenda.el (org-agenda-quit): Provide the window argument for
1921         `window-dedicated-p', Emacs 22 needs it.
1922         (org-format-agenda-item): If the category is a link, arrange for
1923         invisible text to replaced with spaces.
1924         (org-compile-prefix-format): Add the extra space.
1925         (org-prefix-category-length): New variable.
1927         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1928         references from TOC lines.
1930         * org.el (org-selected-window): New variable.
1932         * org-table.el (org-table-edit-formulas): Remember the selected
1933         window.
1934         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1935         that was originally selected.
1937         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1938         expansion of a macro for more macro definitions.
1940         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1941         invisibility overlay starts on the newline.
1943 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1945         * org-protocol.el (org-protocol-store-link)
1946         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1948         * org-compat.el (org-float-time): New function.
1950         * org.el (org-clock-update-time-maybe)
1951         (org-sort-entries-or-items, org-do-sort)
1952         (org-evaluate-time-range, org-time-string-to-seconds)
1953         (org-closed-in-range): Use `org-float-time'.
1955         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1956         (org-timer-seconds):  Use `org-float-time'.
1958         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1959         (org-clock-sum, org-dblock-write:clocktable)
1960         (org-clocktable-steps):  Use `org-float-time'.
1962         * org-agenda.el (org-agenda-last-marker-time)
1963         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1965         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1966         function.
1968         * org-exp.el (org-get-file-contents): Only protect lines that
1969         really need it.
1971         * org-html.el (require): Require cl for compilation.
1973         * org.el:  Avoid using `default-major-mode'.
1975         * org-plot.el (require): Require CL only at compile time.
1977         * org-exp.el (require): Require CL only at compile time.
1979         * org-agenda.el (org-agenda-quit): When the agenda window is
1980         dedicated, remove other windows before exiting, so that the frame
1981         really will be killed.
1983         * org-exp.el (org-export-handle-include-files): Reset START and
1984         END for each loop cycle.
1986 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1988         * org.el (org-eval-in-calendar): Use
1989         `org-select-frame-set-input-focus'.
1991         * org-compat.el (org-select-frame-set-input-focus): New function.
1993         * org.el (org-update-statistics-cookies): New function.
1994         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1996 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1998         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1999         after the local variables are set.
2001         * org-latex.el (org-export-latex-protect-amp): New function.
2002         (org-export-latex-links): Protect link ampersands in tables.
2004         * org-exp.el (org-export-select-backend-specific-text): Match in
2005         two steps, to avoid regexp problems.
2007         * org.el (org-offer-links-in-entry): Improve working with many and
2008         duplicate links.
2010         * org-agenda.el (org-agenda-show-1): Make more consistent with
2011         normal cycling.
2012         (org-agenda-cycle-show): Make more consistent with normal cycling.
2014         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2015         website.
2017 2009-08-30  Bastien Guerry  <bzg@altern.org>
2019         * org-latex.el (org-export-latex-first-lines): Bugfix.
2021 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2023         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2024         about new effort.
2026         * org.el (org-set-effort): New function.
2027         (org-mode-map): New key for effort setting command.
2029         * org-agenda.el (org-agenda): Keep window setup when calling
2030         agenda from within agenda window.
2031         (org-agenda-mode-map): New keys for effort setting commands.
2032         (org-agenda-menu): Add effort setting commands to menu.
2033         (org-agenda-set-property, org-agenda-set-effort): New functions.
2035         * org-latex.el (org-export-latex-tables): Fix
2036         `org-table-last-alignment' and `org-table-last-column-widths' if
2037         the first column has been removed.
2039 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2041         * org.el (org-remove-timestamp-with-keyword): Only remove in
2042         entry, not in subtree.
2044         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2045         emacs lisp.
2047         * org.el (org-open-at-point): When on headline, offer all strings
2048         in entry.
2050         * org-remember.el (org-remember-templates): Documentation fix.
2052         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2053         `org-get-last-sibling' instead of the outline versions of these
2054         functions.
2055         (org-get-last-sibling): New function.
2056         (org-refile): Use `org-get-next-sibling' instead of the outline
2057         version of this function.
2058         (org-clean-visibility-after-subtree-move): Use
2059         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2060         outline versions of these functions.
2062 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2064         * org-agenda.el (org-prepare-agenda): When creating a new frame
2065         for the agenda, make the window dedicated.
2067         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2069         * org-table.el (org-table-align): Change the order of reinsertion
2070         and deletion, to avoid problems with overlays following the table.
2072         * org.el (org-parse-time-string): Better error message.
2073         (org-show-subtree): Use org-end-of-subtree.
2075         * org-macs.el (org-goto-line): New defsubst.
2077         * org.el (org-open-file, org-change-tag-in-region)
2078         (org-fast-tag-show-exit): Don't use `goto-line'.
2080         * org-table.el (org-table-align, org-table-insert-column)
2081         (org-table-delete-column, org-table-move-column)
2082         (org-table-sort-lines, org-table-copy-region)
2083         (org-table-paste-rectangle, org-table-wrap-region)
2084         (org-table-get-specials, org-table-rotate-recalc-marks)
2085         (org-table-get-range, org-table-recalculate)
2086         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2087         (org-table-show-reference, org-table-highlight-rectangle): Don't
2088         use `goto-line'.
2090         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2091         (org-edit-src-exit): Don't use `goto-line'.
2093         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2095         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2096         Don't use `goto-line'.
2098         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2100         * org-colview.el (org-columns, org-columns-redo)
2101         (org-agenda-columns): Don't use `goto-line'.
2103         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2104         use `goto-line'.
2106         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2107         (org-agenda-add-entry-text-maxlines): Improve docstring.
2108         (org-agenda-start-with-entry-text-mode): New option.
2109         (org-agenda-entry-text-maxlines): New option.
2110         (org-agenda-entry-text-mode): New variable.
2111         (org-agenda-mode): Set initial value of
2112         `org-agenda-entry-text-mode'.
2113         (org-agenda-mode-map): Add the `E' key.
2114         (org-agenda-menu): Add entry text mode to the menu.
2115         (org-agenda-get-some-entry-text): Fix line count bug.
2116         (org-finalize-agenda): Apply entry text mode if appropriate.
2117         (org-agenda-entry-text-show-here): New function.
2118         (org-agenda-entry-text-show): New function.
2119         (org-agenda-entry-text-hide): New function.
2120         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2121         key menu.
2122         (org-agenda-entry-text-mode): New command.
2123         (org-agenda-set-mode-name): Add entry text mode to the mode line
2124         string.
2125         (org-agenda-undo, org-agenda-get-restriction-and-command)
2126         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2127         `goto-line'.
2129 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2131         * org-clock.el (org-notify): Bugfix.
2133 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2135         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2136         check for after-string.
2138         * org-gnus.el (org-gnus-store-link): Simplify.
2140         * org.el (org-latex-regexps): Don't add extra empty lines for
2141         display formulas.
2143 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2145         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2146         (org-agenda-add-entry-text): Use
2147         `org-agenda-get-some-entry-text'.
2149         * org.el (org-cycle-separator-lines): Update docstring.
2150         (org-cycle-show-empty-lines): Handle negative values for
2151         `org-cycle-show-empty-lines'.
2153         * org-exp.el (org-export-protect-sub-super): New function.
2154         (org-export-normalize-links): Protect the url of plain links from
2155         supscript and superscript processing.
2157         * org-remember.el (org-remember-escaped-%): New function.
2158         (org-remember-apply-template): Use `org-remember-escaped-%' to
2159         detect escaped % signs.
2161 2009-08-23  Bastien Guerry  <bzg@altern.org>
2163         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2164         sound when showing the notification.
2166         * org-clock.el (org-notify): New function.
2167         (org-clock-notify-once-if-expired): Use `org-notify'.
2169         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2170         and `gnus-article-mode' separately.
2171         (gnus-summary-article-header): Fix the declare-function.
2173 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2175         * org-exp.el (org-export-format-source-code-or-example): Translate
2176         language.
2178         * org-src.el (org-src-lang-modes): New variable
2179         (org-edit-src-code): Translate language.
2181         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2182         the new structure of the `org-export-latex-listings-langs'
2183         variable.
2185         * org-latex.el (org-export-latex-listings-langs): Change structure
2186         of the variable from plist to alist.
2188 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2190         * org.el (org-in-commented-line): New function.
2192 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2194         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2196 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2198         * org.el (org-flag-drawer): More useful error.
2200 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2202         * org-remember.el (org-remember-apply-template): Use
2203         org-icompleting-read.
2205         * org-publish.el (org-publish): Use org-icompleting-read.
2207         * org-colview.el (org-columns-edit-value, org-columns-new)
2208         (org-insert-columns-dblock): Use org-icompleting-read.
2210         * org-colview-xemacs.el (org-columns-edit-value)
2211         (org-columns-new, org-insert-columns-dblock): Use
2212         org-icompleting-read.
2214         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2215         org-icompleting-read.
2217 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2219         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2220         (org-version): Return the version text.
2221         (org-org-menu): Add a menu entry for the new bug reporter.
2222         (org-submit-bug-report): New command.
2224         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2225         docstring.
2227         * org.el (org-emphasis-regexp-components): Add "`" to set of
2228         pre-emphasis characters.
2230         * org-latex.el (org-export-latex-classes): Always include the soul
2231         package.
2232         (org-export-latex-emphasis-alist): Use \st for strikethough.
2234         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2235         `indent-code-rigidly' to indent.
2237         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2238         properties only if MATCH really is a string.
2240 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2242         * org-latex.el (org-export-latex-packages-alist): Fix
2243         customization type.
2245         * org.el (org-create-formula-image): Also use
2246         `org-export-latex-packages-alist'.
2248         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2249         (org-export-as-html): Format footnotes correctly.
2251 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2253         * org.el (org-fast-tag-selection): Avoid text properties on tags
2254         in the alist.
2256         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2257         text properties on the match element.
2259 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2261         * org.el (org-set-regexps-and-options): Make sure the list of done
2262         keywords is not invalid.
2264         * org-exp.el (org-export-interpolate-newlines): New function.
2266 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2268         * org.el (org-format-latex): Avoid nested overlays.
2270         * org-latex.el (org-export-latex-listings-langs): Add a few more
2271         languages.
2273         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2274         ignore newlines and space before the first macro argument.
2276         * org-latex.el (org-export-latex-tables): Remove save-excursion
2277         around `org-table-align'.
2279 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2281         * org.el (org-export-html-special-string-regexps): Definition
2282         moved into org.el
2284         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2285         in macro calls.
2287 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2289         * org-latex.el (org-export-latex-listings)
2290         (org-export-latex-listings-langs): New options.
2292         * org-exp.el (org-export-format-source-code-or-example): Use
2293         listing package if requested by the user.
2295 2009-08-08  Bastien Guerry  <bzg@altern.org>
2297         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2298         command before actually switching to a buffer.
2300 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2302         * org-exp.el (org-get-file-contents): Only quote org lines when
2303         the markup is src or example.
2305         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2306         New option
2307         (org-agenda-get-day-entries): Remember deadline results and pass
2308         them on into the function getting the scheduling information.
2309         (org-agenda-get-scheduled): Accept deadline results as parameters
2310         and maybe skip some entries.
2311         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2313         * org.el (org-insert-heading): When respecting content, do not
2314         convert current line to headline.
2316         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2317         cheeeeeck the hd marker
2318         (org-clock-in): Also set the hd marker.
2319         (org-clock-out): Also set the hd marker.
2320         (org-clock-cancel): Reset markers.
2322         * org.el (org-clock-hd-marker): New marker.
2324         * org-faces.el (org-agenda-clocking): New face.
2326         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2327         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2329         * org.el (org-modules): Add org-track.el.
2331         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2332         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2333         `org-agenda-bulk-marked-p'.
2334         (org-agenda-bulk-toggle): New command.
2336 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2338         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2339         not just the body.
2341         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2342         messages.
2344 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2346         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2347         before gnuplot can read it.
2349 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2351         * org-latex.el (org-export-latex-first-lines): Fix bug with
2352         finding the end of the first lines.
2354         * org.el (org-create-formula-image): Remove the -E option for
2355         dvipng.
2357         * org-exp.el (org-default-export-plist): Respect #+BIND.
2358         (org-export-confirm-letbind): New function.
2360         * org.el (org-paste-subtree): Test the kill ring entry if it is
2361         going to be used.
2362         (org-copy-subtree): Use `org-forward-same-level'.
2363         (org-forward-same-level): Respect the `invisibe-ok' arg for
2364         back-to-heading.
2366 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2368         * org.el (org-table-map-tables): Make sure cursor is back at table
2369         beginning after funcall.
2371         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2372         handled before children, and do not error if an entry is not
2373         found, probably because it hase been remove when the parent was
2374         archived or refiled.
2376         * org.el (org-ido-completing-read): Accept straight lists for
2377         completion as well as alists.
2379         * org-html.el (org-export-as-html): Fix parenthesis error in
2380         footnore code.
2382         * org-timer.el (org-timer-cancel-timers): Renamed from
2383         `org-timer-cancel-timers'.
2385         * org.el (org-cycle-internal-local): Fix problem with finding next
2386         invisible line.
2388 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2390         * org-list.el (org-list-send-list): Call
2391         `org-list-goto-true-beginning' instead of
2392         `org-list-find-true-beginning', which does not exist.
2394         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2395         (org-timer-set-timer): Do not assign to heading.
2397         * org-id.el (org-id-open): Quote function name.
2399         * org-macs.el (org-unmodified): Turn off recording undo
2400         information while running inside the macro.
2402         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2403         variable.
2404         (org-indent-mode): Remember and restore value of
2405         org-hide-leading-stars before `org-indent-mode'.
2407         * org-table.el (org-table-export): Also work in file-less
2408         buffers.
2410         * org.el (org-startup-indented): New option.
2411         (org-startup-options): Add new options indent and noindent.
2412         (org-unfontify-region): Remove line-prefix and wrap-prefix
2413         properties.
2414         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2415         hooks.
2416         (org-promote, org-demote): Run the new hooks.
2418         * org-table.el (org-table-align): Replace leading \n as well.
2420         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2421         and `line-wrap' text properties.
2423         * org-compat.el (org-kill-new): New function.
2425         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2426         `line-wrap' text properties.
2428         * org-indent.el: New file.
2430 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2432         * org.el (org-provide-todo-statistics): Tweak docstring.
2434         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2436 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2438         * org-exp.el (org-export-as-org): Insert the "-source" string
2439         before the extension.
2441         * org.el (org-read-date): Make sure the calendar is in the current
2442         frame.
2443         (org-set-emph-re): Remove the ? from the post-match.
2444         (org-emphasis-regexp-components): Add backslash to the
2445         postmatch class.
2446         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2447         optional so that also lines at the end of the buffers will still
2448         be matched as headlines.
2450         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2451         Variable made obsolete.
2452         (org-table-relative-ref-may-cross-hline): New option.
2453         (org-table-find-row-type): Honow the new option
2454         `org-table-relative-ref-may-cross-hline'.
2456 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2458         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2459         on single field if no active region.
2461 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2463         * org-latex.el (org-export-latex-make-header): Only insert title
2464         if one is defined.
2466         * org.el (org-make-options-regexp): Allow empty values.
2468         * org-html.el (org-export-as-html): Move hrule detection to after
2469         plain list handling.
2471 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2473         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2475 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2477         * org.el (org-cycle-internal-local): Improved version of finding
2478         next visible line.
2479         (org-cycle-hide-drawers): Only hide drawers if this is really
2480         necessary.
2481         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2482         org-version of this function in Org-mode.  We use advice to
2483         implement this change, so that future changes to this function in
2484         outline.el wil be handled properly.
2485         (org-forward-same-level, org-backward-same-level): New commands.
2487 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2489         * org.el (org-remove-empty-overlays-at)
2490         (org-clean-visibility-after-subtree-move): New functons.
2491         (org-move-subtree-down): Simplify cleanup of display.
2493 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2495         * org-mac-message.el (org-mac-message-get-links): Improve
2496         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2497         "s".  Fix the return value.
2498         (org-mac-message-insert-flagged): Simplify.
2500         * org.el (org-refile-get-location): Tamper with refile history o
2501         that history contains compete matches instead of the entered
2502         string.
2504 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2506         * org.el (org-store-link): Never store a link to an inline task.
2508         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2510         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2511         inline tasks when positioning footnotes.
2513         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2514         function.
2516         * org.el (org-refile): Remove the END line when archiving an
2517         inline task that does have an END line.
2519         * org-archive.el (org-archive-subtree): Remove the END line when
2520         archiving an inline task that does have an END line.
2522         * org-macs.el (org-with-limited-levels): New macro.
2523         (org-get-limited-outline-regexp): New function.
2525         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2526         that did not enumerate first line.
2527         (org-export-mark-radio-links): Skip matches in links.
2529 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2531         * org.el (org-activate-plain-links): Make single-match.
2532         (org-adapt-indentation): Fix docstring.
2534         * org-macs.el (org-unmodified): Turn of modification hooks while
2535         running this macro.
2537 2009-08-02  Bastien Guerry  <bzg@altern.org>
2539         * org.el (org-adapt-indentation): Slightly improve the docstring.
2540         (org-occur): Sends an error when the user inputs an empty string.
2541         (org-priority): Bugfix: the tag alignement should happen within
2542         save-excursion.
2544 2009-07-31  Bastien Guerry  <bzg@altern.org>
2546         * org.el (org-make-link-regexps): Don't exclude parentheses from
2547         `org-plain-link-re'
2548         (org-cycle-internal-local): When locally cycling, switch directly
2549         from CHILDREN to FOLDED if there is no subtree
2550         (org-cycle): Update the docstring to document the new behavior of
2551         `org-cycle-internal-local'.
2553 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2555         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2556         an abbreviated format for days.
2558 2009-07-27  Bastien Guerry  <bzg@altern.org>
2560         * org-protocol.el (org-protocol-default-template-key): New
2561         option.
2563         * org.el (org-refile): Bugfix: save-excursion before reading the
2564         refile target, otherwise cursor moves might confuse `org-refile'.
2566         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2567         footnote reference before the footnote itself.
2569         * org.el (org-toggle-heading): Bugfix: correctly convert list
2570         items before the first headline.
2572         * org-html.el (org-export-html-footnote-format): New option for
2573         formatting the footnote reference.
2574         (org-export-as-html): Use the new option.
2576         * org.el (org-provide-todo-statistics): Allow a list of TODO
2577         keywords to compute statistics against headlines containing a
2578         keyword from this list.
2579         (org-update-parent-todo-statistics): Possibly use the new allowed
2580         value of `org-provide-todo-statistics'.
2582 2009-07-26  Bastien Guerry  <bzg@altern.org>
2584         * org-timer.el: Add autoload cookie.
2586         * org.el (org-occur-link-in-agenda-files): New function.
2588         * org-timer.el (org-timer-last-timer): New variable.
2590         * org-agenda.el (org-agenda-mode-map): New key for
2591         org-timer-set-timer called from the agenda.
2593         * org.el (org-mode-map): New key for org-timer-set-timer.
2595         * org-timer.el (org-timer-reset-timers)
2596         (org-timer-show-remaining-time, org-timer-set-timer): New
2597         functions.
2599         * org-clock.el (org-show-notification): Update the docstring.
2601         * org.el (org-provide-todo-statistics): Allow new value
2602         'all-headlines for this option, which includes entries with no
2603         TODO keywords in the todo statistics.
2604         (org-update-parent-todo-statistics): Possibly use the new
2605         'all-headline value from `org-provide-todo-statistics'.
2607 2009-07-25  Bastien Guerry  <bzg@altern.org>
2609         * org-clock.el (org-dblock-write:clocktable): Add a new option
2610         :timestamp which allows display of timestamps in clock reports.
2612         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2613         list to a subtree, preserving the structure of the list.
2614         (org-set-emph-re): Make the last element optional in the regexp.
2615         This regexp now matches an emphasized string at the end of a line.
2617         * org-list.el (org-list-goto-true-beginning)
2618         (org-list-make-subtree, org-list-make-subtrees): New functions.
2620         * org.el (org-eval-in-calendar): Select the right frame.
2621         (org-save-frame-excursion): Remove this macro.
2623 2009-07-24  Bastien Guerry  <bzg@altern.org>
2625         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2626         trying to find the beginning of a list.
2628         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2629         When present, tell org-get-file-contents not to protect org-like
2630         lines.
2632         * org-id.el (org-id-uuid-program): New option to set the name of
2633         the uuidgen program.
2634         (org-id-method): Use `org-id-uuid-program'.
2635         (org-id-new): Use `org-id-uuid-program'.
2637 2009-07-23  Bastien Guerry  <bzg@altern.org>
2639         * org-exp.el (org-export-number-lines): Allow whitespace in code
2640         references.  Allow the -r switch to remove the references in the
2641         source code even when the lines are not numbered: the labels can
2642         be explicit enough.
2644         * org.el (org-fontify-whole-heading-line): New option.
2645         (org-set-font-lock-defaults): Use the new option.
2647         * org-clock.el (org-show-notification-handler): New option.
2648         (org-show-notification): Use the new option.
2650 2009-07-21  Bastien Guerry  <bzg@altern.org>
2652         * org.el (org-eval-in-calendar): Fix a bug about calendar
2653         navigation when `calendar-setup' value is 'calendar-only.
2655 2009-07-19  Bastien Guerry  <bzg@altern.org>
2657         * org.el (orgstruct++-mode): Fix typo in docstring.
2658         (org-insert-link): Clean up: (or (...)) => (...)
2659         (org-insert-link): Use TAB for stored links completion.
2661 2009-07-18  Bastien Guerry  <bzg@altern.org>
2663         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2664         building the list of targets.
2666         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2667         option.
2668         (org-remember-handler): Use the new option.
2670 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2672         * org.el (org-tags-sort-function): New option for sorting tags.
2673         (org-set-tags): Use the new option to sort tags.
2675         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2676         premature deletion of the data when using org-plot in a script.
2678 2009-07-17  Bastien Guerry  <bzg@altern.org>
2680         * org-clock.el (org-clock-in-prepare-hook): New hook.
2681         (org-clock-in): Use this new hook.
2683 2009-07-16  Bastien Guerry  <bzg@altern.org>
2685         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2686         'reversed for this option to the "true line boundary first"
2687         behavior.
2688         (org-tags-match-list-sublevels): Document the 'indented value for
2689         this variable.
2691         * org-latex.el (org-export-latex-first-lines): Fix problem with
2692         publishing the region.
2694         * org-exp.el (org-export-format-source-code-or-example): Fix
2695         bad line numbering when exporting examples in HTML.
2697         * org-colview.el (org-format-time-period): Formats a time in
2698         fractional days as days, hours, mins, seconds.
2699         (org-columns-display-here): Add special handling for SINCE and
2700         SINCE_IA to format for display.
2702 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2704         * org.el (org-tags-sort-function): Add custom declaration for tags
2705         sorting function.
2706         (org-set-tags): Sort tags if org-tags-sort-function is set
2708 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2710         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2712         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2714         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2715         option.
2717 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2719         * org-publish.el (org-publish-remove-all-timestamps): New function.
2720         (org-publish-all): Remove all timestamp files if `org-publish-all'
2721         is called with a prefix argument.
2723         * org-list.el (org-indent-item): Fix typo.
2724         (org-item-indent-positions): Normalize ordered bullet.
2726         * org-html.el (org-export-html-home/up-format): New option.
2727         (org-export-as-html): Insert the up and HOME links.
2729 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2731         * org-html.el (org-export-as-html): Insert the title into the
2732         option plist.
2733         (org-export-html-insert-plist-item): New function.
2734         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2736         * org-macs.el (org-set-local): Make a local variable, do not make
2737         the variable buffer-local!
2739         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2741         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2743         * org-docbook.el (org-export-as-docbook): Call
2744         `org-install-letbind'.
2746         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2748         * org-exp.el (org-infile-export-plist): Read BIND lines.
2749         (org-install-letbind): New function.
2750         (org-export-as-org, org-export-preprocess-string): Call
2751         `org-install-letbind'.
2753         * org-src.el (org-edit-src-exit): Untabify the example before
2754         returning to Org.
2756         * org-list.el (org-list-demote-modify-bullet): New option.
2757         (org-first-list-item-p): Save point.
2758         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2759         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2760         (org-item-indent-positions): Return bullet types along with
2761         indentation.
2763 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2765         * org.el (org-show-entry): Hide drawers.
2767 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2769         * org-footnote.el (org-footnote-auto-adjust): New option.
2770         (org-footnote-auto-adjust-maybe): New function.
2771         (org-footnote-new, org-footnote-delete): Call
2772         `org-footnote-auto-adjust-maybe'.
2774         * org.el (org-startup-options): Add new footnote-related
2775         keywords.
2777         * org-publish.el (org-publish-timestamp-filename): Additional
2778         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2779         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2780         TRUE-PUB-DIR.  Pass them through to
2781         `org-publish-timestamp-filename'.
2782         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2783         PUB-FUNC, which are included in the hash.
2784         (org-publish-file): Delay timestamp test until the publishing
2785         function is known.
2787 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2789         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2790         setting the deadline.
2792         * org.el (org-read-date-final-answer): New variable.
2793         (org-read-date): Store the final answer string, including the date
2794         from the calendar, for reuse by agenda bulk commands.
2796         * org-publish.el (org-publish-attachment): Fix publishing of
2797         attachments.
2799         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2800         quotation makrs in parenthesis.
2801         (org-remove-initial-hash): New function.
2802         (org-export-latex-preprocess): Fix bug with infinite loop if
2803         environment is not properly closed.
2805         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2806         when indented.
2808         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2809         highlight also when indented.
2811 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2813         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2814         (org-footnote-action): Offer renumbering.
2816         * org.el (org-cycle): Honor the `integrate' value of
2817         org-cycle-include-plain-lists'.
2819         * org-list.el (org-cycle-include-plain-lists): New allowed value
2820         `internal'.  Improve the docstring.
2822         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2823         regexp to work better with LaTeX commands.
2825 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2827         * org-feed.el (org-feed-update): fix problem with non-existing
2828         buffer.
2829         (org-feed-skip-http-headers): New function.
2830         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2831         (org-feed-get-feed): Fix command line arguments for curl.
2833 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2835         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2836         and eps extensions.
2838 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2840         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2841         loaded.
2843         * org.el (org-map-entries): No longer force
2844         `org-tags-match-list-sublevels' to t during a todo-only tags
2845         search.
2847 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2849         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2850         environment.
2851         (org-export-latex-subcontent): Handle user-defined environment.
2853         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2854         the View dispatcher.
2856         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2857         `make-overlay'.
2859         * org-latex.el (org-export-as-pdf): Protect match data during call
2860         to shell-quote-argument.
2862         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2863         (org-agenda-view-mode-dispatch): New function.
2865 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2867         * org-agenda.el (org-agenda-mode): Reset list of marks.
2868         (org-agenda-mode-map): Define new keys for refile and bulk action.
2869         (org-agenda-menu): Add menu itesm for refile and bulk action.
2870         (org-agenda-refile): New function.
2871         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2872         (org-agenda-marked-entries): New variable.
2873         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2874         (org-agenda-remove-all-bulk-action-marks)
2875         (org-agenda-bulk-action): New functions/commands.
2877 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2879         * org-exp.el (org-get-file-contents): Protect org-like lines in
2880         included files.
2881         (org-export-format-source-code-or-example): Remove newlines.
2883         * org-latex.el (org-export-latex-links): Check for no-description
2884         marking.
2886         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2887         argument separator back to comma.
2888         (org-export-normalize-links): Mark links without description.
2890 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2892         * org-exp.el (org-infile-export-plist): Fix bug in macro
2893         processing.
2895         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2896         out.
2897         (org-agenda-highlight-todo): Fix bug with highlighting.
2899 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2901         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2902         new alignment strings.
2904         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2905         command list.
2906         (org-table-align): Check for forced align type.
2908         * org.el (org-self-insert-command): Add yas/expand to command
2909         list.
2911         * org-clock.el (org-clock-in-hook): New hook.
2912         (org-clock-in): Run `org-clock-in-hook.
2913         (org-clock-out-hook): New hook.
2914         (org-clock-out): Run `org-clock-out-hook.
2915         (org-clock-cancel-hook): New hook.
2916         (org-clock-cancel): Run `org-clock-cancel-hook.
2917         (org-clock-goto-hook): New hook.
2918         (org-clock-goto): Run `org-clock-goto-hook.
2920 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2922         * org.el (org-store-link): Better default description for link to
2923         Org-mode headline.
2925         * org-exp.el (org-export-generic): Autoload the generic exporter
2926         function.
2927         (org-export): Implement the `g' key for the generic exporter.
2929 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2931         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2932         and for zbacktab'.
2934         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2936         * org-exp.el (org-infile-export-plist): Get macros also from
2937         #+SETUPFILE.
2939 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2941         * org-colview.el (org-columns-capture-view): Protect vertical bars
2942         in column values.
2943         (org-columns-capture-view): Exclude comment and archived trees.
2945         * org-colview-xemacs.el (org-columns-capture-view): Protect
2946         vertical bars in column values.
2947         (org-columns-capture-view): Exclude comment and archived trees.
2949         * org.el (org-quote-vert): New function.
2951         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2953         * org-exp.el (org-export-format-source-code-or-example): Use
2954         `org-export-latex-verbatim-wrap'.
2956         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2957         time stamps.
2959         * org-html.el (org-export-table-row-tags): New option.
2960         (org-format-org-table-html): Rename `nlines' to `nline', use new
2961         option.
2964 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2966         * org-exp-blocks.el: Declare functions and variables.
2968         * org-remember.el (org-remember-templates): Allow the headline
2969         element to be a function.
2970         (org-remember-apply-template): If the headline is a function, call
2971         it to get the true function.
2973         * org-clock.el (org-clock-menu): New function.
2974         (org-clock-update-mode-line): Update help string.
2975         (org-clock-modify-effort-estimate): New function.
2976         (org-clock-mark-default-task): New function.
2978         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2979         minutes as input.
2980         (org-org-menu): Add new clocking stuff.
2981         (org-clock-is-active): New function.
2983 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2985         * org.el (org-open-non-existing-files): Improve docstring.
2987 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2989         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2990         option.
2991         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2993         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2995         * org-list.el (org-get-checkbox-statistics-face): Use the new
2996         faces.
2998         * org-faces.el (org-checkbox-statistics-todo)
2999         (org-checkbox-statistics-done): New faces.
3001 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3003         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3004         (org-edit-src-exit): Better cursor positioning when returning from
3005         editing.
3007         * org-latex.el (org-export-latex-use-verb): New variable.
3008         (org-export-latex-emph-format): Prefer \texttt over \verb when
3009         org-export-latex-use-verb is set.
3011 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3013         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3014         at normal indentation.
3016         * org-html.el (org-export-html-close-lists-maybe): Also look at
3017         normal indentation.
3019         * org-remember.el (org-remember-handler): Abort remember if the
3020         buffer is empty.
3022         * org-src.el (org-edit-src-content-indentation): New option.
3023         (org-edit-src-exit): Apply extra indentation.
3025         * org-exp.el (org-export-format-source-code-or-example): Run
3026         `org-src-mode-hook'.
3028         * org-src.el (org-src-mode-hook): New variable.
3029         (org-edit-src-code): Run `org-src-mode-hook'.
3031 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3033         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3035         * org-src.el (org-edit-src-get-indentation): New function.
3036         (org-edit-src-code): Base indentation on the begin line.
3038 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3040         * org-gnus.el (org-gnus-store-link): Require message.el in
3041         org-gnus-store-link.
3043 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3045         * org-src.el: New file, split out of org.el
3047         * org-docbook.el (org-export-as-docbook): Better indentation
3048         treatment.
3050         * org-macs.el (org-replace-match-keep-properties): New function.
3052         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3053         preprocessing of center and quote and verse blocks.
3055         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3056         (org-export-as-docbook): Close lists when original indentation
3057         mandates it.
3059         * org-html.el (org-export-html-close-lists-maybe): New function.
3060         (org-export-as-html): Close lists when original indentation
3061         mandates it.
3063         * org-list.el (org-list-end): Respect the stored "original"
3064         indentation when determining the end of the list.
3066         * org-exp.el (org-export-replace-src-segments-and-examples):
3067         Remember indentation correctly.
3069 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3071         * org-clock.el (org-clock-update-mode-line): Apply face
3072         org-mode-line-clock.
3074         * org-faces.el (org-mode-line-clock): New face.
3076 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3078         * org-gnus.el (org-gnus-store-link): Fix bug where
3079         `org-gnus-store-link' used wrong subject when called in an article
3080         buffer.  Patch provided by fengli AT gmail DOT com.
3082 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3084         * org-exp.el (org-export-format-source-code-or-example): Remember
3085         the original indentation of source code snippets and examples.
3087         * org-latex.el (org-export-as-latex): Relocate the table of
3088         contents.
3090         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3092         * org-agenda.el (org-run-agenda-series): Scope global options also
3093         when creating the agenda buffer.
3095 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3097         * org.el (org-adapt-indentation): Improve documentation.
3098         (org-insert-property-drawer): Respect org-adapt-indentation when
3099         inserting the drawer.
3100         (org-remove-flyspell-overlays-in): New function.
3101         (org-do-emphasis-faces, org-activate-plain-links)
3102         (org-activate-code, org-fontify-meta-lines-and-blocks)
3103         (org-activate-angle-links, org-activate-footnote-links)
3104         (org-activate-bracket-links, org-activate-dates)
3105         (org-activate-target-links, org-activate-tags): Remove flyspell
3106         overlays.
3108 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3110         * org.el (org-edit-src-save): New function.
3112         * org-clock.el (org-clock-out-switch-to-state): New option.
3113         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3115         * org-compat.el (org-compatible-face): Improve macro.
3117         * org.el (org-global-properties-fixed): Add default for
3118         CLOCK_MODELINE_TOTAL.
3120         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3121         andd tend.
3122         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3123         org-clock-sum.
3124         (org-clock-get-sum-start): New function.
3126         * org.el (org-startup-options): New keywords blockhide and
3127         blockshow.
3128         (org-mode): Add new invisibility spec.
3129         (org-set-startup-visibility): Hide block on startup if so
3130         desired.
3131         (org-hide-block-startup): New option.
3132         (org-block-regexp): New constant.
3133         (org-hide-block-overlays): New variable.
3134         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3135         (org-show-block-all, org-hide-block-toggle-maybe)
3136         (org-hide-block-toggle): New functions.
3137         (org-edit-src-exit): Do not quote lines starting with # and no +
3138         behind it.
3139         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3140         entry.
3142 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3144         * org.el (org-buffer-property-keys): Add Effort property for
3145         completion.
3147 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3149         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3150         when retrieving total clocked time in the subtree.
3152         * org.el (org-quoting-blocks): New variable.
3154 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3156         * org-table.el (org-table-store-formulas)
3157         (org-table-get-stored-formulas, org-table-fix-formulas)
3158         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3159         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3161         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3162         indented #+TBLFM line.
3164         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3165         indented #+TBLFM line.
3167         * org-colview.el (org-dblock-write:columnview): Allow indented
3168         #+TBLFM line.
3170         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3171         indented #+TBLFM line.
3173         * org-clock.el (org-dblock-write:clocktable): Allow indented
3174         #+TBLFM line.
3176 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3178         * org-exp.el (org-export-format-source-code-or-example): Make
3179         editing indented blocks work correctly.
3181         * org.el (org-edit-src-nindent): New variable.
3182         (org-edit-src-code, org-edit-fixed-width-region)
3183         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3184         editing indented blocks work correctly.
3186 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3188         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3189         indented blocks.
3190         (org-export-format-source-code-or-example): Fix indentation of
3191         blocks.
3192         (org-export-remove-indentation): New function.
3193         (org-export-select-backend-specific-text): Allow backend-specific
3194         code to be indented.
3195         (org-export-mark-blockquote-verse-center): Allow markers to be
3196         indented.
3198         * org.el (org-fontify-meta-lines): New function.
3199         (org-set-font-lock-defaults): Call the new fontification
3200         function.
3202         * org-faces.el (org-meta-line): New face
3203         (org-block):  New face.
3205 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3207         * org.el (org-treat-insert-todo-heading-as-state-change)
3208         (org-treat-S-cursor-todo-selection-as-state-change): New
3209         variables.
3210         (org-insert-todo-heading): Honor
3211         `org-treat-insert-todo-heading-as-state-change'.
3212         (org-shiftright, org-shiftleft): Honor
3213         `org-treat-S-cursor-todo-selection-as-state-change'.
3214         (org-inhibit-logging): New variable.
3216 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3218         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3219         range for marker position checking.
3221         * org-latex.el (org-export-latex-first-lines): Fix bug when
3222         exporting a region.
3224 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3226         * org-exp.el (org-export-push-to-kill-ring): Protect using
3227         x-set-selection, because that does not always work.
3229         * org-agenda.el (org-agenda-list): Apply the new face
3230         `org-agenda-date-today'.
3232         * org-faces.el (org-agenda-date-today): New face.
3234 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3236         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3237         creating appointments.
3239         * org-latex.el (org-export-latex-low-levels): Fix customization
3240         type.
3242         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3243         priority commands.
3245         * org-agenda.el (org-agenda-priority): Disable priority commands.
3247         * org.el (org-enable-priority-commands): New option.
3249         * org-colview-xemacs.el (org-columns-compute)
3250         (org-columns-number-to-string): Fix problems with empty fields.
3252         * org-colview.el (org-columns-compute)
3253         (org-columns-number-to-string): Fix problems with empty fields.
3255         * org-exp.el (org-export-push-to-kill-ring): New function.
3256         (org-export-copy-to-kill-ring): New option.
3258         * org-latex.el (org-export-as-latex): Call
3259         `org-export-push-to-kill-ring'.
3261         * org-html.el (org-export-as-html): Call
3262         `org-export-push-to-kill-ring'.
3264         * org-docbook.el (org-export-as-docbook): Call
3265         `org-export-push-to-kill-ring'.
3267         * org-ascii.el (org-export-as-ascii): Call
3268         `org-export-push-to-kill-ring'.
3270         * org-exp.el (org-export-show-temporary-export-buffer): New
3271         option.
3273         * org-latex.el (org-export-as-latex): Use
3274         `org-export-show-temporary-export-buffer'.
3276         * org-html.el (org-export-as-html): Use
3277         `org-export-show-temporary-export-buffer'.
3279         * org-docbook.el (org-export-as-docbook): Use
3280         `org-export-show-temporary-export-buffer'.
3282         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3283         `org-export-show-temporary-export-buffer'.
3285         * org-exp.el (org-export-show-temporary-export-buffer): New
3286         option.
3287         (org-export-push-to-kill-ring): New function.
3289         * org-colview.el (org-columns-compile-map): New variable.
3290         (org-columns-new, org-columns-compute)
3291         (org-columns-number-to-string, org-columns-uncompile-format)
3292         (org-columns-compile-format): Implement new operators.
3294 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3296         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3298         * org-html.el (org-export-html-xml-declaration): New option.
3299         (org-export-as-html): Use `org-export-html-xml-declaration'.
3301         * org-list.el (org-update-checkbox-count): Make property
3302         dependent.
3304         * org.el (org-hierarchical-todo-statistics): New option.
3305         (org-update-parent-todo-statistics): Modified to handle recursive
3306         statistics.
3308 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3310         * org-publish.el (org-publish): Make this function behave
3311         correctly in interactive use when called with a prefix argument.
3313         * org.el (org-todo-statistics-hook): New hook.
3314         (org-update-parent-todo-statistics): Use new hook.
3315         (org-log-into-drawer): New function.
3316         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3317         determine if we should be logging into a drawer.
3318         (org-log-into-drawer): Update docstring.
3319         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3321         * org-list.el (org-checkbox-statistics-hook): New hook.
3322         (org-update-checkbox-count-maybe): Use new hook.
3324         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3325         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3326         to kill ring.
3328 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3330         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3331         a line.
3333 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3335         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3336         better bufer-generating mechanism.
3337         (org-edit-src-find-buffer): New function.
3339         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3340         archive tag, this is already done by `org-agenda-skip'.
3341         data while constructing lost of tags.
3343 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3345         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3346         as argument separator in macros.
3348         * org-html.el (org-export-as-html): Add xml declaration.
3350 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3352         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3353         (org-sort-entries-or-items): Run the new hook.
3354         (org-after-refile-insert-hook): New hook.
3355         (org-refile): Run `org-after-refile-insert-hook'.
3357         * org-agenda.el (org-agenda-get-progress): Never take time of day
3358         from headline when displaying progress.
3360         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3361         (org-export-as-latex): Force the correct regexp in the
3362         preprocessor buffer.
3363         (org-export-latex-set-initial-vars): Set
3364         `org-export-latex-complex-heading-re'.
3366         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3367         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3369 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3371         * org-latex.el (org-export-latex-tables-centered): New option.
3372         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3374         * org-exp.el (org-export-as-org): New command.
3375         (org-export-as-org): New command.
3377         * org-publish.el (org-publish-org-to-org): New function.
3379 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3381         * org.el (org-yank): Just call `org-yank-generic'.
3382         (org-yank-generic): New function, containing the formaer
3383         functionality of `org-yank'.
3385         * org-latex.el (org-export-latex-not-done-keywords)
3386         (org-export-latex-done-keywords): New variables.
3387         (org-export-latex-todo-keyword-markup): New option.
3388         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3389         (org-export-latex-keywords-maybe): Apply the TODO markup.
3391 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3393         * org-exp.el (org-infile-export-plist): Add more default macros.
3394         (org-export-preprocess-apply-macros): Process macro arguments.
3396 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3398         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3399         `unblocked'.
3400         (org-print-icalendar-entries): Respect the new value of
3401         `org-icalendar-include-todo'.
3403         * org.el (org-link-try-special-completion)
3404         (org-file-complete-link): New functions.
3405         (org-insert-link): Add special completion support for some link
3406         types.
3408         * org-bbdb.el (org-bbdb-complete-link): New function.
3410 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3412         * org-list.el (org-update-checkbox-count): Allow recursive
3413         statistics.
3414         (org-hierarchical-checkbox-statistics): New option.
3416         * org.el (org-cycle): Remove erraneous space character.
3418         * org-icalendar.el (org-icalendar-timezone): Initialize from
3419         environment.
3421         * org-html.el (org-format-org-table-html): Specify the scope.
3422         (org-format-table-table-html): Specify the scope.
3423         (org-export-table-header-tags): Prepare the scope parameter.
3425 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3427         * org-html.el
3428         (org-export-html-table-use-header-tags-for-first-column): New
3429         option.
3431         * org.el (org-autoload): Fix autoloading of ascii export
3432         functions.
3433         (org-modules): Add org-special-blocks.
3435 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3437         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3438         (org-ical-timezone): New option.
3440         * org-exp.el (org-export-get-coderef-format): Use the description
3441         is present.
3443         * org.el (org-sort-entries-or-items): Improve docstring, and make
3444         better implementation for time sorting.
3446 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3448         * org.el (org-edit-src-persistent-message): New option.
3449         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3450         option.
3452         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3453         patch.
3455         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3456         separate buffer instead of indirect buffer to edit source code.
3457         (org-edit-src-exit): Make this function work with the new setup.
3459         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3460         are properly fontified before shown in the selection menu.
3462         * org.el (org-fontify-like-in-org-mode): New function.
3464         * org-latex.el (org-export-latex-links): Use the property list to
3465         retrieve the default image attributes.
3467         * org-exp.el (org-export-plist-vars): Add a new option.
3469 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3471         * org-exp.el (org-export, org-export-visible): Support ASCII
3472         export to buffer
3473         (org-export-normalize-links): Do not protect the description if it
3474         is explicitly given.
3476         * org-ascii.el (org-export-as-ascii-to-buffer)
3477         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3478         commands.
3479         (org-export-as-ascii): Add all the same parameters that are also
3480         supported by the other export functions.
3482         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3483         org-checklist.el.
3484         (org-reset-checkbox-state-subtree): Call
3485         `org-reset-checkbox-state-subtree'.
3487         * org-remember.el (org-select-remember-template): For the
3488         selection of a valid template.
3490         * org-latex.el (org-export-region-as-latex): Supply the
3491         force-no-subtree argument.
3492         (org-export-as-latex): Provide better limits when exporting the
3493         first line.  When exporting to string, we still want the first
3494         lines.
3495         (org-export-latex-first-lines): New argument END, to force the end
3496         of the region.
3497         (org-export-region-as-latex): Use the property list.
3498         (org-export-as-latex):
3500         * org-colview-xemacs.el (org-columns-remove-overlays)
3501         (org-columns): Fix call to `local-variable-p'.
3503 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3505         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3506         (org-export-as-html): Run the new hook.
3508         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3509         (org-export-latex-preprocess): Run the new hook.
3511         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3512         (org-export-preprocess-string): Run the new hook.
3514 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3516         * org-macs.el (org-check-external-command): New defsubst.
3518         * org.el (org-mode-map): New key for reload.
3519         (org-format-latex): Better error message when external programs
3520         are not available.
3522         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3524         * org.el (org-sort-entries-or-items): Explicit sorting function
3525         for priorities, needed for XEmacs compatibility.
3527         * org-remember.el (org-remember-apply-template): Improve auto-save
3528         behavior.
3530 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3532         * org-latex.el (org-export-latex-preprocess): Also protect
3533         environments ending in a star.
3535         * org-list.el (org-at-item-p): Fix regular expression.
3537 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3539         * org.el (org-end-of-subtree): Improve speed.
3541         * org-agenda.el (org-agenda-get-timestamps)
3542         (org-agenda-get-progress, org-agenda-get-deadlines)
3543         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3544         in particular, wait as long as possible to collect the tags.
3545         (org-stuck-projects): Improve docstring.
3547         * org.el (org-store-link): No errors when getting custom id before
3548         first headline.
3549         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3551 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3553         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3555         * org-protocol.el: Remove dependency on url.el.
3556         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3557         dependency on url.el.
3559         * org-latex.el (org-export-as-pdf): Use
3560         `org-latex-to-pdf-process'.
3562 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3564         * org-latex.el (org-latex-to-pdf-process): New option.
3566         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3567         New option.
3568         (org-agenda-get-timestamps): Honor
3569         `org-agenda-skip-additional-timestamps-same-entry'.
3571         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3572         (org-clock-goto): Find recent task only if
3573         `org-clock-goto-may-find-recent-task' allows it.
3575         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3576         drawers, and drawers that are missing the :END: line.
3578 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3580         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3581         clock is running.
3583 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3585         * org.el (org-update-parent-todo-statistics): Check for
3586         STATISTICS_FROM property.
3588         * org-list.el (org-update-checkbox-count): Check for
3589         STATISTICS_FROM property.
3591         * org.el (org-tab-first-hook)
3592         (org-tab-after-check-for-table-hook)
3593         (org-tab-after-check-for-cycling-hook): New hooks.
3594         (org-cycle-internal-global, org-cycle-internal-local): New
3595         functions, split out from `org-cycle'.
3596         (org-cycle): Call the new hooks.
3598 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3600         * org-exp.el (org-export-preprocess-string): Reset the list of
3601         preferred targets for each run of the preprocessor.
3603         * org.el (org-refile-target-verify-function): Improve
3604         documentation.
3605         (org-get-refile-targets): Respect point being moved by the
3606         verification function.
3608         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3609         option.
3610         (org-export-latex-keywords): Use new option.
3612         * org.el (org-rear-nonsticky-at): New defsubst.
3613         (org-activate-plain-links, org-activate-angle-links)
3614         (org-activate-footnote-links, org-activate-bracket-links)
3615         (org-activate-dates, org-activate-target-links)
3616         (org-activate-tags): Place the rear-nonsticky properties at the
3617         correct location.
3619 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3621         * org-protocol.el (server-edit): Declare `server-edit'.
3622         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3623         functions.
3624         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3626         * org.el (org-default-properties): New default properteis for
3627         completion.
3629         * org-exp.el (org-export-add-subtree-options): Add new properties
3630         for subtree export.
3632         * org-docbook.el (org-export-docbook-keywords-markup)
3633         (org-export-docbook-timestamp-markup): New options.
3634         (org-export-docbook-protect-tags): New function.
3636 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3638         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3639         org-refile-target-verify-function for the duration of the command.
3641         * org.el (org-link-to-org-use-id): New possible value
3642         `create-if-interactive-and-no-custom-id'.
3643         (org-store-link): Use custom IDs.
3644         (org-link-search): Find custom ID properties from #link.
3645         (org-default-properties): Add CUSTOM_ID for property completion.
3646         (org-refile-target-verify-function): New option.
3647         (org-goto): Turn off org-refile-target-verify-function
3648         for the duration of the command.
3650 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3652         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3654         * org-exp.el (org-export-preferred-target-alist): New variable.
3655         (org-export-define-heading-targets): Find the new CUSTOM_ID
3656         property.
3657         (org-export-target-internal-links): Target the custom ids when
3658         possible.
3660         * org-latex.el (org-export-latex-preprocess): Better regexp for
3661         matching latex macros with arguments.
3663 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3665         * org-remember.el (org-remember-handler): Allow filing to non-org
3666         files.
3668 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3670         * org-feed.el (org-feed-alist): New keyword options.
3671         (org-feed-update): Use the new options.
3672         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3673         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3674         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3675         functions.
3677         * org-table.el (org-table-fix-formulas): Do not change references
3678         to remote tables.
3679         (org-table-get-remote-range): Convert standard coordinates to RC
3680         format.
3682         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3684 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3686         * org-compat.el (org-sha1-string): Function removed.
3688         * org.el (org-refile-allow-creating-parent-nodes): New option.
3689         (org-refile-get-location): New argument NEW-NODES.
3690         (org-refile): Call `org-refile-get-location' with the new
3691         argument.
3692         (org-refile-get-location): Arrange for adding a new child.
3693         (org-refile-new-child): New function.
3695         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3696         an additional span element.
3698         * org-clock.el: Fix a number of docstrings.
3699         (org-clock-find-position): New argument
3700         FIND-UNCLOSED to make the function find an unclosed clock in the
3701         entry.
3702         (org-clock-in): Call `org-clock-find-position' with the new
3703         argument if we might be resuming a clock.
3705 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3707         * org-latex.el (org-export-latex-display-custom-times): New variable.
3708         (org-export-latex-timestamp-markup): New option.
3709         (org-export-latex-set-initial-vars): Remember the local value of
3710         `org-display-custom-times'.
3711         (org-export-latex-content): Process time stamps.
3712         (org-export-latex-time-stamps): New function.
3714         * org-macs.el (org-maybe-intangible): Add intangible property
3715         again to invisible text.
3717 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3719         * org-exp.el (org-default-export-plist): Handle undefined
3720         variables.
3722 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3724         * org.el (org-sort-entries-or-items): Match TODO keywrds
3725         case-sensitively, when sorting.
3726         (org-priority): Do not match TODO keywords with wrong case.
3728 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3730         * org-feed.el (org-feed-update): Bind the variable
3731         `new-formatted'.
3733         * org-html.el (org-export-as-html): Start paragraphs after literal
3734         examples.
3736         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3737         literal examples.
3739 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3741         * org.el (org-todo): Honor the NOBLOCKING property.
3743         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3744         NOBLOCKING property.
3746         * org.el (org-scan-tags): Fix bug in tag scanner
3748 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3750         * org.el (org-modules): Mark obsolete packages.
3752         * org-html.el: New file, split out from org-exp.el.
3754         * org-icalendar.el: New file, split out from org-exp.el.
3756         * org-xoxo.el: New file, split out from org-exp.el.
3758         * org-ascii.el: New file, split out from org-exp.el.
3760 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3762         * org-compat.el (org-find-library-name): New function.
3764         * org.el (org-pre-cycle-hook): New hook.
3765         (org-cycle): Call the new hook in appropriate places.
3766         (org-reload): Only reload files that have been loaded before.
3768 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3770         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3771         after todo keyword.
3772         (org-todo): When changing TODO state, do matching
3773         case-sensitively.
3774         (org-map-continue-from): New variable.
3775         (org-scan-tags): Respect values in `org-map-continue-from'.
3776         (org-reload): Make XEmacs compatible.
3778 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3780         * org-protocol.el (org-protocol-flatten-greedy): New function.
3781         (org-protocol-flatten): New function.
3783         * org.el (org-open-link-from-string): Pass reference buffer to
3784         `org-open-at-point'.
3785         (org-open-at-point): New optional argument `reference-buffer'.
3787 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3789         * org.el (org-scan-tags): Make tag scan find headline in first
3790         line, 2nd attempt.
3791         (org-get-refile-targets): Add the naked file name.
3792         (org-refile): Store as top-level entry when only file name was
3793         given.
3795         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3797         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3798         Renamed from org-block-todo-from-children-or-siblings, and
3799         enhanced to look for the parent's status as well.
3801         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3802         (org-agenda-get-progress): Add first notes line to log entry if so
3803         desired.
3805 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3807         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3808         (org-agenda-cleanup-fancy-diary): Call the new hook.
3810         * org-remember.el (org-remember-apply-template): Take the default
3811         for the annotation from the :annotation property.
3813         * org-mac-message.el (org-mac-message-get-link): Remove the
3814         quotes.
3815         (org-mac-message-get-link): Return the result.
3817 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3819         * org.el (org-refile-get-location): Add file name only if not
3820         already included in outline path.
3822         * org-faces.el (org-n-level-faces): Fix customization type from
3823         number to integer.
3825         * org-exp.el (org-export-headline-levels): Fix customization type
3826         from number to integer.
3828         * org-agenda.el (org-agenda-confirm-kill)
3829         (org-agenda-custom-commands-local-options)
3830         (org-timeline-show-empty-dates, org-agenda-ndays)
3831         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3832         customization type from number to integer.
3834 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3836         * org-protocol.el: Declare some functions.
3838         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3839         postion before inserting modified headline.
3841         * org-agenda.el (org-agenda-compare-effort): Honor
3842         `org-sort-agenda-noeffort-is-high'.
3843         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3844         (org-agenda-compare-effort): Implement the "?" operator for
3845         finding entries without effort setting.
3847         * org.el (org-extract-attributes-from-string): New function.
3849         * org-exp.el (org-export-splice-attributes): New function.
3851 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3853         * org-mouse.el: XEmacs compatibility fixes
3855         * org-docbook.el (org-export-as-docbook): Process footnotes like
3856         normal text.
3858         * org.el (org-modules): Add org-inlinetasks.el
3859         (org-cycle): Implement limiting level on cycling.
3860         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3861         buffer.
3863         * org-inlinetask.el: New file.
3865         * org.el (org-emphasis-regexp-components): Allow braces in
3866         emphasis pre and post match.
3868         * org-footnote.el (org-footnote-normalize): When only dorting, do
3869         not insert inline notes at the end.
3871         * org-docbook.el (org-id-find-id-file): Add function declaration.
3873         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3875         * org-docbook.el: New file.
3877 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3879         * org.el (org-reftex-citation): New command.
3881 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3883         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3884         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3885         sorting options.
3886         (org-entries-lessp): Apply the new sorting option.
3888         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3889         blocker code, when an older sibling has children.
3891         * org-mac-message.el (org-mac-message-get-link): Improve getting
3892         links from multiple selected messages.
3894 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3896         * org-remember.el (org-remember-finalize): Do not set buffer file
3897         name to nil.
3898         (org-remember-handler): Mark buffer as unmodified.
3899         (org-remember-handler): Delete backup file and show message about
3900         remaining backup files.
3901         (org-remember-auto-remove-backup-files): New option.
3903         * org.el (org-store-link): Use buffer name as link description in
3904         w3-mode buffers.
3905         (org-ido-switchb): Fix argument bug for completion.
3907         * org-remember.el (org-remember-apply-template): Set local
3908         variable `auto-save-visited-file-name' instead of global one.
3910 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3912         * org-feed.el: Re-write.
3914         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3915         (org-agenda-get-todos): Mark file tags as inherited.
3916         (org-agenda-list): Always search diary lines for a time.
3918 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3920         * org-feed.el (org-feed-assume-stable): New option.
3921         (org-feed-before-adding-hook): New hook.
3923         * org-exp.el (org-export-as-html): Close local lists depending on
3924         indentation, also when starting a table.
3926         * org-remember.el (org-remember-backup-directory)
3927         (org-remember-backup-name): New internal variable.
3929 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3931         * org-clock.el (org-clock-out-if-current): Make buffer detection
3932         work in indirect buffers as well.
3934         * org.el (org-emphasis-regexp-components): Add the exxclamation
3935         mark to the post-emphasis characters.
3937 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3939         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3940         (org-read-date): Run the new hook.
3942         * org-mac-message.el (org-mac-flagged-mail): New group.
3943         (org-mac-mail-account): New variable.
3944         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3945         commands.
3947         * org-remember.el (org-remember-backup-directory): New variable.
3948         (org-remember-apply-template): Write file to backup directory.
3950 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3952         * org-mouse.el (org-mouse-todo-menu): New function.
3953         (org-mouse-todo-keywords): Function removed.
3954         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3956         * org-table.el (org-table-beginning-of-field)
3957         (org-table-end-of-field): New commands
3958         (org-table-previous-field, org-table-beginning-of-field): Better
3959         error messages.
3960         (orgtbl-setup): Include `M-a' and `M-e'.
3962         * org.el (org-backward-sentence, org-forward-sentence): New
3963         commands.
3965         * org-colview.el (org-colview-initial-truncate-line-value): New
3966         variable.
3967         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3968         (org-columns): Remember the value of `truncate-lines'.
3970         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3971         New variable.
3972         (org-columns-remove-overlays): Restore the value of
3973         `truncate-lines'.
3974         (org-columns): Remember the value of `truncate-lines'.
3976         * org.el (org-columns-skip-arrchived-trees): New option.
3978         * org-agenda.el (org-agenda-export-html-style): Define color for
3979         org-agenda-done face.
3980         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3981         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3983         * org.el (org-scan-tags): Use the new face.
3985         * org-faces.el (org-agenda-done): New face.
3987         * org.el (org-scan-tags): Test the value org
3988         `org-tags-match-list-sublevels'.
3989         (org-tags-match-list-sublevels): New allowed value: indented.
3991         * org-export-latex.el (org-export-latex-make-header): Apply macros
3992         in header.
3994         * org-exp.el (org-export-apply-macros-in-string): New function.
3996         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3997         with the definition of a checked box.
3999         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4001         * org-export-latex.el (org-export-latex-low-levels): More options
4002         for how to process lower levels in LaTeX.
4003         (org-export-latex-subcontent): Better treatment for lists as a
4004         means of publishing lower levels.
4006 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4008         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4010         * org-faces.el (org-checkbox): New face.
4012         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4013         fragement images if there is an export file.
4015 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4017         * org-agenda.el (org-stuck-projects): Document that the subtree of
4018         projects that are not stuck will now be searched for stuck
4019         sub-projects.
4020         (org-agenda-skip-entry-when-regexp-matches)
4021         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4022         (org-agenda-list-stuck-projects): Use
4023         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4025         * org-export-latex.el (org-export-latex-preprocess): Improve
4026         export of verses.
4028         * org-exp.el (org-export-as-html): Implement centering as a div
4029         rather than a paragraph.  Do a better job with line-end in verse
4030         environments.
4032 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4034         * org.el (org-open-at-point): Fix tags searches by mouse click.
4036 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4038         * org-export-latex.el (org-export-latex-preprocess): Implement the
4039         centering markup.
4041         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4042         from `org-export-mark-blockquote-and-verse'.
4043         (org-export-as-html): Implement the centering markup.
4045         * org-export-latex.el (org-export-latex-tables): Fix vertical
4046         lines in tables.
4048 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4050         * org.el (org-read-date-history): New variable.
4051         (org-read-date): Use new history variable.
4052         (org-toggle-heading): Fix bug when used before first headline.
4053         (org-store-log-note): Remove drawer if empty while note is
4054         aborted.
4055         (org-remove-empty-drawer-at): New function.
4056         (org-check-after-date): New command.
4057         (org-sparse-tree): New sparse tree command "a".
4059         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4061 2009-03-14  Bastien Guerry  <bzg@altern.org>
4063         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4064         column and a space, not only a column.
4066 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4068         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4069         defaults for verbose emphasis.
4070         (org-export-latex-emph-format): New function.
4071         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4073         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4074         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4075         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4076         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4077         commands.
4079         * org.el (org-timestamp-change): Move end-time along with start
4080         time.
4082 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4084         * org-exp.el (org-export-target-internal-links)
4085         (org-export-as-html): Protect links specified as #name.
4087 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4089         * org.el (org-clone-subtree-with-time-shift): New command.
4091         * org-export-latex.el (org-export-latex-special-chars)
4092         (org-export-latex-treat-sub-super-char): Fix subscript export.
4094         * org-exp.el (org-create-multibrace-regexp): Do not add
4095         backslashes to the class.
4097 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4099         * org-colview.el (org-columns-map): Better functions for moving up
4100         and down a row, even if `truncate-line' is nil.
4102         * org.el (org-insert-todo-heading): Make sure the keyword is
4103         inserted at the correct position.
4105         * org-publish.el (org-publish-project-alist)
4106         (org-publish-projects, org-publish-org-index): Change default anme
4107         for the index of file names to "sitemap.org".
4109         * org-export-latex.el (org-export-latex-tables): Use
4110         `org-split-string', for Emacs 21 compatibility.
4112 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4114         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4116 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4118         * org-exp.el (org-export-page-description)
4119         (org-export-page-keywords): New variables.
4120         (org-export-plist-vars): Add entries for :keywords and
4121         :description.
4122         (org-infile-export-plist): Parse for new keywords.
4123         (org-get-current-options): Add new keywords
4124         (org-export-as-html): Publish description and keywords.
4126         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4127         option.
4128         (org-agenda-add-entry-text): Honor
4129         `org-agenda-add-entry-text-descriptive-links'.
4131         * org-export-latex.el (org-export-latex-preprocess): Make all
4132         external preprocess functions use a PARAMETER arg.
4134         * org-exp.el (org-export-preprocess-string)
4135         (org-export-select-backend-specific-text)
4136         (org-export-format-source-code-or-example)
4137         (org-format-org-table-html): Support docbook export.
4138         (org-export-preprocess-string): Make all external preprocess
4139         functions use a PARAMETER arg.
4141 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4143         * org-exp.el (org-export-html-style-include-scripts): New option.
4144         (org-export-plist-vars): Add new option
4145         `org-export-html-style-include-scripts'.
4146         (org-export-as-html): Honor new option
4147         `org-export-html-style-include-scripts'.
4148         (org-export-html-scripts, org-export-html-style-default): Fix
4149         xml issues with the Safari browser.
4151 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4153         * org-publish.el (org-publish-attachment): Only copy file when the
4154         directories differ.
4156 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4158         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4159         for clocktable steps.
4161         * org.el (org-additional-option-like-keywords): Add two more
4162         keywords.
4164 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4166         * org-exp.el (org-export-format-source-code-or-example): Mark
4167         temporary buffer unmodified, so that it will be killed even if
4168         mode like message mode has decided to assign a file name.
4170         * org.el (org-scan-tags): Improve tag inheritance.
4171         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4172         case-sensitive.
4173         (org-scan-tags): Use the internal tags list instead of creating it
4174         from scratch.
4175         (org-trust-scanner-tags, org-scanner-tags): New variables.
4176         (org-scan-tags): Set `org-scanner-tags'.
4177         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4178         (org-map-entries): Document the possible speedup using scanner
4179         tags.
4181 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4183         * org.el (org-add-planning-info): Fix bug with looking for keyword
4184         only at column 0.
4186         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4187         option for tags filter preset.
4188         (org-prepare-agenda): Store filter preset as a property on the
4189         filter variable.
4190         (org-finalize-agenda): Call the filter, if there is a preset.
4191         (org-agenda-filter-by-tag): Filter again after clearing the
4192         filter, when there still is a preset.
4193         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4194         Include the preset filter.
4195         (org-agenda-redo): Apply the filter again, also the preset filter.
4197         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4199         * org.el (org-uuidgen-p): New funtion.
4201         * org-agenda.el (org-agenda-fontify-priorities): New default value
4202         `cookies'.
4203         (org-agenda-fontify-priorities): Renamed from
4204         org-fontify-priorities.
4206         * org.el (org-set-font-lock-defaults): Call
4207         `org-font-lock-add-priority-faces'.
4208         (org-font-lock-add-priority-faces): New function.
4210         * org-faces.el: (org-set-tag-faces): New option.
4211         (org-priority-faces): New variable.
4213         * org-exp.el (org-export-as-html): Add a "content" div around the
4214         entire content of the body tag.
4215         (org-export-html-get-bibliography): New function.
4216         (org-export-html-validation-link): New variable.
4217         (org-export-as-html): Add validation link to exported page.
4219         * org.el (org-match-sparse-tree): Renamed from
4220         `org-tags-sparse-tree'.
4221         (org-tags-sparse-tree): New alias.
4223 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4225         * org.el (org-get-valid-level): Catch the case where the level
4226         change is nil.
4228         * org-clock.el (org-clock-find-position): Better indentation of
4229         new clock drawers.
4231 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4233         * org-agenda.el (org-agenda-quit): Delete window only when the
4234         frame-setup was not `current-window'.
4236         * org.el (org-tag-persistent-alist): New option.
4237         (org-startup-options): Add keyword `noptag'.
4238         (org-fast-todo-selection): Handle :newline correctly.
4239         (org-set-tags): Handle :newline correctly.
4240         (org-fast-tag-selection): Handle :newline correctly.
4242 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4244         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4245         outputting it.
4246         (org-export-ascii-push-links): Fix bug with pussing links into the
4247         export buffer.
4249 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4251         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4252         pasting at top level.
4254         * org-bbdb.el: Improve documentation.
4256 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4258         * org-list.el (org-insert-item): Only consider insert empty lines
4259         is `org-empty-line-terminates-plain-lists' is not nil.
4261         * org.el (org-blank-before-new-entry): Mention the dependence on
4262         `org-empty-line-terminates-plain-lists' in the docstring.
4264         * org-publish.el (org-publish-get-project-from-filename): New
4265         optional argument UP.  Only find the top project if UP is set.
4266         (org-publish-current-project): Find the top encloding project.
4268         * org-agenda.el (org-agenda-before-write-hook)
4269         (org-agenda-add-entry-text-maxlines): New options.
4270         (org-write-agenda): Run the new hook in the temporary buffer.
4271         (org-agenda-add-entry-text): New function.
4272         (org-write-agenda): Implement PDF export, using ps2pdf.
4274         * org.el (org-global-properties-fixed, org-global-properties):
4275         Improve documentation string.
4277         * org-exp.el (org-export-ascii-links-to-notes): New option.
4278         (org-export-as-ascii): Handle links better.
4279         (org-export-ascii-wrap, org-export-ascii-push-links): New
4280         functions.
4282 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4284         * org-agenda.el (org-agenda): Make prefix arg optional.
4285         (org-agenda-search-headline-for-time): New option.
4286         (org-format-agenda-item): Honor
4287         `org-agenda-search-headline-for-time'.
4289         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4290         characters.
4292         * org.el (org-self-insert-cluster-for-undo): New option.
4293         (org-self-insert-command): Cluster undo for 20 characters.
4294         (org-self-insert-command-undo-counter): New variable.
4296 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4298         * org-exp.el (org-export-as-html): Fix problem with closing colone
4299         example.
4301 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4303         * org-export-latex.el (org-export-as-latex)
4304         (org-export-latex-first-lines): Avoid modification flag when
4305         adding or removing text properties.
4306         (org-export-latex-fontify): Catch error when org-emph-alist has
4307         entries that are not defined for LaTeX export.
4309         * org.el (orgstruct++-mode): New function.
4310         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4311         (org-context-p): Allow detecting item context after the first line
4312         of an item.
4313         (orgstruct-make-binding): Detect if item-body context should be
4314         seen.
4315         (orgstruct-is-++): New variable.
4316         (org-add-planning-info): Catch the case when there is no planning
4317         info yet and the call does not want to add anything, only maybe
4318         tries to remove something.
4319         (org-special-ctrl-a/e): All value to be a cons cell with separate
4320         settings for `C-a. and `C-e'.
4321         (org-beginning-of-line, org-end-of-line): Honor separate values
4322         for `C-a' and `C-e'.
4324 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4326         * org.el (org-reload): New command.
4328 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4330         * org-exp.el (org-export-htm-get-tag-class-name)
4331         (org-export-htm-get-todo-kwd-class-name): New functions.
4332         (org-export-html-tag-class-prefix)
4333         (org-export-html-todo-kwd-class-prefix): New options.
4334         (org-export-as-html): Call
4335         `org-export-html-get-todo-kwd-class-name'.
4336         (org-html-level-start): Wrap tags into classes.
4337         (org-export-html-get-tag-class-name)
4338         (org-export-html-get-todo-kwd-class-name): New functions.
4340         * org-export-latex.el (org-export-latex-collect-header-macros):
4341         Remove fields that are used anyway.
4342         (org-export-latex-make-header): Insert the options earlier.
4344         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4345         matching.
4347         * org-list.el (org-indent-item): Allow point to be at the end of
4348         the region.
4350         * org.el (org-metaleft, org-metaright): Be more accurate about
4351         detecting a region where commands apply.
4353         * org-compat.el (org-cursor-to-region-beginning): New function.
4355         * org.el (org-priority): Also find invisible heading.
4357         * org-colview-xemacs.el (org-columns-edit-value): No special
4358         treatment for `org-todo' prefix.
4360         * org-colview.el (org-columns-edit-value): No special treatment
4361         for `org-todo' prefix.
4363         * org-remember.el (org-remember-apply-template): Use
4364         `org-completing-read-no-ido'.
4366         * org.el (org-completing-read-no-ido): New function.
4367         (org-make-tags-matcher, org-set-property): Use
4368         `org-completing-read-no-ido'.
4370         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4371         New option.
4372         (org-export-as-latex): Import in-buffer settings as TeX macros.
4373         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4374         (org-export-latex-collect-header-macros): New function.
4376         * org.el (org-refile-get-location): Turn off
4377         `partial-completion-mode'.
4379 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4381         * org.el (org-block-todo-from-checkboxes): Announce that
4382         checkboxes are the culprit.
4383         (org-block-todo-from-children-or-siblings): Call
4384         `org-up-heading-all instead' of `outline-up-heading'.
4386         * org-agenda.el (org-agenda-show-1): Renamed from
4387         `org-agenda-show'.
4388         (org-agenda-show): Re-install the old version for now.
4389         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4390         variable into the blokker hook, so that the checkbox checker can
4391         anounce that it caused the blocking.
4393         * org.el (org-track-ordered-property-with-tag): New option.
4394         (org-toggle-ordered-property): Honor
4395         `org-track-ordered-property-with-tag'.
4396         (org-tag-alist): Add newline options.
4397         (org-set-regexps-and-options): Separate option lines imply a
4398         newline.
4399         (org-set-regexps-and-options, org-assign-fast-keys)
4400         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4401         option.
4402         (org-indent-line-function): Make sure this works even if there is
4403         not `org-drawer-regexp' defined.  This can happen when
4404         orgstruct-mode is used in a non-org buffer.
4406         * org-list.el (org-checkbox-blocked-p): New function.
4407         (org-toggle-checkbox): Check for blocking.
4409         * org.el (org-modules): Add an entry for org-R.el.
4411         * org-agenda.el (org-agenda-todo-ignore-with-date)
4412         (org-agenda-todo-ignore-scheduled)
4413         (org-agenda-todo-ignore-deadlines): Mention the variable
4414         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4416         * org.el (org-get-wdays): Find the warning period also if it is in
4417         the wrong place.
4418         (org-ido-completing-read): Provide the correct arguments to
4419         ido-completing-read and bind `ido-enter-matching-directory' to
4420         nil.
4422 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4424         * org.el (org-olpath-completing-read): Never use ido for this
4425         one.
4427         * org-exp.el (org-export-normalize-links): Use new macro.
4429         * org-macs.el (org-if-unprotected-at): New macro.
4431         * org-agenda.el (org-agenda-show): Allow numerical prefix
4432         arguments to specify how much context should be shown.
4433         (org-agenda-cycle-show): New command, could be bound to SPC in
4434         org-agenda-mode-map.
4436         * org-exp.el (org-html-level-start): Space after section number.
4438 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4440         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4441         property, for sorting.
4442         (org-cmp-todo-state): Get the applicable TODO keywords directly
4443         from the buffer.
4444         (org-run-agenda-series, org-agenda-list, org-search-view)
4445         (org-todo-list, org-tags-view): Only fit agenda window when the
4446         whole series is done.
4448         * org.el (org-scan-tags): Add todo state as property, for sorting.
4450         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4451         `org-agenda-overriding-header' as an option.
4452         (org-agenda-list): Honor org-agenda-overriding-header'.
4454 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4456         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4457         after removing a checkbox.
4459         * org.el (org-show-entry): Make this work correctly also if it is
4460         the last entry in the file.
4461         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4462         falling back to normal, default command.
4463         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4464         item, call the checkbox toggler to get a box.
4466         * org-list.el (org-toggle-checkbox): Make double prefix set the
4467         checkbox to "[-]".
4468         (org-fix-bullet-type): Only replace bullet if it is changed.
4469         (org-renumber-ordered-list): Handle case when first item does not
4470         have a number.
4472         * org.el (org-add-log-setup): Fix positioning when
4473         `org-log-states-order-reversed' is nil.
4475         * org-clock.el (org-clock-in): Fix positioning when
4476         `org-log-states-order-reversed' is nil.
4477         (org-clock-find-position): Fix positioning when
4478         `org-log-states-order-reversed' is nil.
4480 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4482         * org-clock.el (org-clock-into-drawer): Take default from
4483         `org-log-into-drawer'.
4484         (org-clock-find-position): Look for the correct drawer.
4486         * org.el (org-log-into-drawer): Renamed from
4487         `org-log-state-notes-into-drawer'.
4488         (org-log-state-notes-into-drawer): New variable alias.
4489         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4490         CLOCK.
4491         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4493 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4495         * org-agenda.el (org-agenda): Fix docstring.
4497         * org.el ("org-plot"): Help loading org-plot.
4498         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4499         (org-metadown-hook, org-shiftmetaleft-hook)
4500         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4501         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4502         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4503         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4504         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4506         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4507         for selecting files with any (and even without) extension.
4509         * org.el (org-save-all-org-buffers): Also save id locations.
4510         (org-revert-all-org-buffers): Also load id locations.
4512 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4513         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4514         (org-log-state-notes-into-drawer): New option.
4515         (org-add-log-setup): Place the sate note marker into the drawer,
4516         create drawer when necessary.
4517         (org-refile-targets): Document special interpretation of LEVEL
4518         when odd-levels are used.
4520 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4522         * org.el (org-store-log-note): Fix note indentation when adding
4523         notes to end of list.
4525         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4526         class, so that each keyword can get special colors through CSS.
4528         * org-clock.el (org-clock-out): Add another nil for the previous
4529         state into the call to `org-add-log-setup'.
4531         * org.el (org-log-note-previous-state): New variable.
4532         (org-log-note-headings): New %S escape for old state.
4533         (org-todo): Call the note setup with the old state as an
4534         argument.
4535         (org-add-note): Add another nil for the previous state into the
4536         call to `org-add-log-setup'.
4537         (org-add-log-setup): New argument PREV-STATE.
4538         (org-add-log-note): Handle new %S escape.
4539         (org-store-log-note): Handle new %S escape.
4541 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4543         * org-clock.el (org-clock-find-position): Do not swallow an item
4544         less indented than the CLOCK line itself.
4545         (org-clock-in): Push markers to lin after the clock line.
4546         (org-clock-find-position): Handle values of
4547         `org-clock-into-drawer' smaller than 2.
4549         * org-exp.el (org-html-level-start): Add a CSS class to section
4550         numbers.
4551         (org-export-html-toplevel-hlevel): Better documentation of the
4552         influence of this variables on H levels and css classes in
4553         export.
4555 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4557         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4558         timestamp and nottimestamp to the chooe menu.
4560         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4561         (org-revert-all-org-buffers): New command.
4563 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4565         * org.el (org-return): Implement `org-return-follows-link' in the
4566         function org-return.  This is more robust than using the mouse
4567         map, I think.
4568         (org-set-regexps-and-options): Match more general #+TODO lines.
4569         (org-make-options-regexp): New optional argument EXTRA, for an
4570         extra regexp.
4571         (org-tab-follows-link): Mark as deprecated.
4573 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4575         * org-exp.el (org-export-preprocess-string): Remove clock lines
4576         earlier, so that they cannot cotribute to verbatim snippets.
4578 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4580         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4581         for finding drawers.
4582         (org-export-as-ascii, org-export-as-html): Count levels relative
4583         to the subtree header.
4584         (org-get-min-level): New optional argument OFFSET.
4585         (org-export): Make sure point is restored after popping up that
4586         window.
4588         * org.el (org-do-sort): Also take an inactive timestamp if no
4589         active one is found.
4591         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4592         deleting duplicates.
4594         * org-colview.el (org-columns-capture-view): Copy before
4595         deleting duplicates.
4597         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4598         text before first headline.
4600         * org.el (org-format-latex): Do not convert LaTeX fragments in
4601         protected examples.
4603 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4605         * org-exp.el (org-export-html-style-default): Use color values
4606         instead of names for XHTML validation.
4608         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4609         functions.
4610         (org-return-follows-link): Revert making this the default untile
4611         issues are resolved.
4613         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4614         nottimestamp.
4616 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4618         * org.el (org-mode): Make dependence stuff work more reliably.
4619         (org-update-parent-todo-statistics): Fix bug with updating
4620         statistics cookie.
4622         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4623         ~ as verbatim delimiters.
4625         * org-exp.el (org-export-html-format-image): New argument
4626         PAR-OPEN.
4627         (org-export-as-html): Pass par-open to
4628         `org-export-html-format-image'.
4630 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4632         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4633         (org-use-fast-todo-selection, org-tags-column): New default
4634         setting for variables, based on a poll what typical uses use.
4636         * org-agenda.el (org-agenda-sorting-strategy)
4637         (org-agenda-tags-column): New default setting for variables, based
4638         on a poll what typical uses use.
4640 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4642         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4643         blocked entries from setting the blocked tag.
4645         * org-exp.el (org-export-html-footnotes-section): Use a more
4646         consistent id for footnotes.
4648         * org-export-latex.el (org-export-latex-classes): Remove the
4649         a4paper option from the default styles.
4651 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4653         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4654         (org-block-todo-from-checkboxes): New function.
4655         (org-todo): Make tripple prefix arg circumvent blocking.
4657         * org-timer.el (org-timer): Provide the timer feature.
4659         * org.el (org-require-autoloaded-modules): Add a few more files to
4660         the list of autoloaded modules.
4662         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4664 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4666         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4667         drawers that are unprotected.
4668         (org-export-html-format-image): Make sure inlined LaTeX fragment
4669         images remain inlined.
4671         * org.el (org-toggle-ordered-property): New function.
4672         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4673         (org-org-menu): Add menu entries for TODO dependencies.
4675 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4677         * org.el (org-default-properties): Add ORDERED to the default
4678         properties, to get completion support for it.
4680         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4682         * org.el (org-update-parent-todo-statistics): Update more than one
4683         cookie.
4685         * org-agenda.el (org-agenda-get-todos): Start search from correct
4686         position.
4688         * org.el (org-fast-todo-selection): Make sure TODO selection does
4689         not change buffer position.
4691         * org-list.el (org-toggle-checkbox): Implement adding or removing
4692         checkboxes from line or region when called with a prefix
4693         argument.
4695         * org-rmail.el (org-rmail-store-link): Protect the call to
4696         `rmail-narrow-to-non-pruned-header'.
4698         * org-clock.el (org-clock-special-range): Fix week display in
4699         clock tables.
4701         * org-exp.el (org-get-current-options): Fix bug when in indirect
4702         buffer.
4704 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4706         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4707         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4708         (org-agenda-dim-blocked-tasks): New function.
4710         * org.el (org-enforce-todo-dependencies): New option.
4711         (org-block-todo-from-children-or-siblings): New function.
4713         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4715         * org.el (org-todo): Return correct state type even if the blocker
4716         throws an error.
4717         (org-modifier-cursor-error): Renamed from
4718         `org-shiftcursor-error'.
4719         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4720         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4722         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4723         to get real errors from the blocker hook.
4725         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4726         functions.
4727         (org-set-visibility-according-to-property): Turn off the setting
4728         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4729         property.
4731 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4733         * org.el (org-support-shift-select): New option.
4734         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4735         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4736         selection outside contexts.
4738         * org-list.el (org-at-item-bullet-p): New function.
4740         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4741         variables.
4743         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4744         variable.
4745         (org-insert-footnote-reference-near-definition): Remove
4746         unnecessary let form.
4748         * org-export-latex.el (org-export-latex-first-lines): Add
4749         OPT-PLIST parameter.
4750         (org-export-as-latex): Call `org-export-latex-first-lines' with
4751         opt-plits parameter.
4752         (org-export-latex-preprocess): Remove unnecessary variables.
4754         * org-exp.el (org-infile-export-plist)
4755         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4756         (org-export-remove-headline-metadata)
4757         (org-export-get-title-from-subtree, org-get-min-level)
4758         (org-html-do-expand): Remove innecessary let form.
4760         * org-colview-xemacs.el (org-columns-display-here): Remove
4761         unnecessary variables.
4763         * org-colview.el (org-columns-display-here): Remove unnecessary
4764         variables.
4766         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4767         variables.
4769         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4770         unnecessary variables.
4772         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4773         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4774         variables.
4776         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4777         (org-compact-display-after-subtree-move): Remove unnecessary
4778         variables.
4779         (org-edit-fixed-width-region): Remove unnecessary variables.
4780         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4781         (org-olpath-completing-read): Remove unnecessary variable.
4782         (org-auto-repeat-maybe): Remove unnecessary variable.
4783         (org-map-entries): Remove unnecessary variable.
4784         (org-buffer-property-keys, org-imenu-get-tree)
4785         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4787 -----------------------------------------------------------------
4789 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4790         * org-exp.el (org-export-remove-timestamps): Never remove
4791         timestamps from tables.
4793         * org-export-latex.el (org-export-latex-first-lines): Add more
4794         options to the preprocessing of the text before the first
4795         headline.
4797 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4799         * org-faces.el (org-clock-overlay): Make face compatible with
4800         XEmacs.
4802         * org.el (org-yank): Add property for delete-selection mode.
4804         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4806         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4807         variable.
4809         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4810         to `backward-char'.
4812         * org-exp.el (org-export-as-html): Remove the initial space from
4813         colon examples.
4815         * org.el (org-scan-tags): Call
4816         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4818         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4819         customization groups.
4820         (org-agenda-tags-todo-honor-ignore-options): New option.
4821         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4822         New function.
4823         (org-agenda-get-todos): Use
4824         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4826 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4828         * org-exp.el (org-export-format-source-code-or-example): Escape
4829         HTML characters also in examples that anre not treated with
4830         htmlize.  Also, just switch to EXAMPLE processing if we do not
4831         have a good version of htmlize.
4833         * org-rmail.el: Fix copyright notice.
4835         * org.el (org-activate-footnote-links): Improve footnote link
4836         highlighting.
4838         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4839         a footnote definition at the end of the file.
4841         * org-table.el (org-table-get-specials): Add an imagined hline at
4842         the end of the table.  This can be useful for references that want
4843         to go to the end of the table.  Also fix bug when computing last
4844         row constants, in tables that do not start right at the right
4845         margin.
4846         (org-table-eval-formula): Match and replace remove references.
4847         (org-table-formula-substitute-names): Make sure that names inside
4848         a "remote" call are left alone, the will be replaced later when
4849         the remote call is handled.
4850         (org-table-convert-refs-to-rc): Do not convert things that might
4851         look like a reference, but are really part of an ID or namei n a
4852         remote reference.
4853         (org-table-get-remote-range): New function.
4855 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4857         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4859         * org-clock.el (org-clock-put-overlay): Use new face instead of
4860         `secondary-selection'.
4862         * org-faces.el (org-clock-overlay): New face.
4864 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4866         * org-exp.el (org-get-current-options): Include the option for
4867         publishing time stamps.
4869         * org.el (org-toggle-heading): Renamed from
4870         `org-toggel-region-headings'.
4871         No longer needs a region defined, but will use it if there is one.
4872         (org-ctrl-c-star): Simplified, relying more on the internal
4873         workings of `org-toggle-heading'.
4874         (org-toggle-item): Renamed from `org-toggle-region-items'.
4875         No longer needs a region defined, but will use it if there is one.
4876         (org-ctrl-c-minus): Simplified, relying more on the inernal
4877         workings of `org-toggle-item'.
4879         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4880         environment detection.  Also, do real changes only in unprotected
4881         places.
4883 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4885         * org-export-latex.el (org-export-latex-quotation-marks): Use
4886         `org-if-unprotected-1'.
4887         (org-export-latex-set-initial-vars): Check for class definition in
4888         property.
4890         * org-macs.el (org-if-unprotected-1): New macro.
4892 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4894         * org-compat.el (org-count-lines): New function.
4896         * org-exp.el (org-export-format-source-code-or-example): Handle
4897         switches related to text areas.
4899         * org.el (org-activate-footnote-links): Don't allow match inside a
4900         link.
4902         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4904         * org-export-latex.el (org-export-latex-links): Keep a relative
4905         path relative also after export.
4907         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4909         * org.el (org-make-tags-matcher): Never use IDO for completing the
4910         tags matcher match string.
4911         (org-completing-read): Also remove the special biding for "?".
4913         * org-attach.el (org-attach-allow-inheritance): New option.
4914         (org-attach-inherited): New variable.
4915         (org-attach-dir): Handle properties related to the attachment
4916         directory.
4917         (org-attach-check-absolute-path): New function.
4918         (org-attach-set-directory, org-attach-set-inherit): New commands.
4919         (org-attach): Accommodate the new commands in the dispatcher.
4921 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4923         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4924         `window-full-width-p'.
4926         * org-exp.el (org-export-as-html): Only check for images files
4927         that really can be inlined
4929         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4930         list of extensions to be a parameter.
4932         * org-exp.el (org-export-html-inline-image-extensions): New
4933         variable.
4935         * org-agenda.el (org-prepare-agenda): Use
4936         `org-agenda-block-separator'.
4937         (org-agenda-block-separator): New option.
4939 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4941         * org-export-latex.el (org-export-latex-tables): Call
4942         `org-table-clean-before-export' with the new optional argument.
4944         * org-exp.el (org-table-clean-before-export): New optional
4945         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4946         first column.
4948 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4950         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4951         histograms.
4953         * org-colview.el (org-colview-construct-allowed-dates): Better
4954         error catching when a date/time property does not have allowed
4955         values defined.
4957         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4958         Better error catching when a date/time property does not have
4959         allowed values defined.
4961 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4963         * org.el (org-map-entries): Restore point and restriction after
4964         `org-map-entries'.
4966 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4968         * org.el (org-time=, org-time<, org-time<=, org-time>)
4969         (org-time>=, org-time<>): Make sure both values are dates.
4971 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4973         * org-archive.el (org-extract-archive-heading): Allow %s for file
4974         name also in achive location heading.
4976 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4978         * org-archive.el (org-add-archive-files): Uniquify the list before
4979         returning it.
4981 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4983         * org-compat.el (org-fit-window-to-buffer): Use
4984         `window-full-width-p'.
4986         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4987         space after the colon in short examples.
4989         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4990         enforce a space after the colon.  However, we also allow lines
4991         that are *only* a colon.
4992         (org-export-as-html): Enforce the space after the colon in short
4993         examples.
4994         (org-export-preprocess-string): Do the colon example protection
4995         earlier.
4996         (org-export-remove-timestamps): Do not check for protection at the
4997         end of the line.
4999 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5001         * org.el (org-format-latex-options): Add new matcher for single
5002         letters between dollars.
5003         (org-get-header): Function removed.
5004         (org-heading-components): New function.
5006         * org-exp.el (org-export-define-heading-targets): Record ID's also
5007         as alternative targets.
5008         (org-export-as-html): Interpret "id:" links to other files by
5009         preserving the relative path.
5011         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5012         is nil.
5014         * org-exp.el (org-export-normalize-links): Protect the main link,
5015         to avoid special character processing.
5017         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5018         New variable.
5019         (org-export-latex-special-string-regexps): Variable removed.
5020         (org-export-latex-keywords): Use the new regexp.
5022         * org-exp.el (org-export-handle-include-files): Fetch switches and
5023         put them into the BEGIN statement.
5025         * org-timer.el (org-timer-mode-line-string): New variable.
5027         * org-clock.el (org-clock-mode-line-map): Renamed from
5028         `org-clock-mode-map'.
5029         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5030         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5031         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5032         (org-clock-remove-overlays): Renamed from
5033         `org-remove-clock-overlays'.
5035         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5036         and mode line display.
5037         (org-timer-stop): New command.
5038         (org-timer-seconds): Return correct time when timer is paused.
5039         (org-timer-mode-line-timer): New variable.
5040         (org-timer-set-mode-line, org-timer-update-mode-line): New
5041         functions.
5043         * org.el (org-insert-heading):  Handle new value `auto' for
5044         `org-blank-before-new-entry'.
5045         (org-org-menu): Add new items for timer functions.
5047         * org-list.el (org-insert-item): Handle new value `auto' for
5048         `org-blank-before-new-entry'.
5050         * org.el (org-blank-before-new-entry): New value `auto', made
5051         default.
5053 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5055         * org-exp.el (org-export-normalize-links): If the link is also
5056         used as the description, protect the description.
5058 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5060         * org.el (org-closest-date): Fix bug with yearly repeats, in
5061         combination with preference of the past as it is used for deadline
5062         and scheduling search.
5064         * org-exp.el (org-html-handle-time-stamps): No longer check for
5065         the `org-export-with-timestamps' option, because the preprocesser
5066         has taken care of this already.
5068         * org.el (org-entry-properties): Catch the case when this is
5069         called in a non-org-mode file.
5071         * org-export-latex.el (org-export-latex-remove-from-headlines):
5072         Variable made obsolete, also LaTeX export now uses the standard
5073         variables.
5074         (org-export-as-latex): Add the timestamps parameter to the
5075         preprocessor parameter list.
5076         (org-export-latex-content): Export the remaining keywords without
5077         considering to remove them.
5078         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5079         Use bold font instead of tt font for the keywords.
5080         (org-export-latex-fontify-headline): Format headlines, assuming
5081         that all keywords still present should be published.
5082         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5083         publish what ever remains of the time stamps.
5084         (org-export-latex-list-parameters): New option.
5085         (org-export-latex-lists): Pass additional parameters to the list
5086         converter.
5088         * org-exp.el (org-export-preprocess-string): Remove clock lines
5089         and timestamps already in the preprocesor.
5090         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5091         functions.
5092         (org-export-as-ascii, org-export-as-html): Add the timestamps
5093         parameter to the preprocessor parameter list.
5095         * org-list.el (org-list-parse-list): Parse for checkboxes.
5096         (org-list-to-generic): Introduce and handle new parameters :cbon
5097         and :cboff.
5098         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5099         optional parameter PARAMS.
5101         * org-export-latex.el (org-export-latex-special-chars): Fix
5102         problems with interpreting dollar signs.
5103         (org-inside-latex-math-p): New function.
5104         (org-export-latex-preprocess): Protect all the math fragments.
5106         * org.el (org-latex-regexps): Allow a dash after a dollar.
5108         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5109         mark after copying.
5111         * org-agenda.el (org-run-agenda-series): Have series options set
5112         when finalizing the agenda.
5114         * org-exp.el (org-export-format-source-code-or-example): Protect
5115         the converted examples.
5117         * org.el (org-set-regexps-and-options): Fix the regexp
5118         `org-complex-heading-regexp'.
5120 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5122         * org.el (org-edit-src-get-label-format): New function.
5123         (org-coderef-label-format): New option.
5124         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5125         a label format specification and make sure it is used in the edit
5126         buffer.
5127         (org-edit-src-get-label-format): New function.
5128         (org-store-link): Handle new coderef formats.
5129         (org-link-search): Handle new coderef formats.
5131         * org-footnote.el (org-footnote-create-definition)
5132         (org-footnote-goto-local-insertion-point): Make footnote insertion
5133         work correctly when the "Footnotes" headline is the last line in
5134         the buffer.
5136         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5137         the location.
5139 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5141         * org-w3m.el (org-w3m): New customization group.
5142         (org-w3m-deactivate-mark): New option.
5143         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5144         option say not to.
5146 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5148         * org.el (org-set-font-lock-defaults): Trigger footnote
5149         fontification.
5150         (org-activate-footnote-links): New function.
5151         (org-activate-links): New entry `footnote'.
5153         * org-faces.el (org-footnote): New face.
5155 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5157         * org-macs.el (org-re): Handle the [:word:] class.
5159         * org-exp.el (org-export-preprocess-string): Call
5160         `org-export-protect-colon-examples'.
5161         (org-export-protect-colon-examples): Renamed from
5162         `org-export-protect-examples', and scope limited to lines starting
5163         with a colon.
5165 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5167         * org-exp.el (org-export-preprocess-string): Move the preprocess
5168         hook to after turning on Org-mode.
5169         (org-export-preprocess-after-include-files-hook)
5170         (org-export-preprocess-after-tree-selection-hook)
5171         (org-export-preprocess-before-backend-specifics-hook)
5172         (org-export-preprocess-final-hook): New hooks.
5173         (org-export-preprocess-string): Run the new hooks.
5175         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5177         * org-footnote.el: New file.
5179         * org.el (org-footnote): Require footnote code.
5180         (org-startup-options): Add new footnote options.
5181         (org-mode-map): New keybindig for footnotes.
5182         (org-ctrl-c-ctrl-c): Add function at footnotes.
5183         (org-org-menu): New menu entries for footnotes.
5185         * org-export-latex.el (org-export-as-latex): Pass footnote
5186         variable to preprocessor.
5187         (org-export-latex-preprocess): Treat multiple references to a
5188         footnote.
5190         * org-exp.el (org-export-preprocess-string): Call
5191         `org-footnote-normalize'.
5192         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5193         to preprocessor.
5194         (org-export-as-html): Treat multiple references to a footnote.
5196 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5198         * org-export-latex.el (org-export-latex-links): Handle coderef
5199         links.
5201         * org.el (org-bracket-link-analytic-regexp++): New variable.
5202         (org-make-link-regexps): Initialize
5203         `org-bracket-link-analytic-regexp++'.
5204         (org-store-link): Implement special case in edit-src buffer.
5205         (org-insert-link): No use of ide to insert stored links.
5206         (org-link-search): Implement special case for coderefs.
5208         * org-exp.el (org-export-html-scripts): New constant.
5209         (org-export-html-style-default): Add a new style for highlighted
5210         code.
5211         (org-export-code-refs): New variable.
5212         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5213         Call `org-export-replace-src-segments-and-examples'
5214         No longer call `org-export-protect-examples'.
5215         (org-export-target-internal-links): Take care of coderef targets.
5216         (org-export-last-code-line-counter-value): New variable.
5217         (org-export-replace-src-segments-and-examples): Renamed from
5218         `org-export-replace-src-segments', and modified.
5219         (org-export-format-source-code-or-example): Renamed from
5220         `org-export-format-source-code'.
5221         (org-export-number-lines): New function.
5222         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5224 --------------------------------------------------------------------------
5226 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5228         * org-remember.el (org-remember-handler): Safer way to get a new
5229         buffer accessing the target file.
5231         * org.el (org-refile-get-location): Handle case of current buffer
5232         not having a file associated with it.
5234 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5236         * org-table.el (org-table-get-formula): Only ask to overwrite
5237         field formula if there really is one.
5239         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5240         number, by converting these to a string.
5242         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5243         located in a different file.
5245         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5246         org-colview.el.
5248 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5250         * org.el (org-completion-use-ido): Enhance docstring of
5251         `org-completion-use-ido'.
5253         * org-export-latex.el (org-export-latex-make-header): Double the %
5254         in the time stamp format.
5255         (org-export-latex-special-chars): Handle case where there is no
5256         match group 3.
5258 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5260         * org.el (org-get-refile-targets, org-refile-get-location): Use
5261         expanded file name to improve comparison.
5263 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5265         * org.el (org-scan-tags): Rescan for tags, to get the correct
5266         upcase/downcase stuff.  This slows things down for now, but it
5267         works.
5268         (org-mode): Make sure the tag-faces regexp is initialized.
5270         * org-export-latex.el (org-export-latex-links): Fix bug with
5271         undefined label.
5273         * org-table.el (org-table-get-specials): Set
5274         `org-table-current-last-data-line'.
5275         (org-table-current-last-data-line): New variable.
5276         (org-table-insert-column, org-table-delete-column)
5277         (org-table-move-column, org-table-fix-formulas): Call
5278         `org-table-fix-formulas' a second time to fix the $LR references.
5279         (org-table-get-specials): Add the $LR references to the tables.
5280         (org-table-get-formula): Do not offer last-row names as LHS of
5281         formulas.
5283         * org.el (org-store-link): Capture link description from
5284         `org-id-store-link'.
5286         * org-exp.el (org-export-html-format-image): Add the / to the end
5287         of the <img> tag.
5288         (org-export-format-source-code): Surround example by empty lines,
5289         to make sure it will not be inside a paragraph.
5291         * org.el (org-ido-switchb): New function.
5293 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5295         * org-agenda.el (org-agenda-show): New prefix argument
5296         FULL-ENTRY.
5298         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5299         argument.
5301         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5302         `org-agenda-change-all-lines'.
5303         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5304         tags are now retrieved locally.
5306 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5308         * org.el (org-get-outline-path): Fix bug if level is not given.
5309         (org-org-menu): Do not quote function in menu vector.
5311         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5312         name.
5314 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5316         * org.el (org-refile): Avoid refiling to within the region to be
5317         refiled.
5319         * org-export-latex.el (org-export-latex-special-chars): Replace
5320         special characters also in tables.
5322         * org-agenda.el (org-agenda-change-all-lines): New argument
5323         FORCE-TAGS.
5324         (org-agenda-set-tags): Cet the new tags and pass them to
5325         `org-format-agenda-item'.
5327 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5329         * org-export-latex.el (org-export-latex-classes): Add longable as
5330         a default package to all classes.
5331         (org-export-latex-tables): Handle the longtable attribute and the
5332         align attribute.
5334         * org-table.el (orgtbl-to-generic): Handle tables that start with
5335         a hline.
5337         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5338         \verb for colde-like snippets.
5339         (org-export-as-latex): Fix issues with region export.
5341         * org.el (org-up-heading-safe): Speed up function by using a
5342         direct regexp search.
5343         (org-olpa): New variable.
5344         (org-get-outline-path): Speed-up path constructions in cases where
5345         this is possible because the entire hierarchy is scanned anyway.
5346         (org-refile-get-location): Don't compare the truenames of files,
5347         this is too slow.
5348         (org-goto-max-level): New option.
5349         (org-goto): Use `org-goto-max-level'.
5351 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5353         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5354         Strip angle brackets from message-ids in the former and don't do
5355         it in the latter.
5356         (org-gnus-follow-link): Open summary reliable, even if the last
5357         messages were deleted, and handle empty groups, too.
5359 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5361         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5362         instead of \texttt for the =...= and ~===~ emphasis environments.
5363         (org-export-as-latex): Remove any old :org-license-to-kill text
5364         properties.
5365         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5366         (org-export-latex-make-header): Add some hard space after the
5367         table of contents.
5368         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5369         exported text so that it will be excuded in further steps.
5371         * org-table.el (org-table-get-specials): Make @0 reference the
5372         last line in a table.
5373         (org-table-recalculate): Improve docstring.
5375 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5377         * org.el (org-log-done): Fix docstring.
5379 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5381         * org-exp.el (org-export-html-format-image): Fix bugs.
5383         * org-export-latex.el (org-export-latex-tables)
5384         (org-export-latex-links): Implement attribute, label, and caption
5385         handling.
5387         * org-exp.el (org-export-html-style-default): Add style
5388         definitions for the figure div.
5389         (org-export-preprocess-string, org-export-as-html): Implement
5390         attribute, label, and caption handling.
5391         (org-export-attach-captions-and-attributes): New function.
5392         (org-export-html-format-image): New function.
5393         (org-format-org-table-html): Implement attribute, label, and
5394         caption handling.
5396         * org.el (org-find-text-property-in-string): New function.
5397         (org-extract-attributes): Use the property org-attr instead of
5398         org-attrobutes, because this property is now set with the #+ATTR
5399         lines.
5401 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5403         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5404         the case that FROM is nil.
5406         * org.el (org-before-first-heading-p): New function.
5408 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5410         * org-exp.el (org-export-as-html): Do not add a space before
5411         enforces line breaks.
5412         (org-export-as-html): Close paragraph before blockquote and verse
5413         tags.
5415 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5417         * org-id.el (org-id-locations-file): Wrap file name with
5418         `convert-standard-filename'.
5419         (org-id-files): New variable.
5420         (org-id-use-hash): New option.
5421         (org-id-update-id-locations): Also search in all files current
5422         listed in `org-id-files'.  Convert the resulting alist to a hash
5423         if the user customation says so.
5424         (org-id-locations-save): Handle he case if `org-id-locations' is a
5425         hash.
5426         (org-id-locations-load): Convert the alist to a hash.
5427         (org-id-add-location): Handle the hast case.
5428         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5429         exited.
5430         (org-id-hash-to-alist, org-id-alist-to-hash)
5431         (org-id-paste-tracker): New functions.
5433 -------------------------------------------------------------------------
5435 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5437         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5438         bindings of calendar variables.
5440         * org-table.el (org-table-find-row-type): Renamed from
5441         `org-find-row-type'.
5442         (org-table-rewrite-old-row-references): Renamed from
5443         `org-rewrite-old-row-references'.
5444         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5445         (org-table-cleanup-narrow-column-properties): Renamed from
5446         `org-cleanup-narrow-column-properties'.
5448 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5450         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5451         for better error messages.
5452         (org-table-get-descriptor-line): Supply the new arguments to
5453         `org-find-row-type'.
5454         (org-table-error-on-row-ref-crossing-hline): New option.
5456         * org.el (org-target-link-regexp): Make buffer-local.
5457         (org-move-subtree-down): Fix bug with trees at beginning of
5458         buffer.
5460 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5462         * org-faces.el (org-set-tag-faces): New function.
5463         (org-tags-special-faces-re): New variable.
5465         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5467         * org-faces.el (org-tag-faces): New option.
5468         (org-tag): Mention `org-tag-faces' in the docstring.
5470 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5472         * org-exp.el (org-export-html-style-default): Implement new
5473         quoting.
5475         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5477         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5478         command to the `w3m-minor-mode-map'.
5480         * org-archive.el (org-archive-to-archive-sibling): Protect
5481         `this-command' to avoid appending kills during archiving.
5483         * org-exp.el (org-export-with-priority): New variable.
5484         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5485         instead of internal list of strings and properties.
5486         (org-print-icalendar-entries): Retrieve the location property with
5487         inheritance.
5489 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5491         * org-exp.el (org-export-with-todo-keywords): New option.
5492         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5493         line.
5494         (org-default-export-plist, org-export-add-options-to-plist)
5495         (org-export-as-ascii, org-export-as-html): Use the new structure
5496         of `org-export-plist-vars'.
5498         * org.el (org-map-entries): Return all values.
5500 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5502         * org.el (org-matcher-time): Recognize more special values.
5504         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5506 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5508         * org.el (org-tags-exclude-from-inheritance): New option.
5509         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5510         `org-tags-exclude-from-inheritance'.
5512         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5513         (org-format-agenda-item): Add inherited tags to the agenda line
5514         string, and make sure that properties are kept when downcasing the
5515         tags list.
5516         (org-agenda-add-inherited-tags): New function.
5517         (org-downcase-keep-props): New function.
5519         * org.el (org-scan-tags): Mark inherited tags with a text
5520         property.
5521         (org-get-tags-at): Mark inherited tags with a text property.
5522         (org-add-prop-inherited): New function.
5524         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5525         (org-agenda-show-inherited-tags): New option.
5527 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5529         * org.el (org-modules): Add org-w3m to the default modules.
5531         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5532         orgtbl-mode.
5533         (orgtabl-create-or-convert-from-region): New command.
5535         * org-exp.el (org-export-as-ascii): Remove the handling of
5536         targets.
5537         (org-export-ascii-preprocess): Handle targets already in this
5538         function.
5540 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5542         * org-timer.el (org-timer-start-time): Define this variable.
5543         (org-timer-item): Make argument optional.
5545         * org-list.el (org-insert-item): Automatically insert a timer item
5546         if the current list is a timer list.
5548         * org-timer.el: New file.
5550         * org-publish.el (org-publish-org-index): Only exclude the index
5551         file in the main directory from being added to the site-map.
5552         (org-publish-get-project-from-filename): If the current project is
5553         a component, start publishing from the parent project.
5555 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5557         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5559         * org-publish.el (org-publish-org-index): Improve removal of
5560         temporary buffers.
5562         * org-agenda.el (org-get-closed): Re-apply changes
5563         accidentially overwritten by last commit to Emacs.
5565         * org.el (org-outline-path-complete-in-steps): New option.
5566         (org-refile-get-location): Honor
5567         `org-outline-path-complete-in-steps'.
5568         (org-agenda-change-all-lines, org-tags-sparse-tree)
5569         (org-time-string-to-absolute, org-small-year-to-year)
5570         (org-link-escape): Re-apply changes accidentially overwritten
5571         by last commit to Emacs
5573 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5575         * org-clock.el (org-dblock-write:clocktable): Make sure the
5576         clocktable sees the first line.
5577         (org-clock-in): Warn if the clock cannot be resumed.
5579 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5581         * org.el (org-open-at-point): Fix mixup about interactive and
5582         non-interactive elisp links.
5584 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5586         * org-exp.el (org-export-preprocess-string): Allow one comment
5587         line before the first headline to always be included.  This is
5588         to not miss a commented target.
5590         * org-mouse.el (org-mouse-insert-item): Call
5591         `org-indent-to-column' instead of `indent-to', for XEmacs
5592         compatibility.
5594         * org.el (org-refile-targets): Fix customize definition so
5595         that it works also in XEmacs.
5596         (org-fixup-indentation): Call `org-indent-to-column' instead
5597         of `indent-to', for XEmacs compatibility.
5599 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5601         * org-mew.el (org-mew-store-link): Get the correct case folder
5602         for refiled messages.
5604 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5606         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5607         line break indicators.
5609         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5610         ido-completion propts.
5612 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5614         * org-remember.el (org-remember-apply-template): Use
5615         `org-substring-no-properties'.
5617         * org-compat.el (org-substring-no-properties): New function.
5619         * org-remember.el (org-remember-apply-template): Use
5620         `org-substring-no-properties' for compatibility.
5622         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5623         option.
5624         (org-fix-bullet-type): respect
5625         `org-list-two-spaces-after-bullet-regexp'.
5627         * org-clock.el (org-clock-load): Clean up the code.
5629         * org.el (org-adaptive-fill-function): Allow two spaces after
5630         "1." as a list bullet.
5632 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5634         * org-clock.el (org-clock-save, org-clock-load): Check for
5635         live buffers, existing files, and buffer file names to ensure
5636         consistent information.
5637         (org-clock-persist): Make `clock' a special value of this
5638         variable, and improve docstring.
5640         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5641         (org-get-string-indentation): Adapt indentation when the bullet
5642         width changes.
5644 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5646         * org-remember.el (org-remember-finalize): Make interactive.
5647         (org-remember-kill): New command.
5648         (org-remember-finish-immediately): Call `org-remember-finalize'
5649         directly.
5650         (org-remember-finalize): Make `org-remember-finalize' an interactive
5651         function.
5653 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5655         * org-remember.el (org-remember-apply-template): No ido completion
5656         for free prompts in remember templates.
5657         (org-remember-before-finalize-hook): New hook.
5658         (org-remember-mode): New minor mode.
5659         (org-remember-apply-template): Turn on `org-remember-mode'.
5661         * org-id.el (org-id-add-location): Avoid error when no file is
5662         given.
5664         * org-remember.el (org-remember-apply-template): Fix the way how
5665         the list of allowed properties is retrieved from the target file.
5667         * org.el (org-insert-link): Improve file link matching.
5669 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5671         * org-colview.el (org-columns-display-here): New argument
5672         DATELINE, to trigger using the new face.
5673         (org-agenda-colview-summarize): Call `org-columns-display-here'
5674         with the new argument.
5676         * org-faces.el (org-agenda-column-dateline): New face.
5678         * org-publish.el (org-publish-org-index): Use index-title at page
5679         title, not as section.
5681         * org-exp.el (org-export-html-format-desc): Respect the
5682         org-protect property.
5683         (org-export-as-html): Protect image specifiers that are in the
5684         description part of a link.
5686         * org.el (org-sort-entries-or-items, org-completing-read)
5687         (org-refile-get-location, org-olpath-completing-read, org-todo)
5688         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5689         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5690         (org-set-property, org-delete-property)
5691         (org-delete-property-globally): Use `org-ido-completing-read'.
5693         * org-remember.el (org-remember-apply-template): Use
5694         `org-ido-completing-read'.
5696         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5698         * org-colview.el (org-columns-edit-value, org-columns-new)
5699         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5701         * org-colview-xemacs.el (org-columns-edit-value)
5702         (org-columns-new, org-insert-columns-dblock): Use
5703         `org-ido-completing-read'.
5705         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5706         `org-ido-completing-read'.
5708         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5709         `org-ido-completing-read'.
5711         * org.el (org-time-today): New function.
5712         (org-matcher-time): Use `org-time-today'.  Add special treatment
5713         for "<tomorrow>" and "<yesterday>".
5714         (org-ido-completing-read): New function.
5715         (org-completion-use-ido): New option.
5717         * org-exp.el (org-export-format-source-code): Fix bug in require
5718         htmlize code.
5719         (org-export-target-internal-links): Fix bug in search for text
5720         property.
5722 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5724         * org-export-latex.el (org-export-latex-subcontent): Interprete
5725         target aliases as additonal labels.
5727         * org-exp.el (org-export-target-aliases): New variable.
5728         (org-export-preprocess-string)
5729         (org-export-handle-invisible-targets): Fill the alias alist.
5730         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5731         assign an id.
5732         (org-html-level-start): Insert the target aliases as additonal
5733         anchors.
5735         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5736         picture area.
5738 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5740         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5741         when following a link with the mouse from the agenda.
5743         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5744         headlines are created.
5746 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5748         * org-exp.el (org-export-preprocess-string): Reorder so that we
5749         can still see ID properties when we collect targets.
5750         (org-export-target-internal-links): Also store targets for ID's.
5752         * org.el (org-link-translation-function): New option.
5753         (org-open-at-point): Call `org-link-translation-function' if
5754         non-nil.
5755         (org-translate-link): New function.
5756         (org-translate-link-from-planner): New function.
5757         (org-open-at-point): Allow interactive commands in elisp links.
5759         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5760         iCalendar quoting.  The new one seems to caus problems with
5761         applications.
5763         * org.el (org-yank): Set `this-command' to `yank', so that
5764         `yank-pop' will work.
5766 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5768         * org-id.el (org-id-search-archives): New option.
5770         * org.el (org-link-to-org-use-id): New option.
5771         (org-store-link): Use `org-link-to-org-use-id'.
5772         (org-id): Make org-id.el a standard component.
5774 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5776         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5777         hexified version of the tag.
5779         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5780         compliance as far as quoting is concerned.
5782         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5784         * org.el (org-up-heading-safe, org-forward-same-level): Always
5785         call `org-back-to-heading' instead of `outline-back-to-heading'.
5786         (org-back-to-heading): New wrapper around outline-back-to-heading,
5787         with a useful error message telling where the error happened.
5789         * org-list.el (org-update-checkbox-count): Always call
5790         `org-back-to-heading' instead of `outline-back-to-heading'.
5792         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5793         has an `alt' attribute, to ensure XHTML validation.
5795 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5797         * org-publish.el (org-publish-attachment): Allow publishing to
5798         overwrite attachment files.
5800         * org-agenda.el (org-agenda-timerange-leaders): New option.
5801         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5803         * org.el (org-edit-src-exit): Untabify ASCII image before
5804         returning.
5817 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5819         * org.el (org-yank): Make any prefix force normal yanking.
5820         Suppress folding if text would be swallowed into a folded
5821         subtree.
5822         (org-yank-folded-subtrees, org-yank): Docstring updates.
5824         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5825         defined as 0.
5827         * org-exp.el (org-export-language-setup): Add Catalan and
5828         Esperanto language entries.
5830 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5832         * org.el (org-refile): Allow refiling of entire regions.
5834         * org-clock.el (org-clock-time%): New function.
5836         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5837         retrieve property values.
5839 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5841         * org-agenda.el (org-agenda-list): Handle the value `only' of
5842         org-agenda-show-log'.
5843         (org-agenda-log-mode): Interpret a double prefix arg.
5845 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5847         * org-exp.el (org-export-html-footnotes-section): New variable.
5848         (org-export-as-html): Use `org-export-html-footnotes-section' to
5849         insert the footnotes.
5850         (org-export-language-setup): Add "Footnotes" to language words.
5852 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5854         * org.el (org-yank): Fix bug when not inserting a subtree.
5856 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5858         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5859         instead of `vm-beginning-of-message'.
5861         * org.el (org-make-link-regexps): Make sure that links to gnus can
5862         contain brackets.
5864 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5866         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5867         code.
5869         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5870         shell output.
5872         * org.el (org-link-abbrev-alist): Improve customization type.
5874         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5875         functions.
5877         * org-agenda.el (org-agenda-get-progress): Renamed from
5878         `org-get-closed'.  Implement searching for state changes as well.
5879         (org-agenda-log-mode-items): New option.
5880         (org-agenda-log-mode): New option prefix argument, interpreted as
5881         request to show all possible progress info.
5882         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5883         `org-get-closed'.
5884         (org-agenda-set-mode-name): Handle the more complex log mode
5885         settings.
5886         (org-get-closed): New alias, pointing to `org-get-progress'.
5888 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5890         * org.el (org-file-apps-defaults-gnu)
5891         (org-file-apps-defaults-macosx)
5892         (org-file-apps-defaults-windowsnt): Add an entry defining the
5893         system command.
5894         (org-file-apps): Allow `system' as key and value.
5895         (org-open-at-point): Explain the effect of a double prefix arg.
5896         (org-open-file): If the argument `in-emacs' is (16),
5897         i.e. corresponding to a double prefix argument, try to open the
5898         file externally.
5900 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5902         * org.el (org-insert-link): Abbreviate absolute files names in
5903         links.  Also, fix a bug in which the double C-u prefix would not
5904         be honored.
5906 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5908         * org.el (org-insert-heading): If buffer does not end with a
5909         newline, add one if necessary to insert headline correctly.
5911         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5912         paragraphs, not inside.
5914         * org.el (org-todo): Quote
5915         `org-agenda-headline-snapshot-before-repeat'.
5917         * org-exp.el (org-export-as-html): Fully process link descriptions.
5918         (org-export-html-format-desc): New function.
5919         (org-export-as-html): Collect footnotes into the correct basket.
5920         (org-html-protect): No longer protect quotations marks here, this
5921         goes wrong.
5923         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5924         BEG.
5926         * org-compat.el (org-fit-window-to-buffer): New function (not
5927         really, a preliminary and incomplete version was present earlier,
5928         but not used).
5930         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5931         `org-fit-window-to-buffer'.
5933         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5935         * org-agenda.el (org-agenda-get-restriction-and-command)
5936         (org-fit-agenda-window, org-agenda-convert-date): Use
5937         `org-fit-window-to-buffer'.
5939         * org-exp.el (org-export-as-html): Process href links through
5940         `org-export-html-format-href'.
5941         (org-export-html-format-href): New function.
5943         * org-agenda.el (org-agenda-todo): Update only the current
5944         headline if this is a repeated TODO, marked done for today.
5945         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5946         only the current line.
5948         * org.el (org-todo): Take a snapshot of the headline if the
5949         repeater might change it.
5951 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5953         * org-publish.el (org-publish-find-title): Remove buffers visited
5954         only for extracting the title.
5956         * org-exp.el (org-export-html-style)
5957         (org-export-html-style-default): Mark style definitions as
5958         unparsed CDATA.
5960         * org-publish.el (org-publish-validate-link): Function
5961         re-introduced.
5963 2008-11-02  Charles Sebold  <csebold@gmail.com>
5965         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5966         property.
5967         (org-plot-quote-timestamp-field): New function.
5968         (org-plot-quote-tsv-field): Call timestamp field function when
5969         necessary rather than just quoting as a string.
5970         (org-plot/gnuplot-to-data): Pass in timefmt property.
5971         (org-plot/gnuplot-script): Supports timefmt property.
5972         (org-plot/gnuplot): Checks for timestamp column before checking
5973         for text index column.
5975 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5977         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5979         * org-publish.el (org-publish-org-index): Create a section in the
5980         index file.
5981         (org-publish-org-index): Stop linking to directories.
5983         * org.el (org-emphasis-alist): Use span instead of <u> to
5984         underline text.
5986         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5987         <pre> sections.
5989 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5991         * org-jsinfo.el (org-infojs-template): Remove language attribute
5992         from script tag.
5994 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5996         * org-agenda.el (org-agenda-remove-marked-text): New function.
5997         (org-agenda-mark-filtered-text)
5998         (org-agenda-unmark-filtered-text): New functions.
5999         (org-write-agenda): Remove fltered text.
6001         * org.el (org-make-tags-matcher): Give access to TODO "property"
6002         without speed penalty.
6004 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6006         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6007         option.
6008         (org-store-link-props): Make sure adding to the plist works
6009         correctly.
6011         * org-gnus.el (org-gnus-no-new-news): New function.
6012         (org-gnus-follow-link): Allow the article ID to be a message-id,
6013         in addition to allowing article numbers.  Message IDs make much
6014         more roubust links.
6015         (org-gnus-store-link): Use message-id to create link.
6017 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6019         * org.el (org-emphasize): Reverse the selection array.
6020         (org-emphasis-alist): Set <code> tags for the verbatim
6021         environment.
6023         * org-remember.el (org-remember-handler): Fix bug with
6024         prefix-related changing of the note storage target.
6026         * org-exp.el (org-print-icalendar-entries): Make the exported
6027         priorities compatible with RFC 2445.
6029         * org-clock.el (org-clock-save): Insert time stamp without
6030         dependence on time-stamp.el.
6032 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6034         * org.el ("saveplace"): If saveplace puts point into an invisible
6035         location, make it visible.
6036         (org-make-tags-matcher): Allow inactive time stamps in time
6037         comparisons.
6038         (org-yank-adjusted-subtrees): New option.
6039         (org-yank): Incorporate adjusting trees.
6040         (org-paste-subtree): New argument FOR-YANK which will cause
6041         insertion at point without backing up over white lines, and leave
6042         point at the end of the inserted text.  Also if the cursor is
6043         at the beginning of a headline, use the same level or the inserted
6044         tree.
6046         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6047         with broken symlinks
6049 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6051         * org-exp.el (org-export-select-tags, org-get-current-options):
6052         Fix typo.
6054 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6056         * org-agenda.el (org-format-agenda-item)
6057         (org-agenda-filter-make-matcher): Make sure tags are stored and
6058         compared donwcased.
6060 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6062         * org.el (org-insert-todo-heading): Fix bug with force-heading
6063         argument.
6065 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6067         * org-clock.el (org-clock-in-resume): Add a custom option to
6068         toggle starting the clock from an open clock line.
6069         (org-clock-in): When clocking in to an entry, if
6070         `org-clock-in-resume' is set, check if the first clock line is
6071         open and if so, start the clock from the time in the clock line.
6072         (org-clock-persist): Add a custom option to toggle clock
6073         persistence.
6074         (org-clock-persist-query-save): Add a custom option to toggle
6075         asking the user if they want to save the running clock when
6076         exiting.
6077         (org-clock-persist-query-resume): Add a custom option to toggle
6078         asking the user if they want to resume the saved clock when Emacs
6079         is restarted.
6080         (org-clock-save): Add a function to save clock data.
6081         This includes the contents of `org-clock-history' and the buffer
6082         and position of the currently clocked task, if any.
6083         (org-clock-load): Add a function to load clock data.
6084         This populates `org-clock-history', and resumes the saved clocked
6085         task if there is one.
6086         (org-clock-persistence-insinuate): Add a method to set up the
6087         hooks for clock persistence.
6089 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6091         * org-exp.el (org-export-as-ascii): Handle the case that we are
6092         publishing from an indirect buffer.
6094         * org-table.el (org-table-copy-down): Fix bug with time stamp
6095         increment.
6097         * org-mouse.el (org-mouse-features): New option.
6098         (org-mode-hook): Turn on features depending on
6099         `org-mouse-features'.
6101         * org.el (org-insert-heading-respect-content): Force heading
6102         creation.
6103         (org-insert-heading): keep the folding state of the heading before
6104         the inserted one.
6106 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6108         * org-archive.el (org-archive-to-archive-sibling): Handle top
6109         level headlines better.
6111 2008-10-21  Bastien Guerry  <bzg@altern.org>
6113         * org-export-latex.el (org-export-latex-classes): Added
6114         \usepackage{graphicx} to the default list of packages.
6116 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6118         * org-agenda.el (org-agenda-filter): Renamed from
6119         `org-agenda-filter-tags'.
6121 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6123         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6124         is not defined as a property in this entry.
6125         (org-add-log-note): Mask prefix argument when immediately storing
6126         the note.
6128         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6129         option.
6131 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6133         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6134         after drawers was skipping ahead one line too many, so notes were
6135         inserted after the first note instead of before it.
6137 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6139         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6140         New variables.
6141         (org-prepare-agenda): Reset the filter tags.
6142         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6143         Show filter tags in mode line.
6145         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6146         formatter.
6148         * org-export-latex.el (org-latex-entities-regexp): New constant.
6149         (org-export-as-pdf): Use two calls to `shell-command'.
6151 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6153         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6154         Honor the {} value of the subsuperscript setting.  Make sure that
6155         longer subsuperscripts are typeset in a roman font.
6157         * org.el (org-clock-update-time-maybe): Compute negative clock
6158         intervals correctly.
6160 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6162         * org.el (org-add-log-setup): Respect
6163         `org-log-state-notes-insert-after-drawers'.
6164         (org-log-state-notes-insert-after-drawers): New option.
6165         (org-todo-trigger-tag-changes): New function.
6166         (org-todo): Call `org-todo-trigger-tag-changes'.
6168 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6170         * org.el (org-add-log-setup): Only skip drawers if the are
6171         immediately after the scheduling keywords.
6173         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6174         function
6175         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6176         call it with the current todo state to get the state to switch to
6177         when clocking in.
6178         (org-clock-in): Use org-indent-line-function to indent clock lines.
6179         (org-clock-find-position): Fix indentation of empty clock drawers.
6181 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6183         * org-publish.el (org-publish-org-to): Handle case when
6184         org-export-to-pdf does return a file name, not a buffer.
6185         (org-publish-org-to-pdf): New function.
6187         * org-export-latex.el (org-export-as-pdf)
6188         (org-export-as-pdf-and-open): New commands.
6190         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6191         forms as ranges.
6193         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6194         things in protexted regions.
6196 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6198         * org-export-latex.el (org-export-latex-preprocess): Improve
6199         quoting of LaTeX environments.
6201 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6203         * org.el (org-edit-fixed-width-region): Exclude final newline from
6204         picture area.
6206         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6207         sections, to make internal links work.
6208         (org-export-latex-fontify-headline): Do not remove all text
6209         properties, to make sure that target properties survive this
6210         process.
6212         * org-exp.el (org-export-preprocess-string): Change sequence of
6213         modifications, to make sure links are prepared before the LaTeX
6214         conversions do happen.
6216 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6218         * org-attach.el (org-attach-delete-all): Renamed from
6219         `org-attch-delete'.  Add a security query before deleting the
6220         entire directory.  New optional argument FORCE can overrule the
6221         security query.
6222         (org-attach-delete-one): New command.
6224 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6226         * org-attach.el (org-attach-file-list): Fix bug with directory.
6228 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6230         * org.el (org-apps-regexp-alist): New function.
6231         (org-file-apps): Add auto-mode to the default value.
6232         (org-open-file): Use the new structure of org-file-apps.
6234         * org-attach.el (org-attach): Support the new keys.
6235         (org-attach-method): New option.
6237 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6239         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6240         March.
6242         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6243         of the list value o `org-use-tag-inheritance'.
6245         * org-attach.el (org-attach-auto-tag): New option.
6246         (org-attach-tag, org-attach-untag): New functions.
6247         (org-attach-attach, org-attach-new, org-attach-sync): Call
6248         `org-attach-tag'.
6249         (org-attach-delete): Call `org-attach-untag'.
6251 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6253         * org-table.el (orgtbl-self-insert-command): Make this work for
6254         the keypad as well.
6256 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6258         * org.el (org-add-log-setup): Limit searc for drawers to entry
6259         text, not to subtree.
6261         * org-clock.el (org-clock-heading-for-remember): New variable.
6262         (org-clock-in): Set `org-clock-heading-for-remember'.
6264 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6266         * org-remember.el (org-remember-apply-template): Add new
6267         expansions: %k, %K for currently clocked task and a link to the
6268         currently clocked task, and %< to file notes in the currently
6269         clocked task.
6271 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6273         * org-export-latex.el (org-export-latex-make-header): Also insert
6274         the content of the property :latex-header-extra.
6276         * org-exp.el (org-infile-export-plist): Put the content of
6277         #+LATEX_HEADER: into the property :latex-header-extra.
6279         * org-colview.el (org-columns-get-format-and-top-level): Remove
6280         resetting the marker.
6282         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6283         Remove resetting the marker.
6285         * org.el (org-entry-property-inherited-from): Improve docstring.
6286         (org-entry-get-with-inheritance): Reset marker before starting the
6287         search.
6289         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6291 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6293         * org.el (org-entry-get-multivalued-property)
6294         (org-entry-protect-space, org-entry-restore-space): New
6295         functions.
6296         (org-file-apps-defaults-macosx): Let postscript files be opened by
6297         preview.
6298         (org-time-stamp-inactive): Call `org-time-stamp'.
6299         (org-time-stamp): New argument `inactive'.  Also edit inacive
6300         stamps. Convert time stamp type.
6301         (org-open-file): Interpret the `default' value for the `command'
6302         in `org-file-apps'.
6304         * org-id.el (org-id-int-to-b36-one-digit)
6305         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6306         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6307         b36.
6309 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6311         * org-id.el (org-id-reverse-string): New function.
6312         (org-id-new): Use `org-id-reverse-string' to make sure the
6313         beginning chars of the ID are mutating fast.  This allows to use a
6314         directory structure to spread things better.
6315         (org-id-prefix): Changed default to nil.
6317         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6318         restore the column of the cursor position.
6320         * org-remember.el (org-remember-apply-template): Remove properties
6321         from `initial'.
6323 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6325         * org-wl.el (org-wl-open): Remove useless call to
6326         `wl-thread-open-all'.
6328         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6329         location.
6331 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6333         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6334         `org-bbdb-anniversaries'.
6336         * org.el (org-get-next-sibling, org-forward-same-level): New
6337         functions, similar to the outline versions, but invisible headings
6338         are OK.
6340 2008-09-25  Bastien Guerry  <bzg@altern.org>
6342         * org.el (org-auto-repeat-maybe): Insert a space between
6343         the timestamp's type and the timestamp itself.
6345 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6347         * org-table.el (org-table-sum): Do not format the result with %g,
6348         it does rounding when there are too many digits.
6350         * org.el (org-map-entries): Protect the keyword-selecting variables.
6352 2008-09-23  Bastien Guerry  <bzg@altern.org>
6354         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6355         against all agenda files.
6357 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6359         * org-list.el: New file, aggregating list functions from org.el
6360         and org-export-latex.el.
6362         * org.el (org-edit-src-region-extra): New option.
6364 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6366         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6367         time before 1am.
6369 2008-09-22  Bastien Guerry  <bzg@altern.org>
6371         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6373 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6375         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6376         hline work correctly.
6377         (org-plot/gnuplot-script): Put commas at the end of each script
6378         line.
6380 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6382         * org.el (org-get-refile-targets): Replace links with their
6383         descriptions
6384         (org-imenu-get-tree): Replace links with their descriptions.
6386         * org-remember.el (org-remember-apply-template): Add a new
6387         expansion for adding properties to remember items.
6389         * org.el (org-add-log-setup): Skip over drawers (properties,
6390         clocks etc) when adding notes.
6392         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6393         items as well as the start and end times.
6395         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6396         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6398         * org-remember.el (org-get-x-clipboard): Use the compat
6399         function to get clipboard values when x-selection-value is
6400         unavailable. Use substring-no-properties instead of
6401         set-text-properties to remove text properties from the clipboard
6402         value.
6404         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6405         modeline clock string, and display the full todo value in the
6406         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6407         the currently clocked task.
6408         (org-clock-string-limit): Add a custom value for the maximum
6409         length of the clock string in the modeline.
6410         (org-clock-mode-map): Add a keymap for the modeline string
6412 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6414         * org-compat.el (org-propertize): New function.
6416 2008-09-20  Bastien Guerry  <bzg@altern.org>
6418         * org-export-latex.el (org-export-latex-tables): protect exported
6419         tables from further special chars conversion.
6420         (org-export-latex-preprocess): Preserve LaTeX environments.
6421         (org-list-parse-list): Parse descriptive lists.
6422         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6423         (org-list-to-texinfo): Export descriptive lists.
6424         (org-quote-chars): Remove.
6425         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6426         (org-export-latex-list-beginning-re): Rename to
6427         `org-list-beginning-re'
6428         (org-list-item-begin): Rename to `org-list-item-beginning'
6430 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6432         * org.el (org-refile): Allow refiling to the last entry in the
6433         buffer.
6434         (org-get-tags-at): Fix bug when inheritance is turned off.
6436 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6438         * org.el (org-indent-line-function): No longer check for src
6439         regions, this is too much overhead.
6441         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6442         matching.
6444         * org.el (org-scan-tags): Make sure that tags matching is not case
6445         sensitive.  TODO keyword matching is case sensitive, however, to
6446         avoid confusion with similar words that are not meant to be
6447         keywords.
6449 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6451         * org.el (org-get-local-tags-at): New function.
6452         (org-get-local-tags): New function.
6454         * org-exp.el (org-export-get-categories): New function.
6456         * org-agenda.el (org-sorting-choice)
6457         (org-agenda-sorting-strategy, org-agenda-get-todos)
6458         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6459         (org-agenda-get-scheduled, org-agenda-get-blocks)
6460         (org-entries-lessp): Implement sorting by TODO state.
6461         (org-cmp-todo-state): New defsubst.
6463         * org-colview.el (org-colview-construct-allowed-dates): New
6464         function.
6465         (org-columns-next-allowed-value): Use
6466         `org-colview-construct-allowed-dates'.
6468         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6469         function.
6470         (org-columns-next-allowed-value): Use
6471         `org-colview-construct-allowed-dates'.
6473 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6475         * org.el (org-protect-slash): New function.
6476         (org-get-refile-targets): Use `org-protect-slash'.
6478         * org-agenda.el (org-global-tags-completion-table): New variable.
6480         * org-exp.el (org-export-handle-export-tags): New function.
6481         (org-export-preprocess-string): Call
6482         `org-export-handle-export-tags'.
6484         * org-plot.el: New file.
6486         * org-publish.el (org-publish-expand-components): Function removed.
6487         (org-publish-expand-projects): Allow components to have components.
6489 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6491         * org.el (org-indent-line-function): Do not indent in regions that
6492         are external source code.
6493         (org-yank-and-fold-if-subtree): New function.
6495         * org-agenda.el (org-agenda-todayp): New function.
6496         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6497         `org-agenda-todayp'.
6499         * org.el (org-insert-heading-respect-content)
6500         (org-insert-todo-heading-respect-content): New commands.
6501         (org-insert-heading-respect-content): New option.
6502         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6504         * org-clock.el (org-clock-find-position): Make sure the note after
6505         the clock line gets moved into the new clock drawer.
6507 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6509         * org-id.el (org-id-new): New option.
6511 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6513         * org-table.el (org-table-copy-down): Avoid overflow during
6514         increment.  Use prefix argument 0 to temporarily disable the
6515         increment.
6517 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6519         * org-exp.el (org-export-as-html): Do not turn on the major mode
6520         if the buffer will be killed anyway.
6521         (org-get-current-options): Exclude the #+TEXT field.
6522         (org-export-as-html): Make sure text before the first headline is
6523         a paragraph.
6525         * org-publish.el (org-publish-org-to): Tell the exporter that this
6526         buffer will be killed, so it is not necessary to do major mode
6527         initialization.
6529         * org-archive.el (org-archive-to-archive-sibling): Show empty
6530         lines after folding the archive sibling.
6532         * org.el (org-log-note-extra): New variable.
6534 2008-09-05  Bastien Guerry  <bzg@altern.org>
6536         * org.el (org-additional-option-like-keywords): Added keywords for
6537         the _QUOTE, _VERSE and _SRC environments.
6539         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6540         exporting _QUOTE and _VERSE environments.
6542 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6544         * org-agenda.el (org-agenda-filter-by-tag): New command.
6546         * org-exp.el (org-get-current-options): Remove angular brackets
6547         from the date entry.
6549         * org.el (org-edit-fixed-width-region): New function.
6550         (org-edit-fixed-width-region): Also try
6551         `org-edit-fixed-width-region'.
6552         (org-edit-fixed-width-region-mode): New option.
6553         (org-activate-code): Only interprete lines starting with colon
6554         plus a space as example lines.
6556         * org-remember.el (org-remember-templates): Add nil instead of
6557         empty strings to fix the length of remember templates.
6559         * org-table.el (org-calc-default-modes): Fix the time format for
6560         calc, from 12 hour to 24 hour clock.
6562 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6564         * org-agenda.el (org-agenda-get-deadlines)
6565         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6566         entries that are pre-warnings of deadlines or reminders.
6568         * org.el (org-sort-entries-or-items): Make numeric and alpha
6569         comparisons ignore any TODO keyword and priority cookie.
6571         * org-remember.el (org-remember-handler): Reinterpretation of the
6572         prefix argument.
6574 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6576         * org-agenda.el (org-agenda-get-scheduled): Use new
6577         `org-scheduled' face.
6579         * org-faces.el (org-scheduled): New face.
6581         * org-wl.el (org-wl-open): Remove incorrect declaration.
6583         * org-gnus.el (org-gnus-store-link): Support for :to information
6584         in gnus links.
6586         * org-exp.el (org-export-as-html): Fixed typo in creator
6587         information.
6588         (org-export-protect-examples): New parameter indent.  Insert extra
6589         spaces only when this parameter is specified.
6590         (org-export-preprocess-string): Call `org-export-protect-examples'
6591         with an indentation parameter when exporting to ASCII.
6593         * org-remember.el (org-remember-templates)
6594         (org-remember-apply-template): Allow the file component to be a
6595         function.
6597         * org.el (org-goto-local-search-headings): Renamed from
6598         `org-goto-local-search-forward-headings'.  Added the possibility
6599         to search backwards.
6601 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6603         * org-export-latex.el (org-export-latex): New customization
6604         group.
6606         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6608 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6610         * org-exp.el (org-html-do-expand): Allow {} to terminate
6611         tex macro
6613 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6615         * org.el (org-buffer-list): Select buffers based on major mode,
6616         not on file name.
6618 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6620         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6621         face property.
6623         * org-colview.el (org-columns-display-here): Use
6624         `org-columns-modify-value-for-display-function'.
6626         * org-colview-xemacs.el (org-columns-display-here): Use
6627         `org-columns-modify-value-for-display-function'.
6629 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6631         * org.el (org-columns-modify-value-for-display-function): New option.
6643         * org-publish.el (org-publish-file): Make sure the directory match
6644         for the publishing directory works correctly.
6646         * org-agenda.el (org-agenda-execute-calendar-command)
6647         (org-agenda-diary-entry): Additional optional argument.
6649 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6651         * org-exp.el (org-export-as-html): Add attributes also in mailto
6652         and ftp links.
6654         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6663 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6665         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6666         sure that calls from `org-export-region-as-html' do not do the
6667         special check for a subtree.
6669 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6671         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6673 2008-07-20  Juri Linkov  <juri@jurta.org>
6675         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6676         new keymap `narrow-map' instead of binding "\C-xns".
6678 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6680         * org.el (org-open-file): Use
6681         `org-open-directory-means-index-dot-org'.
6682         (org-open-directory-means-index-dot-org): New option.
6684 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6686         * org.el (org-make-link-string): Remove link attributes from
6687         description.
6688         (org-open-at-point): Remove link attributes bevore using the path.
6690         * org-exp.el (org-export-as-html): Handle link attributes.
6692         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6694         * org-table.el (org-table-to-lisp): New function.
6696         * org.el (org-narrow-to-subtree): Do not include the final newline
6697         into the narrowed region.
6699         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6700         bug with user-define skipping condition.
6702 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6704         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6706 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6708         * org-exp.el (org-export-html-style-default): Automatic overflow
6709         handling for pre fields.
6710         (org-export-as-ascii, org-export-as-html): Change default format
6711         for time stamp.
6713         * org-table.el (org-table-export): Offer completion for translator
6714         functions, and do not require a heading above the table.
6716         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6717         Cater for the case of a list starting in the first line of the
6718         buffer.
6720 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6722         * org-publish.el (org-publish-find-title): Bug fix.
6723         (org-publish-org-index): Implement new :index-style option.
6725 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6727         * org-publish.el (org-publish-timestamp-filename): Use
6728         SHA1-encoded file names in the timestamp directory.
6730 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6732         * org-publish.el (org-publish-needed-p): Be verbose about files
6733         published and files skipped.
6735         * org-exp.el (org-export-preprocess-string): Swap link
6736         normalization and inernal link targeting.
6738         * org-publish.el (org-publish-needed-p): Create timestamp
6739         directory when it does not exist.
6741 2008-07-04  Bastien Guerry  <bzg@altern.org>
6743         * org-clock.el (org-clock-out-when-done): Doc fix.
6745         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6747         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6748         Ignore case when searching for the COMMENT cookie at export time.
6750 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6752         * org-exp.el (org-get-file-contents)
6753         (org-get-and-remove-property): New functions.
6754         (org-export-handle-include-files): Handle the new prefix options.
6755         (org-export-as-html): Fix the verse environment.
6757 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6759         * org.el (org-time=, org-time<, org-time<=, org-time>)
6760         (org-time>=, org-time<>, org-2ft): New functions.
6761         (org-op-to-function): Also provide for the time testing fucntions.
6763 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6765         * org-exp.el (org-export-html-style-default): New constant.
6767 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6769         * org-exp.el (org-export-html-style-extra): New variable.
6770         (org-export-splice-style): New function.
6772 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6774         * org-exp.el (org-export-plist-vars, org-export-as-html):
6775         Implement `org-export-creator-info'.
6776         (org-export-creator-info): New option.
6778 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6780         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6781         (org-property-drawer-re, org-clock-drawer-re): New constants.
6783 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6785         * org-exp.el (org-icalendar-use-deadline)
6786         (org-icalendar-use-scheduled): New options.
6787         (org-icalendar-include-todo): Default changed to t.
6788         (org-print-icalendar-entries): Implement better utilization of
6789         scheduling and deadline time stamps.
6790         (org-export-target-internal-links, org-export-as-html): Allow file
6791         lines without the "file:" prefix if the file path is an absolute
6792         path or starts with ".".
6794         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6795         lastweek etc.
6796         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6798 2008-06-18  Glenn Morris  <rgm@gnu.org>
6799         * org.el (org-map-entries): Let-bind `file'.
6801 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6803         * org.el (org-agenda-skip-archived-trees): Docstring now
6804         discourages using this.
6805         (org-scan-tags): Check for org-agenda-archives-mode.
6806         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6807         (org-agenda-files): Functionality of second arg changed.
6809         * org-agenda.el (org-agenda-archives-mode): New variable
6810         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6811         (org-search-view, org-todo-list, org-tags-view)
6812         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6813         `ifmode' argument.
6814         (org-agenda-quit): Reset the archives mode.
6815         (org-agenda-archives-mode): New command.
6816         (org-agenda-set-mode-name): Include archives info.
6818 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6820         * org.el (org-paste-subtree): Make sure the yanked headline is
6821         visible if it was yanked at a visible point.
6822         (org-move-item-up): Fix the bug with moving white space at the end
6823         of the item.
6824         (org-show-empty-lines-in-parent): New function.
6826 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6828         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6830         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6832         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6833         agenda prefix as well.
6835         * org-publish.el (org-publish-org-index): Make a properly indented
6836         list.
6838         * org.el (org-calendar-agenda-action-key): New option.
6839         (org-get-cursor-date): New function.
6840         (org-mark-entry-for-agenda-action): New command.
6841         (org-overriding-default-time): New variable.
6842         (org-read-date): Respect `org-overriding-default-time'.
6844         * org-remember.el (org-remember-apply-template): Respect the
6845         ovverriding default time.
6847         * org-agenda.el (org-agenda-action-marker): New variable.
6848         (org-agenda-action): New command.
6849         (org-agenda-do-action): New function.
6851 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6853         * org.el (org-schedule, org-deadline): Protect scheduled and
6854         deadline tasks against changes that accidently remove the
6855         repeater.  Also show a message with the new date when done.
6857 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6859         * org.el (org-beginning-of-line): Cater for the case when there
6860         are tags but no headline text.
6861         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6862         it set.
6864 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6866         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6867         the return value is nil instead of "nil" when there is no match.
6869         * org-exp.el (org-insert-centered): Use fill-column instead of
6870         80.
6871         (org-export-as-ascii): Use string-width to measure the width of
6872         the heading.
6874         * org.el (org-diary-to-ical-string): No longer kill buffer
6875         FROMBUF, this is now done by the caller.
6877         * org-exp.el (org-print-icalendar-entries): Move the call to
6878         `org-diary-to-ical-string' out of the loop, and kill the buffer
6879         afterwords.
6881         * org-remember.el (org-remember-visit-immediately): Position
6882         cursor after moving to the note.
6883         (org-remember-apply-template): Use a text property to record the
6884         cursor position.
6885         (org-remember-handler): Align tags after pasting the note.
6887 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6889         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6891         * org-agenda.el (org-agenda-open-link): If there is an
6892         org-bbdb-name property in the current line, jump to that bbdb
6893         entry.
6895         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6896         text property, so that the agenda knows where this entry comes
6897         from.
6899         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6900         interaction between clocking-in from the agenda, and  automatic
6901         task state switching.
6903         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6905         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6906         zmacs-region stays after this command in XEmacs.
6908 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6910         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6912         * org-remember.el (org-remember-templates): Fix bug in
6913         customization type definition.
6915         * org.el (org-map-entries): New function.
6917 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6919         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6920         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6922 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6924         * org-remember.el (org-jump-to-target-location): New variable.
6925         (org-remember-apply-template): Set
6926         `org-remember-apply-template' if requested by template.
6927         (org-remember-handler): Start an idle timer to jump to
6928         remember location.
6930         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6932         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6933         file tags.
6934         (org-get-tags-at): Add the content of `org-file-tags'.
6936         * org-exp.el (org-export-handle-comments): Fix bug with several
6937         comment lines after each other.
6938         (org-number-to-roman, org-number-to-counter): New functions.
6939         (org-export-section-number-format): New option.
6941 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6943         * org-exp.el (org-export-protect-examples): Catch the case of a
6944         missing end_example line.
6946         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6947         `org-file-tags' to nil.
6949         * org-colview.el (org-columns-next-allowed-value): Handle next
6950         argument NTH to directly select a value.
6952         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6953         argument NTH to directly select a value.
6955 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6957         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6959 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6961         * org.el (org-columns-ellipses): New option.
6963 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6965         * org-colview.el (org-columns-add-ellipses): New function.
6966         (org-columns-compact-links): New function.
6967         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6968         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6969         when in agenda.
6970         (org-columns-edit-value): Fixed bug with editing values from
6971         agenda column view.
6972         (org-columns-redo): Also redo the agenda itself.
6974 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6976         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6977         option.
6979         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6981         * org-exp.el (org-export-ascii-preprocess): Renamed from
6982         `org-export-ascii-clean-string'.
6983         (org-export-kill-licensed-text)
6984         (org-export-define-heading-targets)
6985         (org-export-handle-invisible-targets)
6986         (org-export-target-internal-links)
6987         (org-export-remove-or-extract-drawers)
6988         (org-export-remove-archived-trees)
6989         (org-export-protect-quoted-subtrees)
6990         (org-export-protect-verbatim, org-export-protect-examples)
6991         (org-export-select-backend-specific-text)
6992         (org-export-mark-blockquote-and-verse)
6993         (org-export-remove-comment-blocks-and-subtrees)
6994         (org-export-handle-comments, org-export-mark-radio-links)
6995         (org-export-remove-special-table-lines)
6996         (org-export-normalize-links)
6997         (org-export-concatenate-multiline-links)
6998         (org-export-concatenate-multiline-emphasis): New functions,
6999         obtained from spliiting the export preprocessor.
7001         * org-table.el (org-table-recalculate): Improve error message if
7002         the row number is invalid.
7004 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7006         * org-archive.el (org-archive-save-context-info): Fix bugs in
7007         customization setup and docstring.
7009         * org-exp.el (org-export-html-style): Changed the size of in the
7010         <pre> element to 90%.
7012 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7014         * org.el (org-find-src-example-start): Function removed.
7015         (org-edit-src-find-region-and-lang): New function.
7017 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7019         * org.el (org-edit-src-exit): New function.
7020         (org-exit-edit-mode): New minor mode.
7022         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7023         comment-like lines from protected examples.
7025         * org.el (org-edit-src-example, org-find-src-example-start)
7026         (org-protect-source-example, org-edit-special): New functions.
7028 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7030         * org-publish.el (org-publish-project-alist): Fix typo in
7031         docstring.
7032         (org-publish-project-alist): Handle :index-title property.
7034 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7036         * org-export-latex.el (org-export-as-latex): Make sure region
7037         bounds are correct.  Parse subtree properties relating to export.
7039         * org-exp.el (org-export-add-options-to-plist): New function.
7040         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7042 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7044         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7045         EXPORT_TITLE.
7047         * org-exp.el (org-export-get-title-from-subtree)
7048         (org-export-as-ascii, org-export-as-html): Make sure the original
7049         region-beginning and region-end are used, even after moving
7050         point.
7051         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7052         property.
7054         * org-remember.el (org-remember-last-stored-marker): New variable.
7055         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7056         (org-remember-handler): Also use marker to remember
7057         last-stored position.
7059         * org.el (org-goto-marker-or-bmk): New function.
7061 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7063         * org.el (org-file-properties): Renamed from `org-local-properties'.
7064         (org-scan-tags): Take file tags into account.
7065         (org-tags-match-list-sublevels): Default changed to t.
7067         * org-exp.el (org-export-as-html): Close paragraph after a
7068         footnote.
7070         * org.el (org-update-parent-todo-statistics): New function.
7072         * org-exp.el (org-icalendar-store-UID): New option.
7073         (org-icalendar-force-UID): Option removed.
7074         (org-print-icalendar-entries): IMplement UIDs.
7076 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7078         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7080 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7082         * org-faces.el (org-column): Document how this face is being used
7083         and why sometimes the background faces shine through.
7085         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7087         * org-publish.el (org-publish-attachment): Create publishing
7088         directory if it does not yet exist.
7090         * org-table.el (org-calc-default-modes): Change default number
7091         format to (float 8).
7093         * org.el (org-olpath-completing-read): New function.
7094         (org-time-clocksum-format): New option.
7095         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7097         * org-clock.el (org-clock-display, org-clock-out)
7098         (org-update-mode-line): Use `org-time-clocksum-format'.
7100         * org-colview-xemacs.el (org-columns-number-to-string): Use
7101         `org-time-clocksum-format'.
7103         * org-colview.el (org-columns-number-to-string): Use
7104         `org-time-clocksum-format'.
7106 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7108         * org-id.el: New file, move from contrib to core.
7110         * org-exp.el (org-icalendar-force-UID): New option.
7112 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7114         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7115         shifted by one day if theere is a date range without an end
7116         time.
7118         * org.el (org-try-structure-completion): New function.
7120 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7122         * org.el (org-set-font-lock-defaults): Improve fontification of
7123         description lists.
7124         (org-insert-item): Handle description lists.
7125         (org-adaptive-fill-function): Improve auto indentation in
7126         description lists.
7128         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7129         Implement VERSE environment.
7130         (org-export-preprocess-string): Implement the COMMENT
7131         environment.
7133         * org-export-latex.el (org-export-latex-preprocess): Implement
7134         VERSE environment.
7136 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7138         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7139         option.
7141 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7143         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7145         * org.el (org-quote-csv-field): New functions.
7147         * org-table.el (org-table-export-default-format): Remove :splice
7148         from default format, we get the same effect by not specifying
7149         :tstart and :tend.
7150         (org-table-export): Improve setup, distinguish better between
7151         interactive and non-interactive use, allow specifying the format
7152         on the fly, better protection against wrong file names.
7153         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7154         and :tend when :splice is omitted.
7156 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7158         * org-clock.el (org-clock-select-task): Make sure the selection
7159         letters are 1-9 and A-Z, no special characters.
7161 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7163         * org-exp.el (org-export-htmlize): New group.
7164         (org-export-htmlize-output-type)
7165         (org-export-htmlize-css-font-prefix): New options.
7166         (org-export-htmlize-region-for-paste): New function.
7167         (org-export-htmlize-generate-css): New command.
7169 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7171         * org/org.el (org-modules, org-format-latex-options):
7172         * org/org-archive.el (org-archive-stamp-time)
7173         (org-archive-save-context-info):
7174         * org/org-faces.el (org-hide):
7175         * org/org-irc.el (org-irc-parse-link):
7176         * org/org-macs.el (org-call-with-arg, org-autoload):
7177         * org/org-mew.el (org-mew-store-link):
7178         * org/org-remember.el (org-remember-store-without-prompt)
7179         (org-remember-templates): Fix typos in docstrings.
7181         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7183         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7184         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7185         (org-bbdb-anniv-split): Fix typos in docstrings.
7187         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7188         (org-publish-use-timestamps-flag): Reflow docstring.
7189         (org-publish-files-alist): Fix typos in docstring.
7191 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7193         * org.el (org-set-visibility-according-to-property): New function.
7194         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7195         and compute the regular expressions, and update font-lock.
7196         (org-property-re): Allow a dash in property names.
7198         * org-archive.el (org-extract-archive-file): Insert the file name
7199         without the path into the format, to allow the location format to
7200         contain a subdirectory.
7202         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7203         of buffer, and the `org-agenda-type' property undefined, use the
7204         value from the character before.
7206         * org.el (org-add-planning-info): Don't let indentation for
7207         would-be timestamp become extra whitespace at the end of headline.
7209 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7211         * org.el (org-remove-double-quotes, org-file-contents): New
7212         functions.
7214         * org-exp.el (org-infile-export-plist): Also parse the
7215         contents of #+SETUPFILE files, recursively.
7217         * org.el (org-set-regexps-and-options): Also parse the
7218         contents of #+SETUPFILE files, recursively.
7220         * org-exp.el (org-export-handle-include-files): New function.
7221         (org-export-preprocess-string): Call
7222         `org-export-handle-include-files'.
7224         * org.el (org-delete-property-globally)
7225         (org-delete-property, org-set-property): Ignore case during
7226         completion.
7227         (org-set-property): Use `org-completing-read' instead of
7228         `completing-read'.
7230         * org.el (org-complete-expand-structure-template): New,
7231         experimental function.
7232         (org-structure-template-alist): New, experimental option.
7233         (org-complete): Call `org-complete-expand-structure-template'.
7235 2008-05-06  Bastien Guerry  <bzg@altern.org>
7237         * org-export-latex.el (org-export-latex-preprocess): Added
7238         support for blockquotes.
7240 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7242         * org.el (org-read-date-analyze): Catch the case where only a
7243         weekday is given.
7245 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7247         * org.el (org-set-font-lock-defaults): Make the description
7248         tag bold.
7250         * org-exp.el (org-export-as-html, org-close-li): Implement
7251         description lists.
7253 2008-05-04  Jason Riedy  <jason@acm.org>
7255         * org-table.el (*orgtbl-default-fmt*): New variable.
7256         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7257         when there is no other fmt available.
7259         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7260         :tend to suppress the appropriate string.
7262         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7263         table.
7265 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7267         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7268         read date.
7270         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7271         New function.
7273         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7274         New function.
7276 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7278         * org-clock.el (org-clock-find-position): Don't include notes
7279         into clock drawer.
7281         * org-archive.el (org-archive-subtree): No longer remove an
7282         extra line after cutting the subtree.  `org-cut-subtree' already
7283         takes care of this.
7285         * org-remember.el (org-remember-handler): Only kill the target
7286         buffer if it does not contain the running clock.
7288         * org.el (org-markers-to-move): New variable.
7289         (org-save-markers-in-region, org-check-and-save-marker)
7290         (org-reinstall-markers-in-region): New function.
7291         (org-move-subtree-down, org-copy-subtree): Remember relative
7292         marker positions before cutting.
7293         (org-move-subtree-down, org-paste-subtree): Restore relative
7294         marker positions after pasting.
7296         * org-remember.el (org-remember-clock-out-on-exit): New option.
7297         (org-remember-finalize): Clock out only if the setting in
7298         `org-remember-clock-out-on-exit' requires it.
7299         (org-remember-handler): Do the cleanup in the buffer, to make sure
7300         that the clock marker remains in tact.
7302 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7304         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7305         (org-clock-in): Make sure that also tasks outside the narrowed
7306         region will be clocked in correctly.
7307         (org-clock-insert-selection-line): Widen the buffer so that we can
7308         find the correct task heading.
7310         * org.el (org-base-buffer): New function.
7312         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7313         and ";" are escaped.
7314         (org-print-icalendar-entries): Also apply
7315         `org-icalendar-cleanup-string' to the headline, not only to the
7316         summary property.
7318 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7320         * org-exp.el (org-export-preprocess-hook): New hook.
7321         (org-export-preprocess-string): Call
7322         `org-export-preprocess-hook'.
7324         * org.el (org-font-lock-hook): New variable.
7325         (org-font-lock-hook): New function.
7326         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7328 ;; Local Variables:
7329 ;; coding: utf-8
7330 ;; add-log-time-zone-rule: t
7331 ;; End:
7333     Copyright (C) 2008  Free Software Foundation, Inc.
7335   This file is part of GNU Emacs.
7337   GNU Emacs is free software: you can redistribute it and/or modify
7338   it under the terms of the GNU General Public License as published by
7339   the Free Software Foundation, either version 3 of the License, or
7340   (at your option) any later version.
7342   GNU Emacs is distributed in the hope that it will be useful,
7343   but WITHOUT ANY WARRANTY; without even the implied warranty of
7344   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7345   GNU General Public License for more details.
7347   You should have received a copy of the GNU General Public License
7348   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7350 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c