Docbook export: Respect example indentation when parsing plain lists
[org-mode.git] / lisp / ChangeLog
blobd1f3d5a1e2512291781f73770b33731c6915f21d
1 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
4         (org-export-as-docbook): Close lists when original indentation
5         mandates it.
7         * org-html.el (org-export-html-close-lists-maybe): New function.
8         (org-export-as-html): Close lists when original indentation
9         mandates it.
11         * org-list.el (org-list-end): Respect the stored "original"
12         indentation when determining the end of the list.
14         * org-exp.el (org-export-replace-src-segments-and-examples):
15         Remember indentation correctly.
17 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
19         * org-clock.el (org-clock-update-mode-line): Apply face
20         org-mode-line-clock.
22         * org-faces.el (org-mode-line-clock): New face.
24 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
26         * org-gnus.el (org-gnus-store-link): Fix bug where
27         `org-gnus-store-link' used wrong subject when called in an article
28         buffer.  Patch provided by fengli AT gmail DOT com.
30 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
32         * org-exp.el (org-export-format-source-code-or-example): Remember
33         the original indentation of source code snippets and examples.
35         * org-latex.el (org-export-as-latex): Relocate the table of
36         contents.
38         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
40         * org-agenda.el (org-run-agenda-series): Scope global options also
41         when creating the agenda buffer.
43 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
45         * org.el (org-adapt-indentation): Improve documentation.
46         (org-insert-property-drawer): Respect org-adapt-indentation when
47         inserting the drawer.
48         (org-remove-flyspell-overlays-in): New function.
49         (org-do-emphasis-faces, org-activate-plain-links)
50         (org-activate-code, org-fontify-meta-lines-and-blocks)
51         (org-activate-angle-links, org-activate-footnote-links)
52         (org-activate-bracket-links, org-activate-dates)
53         (org-activate-target-links, org-activate-tags): Remove flyspell
54         overlays.
56 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
58         * org.el (org-edit-src-save): New function.
60         * org-clock.el (org-clock-out-switch-to-state): New option.
61         (org-clock-out): Honor `org-clock-out-switch-to-state'.
63         * org-compat.el (org-compatible-face): Improve macro.
65         * org.el (org-global-properties-fixed): Add default for
66         CLOCK_MODELINE_TOTAL.
68         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
69         andd tend.
70         (org-clock-sum-current-item): Optional argument TSTART, pass it to
71         org-clock-sum.
72         (org-clock-get-sum-start): New function.
74         * org.el (org-startup-options): New keywords blockhide and
75         blockshow.
76         (org-mode): Add new invisibility spec.
77         (org-set-startup-visibility): Hide block on startup if so
78         desired.
79         (org-hide-block-startup): New option.
80         (org-block-regexp): New constant.
81         (org-hide-block-overlays): New variable.
82         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
83         (org-show-block-all, org-hide-block-toggle-maybe)
84         (org-hide-block-toggle): New functions.
85         (org-edit-src-exit): Do not quote lines starting with # and no +
86         behind it.
87         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
88         entry.
90 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
92         * org.el (org-buffer-property-keys): Add Effort property for
93         completion.
95 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
97         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
98         when retrieving total clocked time in the subtree.
100         * org.el (org-quoting-blocks): New variable.
102 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
104         * org-table.el (org-table-store-formulas)
105         (org-table-get-stored-formulas, org-table-fix-formulas)
106         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
107         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
109         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
110         indented #+TBLFM line.
112         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
113         indented #+TBLFM line.
115         * org-colview.el (org-dblock-write:columnview): Allow indented
116         #+TBLFM line.
118         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
119         indented #+TBLFM line.
121         * org-clock.el (org-dblock-write:clocktable): Allow indented
122         #+TBLFM line.
124 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
126         * org-exp.el (org-export-format-source-code-or-example): Make
127         editing indented blocks work correctly.
129         * org.el (org-edit-src-nindent): New variable.
130         (org-edit-src-code, org-edit-fixed-width-region)
131         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
132         editing indented blocks work correctly.
134 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
136         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
137         indented blocks.
138         (org-export-format-source-code-or-example): Fix indentation of
139         blocks.
140         (org-export-remove-indentation): New function.
141         (org-export-select-backend-specific-text): Allow backend-specific
142         code to be indented.
143         (org-export-mark-blockquote-verse-center): Allow markers to be
144         indented.
146         * org.el (org-fontify-meta-lines): New function.
147         (org-set-font-lock-defaults): Call the new fontification
148         function.
150         * org-faces.el (org-meta-line): New face
151         (org-block):  New face.
153 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
155         * org.el (org-treat-insert-todo-heading-as-state-change)
156         (org-treat-S-cursor-todo-selection-as-state-change): New
157         variables.
158         (org-insert-todo-heading): Honor
159         `org-treat-insert-todo-heading-as-state-change'.
160         (org-shiftright, org-shiftleft): Honor
161         `org-treat-S-cursor-todo-selection-as-state-change'.
162         (org-inhibit-logging): New variable.
164 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
166         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
167         range for marker position checking.
169         * org-latex.el (org-export-latex-first-lines): Fix bug when
170         exporting a region.
172 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
174         * org-exp.el (org-export-push-to-kill-ring): Protect using
175         x-set-selection, because that does not always work.
177         * org-agenda.el (org-agenda-list): Apply the new face
178         `org-agenda-date-today'.
180         * org-faces.el (org-agenda-date-today): New face.
182 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
184         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
185         creating appointments.
187         * org-latex.el (org-export-latex-low-levels): Fix customization
188         type.
190         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
191         priority commands.
193         * org-agenda.el (org-agenda-priority): Disable priority commands.
195         * org.el (org-enable-priority-commands): New option.
197         * org-colview-xemacs.el (org-columns-compute)
198         (org-columns-number-to-string): Fix problems with empty fields.
200         * org-colview.el (org-columns-compute)
201         (org-columns-number-to-string): Fix problems with empty fields.
203         * org-exp.el (org-export-push-to-kill-ring): New function.
204         (org-export-copy-to-kill-ring): New option.
206         * org-latex.el (org-export-as-latex): Call
207         `org-export-push-to-kill-ring'.
209         * org-html.el (org-export-as-html): Call
210         `org-export-push-to-kill-ring'.
212         * org-docbook.el (org-export-as-docbook): Call
213         `org-export-push-to-kill-ring'.
215         * org-ascii.el (org-export-as-ascii): Call
216         `org-export-push-to-kill-ring'.
218         * org-exp.el (org-export-show-temporary-export-buffer): New
219         option. 
221         * org-latex.el (org-export-as-latex): Use
222         `org-export-show-temporary-export-buffer'.
224         * org-html.el (org-export-as-html): Use
225         `org-export-show-temporary-export-buffer'.
227         * org-docbook.el (org-export-as-docbook): Use
228         `org-export-show-temporary-export-buffer'.
230         * org-ascii.el (org-export-as-ascii-to-buffer): Use
231         `org-export-show-temporary-export-buffer'.
233         * org-exp.el (org-export-show-temporary-export-buffer): New
234         option.
235         (org-export-push-to-kill-ring): New function.
237         * org-colview.el (org-columns-compile-map): New variable.
238         (org-columns-new, org-columns-compute)
239         (org-columns-number-to-string, org-columns-uncompile-format)
240         (org-columns-compile-format): Implement new operators.
242 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
244         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
246         * org-html.el (org-export-html-xml-declaration): New option.
247         (org-export-as-html): Use `org-export-html-xml-declaration'.
249         * org-list.el (org-update-checkbox-count): Make property
250         dependent.
252         * org.el (org-hierarchical-todo-statistics): New option.
253         (org-update-parent-todo-statistics): Modified to handle recursive
254         statistics.
256 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
258         * org-publish.el (org-publish): Make this function behave
259         correctly in interactive use when called with a prefix argument.
261         * org.el (org-todo-statistics-hook): New hook.
262         (org-update-parent-todo-statistics): Use new hook.
263         (org-log-into-drawer): New function.
264         (org-add-log-setup): Use the new `org-log-into-drawer' function to
265         determine if we should be logging into a drawer.
266         (org-log-into-drawer): Update docstring.
267         (org-default-properties): Add LOG_INTO_DRAWER as a property.
269         * org-list.el (org-checkbox-statistics-hook): New hook.
270         (org-update-checkbox-count-maybe): Use new hook.
272         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
273         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
274         to kill ring.
276 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
278         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
279         a line.
281 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
283         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
284         better bufer-generating mechanism.
285         (org-edit-src-find-buffer): New function.
287         * org-icalendar.el (org-print-icalendar-entries): Don't check for
288         archive tag, this is already done by `org-agenda-skip'.
289         data while constructing lost of tags.
291 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
293         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
294         as argument separator in macros.
296         * org-html.el (org-export-as-html): Add xml declaration.
298 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
300         * org.el (org-after-sorting-entries-or-items-hook): New hook.
301         (org-sort-entries-or-items): Run the new hook.
302         (org-after-refile-insert-hook): New hook.
303         (org-refile): Run `org-after-refile-insert-hook'.
305         * org-agenda.el (org-agenda-get-progress): Never take time of day
306         from headline when displaying progress.
308         * org-latex.el (org-export-latex-complex-heading-re): New variable.
309         (org-export-as-latex): Force the correct regexp in the
310         preprocessor buffer.
311         (org-export-latex-set-initial-vars): Set
312         `org-export-latex-complex-heading-re'.
314         * org-agenda.el (org-agenda-start-with-log-mode): New option.
315         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
317 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
319         * org-latex.el (org-export-latex-tables-centered): New option.
320         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
322         * org-exp.el (org-export-as-org): New command.
323         (org-export-as-org): New command.
325         * org-publish.el (org-publish-org-to-org): New function.
327 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
329         * org.el (org-yank): Just call `org-yank-generic'.
330         (org-yank-generic): New function, containing the formaer
331         functionality of `org-yank'.
333         * org-latex.el (org-export-latex-not-done-keywords)
334         (org-export-latex-done-keywords): New variables.
335         (org-export-latex-todo-keyword-markup): New option.
336         (org-export-latex-set-initial-vars): Remember the TODO keywords.
337         (org-export-latex-keywords-maybe): Apply the TODO markup.
339 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
341         * org-exp.el (org-infile-export-plist): Add more default macros.
342         (org-export-preprocess-apply-macros): Process macro arguments.
344 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
346         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
347         `unblocked'.
348         (org-print-icalendar-entries): Respect the new value of
349         `org-icalendar-include-todo'.
351         * org.el (org-link-try-special-completion)
352         (org-file-complete-link): New functions.
353         (org-insert-link): Add special completion support for some link
354         types.
356         * org-bbdb.el (org-bbdb-complete-link): New function.
358 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
360         * org-list.el (org-update-checkbox-count): Allow recursive
361         statistics.
362         (org-hierarchical-checkbox-statistics): New option.
364         * org.el (org-cycle): Remove erraneous space character.
366         * org-icalendar.el (org-icalendar-timezone): Initialize from
367         environment.
369         * org-html.el (org-format-org-table-html): Specify the scope.
370         (org-format-table-table-html): Specify the scope.
371         (org-export-table-header-tags): Prepare the scope parameter.
373 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
375         * org-html.el
376         (org-export-html-table-use-header-tags-for-first-column): New
377         option.
379         * org.el (org-autoload): Fix autoloading of ascii export
380         functions.
381         (org-modules): Add org-special-blocks.
383 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
385         * org-icalendar.el (org-start-icalendar-file): Use the new option.
386         (org-ical-timezone): New option.
388         * org-exp.el (org-export-get-coderef-format): Use the description
389         is present.
391         * org.el (org-sort-entries-or-items): Improve docstring, and make
392         better implementation for time sorting.
394 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
396         * org.el (org-edit-src-persistent-message): New option.
397         (org-edit-src-code, org-edit-fixed-width-region): Use the new
398         option.
400         * org-clock.el (org-clock-insert-selection-line): Fix prefious
401         patch.
403         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
404         separate buffer instead of indirect buffer to edit source code.
405         (org-edit-src-exit): Make this function work with the new setup.
407         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
408         are properly fontified before shown in the selection menu.
410         * org.el (org-fontify-like-in-org-mode): New function.
412         * org-latex.el (org-export-latex-links): Use the property list to
413         retrieve the default image attributes.
415         * org-exp.el (org-export-plist-vars): Add a new option.
417 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
419         * org-exp.el (org-export, org-export-visible): Support ASCII
420         export to buffer
421         (org-export-normalize-links): Do not protect the description if it
422         is explicitly given.
424         * org-ascii.el (org-export-as-ascii-to-buffer)
425         (org-replace-region-by-ascii, org-export-region-as-ascii): New
426         commands.
427         (org-export-as-ascii): Add all the same parameters that are also
428         supported by the other export functions.
430         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
431         org-checklist.el.
432         (org-reset-checkbox-state-subtree): Call
433         `org-reset-checkbox-state-subtree'.
435         * org-remember.el (org-select-remember-template): For the
436         selection of a valid template.
438         * org-latex.el (org-export-region-as-latex): Supply the
439         force-no-subtree argument.
440         (org-export-as-latex): Provide better limits when exporting the
441         first line.  When exporting to string, we still want the first
442         lines.
443         (org-export-latex-first-lines): New argument END, to force the end
444         of the region.
445         (org-export-region-as-latex): Use the property list.
446         (org-export-as-latex):
448         * org-colview-xemacs.el (org-columns-remove-overlays)
449         (org-columns): Fix call to `local-variable-p'.
451 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
453         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
454         (org-export-as-html): Run the new hook.
456         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
457         (org-export-latex-preprocess): Run the new hook.
459         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
460         (org-export-preprocess-string): Run the new hook.
462 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
464         * org-macs.el (org-check-external-command): New defsubst.
466         * org.el (org-mode-map): New key for reload.
467         (org-format-latex): Better error message when external programs
468         are not available.
470         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
472         * org.el (org-sort-entries-or-items): Explicit sorting function
473         for priorities, needed for XEmacs compatibility.
475         * org-remember.el (org-remember-apply-template): Improve auto-save
476         behavior.
478 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
480         * org-latex.el (org-export-latex-preprocess): Also protect
481         environments ending in a star.
483         * org-list.el (org-at-item-p): Fix regular expression.
485 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
487         * org.el (org-end-of-subtree): Improve speed.
489         * org-agenda.el (org-agenda-get-timestamps)
490         (org-agenda-get-progress, org-agenda-get-deadlines)
491         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
492         in particular, wait as long as possible to collect the tags.
493         (org-stuck-projects): Improve docstring.
495         * org.el (org-store-link): No errors when getting custom id before
496         first headline.
497         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
499 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
501         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
503         * org-protocol.el: Remove dependency on url.el.
504         (org-protocol-unhex-compound, org-protocol-open-source): Remove
505         dependency on url.el.
507         * org-latex.el (org-export-as-pdf): Use
508         `org-latex-to-pdf-process'.
510 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
512         * org-latex.el (org-latex-to-pdf-process): New option.
514         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
515         New option.
516         (org-agenda-get-timestamps): Honor
517         `org-agenda-skip-additional-timestamps-same-entry'.
519         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
520         (org-clock-goto): Find recent task only if
521         `org-clock-goto-may-find-recent-task' allows it.
523         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
524         drawers, and drawers that are missing the :END: line.
526 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
528         * org-clock.el (org-clock-goto): Go to recently clocked task if no
529         clock is running.
531 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
533         * org.el (org-update-parent-todo-statistics): Check for
534         STATISTICS_FROM property.
536         * org-list.el (org-update-checkbox-count): Check for
537         STATISTICS_FROM property.
539         * org.el (org-tab-first-hook)
540         (org-tab-after-check-for-table-hook)
541         (org-tab-after-check-for-cycling-hook): New hooks.
542         (org-cycle-internal-global, org-cycle-internal-local): New
543         functions, split out from `org-cycle'.
544         (org-cycle): Call the new hooks.
546 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
548         * org-exp.el (org-export-preprocess-string): Reset the list of
549         preferred targets for each run of the preprocessor.
551         * org.el (org-refile-target-verify-function): Improve
552         documentation.
553         (org-get-refile-targets): Respect point being moved by the
554         verification function.
556         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
557         option.
558         (org-export-latex-keywords): Use new option.
560         * org.el (org-rear-nonsticky-at): New defsubst.
561         (org-activate-plain-links, org-activate-angle-links)
562         (org-activate-footnote-links, org-activate-bracket-links)
563         (org-activate-dates, org-activate-target-links)
564         (org-activate-tags): Place the rear-nonsticky properties at the
565         correct location.
567 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
569         * org-protocol.el (server-edit): Declare `server-edit'.
570         (org-protocol-unhex-string, org-protocol-unhex-compound): New
571         functions.
572         (org-protocol-check-filename-for-protocol): Call `server-edit'.
574         * org.el (org-default-properties): New default properteis for
575         completion.
577         * org-exp.el (org-export-add-subtree-options): Add new properties
578         for subtree export.
580         * org-docbook.el (org-export-docbook-keywords-markup)
581         (org-export-docbook-timestamp-markup): New options.
582         (org-export-docbook-protect-tags): New function.
584 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
586         * org-id.el (org-id-get-with-outline-path-completion): Turn off
587         org-refile-target-verify-function for the duration of the command.
589         * org.el (org-link-to-org-use-id): New possible value
590         `create-if-interactive-and-no-custom-id'.
591         (org-store-link): Use custom IDs.
592         (org-link-search): Find custom ID properties from #link.
593         (org-default-properties): Add CUSTOM_ID for property completion.
594         (org-refile-target-verify-function): New option.
595         (org-goto): Turn off org-refile-target-verify-function
596         for the duration of the command.
598 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
600         * org-html.el (org-export-as-html): Use custom IDs in the toc.
602         * org-exp.el (org-export-preferred-target-alist): New variable.
603         (org-export-define-heading-targets): Find the new CUSTOM_ID
604         property.
605         (org-export-target-internal-links): Target the custom ids when
606         possible.
608         * org-latex.el (org-export-latex-preprocess): Better regexp for
609         matching latex macros with arguments.
611 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
613         * org-remember.el (org-remember-handler): Allow filing to non-org
614         files.
616 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
618         * org-feed.el (org-feed-alist): New keyword options.
619         (org-feed-update): Use the new options.
620         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
621         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
622         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
623         functions.
625         * org-table.el (org-table-fix-formulas): Do not change references
626         to remote tables.
627         (org-table-get-remote-range): Convert standard coordinates to RC
628         format.
630         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
632 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
634         * org-compat.el (org-sha1-string): Function removed.
636         * org.el (org-refile-allow-creating-parent-nodes): New option.
637         (org-refile-get-location): New argument NEW-NODES.
638         (org-refile): Call `org-refile-get-location' with the new
639         argument.
640         (org-refile-get-location): Arrange for adding a new child.
641         (org-refile-new-child): New function.
643         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
644         an additional span element.
646         * org-clock.el: Fix a number of docstrings.
647         (org-clock-find-position): New argument
648         FIND-UNCLOSED to make the function find an unclosed clock in the
649         entry.
650         (org-clock-in): Call `org-clock-find-position' with the new
651         argument if we might be resuming a clock.
653 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
655         * org-latex.el (org-export-latex-display-custom-times): New variable.
656         (org-export-latex-timestamp-markup): New option.
657         (org-export-latex-set-initial-vars): Remember the local value of
658         `org-display-custom-times'.
659         (org-export-latex-content): Process time stamps.
660         (org-export-latex-time-stamps): New function.
662         * org-macs.el (org-maybe-intangible): Add intangible property
663         again to invisible text.
665 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
667         * org-exp.el (org-default-export-plist): Handle undefined
668         variables.
670 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
672         * org.el (org-sort-entries-or-items): Match TODO keywrds
673         case-sensitively, when sorting.
674         (org-priority): Do not match TODO keywords with wrong case.
676 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
678         * org-feed.el (org-feed-update): Bind the variable
679         `new-formatted'.
681         * org-html.el (org-export-as-html): Start paragraphs after literal
682         examples.
684         * org-docbook.el (org-export-as-docbook): Start paragraphs after
685         literal examples.
687 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
689         * org.el (org-todo): Honor the NOBLOCKING property.
691         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
692         NOBLOCKING property.
694         * org.el (org-scan-tags): Fix bug in tag scanner
696 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
698         * org.el (org-modules): Mark obsolete packages.
700         * org-html.el: New file, split out from org-exp.el.
702         * org-icalendar.el: New file, split out from org-exp.el.
704         * org-xoxo.el: New file, split out from org-exp.el.
706         * org-ascii.el: New file, split out from org-exp.el.
708 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
710         * org-compat.el (org-find-library-name): New function.
712         * org.el (org-pre-cycle-hook): New hook.
713         (org-cycle): Call the new hook in appropriate places.
714         (org-reload): Only reload files that have been loaded before.
716 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
718         * org.el (org-set-font-lock-defaults): Enforxe space or line end
719         after todo keyword.
720         (org-todo): When changing TODO state, do matching
721         case-sensitively.
722         (org-map-continue-from): New variable.
723         (org-scan-tags): Respect values in `org-map-continue-from'.
724         (org-reload): Make XEmacs compatible.
726 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
728         * org-protocol.el (org-protocol-flatten-greedy): New function.
729         (org-protocol-flatten): New function.
731         * org.el (org-open-link-from-string): Pass reference buffer to
732         `org-open-at-point'.
733         (org-open-at-point): New optional argument `reference-buffer'.
735 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
737         * org.el (org-scan-tags): Make tag scan find headline in first
738         line, 2nd attempt.
739         (org-get-refile-targets): Add the naked file name.
740         (org-refile): Store as top-level entry when only file name was
741         given.
743         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
745         * org.el (org-block-todo-from-children-or-siblings-or-parent):
746         Renamed from org-block-todo-from-children-or-siblings, and
747         enhanced to look for the parent's status as well.
749         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
750         (org-agenda-get-progress): Add first notes line to log entry if so
751         desired.
753 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
755         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
756         (org-agenda-cleanup-fancy-diary): Call the new hook.
758         * org-remember.el (org-remember-apply-template): Take the default
759         for the annotation from the :annotation property.
761         * org-mac-message.el (org-mac-message-get-link): Remove the
762         quotes.
763         (org-mac-message-get-link): Return the result.
765 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
767         * org.el (org-refile-get-location): Add file name only if not
768         already included in outline path.
770         * org-faces.el (org-n-level-faces): Fix customization type from
771         number to integer.
773         * org-exp.el (org-export-headline-levels): Fix customization type
774         from number to integer.
776         * org-agenda.el (org-agenda-confirm-kill)
777         (org-agenda-custom-commands-local-options)
778         (org-timeline-show-empty-dates, org-agenda-ndays)
779         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
780         customization type from number to integer.
782 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
784         * org-protocol.el: Declare some functions.
786         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
787         postion before inserting modified headline.
789         * org-agenda.el (org-agenda-compare-effort): Honor
790         `org-sort-agenda-noeffort-is-high'.
791         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
792         (org-agenda-compare-effort): Implement the "?" operator for
793         finding entries without effort setting.
795         * org.el (org-extract-attributes-from-string): New function.
797         * org-exp.el (org-export-splice-attributes): New function.
799 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
801         * org-mouse.el: XEmacs compatibility fixes
803         * org-docbook.el (org-export-as-docbook): Process footnotes like
804         normal text.
806         * org.el (org-modules): Add org-inlinetasks.el
807         (org-cycle): Implement limiting level on cycling.
808         (org-move-subtree-down): Fix bug with swapping subtrees at end of
809         buffer.
811         * org-inlinetask.el: New file.
813         * org.el (org-emphasis-regexp-components): Allow braces in
814         emphasis pre and post match.
816         * org-footnote.el (org-footnote-normalize): When only dorting, do
817         not insert inline notes at the end.
819         * org-docbook.el (org-id-find-id-file): Add function declaration.
821         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
823         * org-docbook.el: New file.
825 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
827         * org.el (org-reftex-citation): New command.
829 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
831         * org-agenda.el (org-agenda-cmp-user-defined): New option.
832         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
833         sorting options.
834         (org-entries-lessp): Apply the new sorting option.
836         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
837         blocker code, when an older sibling has children.
839         * org-mac-message.el (org-mac-message-get-link): Improve getting
840         links from multiple selected messages.
842 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
844         * org-remember.el (org-remember-finalize): Do not set buffer file
845         name to nil.
846         (org-remember-handler): Mark buffer as unmodified.
847         (org-remember-handler): Delete backup file and show message about
848         remaining backup files.
849         (org-remember-auto-remove-backup-files): New option.
851         * org.el (org-store-link): Use buffer name as link description in
852         w3-mode buffers.
853         (org-ido-switchb): Fix argument bug for completion.
855         * org-remember.el (org-remember-apply-template): Set local
856         variable `auto-save-visited-file-name' instead of global one.
858 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
860         * org-feed.el: Re-write.
862         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
863         (org-agenda-get-todos): Mark file tags as inherited.
864         (org-agenda-list): Always search diary lines for a time.
866 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
868         * org-feed.el (org-feed-assume-stable): New option.
869         (org-feed-before-adding-hook): New hook.
871         * org-exp.el (org-export-as-html): Close local lists depending on
872         indentation, also when starting a table.
874         * org-remember.el (org-remember-backup-directory)
875         (org-remember-backup-name): New internal variable.
877 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
879         * org-clock.el (org-clock-out-if-current): Make buffer detection
880         work in indirect buffers as well.
882         * org.el (org-emphasis-regexp-components): Add the exxclamation
883         mark to the post-emphasis characters.
885 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
887         * org.el (org-read-date-minibiffer-septup-hook): New hook.
888         (org-read-date): Run the new hook.
890         * org-mac-message.el (org-mac-flagged-mail): New group.
891         (org-mac-mail-account): New variable.
892         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
893         commands.
895         * org-remember.el (org-remember-backup-directory): New variable.
896         (org-remember-apply-template): Write file to backup directory.
898 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
900         * org-mouse.el (org-mouse-todo-menu): New function.
901         (org-mouse-todo-keywords): Function removed.
902         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
904         * org-table.el (org-table-beginning-of-field)
905         (org-table-end-of-field): New commands
906         (org-table-previous-field, org-table-beginning-of-field): Better
907         error messages.
908         (orgtbl-setup): Include `M-a' and `M-e'.
910         * org.el (org-backward-sentence, org-forward-sentence): New
911         commands.
913         * org-colview.el (org-colview-initial-truncate-line-value): New
914         variable.
915         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
916         (org-columns): Remember the value of `truncate-lines'.
918         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
919         New variable.
920         (org-columns-remove-overlays): Restore the value of
921         `truncate-lines'.
922         (org-columns): Remember the value of `truncate-lines'.
924         * org.el (org-columns-skip-arrchived-trees): New option.
926         * org-agenda.el (org-agenda-export-html-style): Define color for
927         org-agenda-done face.
928         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
929         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
931         * org.el (org-scan-tags): Use the new face.
933         * org-faces.el (org-agenda-done): New face.
935         * org.el (org-scan-tags): Test the value org
936         `org-tags-match-list-sublevels'.
937         (org-tags-match-list-sublevels): New allowed value: indented.
939         * org-export-latex.el (org-export-latex-make-header): Apply macros
940         in header.
942         * org-exp.el (org-export-apply-macros-in-string): New function.
944         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
945         with the definition of a checked box.
947         * org-clock.el (org-clock-find-position): Fix drawer indentations.
949         * org-export-latex.el (org-export-latex-low-levels): More options
950         for how to process lower levels in LaTeX.
951         (org-export-latex-subcontent): Better treatment for lists as a
952         means of publishing lower levels.
954 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
956         * org.el (org-set-font-lock-defaults): Use new checkbox face.
958         * org-faces.el (org-checkbox): New face.
960         * org-exp.el (org-export-html-preprocess): Only create LaTeX
961         fragement images if there is an export file.
963 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
965         * org-agenda.el (org-stuck-projects): Document that the subtree of
966         projects that are not stuck will now be searched for stuck
967         sub-projects.
968         (org-agenda-skip-entry-when-regexp-matches)
969         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
970         (org-agenda-list-stuck-projects): Use
971         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
973         * org-export-latex.el (org-export-latex-preprocess): Improve
974         export of verses.
976         * org-exp.el (org-export-as-html): Implement centering as a div
977         rather than a paragraph.  Do a better job with line-end in verse
978         environments.
980 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
982         * org.el (org-open-at-point): Fix tags searches by mouse click.
984 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
986         * org-export-latex.el (org-export-latex-preprocess): Implement the
987         centering markup.
989         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
990         from `org-export-mark-blockquote-and-verse'.
991         (org-export-as-html): Implement the centering markup.
993         * org-export-latex.el (org-export-latex-tables): Fix vertical
994         lines in tables.
996 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
998         * org.el (org-read-date-history): New variable.
999         (org-read-date): Use new history variable.
1000         (org-toggle-heading): Fix bug when used before first headline.
1001         (org-store-log-note): Remove drawer if empty while note is
1002         aborted.
1003         (org-remove-empty-drawer-at): New function.
1004         (org-check-after-date): New command.
1005         (org-sparse-tree): New sparse tree command "a".
1007         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1009 2009-03-14  Bastien Guerry  <bzg@altern.org>
1011         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1012         column and a space, not only a column.
1014 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
1016         * org-export-latex.el (org-export-latex-emphasis-alist): Better
1017         defaults for verbose emphasis.
1018         (org-export-latex-emph-format): New function.
1019         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1021         * org-agenda.el (org-agenda-menu): Add new commands to menu.
1022         (org-agenda-do-date-later, org-agenda-do-date-earlier)
1023         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1024         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1025         commands.
1027         * org.el (org-timestamp-change): Move end-time along with start
1028         time.
1030 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
1032         * org-exp.el (org-export-target-internal-links)
1033         (org-export-as-html): Protect links specified as #name.
1035 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
1037         * org.el (org-clone-subtree-with-time-shift): New command.
1039         * org-export-latex.el (org-export-latex-special-chars)
1040         (org-export-latex-treat-sub-super-char): Fix subscript export.
1042         * org-exp.el (org-create-multibrace-regexp): Do not add
1043         backslashes to the class.
1045 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
1047         * org-colview.el (org-columns-map): Better functions for moving up
1048         and down a row, even if `truncate-line' is nil.
1050         * org.el (org-insert-todo-heading): Make sure the keyword is
1051         inserted at the correct position.
1053         * org-publish.el (org-publish-project-alist)
1054         (org-publish-projects, org-publish-org-index): Change default anme
1055         for the index of file names to "sitemap.org".
1057         * org-export-latex.el (org-export-latex-tables): Use
1058         `org-split-string', for Emacs 21 compatibility.
1060 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
1062         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1064 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
1066         * org-exp.el (org-export-page-description)
1067         (org-export-page-keywords): New variables.
1068         (org-export-plist-vars): Add entries for :keywords and
1069         :description.
1070         (org-infile-export-plist): Parse for new keywords.
1071         (org-get-current-options): Add new keywords
1072         (org-export-as-html): Publish description and keywords.
1074         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1075         option.
1076         (org-agenda-add-entry-text): Honor
1077         `org-agenda-add-entry-text-descriptive-links'.
1079         * org-export-latex.el (org-export-latex-preprocess): Make all
1080         external preprocess functions use a PARAMETER arg.
1082         * org-exp.el (org-export-preprocess-string)
1083         (org-export-select-backend-specific-text)
1084         (org-export-format-source-code-or-example)
1085         (org-format-org-table-html): Support docbook export.
1086         (org-export-preprocess-string): Make all external preprocess
1087         functions use a PARAMETER arg.
1089 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
1091         * org-exp.el (org-export-html-style-include-scripts): New option.
1092         (org-export-plist-vars): Add new option
1093         `org-export-html-style-include-scripts'.
1094         (org-export-as-html): Honor new option
1095         `org-export-html-style-include-scripts'.
1096         (org-export-html-scripts, org-export-html-style-default): Fix
1097         xml issues with the Safari browser.
1099 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
1101         * org-publish.el (org-publish-attachment): Only copy file when the
1102         directories differ.
1104 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
1106         * org-clock.el (org-clocktable-steps): Use inactive time stamps
1107         for clocktable steps.
1109         * org.el (org-additional-option-like-keywords): Add two more
1110         keywords.
1112 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
1114         * org-exp.el (org-export-format-source-code-or-example): Mark
1115         temporary buffer unmodified, so that it will be killed even if
1116         mode like message mode has decided to assign a file name.
1118         * org.el (org-scan-tags): Improve tag inheritance.
1119         (org-scan-tags, org-make-tags-matcher): Make tag comparison
1120         case-sensitive.
1121         (org-scan-tags): Use the internal tags list instead of creating it
1122         from scratch.
1123         (org-trust-scanner-tags, org-scanner-tags): New variables.
1124         (org-scan-tags): Set `org-scanner-tags'.
1125         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
1126         (org-map-entries): Document the possible speedup using scanner
1127         tags.
1129 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
1131         * org.el (org-add-planning-info): Fix bug with looking for keyword
1132         only at column 0.
1134         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1135         option for tags filter preset.
1136         (org-prepare-agenda): Store filter preset as a property on the
1137         filter variable.
1138         (org-finalize-agenda): Call the filter, if there is a preset.
1139         (org-agenda-filter-by-tag): Filter again after clearing the
1140         filter, when there still is a preset.
1141         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
1142         Include the preset filter.
1143         (org-agenda-redo): Apply the filter again, also the preset filter.
1145         * org-exp.el (org-export-as-html): Use IDs in the correct way.
1147         * org.el (org-uuidgen-p): New funtion.
1149         * org-agenda.el (org-agenda-fontify-priorities): New default value
1150         `cookies'.
1151         (org-agenda-fontify-priorities): Renamed from
1152         org-fontify-priorities.
1154         * org.el (org-set-font-lock-defaults): Call
1155         `org-font-lock-add-priority-faces'.
1156         (org-font-lock-add-priority-faces): New function.
1158         * org-faces.el: (org-set-tag-faces): New option.
1159         (org-priority-faces): New variable.
1161         * org-exp.el (org-export-as-html): Add a "content" div around the
1162         entire content of the body tag.
1163         (org-export-html-get-bibliography): New function.
1164         (org-export-html-validation-link): New variable.
1165         (org-export-as-html): Add validation link to exported page.
1167         * org.el (org-match-sparse-tree): Renamed from
1168         `org-tags-sparse-tree'.
1169         (org-tags-sparse-tree): New alias.
1171 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
1173         * org.el (org-get-valid-level): Catch the case where the level
1174         change is nil.
1176         * org-clock.el (org-clock-find-position): Better indentation of
1177         new clock drawers.
1179 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
1181         * org-agenda.el (org-agenda-quit): Delete window only when the
1182         frame-setup was not `current-window'.
1184         * org.el (org-tag-persistent-alist): New option.
1185         (org-startup-options): Add keyword `noptag'.
1186         (org-fast-todo-selection): Handle :newline correctly.
1187         (org-set-tags): Handle :newline correctly.
1188         (org-fast-tag-selection): Handle :newline correctly.
1190 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
1192         * org-exp.el (org-export-as-ascii): Reverse link buffer before
1193         outputting it.
1194         (org-export-ascii-push-links): Fix bug with pussing links into the
1195         export buffer.
1197 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
1199         * org-archive.el (org-archive-subtree): Do not add 1 to level if
1200         pasting at top level.
1202         * org-bbdb.el: Improve documentation.
1204 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
1206         * org-list.el (org-insert-item): Only consider insert empty lines
1207         is `org-empty-line-terminates-plain-lists' is not nil.
1209         * org.el (org-blank-before-new-entry): Mention the dependence on
1210         `org-empty-line-terminates-plain-lists' in the docstring.
1212         * org-publish.el (org-publish-get-project-from-filename): New
1213         optional argument UP.  Only find the top project if UP is set.
1214         (org-publish-current-project): Find the top encloding project.
1216         * org-agenda.el (org-agenda-before-write-hook)
1217         (org-agenda-add-entry-text-maxlines): New options.
1218         (org-write-agenda): Run the new hook in the temporary buffer.
1219         (org-agenda-add-entry-text): New function.
1220         (org-write-agenda): Implement PDF export, using ps2pdf.
1222         * org.el (org-global-properties-fixed, org-global-properties):
1223         Improve documentation string.
1225         * org-exp.el (org-export-ascii-links-to-notes): New option.
1226         (org-export-as-ascii): Handle links better.
1227         (org-export-ascii-wrap, org-export-ascii-push-links): New
1228         functions.
1230 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
1232         * org-agenda.el (org-agenda): Make prefix arg optional.
1233         (org-agenda-search-headline-for-time): New option.
1234         (org-format-agenda-item): Honor
1235         `org-agenda-search-headline-for-time'.
1237         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
1238         characters.
1240         * org.el (org-self-insert-cluster-for-undo): New option.
1241         (org-self-insert-command): Cluster undo for 20 characters.
1242         (org-self-insert-command-undo-counter): New variable.
1244 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
1246         * org-exp.el (org-export-as-html): Fix problem with closing colone
1247         example.
1249 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
1251         * org-export-latex.el (org-export-as-latex)
1252         (org-export-latex-first-lines): Avoid modification flag when
1253         adding or removing text properties.
1254         (org-export-latex-fontify): Catch error when org-emph-alist has
1255         entries that are not defined for LaTeX export.
1257         * org.el (orgstruct++-mode): New function.
1258         (turn-on-orgstruct++): Call `orgstruct++-mode'.
1259         (org-context-p): Allow detecting item context after the first line
1260         of an item.
1261         (orgstruct-make-binding): Detect if item-body context should be
1262         seen.
1263         (orgstruct-is-++): New variable.
1264         (org-add-planning-info): Catch the case when there is no planning
1265         info yet and the call does not want to add anything, only maybe
1266         tries to remove something.
1267         (org-special-ctrl-a/e): All value to be a cons cell with separate
1268         settings for `C-a. and `C-e'.
1269         (org-beginning-of-line, org-end-of-line): Honor separate values
1270         for `C-a' and `C-e'.
1272 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
1274         * org.el (org-reload): New command.
1276 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
1278         * org-exp.el (org-export-htm-get-tag-class-name)
1279         (org-export-htm-get-todo-kwd-class-name): New functions.
1280         (org-export-html-tag-class-prefix)
1281         (org-export-html-todo-kwd-class-prefix): New options.
1282         (org-export-as-html): Call
1283         `org-export-html-get-todo-kwd-class-name'.
1284         (org-html-level-start): Wrap tags into classes.
1285         (org-export-html-get-tag-class-name)
1286         (org-export-html-get-todo-kwd-class-name): New functions.
1288         * org-export-latex.el (org-export-latex-collect-header-macros):
1289         Remove fields that are used anyway.
1290         (org-export-latex-make-header): Insert the options earlier.
1292         * org-agenda.el (org-agenda-get-progress): Fix bug with state
1293         matching.
1295         * org-list.el (org-indent-item): Allow point to be at the end of
1296         the region.
1298         * org.el (org-metaleft, org-metaright): Be more accurate about
1299         detecting a region where commands apply.
1301         * org-compat.el (org-cursor-to-region-beginning): New function.
1303         * org.el (org-priority): Also find invisible heading.
1305         * org-colview-xemacs.el (org-columns-edit-value): No special
1306         treatment for `org-todo' prefix.
1308         * org-colview.el (org-columns-edit-value): No special treatment
1309         for `org-todo' prefix.
1311         * org-remember.el (org-remember-apply-template): Use
1312         `org-completing-read-no-ido'.
1314         * org.el (org-completing-read-no-ido): New function.
1315         (org-make-tags-matcher, org-set-property): Use
1316         `org-completing-read-no-ido'.
1318         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
1319         New option.
1320         (org-export-as-latex): Import in-buffer settings as TeX macros.
1321         (org-export-latex-make-header): Additional parameter OPT-DEFS.
1322         (org-export-latex-collect-header-macros): New function.
1324         * org.el (org-refile-get-location): Turn off
1325         `partial-completion-mode'.
1327 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
1329         * org.el (org-block-todo-from-checkboxes): Announce that
1330         checkboxes are the culprit.
1331         (org-block-todo-from-children-or-siblings): Call
1332         `org-up-heading-all instead' of `outline-up-heading'.
1334         * org-agenda.el (org-agenda-show-1): Renamed from
1335         `org-agenda-show'.
1336         (org-agenda-show): Re-install the old version for now.
1337         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
1338         variable into the blokker hook, so that the checkbox checker can
1339         anounce that it caused the blocking.
1341         * org.el (org-track-ordered-property-with-tag): New option.
1342         (org-toggle-ordered-property): Honor
1343         `org-track-ordered-property-with-tag'.
1344         (org-tag-alist): Add newline options.
1345         (org-set-regexps-and-options): Separate option lines imply a
1346         newline.
1347         (org-set-regexps-and-options, org-assign-fast-keys)
1348         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
1349         option.
1350         (org-indent-line-function): Make sure this works even if there is
1351         not `org-drawer-regexp' defined.  This can happen when
1352         orgstruct-mode is used in a non-org buffer.
1354         * org-list.el (org-checkbox-blocked-p): New function.
1355         (org-toggle-checkbox): Check for blocking.
1357         * org.el (org-modules): Add an entry for org-R.el.
1359         * org-agenda.el (org-agenda-todo-ignore-with-date)
1360         (org-agenda-todo-ignore-scheduled)
1361         (org-agenda-todo-ignore-deadlines): Mention the variable
1362         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
1364         * org.el (org-get-wdays): Find the warning period also if it is in
1365         the wrong place.
1366         (org-ido-completing-read): Provide the correct arguments to
1367         ido-completing-read and bind `ido-enter-matching-directory' to
1368         nil.
1370 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
1372         * org.el (org-olpath-completing-read): Never use ido for this
1373         one.
1375         * org-exp.el (org-export-normalize-links): Use new macro.
1377         * org-macs.el (org-if-unprotected-at): New macro.
1379         * org-agenda.el (org-agenda-show): Allow numerical prefix
1380         arguments to specify how much context should be shown.
1381         (org-agenda-cycle-show): New command, could be bound to SPC in
1382         org-agenda-mode-map.
1384         * org-exp.el (org-html-level-start): Space after section number.
1386 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
1388         * org-agenda.el (org-agenda-get-sexps): Add todo state as
1389         property, for sorting.
1390         (org-cmp-todo-state): Get the applicable TODO keywords directly
1391         from the buffer.
1392         (org-run-agenda-series, org-agenda-list, org-search-view)
1393         (org-todo-list, org-tags-view): Only fit agenda window when the
1394         whole series is done.
1396         * org.el (org-scan-tags): Add todo state as property, for sorting.
1398         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1399         `org-agenda-overriding-header' as an option.
1400         (org-agenda-list): Honor org-agenda-overriding-header'.
1402 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
1404         * org-list.el (org-toggle-checkbox): Improve cursor positioning
1405         after removing a checkbox.
1407         * org.el (org-show-entry): Make this work correctly also if it is
1408         the last entry in the file.
1409         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
1410         falling back to normal, default command.
1411         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
1412         item, call the checkbox toggler to get a box.
1414         * org-list.el (org-toggle-checkbox): Make double prefix set the
1415         checkbox to "[-]".
1416         (org-fix-bullet-type): Only replace bullet it it is changed.
1417         (org-renumber-ordered-list): Handle case when first item does not
1418         have a number.
1420         * org.el (org-add-log-setup): Fix positioning when
1421         `org-log-states-order-reversed' is nil.
1423         * org-clock.el (org-clock-in): Fix positioning when
1424         `org-log-states-order-reversed' is nil.
1425         (org-clock-find-position): Fix positioning when
1426         `org-log-states-order-reversed' is nil.
1428 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
1430         * org-clock.el (org-clock-into-drawer): Take default from
1431         `org-log-into-drawer'.
1432         (org-clock-find-position): Look for the correct drawer.
1434         * org.el (org-log-into-drawer): Renamed from
1435         `org-log-state-notes-into-drawer'.
1436         (org-log-state-notes-into-drawer): New variable alias.
1437         (org-add-log-setup): Make drawer name default to LOGBOOK, not
1438         CLOCK.
1439         (org-insert-property-drawer): Also skip LOGBOOK drawers.
1441 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
1443         * org-agenda.el (org-agenda): Fix docstring.
1445         * org.el ("org-plot"): Help loading org-plot.
1446         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
1447         (org-metadown-hook, org-shiftmetaleft-hook)
1448         (org-shiftmetaright-hook, org-shiftmetaup-hook)
1449         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
1450         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
1451         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
1452         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
1454         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
1455         for selecting files with any (and even without) extension.
1457         * org.el (org-save-all-org-buffers): Also save id locations.
1458         (org-revert-all-org-buffers): Also load id locations.
1460 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
1461         * org.el (org-drawers): Add LOGBOOK to the default drawers.
1462         (org-log-state-notes-into-drawer): New option.
1463         (org-add-log-setup): Place the sate note marker into the drawer,
1464         create drawer when necessary.
1465         (org-refile-targets): Document special interpretation of LEVEL
1466         when odd-levels are used.
1468 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
1470         * org.el (org-store-log-note): Fix note indentation when adding
1471         notes to end of list.
1473         * org-exp.el (org-export-as-html): Add TODO keyword as extra
1474         class, so that each keyword can get special colors through CSS.
1476         * org-clock.el (org-clock-out): Add another nil for the previous
1477         state into the call to `org-add-log-setup'.
1479         * org.el (org-log-note-previous-state): New variable.
1480         (org-log-note-headings): New %S escape for old state.
1481         (org-todo): Call the note setup with the old state as an
1482         argument.
1483         (org-add-note): Add another nil for the previous state into the
1484         call to `org-add-log-setup'.
1485         (org-add-log-setup): New argument PREV-STATE.
1486         (org-add-log-note): Handle new %S escape.
1487         (org-store-log-note): Handle new %S escape.
1489 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
1491         * org-clock.el (org-clock-find-position): Do not swallow an item
1492         less indented than the CLOCK line itself.
1493         (org-clock-in): Push markers to lin after the clock line.
1494         (org-clock-find-position): Handle values of
1495         `org-clock-into-drawer' smaller than 2.
1497         * org-exp.el (org-html-level-start): Add a CSS class to section
1498         numbers.
1499         (org-export-html-toplevel-hlevel): Better documentation of the
1500         influence of this variables on H levels and css classes in
1501         export.
1503 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
1505         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1506         timestamp and nottimestamp to the chooe menu.
1508         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
1509         (org-revert-all-org-buffers): New command.
1511 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
1513         * org.el (org-return): Implement `org-return-follows-link' in the
1514         function org-return.  This is more robust than using the mouse
1515         map, I think.
1516         (org-set-regexps-and-options): Match more general #+TODO lines.
1517         (org-make-options-regexp): New optional argument EXTRA, for an
1518         extra regexp.
1519         (org-tab-follows-link): Mark as deprecated.
1521 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
1523         * org-exp.el (org-export-preprocess-string): Remove clock lines
1524         earlier, so that they cannot cotribute to verbatim snippets.
1526 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
1528         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
1529         for finding drawers.
1530         (org-export-as-ascii, org-export-as-html): Count levels relative
1531         to the subtree header.
1532         (org-get-min-level): New optional argument OFFSET.
1533         (org-export): Make sure point is restored after popping up that
1534         window.
1536         * org.el (org-do-sort): Also take an inactive timestamp if no
1537         active one is found.
1539         * org-colview-xemacs.el (org-columns-capture-view): Copy before
1540         deleting duplicates.
1542         * org-colview.el (org-columns-capture-view): Copy before
1543         deleting duplicates.
1545         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
1546         text before first headline.
1548         * org.el (org-format-latex): Do not convert LaTeX fragments in
1549         protected examples.
1551 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
1553         * org-exp.el (org-export-html-style-default): Use color values
1554         instead of names for XHTML validation.
1556         * org.el (org-get-scheduled-time, org-get-deadline-time): New
1557         functions.
1558         (org-return-follows-link): Revert making this the default untile
1559         issues are resolved.
1561         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
1562         nottimestamp.
1564 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
1566         * org.el (org-mode): Make dependence stuff work more reliably.
1567         (org-update-parent-todo-statistics): Fix bug with updating
1568         statistics cookie.
1570         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
1571         ~ as verbatim delimiters.
1573         * org-exp.el (org-export-html-format-image): New argument
1574         PAR-OPEN.
1575         (org-export-as-html): Pass par-open to
1576         `org-export-html-format-image'.
1578 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
1580         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
1581         (org-use-fast-todo-selection, org-tags-column): New default
1582         setting for variables, based on a poll what typical uses use.
1584         * org-agenda.el (org-agenda-sorting-strategy)
1585         (org-agenda-tags-column): New default setting for variables, based
1586         on a poll what typical uses use.
1588 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
1590         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
1591         blocked entries from setting the blocked tag.
1593         * org-exp.el (org-export-html-footnotes-section): Use a more
1594         consistent id for footnotes.
1596         * org-export-latex.el (org-export-latex-classes): Remove the
1597         a4paper option from the default styles.
1599 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
1601         * org.el (org-enforce-todo-checkbox-dependencies): New option.
1602         (org-block-todo-from-checkboxes): New function.
1603         (org-todo): Make tripple prefix arg circumvent blocking.
1605         * org-timer.el (org-timer): Provide the timer feature.
1607         * org.el (org-require-autoloaded-modules): Add a few more files to
1608         the list of autoloaded modules.
1610         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
1612 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
1614         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
1615         drawers that are unprotected.
1616         (org-export-html-format-image): Make sure inlined LaTeX fragment
1617         images remain inlined.
1619         * org.el (org-toggle-ordered-property): New function.
1620         (org-mode-map): Add a key for `org-toggle-ordered-property'.
1621         (org-org-menu): Add menu entries for TODO dependencies.
1623 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
1625         * org.el (org-default-properties): Add ORDERED to the default
1626         properties, to get completion support for it.
1628         * org-list.el (org-update-checkbox-count): Update more than one cookie.
1630         * org.el (org-update-parent-todo-statistics): Update more than one
1631         cookie.
1633         * org-agenda.el (org-agenda-get-todos): Start search from correct
1634         position.
1636         * org.el (org-fast-todo-selection): Make sure TODO selection does
1637         not change buffer position.
1639         * org-list.el (org-toggle-checkbox): Implement adding or removing
1640         checkboxes from line or region when called with a prefix
1641         argument.
1643         * org-rmail.el (org-rmail-store-link): Protect the call to
1644         `rmail-narrow-to-non-pruned-header'.
1646         * org-clock.el (org-clock-special-range): Fix week display in
1647         clock tables.
1649         * org-exp.el (org-get-current-options): Fix bug when in indirect
1650         buffer.
1652 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
1654         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
1655         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
1656         (org-agenda-dim-blocked-tasks): New function.
1658         * org.el (org-enforce-todo-dependencies): New option.
1659         (org-block-todo-from-children-or-siblings): New function.
1661         * org-faces.el (org-agenda-dimmed-todo-face): New face.
1663         * org.el (org-todo): Return correct state type even if the blocker
1664         throws an error.
1665         (org-modifier-cursor-error): Renamed from
1666         `org-shiftcursor-error'.
1667         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
1668         (org-shiftmetadown): Call `org-modifier-cursor-error'.
1670         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
1671         to get real errors from the blocker hook.
1673         * org.el (org-shiftselect-error, org-call-for-shift-select): New
1674         functions.
1675         (org-set-visibility-according-to-property): Turn off the setting
1676         of `org-show-entry-below', to avoid overruling a FOLDED visibility
1677         property.
1679 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
1681         * org.el (org-support-shift-select): New option.
1682         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
1683         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
1684         selection outside contexts.
1686         * org-list.el (org-at-item-bullet-p): New function.
1688         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
1689         variables.
1691         * org-footnote.el (org-footnote-normalize): Remove unnecessary
1692         variable.
1693         (org-insert-footnote-reference-near-definition): Remove
1694         unnecessary let form.
1696         * org-export-latex.el (org-export-latex-first-lines): Add
1697         OPT-PLIST parameter.
1698         (org-export-as-latex): Call `org-export-latex-first-lines' with
1699         opt-plits parameter.
1700         (org-export-latex-preprocess): Remove unnecessary variables.
1702         * org-exp.el (org-infile-export-plist)
1703         (org-export-add-options-to-plist, org-export-kill-licensed-text)
1704         (org-export-remove-headline-metadata)
1705         (org-export-get-title-from-subtree, org-get-min-level)
1706         (org-html-do-expand): Remove innecessary let form.
1708         * org-colview-xemacs.el (org-columns-display-here): Remove
1709         unnecessary variables.
1711         * org-colview.el (org-columns-display-here): Remove unnecessary
1712         variables.
1714         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
1715         variables.
1717         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
1718         unnecessary variables.
1720         * org-agenda.el (org-search-view, org-agenda-get-blocks)
1721         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
1722         variables.
1724         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
1725         (org-compact-display-after-subtree-move): Remove unnecessary
1726         variables.
1727         (org-edit-fixed-width-region): Remove unnecessary variables.
1728         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
1729         (org-olpath-completing-read): Remove unnecessary variable.
1730         (org-auto-repeat-maybe): Remove unnecessary variable.
1731         (org-map-entries): Remove unnecessary variable.
1732         (org-buffer-property-keys, org-imenu-get-tree)
1733         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
1735 -----------------------------------------------------------------
1737 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
1738         * org-exp.el (org-export-remove-timestamps): Never remove
1739         timestamps from tables.
1741         * org-export-latex.el (org-export-latex-first-lines): Add more
1742         options to the preprocessing of the text before the first
1743         headline.
1745 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
1747         * org-faces.el (org-clock-overlay): Make face compatible with
1748         XEmacs.
1750         * org.el (org-yank): Add property for delete-selection mode.
1752         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
1754         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
1755         variable.
1757         * org-table.el (org-table-insert-hline): Fix typo in fuction call
1758         to `backward-char'.
1760         * org-exp.el (org-export-as-html): Remove the initial space from
1761         colon examples.
1763         * org.el (org-scan-tags): Call
1764         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
1766         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
1767         customization groups.
1768         (org-agenda-tags-todo-honor-ignore-options): New option.
1769         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1770         New function.
1771         (org-agenda-get-todos): Use
1772         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
1774 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
1776         * org-exp.el (org-export-format-source-code-or-example): Escape
1777         HTML characters also in examples that anre not treated with
1778         htmlize.  Also, just switch to EXAMPLE processing if we do not
1779         have a good version of htmlize.
1781         * org-rmail.el: Fix copyright notice.
1783         * org.el (org-activate-footnote-links): Improve footnote link
1784         highlighting.
1786         * org-footnote.el (org-footnote-normalize): Fix finding the end of
1787         a footnote definition at the end of the file.
1789         * org-table.el (org-table-get-specials): Add an imagined hline at
1790         the end of the table.  This can be useful for references that want
1791         to go to the end of the table.  Also fix bug when computing last
1792         row constants, in tables that do not start right at the right
1793         margin.
1794         (org-table-eval-formula): Match and replace remove references.
1795         (org-table-formula-substitute-names): Make sure that names inside
1796         a "remote" call are left alone, the will be replaced later when
1797         the remote call is handled.
1798         (org-table-convert-refs-to-rc): Do not convert things that might
1799         look like a reference, but are really part of an ID or namei n a
1800         remote reference.
1801         (org-table-get-remote-range): New function.
1803 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
1805         * org-faces.el (org-clock-overlay): Fix bug in face definition.
1807         * org-clock.el (org-clock-put-overlay): Use new face instead of
1808         `secondary-selection'.
1810         * org-faces.el (org-clock-overlay): New face.
1812 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
1814         * org-exp.el (org-get-current-options): Include the option for
1815         publishing time stamps.
1817         * org.el (org-toggle-heading): Renamed from
1818         `org-toggel-region-headings'.
1819         No longer needs a region defined, but will use it if there is one.
1820         (org-ctrl-c-star): Simplified, relying more on the internal
1821         workings of `org-toggle-heading'.
1822         (org-toggle-item): Renamed from `org-toggle-region-items'.
1823         No longer needs a region defined, but will use it if there is one.
1824         (org-ctrl-c-minus): Simplified, relying more on the inernal
1825         workings of `org-toggle-item'.
1827         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
1828         environment detection.  Also, do real changes only in unprotected
1829         places.
1831 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
1833         * org-export-latex.el (org-export-latex-quotation-marks): Use
1834         `org-if-unprotected-1'.
1835         (org-export-latex-set-initial-vars): Check for class definition in
1836         property.
1838         * org-macs.el (org-if-unprotected-1): New macro.
1840 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
1842         * org-compat.el (org-count-lines): New function.
1844         * org-exp.el (org-export-format-source-code-or-example): Handle
1845         switches related to text areas.
1847         * org.el (org-activate-footnote-links): Don't allow match inside a
1848         link.
1850         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
1852         * org-export-latex.el (org-export-latex-links): Keep a relative
1853         path relative also after export.
1855         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
1857         * org.el (org-make-tags-matcher): Never use IDO for completing the
1858         tags matcher match string.
1859         (org-completing-read): Also remove the special biding for "?".
1861         * org-attach.el (org-attach-allow-inheritance): New option.
1862         (org-attach-inherited): New variable.
1863         (org-attach-dir): Handle properties related to the attachment
1864         directory.
1865         (org-attach-check-absolute-path): New function.
1866         (org-attach-set-directory, org-attach-set-inherit): New commands.
1867         (org-attach): Accommodate the new commands in the dispatcher.
1869 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
1871         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
1872         `window-full-width-p'.
1874         * org-exp.el (org-export-as-html): Only check for images files
1875         that really can be inlined
1877         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
1878         list of extensions to be a parameter.
1880         * org-exp.el (org-export-html-inline-image-extensions): New
1881         variable.
1883         * org-agenda.el (org-prepare-agenda): Use
1884         `org-agenda-block-separator'.
1885         (org-agenda-block-separator): New option.
1887 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
1889         * org-export-latex.el (org-export-latex-tables): Call
1890         `org-table-clean-before-export' with the new optional argument.
1892         * org-exp.el (org-table-clean-before-export): New optional
1893         parameter MAYBE-QUOTED, allows for quoted characters like \# in
1894         first column.
1896 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
1898         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
1899         histograms.
1901         * org-colview.el (org-colview-construct-allowed-dates): Better
1902         error catching when a date/time property does not have allowed
1903         values defined.
1905         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
1906         Better error catching when a date/time property does not have
1907         allowed values defined.
1909 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
1911         * org.el (org-map-entries): Restore point and restriction after
1912         `org-map-entries'.
1914 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
1916         * org.el (org-time=, org-time<, org-time<=, org-time>)
1917         (org-time>=, org-time<>): Make sure both values are dates.
1919 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
1921         * org-archive.el (org-extract-archive-heading): Allow %s for file
1922         name also in achive location heading.
1924 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
1926         * org-archive.el (org-add-archive-files): Uniquify the list before
1927         returning it.
1929 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
1931         * org-compat.el (org-fit-window-to-buffer): Use
1932         `window-full-width-p'.
1934         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
1935         space after the colon in short examples.
1937         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
1938         enforce a space after the colon.  However, we also allow lines
1939         that are *only* a colon.
1940         (org-export-as-html): Enforce the space after the colon in short
1941         examples.
1942         (org-export-preprocess-string): Do the colon example protection
1943         earlier.
1944         (org-export-remove-timestamps): Do not check for protection at the
1945         end of the line.
1947 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
1949         * org.el (org-format-latex-options): Add new matcher for single
1950         letters between dollars.
1951         (org-get-header): Function removed.
1952         (org-heading-components): New function.
1954         * org-exp.el (org-export-define-heading-targets): Record ID's also
1955         as alternative targets.
1956         (org-export-as-html): Interpret "id:" links to other files by
1957         preserving the relative path.
1959         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
1960         is nil.
1962         * org-exp.el (org-export-normalize-links): Protect the main link,
1963         to avoid special character processing.
1965         * org-export-latex.el (org-export-latex-special-keyword-regexp):
1966         New variable.
1967         (org-export-latex-special-string-regexps): Variable removed.
1968         (org-export-latex-keywords): Use the new regexp.
1970         * org-exp.el (org-export-handle-include-files): Fetch switches and
1971         put them into the BEGIN statement.
1973         * org-timer.el (org-timer-mode-line-string): New variable.
1975         * org-clock.el (org-clock-mode-line-map): Renamed from
1976         `org-clock-mode-map'.
1977         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
1978         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
1979         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
1980         (org-clock-remove-overlays): Renamed from
1981         `org-remove-clock-overlays'.
1983         * org-timer.el (org-timer-pause-or-continue): Implement stopping
1984         and mode line display.
1985         (org-timer-stop): New command.
1986         (org-timer-seconds): Return correct time when timer is paused.
1987         (org-timer-mode-line-timer): New variable.
1988         (org-timer-set-mode-line, org-timer-update-mode-line): New
1989         functions.
1991         * org.el (org-insert-heading):  Handle new value `auto' for
1992         `org-blank-before-new-entry'.
1993         (org-org-menu): Add new items for timer functions.
1995         * org-list.el (org-insert-item): Handle new value `auto' for
1996         `org-blank-before-new-entry'.
1998         * org.el (org-blank-before-new-entry): New value `auto', made
1999         default.
2001 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
2003         * org-exp.el (org-export-normalize-links): If the link is also
2004         used as the description, protect the description.
2006 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
2008         * org.el (org-closest-date): Fix bug with yearly repeats, in
2009         combination with preference of the past as it is used for deadline
2010         and scheduling search.
2012         * org-exp.el (org-html-handle-time-stamps): No longer check for
2013         the `org-export-with-timestamps' option, because the preprocesser
2014         has taken care of this already.
2016         * org.el (org-entry-properties): Catch the case when this is
2017         called in a non-org-mode file.
2019         * org-export-latex.el (org-export-latex-remove-from-headlines):
2020         Variable made obsolete, also LaTeX export now uses the standard
2021         variables.
2022         (org-export-as-latex): Add the timestamps parameter to the
2023         preprocessor parameter list.
2024         (org-export-latex-content): Export the remaining keywords without
2025         considering to remove them.
2026         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2027         Use bold font instead of tt font for the keywords.
2028         (org-export-latex-fontify-headline): Format headlines, assuming
2029         that all keywords still present should be published.
2030         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2031         publish what ever remains of the time stamps.
2032         (org-export-latex-list-parameters): New option.
2033         (org-export-latex-lists): Pass additional parameters to the list
2034         converter.
2036         * org-exp.el (org-export-preprocess-string): Remove clock lines
2037         and timestamps already in the preprocesor.
2038         (org-export-remove-timestamps, org-export-remove-clock-lines): New
2039         functions.
2040         (org-export-as-ascii, org-export-as-html): Add the timestamps
2041         parameter to the preprocessor parameter list.
2043         * org-list.el (org-list-parse-list): Parse for checkboxes.
2044         (org-list-to-generic): Introduce and handle new parameters :cbon
2045         and :cboff.
2046         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2047         optional parameter PARAMS.
2049         * org-export-latex.el (org-export-latex-special-chars): Fix
2050         problems with interpreting dollar signs.
2051         (org-inside-latex-math-p): New function.
2052         (org-export-latex-preprocess): Protect all the math fragments.
2054         * org.el (org-latex-regexps): Allow a dash after a dollar.
2056         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2057         mark after copying.
2059         * org-agenda.el (org-run-agenda-series): Have series options set
2060         when finalizing the agenda.
2062         * org-exp.el (org-export-format-source-code-or-example): Protect
2063         the converted examples.
2065         * org.el (org-set-regexps-and-options): Fix the regexp
2066         `org-complex-heading-regexp'.
2068 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
2070         * org.el (org-edit-src-get-label-format): New function.
2071         (org-coderef-label-format): New option.
2072         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2073         a label format specification and make sure it is used in the edit
2074         buffer.
2075         (org-edit-src-get-label-format): New function.
2076         (org-store-link): Handle new coderef formats.
2077         (org-link-search): Handle new coderef formats.
2079         * org-footnote.el (org-footnote-create-definition)
2080         (org-footnote-goto-local-insertion-point): Make footnote insertion
2081         work correctly when the "Footnotes" headline is the last line in
2082         the buffer.
2084         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2085         the location.
2087 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
2089         * org-w3m.el (org-w3m): New customization group.
2090         (org-w3m-deactivate-mark): New option.
2091         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2092         option say not to.
2094 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
2096         * org.el (org-set-font-lock-defaults): Trigger footnote
2097         fontification.
2098         (org-activate-footnote-links): New function.
2099         (org-activate-links): New entry `footnote'.
2101         * org-faces.el (org-footnote): New face.
2103 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
2105         * org-macs.el (org-re): Handle the [:word:] class.
2107         * org-exp.el (org-export-preprocess-string): Call
2108         `org-export-protect-colon-examples'.
2109         (org-export-protect-colon-examples): Renamed from
2110         `org-export-protect-examples', and scope limited to lines starting
2111         with a colon.
2113 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
2115         * org-exp.el (org-export-preprocess-string): Move the preprocess
2116         hook to after turning on Org-mode.
2117         (org-export-preprocess-after-include-files-hook)
2118         (org-export-preprocess-after-tree-selection-hook)
2119         (org-export-preprocess-before-backend-specifics-hook)
2120         (org-export-preprocess-final-hook): New hooks.
2121         (org-export-preprocess-string): Run the new hooks.
2123         * org.el (org-ctrl-c-minus): Fix indentation for new items.
2125         * org-footnote.el: New file.
2127         * org.el (org-footnote): Require footnote code.
2128         (org-startup-options): Add new footnote options.
2129         (org-mode-map): New keybindig for footnotes.
2130         (org-ctrl-c-ctrl-c): Add function at footnotes.
2131         (org-org-menu): New menu entries for footnotes.
2133         * org-export-latex.el (org-export-as-latex): Pass footnote
2134         variable to preprocessor.
2135         (org-export-latex-preprocess): Treat multiple references to a
2136         footnote.
2138         * org-exp.el (org-export-preprocess-string): Call
2139         `org-footnote-normalize'.
2140         (org-export-as-ascii, org-export-as-html): Pass footnote variable
2141         to preprocessor.
2142         (org-export-as-html): Treat multiple references to a footnote.
2144 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
2146         * org-export-latex.el (org-export-latex-links): Handle coderef
2147         links.
2149         * org.el (org-bracket-link-analytic-regexp++): New variable.
2150         (org-make-link-regexps): Initialize
2151         `org-bracket-link-analytic-regexp++'.
2152         (org-store-link): Implement special case in edit-src buffer.
2153         (org-insert-link): No use of ide to insert stored links.
2154         (org-link-search): Implement special case for coderefs.
2156         * org-exp.el (org-export-html-scripts): New constant.
2157         (org-export-html-style-default): Add a new style for highlighted
2158         code.
2159         (org-export-code-refs): New variable.
2160         (org-export-preprocess-string): Initialize `org-export-code-refs'.
2161         Call `org-export-replace-src-segments-and-examples'
2162         No longer call `org-export-protect-examples'.
2163         (org-export-target-internal-links): Take care of coderef targets.
2164         (org-export-last-code-line-counter-value): New variable.
2165         (org-export-replace-src-segments-and-examples): Renamed from
2166         `org-export-replace-src-segments', and modified.
2167         (org-export-format-source-code-or-example): Renamed from
2168         `org-export-format-source-code'.
2169         (org-export-number-lines): New function.
2170         (org-export-as-ascii, org-export-as-html): Handle coderef links.
2172 --------------------------------------------------------------------------
2174 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
2176         * org-remember.el (org-remember-handler): Safer way to get a new
2177         buffer accessing the target file.
2179         * org.el (org-refile-get-location): Handle case of current buffer
2180         not having a file associated with it.
2182 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
2184         * org-table.el (org-table-get-formula): Only ask to overwrite
2185         field formula if there really is one.
2187         * org-id.el (org-id-find): Allow the ID to be a symbol or a
2188         number, by converting these to a string.
2190         * org-colview.el (org-dblock-write:columnview): Allow ID to be
2191         located in a different file.
2193         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
2194         org-colview.el.
2196 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
2198         * org.el (org-completion-use-ido): Enhance docstring of
2199         `org-completion-use-ido'.
2201         * org-export-latex.el (org-export-latex-make-header): Double the %
2202         in the time stamp format.
2203         (org-export-latex-special-chars): Handle case where there is no
2204         match group 3.
2206 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
2208         * org.el (org-get-refile-targets, org-refile-get-location): Use
2209         expanded file name to improve comparison.
2211 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
2213         * org.el (org-scan-tags): Rescan for tags, to get the correct
2214         upcase/downcase stuff.  This slows things down for now, but it
2215         works.
2216         (org-mode): Make sure the tag-faces regexp is initialized.
2218         * org-export-latex.el (org-export-latex-links): Fix bug with
2219         undefined label.
2221         * org-table.el (org-table-get-specials): Set
2222         `org-table-current-last-data-line'.
2223         (org-table-current-last-data-line): New variable.
2224         (org-table-insert-column, org-table-delete-column)
2225         (org-table-move-column, org-table-fix-formulas): Call
2226         `org-table-fix-formulas' a second time to fix the $LR references.
2227         (org-table-get-specials): Add the $LR references to the tables.
2228         (org-table-get-formula): Do not offer last-row names as LHS of
2229         formulas.
2231         * org.el (org-store-link): Capture link description from
2232         `org-id-store-link'.
2234         * org-exp.el (org-export-html-format-image): Add the / to the end
2235         of the <img> tag.
2236         (org-export-format-source-code): Surround example by empty lines,
2237         to make sure it will not be inside a paragraph.
2239         * org.el (org-ido-switchb): New function.
2241 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
2243         * org-agenda.el (org-agenda-show): New prefix argument
2244         FULL-ENTRY.
2246         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
2247         argument.
2249         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
2250         `org-agenda-change-all-lines'.
2251         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
2252         tags are now retrieved locally.
2254 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
2256         * org.el (org-get-outline-path): Fix bug if level is not given.
2257         (org-org-menu): Do not quote function in menu vector.
2259         * org-agenda.el (org-finalize-agenda): Fix typo with variable
2260         name.
2262 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
2264         * org.el (org-refile): Avoid refiling to within the region to be
2265         refiled.
2267         * org-export-latex.el (org-export-latex-special-chars): Replace
2268         special characters also in tables.
2270         * org-agenda.el (org-agenda-change-all-lines): New argument
2271         FORCE-TAGS.
2272         (org-agenda-set-tags): Cet the new tags and pass them to
2273         `org-format-agenda-item'.
2275 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
2277         * org-export-latex.el (org-export-latex-classes): Add longable as
2278         a default package to all classes.
2279         (org-export-latex-tables): Handle the longtable attribute and the
2280         align attribute.
2282         * org-table.el (orgtbl-to-generic): Handle tables that start with
2283         a hline.
2285         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
2286         \verb for colde-like snippets.
2287         (org-export-as-latex): Fix issues with region export.
2289         * org.el (org-up-heading-safe): Speed up function by using a
2290         direct regexp search.
2291         (org-olpa): New variable.
2292         (org-get-outline-path): Speed-up path constructions in cases where
2293         this is possible because the entire hierarchy is scanned anyway.
2294         (org-refile-get-location): Don't compare the truenames of files,
2295         this is too slow.
2296         (org-goto-max-level): New option.
2297         (org-goto): Use `org-goto-max-level'.
2299 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
2301         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
2302         Strip angle brackets from message-ids in the former and don't do
2303         it in the latter.
2304         (org-gnus-follow-link): Open summary reliable, even if the last
2305         messages were deleted, and handle empty groups, too.
2307 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
2309         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
2310         instead of \texttt for the =...= and ~===~ emphasis environments.
2311         (org-export-as-latex): Remove any old :org-license-to-kill text
2312         properties.
2313         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
2314         (org-export-latex-make-header): Add some hard space after the
2315         table of contents.
2316         (org-export-latex-first-lines): Accept RBEG argument.  Mark
2317         exported text so that it will be excuded in further steps.
2319         * org-table.el (org-table-get-specials): Make @0 reference the
2320         last line in a table.
2321         (org-table-recalculate): Improve docstring.
2323 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
2325         * org.el (org-log-done): Fix docstring.
2327 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
2329         * org-exp.el (org-export-html-format-image): Fix bugs.
2331         * org-export-latex.el (org-export-latex-tables)
2332         (org-export-latex-links): Implement attribute, label, and caption
2333         handling.
2335         * org-exp.el (org-export-html-style-default): Add style
2336         definitions for the figure div.
2337         (org-export-preprocess-string, org-export-as-html): Implement
2338         attribute, label, and caption handling.
2339         (org-export-attach-captions-and-attributes): New function.
2340         (org-export-html-format-image): New function.
2341         (org-format-org-table-html): Implement attribute, label, and
2342         caption handling.
2344         * org.el (org-find-text-property-in-string): New function.
2345         (org-extract-attributes): Use the property org-attr instead of
2346         org-attrobutes, because this property is now set with the #+ATTR
2347         lines.
2349 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
2351         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
2352         the case that FROM is nil.
2354         * org.el (org-before-first-heading-p): New function.
2356 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
2358         * org-exp.el (org-export-as-html): Do not add a space before
2359         enforces line breaks.
2360         (org-export-as-html): Close paragraph before blockquote and verse
2361         tags.
2363 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
2365         * org-id.el (org-id-locations-file): Wrap file name with
2366         `convert-standard-filename'.
2367         (org-id-files): New variable.
2368         (org-id-use-hash): New option.
2369         (org-id-update-id-locations): Also search in all files current
2370         listed in `org-id-files'.  Convert the resulting alist to a hash
2371         if the user customation says so.
2372         (org-id-locations-save): Handle he case if `org-id-locations' is a
2373         hash.
2374         (org-id-locations-load): Convert the alist to a hash.
2375         (org-id-add-location): Handle the hast case.
2376         (kill-emacs-hook): Make sure id locations are saved when Emacs is
2377         exited.
2378         (org-id-hash-to-alist, org-id-alist-to-hash)
2379         (org-id-paste-tracker): New functions.
2381 -------------------------------------------------------------------------
2383 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
2385         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
2386         bindings of calendar variables.
2388         * org-table.el (org-table-find-row-type): Renamed from
2389         `org-find-row-type'.
2390         (org-table-rewrite-old-row-references): Renamed from
2391         `org-rewrite-old-row-references'.
2392         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
2393         (org-table-cleanup-narrow-column-properties): Renamed from
2394         `org-cleanup-narrow-column-properties'.
2396 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
2398         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
2399         for better error messages.
2400         (org-table-get-descriptor-line): Supply the new arguments to
2401         `org-find-row-type'.
2402         (org-table-error-on-row-ref-crossing-hline): New option.
2404         * org.el (org-target-link-regexp): Make buffer-local.
2405         (org-move-subtree-down): Fix bug with trees at beginning of
2406         buffer.
2408 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
2410         * org-faces.el (org-set-tag-faces): New function.
2411         (org-tags-special-faces-re): New variable.
2413         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
2415         * org-faces.el (org-tag-faces): New option.
2416         (org-tag): Mention `org-tag-faces' in the docstring.
2418 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
2420         * org-exp.el (org-export-html-style-default): Implement new
2421         quoting.
2423         * org-jsinfo.el (org-infojs-template): Implement new quoting.
2425         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
2426         command to the `w3m-minor-mode-map'.
2428         * org-archive.el (org-archive-to-archive-sibling): Protect
2429         `this-command' to avoid appending kills during archiving.
2431         * org-exp.el (org-export-with-priority): New variable.
2432         (org-export-add-options-to-plist): Use `org-export-plist-vars'
2433         instead of internal list of strings and properties.
2434         (org-print-icalendar-entries): Retrieve the location property with
2435         inheritance.
2437 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
2439         * org-exp.el (org-export-with-todo-keywords): New option.
2440         (org-export-plist-vars): Include also the keys for the #+OPTIONS
2441         line.
2442         (org-default-export-plist, org-export-add-options-to-plist)
2443         (org-export-as-ascii, org-export-as-html): Use the new structure
2444         of `org-export-plist-vars'.
2446         * org.el (org-map-entries): Return all values.
2448 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
2450         * org.el (org-matcher-time): Recognize more special values.
2452         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
2454 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
2456         * org.el (org-tags-exclude-from-inheritance): New option.
2457         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
2458         `org-tags-exclude-from-inheritance'.
2460         * org-agenda.el (org-agenda-show-inherited-tags): New option.
2461         (org-format-agenda-item): Add inherited tags to the agenda line
2462         string, and make sure that properties are kept when downcasing the
2463         tags list.
2464         (org-agenda-add-inherited-tags): New function.
2465         (org-downcase-keep-props): New function.
2467         * org.el (org-scan-tags): Mark inherited tags with a text
2468         property.
2469         (org-get-tags-at): Mark inherited tags with a text property.
2470         (org-add-prop-inherited): New function.
2472         * org-agenda.el (org-agenda-add-inherited-tags): New function.
2473         (org-agenda-show-inherited-tags): New option.
2475 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
2477         * org.el (org-modules): Add org-w3m to the default modules.
2479         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
2480         orgtbl-mode.
2481         (orgtabl-create-or-convert-from-region): New command.
2483         * org-exp.el (org-export-as-ascii): Remove the handling of
2484         targets.
2485         (org-export-ascii-preprocess): Handle targets already in this
2486         function.
2488 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
2490         * org-timer.el (org-timer-start-time): Define this variable.
2491         (org-timer-item): Make argument optional.
2493         * org-list.el (org-insert-item): Automatically insert a timer item
2494         if the current list is a timer list.
2496         * org-timer.el: New file.
2498         * org-publish.el (org-publish-org-index): Only exclude the index
2499         file in the main directory from being added to the site-map.
2500         (org-publish-get-project-from-filename): If the current project is
2501         a component, start publishing from the parent project.
2503 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
2505         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
2507         * org-publish.el (org-publish-org-index): Improve removal of
2508         temporary buffers.
2510         * org-agenda.el (org-get-closed): Re-apply changes
2511         accidentially overwritten by last commit to Emacs.
2513         * org.el (org-outline-path-complete-in-steps): New option.
2514         (org-refile-get-location): Honor
2515         `org-outline-path-complete-in-steps'.
2516         (org-agenda-change-all-lines, org-tags-sparse-tree)
2517         (org-time-string-to-absolute, org-small-year-to-year)
2518         (org-link-escape): Re-apply changes accidentially overwritten
2519         by last commit to Emacs.
2521 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
2523         * org-clock.el (org-dblock-write:clocktable): Make sure the
2524         clocktable sees the first line.
2525         (org-clock-in): Warn if the clock cannot be resumed.
2527 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
2529         * org.el (org-open-at-point): Fix mixup about interactive and
2530         non-interactive elisp links.
2532 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
2534         * org-exp.el (org-export-preprocess-string): Allow one comment
2535         line before the first headline to always be included.  This is
2536         to not miss a commented target.
2538         * org-mouse.el (org-mouse-insert-item): Call
2539         `org-indent-to-column' instead of `indent-to', for XEmacs
2540         compatibility.
2542         * org.el (org-refile-targets): Fix customize definition so
2543         that it works also in XEmacs.
2544         (org-fixup-indentation): Call `org-indent-to-column' instead
2545         of `indent-to', for XEmacs compatibility.
2547 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
2549         * org-mew.el (org-mew-store-link): Get the correct case folder
2550         for refiled messages.
2552 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
2554         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
2555         line break indicators.
2557         * org.el (org-ido-completing-read): Remove the "i:" prefix for
2558         ido-completion propts.
2560 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
2562         * org-remember.el (org-remember-apply-template): Use
2563         `org-substring-no-properties'.
2565         * org-compat.el (org-substring-no-properties): New function.
2567         * org-remember.el (org-remember-apply-template): Use
2568         `org-substring-no-properties' for compatibility.
2570         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
2571         option.
2572         (org-fix-bullet-type): respect
2573         `org-list-two-spaces-after-bullet-regexp'.
2575         * org-clock.el (org-clock-load): Clean up the code.
2577         * org.el (org-adaptive-fill-function): Allow two spaces after
2578         "1." as a list bullet.
2580 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
2582         * org-clock.el (org-clock-save, org-clock-load): Check for
2583         live buffers, existing files, and buffer file names to ensure
2584         consistent information.
2585         (org-clock-persist): Make `clock' a special value of this
2586         variable, and improve docstring.
2588         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
2589         (org-get-string-indentation): Adapt indentation when the bullet
2590         width changes.
2592 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
2594         * org-remember.el (org-remember-finalize): Make interactive.
2595         (org-remember-kill): New command.
2596         (org-remember-finish-immediately): Call `org-remember-finalize'
2597         directly.
2598         (org-remember-finalize): Make `org-remember-finalize' an interactive
2599         function.
2601 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
2603         * org-remember.el (org-remember-apply-template): No ido completion
2604         for free prompts in remember templates.
2605         (org-remember-before-finalize-hook): New hook.
2606         (org-remember-mode): New minor mode.
2607         (org-remember-apply-template): Turn on `org-remember-mode'.
2609         * org-id.el (org-id-add-location): Avoid error when no file is
2610         given.
2612         * org-remember.el (org-remember-apply-template): Fix the way how
2613         the list of allowed properties is retrieved from the target file.
2615         * org.el (org-insert-link): Improve file link matching.
2617 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
2619         * org-colview.el (org-columns-display-here): New argument
2620         DATELINE, to trigger using the new face.
2621         (org-agenda-colview-summarize): Call `org-columns-display-here'
2622         with the new argument.
2624         * org-faces.el (org-agenda-column-dateline): New face.
2626         * org-publish.el (org-publish-org-index): Use index-title at page
2627         title, not as section.
2629         * org-exp.el (org-export-html-format-desc): Respect the
2630         org-protect property.
2631         (org-export-as-html): Protect image specifiers that are in the
2632         description part of a link.
2634         * org.el (org-sort-entries-or-items, org-completing-read)
2635         (org-refile-get-location, org-olpath-completing-read, org-todo)
2636         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
2637         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
2638         (org-set-property, org-delete-property)
2639         (org-delete-property-globally): Use `org-ido-completing-read'.
2641         * org-remember.el (org-remember-apply-template): Use
2642         `org-ido-completing-read'.
2644         * org-publish.el (org-publish): Use `org-ido-completing-read'.
2646         * org-colview.el (org-columns-edit-value, org-columns-new)
2647         (org-insert-columns-dblock): Use `org-ido-completing-read'.
2649         * org-colview-xemacs.el (org-columns-edit-value)
2650         (org-columns-new, org-insert-columns-dblock): Use
2651         `org-ido-completing-read'.
2653         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2654         `org-ido-completing-read'.
2656         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
2657         `org-ido-completing-read'.
2659         * org.el (org-time-today): New function.
2660         (org-matcher-time): Use `org-time-today'.  Add special treatment
2661         for "<tomorrow>" and "<yesterday>".
2662         (org-ido-completing-read): New function.
2663         (org-completion-use-ido): New option.
2665         * org-exp.el (org-export-format-source-code): Fix bug in require
2666         htmlize code.
2667         (org-export-target-internal-links): Fix bug in search for text
2668         property.
2670 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
2672         * org-export-latex.el (org-export-latex-subcontent): Interprete
2673         target aliases as additonal labels.
2675         * org-exp.el (org-export-target-aliases): New variable.
2676         (org-export-preprocess-string)
2677         (org-export-handle-invisible-targets): Fill the alias alist.
2678         (org-export-as-html): Remove the &nbsp; from the anchor, and also
2679         assign an id.
2680         (org-html-level-start): Insert the target aliases as additonal
2681         anchors.
2683         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
2684         picture area.
2686 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
2688         * org.el (org-open-at-mouse): Ensure correct link abbreviations
2689         when following a link with the mouse from the agenda.
2691         * org-exp.el (org-export-as-html): Avoid lone </div> when no
2692         headlines are created.
2694 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
2696         * org-exp.el (org-export-preprocess-string): Reorder so that we
2697         can still see ID properties when we collect targets.
2698         (org-export-target-internal-links): Also store targets for ID's.
2700         * org.el (org-link-translation-function): New option.
2701         (org-open-at-point): Call `org-link-translation-function' if
2702         non-nil.
2703         (org-translate-link): New function.
2704         (org-translate-link-from-planner): New function.
2705         (org-open-at-point): Allow interactive commands in elisp links.
2707         * org-exp.el (org-icalendar-cleanup-string): Restore the old
2708         iCalendar quoting.  The new one seems to caus problems with
2709         applications.
2711         * org.el (org-yank): Set `this-command' to `yank', so that
2712         `yank-pop' will work.
2714 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2716         * org-id.el (org-id-search-archives): New option.
2718         * org.el (org-link-to-org-use-id): New option.
2719         (org-store-link): Use `org-link-to-org-use-id'.
2720         (org-id): Make org-id.el a standard component.
2722 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2724         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
2725         hexified version of the tag.
2727         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
2728         compliance as far as quoting is concerned.
2730         * org-vm.el (org-vm-follow-link): Require `vm-search'.
2732         * org.el (org-up-heading-safe, org-forward-same-level): Always
2733         call `org-back-to-heading' instead of `outline-back-to-heading'.
2734         (org-back-to-heading): New wrapper around outline-back-to-heading,
2735         with a useful error message telling where the error happened.
2737         * org-list.el (org-update-checkbox-count): Always call
2738         `org-back-to-heading' instead of `outline-back-to-heading'.
2740         * org-exp.el (org-export-as-html): Make sure that each <img> tag
2741         has an `alt' attribute, to ensure XHTML validation.
2743 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
2745         * org-publish.el (org-publish-attachment): Allow publishing to
2746         overwrite attachment files.
2748         * org-agenda.el (org-agenda-timerange-leaders): New option.
2749         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
2751         * org.el (org-edit-src-exit): Untabify ASCII image before
2752         returning.
2765 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
2767         * org.el (org-yank): Make any prefix force normal yanking.
2768         Suppress folding if text would be swallowed into a folded
2769         subtree.
2770         (org-yank-folded-subtrees, org-yank): Docstring updates.
2772         * org-agenda.el (org-agenda-compare-effort): Treat no effort
2773         defined as 0.
2775         * org-exp.el (org-export-language-setup): Add Catalan and
2776         Esperanto language entries.
2778 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
2780         * org.el (org-refile): Allow refiling of entire regions.
2782         * org-clock.el (org-clock-time%): New function.
2784         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
2785         retrieve property values.
2787 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
2789         * org-agenda.el (org-agenda-list): Handle the value `only' of
2790         org-agenda-show-log'.
2791         (org-agenda-log-mode): Interpret a double prefix arg.
2793 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
2795         * org-exp.el (org-export-html-footnotes-section): New variable.
2796         (org-export-as-html): Use `org-export-html-footnotes-section' to
2797         insert the footnotes.
2798         (org-export-language-setup): Add "Footnotes" to language words.
2800 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
2802         * org.el (org-yank): Fix bug when not inserting a subtree.
2804 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
2806         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
2807         instead of `vm-beginning-of-message'.
2809         * org.el (org-make-link-regexps): Make sure that links to gnus can
2810         contain brackets.
2812 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
2814         * org-attach.el (org-attach-dir): Remove duplicate ID creation
2815         code.
2817         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
2818         shell output.
2820         * org.el (org-link-abbrev-alist): Improve customization type.
2822         * org-attach.el (org-attach-expand-link, org-attach-expand): New
2823         functions.
2825         * org-agenda.el (org-agenda-get-progress): Renamed from
2826         `org-get-closed'.  Implement searching for state changes as well.
2827         (org-agenda-log-mode-items): New option.
2828         (org-agenda-log-mode): New option prefix argument, interpreted as
2829         request to show all possible progress info.
2830         (org-agenda-get-day-entries): Call `org-get-progress' instead of
2831         `org-get-closed'.
2832         (org-agenda-set-mode-name): Handle the more complex log mode
2833         settings.
2834         (org-get-closed): New alias, pointing to `org-get-progress'.
2836 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
2838         * org.el (org-file-apps-defaults-gnu)
2839         (org-file-apps-defaults-macosx)
2840         (org-file-apps-defaults-windowsnt): Add an entry defining the
2841         system command.
2842         (org-file-apps): Allow `system' as key and value.
2843         (org-open-at-point): Explain the effect of a double prefix arg.
2844         (org-open-file): If the argument `in-emacs' is (16),
2845         i.e. corresponding to a double prefix argument, try to open the
2846         file externally.
2848 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
2850         * org.el (org-insert-link): Abbreviate absolute files names in
2851         links.  Also, fix a bug in which the double C-u prefix would not
2852         be honored.
2854 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
2856         * org.el (org-insert-heading): If buffer does not end with a
2857         newline, add one if necessary to insert headline correctly.
2859         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
2860         paragraphs, not inside.
2862         * org.el (org-todo): Quote
2863         `org-agenda-headline-snapshot-before-repeat'.
2865         * org-exp.el (org-export-as-html): Fully process link descriptions.
2866         (org-export-html-format-desc): New function.
2867         (org-export-as-html): Collect footnotes into the correct basket.
2868         (org-html-protect): No longer protect quotations marks here, this
2869         goes wrong.
2871         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
2872         BEG.
2874         * org-compat.el (org-fit-window-to-buffer): New function (not
2875         really, a preliminary and incomplete version was present earlier,
2876         but not used).
2878         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
2879         `org-fit-window-to-buffer'.
2881         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
2883         * org-agenda.el (org-agenda-get-restriction-and-command)
2884         (org-fit-agenda-window, org-agenda-convert-date): Use
2885         `org-fit-window-to-buffer'.
2887         * org-exp.el (org-export-as-html): Process href links through
2888         `org-export-html-format-href'.
2889         (org-export-html-format-href): New function.
2891         * org-agenda.el (org-agenda-todo): Update only the current
2892         headline if this is a repeated TODO, marked done for today.
2893         (org-agenda-change-all-lines): New argument JUST-THIS, to change
2894         only the current line.
2896         * org.el (org-todo): Take a snapshot of the headline if the
2897         repeater might change it.
2899 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
2901         * org-publish.el (org-publish-find-title): Remove buffers visited
2902         only for extracting the title.
2904         * org-exp.el (org-export-html-style)
2905         (org-export-html-style-default): Mark style definitions as
2906         unparsed CDATA.
2908         * org-publish.el (org-publish-validate-link): Function
2909         re-introduced.
2911 2008-11-02  Charles Sebold  <csebold@gmail.com>
2913         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
2914         property.
2915         (org-plot-quote-timestamp-field): New function.
2916         (org-plot-quote-tsv-field): Call timestamp field function when
2917         necessary rather than just quoting as a string.
2918         (org-plot/gnuplot-to-data): Pass in timefmt property.
2919         (org-plot/gnuplot-script): Supports timefmt property.
2920         (org-plot/gnuplot): Checks for timestamp column before checking
2921         for text index column.
2923 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
2925         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
2927         * org-publish.el (org-publish-org-index): Create a section in the
2928         index file.
2929         (org-publish-org-index): Stop linking to directories.
2931         * org.el (org-emphasis-alist): Use span instead of <u> to
2932         underline text.
2934         * org-exp.el (org-export-as-html): Make sure <p> is closed before
2935         <pre> sections.
2937 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
2939         * org-jsinfo.el (org-infojs-template): Remove language attribute
2940         from script tag.
2942 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
2944         * org-agenda.el (org-agenda-remove-marked-text): New function.
2945         (org-agenda-mark-filtered-text)
2946         (org-agenda-unmark-filtered-text): New functions.
2947         (org-write-agenda): Remove fltered text.
2949         * org.el (org-make-tags-matcher): Give access to TODO "property"
2950         without speed penalty.
2952 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
2954         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
2955         option.
2956         (org-store-link-props): Make sure adding to the plist works
2957         correctly.
2959         * org-gnus.el (org-gnus-no-new-news): New function.
2960         (org-gnus-follow-link): Allow the article ID to be a message-id,
2961         in addition to allowing article numbers.  Message IDs make much
2962         more roubust links.
2963         (org-gnus-store-link): Use message-id to create link.
2965 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
2967         * org.el (org-emphasize): Reverse the selection array.
2968         (org-emphasis-alist): Set <code> tags for the verbatim
2969         environment.
2971         * org-remember.el (org-remember-handler): Fix bug with
2972         prefix-related changing of the note storage target.
2974         * org-exp.el (org-print-icalendar-entries): Make the exported
2975         priorities compatible with RFC 2445.
2977         * org-clock.el (org-clock-save): Insert time stamp without
2978         dependence on time-stamp.el.
2980 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
2982         * org.el ("saveplace"): If saveplace puts point into an invisible
2983         location, make it visible.
2984         (org-make-tags-matcher): Allow inactive time stamps in time
2985         comparisons.
2986         (org-yank-adjusted-subtrees): New option.
2987         (org-yank): Incorporate adjusting trees.
2988         (org-paste-subtree): New argument FOR-YANK which will cause
2989         insertion at point without backing up over white lines, and leave
2990         point at the end of the inserted text.  Also if the cursor is
2991         at the beginning of a headline, use the same level or the inserted
2992         tree.
2994         * org-publish.el (org-publish-get-base-files-1): Deal correctly
2995         with broken symlinks
2997 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
2999         * org-exp.el (org-export-select-tags, org-get-current-options):
3000         Fix typo.
3002 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
3004         * org-agenda.el (org-format-agenda-item)
3005         (org-agenda-filter-make-matcher): Make sure tags are stored and
3006         compared donwcased.
3008 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
3010         * org.el (org-insert-todo-heading): Fix bug with force-heading
3011         argument.
3013 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
3015         * org-clock.el (org-clock-in-resume): Add a custom option to
3016         toggle starting the clock from an open clock line.
3017         (org-clock-in): When clocking in to an entry, if
3018         `org-clock-in-resume' is set, check if the first clock line is
3019         open and if so, start the clock from the time in the clock line.
3020         (org-clock-persist): Add a custom option to toggle clock
3021         persistence.
3022         (org-clock-persist-query-save): Add a custom option to toggle
3023         asking the user if they want to save the running clock when
3024         exiting.
3025         (org-clock-persist-query-resume): Add a custom option to toggle
3026         asking the user if they want to resume the saved clock when Emacs
3027         is restarted.
3028         (org-clock-save): Add a function to save clock data.
3029         This includes the contents of `org-clock-history' and the buffer
3030         and position of the currently clocked task, if any.
3031         (org-clock-load): Add a function to load clock data.
3032         This populates `org-clock-history', and resumes the saved clocked
3033         task if there is one.
3034         (org-clock-persistence-insinuate): Add a method to set up the
3035         hooks for clock persistence.
3037 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
3039         * org-exp.el (org-export-as-ascii): Handle the case that we are
3040         publishing from an indirect buffer.
3042         * org-table.el (org-table-copy-down): Fix bug with time stamp
3043         increment.
3045         * org-mouse.el (org-mouse-features): New option.
3046         (org-mode-hook): Turn on features depending on
3047         `org-mouse-features'.
3049         * org.el (org-insert-heading-respect-content): Force heading
3050         creation.
3051         (org-insert-heading): keep the folding state of the heading before
3052         the inserted one.
3054 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3056         * org-archive.el (org-archive-to-archive-sibling): Handle top
3057         level headlines better.
3059 2008-10-21  Bastien Guerry  <bzg@altern.org>
3061         * org-export-latex.el (org-export-latex-classes): Added
3062         \usepackage{graphicx} to the default list of packages.
3064 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3066         * org-agenda.el (org-agenda-filter): Renamed from
3067         `org-agenda-filter-tags'.
3069 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
3071         * org.el (org-entry-properties): Add CATEGORY property, iven if it
3072         is not defined as a property in this entry.
3073         (org-add-log-note): Mask prefix argument when immediately storing
3074         the note.
3076         * org-agenda.el (org-agenda-filter-effort-default-operator): New
3077         option.
3079 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
3081         * org.el (org-add-log-setup): Bugfix; code to find insertion point
3082         after drawers was skipping ahead one line too many, so notes were
3083         inserted after the first note instead of before it.
3085 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
3087         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3088         New variables.
3089         (org-prepare-agenda): Reset the filter tags.
3090         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3091         Show filter tags in mode line.
3093         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
3094         formatter.
3096         * org-export-latex.el (org-latex-entities-regexp): New constant.
3097         (org-export-as-pdf): Use two calls to `shell-command'.
3099 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
3101         * org-export-latex.el (org-export-latex-treat-sub-super-char):
3102         Honor the {} value of the subsuperscript setting.  Make sure that
3103         longer subsuperscripts are typeset in a roman font.
3105         * org.el (org-clock-update-time-maybe): Compute negative clock
3106         intervals correctly.
3108 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
3110         * org.el (org-add-log-setup): Respect
3111         `org-log-state-notes-insert-after-drawers'.
3112         (org-log-state-notes-insert-after-drawers): New option.
3113         (org-todo-trigger-tag-changes): New function.
3114         (org-todo): Call `org-todo-trigger-tag-changes'.
3116 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
3118         * org.el (org-add-log-setup): Only skip drawers if the are
3119         immediately after the scheduling keywords.
3121         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
3122         function
3123         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
3124         call it with the current todo state to get the state to switch to
3125         when clocking in.
3126         (org-clock-in): Use org-indent-line-function to indent clock lines.
3127         (org-clock-find-position): Fix indentation of empty clock drawers.
3129 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
3131         * org-publish.el (org-publish-org-to): Handle case when
3132         org-export-to-pdf does return a file name, not a buffer.
3133         (org-publish-org-to-pdf): New function.
3135         * org-export-latex.el (org-export-as-pdf)
3136         (org-export-as-pdf-and-open): New commands.
3138         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
3139         forms as ranges.
3141         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
3142         things in protexted regions.
3144 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
3146         * org-export-latex.el (org-export-latex-preprocess): Improve
3147         quoting of LaTeX environments.
3149 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
3151         * org.el (org-edit-fixed-width-region): Exclude final newline from
3152         picture area.
3154         * org-export-latex.el (org-export-latex-subcontent): Add labels to
3155         sections, to make internal links work.
3156         (org-export-latex-fontify-headline): Do not remove all text
3157         properties, to make sure that target properties survive this
3158         process.
3160         * org-exp.el (org-export-preprocess-string): Change sequence of
3161         modifications, to make sure links are prepared before the LaTeX
3162         conversions do happen.
3164 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
3166         * org-attach.el (org-attach-delete-all): Renamed from
3167         `org-attch-delete'.  Add a security query before deleting the
3168         entire directory.  New optional argument FORCE can overrule the
3169         security query.
3170         (org-attach-delete-one): New command.
3172 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
3174         * org-attach.el (org-attach-file-list): Fix bug with directory.
3176 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
3178         * org.el (org-apps-regexp-alist): New function.
3179         (org-file-apps): Add auto-mode to the default value.
3180         (org-open-file): Use the new structure of org-file-apps.
3182         * org-attach.el (org-attach): Support the new keys.
3183         (org-attach-method): New option.
3185 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
3187         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
3188         March.
3190         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
3191         of the list value o `org-use-tag-inheritance'.
3193         * org-attach.el (org-attach-auto-tag): New option.
3194         (org-attach-tag, org-attach-untag): New functions.
3195         (org-attach-attach, org-attach-new, org-attach-sync): Call
3196         `org-attach-tag'.
3197         (org-attach-delete): Call `org-attach-untag'.
3199 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
3201         * org-table.el (orgtbl-self-insert-command): Make this work for
3202         the keypad as well.
3204 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
3206         * org.el (org-add-log-setup): Limit searc for drawers to entry
3207         text, not to subtree.
3209         * org-clock.el (org-clock-heading-for-remember): New variable.
3210         (org-clock-in): Set `org-clock-heading-for-remember'.
3212 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
3214         * org-remember.el (org-remember-apply-template): Add new
3215         expansions: %k, %K for currently clocked task and a link to the
3216         currently clocked task, and %< to file notes in the currently
3217         clocked task.
3219 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
3221         * org-export-latex.el (org-export-latex-make-header): Also insert
3222         the content of the property :latex-header-extra.
3224         * org-exp.el (org-infile-export-plist): Put the content of
3225         #+LATEX_HEADER: into the property :latex-header-extra.
3227         * org-colview.el (org-columns-get-format-and-top-level): Remove
3228         resetting the marker.
3230         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
3231         Remove resetting the marker.
3233         * org.el (org-entry-property-inherited-from): Improve docstring.
3234         (org-entry-get-with-inheritance): Reset marker before starting the
3235         search.
3237         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
3239 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
3241         * org.el (org-entry-get-multivalued-property)
3242         (org-entry-protect-space, org-entry-restore-space): New
3243         functions.
3244         (org-file-apps-defaults-macosx): Let postscript files be opened by
3245         preview.
3246         (org-time-stamp-inactive): Call `org-time-stamp'.
3247         (org-time-stamp): New argument `inactive'.  Also edit inacive
3248         stamps. Convert time stamp type.
3249         (org-open-file): Interpret the `default' value for the `command'
3250         in `org-file-apps'.
3252         * org-id.el (org-id-int-to-b36-one-digit)
3253         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
3254         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
3255         b36.
3257 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
3259         * org-id.el (org-id-reverse-string): New function.
3260         (org-id-new): Use `org-id-reverse-string' to make sure the
3261         beginning chars of the ID are mutating fast.  This allows to use a
3262         directory structure to spread things better.
3263         (org-id-prefix): Changed default to nil.
3265         * org-list.el (org-move-item-down, org-move-item-up): Remember and
3266         restore the column of the cursor position.
3268         * org-remember.el (org-remember-apply-template): Remove properties
3269         from `initial'.
3271 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
3273         * org-wl.el (org-wl-open): Remove useless call to
3274         `wl-thread-open-all'.
3276         * org-remember.el (org-remember-handler): Fix bug with `bottom'
3277         location.
3279 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
3281         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
3282         `org-bbdb-anniversaries'.
3284         * org.el (org-get-next-sibling, org-forward-same-level): New
3285         functions, similar to the outline versions, but invisible headings
3286         are OK.
3288 2008-09-25  Bastien Guerry  <bzg@altern.org>
3290         * org.el (org-auto-repeat-maybe): Insert a space between
3291         the timestamp's type and the timestamp itself.
3293 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
3295         * org-table.el (org-table-sum): Do not format the result with %g,
3296         it does rounding when there are too many digits.
3298         * org.el (org-map-entries): Protect the keyword-selecting variables.
3300 2008-09-23  Bastien Guerry  <bzg@altern.org>
3302         * org-agenda.el (org-agenda-to-appt): Make sure the function check
3303         against all agenda files.
3305 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
3307         * org-list.el: New file, aggregating list functions from org.el
3308         and org-export-latex.el.
3310         * org.el (org-edit-src-region-extra): New option.
3312 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
3314         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
3315         time before 1am.
3317 2008-09-22  Bastien Guerry  <bzg@altern.org>
3319         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
3321 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
3323         * org-plot.el (org-plot/gnuplot): Make tables starting with a
3324         hline work correctly.
3325         (org-plot/gnuplot-script): Put commas at the end of each script
3326         line.
3328 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
3330         * org.el (org-get-refile-targets): Replace links with their
3331         descriptions
3332         (org-imenu-get-tree): Replace links with their descriptions.
3334         * org-remember.el (org-remember-apply-template): Add a new
3335         expansion for adding properties to remember items.
3337         * org.el (org-add-log-setup): Skip over drawers (properties,
3338         clocks etc) when adding notes.
3340         * org-agenda.el (org-agenda-get-closed): show durations of clocked
3341         items as well as the start and end times.
3343         * org-compat.el (org-get-x-clipboard-compat): Add a compat
3344         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
3346         * org-remember.el (org-get-x-clipboard): Use the compat
3347         function to get clipboard values when x-selection-value is
3348         unavailable. Use substring-no-properties instead of
3349         set-text-properties to remove text properties from the clipboard
3350         value.
3352         * lisp/org-clock.el (org-update-mode-line): Support limiting the
3353         modeline clock string, and display the full todo value in the
3354         tooltip. Set a local keymap so mouse-3 on the clock string goes to
3355         the currently clocked task.
3356         (org-clock-string-limit): Add a custom value for the maximum
3357         length of the clock string in the modeline.
3358         (org-clock-mode-map): Add a keymap for the modeline string
3360 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
3362         * org-compat.el (org-propertize): New function.
3364 2008-09-20  Bastien Guerry  <bzg@altern.org>
3366         * org-export-latex.el (org-export-latex-tables): protect exported
3367         tables from further special chars conversion.
3368         (org-export-latex-preprocess): Preserve LaTeX environments.
3369         (org-list-parse-list): Parse descriptive lists.
3370         (org-list-to-generic, org-list-to-latex, org-list-to-html)
3371         (org-list-to-texinfo): Export descriptive lists.
3372         (org-quote-chars): Remove.
3373         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
3374         (org-export-latex-list-beginning-re): Rename to
3375         `org-list-beginning-re'
3376         (org-list-item-begin): Rename to `org-list-item-beginning'
3378 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
3380         * org.el (org-refile): Allow refiling to the last entry in the
3381         buffer.
3382         (org-get-tags-at): Fix bug when inheritance is turned off.
3384 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
3386         * org.el (org-indent-line-function): No longer check for src
3387         regions, this is too much overhead.
3389         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
3390         matching.
3392         * org.el (org-scan-tags): Make sure that tags matching is not case
3393         sensitive.  TODO keyword matching is case sensitive, however, to
3394         avoid confusion with similar words that are not meant to be
3395         keywords.
3397 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
3399         * org.el (org-get-local-tags-at): New function.
3400         (org-get-local-tags): New function.
3402         * org-exp.el (org-export-get-categories): New function.
3404         * org-agenda.el (org-sorting-choice)
3405         (org-agenda-sorting-strategy, org-agenda-get-todos)
3406         (org-agenda-get-timestamps, org-agenda-get-deadlines)
3407         (org-agenda-get-scheduled, org-agenda-get-blocks)
3408         (org-entries-lessp): Implement sorting by TODO state.
3409         (org-cmp-todo-state): New defsubst.
3411         * org-colview.el (org-colview-construct-allowed-dates): New
3412         function.
3413         (org-columns-next-allowed-value): Use
3414         `org-colview-construct-allowed-dates'.
3416         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
3417         function.
3418         (org-columns-next-allowed-value): Use
3419         `org-colview-construct-allowed-dates'.
3421 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
3423         * org.el (org-protect-slash): New function.
3424         (org-get-refile-targets): Use `org-protect-slash'.
3426         * org-agenda.el (org-global-tags-completion-table): New variable.
3428         * org-exp.el (org-export-handle-export-tags): New function.
3429         (org-export-preprocess-string): Call
3430         `org-export-handle-export-tags'.
3432         * org-plot.el: New file.
3434         * org-publish.el (org-publish-expand-components): Function removed.
3435         (org-publish-expand-projects): Allow components to have components.
3437 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
3439         * org.el (org-indent-line-function): Do not indent in regions that
3440         are external source code.
3441         (org-yank-and-fold-if-subtree): New function.
3443         * org-agenda.el (org-agenda-todayp): New function.
3444         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
3445         `org-agenda-todayp'.
3447         * org.el (org-insert-heading-respect-content)
3448         (org-insert-todo-heading-respect-content): New commands.
3449         (org-insert-heading-respect-content): New option.
3450         (org-insert-heading): Respect `org-insert-heading-respect-content'.
3452         * org-clock.el (org-clock-find-position): Make sure the note after
3453         the clock line gets moved into the new clock drawer.
3455 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
3457         * org-id.el (org-id-new): New option.
3459 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
3461         * org-table.el (org-table-copy-down): Avoid overflow during
3462         increment.  Use prefix argument 0 to temporarily disable the
3463         increment.
3465 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
3467         * org-exp.el (org-export-as-html): Do not turn on the major mode
3468         if the buffer will be killed anyway.
3469         (org-get-current-options): Exclude the #+TEXT field.
3470         (org-export-as-html): Make sure text before the first headline is
3471         a paragraph.
3473         * org-publish.el (org-publish-org-to): Tell the exporter that this
3474         buffer will be killed, so it is not necessary to do major mode
3475         initialization.
3477         * org-archive.el (org-archive-to-archive-sibling): Show empty
3478         lines after folding the archive sibling.
3480         * org.el (org-log-note-extra): New variable.
3482 2008-09-05  Bastien Guerry  <bzg@altern.org>
3484         * org.el (org-additional-option-like-keywords): Added keywords for
3485         the _QUOTE, _VERSE and _SRC environments.
3487         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
3488         exporting _QUOTE and _VERSE environments.
3490 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
3492         * org-agenda.el (org-agenda-filter-by-tag): New command.
3494         * org-exp.el (org-get-current-options): Remove angular brackets
3495         from the date entry.
3497         * org.el (org-edit-fixed-width-region): New function.
3498         (org-edit-fixed-width-region): Also try
3499         `org-edit-fixed-width-region'.
3500         (org-edit-fixed-width-region-mode): New option.
3501         (org-activate-code): Only interprete lines starting with colon
3502         plus a space as example lines.
3504         * org-remember.el (org-remember-templates): Add nil instead of
3505         empty strings to fix the length of remember templates.
3507         * org-table.el (org-calc-default-modes): Fix the time format for
3508         calc, from 12 hour to 24 hour clock.
3510 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
3512         * org-agenda.el (org-agenda-get-deadlines)
3513         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
3514         entries that are pre-warnings of deadlines or reminders.
3516         * org.el (org-sort-entries-or-items): Make numeric and alpha
3517         comparisons ignore any TODO keyword and priority cookie.
3519         * org-remember.el (org-remember-handler): Reinterpretation of the
3520         prefix argument.
3522 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
3524         * org-agenda.el (org-agenda-get-scheduled): Use new
3525         `org-scheduled' face.
3527         * org-faces.el (org-scheduled): New face.
3529         * org-wl.el (org-wl-open): Remove incorrect declaration.
3531         * org-gnus.el (org-gnus-store-link): Support for :to information
3532         in gnus links.
3534         * org-exp.el (org-export-as-html): Fixed typo in creator
3535         information.
3536         (org-export-protect-examples): New parameter indent.  Insert extra
3537         spaces only when this parameter is specified.
3538         (org-export-preprocess-string): Call `org-export-protect-examples'
3539         with an indentation parameter when exporting to ASCII.
3541         * org-remember.el (org-remember-templates)
3542         (org-remember-apply-template): Allow the file component to be a
3543         function.
3545         * org.el (org-goto-local-search-headings): Renamed from
3546         `org-goto-local-search-forward-headings'.  Added the possibility
3547         to search backwards.
3549 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
3551         * org-export-latex.el (org-export-latex): New customization
3552         group.
3554         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
3556 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
3558         * org-exp.el (org-html-do-expand): Allow {} to terminate
3559         tex macro
3561 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
3563         * org.el (org-buffer-list): Select buffers based on major mode,
3564         not on file name.
3566 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
3568         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
3569         face property.
3571         * org-colview.el (org-columns-display-here): Use
3572         `org-columns-modify-value-for-display-function'.
3574         * org-colview-xemacs.el (org-columns-display-here): Use
3575         `org-columns-modify-value-for-display-function'.
3577 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
3579         * org.el (org-columns-modify-value-for-display-function): New option.
3591         * org-publish.el (org-publish-file): Make sure the directory match
3592         for the publishing directory works correctly.
3594         * org-agenda.el (org-agenda-execute-calendar-command)
3595         (org-agenda-diary-entry): Additional optional argument.
3597 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
3599         * org-exp.el (org-export-as-html): Add attributes also in mailto
3600         and ftp links.
3602         * org.el (org-autoload): Add `org-dblock-write:columnview'.
3611 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
3613         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
3614         sure that calls from `org-export-region-as-html' do not do the
3615         special check for a subtree.
3617 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
3619         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
3621 2008-07-20  Juri Linkov  <juri@jurta.org>
3623         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
3624         new keymap `narrow-map' instead of binding "\C-xns".
3626 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
3628         * org.el (org-open-file): Use
3629         `org-open-directory-means-index-dot-org'.
3630         (org-open-directory-means-index-dot-org): New option.
3632 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
3634         * org.el (org-make-link-string): Remove link attributes from
3635         description.
3636         (org-open-at-point): Remove link attributes bevore using the path.
3638         * org-exp.el (org-export-as-html): Handle link attributes.
3640         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
3642         * org-table.el (org-table-to-lisp): New function.
3644         * org.el (org-narrow-to-subtree): Do not include the final newline
3645         into the narrowed region.
3647         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
3648         bug with user-define skipping condition.
3650 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
3652         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
3654 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
3656         * org-exp.el (org-export-html-style-default): Automatic overflow
3657         handling for pre fields.
3658         (org-export-as-ascii, org-export-as-html): Change default format
3659         for time stamp.
3661         * org-table.el (org-table-export): Offer completion for translator
3662         functions, and do not require a heading above the table.
3664         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
3665         Cater for the case of a list starting in the first line of the
3666         buffer.
3668 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
3670         * org-publish.el (org-publish-find-title): Bug fix.
3671         (org-publish-org-index): Implement new :index-style option.
3673 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
3675         * org-publish.el (org-publish-timestamp-filename): Use
3676         SHA1-encoded file names in the timestamp directory.
3678 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
3680         * org-publish.el (org-publish-needed-p): Be verbose about files
3681         published and files skipped.
3683         * org-exp.el (org-export-preprocess-string): Swap link
3684         normalization and inernal link targeting.
3686         * org-publish.el (org-publish-needed-p): Create timestamp
3687         directory when it does not exist.
3689 2008-07-04  Bastien Guerry  <bzg@altern.org>
3691         * org-clock.el (org-clock-out-when-done): Doc fix.
3693         * org.el (org-agenda-skip-unavailable-files): Doc fix.
3695         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
3696         Ignore case when searching for the COMMENT cookie at export time.
3698 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
3700         * org-exp.el (org-get-file-contents)
3701         (org-get-and-remove-property): New functions.
3702         (org-export-handle-include-files): Handle the new prefix options.
3703         (org-export-as-html): Fix the verse environment.
3705 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
3707         * org.el (org-time=, org-time<, org-time<=, org-time>)
3708         (org-time>=, org-time<>, org-2ft): New functions.
3709         (org-op-to-function): Also provide for the time testing fucntions.
3711 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
3713         * org-exp.el (org-export-html-style-default): New constant.
3715 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
3717         * org-exp.el (org-export-html-style-extra): New variable.
3718         (org-export-splice-style): New function.
3720 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
3722         * org-exp.el (org-export-plist-vars, org-export-as-html):
3723         Implement `org-export-creator-info'.
3724         (org-export-creator-info): New option.
3726 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
3728         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
3729         (org-property-drawer-re, org-clock-drawer-re): New constants.
3731 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
3733         * org-exp.el (org-icalendar-use-deadline)
3734         (org-icalendar-use-scheduled): New options.
3735         (org-icalendar-include-todo): Default changed to t.
3736         (org-print-icalendar-entries): Implement better utilization of
3737         scheduling and deadline time stamps.
3738         (org-export-target-internal-links, org-export-as-html): Allow file
3739         lines without the "file:" prefix if the file path is an absolute
3740         path or starts with ".".
3742         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
3743         lastweek etc.
3744         (org-clock-special-range): Also undertand yesterday, lastweek etc.
3746 2008-06-18  Glenn Morris  <rgm@gnu.org>
3747         * org.el (org-map-entries): Let-bind `file'.
3749 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
3751         * org.el (org-agenda-skip-archived-trees): Docstring now
3752         discourages using this.
3753         (org-scan-tags): Check for org-agenda-archives-mode.
3754         (org-map-entries): Make sure org-agenda-archives-mode is nil.
3755         (org-agenda-files): Functionality of second arg changed.
3757         * org-agenda.el (org-agenda-archives-mode): New variable
3758         (org-write-agenda, org-prepare-agenda, org-agenda-list)
3759         (org-search-view, org-todo-list, org-tags-view)
3760         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
3761         `ifmode' argument.
3762         (org-agenda-quit): Reset the archives mode.
3763         (org-agenda-archives-mode): New command.
3764         (org-agenda-set-mode-name): Include archives info.
3766 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
3768         * org.el (org-paste-subtree): Make sure the yanked headline is
3769         visible if it was yanked at a visible point.
3770         (org-move-item-up): Fix the bug with moving white space at the end
3771         of the item.
3772         (org-show-empty-lines-in-parent): New function.
3774 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
3776         * org-colview.el (org-columns-next-allowed-value): Bug fix.
3778         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
3780         * org-agenda.el (org-agenda-get-closed): Get the end time into the
3781         agenda prefix as well.
3783         * org-publish.el (org-publish-org-index): Make a properly indented
3784         list.
3786         * org.el (org-calendar-agenda-action-key): New option.
3787         (org-get-cursor-date): New function.
3788         (org-mark-entry-for-agenda-action): New command.
3789         (org-overriding-default-time): New variable.
3790         (org-read-date): Respect `org-overriding-default-time'.
3792         * org-remember.el (org-remember-apply-template): Respect the
3793         ovverriding default time.
3795         * org-agenda.el (org-agenda-action-marker): New variable.
3796         (org-agenda-action): New command.
3797         (org-agenda-do-action): New function.
3799 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
3801         * org.el (org-schedule, org-deadline): Protect scheduled and
3802         deadline tasks against changes that accidently remove the
3803         repeater.  Also show a message with the new date when done.
3805 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
3807         * org.el (org-beginning-of-line): Cater for the case when there
3808         are tags but no headline text.
3809         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
3810         it set.
3812 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
3814         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
3815         the return value is nil instead of "nil" when there is no match.
3817         * org-exp.el (org-insert-centered): Use fill-column instead of
3818         80.
3819         (org-export-as-ascii): Use string-width to measure the width of
3820         the heading.
3822         * org.el (org-diary-to-ical-string): No longer kill buffer
3823         FROMBUF, this is now done by the caller.
3825         * org-exp.el (org-print-icalendar-entries): Move the call to
3826         `org-diary-to-ical-string' out of the loop, and kill the buffer
3827         afterwords.
3829         * org-remember.el (org-remember-visit-immediately): Position
3830         cursor after moving to the note.
3831         (org-remember-apply-template): Use a text property to record the
3832         cursor position.
3833         (org-remember-handler): Align tags after pasting the note.
3835 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
3837         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
3839         * org-agenda.el (org-agenda-open-link): If there is an
3840         org-bbdb-name property in the current line, jump to that bbdb
3841         entry.
3843         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
3844         text property, so that the agenda knows where this entry comes
3845         from.
3847         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
3848         interaction between clocking-in from the agenda, and  automatic
3849         task state switching.
3851         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
3853         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
3854         zmacs-region stays after this command in XEmacs.
3856 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
3858         * org.el (org-scan-tags): Allow new values for ACTION parameter.
3860         * org-remember.el (org-remember-templates): Fix bug in
3861         customization type definition.
3863         * org.el (org-map-entries): New function.
3865 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
3867         * org-agenda.el (org-agenda-skip-comment-trees): New option.
3868         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
3870 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
3872         * org-remember.el (org-jump-to-target-location): New variable.
3873         (org-remember-apply-template): Set
3874         `org-remember-apply-template' if requested by template.
3875         (org-remember-handler): Start an idle timer to jump to
3876         remember location.
3878         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
3880         * org.el (org-set-regexps-and-options): Fix bug with parsing of
3881         file tags.
3882         (org-get-tags-at): Add the content of `org-file-tags'.
3884         * org-exp.el (org-export-handle-comments): Fix bug with several
3885         comment lines after each other.
3886         (org-number-to-roman, org-number-to-counter): New functions.
3887         (org-export-section-number-format): New option.
3889 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
3891         * org-exp.el (org-export-protect-examples): Catch the case of a
3892         missing end_example line.
3894         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
3895         `org-file-tags' to nil.
3897         * org-colview.el (org-columns-next-allowed-value): Handle next
3898         argument NTH to directly select a value.
3900         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
3901         argument NTH to directly select a value.
3903 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
3905         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
3907 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
3909         * org.el (org-columns-ellipses): New option.
3911 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
3913         * org-colview.el (org-columns-add-ellipses): New function.
3914         (org-columns-compact-links): New function.
3915         (org-columns-cleanup-item): Call `org-columns-compact-links'.
3916         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
3917         when in agenda.
3918         (org-columns-edit-value): Fixed bug with editing values from
3919         agenda column view.
3920         (org-columns-redo): Also redo the agenda itself.
3922 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
3924         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
3925         option.
3927         * org-colview.el (org-agenda-columns-cleanup-item): New function.
3929         * org-exp.el (org-export-ascii-preprocess): Renamed from
3930         `org-export-ascii-clean-string'.
3931         (org-export-kill-licensed-text)
3932         (org-export-define-heading-targets)
3933         (org-export-handle-invisible-targets)
3934         (org-export-target-internal-links)
3935         (org-export-remove-or-extract-drawers)
3936         (org-export-remove-archived-trees)
3937         (org-export-protect-quoted-subtrees)
3938         (org-export-protect-verbatim, org-export-protect-examples)
3939         (org-export-select-backend-specific-text)
3940         (org-export-mark-blockquote-and-verse)
3941         (org-export-remove-comment-blocks-and-subtrees)
3942         (org-export-handle-comments, org-export-mark-radio-links)
3943         (org-export-remove-special-table-lines)
3944         (org-export-normalize-links)
3945         (org-export-concatenate-multiline-links)
3946         (org-export-concatenate-multiline-emphasis): New functions,
3947         obtained from spliiting the export preprocessor.
3949         * org-table.el (org-table-recalculate): Improve error message if
3950         the row number is invalid.
3952 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
3954         * org-archive.el (org-archive-save-context-info): Fix bugs in
3955         customization setup and docstring.
3957         * org-exp.el (org-export-html-style): Changed the size of in the
3958         <pre> element to 90%.
3960 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
3962         * org.el (org-find-src-example-start): Function removed.
3963         (org-edit-src-find-region-and-lang): New function.
3965 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
3967         * org.el (org-edit-src-exit): New function.
3968         (org-exit-edit-mode): New minor mode.
3970         * org-exp.el (org-export-preprocess-string): Fix bug with removing
3971         comment-like lines from protected examples.
3973         * org.el (org-edit-src-example, org-find-src-example-start)
3974         (org-protect-source-example, org-edit-special): New functions.
3976 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
3978         * org-publish.el (org-publish-project-alist): Fix typo in
3979         docstring.
3980         (org-publish-project-alist): Handle :index-title property.
3982 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
3984         * org-export-latex.el (org-export-as-latex): Make sure region
3985         bounds are correct.  Parse subtree properties relating to export.
3987         * org-exp.el (org-export-add-options-to-plist): New function.
3988         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
3990 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
3992         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
3993         EXPORT_TITLE.
3995         * org-exp.el (org-export-get-title-from-subtree)
3996         (org-export-as-ascii, org-export-as-html): Make sure the original
3997         region-beginning and region-end are used, even after moving
3998         point.
3999         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4000         property.
4002         * org-remember.el (org-remember-last-stored-marker): New variable.
4003         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4004         (org-remember-handler): Also use marker to remember
4005         last-stored position.
4007         * org.el (org-goto-marker-or-bmk): New function.
4009 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
4011         * org.el (org-file-properties): Renamed from `org-local-properties'.
4012         (org-scan-tags): Take file tags into account.
4013         (org-tags-match-list-sublevels): Default changed to t.
4015         * org-exp.el (org-export-as-html): Close paragraph after a
4016         footnote.
4018         * org.el (org-update-parent-todo-statistics): New function.
4020         * org-exp.el (org-icalendar-store-UID): New option.
4021         (org-icalendar-force-UID): Option removed.
4022         (org-print-icalendar-entries): IMplement UIDs.
4024 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
4026         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4028 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
4030         * org-faces.el (org-column): Document how this face is being used
4031         and why sometimes the background faces shine through.
4033         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4035         * org-publish.el (org-publish-attachment): Create publishing
4036         directory if it does not yet exist.
4038         * org-table.el (org-calc-default-modes): Change default number
4039         format to (float 8).
4041         * org.el (org-olpath-completing-read): New function.
4042         (org-time-clocksum-format): New option.
4043         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4045         * org-clock.el (org-clock-display, org-clock-out)
4046         (org-update-mode-line): Use `org-time-clocksum-format'.
4048         * org-colview-xemacs.el (org-columns-number-to-string): Use
4049         `org-time-clocksum-format'.
4051         * org-colview.el (org-columns-number-to-string): Use
4052         `org-time-clocksum-format'.
4054 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
4056         * org-id.el: New file, move from contrib to core.
4058         * org-exp.el (org-icalendar-force-UID): New option.
4060 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
4062         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4063         shifted by one day if theere is a date range without an end
4064         time.
4066         * org.el (org-try-structure-completion): New function.
4068 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
4070         * org.el (org-set-font-lock-defaults): Improve fontification of
4071         description lists.
4072         (org-insert-item): Handle description lists.
4073         (org-adaptive-fill-function): Improve auto indentation in
4074         description lists.
4076         * org-exp.el (org-export-as-html, org-export-preprocess-string):
4077         Implement VERSE environment.
4078         (org-export-preprocess-string): Implement the COMMENT
4079         environment.
4081         * org-export-latex.el (org-export-latex-preprocess): Implement
4082         VERSE environment.
4084 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
4086         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4087         option.
4089 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
4091         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4093         * org.el (org-quote-csv-field): New functions.
4095         * org-table.el (org-table-export-default-format): Remove :splice
4096         from default format, we get the same effect by not specifying
4097         :tstart and :tend.
4098         (org-table-export): Improve setup, distinguish better between
4099         interactive and non-interactive use, allow specifying the format
4100         on the fly, better protection against wrong file names.
4101         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
4102         and :tend when :splice is omitted.
4104 2008-05-09  Bernt Hansen  <bernt@norang.ca>
4106         * org-clock.el (org-clock-select-task): Make sure the selection
4107         letters are 1-9 and A-Z, no special characters.
4109 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
4111         * org-exp.el (org-export-htmlize): New group.
4112         (org-export-htmlize-output-type)
4113         (org-export-htmlize-css-font-prefix): New options.
4114         (org-export-htmlize-region-for-paste): New function.
4115         (org-export-htmlize-generate-css): New command.
4117 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
4119         * org/org.el (org-modules, org-format-latex-options):
4120         * org/org-archive.el (org-archive-stamp-time)
4121         (org-archive-save-context-info):
4122         * org/org-faces.el (org-hide):
4123         * org/org-irc.el (org-irc-parse-link):
4124         * org/org-macs.el (org-call-with-arg, org-autoload):
4125         * org/org-mew.el (org-mew-store-link):
4126         * org/org-remember.el (org-remember-store-without-prompt)
4127         (org-remember-templates): Fix typos in docstrings.
4129         * org/org-info.el (org-info-store-link): Remove leftover docstring.
4131         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4132         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4133         (org-bbdb-anniv-split): Fix typos in docstrings.
4135         * org/org-publish.el (org-publish-project-alist): Doc fixes.
4136         (org-publish-use-timestamps-flag): Reflow docstring.
4137         (org-publish-files-alist): Fix typos in docstring.
4139 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
4141         * org.el (org-set-visibility-according-to-property): New function.
4142         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
4143         and compute the regular expressions, and update font-lock.
4144         (org-property-re): Allow a dash in property names.
4146         * org-archive.el (org-extract-archive-file): Insert the file name
4147         without the path into the format, to allow the location format to
4148         contain a subdirectory.
4150         * org-agenda.el (org-agenda-post-command-hook): If point is at end
4151         of buffer, and the `org-agenda-type' property undefined, use the
4152         value from the character before.
4154         * org.el (org-add-planning-info): Don't let indentation for
4155         would-be timestamp become extra whitespace at the end of headline.
4157 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
4159         * org.el (org-remove-double-quotes, org-file-contents): New
4160         functions.
4162         * org-exp.el (org-infile-export-plist): Also parse the
4163         contents of #+SETUPFILE files, recursively.
4165         * org.el (org-set-regexps-and-options): Also parse the
4166         contents of #+SETUPFILE files, recursively.
4168         * org-exp.el (org-export-handle-include-files): New function.
4169         (org-export-preprocess-string): Call
4170         `org-export-handle-include-files'.
4172         * org.el (org-delete-property-globally)
4173         (org-delete-property, org-set-property): Ignore case during
4174         completion.
4175         (org-set-property): Use `org-completing-read' instead of
4176         `completing-read'.
4178         * org.el (org-complete-expand-structure-template): New,
4179         experimental function.
4180         (org-structure-template-alist): New, experimental option.
4181         (org-complete): Call `org-complete-expand-structure-template'.
4183 2008-05-06  Bastien Guerry  <bzg@altern.org>
4185         * org-export-latex.el (org-export-latex-preprocess): Added
4186         support for blockquotes.
4188 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
4190         * org.el (org-read-date-analyze): Catch the case where only a
4191         weekday is given.
4193 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
4195         * org.el (org-set-font-lock-defaults): Make the description
4196         tag bold.
4198         * org-exp.el (org-export-as-html, org-close-li): Implement
4199         description lists.
4201 2008-05-04  Jason Riedy  <jason@acm.org>
4203         * org-table.el (*orgtbl-default-fmt*): New variable.
4204         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
4205         when there is no other fmt available.
4207         (orgtbl-to-generic): Allow an explicitly nil :tstart or
4208         :tend to suppress the appropriate string.
4210         (orgtbl-to-orgtbl): New function for translating to another orgtbl
4211         table.
4213 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
4215         * org.el (org-read-date-analyze): "." as an alias for "+0" in
4216         read date.
4218         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
4219         New function.
4221         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
4222         New function.
4224 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
4226         * org-clock.el (org-clock-find-position): Don't include notes
4227         into clock drawer.
4229         * org-archive.el (org-archive-subtree): No longer remove an
4230         extra line after cutting the subtree.  `org-cut-subtree' already
4231         takes care of this.
4233         * org-remember.el (org-remember-handler): Only kill the target
4234         buffer if it does not contain the running clock.
4236         * org.el (org-markers-to-move): New variable.
4237         (org-save-markers-in-region, org-check-and-save-marker)
4238         (org-reinstall-markers-in-region): New function.
4239         (org-move-subtree-down, org-copy-subtree): Remember relative
4240         marker positions before cutting.
4241         (org-move-subtree-down, org-paste-subtree): Restore relative
4242         marker positions after pasting.
4244         * org-remember.el (org-remember-clock-out-on-exit): New option.
4245         (org-remember-finalize): Clock out only if the setting in
4246         `org-remember-clock-out-on-exit' requires it.
4247         (org-remember-handler): Do the cleanup in the buffer, to make sure
4248         that the clock marker remains in tact.
4250 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
4252         * org-clock.el (org-clock-goto): Widen buffer if necessary.
4253         (org-clock-in): Make sure that also tasks outside the narrowed
4254         region will be clocked in correctly.
4255         (org-clock-insert-selection-line): Widen the buffer so that we can
4256         find the correct task heading.
4258         * org.el (org-base-buffer): New function.
4260         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
4261         and ";" are escaped.
4262         (org-print-icalendar-entries): Also apply
4263         `org-icalendar-cleanup-string' to the headline, not only to the
4264         summary property.
4266 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
4268         * org-exp.el (org-export-preprocess-hook): New hook.
4269         (org-export-preprocess-string): Call
4270         `org-export-preprocess-hook'.
4272         * org.el (org-font-lock-hook): New variable.
4273         (org-font-lock-hook): New function.
4274         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
4276 ;; Local Variables:
4277 ;; coding: utf-8
4278 ;; add-log-time-zone-rule: t
4279 ;; End:
4281     Copyright (C) 2008  Free Software Foundation, Inc.
4283   This file is part of GNU Emacs.
4285   GNU Emacs is free software: you can redistribute it and/or modify
4286   it under the terms of the GNU General Public License as published by
4287   the Free Software Foundation, either version 3 of the License, or
4288   (at your option) any later version.
4290   GNU Emacs is distributed in the hope that it will be useful,
4291   but WITHOUT ANY WARRANTY; without even the implied warranty of
4292   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4293   GNU General Public License for more details.
4295   You should have received a copy of the GNU General Public License
4296   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
4298 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c