Move org-exp-blocks.el into the core
[org-mode.git] / lisp / ChangeLog
blob9ac5f8c1d58097e511089db21b38149d63e6af84
1 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
4         (org-edit-src-exit): Better cursor positioning when returning from
5         editing.
7         * org-latex.el (org-export-latex-use-verb): New variable.
8         (org-export-latex-emph-format): Prefer \texttt over \verb when
9         org-export-latex-use-verb is set.
11 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
13         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
14         at normal indentation.
16         * org-html.el (org-export-html-close-lists-maybe): Also look at
17         normal indentation.
19         * org-remember.el (org-remember-handler): Abort remember if the
20         buffer is empty.
22         * org-src.el (org-edit-src-content-indentation): New option.
23         (org-edit-src-exit): Apply extra indentation.
25         * org-exp.el (org-export-format-source-code-or-example): Run
26         `org-src-mode-hook'.
28         * org-src.el (org-src-mode-hook): New variable.
29         (org-edit-src-code): Run `org-src-mode-hook'.
31 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
33         * org.el (org-indent-line-function): Fix indentation of +#end lines.
35         * org-src.el (org-edit-src-get-indentation): New function.
36         (org-edit-src-code): Base indentation on the begin line.
38 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
40         * org-gnus.el (org-gnus-store-link): Require message.el in
41         org-gnus-store-link.
43 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
45         * org-src.el: New file, split out of org.el
47         * org-docbook.el (org-export-as-docbook): Better indentation
48         treatment.
50         * org-macs.el (org-replace-match-keep-properties): New function.
52         * org-exp.el (org-export-mark-blockquote-verse-center): Better
53         preprocessing of center and quote and verse blocks.
55         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
56         (org-export-as-docbook): Close lists when original indentation
57         mandates it.
59         * org-html.el (org-export-html-close-lists-maybe): New function.
60         (org-export-as-html): Close lists when original indentation
61         mandates it.
63         * org-list.el (org-list-end): Respect the stored "original"
64         indentation when determining the end of the list.
66         * org-exp.el (org-export-replace-src-segments-and-examples):
67         Remember indentation correctly.
69 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
71         * org-clock.el (org-clock-update-mode-line): Apply face
72         org-mode-line-clock.
74         * org-faces.el (org-mode-line-clock): New face.
76 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
78         * org-gnus.el (org-gnus-store-link): Fix bug where
79         `org-gnus-store-link' used wrong subject when called in an article
80         buffer.  Patch provided by fengli AT gmail DOT com.
82 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
84         * org-exp.el (org-export-format-source-code-or-example): Remember
85         the original indentation of source code snippets and examples.
87         * org-latex.el (org-export-as-latex): Relocate the table of
88         contents.
90         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
92         * org-agenda.el (org-run-agenda-series): Scope global options also
93         when creating the agenda buffer.
95 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
97         * org.el (org-adapt-indentation): Improve documentation.
98         (org-insert-property-drawer): Respect org-adapt-indentation when
99         inserting the drawer.
100         (org-remove-flyspell-overlays-in): New function.
101         (org-do-emphasis-faces, org-activate-plain-links)
102         (org-activate-code, org-fontify-meta-lines-and-blocks)
103         (org-activate-angle-links, org-activate-footnote-links)
104         (org-activate-bracket-links, org-activate-dates)
105         (org-activate-target-links, org-activate-tags): Remove flyspell
106         overlays.
108 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
110         * org.el (org-edit-src-save): New function.
112         * org-clock.el (org-clock-out-switch-to-state): New option.
113         (org-clock-out): Honor `org-clock-out-switch-to-state'.
115         * org-compat.el (org-compatible-face): Improve macro.
117         * org.el (org-global-properties-fixed): Add default for
118         CLOCK_MODELINE_TOTAL.
120         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
121         andd tend.
122         (org-clock-sum-current-item): Optional argument TSTART, pass it to
123         org-clock-sum.
124         (org-clock-get-sum-start): New function.
126         * org.el (org-startup-options): New keywords blockhide and
127         blockshow.
128         (org-mode): Add new invisibility spec.
129         (org-set-startup-visibility): Hide block on startup if so
130         desired.
131         (org-hide-block-startup): New option.
132         (org-block-regexp): New constant.
133         (org-hide-block-overlays): New variable.
134         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
135         (org-show-block-all, org-hide-block-toggle-maybe)
136         (org-hide-block-toggle): New functions.
137         (org-edit-src-exit): Do not quote lines starting with # and no +
138         behind it.
139         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
140         entry.
142 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
144         * org.el (org-buffer-property-keys): Add Effort property for
145         completion.
147 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
149         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
150         when retrieving total clocked time in the subtree.
152         * org.el (org-quoting-blocks): New variable.
154 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
156         * org-table.el (org-table-store-formulas)
157         (org-table-get-stored-formulas, org-table-fix-formulas)
158         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
159         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
161         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
162         indented #+TBLFM line.
164         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
165         indented #+TBLFM line.
167         * org-colview.el (org-dblock-write:columnview): Allow indented
168         #+TBLFM line.
170         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
171         indented #+TBLFM line.
173         * org-clock.el (org-dblock-write:clocktable): Allow indented
174         #+TBLFM line.
176 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
178         * org-exp.el (org-export-format-source-code-or-example): Make
179         editing indented blocks work correctly.
181         * org.el (org-edit-src-nindent): New variable.
182         (org-edit-src-code, org-edit-fixed-width-region)
183         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
184         editing indented blocks work correctly.
186 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
188         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
189         indented blocks.
190         (org-export-format-source-code-or-example): Fix indentation of
191         blocks.
192         (org-export-remove-indentation): New function.
193         (org-export-select-backend-specific-text): Allow backend-specific
194         code to be indented.
195         (org-export-mark-blockquote-verse-center): Allow markers to be
196         indented.
198         * org.el (org-fontify-meta-lines): New function.
199         (org-set-font-lock-defaults): Call the new fontification
200         function.
202         * org-faces.el (org-meta-line): New face
203         (org-block):  New face.
205 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
207         * org.el (org-treat-insert-todo-heading-as-state-change)
208         (org-treat-S-cursor-todo-selection-as-state-change): New
209         variables.
210         (org-insert-todo-heading): Honor
211         `org-treat-insert-todo-heading-as-state-change'.
212         (org-shiftright, org-shiftleft): Honor
213         `org-treat-S-cursor-todo-selection-as-state-change'.
214         (org-inhibit-logging): New variable.
216 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
218         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
219         range for marker position checking.
221         * org-latex.el (org-export-latex-first-lines): Fix bug when
222         exporting a region.
224 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
226         * org-exp.el (org-export-push-to-kill-ring): Protect using
227         x-set-selection, because that does not always work.
229         * org-agenda.el (org-agenda-list): Apply the new face
230         `org-agenda-date-today'.
232         * org-faces.el (org-agenda-date-today): New face.
234 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
236         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
237         creating appointments.
239         * org-latex.el (org-export-latex-low-levels): Fix customization
240         type.
242         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
243         priority commands.
245         * org-agenda.el (org-agenda-priority): Disable priority commands.
247         * org.el (org-enable-priority-commands): New option.
249         * org-colview-xemacs.el (org-columns-compute)
250         (org-columns-number-to-string): Fix problems with empty fields.
252         * org-colview.el (org-columns-compute)
253         (org-columns-number-to-string): Fix problems with empty fields.
255         * org-exp.el (org-export-push-to-kill-ring): New function.
256         (org-export-copy-to-kill-ring): New option.
258         * org-latex.el (org-export-as-latex): Call
259         `org-export-push-to-kill-ring'.
261         * org-html.el (org-export-as-html): Call
262         `org-export-push-to-kill-ring'.
264         * org-docbook.el (org-export-as-docbook): Call
265         `org-export-push-to-kill-ring'.
267         * org-ascii.el (org-export-as-ascii): Call
268         `org-export-push-to-kill-ring'.
270         * org-exp.el (org-export-show-temporary-export-buffer): New
271         option. 
273         * org-latex.el (org-export-as-latex): Use
274         `org-export-show-temporary-export-buffer'.
276         * org-html.el (org-export-as-html): Use
277         `org-export-show-temporary-export-buffer'.
279         * org-docbook.el (org-export-as-docbook): Use
280         `org-export-show-temporary-export-buffer'.
282         * org-ascii.el (org-export-as-ascii-to-buffer): Use
283         `org-export-show-temporary-export-buffer'.
285         * org-exp.el (org-export-show-temporary-export-buffer): New
286         option.
287         (org-export-push-to-kill-ring): New function.
289         * org-colview.el (org-columns-compile-map): New variable.
290         (org-columns-new, org-columns-compute)
291         (org-columns-number-to-string, org-columns-uncompile-format)
292         (org-columns-compile-format): Implement new operators.
294 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
296         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
298         * org-html.el (org-export-html-xml-declaration): New option.
299         (org-export-as-html): Use `org-export-html-xml-declaration'.
301         * org-list.el (org-update-checkbox-count): Make property
302         dependent.
304         * org.el (org-hierarchical-todo-statistics): New option.
305         (org-update-parent-todo-statistics): Modified to handle recursive
306         statistics.
308 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
310         * org-publish.el (org-publish): Make this function behave
311         correctly in interactive use when called with a prefix argument.
313         * org.el (org-todo-statistics-hook): New hook.
314         (org-update-parent-todo-statistics): Use new hook.
315         (org-log-into-drawer): New function.
316         (org-add-log-setup): Use the new `org-log-into-drawer' function to
317         determine if we should be logging into a drawer.
318         (org-log-into-drawer): Update docstring.
319         (org-default-properties): Add LOG_INTO_DRAWER as a property.
321         * org-list.el (org-checkbox-statistics-hook): New hook.
322         (org-update-checkbox-count-maybe): Use new hook.
324         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
325         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
326         to kill ring.
328 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
330         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
331         a line.
333 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
335         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
336         better bufer-generating mechanism.
337         (org-edit-src-find-buffer): New function.
339         * org-icalendar.el (org-print-icalendar-entries): Don't check for
340         archive tag, this is already done by `org-agenda-skip'.
341         data while constructing lost of tags.
343 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
345         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
346         as argument separator in macros.
348         * org-html.el (org-export-as-html): Add xml declaration.
350 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
352         * org.el (org-after-sorting-entries-or-items-hook): New hook.
353         (org-sort-entries-or-items): Run the new hook.
354         (org-after-refile-insert-hook): New hook.
355         (org-refile): Run `org-after-refile-insert-hook'.
357         * org-agenda.el (org-agenda-get-progress): Never take time of day
358         from headline when displaying progress.
360         * org-latex.el (org-export-latex-complex-heading-re): New variable.
361         (org-export-as-latex): Force the correct regexp in the
362         preprocessor buffer.
363         (org-export-latex-set-initial-vars): Set
364         `org-export-latex-complex-heading-re'.
366         * org-agenda.el (org-agenda-start-with-log-mode): New option.
367         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
369 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
371         * org-latex.el (org-export-latex-tables-centered): New option.
372         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
374         * org-exp.el (org-export-as-org): New command.
375         (org-export-as-org): New command.
377         * org-publish.el (org-publish-org-to-org): New function.
379 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
381         * org.el (org-yank): Just call `org-yank-generic'.
382         (org-yank-generic): New function, containing the formaer
383         functionality of `org-yank'.
385         * org-latex.el (org-export-latex-not-done-keywords)
386         (org-export-latex-done-keywords): New variables.
387         (org-export-latex-todo-keyword-markup): New option.
388         (org-export-latex-set-initial-vars): Remember the TODO keywords.
389         (org-export-latex-keywords-maybe): Apply the TODO markup.
391 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
393         * org-exp.el (org-infile-export-plist): Add more default macros.
394         (org-export-preprocess-apply-macros): Process macro arguments.
396 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
398         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
399         `unblocked'.
400         (org-print-icalendar-entries): Respect the new value of
401         `org-icalendar-include-todo'.
403         * org.el (org-link-try-special-completion)
404         (org-file-complete-link): New functions.
405         (org-insert-link): Add special completion support for some link
406         types.
408         * org-bbdb.el (org-bbdb-complete-link): New function.
410 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
412         * org-list.el (org-update-checkbox-count): Allow recursive
413         statistics.
414         (org-hierarchical-checkbox-statistics): New option.
416         * org.el (org-cycle): Remove erraneous space character.
418         * org-icalendar.el (org-icalendar-timezone): Initialize from
419         environment.
421         * org-html.el (org-format-org-table-html): Specify the scope.
422         (org-format-table-table-html): Specify the scope.
423         (org-export-table-header-tags): Prepare the scope parameter.
425 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
427         * org-html.el
428         (org-export-html-table-use-header-tags-for-first-column): New
429         option.
431         * org.el (org-autoload): Fix autoloading of ascii export
432         functions.
433         (org-modules): Add org-special-blocks.
435 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
437         * org-icalendar.el (org-start-icalendar-file): Use the new option.
438         (org-ical-timezone): New option.
440         * org-exp.el (org-export-get-coderef-format): Use the description
441         is present.
443         * org.el (org-sort-entries-or-items): Improve docstring, and make
444         better implementation for time sorting.
446 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
448         * org.el (org-edit-src-persistent-message): New option.
449         (org-edit-src-code, org-edit-fixed-width-region): Use the new
450         option.
452         * org-clock.el (org-clock-insert-selection-line): Fix prefious
453         patch.
455         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
456         separate buffer instead of indirect buffer to edit source code.
457         (org-edit-src-exit): Make this function work with the new setup.
459         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
460         are properly fontified before shown in the selection menu.
462         * org.el (org-fontify-like-in-org-mode): New function.
464         * org-latex.el (org-export-latex-links): Use the property list to
465         retrieve the default image attributes.
467         * org-exp.el (org-export-plist-vars): Add a new option.
469 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
471         * org-exp.el (org-export, org-export-visible): Support ASCII
472         export to buffer
473         (org-export-normalize-links): Do not protect the description if it
474         is explicitly given.
476         * org-ascii.el (org-export-as-ascii-to-buffer)
477         (org-replace-region-by-ascii, org-export-region-as-ascii): New
478         commands.
479         (org-export-as-ascii): Add all the same parameters that are also
480         supported by the other export functions.
482         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
483         org-checklist.el.
484         (org-reset-checkbox-state-subtree): Call
485         `org-reset-checkbox-state-subtree'.
487         * org-remember.el (org-select-remember-template): For the
488         selection of a valid template.
490         * org-latex.el (org-export-region-as-latex): Supply the
491         force-no-subtree argument.
492         (org-export-as-latex): Provide better limits when exporting the
493         first line.  When exporting to string, we still want the first
494         lines.
495         (org-export-latex-first-lines): New argument END, to force the end
496         of the region.
497         (org-export-region-as-latex): Use the property list.
498         (org-export-as-latex):
500         * org-colview-xemacs.el (org-columns-remove-overlays)
501         (org-columns): Fix call to `local-variable-p'.
503 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
505         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
506         (org-export-as-html): Run the new hook.
508         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
509         (org-export-latex-preprocess): Run the new hook.
511         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
512         (org-export-preprocess-string): Run the new hook.
514 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
516         * org-macs.el (org-check-external-command): New defsubst.
518         * org.el (org-mode-map): New key for reload.
519         (org-format-latex): Better error message when external programs
520         are not available.
522         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
524         * org.el (org-sort-entries-or-items): Explicit sorting function
525         for priorities, needed for XEmacs compatibility.
527         * org-remember.el (org-remember-apply-template): Improve auto-save
528         behavior.
530 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
532         * org-latex.el (org-export-latex-preprocess): Also protect
533         environments ending in a star.
535         * org-list.el (org-at-item-p): Fix regular expression.
537 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
539         * org.el (org-end-of-subtree): Improve speed.
541         * org-agenda.el (org-agenda-get-timestamps)
542         (org-agenda-get-progress, org-agenda-get-deadlines)
543         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
544         in particular, wait as long as possible to collect the tags.
545         (org-stuck-projects): Improve docstring.
547         * org.el (org-store-link): No errors when getting custom id before
548         first headline.
549         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
551 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
553         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
555         * org-protocol.el: Remove dependency on url.el.
556         (org-protocol-unhex-compound, org-protocol-open-source): Remove
557         dependency on url.el.
559         * org-latex.el (org-export-as-pdf): Use
560         `org-latex-to-pdf-process'.
562 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
564         * org-latex.el (org-latex-to-pdf-process): New option.
566         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
567         New option.
568         (org-agenda-get-timestamps): Honor
569         `org-agenda-skip-additional-timestamps-same-entry'.
571         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
572         (org-clock-goto): Find recent task only if
573         `org-clock-goto-may-find-recent-task' allows it.
575         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
576         drawers, and drawers that are missing the :END: line.
578 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
580         * org-clock.el (org-clock-goto): Go to recently clocked task if no
581         clock is running.
583 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
585         * org.el (org-update-parent-todo-statistics): Check for
586         STATISTICS_FROM property.
588         * org-list.el (org-update-checkbox-count): Check for
589         STATISTICS_FROM property.
591         * org.el (org-tab-first-hook)
592         (org-tab-after-check-for-table-hook)
593         (org-tab-after-check-for-cycling-hook): New hooks.
594         (org-cycle-internal-global, org-cycle-internal-local): New
595         functions, split out from `org-cycle'.
596         (org-cycle): Call the new hooks.
598 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
600         * org-exp.el (org-export-preprocess-string): Reset the list of
601         preferred targets for each run of the preprocessor.
603         * org.el (org-refile-target-verify-function): Improve
604         documentation.
605         (org-get-refile-targets): Respect point being moved by the
606         verification function.
608         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
609         option.
610         (org-export-latex-keywords): Use new option.
612         * org.el (org-rear-nonsticky-at): New defsubst.
613         (org-activate-plain-links, org-activate-angle-links)
614         (org-activate-footnote-links, org-activate-bracket-links)
615         (org-activate-dates, org-activate-target-links)
616         (org-activate-tags): Place the rear-nonsticky properties at the
617         correct location.
619 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
621         * org-protocol.el (server-edit): Declare `server-edit'.
622         (org-protocol-unhex-string, org-protocol-unhex-compound): New
623         functions.
624         (org-protocol-check-filename-for-protocol): Call `server-edit'.
626         * org.el (org-default-properties): New default properteis for
627         completion.
629         * org-exp.el (org-export-add-subtree-options): Add new properties
630         for subtree export.
632         * org-docbook.el (org-export-docbook-keywords-markup)
633         (org-export-docbook-timestamp-markup): New options.
634         (org-export-docbook-protect-tags): New function.
636 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
638         * org-id.el (org-id-get-with-outline-path-completion): Turn off
639         org-refile-target-verify-function for the duration of the command.
641         * org.el (org-link-to-org-use-id): New possible value
642         `create-if-interactive-and-no-custom-id'.
643         (org-store-link): Use custom IDs.
644         (org-link-search): Find custom ID properties from #link.
645         (org-default-properties): Add CUSTOM_ID for property completion.
646         (org-refile-target-verify-function): New option.
647         (org-goto): Turn off org-refile-target-verify-function
648         for the duration of the command.
650 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
652         * org-html.el (org-export-as-html): Use custom IDs in the toc.
654         * org-exp.el (org-export-preferred-target-alist): New variable.
655         (org-export-define-heading-targets): Find the new CUSTOM_ID
656         property.
657         (org-export-target-internal-links): Target the custom ids when
658         possible.
660         * org-latex.el (org-export-latex-preprocess): Better regexp for
661         matching latex macros with arguments.
663 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
665         * org-remember.el (org-remember-handler): Allow filing to non-org
666         files.
668 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
670         * org-feed.el (org-feed-alist): New keyword options.
671         (org-feed-update): Use the new options.
672         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
673         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
674         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
675         functions.
677         * org-table.el (org-table-fix-formulas): Do not change references
678         to remote tables.
679         (org-table-get-remote-range): Convert standard coordinates to RC
680         format.
682         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
684 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
686         * org-compat.el (org-sha1-string): Function removed.
688         * org.el (org-refile-allow-creating-parent-nodes): New option.
689         (org-refile-get-location): New argument NEW-NODES.
690         (org-refile): Call `org-refile-get-location' with the new
691         argument.
692         (org-refile-get-location): Arrange for adding a new child.
693         (org-refile-new-child): New function.
695         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
696         an additional span element.
698         * org-clock.el: Fix a number of docstrings.
699         (org-clock-find-position): New argument
700         FIND-UNCLOSED to make the function find an unclosed clock in the
701         entry.
702         (org-clock-in): Call `org-clock-find-position' with the new
703         argument if we might be resuming a clock.
705 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
707         * org-latex.el (org-export-latex-display-custom-times): New variable.
708         (org-export-latex-timestamp-markup): New option.
709         (org-export-latex-set-initial-vars): Remember the local value of
710         `org-display-custom-times'.
711         (org-export-latex-content): Process time stamps.
712         (org-export-latex-time-stamps): New function.
714         * org-macs.el (org-maybe-intangible): Add intangible property
715         again to invisible text.
717 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
719         * org-exp.el (org-default-export-plist): Handle undefined
720         variables.
722 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
724         * org.el (org-sort-entries-or-items): Match TODO keywrds
725         case-sensitively, when sorting.
726         (org-priority): Do not match TODO keywords with wrong case.
728 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org-feed.el (org-feed-update): Bind the variable
731         `new-formatted'.
733         * org-html.el (org-export-as-html): Start paragraphs after literal
734         examples.
736         * org-docbook.el (org-export-as-docbook): Start paragraphs after
737         literal examples.
739 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
741         * org.el (org-todo): Honor the NOBLOCKING property.
743         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
744         NOBLOCKING property.
746         * org.el (org-scan-tags): Fix bug in tag scanner
748 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
750         * org.el (org-modules): Mark obsolete packages.
752         * org-html.el: New file, split out from org-exp.el.
754         * org-icalendar.el: New file, split out from org-exp.el.
756         * org-xoxo.el: New file, split out from org-exp.el.
758         * org-ascii.el: New file, split out from org-exp.el.
760 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
762         * org-compat.el (org-find-library-name): New function.
764         * org.el (org-pre-cycle-hook): New hook.
765         (org-cycle): Call the new hook in appropriate places.
766         (org-reload): Only reload files that have been loaded before.
768 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
770         * org.el (org-set-font-lock-defaults): Enforxe space or line end
771         after todo keyword.
772         (org-todo): When changing TODO state, do matching
773         case-sensitively.
774         (org-map-continue-from): New variable.
775         (org-scan-tags): Respect values in `org-map-continue-from'.
776         (org-reload): Make XEmacs compatible.
778 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
780         * org-protocol.el (org-protocol-flatten-greedy): New function.
781         (org-protocol-flatten): New function.
783         * org.el (org-open-link-from-string): Pass reference buffer to
784         `org-open-at-point'.
785         (org-open-at-point): New optional argument `reference-buffer'.
787 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
789         * org.el (org-scan-tags): Make tag scan find headline in first
790         line, 2nd attempt.
791         (org-get-refile-targets): Add the naked file name.
792         (org-refile): Store as top-level entry when only file name was
793         given.
795         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
797         * org.el (org-block-todo-from-children-or-siblings-or-parent):
798         Renamed from org-block-todo-from-children-or-siblings, and
799         enhanced to look for the parent's status as well.
801         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
802         (org-agenda-get-progress): Add first notes line to log entry if so
803         desired.
805 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
807         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
808         (org-agenda-cleanup-fancy-diary): Call the new hook.
810         * org-remember.el (org-remember-apply-template): Take the default
811         for the annotation from the :annotation property.
813         * org-mac-message.el (org-mac-message-get-link): Remove the
814         quotes.
815         (org-mac-message-get-link): Return the result.
817 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
819         * org.el (org-refile-get-location): Add file name only if not
820         already included in outline path.
822         * org-faces.el (org-n-level-faces): Fix customization type from
823         number to integer.
825         * org-exp.el (org-export-headline-levels): Fix customization type
826         from number to integer.
828         * org-agenda.el (org-agenda-confirm-kill)
829         (org-agenda-custom-commands-local-options)
830         (org-timeline-show-empty-dates, org-agenda-ndays)
831         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
832         customization type from number to integer.
834 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
836         * org-protocol.el: Declare some functions.
838         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
839         postion before inserting modified headline.
841         * org-agenda.el (org-agenda-compare-effort): Honor
842         `org-sort-agenda-noeffort-is-high'.
843         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
844         (org-agenda-compare-effort): Implement the "?" operator for
845         finding entries without effort setting.
847         * org.el (org-extract-attributes-from-string): New function.
849         * org-exp.el (org-export-splice-attributes): New function.
851 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
853         * org-mouse.el: XEmacs compatibility fixes
855         * org-docbook.el (org-export-as-docbook): Process footnotes like
856         normal text.
858         * org.el (org-modules): Add org-inlinetasks.el
859         (org-cycle): Implement limiting level on cycling.
860         (org-move-subtree-down): Fix bug with swapping subtrees at end of
861         buffer.
863         * org-inlinetask.el: New file.
865         * org.el (org-emphasis-regexp-components): Allow braces in
866         emphasis pre and post match.
868         * org-footnote.el (org-footnote-normalize): When only dorting, do
869         not insert inline notes at the end.
871         * org-docbook.el (org-id-find-id-file): Add function declaration.
873         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
875         * org-docbook.el: New file.
877 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
879         * org.el (org-reftex-citation): New command.
881 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
883         * org-agenda.el (org-agenda-cmp-user-defined): New option.
884         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
885         sorting options.
886         (org-entries-lessp): Apply the new sorting option.
888         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
889         blocker code, when an older sibling has children.
891         * org-mac-message.el (org-mac-message-get-link): Improve getting
892         links from multiple selected messages.
894 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
896         * org-remember.el (org-remember-finalize): Do not set buffer file
897         name to nil.
898         (org-remember-handler): Mark buffer as unmodified.
899         (org-remember-handler): Delete backup file and show message about
900         remaining backup files.
901         (org-remember-auto-remove-backup-files): New option.
903         * org.el (org-store-link): Use buffer name as link description in
904         w3-mode buffers.
905         (org-ido-switchb): Fix argument bug for completion.
907         * org-remember.el (org-remember-apply-template): Set local
908         variable `auto-save-visited-file-name' instead of global one.
910 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
912         * org-feed.el: Re-write.
914         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
915         (org-agenda-get-todos): Mark file tags as inherited.
916         (org-agenda-list): Always search diary lines for a time.
918 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
920         * org-feed.el (org-feed-assume-stable): New option.
921         (org-feed-before-adding-hook): New hook.
923         * org-exp.el (org-export-as-html): Close local lists depending on
924         indentation, also when starting a table.
926         * org-remember.el (org-remember-backup-directory)
927         (org-remember-backup-name): New internal variable.
929 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
931         * org-clock.el (org-clock-out-if-current): Make buffer detection
932         work in indirect buffers as well.
934         * org.el (org-emphasis-regexp-components): Add the exxclamation
935         mark to the post-emphasis characters.
937 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
939         * org.el (org-read-date-minibiffer-septup-hook): New hook.
940         (org-read-date): Run the new hook.
942         * org-mac-message.el (org-mac-flagged-mail): New group.
943         (org-mac-mail-account): New variable.
944         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
945         commands.
947         * org-remember.el (org-remember-backup-directory): New variable.
948         (org-remember-apply-template): Write file to backup directory.
950 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
952         * org-mouse.el (org-mouse-todo-menu): New function.
953         (org-mouse-todo-keywords): Function removed.
954         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
956         * org-table.el (org-table-beginning-of-field)
957         (org-table-end-of-field): New commands
958         (org-table-previous-field, org-table-beginning-of-field): Better
959         error messages.
960         (orgtbl-setup): Include `M-a' and `M-e'.
962         * org.el (org-backward-sentence, org-forward-sentence): New
963         commands.
965         * org-colview.el (org-colview-initial-truncate-line-value): New
966         variable.
967         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
968         (org-columns): Remember the value of `truncate-lines'.
970         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
971         New variable.
972         (org-columns-remove-overlays): Restore the value of
973         `truncate-lines'.
974         (org-columns): Remember the value of `truncate-lines'.
976         * org.el (org-columns-skip-arrchived-trees): New option.
978         * org-agenda.el (org-agenda-export-html-style): Define color for
979         org-agenda-done face.
980         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
981         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
983         * org.el (org-scan-tags): Use the new face.
985         * org-faces.el (org-agenda-done): New face.
987         * org.el (org-scan-tags): Test the value org
988         `org-tags-match-list-sublevels'.
989         (org-tags-match-list-sublevels): New allowed value: indented.
991         * org-export-latex.el (org-export-latex-make-header): Apply macros
992         in header.
994         * org-exp.el (org-export-apply-macros-in-string): New function.
996         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
997         with the definition of a checked box.
999         * org-clock.el (org-clock-find-position): Fix drawer indentations.
1001         * org-export-latex.el (org-export-latex-low-levels): More options
1002         for how to process lower levels in LaTeX.
1003         (org-export-latex-subcontent): Better treatment for lists as a
1004         means of publishing lower levels.
1006 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
1008         * org.el (org-set-font-lock-defaults): Use new checkbox face.
1010         * org-faces.el (org-checkbox): New face.
1012         * org-exp.el (org-export-html-preprocess): Only create LaTeX
1013         fragement images if there is an export file.
1015 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
1017         * org-agenda.el (org-stuck-projects): Document that the subtree of
1018         projects that are not stuck will now be searched for stuck
1019         sub-projects.
1020         (org-agenda-skip-entry-when-regexp-matches)
1021         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1022         (org-agenda-list-stuck-projects): Use
1023         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1025         * org-export-latex.el (org-export-latex-preprocess): Improve
1026         export of verses.
1028         * org-exp.el (org-export-as-html): Implement centering as a div
1029         rather than a paragraph.  Do a better job with line-end in verse
1030         environments.
1032 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
1034         * org.el (org-open-at-point): Fix tags searches by mouse click.
1036 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
1038         * org-export-latex.el (org-export-latex-preprocess): Implement the
1039         centering markup.
1041         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1042         from `org-export-mark-blockquote-and-verse'.
1043         (org-export-as-html): Implement the centering markup.
1045         * org-export-latex.el (org-export-latex-tables): Fix vertical
1046         lines in tables.
1048 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
1050         * org.el (org-read-date-history): New variable.
1051         (org-read-date): Use new history variable.
1052         (org-toggle-heading): Fix bug when used before first headline.
1053         (org-store-log-note): Remove drawer if empty while note is
1054         aborted.
1055         (org-remove-empty-drawer-at): New function.
1056         (org-check-after-date): New command.
1057         (org-sparse-tree): New sparse tree command "a".
1059         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1061 2009-03-14  Bastien Guerry  <bzg@altern.org>
1063         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1064         column and a space, not only a column.
1066 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
1068         * org-export-latex.el (org-export-latex-emphasis-alist): Better
1069         defaults for verbose emphasis.
1070         (org-export-latex-emph-format): New function.
1071         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1073         * org-agenda.el (org-agenda-menu): Add new commands to menu.
1074         (org-agenda-do-date-later, org-agenda-do-date-earlier)
1075         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1076         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1077         commands.
1079         * org.el (org-timestamp-change): Move end-time along with start
1080         time.
1082 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
1084         * org-exp.el (org-export-target-internal-links)
1085         (org-export-as-html): Protect links specified as #name.
1087 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
1089         * org.el (org-clone-subtree-with-time-shift): New command.
1091         * org-export-latex.el (org-export-latex-special-chars)
1092         (org-export-latex-treat-sub-super-char): Fix subscript export.
1094         * org-exp.el (org-create-multibrace-regexp): Do not add
1095         backslashes to the class.
1097 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
1099         * org-colview.el (org-columns-map): Better functions for moving up
1100         and down a row, even if `truncate-line' is nil.
1102         * org.el (org-insert-todo-heading): Make sure the keyword is
1103         inserted at the correct position.
1105         * org-publish.el (org-publish-project-alist)
1106         (org-publish-projects, org-publish-org-index): Change default anme
1107         for the index of file names to "sitemap.org".
1109         * org-export-latex.el (org-export-latex-tables): Use
1110         `org-split-string', for Emacs 21 compatibility.
1112 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
1114         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1116 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
1118         * org-exp.el (org-export-page-description)
1119         (org-export-page-keywords): New variables.
1120         (org-export-plist-vars): Add entries for :keywords and
1121         :description.
1122         (org-infile-export-plist): Parse for new keywords.
1123         (org-get-current-options): Add new keywords
1124         (org-export-as-html): Publish description and keywords.
1126         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1127         option.
1128         (org-agenda-add-entry-text): Honor
1129         `org-agenda-add-entry-text-descriptive-links'.
1131         * org-export-latex.el (org-export-latex-preprocess): Make all
1132         external preprocess functions use a PARAMETER arg.
1134         * org-exp.el (org-export-preprocess-string)
1135         (org-export-select-backend-specific-text)
1136         (org-export-format-source-code-or-example)
1137         (org-format-org-table-html): Support docbook export.
1138         (org-export-preprocess-string): Make all external preprocess
1139         functions use a PARAMETER arg.
1141 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
1143         * org-exp.el (org-export-html-style-include-scripts): New option.
1144         (org-export-plist-vars): Add new option
1145         `org-export-html-style-include-scripts'.
1146         (org-export-as-html): Honor new option
1147         `org-export-html-style-include-scripts'.
1148         (org-export-html-scripts, org-export-html-style-default): Fix
1149         xml issues with the Safari browser.
1151 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
1153         * org-publish.el (org-publish-attachment): Only copy file when the
1154         directories differ.
1156 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
1158         * org-clock.el (org-clocktable-steps): Use inactive time stamps
1159         for clocktable steps.
1161         * org.el (org-additional-option-like-keywords): Add two more
1162         keywords.
1164 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
1166         * org-exp.el (org-export-format-source-code-or-example): Mark
1167         temporary buffer unmodified, so that it will be killed even if
1168         mode like message mode has decided to assign a file name.
1170         * org.el (org-scan-tags): Improve tag inheritance.
1171         (org-scan-tags, org-make-tags-matcher): Make tag comparison
1172         case-sensitive.
1173         (org-scan-tags): Use the internal tags list instead of creating it
1174         from scratch.
1175         (org-trust-scanner-tags, org-scanner-tags): New variables.
1176         (org-scan-tags): Set `org-scanner-tags'.
1177         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
1178         (org-map-entries): Document the possible speedup using scanner
1179         tags.
1181 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
1183         * org.el (org-add-planning-info): Fix bug with looking for keyword
1184         only at column 0.
1186         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1187         option for tags filter preset.
1188         (org-prepare-agenda): Store filter preset as a property on the
1189         filter variable.
1190         (org-finalize-agenda): Call the filter, if there is a preset.
1191         (org-agenda-filter-by-tag): Filter again after clearing the
1192         filter, when there still is a preset.
1193         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
1194         Include the preset filter.
1195         (org-agenda-redo): Apply the filter again, also the preset filter.
1197         * org-exp.el (org-export-as-html): Use IDs in the correct way.
1199         * org.el (org-uuidgen-p): New funtion.
1201         * org-agenda.el (org-agenda-fontify-priorities): New default value
1202         `cookies'.
1203         (org-agenda-fontify-priorities): Renamed from
1204         org-fontify-priorities.
1206         * org.el (org-set-font-lock-defaults): Call
1207         `org-font-lock-add-priority-faces'.
1208         (org-font-lock-add-priority-faces): New function.
1210         * org-faces.el: (org-set-tag-faces): New option.
1211         (org-priority-faces): New variable.
1213         * org-exp.el (org-export-as-html): Add a "content" div around the
1214         entire content of the body tag.
1215         (org-export-html-get-bibliography): New function.
1216         (org-export-html-validation-link): New variable.
1217         (org-export-as-html): Add validation link to exported page.
1219         * org.el (org-match-sparse-tree): Renamed from
1220         `org-tags-sparse-tree'.
1221         (org-tags-sparse-tree): New alias.
1223 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
1225         * org.el (org-get-valid-level): Catch the case where the level
1226         change is nil.
1228         * org-clock.el (org-clock-find-position): Better indentation of
1229         new clock drawers.
1231 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
1233         * org-agenda.el (org-agenda-quit): Delete window only when the
1234         frame-setup was not `current-window'.
1236         * org.el (org-tag-persistent-alist): New option.
1237         (org-startup-options): Add keyword `noptag'.
1238         (org-fast-todo-selection): Handle :newline correctly.
1239         (org-set-tags): Handle :newline correctly.
1240         (org-fast-tag-selection): Handle :newline correctly.
1242 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
1244         * org-exp.el (org-export-as-ascii): Reverse link buffer before
1245         outputting it.
1246         (org-export-ascii-push-links): Fix bug with pussing links into the
1247         export buffer.
1249 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
1251         * org-archive.el (org-archive-subtree): Do not add 1 to level if
1252         pasting at top level.
1254         * org-bbdb.el: Improve documentation.
1256 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
1258         * org-list.el (org-insert-item): Only consider insert empty lines
1259         is `org-empty-line-terminates-plain-lists' is not nil.
1261         * org.el (org-blank-before-new-entry): Mention the dependence on
1262         `org-empty-line-terminates-plain-lists' in the docstring.
1264         * org-publish.el (org-publish-get-project-from-filename): New
1265         optional argument UP.  Only find the top project if UP is set.
1266         (org-publish-current-project): Find the top encloding project.
1268         * org-agenda.el (org-agenda-before-write-hook)
1269         (org-agenda-add-entry-text-maxlines): New options.
1270         (org-write-agenda): Run the new hook in the temporary buffer.
1271         (org-agenda-add-entry-text): New function.
1272         (org-write-agenda): Implement PDF export, using ps2pdf.
1274         * org.el (org-global-properties-fixed, org-global-properties):
1275         Improve documentation string.
1277         * org-exp.el (org-export-ascii-links-to-notes): New option.
1278         (org-export-as-ascii): Handle links better.
1279         (org-export-ascii-wrap, org-export-ascii-push-links): New
1280         functions.
1282 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
1284         * org-agenda.el (org-agenda): Make prefix arg optional.
1285         (org-agenda-search-headline-for-time): New option.
1286         (org-format-agenda-item): Honor
1287         `org-agenda-search-headline-for-time'.
1289         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
1290         characters.
1292         * org.el (org-self-insert-cluster-for-undo): New option.
1293         (org-self-insert-command): Cluster undo for 20 characters.
1294         (org-self-insert-command-undo-counter): New variable.
1296 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
1298         * org-exp.el (org-export-as-html): Fix problem with closing colone
1299         example.
1301 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
1303         * org-export-latex.el (org-export-as-latex)
1304         (org-export-latex-first-lines): Avoid modification flag when
1305         adding or removing text properties.
1306         (org-export-latex-fontify): Catch error when org-emph-alist has
1307         entries that are not defined for LaTeX export.
1309         * org.el (orgstruct++-mode): New function.
1310         (turn-on-orgstruct++): Call `orgstruct++-mode'.
1311         (org-context-p): Allow detecting item context after the first line
1312         of an item.
1313         (orgstruct-make-binding): Detect if item-body context should be
1314         seen.
1315         (orgstruct-is-++): New variable.
1316         (org-add-planning-info): Catch the case when there is no planning
1317         info yet and the call does not want to add anything, only maybe
1318         tries to remove something.
1319         (org-special-ctrl-a/e): All value to be a cons cell with separate
1320         settings for `C-a. and `C-e'.
1321         (org-beginning-of-line, org-end-of-line): Honor separate values
1322         for `C-a' and `C-e'.
1324 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
1326         * org.el (org-reload): New command.
1328 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
1330         * org-exp.el (org-export-htm-get-tag-class-name)
1331         (org-export-htm-get-todo-kwd-class-name): New functions.
1332         (org-export-html-tag-class-prefix)
1333         (org-export-html-todo-kwd-class-prefix): New options.
1334         (org-export-as-html): Call
1335         `org-export-html-get-todo-kwd-class-name'.
1336         (org-html-level-start): Wrap tags into classes.
1337         (org-export-html-get-tag-class-name)
1338         (org-export-html-get-todo-kwd-class-name): New functions.
1340         * org-export-latex.el (org-export-latex-collect-header-macros):
1341         Remove fields that are used anyway.
1342         (org-export-latex-make-header): Insert the options earlier.
1344         * org-agenda.el (org-agenda-get-progress): Fix bug with state
1345         matching.
1347         * org-list.el (org-indent-item): Allow point to be at the end of
1348         the region.
1350         * org.el (org-metaleft, org-metaright): Be more accurate about
1351         detecting a region where commands apply.
1353         * org-compat.el (org-cursor-to-region-beginning): New function.
1355         * org.el (org-priority): Also find invisible heading.
1357         * org-colview-xemacs.el (org-columns-edit-value): No special
1358         treatment for `org-todo' prefix.
1360         * org-colview.el (org-columns-edit-value): No special treatment
1361         for `org-todo' prefix.
1363         * org-remember.el (org-remember-apply-template): Use
1364         `org-completing-read-no-ido'.
1366         * org.el (org-completing-read-no-ido): New function.
1367         (org-make-tags-matcher, org-set-property): Use
1368         `org-completing-read-no-ido'.
1370         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
1371         New option.
1372         (org-export-as-latex): Import in-buffer settings as TeX macros.
1373         (org-export-latex-make-header): Additional parameter OPT-DEFS.
1374         (org-export-latex-collect-header-macros): New function.
1376         * org.el (org-refile-get-location): Turn off
1377         `partial-completion-mode'.
1379 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
1381         * org.el (org-block-todo-from-checkboxes): Announce that
1382         checkboxes are the culprit.
1383         (org-block-todo-from-children-or-siblings): Call
1384         `org-up-heading-all instead' of `outline-up-heading'.
1386         * org-agenda.el (org-agenda-show-1): Renamed from
1387         `org-agenda-show'.
1388         (org-agenda-show): Re-install the old version for now.
1389         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
1390         variable into the blokker hook, so that the checkbox checker can
1391         anounce that it caused the blocking.
1393         * org.el (org-track-ordered-property-with-tag): New option.
1394         (org-toggle-ordered-property): Honor
1395         `org-track-ordered-property-with-tag'.
1396         (org-tag-alist): Add newline options.
1397         (org-set-regexps-and-options): Separate option lines imply a
1398         newline.
1399         (org-set-regexps-and-options, org-assign-fast-keys)
1400         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
1401         option.
1402         (org-indent-line-function): Make sure this works even if there is
1403         not `org-drawer-regexp' defined.  This can happen when
1404         orgstruct-mode is used in a non-org buffer.
1406         * org-list.el (org-checkbox-blocked-p): New function.
1407         (org-toggle-checkbox): Check for blocking.
1409         * org.el (org-modules): Add an entry for org-R.el.
1411         * org-agenda.el (org-agenda-todo-ignore-with-date)
1412         (org-agenda-todo-ignore-scheduled)
1413         (org-agenda-todo-ignore-deadlines): Mention the variable
1414         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
1416         * org.el (org-get-wdays): Find the warning period also if it is in
1417         the wrong place.
1418         (org-ido-completing-read): Provide the correct arguments to
1419         ido-completing-read and bind `ido-enter-matching-directory' to
1420         nil.
1422 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
1424         * org.el (org-olpath-completing-read): Never use ido for this
1425         one.
1427         * org-exp.el (org-export-normalize-links): Use new macro.
1429         * org-macs.el (org-if-unprotected-at): New macro.
1431         * org-agenda.el (org-agenda-show): Allow numerical prefix
1432         arguments to specify how much context should be shown.
1433         (org-agenda-cycle-show): New command, could be bound to SPC in
1434         org-agenda-mode-map.
1436         * org-exp.el (org-html-level-start): Space after section number.
1438 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
1440         * org-agenda.el (org-agenda-get-sexps): Add todo state as
1441         property, for sorting.
1442         (org-cmp-todo-state): Get the applicable TODO keywords directly
1443         from the buffer.
1444         (org-run-agenda-series, org-agenda-list, org-search-view)
1445         (org-todo-list, org-tags-view): Only fit agenda window when the
1446         whole series is done.
1448         * org.el (org-scan-tags): Add todo state as property, for sorting.
1450         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1451         `org-agenda-overriding-header' as an option.
1452         (org-agenda-list): Honor org-agenda-overriding-header'.
1454 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
1456         * org-list.el (org-toggle-checkbox): Improve cursor positioning
1457         after removing a checkbox.
1459         * org.el (org-show-entry): Make this work correctly also if it is
1460         the last entry in the file.
1461         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
1462         falling back to normal, default command.
1463         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
1464         item, call the checkbox toggler to get a box.
1466         * org-list.el (org-toggle-checkbox): Make double prefix set the
1467         checkbox to "[-]".
1468         (org-fix-bullet-type): Only replace bullet it it is changed.
1469         (org-renumber-ordered-list): Handle case when first item does not
1470         have a number.
1472         * org.el (org-add-log-setup): Fix positioning when
1473         `org-log-states-order-reversed' is nil.
1475         * org-clock.el (org-clock-in): Fix positioning when
1476         `org-log-states-order-reversed' is nil.
1477         (org-clock-find-position): Fix positioning when
1478         `org-log-states-order-reversed' is nil.
1480 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
1482         * org-clock.el (org-clock-into-drawer): Take default from
1483         `org-log-into-drawer'.
1484         (org-clock-find-position): Look for the correct drawer.
1486         * org.el (org-log-into-drawer): Renamed from
1487         `org-log-state-notes-into-drawer'.
1488         (org-log-state-notes-into-drawer): New variable alias.
1489         (org-add-log-setup): Make drawer name default to LOGBOOK, not
1490         CLOCK.
1491         (org-insert-property-drawer): Also skip LOGBOOK drawers.
1493 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
1495         * org-agenda.el (org-agenda): Fix docstring.
1497         * org.el ("org-plot"): Help loading org-plot.
1498         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
1499         (org-metadown-hook, org-shiftmetaleft-hook)
1500         (org-shiftmetaright-hook, org-shiftmetaup-hook)
1501         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
1502         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
1503         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
1504         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
1506         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
1507         for selecting files with any (and even without) extension.
1509         * org.el (org-save-all-org-buffers): Also save id locations.
1510         (org-revert-all-org-buffers): Also load id locations.
1512 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
1513         * org.el (org-drawers): Add LOGBOOK to the default drawers.
1514         (org-log-state-notes-into-drawer): New option.
1515         (org-add-log-setup): Place the sate note marker into the drawer,
1516         create drawer when necessary.
1517         (org-refile-targets): Document special interpretation of LEVEL
1518         when odd-levels are used.
1520 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
1522         * org.el (org-store-log-note): Fix note indentation when adding
1523         notes to end of list.
1525         * org-exp.el (org-export-as-html): Add TODO keyword as extra
1526         class, so that each keyword can get special colors through CSS.
1528         * org-clock.el (org-clock-out): Add another nil for the previous
1529         state into the call to `org-add-log-setup'.
1531         * org.el (org-log-note-previous-state): New variable.
1532         (org-log-note-headings): New %S escape for old state.
1533         (org-todo): Call the note setup with the old state as an
1534         argument.
1535         (org-add-note): Add another nil for the previous state into the
1536         call to `org-add-log-setup'.
1537         (org-add-log-setup): New argument PREV-STATE.
1538         (org-add-log-note): Handle new %S escape.
1539         (org-store-log-note): Handle new %S escape.
1541 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
1543         * org-clock.el (org-clock-find-position): Do not swallow an item
1544         less indented than the CLOCK line itself.
1545         (org-clock-in): Push markers to lin after the clock line.
1546         (org-clock-find-position): Handle values of
1547         `org-clock-into-drawer' smaller than 2.
1549         * org-exp.el (org-html-level-start): Add a CSS class to section
1550         numbers.
1551         (org-export-html-toplevel-hlevel): Better documentation of the
1552         influence of this variables on H levels and css classes in
1553         export.
1555 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
1557         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1558         timestamp and nottimestamp to the chooe menu.
1560         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
1561         (org-revert-all-org-buffers): New command.
1563 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
1565         * org.el (org-return): Implement `org-return-follows-link' in the
1566         function org-return.  This is more robust than using the mouse
1567         map, I think.
1568         (org-set-regexps-and-options): Match more general #+TODO lines.
1569         (org-make-options-regexp): New optional argument EXTRA, for an
1570         extra regexp.
1571         (org-tab-follows-link): Mark as deprecated.
1573 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
1575         * org-exp.el (org-export-preprocess-string): Remove clock lines
1576         earlier, so that they cannot cotribute to verbatim snippets.
1578 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
1580         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
1581         for finding drawers.
1582         (org-export-as-ascii, org-export-as-html): Count levels relative
1583         to the subtree header.
1584         (org-get-min-level): New optional argument OFFSET.
1585         (org-export): Make sure point is restored after popping up that
1586         window.
1588         * org.el (org-do-sort): Also take an inactive timestamp if no
1589         active one is found.
1591         * org-colview-xemacs.el (org-columns-capture-view): Copy before
1592         deleting duplicates.
1594         * org-colview.el (org-columns-capture-view): Copy before
1595         deleting duplicates.
1597         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
1598         text before first headline.
1600         * org.el (org-format-latex): Do not convert LaTeX fragments in
1601         protected examples.
1603 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
1605         * org-exp.el (org-export-html-style-default): Use color values
1606         instead of names for XHTML validation.
1608         * org.el (org-get-scheduled-time, org-get-deadline-time): New
1609         functions.
1610         (org-return-follows-link): Revert making this the default untile
1611         issues are resolved.
1613         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
1614         nottimestamp.
1616 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
1618         * org.el (org-mode): Make dependence stuff work more reliably.
1619         (org-update-parent-todo-statistics): Fix bug with updating
1620         statistics cookie.
1622         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
1623         ~ as verbatim delimiters.
1625         * org-exp.el (org-export-html-format-image): New argument
1626         PAR-OPEN.
1627         (org-export-as-html): Pass par-open to
1628         `org-export-html-format-image'.
1630 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
1632         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
1633         (org-use-fast-todo-selection, org-tags-column): New default
1634         setting for variables, based on a poll what typical uses use.
1636         * org-agenda.el (org-agenda-sorting-strategy)
1637         (org-agenda-tags-column): New default setting for variables, based
1638         on a poll what typical uses use.
1640 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
1642         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
1643         blocked entries from setting the blocked tag.
1645         * org-exp.el (org-export-html-footnotes-section): Use a more
1646         consistent id for footnotes.
1648         * org-export-latex.el (org-export-latex-classes): Remove the
1649         a4paper option from the default styles.
1651 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
1653         * org.el (org-enforce-todo-checkbox-dependencies): New option.
1654         (org-block-todo-from-checkboxes): New function.
1655         (org-todo): Make tripple prefix arg circumvent blocking.
1657         * org-timer.el (org-timer): Provide the timer feature.
1659         * org.el (org-require-autoloaded-modules): Add a few more files to
1660         the list of autoloaded modules.
1662         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
1664 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
1666         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
1667         drawers that are unprotected.
1668         (org-export-html-format-image): Make sure inlined LaTeX fragment
1669         images remain inlined.
1671         * org.el (org-toggle-ordered-property): New function.
1672         (org-mode-map): Add a key for `org-toggle-ordered-property'.
1673         (org-org-menu): Add menu entries for TODO dependencies.
1675 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
1677         * org.el (org-default-properties): Add ORDERED to the default
1678         properties, to get completion support for it.
1680         * org-list.el (org-update-checkbox-count): Update more than one cookie.
1682         * org.el (org-update-parent-todo-statistics): Update more than one
1683         cookie.
1685         * org-agenda.el (org-agenda-get-todos): Start search from correct
1686         position.
1688         * org.el (org-fast-todo-selection): Make sure TODO selection does
1689         not change buffer position.
1691         * org-list.el (org-toggle-checkbox): Implement adding or removing
1692         checkboxes from line or region when called with a prefix
1693         argument.
1695         * org-rmail.el (org-rmail-store-link): Protect the call to
1696         `rmail-narrow-to-non-pruned-header'.
1698         * org-clock.el (org-clock-special-range): Fix week display in
1699         clock tables.
1701         * org-exp.el (org-get-current-options): Fix bug when in indirect
1702         buffer.
1704 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
1706         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
1707         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
1708         (org-agenda-dim-blocked-tasks): New function.
1710         * org.el (org-enforce-todo-dependencies): New option.
1711         (org-block-todo-from-children-or-siblings): New function.
1713         * org-faces.el (org-agenda-dimmed-todo-face): New face.
1715         * org.el (org-todo): Return correct state type even if the blocker
1716         throws an error.
1717         (org-modifier-cursor-error): Renamed from
1718         `org-shiftcursor-error'.
1719         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
1720         (org-shiftmetadown): Call `org-modifier-cursor-error'.
1722         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
1723         to get real errors from the blocker hook.
1725         * org.el (org-shiftselect-error, org-call-for-shift-select): New
1726         functions.
1727         (org-set-visibility-according-to-property): Turn off the setting
1728         of `org-show-entry-below', to avoid overruling a FOLDED visibility
1729         property.
1731 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
1733         * org.el (org-support-shift-select): New option.
1734         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
1735         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
1736         selection outside contexts.
1738         * org-list.el (org-at-item-bullet-p): New function.
1740         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
1741         variables.
1743         * org-footnote.el (org-footnote-normalize): Remove unnecessary
1744         variable.
1745         (org-insert-footnote-reference-near-definition): Remove
1746         unnecessary let form.
1748         * org-export-latex.el (org-export-latex-first-lines): Add
1749         OPT-PLIST parameter.
1750         (org-export-as-latex): Call `org-export-latex-first-lines' with
1751         opt-plits parameter.
1752         (org-export-latex-preprocess): Remove unnecessary variables.
1754         * org-exp.el (org-infile-export-plist)
1755         (org-export-add-options-to-plist, org-export-kill-licensed-text)
1756         (org-export-remove-headline-metadata)
1757         (org-export-get-title-from-subtree, org-get-min-level)
1758         (org-html-do-expand): Remove innecessary let form.
1760         * org-colview-xemacs.el (org-columns-display-here): Remove
1761         unnecessary variables.
1763         * org-colview.el (org-columns-display-here): Remove unnecessary
1764         variables.
1766         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
1767         variables.
1769         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
1770         unnecessary variables.
1772         * org-agenda.el (org-search-view, org-agenda-get-blocks)
1773         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
1774         variables.
1776         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
1777         (org-compact-display-after-subtree-move): Remove unnecessary
1778         variables.
1779         (org-edit-fixed-width-region): Remove unnecessary variables.
1780         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
1781         (org-olpath-completing-read): Remove unnecessary variable.
1782         (org-auto-repeat-maybe): Remove unnecessary variable.
1783         (org-map-entries): Remove unnecessary variable.
1784         (org-buffer-property-keys, org-imenu-get-tree)
1785         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
1787 -----------------------------------------------------------------
1789 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
1790         * org-exp.el (org-export-remove-timestamps): Never remove
1791         timestamps from tables.
1793         * org-export-latex.el (org-export-latex-first-lines): Add more
1794         options to the preprocessing of the text before the first
1795         headline.
1797 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
1799         * org-faces.el (org-clock-overlay): Make face compatible with
1800         XEmacs.
1802         * org.el (org-yank): Add property for delete-selection mode.
1804         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
1806         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
1807         variable.
1809         * org-table.el (org-table-insert-hline): Fix typo in fuction call
1810         to `backward-char'.
1812         * org-exp.el (org-export-as-html): Remove the initial space from
1813         colon examples.
1815         * org.el (org-scan-tags): Call
1816         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
1818         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
1819         customization groups.
1820         (org-agenda-tags-todo-honor-ignore-options): New option.
1821         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1822         New function.
1823         (org-agenda-get-todos): Use
1824         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
1826 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
1828         * org-exp.el (org-export-format-source-code-or-example): Escape
1829         HTML characters also in examples that anre not treated with
1830         htmlize.  Also, just switch to EXAMPLE processing if we do not
1831         have a good version of htmlize.
1833         * org-rmail.el: Fix copyright notice.
1835         * org.el (org-activate-footnote-links): Improve footnote link
1836         highlighting.
1838         * org-footnote.el (org-footnote-normalize): Fix finding the end of
1839         a footnote definition at the end of the file.
1841         * org-table.el (org-table-get-specials): Add an imagined hline at
1842         the end of the table.  This can be useful for references that want
1843         to go to the end of the table.  Also fix bug when computing last
1844         row constants, in tables that do not start right at the right
1845         margin.
1846         (org-table-eval-formula): Match and replace remove references.
1847         (org-table-formula-substitute-names): Make sure that names inside
1848         a "remote" call are left alone, the will be replaced later when
1849         the remote call is handled.
1850         (org-table-convert-refs-to-rc): Do not convert things that might
1851         look like a reference, but are really part of an ID or namei n a
1852         remote reference.
1853         (org-table-get-remote-range): New function.
1855 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
1857         * org-faces.el (org-clock-overlay): Fix bug in face definition.
1859         * org-clock.el (org-clock-put-overlay): Use new face instead of
1860         `secondary-selection'.
1862         * org-faces.el (org-clock-overlay): New face.
1864 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
1866         * org-exp.el (org-get-current-options): Include the option for
1867         publishing time stamps.
1869         * org.el (org-toggle-heading): Renamed from
1870         `org-toggel-region-headings'.
1871         No longer needs a region defined, but will use it if there is one.
1872         (org-ctrl-c-star): Simplified, relying more on the internal
1873         workings of `org-toggle-heading'.
1874         (org-toggle-item): Renamed from `org-toggle-region-items'.
1875         No longer needs a region defined, but will use it if there is one.
1876         (org-ctrl-c-minus): Simplified, relying more on the inernal
1877         workings of `org-toggle-item'.
1879         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
1880         environment detection.  Also, do real changes only in unprotected
1881         places.
1883 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
1885         * org-export-latex.el (org-export-latex-quotation-marks): Use
1886         `org-if-unprotected-1'.
1887         (org-export-latex-set-initial-vars): Check for class definition in
1888         property.
1890         * org-macs.el (org-if-unprotected-1): New macro.
1892 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
1894         * org-compat.el (org-count-lines): New function.
1896         * org-exp.el (org-export-format-source-code-or-example): Handle
1897         switches related to text areas.
1899         * org.el (org-activate-footnote-links): Don't allow match inside a
1900         link.
1902         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
1904         * org-export-latex.el (org-export-latex-links): Keep a relative
1905         path relative also after export.
1907         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
1909         * org.el (org-make-tags-matcher): Never use IDO for completing the
1910         tags matcher match string.
1911         (org-completing-read): Also remove the special biding for "?".
1913         * org-attach.el (org-attach-allow-inheritance): New option.
1914         (org-attach-inherited): New variable.
1915         (org-attach-dir): Handle properties related to the attachment
1916         directory.
1917         (org-attach-check-absolute-path): New function.
1918         (org-attach-set-directory, org-attach-set-inherit): New commands.
1919         (org-attach): Accommodate the new commands in the dispatcher.
1921 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
1923         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
1924         `window-full-width-p'.
1926         * org-exp.el (org-export-as-html): Only check for images files
1927         that really can be inlined
1929         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
1930         list of extensions to be a parameter.
1932         * org-exp.el (org-export-html-inline-image-extensions): New
1933         variable.
1935         * org-agenda.el (org-prepare-agenda): Use
1936         `org-agenda-block-separator'.
1937         (org-agenda-block-separator): New option.
1939 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
1941         * org-export-latex.el (org-export-latex-tables): Call
1942         `org-table-clean-before-export' with the new optional argument.
1944         * org-exp.el (org-table-clean-before-export): New optional
1945         parameter MAYBE-QUOTED, allows for quoted characters like \# in
1946         first column.
1948 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
1950         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
1951         histograms.
1953         * org-colview.el (org-colview-construct-allowed-dates): Better
1954         error catching when a date/time property does not have allowed
1955         values defined.
1957         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
1958         Better error catching when a date/time property does not have
1959         allowed values defined.
1961 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
1963         * org.el (org-map-entries): Restore point and restriction after
1964         `org-map-entries'.
1966 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
1968         * org.el (org-time=, org-time<, org-time<=, org-time>)
1969         (org-time>=, org-time<>): Make sure both values are dates.
1971 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
1973         * org-archive.el (org-extract-archive-heading): Allow %s for file
1974         name also in achive location heading.
1976 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
1978         * org-archive.el (org-add-archive-files): Uniquify the list before
1979         returning it.
1981 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
1983         * org-compat.el (org-fit-window-to-buffer): Use
1984         `window-full-width-p'.
1986         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
1987         space after the colon in short examples.
1989         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
1990         enforce a space after the colon.  However, we also allow lines
1991         that are *only* a colon.
1992         (org-export-as-html): Enforce the space after the colon in short
1993         examples.
1994         (org-export-preprocess-string): Do the colon example protection
1995         earlier.
1996         (org-export-remove-timestamps): Do not check for protection at the
1997         end of the line.
1999 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
2001         * org.el (org-format-latex-options): Add new matcher for single
2002         letters between dollars.
2003         (org-get-header): Function removed.
2004         (org-heading-components): New function.
2006         * org-exp.el (org-export-define-heading-targets): Record ID's also
2007         as alternative targets.
2008         (org-export-as-html): Interpret "id:" links to other files by
2009         preserving the relative path.
2011         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2012         is nil.
2014         * org-exp.el (org-export-normalize-links): Protect the main link,
2015         to avoid special character processing.
2017         * org-export-latex.el (org-export-latex-special-keyword-regexp):
2018         New variable.
2019         (org-export-latex-special-string-regexps): Variable removed.
2020         (org-export-latex-keywords): Use the new regexp.
2022         * org-exp.el (org-export-handle-include-files): Fetch switches and
2023         put them into the BEGIN statement.
2025         * org-timer.el (org-timer-mode-line-string): New variable.
2027         * org-clock.el (org-clock-mode-line-map): Renamed from
2028         `org-clock-mode-map'.
2029         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2030         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2031         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2032         (org-clock-remove-overlays): Renamed from
2033         `org-remove-clock-overlays'.
2035         * org-timer.el (org-timer-pause-or-continue): Implement stopping
2036         and mode line display.
2037         (org-timer-stop): New command.
2038         (org-timer-seconds): Return correct time when timer is paused.
2039         (org-timer-mode-line-timer): New variable.
2040         (org-timer-set-mode-line, org-timer-update-mode-line): New
2041         functions.
2043         * org.el (org-insert-heading):  Handle new value `auto' for
2044         `org-blank-before-new-entry'.
2045         (org-org-menu): Add new items for timer functions.
2047         * org-list.el (org-insert-item): Handle new value `auto' for
2048         `org-blank-before-new-entry'.
2050         * org.el (org-blank-before-new-entry): New value `auto', made
2051         default.
2053 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
2055         * org-exp.el (org-export-normalize-links): If the link is also
2056         used as the description, protect the description.
2058 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
2060         * org.el (org-closest-date): Fix bug with yearly repeats, in
2061         combination with preference of the past as it is used for deadline
2062         and scheduling search.
2064         * org-exp.el (org-html-handle-time-stamps): No longer check for
2065         the `org-export-with-timestamps' option, because the preprocesser
2066         has taken care of this already.
2068         * org.el (org-entry-properties): Catch the case when this is
2069         called in a non-org-mode file.
2071         * org-export-latex.el (org-export-latex-remove-from-headlines):
2072         Variable made obsolete, also LaTeX export now uses the standard
2073         variables.
2074         (org-export-as-latex): Add the timestamps parameter to the
2075         preprocessor parameter list.
2076         (org-export-latex-content): Export the remaining keywords without
2077         considering to remove them.
2078         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2079         Use bold font instead of tt font for the keywords.
2080         (org-export-latex-fontify-headline): Format headlines, assuming
2081         that all keywords still present should be published.
2082         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2083         publish what ever remains of the time stamps.
2084         (org-export-latex-list-parameters): New option.
2085         (org-export-latex-lists): Pass additional parameters to the list
2086         converter.
2088         * org-exp.el (org-export-preprocess-string): Remove clock lines
2089         and timestamps already in the preprocesor.
2090         (org-export-remove-timestamps, org-export-remove-clock-lines): New
2091         functions.
2092         (org-export-as-ascii, org-export-as-html): Add the timestamps
2093         parameter to the preprocessor parameter list.
2095         * org-list.el (org-list-parse-list): Parse for checkboxes.
2096         (org-list-to-generic): Introduce and handle new parameters :cbon
2097         and :cboff.
2098         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2099         optional parameter PARAMS.
2101         * org-export-latex.el (org-export-latex-special-chars): Fix
2102         problems with interpreting dollar signs.
2103         (org-inside-latex-math-p): New function.
2104         (org-export-latex-preprocess): Protect all the math fragments.
2106         * org.el (org-latex-regexps): Allow a dash after a dollar.
2108         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2109         mark after copying.
2111         * org-agenda.el (org-run-agenda-series): Have series options set
2112         when finalizing the agenda.
2114         * org-exp.el (org-export-format-source-code-or-example): Protect
2115         the converted examples.
2117         * org.el (org-set-regexps-and-options): Fix the regexp
2118         `org-complex-heading-regexp'.
2120 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
2122         * org.el (org-edit-src-get-label-format): New function.
2123         (org-coderef-label-format): New option.
2124         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2125         a label format specification and make sure it is used in the edit
2126         buffer.
2127         (org-edit-src-get-label-format): New function.
2128         (org-store-link): Handle new coderef formats.
2129         (org-link-search): Handle new coderef formats.
2131         * org-footnote.el (org-footnote-create-definition)
2132         (org-footnote-goto-local-insertion-point): Make footnote insertion
2133         work correctly when the "Footnotes" headline is the last line in
2134         the buffer.
2136         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2137         the location.
2139 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
2141         * org-w3m.el (org-w3m): New customization group.
2142         (org-w3m-deactivate-mark): New option.
2143         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2144         option say not to.
2146 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
2148         * org.el (org-set-font-lock-defaults): Trigger footnote
2149         fontification.
2150         (org-activate-footnote-links): New function.
2151         (org-activate-links): New entry `footnote'.
2153         * org-faces.el (org-footnote): New face.
2155 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
2157         * org-macs.el (org-re): Handle the [:word:] class.
2159         * org-exp.el (org-export-preprocess-string): Call
2160         `org-export-protect-colon-examples'.
2161         (org-export-protect-colon-examples): Renamed from
2162         `org-export-protect-examples', and scope limited to lines starting
2163         with a colon.
2165 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
2167         * org-exp.el (org-export-preprocess-string): Move the preprocess
2168         hook to after turning on Org-mode.
2169         (org-export-preprocess-after-include-files-hook)
2170         (org-export-preprocess-after-tree-selection-hook)
2171         (org-export-preprocess-before-backend-specifics-hook)
2172         (org-export-preprocess-final-hook): New hooks.
2173         (org-export-preprocess-string): Run the new hooks.
2175         * org.el (org-ctrl-c-minus): Fix indentation for new items.
2177         * org-footnote.el: New file.
2179         * org.el (org-footnote): Require footnote code.
2180         (org-startup-options): Add new footnote options.
2181         (org-mode-map): New keybindig for footnotes.
2182         (org-ctrl-c-ctrl-c): Add function at footnotes.
2183         (org-org-menu): New menu entries for footnotes.
2185         * org-export-latex.el (org-export-as-latex): Pass footnote
2186         variable to preprocessor.
2187         (org-export-latex-preprocess): Treat multiple references to a
2188         footnote.
2190         * org-exp.el (org-export-preprocess-string): Call
2191         `org-footnote-normalize'.
2192         (org-export-as-ascii, org-export-as-html): Pass footnote variable
2193         to preprocessor.
2194         (org-export-as-html): Treat multiple references to a footnote.
2196 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
2198         * org-export-latex.el (org-export-latex-links): Handle coderef
2199         links.
2201         * org.el (org-bracket-link-analytic-regexp++): New variable.
2202         (org-make-link-regexps): Initialize
2203         `org-bracket-link-analytic-regexp++'.
2204         (org-store-link): Implement special case in edit-src buffer.
2205         (org-insert-link): No use of ide to insert stored links.
2206         (org-link-search): Implement special case for coderefs.
2208         * org-exp.el (org-export-html-scripts): New constant.
2209         (org-export-html-style-default): Add a new style for highlighted
2210         code.
2211         (org-export-code-refs): New variable.
2212         (org-export-preprocess-string): Initialize `org-export-code-refs'.
2213         Call `org-export-replace-src-segments-and-examples'
2214         No longer call `org-export-protect-examples'.
2215         (org-export-target-internal-links): Take care of coderef targets.
2216         (org-export-last-code-line-counter-value): New variable.
2217         (org-export-replace-src-segments-and-examples): Renamed from
2218         `org-export-replace-src-segments', and modified.
2219         (org-export-format-source-code-or-example): Renamed from
2220         `org-export-format-source-code'.
2221         (org-export-number-lines): New function.
2222         (org-export-as-ascii, org-export-as-html): Handle coderef links.
2224 --------------------------------------------------------------------------
2226 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
2228         * org-remember.el (org-remember-handler): Safer way to get a new
2229         buffer accessing the target file.
2231         * org.el (org-refile-get-location): Handle case of current buffer
2232         not having a file associated with it.
2234 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
2236         * org-table.el (org-table-get-formula): Only ask to overwrite
2237         field formula if there really is one.
2239         * org-id.el (org-id-find): Allow the ID to be a symbol or a
2240         number, by converting these to a string.
2242         * org-colview.el (org-dblock-write:columnview): Allow ID to be
2243         located in a different file.
2245         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
2246         org-colview.el.
2248 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
2250         * org.el (org-completion-use-ido): Enhance docstring of
2251         `org-completion-use-ido'.
2253         * org-export-latex.el (org-export-latex-make-header): Double the %
2254         in the time stamp format.
2255         (org-export-latex-special-chars): Handle case where there is no
2256         match group 3.
2258 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
2260         * org.el (org-get-refile-targets, org-refile-get-location): Use
2261         expanded file name to improve comparison.
2263 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
2265         * org.el (org-scan-tags): Rescan for tags, to get the correct
2266         upcase/downcase stuff.  This slows things down for now, but it
2267         works.
2268         (org-mode): Make sure the tag-faces regexp is initialized.
2270         * org-export-latex.el (org-export-latex-links): Fix bug with
2271         undefined label.
2273         * org-table.el (org-table-get-specials): Set
2274         `org-table-current-last-data-line'.
2275         (org-table-current-last-data-line): New variable.
2276         (org-table-insert-column, org-table-delete-column)
2277         (org-table-move-column, org-table-fix-formulas): Call
2278         `org-table-fix-formulas' a second time to fix the $LR references.
2279         (org-table-get-specials): Add the $LR references to the tables.
2280         (org-table-get-formula): Do not offer last-row names as LHS of
2281         formulas.
2283         * org.el (org-store-link): Capture link description from
2284         `org-id-store-link'.
2286         * org-exp.el (org-export-html-format-image): Add the / to the end
2287         of the <img> tag.
2288         (org-export-format-source-code): Surround example by empty lines,
2289         to make sure it will not be inside a paragraph.
2291         * org.el (org-ido-switchb): New function.
2293 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
2295         * org-agenda.el (org-agenda-show): New prefix argument
2296         FULL-ENTRY.
2298         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
2299         argument.
2301         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
2302         `org-agenda-change-all-lines'.
2303         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
2304         tags are now retrieved locally.
2306 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
2308         * org.el (org-get-outline-path): Fix bug if level is not given.
2309         (org-org-menu): Do not quote function in menu vector.
2311         * org-agenda.el (org-finalize-agenda): Fix typo with variable
2312         name.
2314 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
2316         * org.el (org-refile): Avoid refiling to within the region to be
2317         refiled.
2319         * org-export-latex.el (org-export-latex-special-chars): Replace
2320         special characters also in tables.
2322         * org-agenda.el (org-agenda-change-all-lines): New argument
2323         FORCE-TAGS.
2324         (org-agenda-set-tags): Cet the new tags and pass them to
2325         `org-format-agenda-item'.
2327 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
2329         * org-export-latex.el (org-export-latex-classes): Add longable as
2330         a default package to all classes.
2331         (org-export-latex-tables): Handle the longtable attribute and the
2332         align attribute.
2334         * org-table.el (orgtbl-to-generic): Handle tables that start with
2335         a hline.
2337         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
2338         \verb for colde-like snippets.
2339         (org-export-as-latex): Fix issues with region export.
2341         * org.el (org-up-heading-safe): Speed up function by using a
2342         direct regexp search.
2343         (org-olpa): New variable.
2344         (org-get-outline-path): Speed-up path constructions in cases where
2345         this is possible because the entire hierarchy is scanned anyway.
2346         (org-refile-get-location): Don't compare the truenames of files,
2347         this is too slow.
2348         (org-goto-max-level): New option.
2349         (org-goto): Use `org-goto-max-level'.
2351 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
2353         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
2354         Strip angle brackets from message-ids in the former and don't do
2355         it in the latter.
2356         (org-gnus-follow-link): Open summary reliable, even if the last
2357         messages were deleted, and handle empty groups, too.
2359 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
2361         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
2362         instead of \texttt for the =...= and ~===~ emphasis environments.
2363         (org-export-as-latex): Remove any old :org-license-to-kill text
2364         properties.
2365         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
2366         (org-export-latex-make-header): Add some hard space after the
2367         table of contents.
2368         (org-export-latex-first-lines): Accept RBEG argument.  Mark
2369         exported text so that it will be excuded in further steps.
2371         * org-table.el (org-table-get-specials): Make @0 reference the
2372         last line in a table.
2373         (org-table-recalculate): Improve docstring.
2375 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
2377         * org.el (org-log-done): Fix docstring.
2379 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
2381         * org-exp.el (org-export-html-format-image): Fix bugs.
2383         * org-export-latex.el (org-export-latex-tables)
2384         (org-export-latex-links): Implement attribute, label, and caption
2385         handling.
2387         * org-exp.el (org-export-html-style-default): Add style
2388         definitions for the figure div.
2389         (org-export-preprocess-string, org-export-as-html): Implement
2390         attribute, label, and caption handling.
2391         (org-export-attach-captions-and-attributes): New function.
2392         (org-export-html-format-image): New function.
2393         (org-format-org-table-html): Implement attribute, label, and
2394         caption handling.
2396         * org.el (org-find-text-property-in-string): New function.
2397         (org-extract-attributes): Use the property org-attr instead of
2398         org-attrobutes, because this property is now set with the #+ATTR
2399         lines.
2401 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
2403         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
2404         the case that FROM is nil.
2406         * org.el (org-before-first-heading-p): New function.
2408 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
2410         * org-exp.el (org-export-as-html): Do not add a space before
2411         enforces line breaks.
2412         (org-export-as-html): Close paragraph before blockquote and verse
2413         tags.
2415 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
2417         * org-id.el (org-id-locations-file): Wrap file name with
2418         `convert-standard-filename'.
2419         (org-id-files): New variable.
2420         (org-id-use-hash): New option.
2421         (org-id-update-id-locations): Also search in all files current
2422         listed in `org-id-files'.  Convert the resulting alist to a hash
2423         if the user customation says so.
2424         (org-id-locations-save): Handle he case if `org-id-locations' is a
2425         hash.
2426         (org-id-locations-load): Convert the alist to a hash.
2427         (org-id-add-location): Handle the hast case.
2428         (kill-emacs-hook): Make sure id locations are saved when Emacs is
2429         exited.
2430         (org-id-hash-to-alist, org-id-alist-to-hash)
2431         (org-id-paste-tracker): New functions.
2433 -------------------------------------------------------------------------
2435 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
2437         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
2438         bindings of calendar variables.
2440         * org-table.el (org-table-find-row-type): Renamed from
2441         `org-find-row-type'.
2442         (org-table-rewrite-old-row-references): Renamed from
2443         `org-rewrite-old-row-references'.
2444         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
2445         (org-table-cleanup-narrow-column-properties): Renamed from
2446         `org-cleanup-narrow-column-properties'.
2448 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
2450         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
2451         for better error messages.
2452         (org-table-get-descriptor-line): Supply the new arguments to
2453         `org-find-row-type'.
2454         (org-table-error-on-row-ref-crossing-hline): New option.
2456         * org.el (org-target-link-regexp): Make buffer-local.
2457         (org-move-subtree-down): Fix bug with trees at beginning of
2458         buffer.
2460 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
2462         * org-faces.el (org-set-tag-faces): New function.
2463         (org-tags-special-faces-re): New variable.
2465         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
2467         * org-faces.el (org-tag-faces): New option.
2468         (org-tag): Mention `org-tag-faces' in the docstring.
2470 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
2472         * org-exp.el (org-export-html-style-default): Implement new
2473         quoting.
2475         * org-jsinfo.el (org-infojs-template): Implement new quoting.
2477         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
2478         command to the `w3m-minor-mode-map'.
2480         * org-archive.el (org-archive-to-archive-sibling): Protect
2481         `this-command' to avoid appending kills during archiving.
2483         * org-exp.el (org-export-with-priority): New variable.
2484         (org-export-add-options-to-plist): Use `org-export-plist-vars'
2485         instead of internal list of strings and properties.
2486         (org-print-icalendar-entries): Retrieve the location property with
2487         inheritance.
2489 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
2491         * org-exp.el (org-export-with-todo-keywords): New option.
2492         (org-export-plist-vars): Include also the keys for the #+OPTIONS
2493         line.
2494         (org-default-export-plist, org-export-add-options-to-plist)
2495         (org-export-as-ascii, org-export-as-html): Use the new structure
2496         of `org-export-plist-vars'.
2498         * org.el (org-map-entries): Return all values.
2500 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
2502         * org.el (org-matcher-time): Recognize more special values.
2504         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
2506 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
2508         * org.el (org-tags-exclude-from-inheritance): New option.
2509         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
2510         `org-tags-exclude-from-inheritance'.
2512         * org-agenda.el (org-agenda-show-inherited-tags): New option.
2513         (org-format-agenda-item): Add inherited tags to the agenda line
2514         string, and make sure that properties are kept when downcasing the
2515         tags list.
2516         (org-agenda-add-inherited-tags): New function.
2517         (org-downcase-keep-props): New function.
2519         * org.el (org-scan-tags): Mark inherited tags with a text
2520         property.
2521         (org-get-tags-at): Mark inherited tags with a text property.
2522         (org-add-prop-inherited): New function.
2524         * org-agenda.el (org-agenda-add-inherited-tags): New function.
2525         (org-agenda-show-inherited-tags): New option.
2527 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
2529         * org.el (org-modules): Add org-w3m to the default modules.
2531         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
2532         orgtbl-mode.
2533         (orgtabl-create-or-convert-from-region): New command.
2535         * org-exp.el (org-export-as-ascii): Remove the handling of
2536         targets.
2537         (org-export-ascii-preprocess): Handle targets already in this
2538         function.
2540 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
2542         * org-timer.el (org-timer-start-time): Define this variable.
2543         (org-timer-item): Make argument optional.
2545         * org-list.el (org-insert-item): Automatically insert a timer item
2546         if the current list is a timer list.
2548         * org-timer.el: New file.
2550         * org-publish.el (org-publish-org-index): Only exclude the index
2551         file in the main directory from being added to the site-map.
2552         (org-publish-get-project-from-filename): If the current project is
2553         a component, start publishing from the parent project.
2555 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
2557         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
2559         * org-publish.el (org-publish-org-index): Improve removal of
2560         temporary buffers.
2562         * org-agenda.el (org-get-closed): Re-apply changes
2563         accidentially overwritten by last commit to Emacs.
2565         * org.el (org-outline-path-complete-in-steps): New option.
2566         (org-refile-get-location): Honor
2567         `org-outline-path-complete-in-steps'.
2568         (org-agenda-change-all-lines, org-tags-sparse-tree)
2569         (org-time-string-to-absolute, org-small-year-to-year)
2570         (org-link-escape): Re-apply changes accidentially overwritten
2571         by last commit to Emacs.
2573 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
2575         * org-clock.el (org-dblock-write:clocktable): Make sure the
2576         clocktable sees the first line.
2577         (org-clock-in): Warn if the clock cannot be resumed.
2579 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
2581         * org.el (org-open-at-point): Fix mixup about interactive and
2582         non-interactive elisp links.
2584 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
2586         * org-exp.el (org-export-preprocess-string): Allow one comment
2587         line before the first headline to always be included.  This is
2588         to not miss a commented target.
2590         * org-mouse.el (org-mouse-insert-item): Call
2591         `org-indent-to-column' instead of `indent-to', for XEmacs
2592         compatibility.
2594         * org.el (org-refile-targets): Fix customize definition so
2595         that it works also in XEmacs.
2596         (org-fixup-indentation): Call `org-indent-to-column' instead
2597         of `indent-to', for XEmacs compatibility.
2599 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
2601         * org-mew.el (org-mew-store-link): Get the correct case folder
2602         for refiled messages.
2604 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
2606         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
2607         line break indicators.
2609         * org.el (org-ido-completing-read): Remove the "i:" prefix for
2610         ido-completion propts.
2612 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
2614         * org-remember.el (org-remember-apply-template): Use
2615         `org-substring-no-properties'.
2617         * org-compat.el (org-substring-no-properties): New function.
2619         * org-remember.el (org-remember-apply-template): Use
2620         `org-substring-no-properties' for compatibility.
2622         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
2623         option.
2624         (org-fix-bullet-type): respect
2625         `org-list-two-spaces-after-bullet-regexp'.
2627         * org-clock.el (org-clock-load): Clean up the code.
2629         * org.el (org-adaptive-fill-function): Allow two spaces after
2630         "1." as a list bullet.
2632 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
2634         * org-clock.el (org-clock-save, org-clock-load): Check for
2635         live buffers, existing files, and buffer file names to ensure
2636         consistent information.
2637         (org-clock-persist): Make `clock' a special value of this
2638         variable, and improve docstring.
2640         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
2641         (org-get-string-indentation): Adapt indentation when the bullet
2642         width changes.
2644 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
2646         * org-remember.el (org-remember-finalize): Make interactive.
2647         (org-remember-kill): New command.
2648         (org-remember-finish-immediately): Call `org-remember-finalize'
2649         directly.
2650         (org-remember-finalize): Make `org-remember-finalize' an interactive
2651         function.
2653 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
2655         * org-remember.el (org-remember-apply-template): No ido completion
2656         for free prompts in remember templates.
2657         (org-remember-before-finalize-hook): New hook.
2658         (org-remember-mode): New minor mode.
2659         (org-remember-apply-template): Turn on `org-remember-mode'.
2661         * org-id.el (org-id-add-location): Avoid error when no file is
2662         given.
2664         * org-remember.el (org-remember-apply-template): Fix the way how
2665         the list of allowed properties is retrieved from the target file.
2667         * org.el (org-insert-link): Improve file link matching.
2669 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
2671         * org-colview.el (org-columns-display-here): New argument
2672         DATELINE, to trigger using the new face.
2673         (org-agenda-colview-summarize): Call `org-columns-display-here'
2674         with the new argument.
2676         * org-faces.el (org-agenda-column-dateline): New face.
2678         * org-publish.el (org-publish-org-index): Use index-title at page
2679         title, not as section.
2681         * org-exp.el (org-export-html-format-desc): Respect the
2682         org-protect property.
2683         (org-export-as-html): Protect image specifiers that are in the
2684         description part of a link.
2686         * org.el (org-sort-entries-or-items, org-completing-read)
2687         (org-refile-get-location, org-olpath-completing-read, org-todo)
2688         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
2689         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
2690         (org-set-property, org-delete-property)
2691         (org-delete-property-globally): Use `org-ido-completing-read'.
2693         * org-remember.el (org-remember-apply-template): Use
2694         `org-ido-completing-read'.
2696         * org-publish.el (org-publish): Use `org-ido-completing-read'.
2698         * org-colview.el (org-columns-edit-value, org-columns-new)
2699         (org-insert-columns-dblock): Use `org-ido-completing-read'.
2701         * org-colview-xemacs.el (org-columns-edit-value)
2702         (org-columns-new, org-insert-columns-dblock): Use
2703         `org-ido-completing-read'.
2705         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2706         `org-ido-completing-read'.
2708         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
2709         `org-ido-completing-read'.
2711         * org.el (org-time-today): New function.
2712         (org-matcher-time): Use `org-time-today'.  Add special treatment
2713         for "<tomorrow>" and "<yesterday>".
2714         (org-ido-completing-read): New function.
2715         (org-completion-use-ido): New option.
2717         * org-exp.el (org-export-format-source-code): Fix bug in require
2718         htmlize code.
2719         (org-export-target-internal-links): Fix bug in search for text
2720         property.
2722 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
2724         * org-export-latex.el (org-export-latex-subcontent): Interprete
2725         target aliases as additonal labels.
2727         * org-exp.el (org-export-target-aliases): New variable.
2728         (org-export-preprocess-string)
2729         (org-export-handle-invisible-targets): Fill the alias alist.
2730         (org-export-as-html): Remove the &nbsp; from the anchor, and also
2731         assign an id.
2732         (org-html-level-start): Insert the target aliases as additonal
2733         anchors.
2735         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
2736         picture area.
2738 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
2740         * org.el (org-open-at-mouse): Ensure correct link abbreviations
2741         when following a link with the mouse from the agenda.
2743         * org-exp.el (org-export-as-html): Avoid lone </div> when no
2744         headlines are created.
2746 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
2748         * org-exp.el (org-export-preprocess-string): Reorder so that we
2749         can still see ID properties when we collect targets.
2750         (org-export-target-internal-links): Also store targets for ID's.
2752         * org.el (org-link-translation-function): New option.
2753         (org-open-at-point): Call `org-link-translation-function' if
2754         non-nil.
2755         (org-translate-link): New function.
2756         (org-translate-link-from-planner): New function.
2757         (org-open-at-point): Allow interactive commands in elisp links.
2759         * org-exp.el (org-icalendar-cleanup-string): Restore the old
2760         iCalendar quoting.  The new one seems to caus problems with
2761         applications.
2763         * org.el (org-yank): Set `this-command' to `yank', so that
2764         `yank-pop' will work.
2766 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2768         * org-id.el (org-id-search-archives): New option.
2770         * org.el (org-link-to-org-use-id): New option.
2771         (org-store-link): Use `org-link-to-org-use-id'.
2772         (org-id): Make org-id.el a standard component.
2774 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2776         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
2777         hexified version of the tag.
2779         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
2780         compliance as far as quoting is concerned.
2782         * org-vm.el (org-vm-follow-link): Require `vm-search'.
2784         * org.el (org-up-heading-safe, org-forward-same-level): Always
2785         call `org-back-to-heading' instead of `outline-back-to-heading'.
2786         (org-back-to-heading): New wrapper around outline-back-to-heading,
2787         with a useful error message telling where the error happened.
2789         * org-list.el (org-update-checkbox-count): Always call
2790         `org-back-to-heading' instead of `outline-back-to-heading'.
2792         * org-exp.el (org-export-as-html): Make sure that each <img> tag
2793         has an `alt' attribute, to ensure XHTML validation.
2795 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
2797         * org-publish.el (org-publish-attachment): Allow publishing to
2798         overwrite attachment files.
2800         * org-agenda.el (org-agenda-timerange-leaders): New option.
2801         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
2803         * org.el (org-edit-src-exit): Untabify ASCII image before
2804         returning.
2817 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
2819         * org.el (org-yank): Make any prefix force normal yanking.
2820         Suppress folding if text would be swallowed into a folded
2821         subtree.
2822         (org-yank-folded-subtrees, org-yank): Docstring updates.
2824         * org-agenda.el (org-agenda-compare-effort): Treat no effort
2825         defined as 0.
2827         * org-exp.el (org-export-language-setup): Add Catalan and
2828         Esperanto language entries.
2830 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
2832         * org.el (org-refile): Allow refiling of entire regions.
2834         * org-clock.el (org-clock-time%): New function.
2836         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
2837         retrieve property values.
2839 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
2841         * org-agenda.el (org-agenda-list): Handle the value `only' of
2842         org-agenda-show-log'.
2843         (org-agenda-log-mode): Interpret a double prefix arg.
2845 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
2847         * org-exp.el (org-export-html-footnotes-section): New variable.
2848         (org-export-as-html): Use `org-export-html-footnotes-section' to
2849         insert the footnotes.
2850         (org-export-language-setup): Add "Footnotes" to language words.
2852 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
2854         * org.el (org-yank): Fix bug when not inserting a subtree.
2856 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
2858         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
2859         instead of `vm-beginning-of-message'.
2861         * org.el (org-make-link-regexps): Make sure that links to gnus can
2862         contain brackets.
2864 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
2866         * org-attach.el (org-attach-dir): Remove duplicate ID creation
2867         code.
2869         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
2870         shell output.
2872         * org.el (org-link-abbrev-alist): Improve customization type.
2874         * org-attach.el (org-attach-expand-link, org-attach-expand): New
2875         functions.
2877         * org-agenda.el (org-agenda-get-progress): Renamed from
2878         `org-get-closed'.  Implement searching for state changes as well.
2879         (org-agenda-log-mode-items): New option.
2880         (org-agenda-log-mode): New option prefix argument, interpreted as
2881         request to show all possible progress info.
2882         (org-agenda-get-day-entries): Call `org-get-progress' instead of
2883         `org-get-closed'.
2884         (org-agenda-set-mode-name): Handle the more complex log mode
2885         settings.
2886         (org-get-closed): New alias, pointing to `org-get-progress'.
2888 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
2890         * org.el (org-file-apps-defaults-gnu)
2891         (org-file-apps-defaults-macosx)
2892         (org-file-apps-defaults-windowsnt): Add an entry defining the
2893         system command.
2894         (org-file-apps): Allow `system' as key and value.
2895         (org-open-at-point): Explain the effect of a double prefix arg.
2896         (org-open-file): If the argument `in-emacs' is (16),
2897         i.e. corresponding to a double prefix argument, try to open the
2898         file externally.
2900 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
2902         * org.el (org-insert-link): Abbreviate absolute files names in
2903         links.  Also, fix a bug in which the double C-u prefix would not
2904         be honored.
2906 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
2908         * org.el (org-insert-heading): If buffer does not end with a
2909         newline, add one if necessary to insert headline correctly.
2911         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
2912         paragraphs, not inside.
2914         * org.el (org-todo): Quote
2915         `org-agenda-headline-snapshot-before-repeat'.
2917         * org-exp.el (org-export-as-html): Fully process link descriptions.
2918         (org-export-html-format-desc): New function.
2919         (org-export-as-html): Collect footnotes into the correct basket.
2920         (org-html-protect): No longer protect quotations marks here, this
2921         goes wrong.
2923         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
2924         BEG.
2926         * org-compat.el (org-fit-window-to-buffer): New function (not
2927         really, a preliminary and incomplete version was present earlier,
2928         but not used).
2930         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
2931         `org-fit-window-to-buffer'.
2933         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
2935         * org-agenda.el (org-agenda-get-restriction-and-command)
2936         (org-fit-agenda-window, org-agenda-convert-date): Use
2937         `org-fit-window-to-buffer'.
2939         * org-exp.el (org-export-as-html): Process href links through
2940         `org-export-html-format-href'.
2941         (org-export-html-format-href): New function.
2943         * org-agenda.el (org-agenda-todo): Update only the current
2944         headline if this is a repeated TODO, marked done for today.
2945         (org-agenda-change-all-lines): New argument JUST-THIS, to change
2946         only the current line.
2948         * org.el (org-todo): Take a snapshot of the headline if the
2949         repeater might change it.
2951 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
2953         * org-publish.el (org-publish-find-title): Remove buffers visited
2954         only for extracting the title.
2956         * org-exp.el (org-export-html-style)
2957         (org-export-html-style-default): Mark style definitions as
2958         unparsed CDATA.
2960         * org-publish.el (org-publish-validate-link): Function
2961         re-introduced.
2963 2008-11-02  Charles Sebold  <csebold@gmail.com>
2965         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
2966         property.
2967         (org-plot-quote-timestamp-field): New function.
2968         (org-plot-quote-tsv-field): Call timestamp field function when
2969         necessary rather than just quoting as a string.
2970         (org-plot/gnuplot-to-data): Pass in timefmt property.
2971         (org-plot/gnuplot-script): Supports timefmt property.
2972         (org-plot/gnuplot): Checks for timestamp column before checking
2973         for text index column.
2975 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
2977         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
2979         * org-publish.el (org-publish-org-index): Create a section in the
2980         index file.
2981         (org-publish-org-index): Stop linking to directories.
2983         * org.el (org-emphasis-alist): Use span instead of <u> to
2984         underline text.
2986         * org-exp.el (org-export-as-html): Make sure <p> is closed before
2987         <pre> sections.
2989 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
2991         * org-jsinfo.el (org-infojs-template): Remove language attribute
2992         from script tag.
2994 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
2996         * org-agenda.el (org-agenda-remove-marked-text): New function.
2997         (org-agenda-mark-filtered-text)
2998         (org-agenda-unmark-filtered-text): New functions.
2999         (org-write-agenda): Remove fltered text.
3001         * org.el (org-make-tags-matcher): Give access to TODO "property"
3002         without speed penalty.
3004 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
3006         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3007         option.
3008         (org-store-link-props): Make sure adding to the plist works
3009         correctly.
3011         * org-gnus.el (org-gnus-no-new-news): New function.
3012         (org-gnus-follow-link): Allow the article ID to be a message-id,
3013         in addition to allowing article numbers.  Message IDs make much
3014         more roubust links.
3015         (org-gnus-store-link): Use message-id to create link.
3017 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
3019         * org.el (org-emphasize): Reverse the selection array.
3020         (org-emphasis-alist): Set <code> tags for the verbatim
3021         environment.
3023         * org-remember.el (org-remember-handler): Fix bug with
3024         prefix-related changing of the note storage target.
3026         * org-exp.el (org-print-icalendar-entries): Make the exported
3027         priorities compatible with RFC 2445.
3029         * org-clock.el (org-clock-save): Insert time stamp without
3030         dependence on time-stamp.el.
3032 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
3034         * org.el ("saveplace"): If saveplace puts point into an invisible
3035         location, make it visible.
3036         (org-make-tags-matcher): Allow inactive time stamps in time
3037         comparisons.
3038         (org-yank-adjusted-subtrees): New option.
3039         (org-yank): Incorporate adjusting trees.
3040         (org-paste-subtree): New argument FOR-YANK which will cause
3041         insertion at point without backing up over white lines, and leave
3042         point at the end of the inserted text.  Also if the cursor is
3043         at the beginning of a headline, use the same level or the inserted
3044         tree.
3046         * org-publish.el (org-publish-get-base-files-1): Deal correctly
3047         with broken symlinks
3049 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
3051         * org-exp.el (org-export-select-tags, org-get-current-options):
3052         Fix typo.
3054 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
3056         * org-agenda.el (org-format-agenda-item)
3057         (org-agenda-filter-make-matcher): Make sure tags are stored and
3058         compared donwcased.
3060 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
3062         * org.el (org-insert-todo-heading): Fix bug with force-heading
3063         argument.
3065 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
3067         * org-clock.el (org-clock-in-resume): Add a custom option to
3068         toggle starting the clock from an open clock line.
3069         (org-clock-in): When clocking in to an entry, if
3070         `org-clock-in-resume' is set, check if the first clock line is
3071         open and if so, start the clock from the time in the clock line.
3072         (org-clock-persist): Add a custom option to toggle clock
3073         persistence.
3074         (org-clock-persist-query-save): Add a custom option to toggle
3075         asking the user if they want to save the running clock when
3076         exiting.
3077         (org-clock-persist-query-resume): Add a custom option to toggle
3078         asking the user if they want to resume the saved clock when Emacs
3079         is restarted.
3080         (org-clock-save): Add a function to save clock data.
3081         This includes the contents of `org-clock-history' and the buffer
3082         and position of the currently clocked task, if any.
3083         (org-clock-load): Add a function to load clock data.
3084         This populates `org-clock-history', and resumes the saved clocked
3085         task if there is one.
3086         (org-clock-persistence-insinuate): Add a method to set up the
3087         hooks for clock persistence.
3089 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
3091         * org-exp.el (org-export-as-ascii): Handle the case that we are
3092         publishing from an indirect buffer.
3094         * org-table.el (org-table-copy-down): Fix bug with time stamp
3095         increment.
3097         * org-mouse.el (org-mouse-features): New option.
3098         (org-mode-hook): Turn on features depending on
3099         `org-mouse-features'.
3101         * org.el (org-insert-heading-respect-content): Force heading
3102         creation.
3103         (org-insert-heading): keep the folding state of the heading before
3104         the inserted one.
3106 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3108         * org-archive.el (org-archive-to-archive-sibling): Handle top
3109         level headlines better.
3111 2008-10-21  Bastien Guerry  <bzg@altern.org>
3113         * org-export-latex.el (org-export-latex-classes): Added
3114         \usepackage{graphicx} to the default list of packages.
3116 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3118         * org-agenda.el (org-agenda-filter): Renamed from
3119         `org-agenda-filter-tags'.
3121 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
3123         * org.el (org-entry-properties): Add CATEGORY property, iven if it
3124         is not defined as a property in this entry.
3125         (org-add-log-note): Mask prefix argument when immediately storing
3126         the note.
3128         * org-agenda.el (org-agenda-filter-effort-default-operator): New
3129         option.
3131 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
3133         * org.el (org-add-log-setup): Bugfix; code to find insertion point
3134         after drawers was skipping ahead one line too many, so notes were
3135         inserted after the first note instead of before it.
3137 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
3139         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3140         New variables.
3141         (org-prepare-agenda): Reset the filter tags.
3142         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3143         Show filter tags in mode line.
3145         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
3146         formatter.
3148         * org-export-latex.el (org-latex-entities-regexp): New constant.
3149         (org-export-as-pdf): Use two calls to `shell-command'.
3151 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
3153         * org-export-latex.el (org-export-latex-treat-sub-super-char):
3154         Honor the {} value of the subsuperscript setting.  Make sure that
3155         longer subsuperscripts are typeset in a roman font.
3157         * org.el (org-clock-update-time-maybe): Compute negative clock
3158         intervals correctly.
3160 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
3162         * org.el (org-add-log-setup): Respect
3163         `org-log-state-notes-insert-after-drawers'.
3164         (org-log-state-notes-insert-after-drawers): New option.
3165         (org-todo-trigger-tag-changes): New function.
3166         (org-todo): Call `org-todo-trigger-tag-changes'.
3168 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
3170         * org.el (org-add-log-setup): Only skip drawers if the are
3171         immediately after the scheduling keywords.
3173         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
3174         function
3175         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
3176         call it with the current todo state to get the state to switch to
3177         when clocking in.
3178         (org-clock-in): Use org-indent-line-function to indent clock lines.
3179         (org-clock-find-position): Fix indentation of empty clock drawers.
3181 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
3183         * org-publish.el (org-publish-org-to): Handle case when
3184         org-export-to-pdf does return a file name, not a buffer.
3185         (org-publish-org-to-pdf): New function.
3187         * org-export-latex.el (org-export-as-pdf)
3188         (org-export-as-pdf-and-open): New commands.
3190         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
3191         forms as ranges.
3193         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
3194         things in protexted regions.
3196 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
3198         * org-export-latex.el (org-export-latex-preprocess): Improve
3199         quoting of LaTeX environments.
3201 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
3203         * org.el (org-edit-fixed-width-region): Exclude final newline from
3204         picture area.
3206         * org-export-latex.el (org-export-latex-subcontent): Add labels to
3207         sections, to make internal links work.
3208         (org-export-latex-fontify-headline): Do not remove all text
3209         properties, to make sure that target properties survive this
3210         process.
3212         * org-exp.el (org-export-preprocess-string): Change sequence of
3213         modifications, to make sure links are prepared before the LaTeX
3214         conversions do happen.
3216 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
3218         * org-attach.el (org-attach-delete-all): Renamed from
3219         `org-attch-delete'.  Add a security query before deleting the
3220         entire directory.  New optional argument FORCE can overrule the
3221         security query.
3222         (org-attach-delete-one): New command.
3224 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
3226         * org-attach.el (org-attach-file-list): Fix bug with directory.
3228 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
3230         * org.el (org-apps-regexp-alist): New function.
3231         (org-file-apps): Add auto-mode to the default value.
3232         (org-open-file): Use the new structure of org-file-apps.
3234         * org-attach.el (org-attach): Support the new keys.
3235         (org-attach-method): New option.
3237 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
3239         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
3240         March.
3242         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
3243         of the list value o `org-use-tag-inheritance'.
3245         * org-attach.el (org-attach-auto-tag): New option.
3246         (org-attach-tag, org-attach-untag): New functions.
3247         (org-attach-attach, org-attach-new, org-attach-sync): Call
3248         `org-attach-tag'.
3249         (org-attach-delete): Call `org-attach-untag'.
3251 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
3253         * org-table.el (orgtbl-self-insert-command): Make this work for
3254         the keypad as well.
3256 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
3258         * org.el (org-add-log-setup): Limit searc for drawers to entry
3259         text, not to subtree.
3261         * org-clock.el (org-clock-heading-for-remember): New variable.
3262         (org-clock-in): Set `org-clock-heading-for-remember'.
3264 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
3266         * org-remember.el (org-remember-apply-template): Add new
3267         expansions: %k, %K for currently clocked task and a link to the
3268         currently clocked task, and %< to file notes in the currently
3269         clocked task.
3271 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
3273         * org-export-latex.el (org-export-latex-make-header): Also insert
3274         the content of the property :latex-header-extra.
3276         * org-exp.el (org-infile-export-plist): Put the content of
3277         #+LATEX_HEADER: into the property :latex-header-extra.
3279         * org-colview.el (org-columns-get-format-and-top-level): Remove
3280         resetting the marker.
3282         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
3283         Remove resetting the marker.
3285         * org.el (org-entry-property-inherited-from): Improve docstring.
3286         (org-entry-get-with-inheritance): Reset marker before starting the
3287         search.
3289         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
3291 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
3293         * org.el (org-entry-get-multivalued-property)
3294         (org-entry-protect-space, org-entry-restore-space): New
3295         functions.
3296         (org-file-apps-defaults-macosx): Let postscript files be opened by
3297         preview.
3298         (org-time-stamp-inactive): Call `org-time-stamp'.
3299         (org-time-stamp): New argument `inactive'.  Also edit inacive
3300         stamps. Convert time stamp type.
3301         (org-open-file): Interpret the `default' value for the `command'
3302         in `org-file-apps'.
3304         * org-id.el (org-id-int-to-b36-one-digit)
3305         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
3306         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
3307         b36.
3309 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
3311         * org-id.el (org-id-reverse-string): New function.
3312         (org-id-new): Use `org-id-reverse-string' to make sure the
3313         beginning chars of the ID are mutating fast.  This allows to use a
3314         directory structure to spread things better.
3315         (org-id-prefix): Changed default to nil.
3317         * org-list.el (org-move-item-down, org-move-item-up): Remember and
3318         restore the column of the cursor position.
3320         * org-remember.el (org-remember-apply-template): Remove properties
3321         from `initial'.
3323 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
3325         * org-wl.el (org-wl-open): Remove useless call to
3326         `wl-thread-open-all'.
3328         * org-remember.el (org-remember-handler): Fix bug with `bottom'
3329         location.
3331 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
3333         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
3334         `org-bbdb-anniversaries'.
3336         * org.el (org-get-next-sibling, org-forward-same-level): New
3337         functions, similar to the outline versions, but invisible headings
3338         are OK.
3340 2008-09-25  Bastien Guerry  <bzg@altern.org>
3342         * org.el (org-auto-repeat-maybe): Insert a space between
3343         the timestamp's type and the timestamp itself.
3345 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
3347         * org-table.el (org-table-sum): Do not format the result with %g,
3348         it does rounding when there are too many digits.
3350         * org.el (org-map-entries): Protect the keyword-selecting variables.
3352 2008-09-23  Bastien Guerry  <bzg@altern.org>
3354         * org-agenda.el (org-agenda-to-appt): Make sure the function check
3355         against all agenda files.
3357 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
3359         * org-list.el: New file, aggregating list functions from org.el
3360         and org-export-latex.el.
3362         * org.el (org-edit-src-region-extra): New option.
3364 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
3366         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
3367         time before 1am.
3369 2008-09-22  Bastien Guerry  <bzg@altern.org>
3371         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
3373 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
3375         * org-plot.el (org-plot/gnuplot): Make tables starting with a
3376         hline work correctly.
3377         (org-plot/gnuplot-script): Put commas at the end of each script
3378         line.
3380 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
3382         * org.el (org-get-refile-targets): Replace links with their
3383         descriptions
3384         (org-imenu-get-tree): Replace links with their descriptions.
3386         * org-remember.el (org-remember-apply-template): Add a new
3387         expansion for adding properties to remember items.
3389         * org.el (org-add-log-setup): Skip over drawers (properties,
3390         clocks etc) when adding notes.
3392         * org-agenda.el (org-agenda-get-closed): show durations of clocked
3393         items as well as the start and end times.
3395         * org-compat.el (org-get-x-clipboard-compat): Add a compat
3396         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
3398         * org-remember.el (org-get-x-clipboard): Use the compat
3399         function to get clipboard values when x-selection-value is
3400         unavailable. Use substring-no-properties instead of
3401         set-text-properties to remove text properties from the clipboard
3402         value.
3404         * lisp/org-clock.el (org-update-mode-line): Support limiting the
3405         modeline clock string, and display the full todo value in the
3406         tooltip. Set a local keymap so mouse-3 on the clock string goes to
3407         the currently clocked task.
3408         (org-clock-string-limit): Add a custom value for the maximum
3409         length of the clock string in the modeline.
3410         (org-clock-mode-map): Add a keymap for the modeline string
3412 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
3414         * org-compat.el (org-propertize): New function.
3416 2008-09-20  Bastien Guerry  <bzg@altern.org>
3418         * org-export-latex.el (org-export-latex-tables): protect exported
3419         tables from further special chars conversion.
3420         (org-export-latex-preprocess): Preserve LaTeX environments.
3421         (org-list-parse-list): Parse descriptive lists.
3422         (org-list-to-generic, org-list-to-latex, org-list-to-html)
3423         (org-list-to-texinfo): Export descriptive lists.
3424         (org-quote-chars): Remove.
3425         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
3426         (org-export-latex-list-beginning-re): Rename to
3427         `org-list-beginning-re'
3428         (org-list-item-begin): Rename to `org-list-item-beginning'
3430 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
3432         * org.el (org-refile): Allow refiling to the last entry in the
3433         buffer.
3434         (org-get-tags-at): Fix bug when inheritance is turned off.
3436 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
3438         * org.el (org-indent-line-function): No longer check for src
3439         regions, this is too much overhead.
3441         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
3442         matching.
3444         * org.el (org-scan-tags): Make sure that tags matching is not case
3445         sensitive.  TODO keyword matching is case sensitive, however, to
3446         avoid confusion with similar words that are not meant to be
3447         keywords.
3449 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
3451         * org.el (org-get-local-tags-at): New function.
3452         (org-get-local-tags): New function.
3454         * org-exp.el (org-export-get-categories): New function.
3456         * org-agenda.el (org-sorting-choice)
3457         (org-agenda-sorting-strategy, org-agenda-get-todos)
3458         (org-agenda-get-timestamps, org-agenda-get-deadlines)
3459         (org-agenda-get-scheduled, org-agenda-get-blocks)
3460         (org-entries-lessp): Implement sorting by TODO state.
3461         (org-cmp-todo-state): New defsubst.
3463         * org-colview.el (org-colview-construct-allowed-dates): New
3464         function.
3465         (org-columns-next-allowed-value): Use
3466         `org-colview-construct-allowed-dates'.
3468         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
3469         function.
3470         (org-columns-next-allowed-value): Use
3471         `org-colview-construct-allowed-dates'.
3473 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
3475         * org.el (org-protect-slash): New function.
3476         (org-get-refile-targets): Use `org-protect-slash'.
3478         * org-agenda.el (org-global-tags-completion-table): New variable.
3480         * org-exp.el (org-export-handle-export-tags): New function.
3481         (org-export-preprocess-string): Call
3482         `org-export-handle-export-tags'.
3484         * org-plot.el: New file.
3486         * org-publish.el (org-publish-expand-components): Function removed.
3487         (org-publish-expand-projects): Allow components to have components.
3489 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
3491         * org.el (org-indent-line-function): Do not indent in regions that
3492         are external source code.
3493         (org-yank-and-fold-if-subtree): New function.
3495         * org-agenda.el (org-agenda-todayp): New function.
3496         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
3497         `org-agenda-todayp'.
3499         * org.el (org-insert-heading-respect-content)
3500         (org-insert-todo-heading-respect-content): New commands.
3501         (org-insert-heading-respect-content): New option.
3502         (org-insert-heading): Respect `org-insert-heading-respect-content'.
3504         * org-clock.el (org-clock-find-position): Make sure the note after
3505         the clock line gets moved into the new clock drawer.
3507 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
3509         * org-id.el (org-id-new): New option.
3511 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
3513         * org-table.el (org-table-copy-down): Avoid overflow during
3514         increment.  Use prefix argument 0 to temporarily disable the
3515         increment.
3517 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
3519         * org-exp.el (org-export-as-html): Do not turn on the major mode
3520         if the buffer will be killed anyway.
3521         (org-get-current-options): Exclude the #+TEXT field.
3522         (org-export-as-html): Make sure text before the first headline is
3523         a paragraph.
3525         * org-publish.el (org-publish-org-to): Tell the exporter that this
3526         buffer will be killed, so it is not necessary to do major mode
3527         initialization.
3529         * org-archive.el (org-archive-to-archive-sibling): Show empty
3530         lines after folding the archive sibling.
3532         * org.el (org-log-note-extra): New variable.
3534 2008-09-05  Bastien Guerry  <bzg@altern.org>
3536         * org.el (org-additional-option-like-keywords): Added keywords for
3537         the _QUOTE, _VERSE and _SRC environments.
3539         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
3540         exporting _QUOTE and _VERSE environments.
3542 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
3544         * org-agenda.el (org-agenda-filter-by-tag): New command.
3546         * org-exp.el (org-get-current-options): Remove angular brackets
3547         from the date entry.
3549         * org.el (org-edit-fixed-width-region): New function.
3550         (org-edit-fixed-width-region): Also try
3551         `org-edit-fixed-width-region'.
3552         (org-edit-fixed-width-region-mode): New option.
3553         (org-activate-code): Only interprete lines starting with colon
3554         plus a space as example lines.
3556         * org-remember.el (org-remember-templates): Add nil instead of
3557         empty strings to fix the length of remember templates.
3559         * org-table.el (org-calc-default-modes): Fix the time format for
3560         calc, from 12 hour to 24 hour clock.
3562 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
3564         * org-agenda.el (org-agenda-get-deadlines)
3565         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
3566         entries that are pre-warnings of deadlines or reminders.
3568         * org.el (org-sort-entries-or-items): Make numeric and alpha
3569         comparisons ignore any TODO keyword and priority cookie.
3571         * org-remember.el (org-remember-handler): Reinterpretation of the
3572         prefix argument.
3574 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
3576         * org-agenda.el (org-agenda-get-scheduled): Use new
3577         `org-scheduled' face.
3579         * org-faces.el (org-scheduled): New face.
3581         * org-wl.el (org-wl-open): Remove incorrect declaration.
3583         * org-gnus.el (org-gnus-store-link): Support for :to information
3584         in gnus links.
3586         * org-exp.el (org-export-as-html): Fixed typo in creator
3587         information.
3588         (org-export-protect-examples): New parameter indent.  Insert extra
3589         spaces only when this parameter is specified.
3590         (org-export-preprocess-string): Call `org-export-protect-examples'
3591         with an indentation parameter when exporting to ASCII.
3593         * org-remember.el (org-remember-templates)
3594         (org-remember-apply-template): Allow the file component to be a
3595         function.
3597         * org.el (org-goto-local-search-headings): Renamed from
3598         `org-goto-local-search-forward-headings'.  Added the possibility
3599         to search backwards.
3601 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
3603         * org-export-latex.el (org-export-latex): New customization
3604         group.
3606         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
3608 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
3610         * org-exp.el (org-html-do-expand): Allow {} to terminate
3611         tex macro
3613 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
3615         * org.el (org-buffer-list): Select buffers based on major mode,
3616         not on file name.
3618 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
3620         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
3621         face property.
3623         * org-colview.el (org-columns-display-here): Use
3624         `org-columns-modify-value-for-display-function'.
3626         * org-colview-xemacs.el (org-columns-display-here): Use
3627         `org-columns-modify-value-for-display-function'.
3629 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
3631         * org.el (org-columns-modify-value-for-display-function): New option.
3643         * org-publish.el (org-publish-file): Make sure the directory match
3644         for the publishing directory works correctly.
3646         * org-agenda.el (org-agenda-execute-calendar-command)
3647         (org-agenda-diary-entry): Additional optional argument.
3649 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
3651         * org-exp.el (org-export-as-html): Add attributes also in mailto
3652         and ftp links.
3654         * org.el (org-autoload): Add `org-dblock-write:columnview'.
3663 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
3665         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
3666         sure that calls from `org-export-region-as-html' do not do the
3667         special check for a subtree.
3669 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
3671         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
3673 2008-07-20  Juri Linkov  <juri@jurta.org>
3675         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
3676         new keymap `narrow-map' instead of binding "\C-xns".
3678 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
3680         * org.el (org-open-file): Use
3681         `org-open-directory-means-index-dot-org'.
3682         (org-open-directory-means-index-dot-org): New option.
3684 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
3686         * org.el (org-make-link-string): Remove link attributes from
3687         description.
3688         (org-open-at-point): Remove link attributes bevore using the path.
3690         * org-exp.el (org-export-as-html): Handle link attributes.
3692         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
3694         * org-table.el (org-table-to-lisp): New function.
3696         * org.el (org-narrow-to-subtree): Do not include the final newline
3697         into the narrowed region.
3699         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
3700         bug with user-define skipping condition.
3702 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
3704         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
3706 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
3708         * org-exp.el (org-export-html-style-default): Automatic overflow
3709         handling for pre fields.
3710         (org-export-as-ascii, org-export-as-html): Change default format
3711         for time stamp.
3713         * org-table.el (org-table-export): Offer completion for translator
3714         functions, and do not require a heading above the table.
3716         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
3717         Cater for the case of a list starting in the first line of the
3718         buffer.
3720 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
3722         * org-publish.el (org-publish-find-title): Bug fix.
3723         (org-publish-org-index): Implement new :index-style option.
3725 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
3727         * org-publish.el (org-publish-timestamp-filename): Use
3728         SHA1-encoded file names in the timestamp directory.
3730 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
3732         * org-publish.el (org-publish-needed-p): Be verbose about files
3733         published and files skipped.
3735         * org-exp.el (org-export-preprocess-string): Swap link
3736         normalization and inernal link targeting.
3738         * org-publish.el (org-publish-needed-p): Create timestamp
3739         directory when it does not exist.
3741 2008-07-04  Bastien Guerry  <bzg@altern.org>
3743         * org-clock.el (org-clock-out-when-done): Doc fix.
3745         * org.el (org-agenda-skip-unavailable-files): Doc fix.
3747         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
3748         Ignore case when searching for the COMMENT cookie at export time.
3750 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
3752         * org-exp.el (org-get-file-contents)
3753         (org-get-and-remove-property): New functions.
3754         (org-export-handle-include-files): Handle the new prefix options.
3755         (org-export-as-html): Fix the verse environment.
3757 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
3759         * org.el (org-time=, org-time<, org-time<=, org-time>)
3760         (org-time>=, org-time<>, org-2ft): New functions.
3761         (org-op-to-function): Also provide for the time testing fucntions.
3763 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
3765         * org-exp.el (org-export-html-style-default): New constant.
3767 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
3769         * org-exp.el (org-export-html-style-extra): New variable.
3770         (org-export-splice-style): New function.
3772 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
3774         * org-exp.el (org-export-plist-vars, org-export-as-html):
3775         Implement `org-export-creator-info'.
3776         (org-export-creator-info): New option.
3778 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
3780         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
3781         (org-property-drawer-re, org-clock-drawer-re): New constants.
3783 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
3785         * org-exp.el (org-icalendar-use-deadline)
3786         (org-icalendar-use-scheduled): New options.
3787         (org-icalendar-include-todo): Default changed to t.
3788         (org-print-icalendar-entries): Implement better utilization of
3789         scheduling and deadline time stamps.
3790         (org-export-target-internal-links, org-export-as-html): Allow file
3791         lines without the "file:" prefix if the file path is an absolute
3792         path or starts with ".".
3794         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
3795         lastweek etc.
3796         (org-clock-special-range): Also undertand yesterday, lastweek etc.
3798 2008-06-18  Glenn Morris  <rgm@gnu.org>
3799         * org.el (org-map-entries): Let-bind `file'.
3801 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
3803         * org.el (org-agenda-skip-archived-trees): Docstring now
3804         discourages using this.
3805         (org-scan-tags): Check for org-agenda-archives-mode.
3806         (org-map-entries): Make sure org-agenda-archives-mode is nil.
3807         (org-agenda-files): Functionality of second arg changed.
3809         * org-agenda.el (org-agenda-archives-mode): New variable
3810         (org-write-agenda, org-prepare-agenda, org-agenda-list)
3811         (org-search-view, org-todo-list, org-tags-view)
3812         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
3813         `ifmode' argument.
3814         (org-agenda-quit): Reset the archives mode.
3815         (org-agenda-archives-mode): New command.
3816         (org-agenda-set-mode-name): Include archives info.
3818 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
3820         * org.el (org-paste-subtree): Make sure the yanked headline is
3821         visible if it was yanked at a visible point.
3822         (org-move-item-up): Fix the bug with moving white space at the end
3823         of the item.
3824         (org-show-empty-lines-in-parent): New function.
3826 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
3828         * org-colview.el (org-columns-next-allowed-value): Bug fix.
3830         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
3832         * org-agenda.el (org-agenda-get-closed): Get the end time into the
3833         agenda prefix as well.
3835         * org-publish.el (org-publish-org-index): Make a properly indented
3836         list.
3838         * org.el (org-calendar-agenda-action-key): New option.
3839         (org-get-cursor-date): New function.
3840         (org-mark-entry-for-agenda-action): New command.
3841         (org-overriding-default-time): New variable.
3842         (org-read-date): Respect `org-overriding-default-time'.
3844         * org-remember.el (org-remember-apply-template): Respect the
3845         ovverriding default time.
3847         * org-agenda.el (org-agenda-action-marker): New variable.
3848         (org-agenda-action): New command.
3849         (org-agenda-do-action): New function.
3851 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
3853         * org.el (org-schedule, org-deadline): Protect scheduled and
3854         deadline tasks against changes that accidently remove the
3855         repeater.  Also show a message with the new date when done.
3857 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
3859         * org.el (org-beginning-of-line): Cater for the case when there
3860         are tags but no headline text.
3861         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
3862         it set.
3864 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
3866         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
3867         the return value is nil instead of "nil" when there is no match.
3869         * org-exp.el (org-insert-centered): Use fill-column instead of
3870         80.
3871         (org-export-as-ascii): Use string-width to measure the width of
3872         the heading.
3874         * org.el (org-diary-to-ical-string): No longer kill buffer
3875         FROMBUF, this is now done by the caller.
3877         * org-exp.el (org-print-icalendar-entries): Move the call to
3878         `org-diary-to-ical-string' out of the loop, and kill the buffer
3879         afterwords.
3881         * org-remember.el (org-remember-visit-immediately): Position
3882         cursor after moving to the note.
3883         (org-remember-apply-template): Use a text property to record the
3884         cursor position.
3885         (org-remember-handler): Align tags after pasting the note.
3887 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
3889         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
3891         * org-agenda.el (org-agenda-open-link): If there is an
3892         org-bbdb-name property in the current line, jump to that bbdb
3893         entry.
3895         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
3896         text property, so that the agenda knows where this entry comes
3897         from.
3899         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
3900         interaction between clocking-in from the agenda, and  automatic
3901         task state switching.
3903         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
3905         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
3906         zmacs-region stays after this command in XEmacs.
3908 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
3910         * org.el (org-scan-tags): Allow new values for ACTION parameter.
3912         * org-remember.el (org-remember-templates): Fix bug in
3913         customization type definition.
3915         * org.el (org-map-entries): New function.
3917 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
3919         * org-agenda.el (org-agenda-skip-comment-trees): New option.
3920         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
3922 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
3924         * org-remember.el (org-jump-to-target-location): New variable.
3925         (org-remember-apply-template): Set
3926         `org-remember-apply-template' if requested by template.
3927         (org-remember-handler): Start an idle timer to jump to
3928         remember location.
3930         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
3932         * org.el (org-set-regexps-and-options): Fix bug with parsing of
3933         file tags.
3934         (org-get-tags-at): Add the content of `org-file-tags'.
3936         * org-exp.el (org-export-handle-comments): Fix bug with several
3937         comment lines after each other.
3938         (org-number-to-roman, org-number-to-counter): New functions.
3939         (org-export-section-number-format): New option.
3941 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
3943         * org-exp.el (org-export-protect-examples): Catch the case of a
3944         missing end_example line.
3946         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
3947         `org-file-tags' to nil.
3949         * org-colview.el (org-columns-next-allowed-value): Handle next
3950         argument NTH to directly select a value.
3952         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
3953         argument NTH to directly select a value.
3955 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
3957         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
3959 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
3961         * org.el (org-columns-ellipses): New option.
3963 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
3965         * org-colview.el (org-columns-add-ellipses): New function.
3966         (org-columns-compact-links): New function.
3967         (org-columns-cleanup-item): Call `org-columns-compact-links'.
3968         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
3969         when in agenda.
3970         (org-columns-edit-value): Fixed bug with editing values from
3971         agenda column view.
3972         (org-columns-redo): Also redo the agenda itself.
3974 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
3976         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
3977         option.
3979         * org-colview.el (org-agenda-columns-cleanup-item): New function.
3981         * org-exp.el (org-export-ascii-preprocess): Renamed from
3982         `org-export-ascii-clean-string'.
3983         (org-export-kill-licensed-text)
3984         (org-export-define-heading-targets)
3985         (org-export-handle-invisible-targets)
3986         (org-export-target-internal-links)
3987         (org-export-remove-or-extract-drawers)
3988         (org-export-remove-archived-trees)
3989         (org-export-protect-quoted-subtrees)
3990         (org-export-protect-verbatim, org-export-protect-examples)
3991         (org-export-select-backend-specific-text)
3992         (org-export-mark-blockquote-and-verse)
3993         (org-export-remove-comment-blocks-and-subtrees)
3994         (org-export-handle-comments, org-export-mark-radio-links)
3995         (org-export-remove-special-table-lines)
3996         (org-export-normalize-links)
3997         (org-export-concatenate-multiline-links)
3998         (org-export-concatenate-multiline-emphasis): New functions,
3999         obtained from spliiting the export preprocessor.
4001         * org-table.el (org-table-recalculate): Improve error message if
4002         the row number is invalid.
4004 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
4006         * org-archive.el (org-archive-save-context-info): Fix bugs in
4007         customization setup and docstring.
4009         * org-exp.el (org-export-html-style): Changed the size of in the
4010         <pre> element to 90%.
4012 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
4014         * org.el (org-find-src-example-start): Function removed.
4015         (org-edit-src-find-region-and-lang): New function.
4017 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
4019         * org.el (org-edit-src-exit): New function.
4020         (org-exit-edit-mode): New minor mode.
4022         * org-exp.el (org-export-preprocess-string): Fix bug with removing
4023         comment-like lines from protected examples.
4025         * org.el (org-edit-src-example, org-find-src-example-start)
4026         (org-protect-source-example, org-edit-special): New functions.
4028 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
4030         * org-publish.el (org-publish-project-alist): Fix typo in
4031         docstring.
4032         (org-publish-project-alist): Handle :index-title property.
4034 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
4036         * org-export-latex.el (org-export-as-latex): Make sure region
4037         bounds are correct.  Parse subtree properties relating to export.
4039         * org-exp.el (org-export-add-options-to-plist): New function.
4040         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4042 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
4044         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4045         EXPORT_TITLE.
4047         * org-exp.el (org-export-get-title-from-subtree)
4048         (org-export-as-ascii, org-export-as-html): Make sure the original
4049         region-beginning and region-end are used, even after moving
4050         point.
4051         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4052         property.
4054         * org-remember.el (org-remember-last-stored-marker): New variable.
4055         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4056         (org-remember-handler): Also use marker to remember
4057         last-stored position.
4059         * org.el (org-goto-marker-or-bmk): New function.
4061 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
4063         * org.el (org-file-properties): Renamed from `org-local-properties'.
4064         (org-scan-tags): Take file tags into account.
4065         (org-tags-match-list-sublevels): Default changed to t.
4067         * org-exp.el (org-export-as-html): Close paragraph after a
4068         footnote.
4070         * org.el (org-update-parent-todo-statistics): New function.
4072         * org-exp.el (org-icalendar-store-UID): New option.
4073         (org-icalendar-force-UID): Option removed.
4074         (org-print-icalendar-entries): IMplement UIDs.
4076 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
4078         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4080 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
4082         * org-faces.el (org-column): Document how this face is being used
4083         and why sometimes the background faces shine through.
4085         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4087         * org-publish.el (org-publish-attachment): Create publishing
4088         directory if it does not yet exist.
4090         * org-table.el (org-calc-default-modes): Change default number
4091         format to (float 8).
4093         * org.el (org-olpath-completing-read): New function.
4094         (org-time-clocksum-format): New option.
4095         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4097         * org-clock.el (org-clock-display, org-clock-out)
4098         (org-update-mode-line): Use `org-time-clocksum-format'.
4100         * org-colview-xemacs.el (org-columns-number-to-string): Use
4101         `org-time-clocksum-format'.
4103         * org-colview.el (org-columns-number-to-string): Use
4104         `org-time-clocksum-format'.
4106 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
4108         * org-id.el: New file, move from contrib to core.
4110         * org-exp.el (org-icalendar-force-UID): New option.
4112 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
4114         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4115         shifted by one day if theere is a date range without an end
4116         time.
4118         * org.el (org-try-structure-completion): New function.
4120 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
4122         * org.el (org-set-font-lock-defaults): Improve fontification of
4123         description lists.
4124         (org-insert-item): Handle description lists.
4125         (org-adaptive-fill-function): Improve auto indentation in
4126         description lists.
4128         * org-exp.el (org-export-as-html, org-export-preprocess-string):
4129         Implement VERSE environment.
4130         (org-export-preprocess-string): Implement the COMMENT
4131         environment.
4133         * org-export-latex.el (org-export-latex-preprocess): Implement
4134         VERSE environment.
4136 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
4138         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4139         option.
4141 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
4143         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4145         * org.el (org-quote-csv-field): New functions.
4147         * org-table.el (org-table-export-default-format): Remove :splice
4148         from default format, we get the same effect by not specifying
4149         :tstart and :tend.
4150         (org-table-export): Improve setup, distinguish better between
4151         interactive and non-interactive use, allow specifying the format
4152         on the fly, better protection against wrong file names.
4153         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
4154         and :tend when :splice is omitted.
4156 2008-05-09  Bernt Hansen  <bernt@norang.ca>
4158         * org-clock.el (org-clock-select-task): Make sure the selection
4159         letters are 1-9 and A-Z, no special characters.
4161 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
4163         * org-exp.el (org-export-htmlize): New group.
4164         (org-export-htmlize-output-type)
4165         (org-export-htmlize-css-font-prefix): New options.
4166         (org-export-htmlize-region-for-paste): New function.
4167         (org-export-htmlize-generate-css): New command.
4169 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
4171         * org/org.el (org-modules, org-format-latex-options):
4172         * org/org-archive.el (org-archive-stamp-time)
4173         (org-archive-save-context-info):
4174         * org/org-faces.el (org-hide):
4175         * org/org-irc.el (org-irc-parse-link):
4176         * org/org-macs.el (org-call-with-arg, org-autoload):
4177         * org/org-mew.el (org-mew-store-link):
4178         * org/org-remember.el (org-remember-store-without-prompt)
4179         (org-remember-templates): Fix typos in docstrings.
4181         * org/org-info.el (org-info-store-link): Remove leftover docstring.
4183         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4184         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4185         (org-bbdb-anniv-split): Fix typos in docstrings.
4187         * org/org-publish.el (org-publish-project-alist): Doc fixes.
4188         (org-publish-use-timestamps-flag): Reflow docstring.
4189         (org-publish-files-alist): Fix typos in docstring.
4191 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
4193         * org.el (org-set-visibility-according-to-property): New function.
4194         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
4195         and compute the regular expressions, and update font-lock.
4196         (org-property-re): Allow a dash in property names.
4198         * org-archive.el (org-extract-archive-file): Insert the file name
4199         without the path into the format, to allow the location format to
4200         contain a subdirectory.
4202         * org-agenda.el (org-agenda-post-command-hook): If point is at end
4203         of buffer, and the `org-agenda-type' property undefined, use the
4204         value from the character before.
4206         * org.el (org-add-planning-info): Don't let indentation for
4207         would-be timestamp become extra whitespace at the end of headline.
4209 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
4211         * org.el (org-remove-double-quotes, org-file-contents): New
4212         functions.
4214         * org-exp.el (org-infile-export-plist): Also parse the
4215         contents of #+SETUPFILE files, recursively.
4217         * org.el (org-set-regexps-and-options): Also parse the
4218         contents of #+SETUPFILE files, recursively.
4220         * org-exp.el (org-export-handle-include-files): New function.
4221         (org-export-preprocess-string): Call
4222         `org-export-handle-include-files'.
4224         * org.el (org-delete-property-globally)
4225         (org-delete-property, org-set-property): Ignore case during
4226         completion.
4227         (org-set-property): Use `org-completing-read' instead of
4228         `completing-read'.
4230         * org.el (org-complete-expand-structure-template): New,
4231         experimental function.
4232         (org-structure-template-alist): New, experimental option.
4233         (org-complete): Call `org-complete-expand-structure-template'.
4235 2008-05-06  Bastien Guerry  <bzg@altern.org>
4237         * org-export-latex.el (org-export-latex-preprocess): Added
4238         support for blockquotes.
4240 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
4242         * org.el (org-read-date-analyze): Catch the case where only a
4243         weekday is given.
4245 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
4247         * org.el (org-set-font-lock-defaults): Make the description
4248         tag bold.
4250         * org-exp.el (org-export-as-html, org-close-li): Implement
4251         description lists.
4253 2008-05-04  Jason Riedy  <jason@acm.org>
4255         * org-table.el (*orgtbl-default-fmt*): New variable.
4256         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
4257         when there is no other fmt available.
4259         (orgtbl-to-generic): Allow an explicitly nil :tstart or
4260         :tend to suppress the appropriate string.
4262         (orgtbl-to-orgtbl): New function for translating to another orgtbl
4263         table.
4265 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
4267         * org.el (org-read-date-analyze): "." as an alias for "+0" in
4268         read date.
4270         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
4271         New function.
4273         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
4274         New function.
4276 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
4278         * org-clock.el (org-clock-find-position): Don't include notes
4279         into clock drawer.
4281         * org-archive.el (org-archive-subtree): No longer remove an
4282         extra line after cutting the subtree.  `org-cut-subtree' already
4283         takes care of this.
4285         * org-remember.el (org-remember-handler): Only kill the target
4286         buffer if it does not contain the running clock.
4288         * org.el (org-markers-to-move): New variable.
4289         (org-save-markers-in-region, org-check-and-save-marker)
4290         (org-reinstall-markers-in-region): New function.
4291         (org-move-subtree-down, org-copy-subtree): Remember relative
4292         marker positions before cutting.
4293         (org-move-subtree-down, org-paste-subtree): Restore relative
4294         marker positions after pasting.
4296         * org-remember.el (org-remember-clock-out-on-exit): New option.
4297         (org-remember-finalize): Clock out only if the setting in
4298         `org-remember-clock-out-on-exit' requires it.
4299         (org-remember-handler): Do the cleanup in the buffer, to make sure
4300         that the clock marker remains in tact.
4302 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
4304         * org-clock.el (org-clock-goto): Widen buffer if necessary.
4305         (org-clock-in): Make sure that also tasks outside the narrowed
4306         region will be clocked in correctly.
4307         (org-clock-insert-selection-line): Widen the buffer so that we can
4308         find the correct task heading.
4310         * org.el (org-base-buffer): New function.
4312         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
4313         and ";" are escaped.
4314         (org-print-icalendar-entries): Also apply
4315         `org-icalendar-cleanup-string' to the headline, not only to the
4316         summary property.
4318 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
4320         * org-exp.el (org-export-preprocess-hook): New hook.
4321         (org-export-preprocess-string): Call
4322         `org-export-preprocess-hook'.
4324         * org.el (org-font-lock-hook): New variable.
4325         (org-font-lock-hook): New function.
4326         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
4328 ;; Local Variables:
4329 ;; coding: utf-8
4330 ;; add-log-time-zone-rule: t
4331 ;; End:
4333     Copyright (C) 2008  Free Software Foundation, Inc.
4335   This file is part of GNU Emacs.
4337   GNU Emacs is free software: you can redistribute it and/or modify
4338   it under the terms of the GNU General Public License as published by
4339   the Free Software Foundation, either version 3 of the License, or
4340   (at your option) any later version.
4342   GNU Emacs is distributed in the hope that it will be useful,
4343   but WITHOUT ANY WARRANTY; without even the implied warranty of
4344   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4345   GNU General Public License for more details.
4347   You should have received a copy of the GNU General Public License
4348   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
4350 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c