Lists: Make promotion and demotion work on regions.
[org-mode.git] / lisp / ChangeLog
blobc70a15dfd83e625e8e46efd7ef476aaab19d4140
1 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-list.el (org-indent-item): Allow point to be at the end of
4         the region.
6         * org.el (org-metaleft, org-metaright): Be more accurate about
7         detecting a region where commands apply.
9         * org-compat.el (org-cursor-to-region-beginning): New function.
11         * org.el (org-priority): Also find invisible heading.
13         * org-colview-xemacs.el (org-columns-edit-value): No special
14         treatment for `org-todo' prefix.
16         * org-colview.el (org-columns-edit-value): No special treatment
17         for `org-todo' prefix.
19         * org-remember.el (org-remember-apply-template): Use
20         `org-completing-read-no-ido'.
22         * org.el (org-completing-read-no-ido): New function.
23         (org-make-tags-matcher, org-set-property): Use
24         `org-completing-read-no-ido'.
26         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
27         New option.
28         (org-export-as-latex): Import in-buffer settings as TeX macros.
29         (org-export-latex-make-header): Additional parameter OPT-DEFS.
30         (org-export-latex-collect-header-macros): New function.
32         * org.el (org-refile-get-location): Turn off
33         `partial-completion-mode'.
35 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
37         * org.el (org-block-todo-from-checkboxes): Announce that
38         checkboxes are the culprit.
39         (org-block-todo-from-children-or-siblings): Call
40         `org-up-heading-all instead' of `outline-up-heading'.
42         * org-agenda.el (org-agenda-show-1): Renamed from
43         `org-agenda-show'.
44         (org-agenda-show): Re-install the old version for now.
45         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
46         variable into the blokker hook, so that the checkbox checker can
47         anounce that it caused the blocking.
49         * org.el (org-track-ordered-property-with-tag): New option.
50         (org-toggle-ordered-property): Honor
51         `org-track-ordered-property-with-tag'.
52         (org-tag-alist): Add newline options.
53         (org-set-regexps-and-options): Separate option lines imply a
54         newline.
55         (org-set-regexps-and-options, org-assign-fast-keys)
56         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
57         option.
58         (org-indent-line-function): Make sure this works even if there is
59         not `org-drawer-regexp' defined.  This can happen when
60         orgstruct-mode is used in a non-org buffer.
62         * org-list.el (org-checkbox-blocked-p): New function.
63         (org-toggle-checkbox): Check for blocking.
65         * org.el (org-modules): Add an entry for org-R.el.
67         * org-agenda.el (org-agenda-todo-ignore-with-date)
68         (org-agenda-todo-ignore-scheduled)
69         (org-agenda-todo-ignore-deadlines): Mention the variable
70         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
72         * org.el (org-get-wdays): Find the warning period also if it is in
73         the wrong place.
74         (org-ido-completing-read): Provide the correct arguments to
75         ido-completing-read and bind `ido-enter-matching-directory' to
76         nil.
78 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
80         * org.el (org-olpath-completing-read): Never use ido for this
81         one.
83         * org-exp.el (org-export-normalize-links): Use new macro.
85         * org-macs.el (org-if-unprotected-at): New macro.
87         * org-agenda.el (org-agenda-show): Allow numerical prefix
88         arguments to specify how much context should be shown.
89         (org-agenda-cycle-show): New command, could be bound to SPC in
90         org-agenda-mode-map.
92         * org-exp.el (org-html-level-start): Space after section number.
94 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
96         * org-agenda.el (org-agenda-get-sexps): Add todo state as
97         property, for sorting.
98         (org-cmp-todo-state): Get the applicable TODO keywords directly
99         from the buffer.
100         (org-run-agenda-series, org-agenda-list, org-search-view)
101         (org-todo-list, org-tags-view): Only fit agenda window when the
102         whole series is done.
104         * org.el (org-scan-tags): Add todo state as property, for sorting.
106         * org-agenda.el (org-agenda-custom-commands-local-options): Add
107         `org-agenda-overriding-header' as an option.
108         (org-agenda-list): Honor org-agenda-overriding-header'.
110 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
112         * org-list.el (org-toggle-checkbox): Improve cursor positioning
113         after removing a checkbox.
115         * org.el (org-show-entry): Make this work correctly also if it is
116         the last entry in the file.
117         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
118         falling back to normal, default command.
119         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
120         item, call the checkbox toggler to get a box.
122         * org-list.el (org-toggle-checkbox): Make double prefix set the
123         checkbox to "[-]".
124         (org-fix-bullet-type): Only replace bullet it it is changed.
125         (org-renumber-ordered-list): Handle case when first item does not
126         have a number.
128         * org.el (org-add-log-setup): Fix positioning when
129         `org-log-states-order-reversed' is nil.
131         * org-clock.el (org-clock-in): Fix positioning when
132         `org-log-states-order-reversed' is nil.
133         (org-clock-find-position): Fix positioning when
134         `org-log-states-order-reversed' is nil.
136 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
138         * org-clock.el (org-clock-into-drawer): Take default from
139         `org-log-into-drawer'.
140         (org-clock-find-position): Look for the correct drawer.
142         * org.el (org-log-into-drawer): Renamed from
143         `org-log-state-notes-into-drawer'.
144         (org-log-state-notes-into-drawer): New variable alias.
145         (org-add-log-setup): Make drawer name default to LOGBOOK, not
146         CLOCK.
147         (org-insert-property-drawer): Also skip LOGBOOK drawers.
149 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
151         * org-agenda.el (org-agenda): Fix docstring.
153         * org.el ("org-plot"): Help loading org-plot.
154         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
155         (org-metadown-hook, org-shiftmetaleft-hook)
156         (org-shiftmetaright-hook, org-shiftmetaup-hook)
157         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
158         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
159         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
160         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
162         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
163         for selecting files with any (and even without) extension.
165         * org.el (org-save-all-org-buffers): Also save id locations.
166         (org-revert-all-org-buffers): Also load id locations.
168 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
169         * org.el (org-drawers): Add LOGBOOK to the default drawers.
170         (org-log-state-notes-into-drawer): New option.
171         (org-add-log-setup): Place the sate note marker into the drawer,
172         create drawer when necessary.
173         (org-refile-targets): Document special interpretation of LEVEL
174         when odd-levels are used.
176 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
178         * org.el (org-store-log-note): Fix note indentation when adding
179         notes to end of list.
181         * org-exp.el (org-export-as-html): Add TODO keyword as extra
182         class, so that each keyword can get special colors through CSS.
184         * org-clock.el (org-clock-out): Add another nil for the previous
185         state into the call to `org-add-log-setup'.
187         * org.el (org-log-note-previous-state): New variable.
188         (org-log-note-headings): New %S escape for old state.
189         (org-todo): Call the note setup with the old state as an
190         argument.
191         (org-add-note): Add another nil for the previous state into the
192         call to `org-add-log-setup'.
193         (org-add-log-setup): New argument PREV-STATE.
194         (org-add-log-note): Handle new %S escape.
195         (org-store-log-note): Handle new %S escape.
197 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
199         * org-clock.el (org-clock-find-position): Do not swallow an item
200         less indented than the CLOCK line itself.
201         (org-clock-in): Push markers to lin after the clock line.
202         (org-clock-find-position): Handle values of
203         `org-clock-into-drawer' smaller than 2.
205         * org-exp.el (org-html-level-start): Add a CSS class to section
206         numbers.
207         (org-export-html-toplevel-hlevel): Better documentation of the
208         influence of this variables on H levels and css classes in
209         export.
211 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
213         * org-agenda.el (org-agenda-custom-commands-local-options): Add
214         timestamp and nottimestamp to the chooe menu.
216         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
217         (org-revert-all-org-buffers): New command.
219 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
221         * org.el (org-return): Implement `org-return-follows-link' in the
222         function org-return.  This is more robust than using the mouse
223         map, I think.
224         (org-set-regexps-and-options): Match more general #+TODO lines.
225         (org-make-options-regexp): New optional argument EXTRA, for an
226         extra regexp.
227         (org-tab-follows-link): Mark as deprecated.
229 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
231         * org-exp.el (org-export-preprocess-string): Remove clock lines
232         earlier, so that they cannot cotribute to verbatim snippets.
234 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
236         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
237         for finding drawers.
238         (org-export-as-ascii, org-export-as-html): Count levels relative
239         to the subtree header.
240         (org-get-min-level): New optional argument OFFSET.
241         (org-export): Make sure point is restored after popping up that
242         window.
244         * org.el (org-do-sort): Also take an inactive timestamp if no
245         active one is found.
247         * org-colview-xemacs.el (org-columns-capture-view): Copy before
248         deleting duplicates.
250         * org-colview.el (org-columns-capture-view): Copy before
251         deleting duplicates.
253         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
254         text before first headline.
256         * org.el (org-format-latex): Do not convert LaTeX fragments in
257         protected examples.
259 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
261         * org-exp.el (org-export-html-style-default): Use color values
262         instead of names for XHTML validation.
264         * org.el (org-get-scheduled-time, org-get-deadline-time): New
265         functions.
266         (org-return-follows-link): Revert making this the default untile
267         issues are resolved.
269         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
270         nottimestamp.
272 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
274         * org.el (org-mode): Make dependence stuff work more reliably.
275         (org-update-parent-todo-statistics): Fix bug with updating
276         statistics cookie.
278         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
279         ~ as verbatim delimiters.
281         * org-exp.el (org-export-html-format-image): New argument
282         PAR-OPEN.
283         (org-export-as-html): Pass par-open to
284         `org-export-html-format-image'.
286 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
288         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
289         (org-use-fast-todo-selection, org-tags-column): New default
290         setting for variables, based on a poll what typical uses use.
292         * org-agenda.el (org-agenda-sorting-strategy)
293         (org-agenda-tags-column): New default setting for variables, based
294         on a poll what typical uses use.
296 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
298         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
299         blocked entries from setting the blocked tag.
301         * org-exp.el (org-export-html-footnotes-section): Use a more
302         consistent id for footnotes.
304         * org-export-latex.el (org-export-latex-classes): Remove the
305         a4paper option from the default styles.
307 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
309         * org.el (org-enforce-todo-checkbox-dependencies): New option.
310         (org-block-todo-from-checkboxes): New function.
311         (org-todo): Make tripple prefix arg circumvent blocking.
313         * org-timer.el (org-timer): Provide the timer feature.
315         * org.el (org-require-autoloaded-modules): Add a few more files to
316         the list of autoloaded modules.
318         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
320 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
322         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
323         drawers that are unprotected.
324         (org-export-html-format-image): Make sure inlined LaTeX fragment
325         images remain inlined.
327         * org.el (org-toggle-ordered-property): New function.
328         (org-mode-map): Add a key for `org-toggle-ordered-property'.
329         (org-org-menu): Add menu entries for TODO dependencies.
331 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
333         * org.el (org-default-properties): Add ORDERED to the default
334         properties, to get completion support for it.
336         * org-list.el (org-update-checkbox-count): Update more than one cookie.
338         * org.el (org-update-parent-todo-statistics): Update more than one
339         cookie.
341         * org-agenda.el (org-agenda-get-todos): Start search from correct
342         position.
344         * org.el (org-fast-todo-selection): Make sure TODO selection does
345         not change buffer position.
347         * org-list.el (org-toggle-checkbox): Implement adding or removing
348         checkboxes from line or region when called with a prefix
349         argument.
351         * org-rmail.el (org-rmail-store-link): Protect the call to
352         `rmail-narrow-to-non-pruned-header'.
354         * org-clock.el (org-clock-special-range): Fix week display in
355         clock tables.
357         * org-exp.el (org-get-current-options): Fix bug when in indirect
358         buffer.
360 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
362         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
363         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
364         (org-agenda-dim-blocked-tasks): New function.
366         * org.el (org-enforce-todo-dependencies): New option.
367         (org-block-todo-from-children-or-siblings): New function.
369         * org-faces.el (org-agenda-dimmed-todo-face): New face.
371         * org.el (org-todo): Return correct state type even if the blocker
372         throws an error.
373         (org-modifier-cursor-error): Renamed from
374         `org-shiftcursor-error'.
375         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
376         (org-shiftmetadown): Call `org-modifier-cursor-error'.
378         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
379         to get real errors from the blocker hook.
381         * org.el (org-shiftselect-error, org-call-for-shift-select): New
382         functions.
383         (org-set-visibility-according-to-property): Turn off the setting
384         of `org-show-entry-below', to avoid overruling a FOLDED visibility
385         property.
387 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
389         * org.el (org-support-shift-select): New option.
390         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
391         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
392         selection outside contexts.
394         * org-list.el (org-at-item-bullet-p): New function.
396         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
397         variables.
399         * org-footnote.el (org-footnote-normalize): Remove unnecessary
400         variable.
401         (org-insert-footnote-reference-near-definition): Remove
402         unnecessary let form.
404         * org-export-latex.el (org-export-latex-first-lines): Add
405         OPT-PLIST parameter.
406         (org-export-as-latex): Call `org-export-latex-first-lines' with
407         opt-plits parameter.
408         (org-export-latex-preprocess): Remove unnecessary variables.
410         * org-exp.el (org-infile-export-plist)
411         (org-export-add-options-to-plist, org-export-kill-licensed-text)
412         (org-export-remove-headline-metadata)
413         (org-export-get-title-from-subtree, org-get-min-level)
414         (org-html-do-expand): Remove innecessary let form.
416         * org-colview-xemacs.el (org-columns-display-here): Remove
417         unnecessary variables.
419         * org-colview.el (org-columns-display-here): Remove unnecessary
420         variables.
422         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
423         variables.
425         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
426         unnecessary variables.
428         * org-agenda.el (org-search-view, org-agenda-get-blocks)
429         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
430         variables.
432         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
433         (org-compact-display-after-subtree-move): Remove unnecessary
434         variables.
435         (org-edit-fixed-width-region): Remove unnecessary variables.
436         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
437         (org-olpath-completing-read): Remove unnecessary variable.
438         (org-auto-repeat-maybe): Remove unnecessary variable.
439         (org-map-entries): Remove unnecessary variable.
440         (org-buffer-property-keys, org-imenu-get-tree)
441         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
443 -----------------------------------------------------------------
445 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
446         * org-exp.el (org-export-remove-timestamps): Never remove
447         timestamps from tables.
449         * org-export-latex.el (org-export-latex-first-lines): Add more
450         options to the preprocessing of the text before the first
451         headline.
453 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
455         * org-faces.el (org-clock-overlay): Make face compatible with
456         XEmacs.
458         * org.el (org-yank): Add property for delete-selection mode.
460         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
462         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
463         variable.
465         * org-table.el (org-table-insert-hline): Fix typo in fuction call
466         to `backward-char'.
468         * org-exp.el (org-export-as-html): Remove the initial space from
469         colon examples.
471         * org.el (org-scan-tags): Call
472         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
474         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
475         customization groups.
476         (org-agenda-tags-todo-honor-ignore-options): New option.
477         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
478         New function.
479         (org-agenda-get-todos): Use
480         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
482 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
484         * org-exp.el (org-export-format-source-code-or-example): Escape
485         HTML characters also in examples that anre not treated with
486         htmlize.  Also, just switch to EXAMPLE processing if we do not
487         have a good version of htmlize.
489         * org-rmail.el: Fix copyright notice.
491         * org.el (org-activate-footnote-links): Improve footnote link
492         highlighting.
494         * org-footnote.el (org-footnote-normalize): Fix finding the end of
495         a footnote definition at the end of the file.
497         * org-table.el (org-table-get-specials): Add an imagined hline at
498         the end of the table.  This can be useful for references that want
499         to go to the end of the table.  Also fix bug when computing last
500         row constants, in tables that do not start right at the right
501         margin.
502         (org-table-eval-formula): Match and replace remove references.
503         (org-table-formula-substitute-names): Make sure that names inside
504         a "remote" call are left alone, the will be replaced later when
505         the remote call is handled.
506         (org-table-convert-refs-to-rc): Do not convert things that might
507         look like a reference, but are really part of an ID or namei n a
508         remote reference.
509         (org-table-get-remote-range): New function.
511 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
513         * org-faces.el (org-clock-overlay): Fix bug in face definition.
515         * org-clock.el (org-clock-put-overlay): Use new face instead of
516         `secondary-selection'.
518         * org-faces.el (org-clock-overlay): New face.
520 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
522         * org-exp.el (org-get-current-options): Include the option for
523         publishing time stamps.
525         * org.el (org-toggle-heading): Renamed from
526         `org-toggel-region-headings'.
527         No longer needs a region defined, but will use it if there is one.
528         (org-ctrl-c-star): Simplified, relying more on the internal
529         workings of `org-toggle-heading'.
530         (org-toggle-item): Renamed from `org-toggle-region-items'.
531         No longer needs a region defined, but will use it if there is one.
532         (org-ctrl-c-minus): Simplified, relying more on the inernal
533         workings of `org-toggle-item'.
535         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
536         environment detection.  Also, do real changes only in unprotected
537         places.
539 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
541         * org-export-latex.el (org-export-latex-quotation-marks): Use
542         `org-if-unprotected-1'.
543         (org-export-latex-set-initial-vars): Check for class definition in
544         property.
546         * org-macs.el (org-if-unprotected-1): New macro.
548 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
550         * org-compat.el (org-count-lines): New function.
552         * org-exp.el (org-export-format-source-code-or-example): Handle
553         switches related to text areas.
555         * org.el (org-activate-footnote-links): Don't allow match inside a
556         link.
558         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
560         * org-export-latex.el (org-export-latex-links): Keep a relative
561         path relative also after export.
563         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
565         * org.el (org-make-tags-matcher): Never use IDO for completing the
566         tags matcher match string.
567         (org-completing-read): Also remove the special biding for "?".
569         * org-attach.el (org-attach-allow-inheritance): New option.
570         (org-attach-inherited): New variable.
571         (org-attach-dir): Handle properties related to the attachment
572         directory.
573         (org-attach-check-absolute-path): New function.
574         (org-attach-set-directory, org-attach-set-inherit): New commands.
575         (org-attach): Accommodate the new commands in the dispatcher.
577 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
579         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
580         `window-full-width-p'.
582         * org-exp.el (org-export-as-html): Only check for images files
583         that really can be inlined
585         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
586         list of extensions to be a parameter.
588         * org-exp.el (org-export-html-inline-image-extensions): New
589         variable.
591         * org-agenda.el (org-prepare-agenda): Use
592         `org-agenda-block-separator'.
593         (org-agenda-block-separator): New option.
595 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
597         * org-export-latex.el (org-export-latex-tables): Call
598         `org-table-clean-before-export' with the new optional argument.
600         * org-exp.el (org-table-clean-before-export): New optional
601         parameter MAYBE-QUOTED, allows for quoted characters like \# in
602         first column.
604 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
606         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
607         histograms.
609         * org-colview.el (org-colview-construct-allowed-dates): Better
610         error catching when a date/time property does not have allowed
611         values defined.
613         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
614         Better error catching when a date/time property does not have
615         allowed values defined.
617 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
619         * org.el (org-map-entries): Restore point and restriction after
620         `org-map-entries'.
622 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
624         * org.el (org-time=, org-time<, org-time<=, org-time>)
625         (org-time>=, org-time<>): Make sure both values are dates.
627 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
629         * org-archive.el (org-extract-archive-heading): Allow %s for file
630         name also in achive location heading.
632 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
634         * org-archive.el (org-add-archive-files): Uniquify the list before
635         returning it.
637 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
639         * org-compat.el (org-fit-window-to-buffer): Use
640         `window-full-width-p'.
642         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
643         space after the colon in short examples.
645         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
646         enforce a space after the colon.  However, we also allow lines
647         that are *only* a colon.
648         (org-export-as-html): Enforce the space after the colon in short
649         examples.
650         (org-export-preprocess-string): Do the colon example protection
651         earlier.
652         (org-export-remove-timestamps): Do not check for protection at the
653         end of the line.
655 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
657         * org.el (org-format-latex-options): Add new matcher for single
658         letters between dollars.
659         (org-get-header): Function removed.
660         (org-heading-components): New function.
662         * org-exp.el (org-export-define-heading-targets): Record ID's also
663         as alternative targets.
664         (org-export-as-html): Interpret "id:" links to other files by
665         preserving the relative path.
667         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
668         is nil.
670         * org-exp.el (org-export-normalize-links): Protect the main link,
671         to avoid special character processing.
673         * org-export-latex.el (org-export-latex-special-keyword-regexp):
674         New variable.
675         (org-export-latex-special-string-regexps): Variable removed.
676         (org-export-latex-keywords): Use the new regexp.
678         * org-exp.el (org-export-handle-include-files): Fetch switches and
679         put them into the BEGIN statement.
681         * org-timer.el (org-timer-mode-line-string): New variable.
683         * org-clock.el (org-clock-mode-line-map): Renamed from
684         `org-clock-mode-map'.
685         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
686         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
687         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
688         (org-clock-remove-overlays): Renamed from
689         `org-remove-clock-overlays'.
691         * org-timer.el (org-timer-pause-or-continue): Implement stopping
692         and mode line display.
693         (org-timer-stop): New command.
694         (org-timer-seconds): Return correct time when timer is paused.
695         (org-timer-mode-line-timer): New variable.
696         (org-timer-set-mode-line, org-timer-update-mode-line): New
697         functions.
699         * org.el (org-insert-heading):  Handle new value `auto' for
700         `org-blank-before-new-entry'.
701         (org-org-menu): Add new items for timer functions.
703         * org-list.el (org-insert-item): Handle new value `auto' for
704         `org-blank-before-new-entry'.
706         * org.el (org-blank-before-new-entry): New value `auto', made
707         default.
709 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
711         * org-exp.el (org-export-normalize-links): If the link is also
712         used as the description, protect the description.
714 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
716         * org.el (org-closest-date): Fix bug with yearly repeats, in
717         combination with preference of the past as it is used for deadline
718         and scheduling search.
720         * org-exp.el (org-html-handle-time-stamps): No longer check for
721         the `org-export-with-timestamps' option, because the preprocesser
722         has taken care of this already.
724         * org.el (org-entry-properties): Catch the case when this is
725         called in a non-org-mode file.
727         * org-export-latex.el (org-export-latex-remove-from-headlines):
728         Variable made obsolete, also LaTeX export now uses the standard
729         variables.
730         (org-export-as-latex): Add the timestamps parameter to the
731         preprocessor parameter list.
732         (org-export-latex-content): Export the remaining keywords without
733         considering to remove them.
734         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
735         Use bold font instead of tt font for the keywords.
736         (org-export-latex-fontify-headline): Format headlines, assuming
737         that all keywords still present should be published.
738         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
739         publish what ever remains of the time stamps.
740         (org-export-latex-list-parameters): New option.
741         (org-export-latex-lists): Pass additional parameters to the list
742         converter.
744         * org-exp.el (org-export-preprocess-string): Remove clock lines
745         and timestamps already in the preprocesor.
746         (org-export-remove-timestamps, org-export-remove-clock-lines): New
747         functions.
748         (org-export-as-ascii, org-export-as-html): Add the timestamps
749         parameter to the preprocessor parameter list.
751         * org-list.el (org-list-parse-list): Parse for checkboxes.
752         (org-list-to-generic): Introduce and handle new parameters :cbon
753         and :cboff.
754         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
755         optional parameter PARAMS.
757         * org-export-latex.el (org-export-latex-special-chars): Fix
758         problems with interpreting dollar signs.
759         (org-inside-latex-math-p): New function.
760         (org-export-latex-preprocess): Protect all the math fragments.
762         * org.el (org-latex-regexps): Allow a dash after a dollar.
764         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
765         mark after copying.
767         * org-agenda.el (org-run-agenda-series): Have series options set
768         when finalizing the agenda.
770         * org-exp.el (org-export-format-source-code-or-example): Protect
771         the converted examples.
773         * org.el (org-set-regexps-and-options): Fix the regexp
774         `org-complex-heading-regexp'.
776 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
778         * org.el (org-edit-src-get-label-format): New function.
779         (org-coderef-label-format): New option.
780         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
781         a label format specification and make sure it is used in the edit
782         buffer.
783         (org-edit-src-get-label-format): New function.
784         (org-store-link): Handle new coderef formats.
785         (org-link-search): Handle new coderef formats.
787         * org-footnote.el (org-footnote-create-definition)
788         (org-footnote-goto-local-insertion-point): Make footnote insertion
789         work correctly when the "Footnotes" headline is the last line in
790         the buffer.
792         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
793         the location.
795 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
797         * org-w3m.el (org-w3m): New customization group.
798         (org-w3m-deactivate-mark): New option.
799         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
800         option say not to.
802 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
804         * org.el (org-set-font-lock-defaults): Trigger footnote
805         fontification.
806         (org-activate-footnote-links): New function.
807         (org-activate-links): New entry `footnote'.
809         * org-faces.el (org-footnote): New face.
811 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
813         * org-macs.el (org-re): Handle the [:word:] class.
815         * org-exp.el (org-export-preprocess-string): Call
816         `org-export-protect-colon-examples'.
817         (org-export-protect-colon-examples): Renamed from
818         `org-export-protect-examples', and scope limited to lines starting
819         with a colon.
821 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
823         * org-exp.el (org-export-preprocess-string): Move the preprocess
824         hook to after turning on Org-mode.
825         (org-export-preprocess-after-include-files-hook)
826         (org-export-preprocess-after-tree-selection-hook)
827         (org-export-preprocess-before-backend-specifics-hook)
828         (org-export-preprocess-final-hook): New hooks.
829         (org-export-preprocess-string): Run the new hooks.
831         * org.el (org-ctrl-c-minus): Fix indentation for new items.
833         * org-footnote.el: New file.
835         * org.el (org-footnote): Require footnote code.
836         (org-startup-options): Add new footnote options.
837         (org-mode-map): New keybindig for footnotes.
838         (org-ctrl-c-ctrl-c): Add function at footnotes.
839         (org-org-menu): New menu entries for footnotes.
841         * org-export-latex.el (org-export-as-latex): Pass footnote
842         variable to preprocessor.
843         (org-export-latex-preprocess): Treat multiple references to a
844         footnote.
846         * org-exp.el (org-export-preprocess-string): Call
847         `org-footnote-normalize'.
848         (org-export-as-ascii, org-export-as-html): Pass footnote variable
849         to preprocessor.
850         (org-export-as-html): Treat multiple references to a footnote.
852 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
854         * org-export-latex.el (org-export-latex-links): Handle coderef
855         links.
857         * org.el (org-bracket-link-analytic-regexp++): New variable.
858         (org-make-link-regexps): Initialize
859         `org-bracket-link-analytic-regexp++'.
860         (org-store-link): Implement special case in edit-src buffer.
861         (org-insert-link): No use of ide to insert stored links.
862         (org-link-search): Implement special case for coderefs.
864         * org-exp.el (org-export-html-scripts): New constant.
865         (org-export-html-style-default): Add a new style for highlighted
866         code.
867         (org-export-code-refs): New variable.
868         (org-export-preprocess-string): Initialize `org-export-code-refs'.
869         Call `org-export-replace-src-segments-and-examples'
870         No longer call `org-export-protect-examples'.
871         (org-export-target-internal-links): Take care of coderef targets.
872         (org-export-last-code-line-counter-value): New variable.
873         (org-export-replace-src-segments-and-examples): Renamed from
874         `org-export-replace-src-segments', and modified.
875         (org-export-format-source-code-or-example): Renamed from
876         `org-export-format-source-code'.
877         (org-export-number-lines): New function.
878         (org-export-as-ascii, org-export-as-html): Handle coderef links.
880 --------------------------------------------------------------------------
882 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
884         * org-remember.el (org-remember-handler): Safer way to get a new
885         buffer accessing the target file.
887         * org.el (org-refile-get-location): Handle case of current buffer
888         not having a file associated with it.
890 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
892         * org-table.el (org-table-get-formula): Only ask to overwrite
893         field formula if there really is one.
895         * org-id.el (org-id-find): Allow the ID to be a symbol or a
896         number, by converting these to a string.
898         * org-colview.el (org-dblock-write:columnview): Allow ID to be
899         located in a different file.
901         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
902         org-colview.el.
904 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
906         * org.el (org-completion-use-ido): Enhance docstring of
907         `org-completion-use-ido'.
909         * org-export-latex.el (org-export-latex-make-header): Double the %
910         in the time stamp format.
911         (org-export-latex-special-chars): Handle case where there is no
912         match group 3.
914 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
916         * org.el (org-get-refile-targets, org-refile-get-location): Use
917         expanded file name to improve comparison.
919 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
921         * org.el (org-scan-tags): Rescan for tags, to get the correct
922         upcase/downcase stuff.  This slows things down for now, but it
923         works.
924         (org-mode): Make sure the tag-faces regexp is initialized.
926         * org-export-latex.el (org-export-latex-links): Fix bug with
927         undefined label.
929         * org-table.el (org-table-get-specials): Set
930         `org-table-current-last-data-line'.
931         (org-table-current-last-data-line): New variable.
932         (org-table-insert-column, org-table-delete-column)
933         (org-table-move-column, org-table-fix-formulas): Call
934         `org-table-fix-formulas' a second time to fix the $LR references.
935         (org-table-get-specials): Add the $LR references to the tables.
936         (org-table-get-formula): Do not offer last-row names as LHS of
937         formulas.
939         * org.el (org-store-link): Capture link description from
940         `org-id-store-link'.
942         * org-exp.el (org-export-html-format-image): Add the / to the end
943         of the <img> tag.
944         (org-export-format-source-code): Surround example by empty lines,
945         to make sure it will not be inside a paragraph.
947         * org.el (org-ido-switchb): New function.
949 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
951         * org-agenda.el (org-agenda-show): New prefix argument
952         FULL-ENTRY.
954         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
955         argument.
957         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
958         `org-agenda-change-all-lines'.
959         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
960         tags are now retrieved locally.
962 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
964         * org.el (org-get-outline-path): Fix bug if level is not given.
965         (org-org-menu): Do not quote function in menu vector.
967         * org-agenda.el (org-finalize-agenda): Fix typo with variable
968         name.
970 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
972         * org.el (org-refile): Avoid refiling to within the region to be
973         refiled.
975         * org-export-latex.el (org-export-latex-special-chars): Replace
976         special characters also in tables.
978         * org-agenda.el (org-agenda-change-all-lines): New argument
979         FORCE-TAGS.
980         (org-agenda-set-tags): Cet the new tags and pass them to
981         `org-format-agenda-item'.
983 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
985         * org-export-latex.el (org-export-latex-classes): Add longable as
986         a default package to all classes.
987         (org-export-latex-tables): Handle the longtable attribute and the
988         align attribute.
990         * org-table.el (orgtbl-to-generic): Handle tables that start with
991         a hline.
993         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
994         \verb for colde-like snippets.
995         (org-export-as-latex): Fix issues with region export.
997         * org.el (org-up-heading-safe): Speed up function by using a
998         direct regexp search.
999         (org-olpa): New variable.
1000         (org-get-outline-path): Speed-up path constructions in cases where
1001         this is possible because the entire hierarchy is scanned anyway.
1002         (org-refile-get-location): Don't compare the truenames of files,
1003         this is too slow.
1004         (org-goto-max-level): New option.
1005         (org-goto): Use `org-goto-max-level'.
1007 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
1009         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
1010         Strip angle brackets from message-ids in the former and don't do
1011         it in the latter.
1012         (org-gnus-follow-link): Open summary reliable, even if the last
1013         messages were deleted, and handle empty groups, too.
1015 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
1017         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
1018         instead of \texttt for the =...= and ~===~ emphasis environments.
1019         (org-export-as-latex): Remove any old :org-license-to-kill text
1020         properties.
1021         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
1022         (org-export-latex-make-header): Add some hard space after the
1023         table of contents.
1024         (org-export-latex-first-lines): Accept RBEG argument.  Mark
1025         exported text so that it will be excuded in further steps.
1027         * org-table.el (org-table-get-specials): Make @0 reference the
1028         last line in a table.
1029         (org-table-recalculate): Improve docstring.
1031 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
1033         * org.el (org-log-done): Fix docstring.
1035 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
1037         * org-exp.el (org-export-html-format-image): Fix bugs.
1039         * org-export-latex.el (org-export-latex-tables)
1040         (org-export-latex-links): Implement attribute, label, and caption
1041         handling.
1043         * org-exp.el (org-export-html-style-default): Add style
1044         definitions for the figure div.
1045         (org-export-preprocess-string, org-export-as-html): Implement
1046         attribute, label, and caption handling.
1047         (org-export-attach-captions-and-attributes): New function.
1048         (org-export-html-format-image): New function.
1049         (org-format-org-table-html): Implement attribute, label, and
1050         caption handling.
1052         * org.el (org-find-text-property-in-string): New function.
1053         (org-extract-attributes): Use the property org-attr instead of
1054         org-attrobutes, because this property is now set with the #+ATTR
1055         lines.
1057 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
1059         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
1060         the case that FROM is nil.
1062         * org.el (org-before-first-heading-p): New function.
1064 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
1066         * org-exp.el (org-export-as-html): Do not add a space before
1067         enforces line breaks.
1068         (org-export-as-html): Close paragraph before blockquote and verse
1069         tags.
1071 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
1073         * org-id.el (org-id-locations-file): Wrap file name with
1074         `convert-standard-filename'.
1075         (org-id-files): New variable.
1076         (org-id-use-hash): New option.
1077         (org-id-update-id-locations): Also search in all files current
1078         listed in `org-id-files'.  Convert the resulting alist to a hash
1079         if the user customation says so.
1080         (org-id-locations-save): Handle he case if `org-id-locations' is a
1081         hash.
1082         (org-id-locations-load): Convert the alist to a hash.
1083         (org-id-add-location): Handle the hast case.
1084         (kill-emacs-hook): Make sure id locations are saved when Emacs is
1085         exited.
1086         (org-id-hash-to-alist, org-id-alist-to-hash)
1087         (org-id-paste-tracker): New functions.
1089 -------------------------------------------------------------------------
1091 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
1093         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
1094         bindings of calendar variables.
1096         * org-table.el (org-table-find-row-type): Renamed from
1097         `org-find-row-type'.
1098         (org-table-rewrite-old-row-references): Renamed from
1099         `org-rewrite-old-row-references'.
1100         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
1101         (org-table-cleanup-narrow-column-properties): Renamed from
1102         `org-cleanup-narrow-column-properties'.
1104 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
1106         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
1107         for better error messages.
1108         (org-table-get-descriptor-line): Supply the new arguments to
1109         `org-find-row-type'.
1110         (org-table-error-on-row-ref-crossing-hline): New option.
1112         * org.el (org-target-link-regexp): Make buffer-local.
1113         (org-move-subtree-down): Fix bug with trees at beginning of
1114         buffer.
1116 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
1118         * org-faces.el (org-set-tag-faces): New function.
1119         (org-tags-special-faces-re): New variable.
1121         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
1123         * org-faces.el (org-tag-faces): New option.
1124         (org-tag): Mention `org-tag-faces' in the docstring.
1126 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
1128         * org-exp.el (org-export-html-style-default): Implement new
1129         quoting.
1131         * org-jsinfo.el (org-infojs-template): Implement new quoting.
1133         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
1134         command to the `w3m-minor-mode-map'.
1136         * org-archive.el (org-archive-to-archive-sibling): Protect
1137         `this-command' to avoid appending kills during archiving.
1139         * org-exp.el (org-export-with-priority): New variable.
1140         (org-export-add-options-to-plist): Use `org-export-plist-vars'
1141         instead of internal list of strings and properties.
1142         (org-print-icalendar-entries): Retrieve the location property with
1143         inheritance.
1145 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
1147         * org-exp.el (org-export-with-todo-keywords): New option.
1148         (org-export-plist-vars): Include also the keys for the #+OPTIONS
1149         line.
1150         (org-default-export-plist, org-export-add-options-to-plist)
1151         (org-export-as-ascii, org-export-as-html): Use the new structure
1152         of `org-export-plist-vars'.
1154         * org.el (org-map-entries): Return all values.
1156 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
1158         * org.el (org-matcher-time): Recognize more special values.
1160         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
1162 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
1164         * org.el (org-tags-exclude-from-inheritance): New option.
1165         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
1166         `org-tags-exclude-from-inheritance'.
1168         * org-agenda.el (org-agenda-show-inherited-tags): New option.
1169         (org-format-agenda-item): Add inherited tags to the agenda line
1170         string, and make sure that properties are kept when downcasing the
1171         tags list.
1172         (org-agenda-add-inherited-tags): New function.
1173         (org-downcase-keep-props): New function.
1175         * org.el (org-scan-tags): Mark inherited tags with a text
1176         property.
1177         (org-get-tags-at): Mark inherited tags with a text property.
1178         (org-add-prop-inherited): New function.
1180         * org-agenda.el (org-agenda-add-inherited-tags): New function.
1181         (org-agenda-show-inherited-tags): New option.
1183 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
1185         * org.el (org-modules): Add org-w3m to the default modules.
1187         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
1188         orgtbl-mode.
1189         (orgtabl-create-or-convert-from-region): New command.
1191         * org-exp.el (org-export-as-ascii): Remove the handling of
1192         targets.
1193         (org-export-ascii-preprocess): Handle targets already in this
1194         function.
1196 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
1198         * org-timer.el (org-timer-start-time): Define this variable.
1199         (org-timer-item): Make argument optional.
1201         * org-list.el (org-insert-item): Automatically insert a timer item
1202         if the current list is a timer list.
1204         * org-timer.el: New file.
1206         * org-publish.el (org-publish-org-index): Only exclude the index
1207         file in the main directory from being added to the site-map.
1208         (org-publish-get-project-from-filename): If the current project is
1209         a component, start publishing from the parent project.
1211 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
1213         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
1215         * org-publish.el (org-publish-org-index): Improve removal of
1216         temporary buffers.
1218         * org-agenda.el (org-get-closed): Re-apply changes
1219         accidentially overwritten by last commit to Emacs.
1221         * org.el (org-outline-path-complete-in-steps): New option.
1222         (org-refile-get-location): Honor
1223         `org-outline-path-complete-in-steps'.
1224         (org-agenda-change-all-lines, org-tags-sparse-tree)
1225         (org-time-string-to-absolute, org-small-year-to-year)
1226         (org-link-escape): Re-apply changes accidentially overwritten
1227         by last commit to Emacs.
1229 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
1231         * org-clock.el (org-dblock-write:clocktable): Make sure the
1232         clocktable sees the first line.
1233         (org-clock-in): Warn if the clock cannot be resumed.
1235 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
1237         * org.el (org-open-at-point): Fix mixup about interactive and
1238         non-interactive elisp links.
1240 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1242         * org-exp.el (org-export-preprocess-string): Allow one comment
1243         line before the first headline to always be included.  This is
1244         to not miss a commented target.
1246         * org-mouse.el (org-mouse-insert-item): Call
1247         `org-indent-to-column' instead of `indent-to', for XEmacs
1248         compatibility.
1250         * org.el (org-refile-targets): Fix customize definition so
1251         that it works also in XEmacs.
1252         (org-fixup-indentation): Call `org-indent-to-column' instead
1253         of `indent-to', for XEmacs compatibility.
1255 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
1257         * org-mew.el (org-mew-store-link): Get the correct case folder
1258         for refiled messages.
1260 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1262         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
1263         line break indicators.
1265         * org.el (org-ido-completing-read): Remove the "i:" prefix for
1266         ido-completion propts.
1268 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1270         * org-remember.el (org-remember-apply-template): Use
1271         `org-substring-no-properties'.
1273         * org-compat.el (org-substring-no-properties): New function.
1275         * org-remember.el (org-remember-apply-template): Use
1276         `org-substring-no-properties' for compatibility.
1278         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
1279         option.
1280         (org-fix-bullet-type): respect
1281         `org-list-two-spaces-after-bullet-regexp'.
1283         * org-clock.el (org-clock-load): Clean up the code.
1285         * org.el (org-adaptive-fill-function): Allow two spaces after
1286         "1." as a list bullet.
1288 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
1290         * org-clock.el (org-clock-save, org-clock-load): Check for
1291         live buffers, existing files, and buffer file names to ensure
1292         consistent information.
1293         (org-clock-persist): Make `clock' a special value of this
1294         variable, and improve docstring.
1296         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
1297         (org-get-string-indentation): Adapt indentation when the bullet
1298         width changes.
1300 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
1302         * org-remember.el (org-remember-finalize): Make interactive.
1303         (org-remember-kill): New command.
1304         (org-remember-finish-immediately): Call `org-remember-finalize'
1305         directly.
1306         (org-remember-finalize): Make `org-remember-finalize' an interactive
1307         function.
1309 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
1311         * org-remember.el (org-remember-apply-template): No ido completion
1312         for free prompts in remember templates.
1313         (org-remember-before-finalize-hook): New hook.
1314         (org-remember-mode): New minor mode.
1315         (org-remember-apply-template): Turn on `org-remember-mode'.
1317         * org-id.el (org-id-add-location): Avoid error when no file is
1318         given.
1320         * org-remember.el (org-remember-apply-template): Fix the way how
1321         the list of allowed properties is retrieved from the target file.
1323         * org.el (org-insert-link): Improve file link matching.
1325 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1327         * org-colview.el (org-columns-display-here): New argument
1328         DATELINE, to trigger using the new face.
1329         (org-agenda-colview-summarize): Call `org-columns-display-here'
1330         with the new argument.
1332         * org-faces.el (org-agenda-column-dateline): New face.
1334         * org-publish.el (org-publish-org-index): Use index-title at page
1335         title, not as section.
1337         * org-exp.el (org-export-html-format-desc): Respect the
1338         org-protect property.
1339         (org-export-as-html): Protect image specifiers that are in the
1340         description part of a link.
1342         * org.el (org-sort-entries-or-items, org-completing-read)
1343         (org-refile-get-location, org-olpath-completing-read, org-todo)
1344         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
1345         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
1346         (org-set-property, org-delete-property)
1347         (org-delete-property-globally): Use `org-ido-completing-read'.
1349         * org-remember.el (org-remember-apply-template): Use
1350         `org-ido-completing-read'.
1352         * org-publish.el (org-publish): Use `org-ido-completing-read'.
1354         * org-colview.el (org-columns-edit-value, org-columns-new)
1355         (org-insert-columns-dblock): Use `org-ido-completing-read'.
1357         * org-colview-xemacs.el (org-columns-edit-value)
1358         (org-columns-new, org-insert-columns-dblock): Use
1359         `org-ido-completing-read'.
1361         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1362         `org-ido-completing-read'.
1364         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
1365         `org-ido-completing-read'.
1367         * org.el (org-time-today): New function.
1368         (org-matcher-time): Use `org-time-today'.  Add special treatment
1369         for "<tomorrow>" and "<yesterday>".
1370         (org-ido-completing-read): New function.
1371         (org-completion-use-ido): New option.
1373         * org-exp.el (org-export-format-source-code): Fix bug in require
1374         htmlize code.
1375         (org-export-target-internal-links): Fix bug in search for text
1376         property.
1378 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
1380         * org-export-latex.el (org-export-latex-subcontent): Interprete
1381         target aliases as additonal labels.
1383         * org-exp.el (org-export-target-aliases): New variable.
1384         (org-export-preprocess-string)
1385         (org-export-handle-invisible-targets): Fill the alias alist.
1386         (org-export-as-html): Remove the &nbsp; from the anchor, and also
1387         assign an id.
1388         (org-html-level-start): Insert the target aliases as additonal
1389         anchors.
1391         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
1392         picture area.
1394 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
1396         * org.el (org-open-at-mouse): Ensure correct link abbreviations
1397         when following a link with the mouse from the agenda.
1399         * org-exp.el (org-export-as-html): Avoid lone </div> when no
1400         headlines are created.
1402 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
1404         * org-exp.el (org-export-preprocess-string): Reorder so that we
1405         can still see ID properties when we collect targets.
1406         (org-export-target-internal-links): Also store targets for ID's.
1408         * org.el (org-link-translation-function): New option.
1409         (org-open-at-point): Call `org-link-translation-function' if
1410         non-nil.
1411         (org-translate-link): New function.
1412         (org-translate-link-from-planner): New function.
1413         (org-open-at-point): Allow interactive commands in elisp links.
1415         * org-exp.el (org-icalendar-cleanup-string): Restore the old
1416         iCalendar quoting.  The new one seems to caus problems with
1417         applications.
1419         * org.el (org-yank): Set `this-command' to `yank', so that
1420         `yank-pop' will work.
1422 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1424         * org-id.el (org-id-search-archives): New option.
1426         * org.el (org-link-to-org-use-id): New option.
1427         (org-store-link): Use `org-link-to-org-use-id'.
1428         (org-id): Make org-id.el a standard component.
1430 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1432         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
1433         hexified version of the tag.
1435         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
1436         compliance as far as quoting is concerned.
1438         * org-vm.el (org-vm-follow-link): Require `vm-search'.
1440         * org.el (org-up-heading-safe, org-forward-same-level): Always
1441         call `org-back-to-heading' instead of `outline-back-to-heading'.
1442         (org-back-to-heading): New wrapper around outline-back-to-heading,
1443         with a useful error message telling where the error happened.
1445         * org-list.el (org-update-checkbox-count): Always call
1446         `org-back-to-heading' instead of `outline-back-to-heading'.
1448         * org-exp.el (org-export-as-html): Make sure that each <img> tag
1449         has an `alt' attribute, to ensure XHTML validation.
1451 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
1453         * org-publish.el (org-publish-attachment): Allow publishing to
1454         overwrite attachment files.
1456         * org-agenda.el (org-agenda-timerange-leaders): New option.
1457         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
1459         * org.el (org-edit-src-exit): Untabify ASCII image before
1460         returning.
1473 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1475         * org.el (org-yank): Make any prefix force normal yanking.
1476         Suppress folding if text would be swallowed into a folded
1477         subtree.
1478         (org-yank-folded-subtrees, org-yank): Docstring updates.
1480         * org-agenda.el (org-agenda-compare-effort): Treat no effort
1481         defined as 0.
1483         * org-exp.el (org-export-language-setup): Add Catalan and
1484         Esperanto language entries.
1486 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1488         * org.el (org-refile): Allow refiling of entire regions.
1490         * org-clock.el (org-clock-time%): New function.
1492         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
1493         retrieve property values.
1495 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1497         * org-agenda.el (org-agenda-list): Handle the value `only' of
1498         org-agenda-show-log'.
1499         (org-agenda-log-mode): Interpret a double prefix arg.
1501 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1503         * org-exp.el (org-export-html-footnotes-section): New variable.
1504         (org-export-as-html): Use `org-export-html-footnotes-section' to
1505         insert the footnotes.
1506         (org-export-language-setup): Add "Footnotes" to language words.
1508 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
1510         * org.el (org-yank): Fix bug when not inserting a subtree.
1512 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1514         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
1515         instead of `vm-beginning-of-message'.
1517         * org.el (org-make-link-regexps): Make sure that links to gnus can
1518         contain brackets.
1520 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1522         * org-attach.el (org-attach-dir): Remove duplicate ID creation
1523         code.
1525         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
1526         shell output.
1528         * org.el (org-link-abbrev-alist): Improve customization type.
1530         * org-attach.el (org-attach-expand-link, org-attach-expand): New
1531         functions.
1533         * org-agenda.el (org-agenda-get-progress): Renamed from
1534         `org-get-closed'.  Implement searching for state changes as well.
1535         (org-agenda-log-mode-items): New option.
1536         (org-agenda-log-mode): New option prefix argument, interpreted as
1537         request to show all possible progress info.
1538         (org-agenda-get-day-entries): Call `org-get-progress' instead of
1539         `org-get-closed'.
1540         (org-agenda-set-mode-name): Handle the more complex log mode
1541         settings.
1542         (org-get-closed): New alias, pointing to `org-get-progress'.
1544 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
1546         * org.el (org-file-apps-defaults-gnu)
1547         (org-file-apps-defaults-macosx)
1548         (org-file-apps-defaults-windowsnt): Add an entry defining the
1549         system command.
1550         (org-file-apps): Allow `system' as key and value.
1551         (org-open-at-point): Explain the effect of a double prefix arg.
1552         (org-open-file): If the argument `in-emacs' is (16),
1553         i.e. corresponding to a double prefix argument, try to open the
1554         file externally.
1556 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
1558         * org.el (org-insert-link): Abbreviate absolute files names in
1559         links.  Also, fix a bug in which the double C-u prefix would not
1560         be honored.
1562 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
1564         * org.el (org-insert-heading): If buffer does not end with a
1565         newline, add one if necessary to insert headline correctly.
1567         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
1568         paragraphs, not inside.
1570         * org.el (org-todo): Quote
1571         `org-agenda-headline-snapshot-before-repeat'.
1573         * org-exp.el (org-export-as-html): Fully process link descriptions.
1574         (org-export-html-format-desc): New function.
1575         (org-export-as-html): Collect footnotes into the correct basket.
1576         (org-html-protect): No longer protect quotations marks here, this
1577         goes wrong.
1579         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
1580         BEG.
1582         * org-compat.el (org-fit-window-to-buffer): New function (not
1583         really, a preliminary and incomplete version was present earlier,
1584         but not used).
1586         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
1587         `org-fit-window-to-buffer'.
1589         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
1591         * org-agenda.el (org-agenda-get-restriction-and-command)
1592         (org-fit-agenda-window, org-agenda-convert-date): Use
1593         `org-fit-window-to-buffer'.
1595         * org-exp.el (org-export-as-html): Process href links through
1596         `org-export-html-format-href'.
1597         (org-export-html-format-href): New function.
1599         * org-agenda.el (org-agenda-todo): Update only the current
1600         headline if this is a repeated TODO, marked done for today.
1601         (org-agenda-change-all-lines): New argument JUST-THIS, to change
1602         only the current line.
1604         * org.el (org-todo): Take a snapshot of the headline if the
1605         repeater might change it.
1607 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
1609         * org-publish.el (org-publish-find-title): Remove buffers visited
1610         only for extracting the title.
1612         * org-exp.el (org-export-html-style)
1613         (org-export-html-style-default): Mark style definitions as
1614         unparsed CDATA.
1616         * org-publish.el (org-publish-validate-link): Function
1617         re-introduced.
1619 2008-11-02  Charles Sebold  <csebold@gmail.com>
1621         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
1622         property.
1623         (org-plot-quote-timestamp-field): New function.
1624         (org-plot-quote-tsv-field): Call timestamp field function when
1625         necessary rather than just quoting as a string.
1626         (org-plot/gnuplot-to-data): Pass in timefmt property.
1627         (org-plot/gnuplot-script): Supports timefmt property.
1628         (org-plot/gnuplot): Checks for timestamp column before checking
1629         for text index column.
1631 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
1633         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
1635         * org-publish.el (org-publish-org-index): Create a section in the
1636         index file.
1637         (org-publish-org-index): Stop linking to directories.
1639         * org.el (org-emphasis-alist): Use span instead of <u> to
1640         underline text.
1642         * org-exp.el (org-export-as-html): Make sure <p> is closed before
1643         <pre> sections.
1645 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
1647         * org-jsinfo.el (org-infojs-template): Remove language attribute
1648         from script tag.
1650 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
1652         * org-agenda.el (org-agenda-remove-marked-text): New function.
1653         (org-agenda-mark-filtered-text)
1654         (org-agenda-unmark-filtered-text): New functions.
1655         (org-write-agenda): Remove fltered text.
1657         * org.el (org-make-tags-matcher): Give access to TODO "property"
1658         without speed penalty.
1660 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
1662         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
1663         option.
1664         (org-store-link-props): Make sure adding to the plist works
1665         correctly.
1667         * org-gnus.el (org-gnus-no-new-news): New function.
1668         (org-gnus-follow-link): Allow the article ID to be a message-id,
1669         in addition to allowing article numbers.  Message IDs make much
1670         more roubust links.
1671         (org-gnus-store-link): Use message-id to create link.
1673 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
1675         * org.el (org-emphasize): Reverse the selection array.
1676         (org-emphasis-alist): Set <code> tags for the verbatim
1677         environment.
1679         * org-remember.el (org-remember-handler): Fix bug with
1680         prefix-related changing of the note storage target.
1682         * org-exp.el (org-print-icalendar-entries): Make the exported
1683         priorities compatible with RFC 2445.
1685         * org-clock.el (org-clock-save): Insert time stamp without
1686         dependence on time-stamp.el.
1688 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
1690         * org.el ("saveplace"): If saveplace puts point into an invisible
1691         location, make it visible.
1692         (org-make-tags-matcher): Allow inactive time stamps in time
1693         comparisons.
1694         (org-yank-adjusted-subtrees): New option.
1695         (org-yank): Incorporate adjusting trees.
1696         (org-paste-subtree): New argument FOR-YANK which will cause
1697         insertion at point without backing up over white lines, and leave
1698         point at the end of the inserted text.  Also if the cursor is
1699         at the beginning of a headline, use the same level or the inserted
1700         tree.
1702         * org-publish.el (org-publish-get-base-files-1): Deal correctly
1703         with broken symlinks
1705 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
1707         * org-exp.el (org-export-select-tags, org-get-current-options):
1708         Fix typo.
1710 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
1712         * org-agenda.el (org-format-agenda-item)
1713         (org-agenda-filter-make-matcher): Make sure tags are stored and
1714         compared donwcased.
1716 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
1718         * org.el (org-insert-todo-heading): Fix bug with force-heading
1719         argument.
1721 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
1723         * org-clock.el (org-clock-in-resume): Add a custom option to
1724         toggle starting the clock from an open clock line.
1725         (org-clock-in): When clocking in to an entry, if
1726         `org-clock-in-resume' is set, check if the first clock line is
1727         open and if so, start the clock from the time in the clock line.
1728         (org-clock-persist): Add a custom option to toggle clock
1729         persistence.
1730         (org-clock-persist-query-save): Add a custom option to toggle
1731         asking the user if they want to save the running clock when
1732         exiting.
1733         (org-clock-persist-query-resume): Add a custom option to toggle
1734         asking the user if they want to resume the saved clock when Emacs
1735         is restarted.
1736         (org-clock-save): Add a function to save clock data.
1737         This includes the contents of `org-clock-history' and the buffer
1738         and position of the currently clocked task, if any.
1739         (org-clock-load): Add a function to load clock data.
1740         This populates `org-clock-history', and resumes the saved clocked
1741         task if there is one.
1742         (org-clock-persistence-insinuate): Add a method to set up the
1743         hooks for clock persistence.
1745 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
1747         * org-exp.el (org-export-as-ascii): Handle the case that we are
1748         publishing from an indirect buffer.
1750         * org-table.el (org-table-copy-down): Fix bug with time stamp
1751         increment.
1753         * org-mouse.el (org-mouse-features): New option.
1754         (org-mode-hook): Turn on features depending on
1755         `org-mouse-features'.
1757         * org.el (org-insert-heading-respect-content): Force heading
1758         creation.
1759         (org-insert-heading): keep the folding state of the heading before
1760         the inserted one.
1762 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
1764         * org-archive.el (org-archive-to-archive-sibling): Handle top
1765         level headlines better.
1767 2008-10-21  Bastien Guerry  <bzg@altern.org>
1769         * org-export-latex.el (org-export-latex-classes): Added
1770         \usepackage{graphicx} to the default list of packages.
1772 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
1774         * org-agenda.el (org-agenda-filter): Renamed from
1775         `org-agenda-filter-tags'.
1777 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
1779         * org.el (org-entry-properties): Add CATEGORY property, iven if it
1780         is not defined as a property in this entry.
1781         (org-add-log-note): Mask prefix argument when immediately storing
1782         the note.
1784         * org-agenda.el (org-agenda-filter-effort-default-operator): New
1785         option.
1787 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
1789         * org.el (org-add-log-setup): Bugfix; code to find insertion point
1790         after drawers was skipping ahead one line too many, so notes were
1791         inserted after the first note instead of before it.
1793 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
1795         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
1796         New variables.
1797         (org-prepare-agenda): Reset the filter tags.
1798         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
1799         Show filter tags in mode line.
1801         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
1802         formatter.
1804         * org-export-latex.el (org-latex-entities-regexp): New constant.
1805         (org-export-as-pdf): Use two calls to `shell-command'.
1807 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
1809         * org-export-latex.el (org-export-latex-treat-sub-super-char):
1810         Honor the {} value of the subsuperscript setting.  Make sure that
1811         longer subsuperscripts are typeset in a roman font.
1813         * org.el (org-clock-update-time-maybe): Compute negative clock
1814         intervals correctly.
1816 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
1818         * org.el (org-add-log-setup): Respect
1819         `org-log-state-notes-insert-after-drawers'.
1820         (org-log-state-notes-insert-after-drawers): New option.
1821         (org-todo-trigger-tag-changes): New function.
1822         (org-todo): Call `org-todo-trigger-tag-changes'.
1824 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
1826         * org.el (org-add-log-setup): Only skip drawers if the are
1827         immediately after the scheduling keywords.
1829         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
1830         function
1831         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
1832         call it with the current todo state to get the state to switch to
1833         when clocking in.
1834         (org-clock-in): Use org-indent-line-function to indent clock lines.
1835         (org-clock-find-position): Fix indentation of empty clock drawers.
1837 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
1839         * org-publish.el (org-publish-org-to): Handle case when
1840         org-export-to-pdf does return a file name, not a buffer.
1841         (org-publish-org-to-pdf): New function.
1843         * org-export-latex.el (org-export-as-pdf)
1844         (org-export-as-pdf-and-open): New commands.
1846         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
1847         forms as ranges.
1849         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
1850         things in protexted regions.
1852 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
1854         * org-export-latex.el (org-export-latex-preprocess): Improve
1855         quoting of LaTeX environments.
1857 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
1859         * org.el (org-edit-fixed-width-region): Exclude final newline from
1860         picture area.
1862         * org-export-latex.el (org-export-latex-subcontent): Add labels to
1863         sections, to make internal links work.
1864         (org-export-latex-fontify-headline): Do not remove all text
1865         properties, to make sure that target properties survive this
1866         process.
1868         * org-exp.el (org-export-preprocess-string): Change sequence of
1869         modifications, to make sure links are prepared before the LaTeX
1870         conversions do happen.
1872 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
1874         * org-attach.el (org-attach-delete-all): Renamed from
1875         `org-attch-delete'.  Add a security query before deleting the
1876         entire directory.  New optional argument FORCE can overrule the
1877         security query.
1878         (org-attach-delete-one): New command.
1880 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
1882         * org-attach.el (org-attach-file-list): Fix bug with directory.
1884 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
1886         * org.el (org-apps-regexp-alist): New function.
1887         (org-file-apps): Add auto-mode to the default value.
1888         (org-open-file): Use the new structure of org-file-apps.
1890         * org-attach.el (org-attach): Support the new keys.
1891         (org-attach-method): New option.
1893 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
1895         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
1896         March.
1898         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
1899         of the list value o `org-use-tag-inheritance'.
1901         * org-attach.el (org-attach-auto-tag): New option.
1902         (org-attach-tag, org-attach-untag): New functions.
1903         (org-attach-attach, org-attach-new, org-attach-sync): Call
1904         `org-attach-tag'.
1905         (org-attach-delete): Call `org-attach-untag'.
1907 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
1909         * org-table.el (orgtbl-self-insert-command): Make this work for
1910         the keypad as well.
1912 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
1914         * org.el (org-add-log-setup): Limit searc for drawers to entry
1915         text, not to subtree.
1917         * org-clock.el (org-clock-heading-for-remember): New variable.
1918         (org-clock-in): Set `org-clock-heading-for-remember'.
1920 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
1922         * org-remember.el (org-remember-apply-template): Add new
1923         expansions: %k, %K for currently clocked task and a link to the
1924         currently clocked task, and %< to file notes in the currently
1925         clocked task.
1927 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
1929         * org-export-latex.el (org-export-latex-make-header): Also insert
1930         the content of the property :latex-header-extra.
1932         * org-exp.el (org-infile-export-plist): Put the content of
1933         #+LATEX_HEADER: into the property :latex-header-extra.
1935         * org-colview.el (org-columns-get-format-and-top-level): Remove
1936         resetting the marker.
1938         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
1939         Remove resetting the marker.
1941         * org.el (org-entry-property-inherited-from): Improve docstring.
1942         (org-entry-get-with-inheritance): Reset marker before starting the
1943         search.
1945         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
1947 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
1949         * org.el (org-entry-get-multivalued-property)
1950         (org-entry-protect-space, org-entry-restore-space): New
1951         functions.
1952         (org-file-apps-defaults-macosx): Let postscript files be opened by
1953         preview.
1954         (org-time-stamp-inactive): Call `org-time-stamp'.
1955         (org-time-stamp): New argument `inactive'.  Also edit inacive
1956         stamps. Convert time stamp type.
1957         (org-open-file): Interpret the `default' value for the `command'
1958         in `org-file-apps'.
1960         * org-id.el (org-id-int-to-b36-one-digit)
1961         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
1962         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
1963         b36.
1965 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
1967         * org-id.el (org-id-reverse-string): New function.
1968         (org-id-new): Use `org-id-reverse-string' to make sure the
1969         beginning chars of the ID are mutating fast.  This allows to use a
1970         directory structure to spread things better.
1971         (org-id-prefix): Changed default to nil.
1973         * org-list.el (org-move-item-down, org-move-item-up): Remember and
1974         restore the column of the cursor position.
1976         * org-remember.el (org-remember-apply-template): Remove properties
1977         from `initial'.
1979 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
1981         * org-wl.el (org-wl-open): Remove useless call to
1982         `wl-thread-open-all'.
1984         * org-remember.el (org-remember-handler): Fix bug with `bottom'
1985         location.
1987 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
1989         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
1990         `org-bbdb-anniversaries'.
1992         * org.el (org-get-next-sibling, org-forward-same-level): New
1993         functions, similar to the outline versions, but invisible headings
1994         are OK.
1996 2008-09-25  Bastien Guerry  <bzg@altern.org>
1998         * org.el (org-auto-repeat-maybe): Insert a space between
1999         the timestamp's type and the timestamp itself.
2001 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
2003         * org-table.el (org-table-sum): Do not format the result with %g,
2004         it does rounding when there are too many digits.
2006         * org.el (org-map-entries): Protect the keyword-selecting variables.
2008 2008-09-23  Bastien Guerry  <bzg@altern.org>
2010         * org-agenda.el (org-agenda-to-appt): Make sure the function check
2011         against all agenda files.
2013 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
2015         * org-list.el: New file, aggregating list functions from org.el
2016         and org-export-latex.el.
2018         * org.el (org-edit-src-region-extra): New option.
2020 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
2022         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
2023         time before 1am.
2025 2008-09-22  Bastien Guerry  <bzg@altern.org>
2027         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
2029 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
2031         * org-plot.el (org-plot/gnuplot): Make tables starting with a
2032         hline work correctly.
2033         (org-plot/gnuplot-script): Put commas at the end of each script
2034         line.
2036 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
2038         * org.el (org-get-refile-targets): Replace links with their
2039         descriptions
2040         (org-imenu-get-tree): Replace links with their descriptions.
2042         * org-remember.el (org-remember-apply-template): Add a new
2043         expansion for adding properties to remember items.
2045         * org.el (org-add-log-setup): Skip over drawers (properties,
2046         clocks etc) when adding notes.
2048         * org-agenda.el (org-agenda-get-closed): show durations of clocked
2049         items as well as the start and end times.
2051         * org-compat.el (org-get-x-clipboard-compat): Add a compat
2052         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
2054         * org-remember.el (org-get-x-clipboard): Use the compat
2055         function to get clipboard values when x-selection-value is
2056         unavailable. Use substring-no-properties instead of
2057         set-text-properties to remove text properties from the clipboard
2058         value.
2060         * lisp/org-clock.el (org-update-mode-line): Support limiting the
2061         modeline clock string, and display the full todo value in the
2062         tooltip. Set a local keymap so mouse-3 on the clock string goes to
2063         the currently clocked task.
2064         (org-clock-string-limit): Add a custom value for the maximum
2065         length of the clock string in the modeline.
2066         (org-clock-mode-map): Add a keymap for the modeline string
2068 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
2070         * org-compat.el (org-propertize): New function.
2072 2008-09-20  Bastien Guerry  <bzg@altern.org>
2074         * org-export-latex.el (org-export-latex-tables): protect exported
2075         tables from further special chars conversion.
2076         (org-export-latex-preprocess): Preserve LaTeX environments.
2077         (org-list-parse-list): Parse descriptive lists.
2078         (org-list-to-generic, org-list-to-latex, org-list-to-html)
2079         (org-list-to-texinfo): Export descriptive lists.
2080         (org-quote-chars): Remove.
2081         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
2082         (org-export-latex-list-beginning-re): Rename to
2083         `org-list-beginning-re'
2084         (org-list-item-begin): Rename to `org-list-item-beginning'
2086 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
2088         * org.el (org-refile): Allow refiling to the last entry in the
2089         buffer.
2090         (org-get-tags-at): Fix bug when inheritance is turned off.
2092 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
2094         * org.el (org-indent-line-function): No longer check for src
2095         regions, this is too much overhead.
2097         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
2098         matching.
2100         * org.el (org-scan-tags): Make sure that tags matching is not case
2101         sensitive.  TODO keyword matching is case sensitive, however, to
2102         avoid confusion with similar words that are not meant to be
2103         keywords.
2105 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
2107         * org.el (org-get-local-tags-at): New function.
2108         (org-get-local-tags): New function.
2110         * org-exp.el (org-export-get-categories): New function.
2112         * org-agenda.el (org-sorting-choice)
2113         (org-agenda-sorting-strategy, org-agenda-get-todos)
2114         (org-agenda-get-timestamps, org-agenda-get-deadlines)
2115         (org-agenda-get-scheduled, org-agenda-get-blocks)
2116         (org-entries-lessp): Implement sorting by TODO state.
2117         (org-cmp-todo-state): New defsubst.
2119         * org-colview.el (org-colview-construct-allowed-dates): New
2120         function.
2121         (org-columns-next-allowed-value): Use
2122         `org-colview-construct-allowed-dates'.
2124         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
2125         function.
2126         (org-columns-next-allowed-value): Use
2127         `org-colview-construct-allowed-dates'.
2129 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
2131         * org.el (org-protect-slash): New function.
2132         (org-get-refile-targets): Use `org-protect-slash'.
2134         * org-agenda.el (org-global-tags-completion-table): New variable.
2136         * org-exp.el (org-export-handle-export-tags): New function.
2137         (org-export-preprocess-string): Call
2138         `org-export-handle-export-tags'.
2140         * org-plot.el: New file.
2142         * org-publish.el (org-publish-expand-components): Function removed.
2143         (org-publish-expand-projects): Allow components to have components.
2145 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
2147         * org.el (org-indent-line-function): Do not indent in regions that
2148         are external source code.
2149         (org-yank-and-fold-if-subtree): New function.
2151         * org-agenda.el (org-agenda-todayp): New function.
2152         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
2153         `org-agenda-todayp'.
2155         * org.el (org-insert-heading-respect-content)
2156         (org-insert-todo-heading-respect-content): New commands.
2157         (org-insert-heading-respect-content): New option.
2158         (org-insert-heading): Respect `org-insert-heading-respect-content'.
2160         * org-clock.el (org-clock-find-position): Make sure the note after
2161         the clock line gets moved into the new clock drawer.
2163 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
2165         * org-id.el (org-id-new): New option.
2167 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
2169         * org-table.el (org-table-copy-down): Avoid overflow during
2170         increment.  Use prefix argument 0 to temporarily disable the
2171         increment.
2173 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
2175         * org-exp.el (org-export-as-html): Do not turn on the major mode
2176         if the buffer will be killed anyway.
2177         (org-get-current-options): Exclude the #+TEXT field.
2178         (org-export-as-html): Make sure text before the first headline is
2179         a paragraph.
2181         * org-publish.el (org-publish-org-to): Tell the exporter that this
2182         buffer will be killed, so it is not necessary to do major mode
2183         initialization.
2185         * org-archive.el (org-archive-to-archive-sibling): Show empty
2186         lines after folding the archive sibling.
2188         * org.el (org-log-note-extra): New variable.
2190 2008-09-05  Bastien Guerry  <bzg@altern.org>
2192         * org.el (org-additional-option-like-keywords): Added keywords for
2193         the _QUOTE, _VERSE and _SRC environments.
2195         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
2196         exporting _QUOTE and _VERSE environments.
2198 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
2200         * org-agenda.el (org-agenda-filter-by-tag): New command.
2202         * org-exp.el (org-get-current-options): Remove angular brackets
2203         from the date entry.
2205         * org.el (org-edit-fixed-width-region): New function.
2206         (org-edit-fixed-width-region): Also try
2207         `org-edit-fixed-width-region'.
2208         (org-edit-fixed-width-region-mode): New option.
2209         (org-activate-code): Only interprete lines starting with colon
2210         plus a space as example lines.
2212         * org-remember.el (org-remember-templates): Add nil instead of
2213         empty strings to fix the length of remember templates.
2215         * org-table.el (org-calc-default-modes): Fix the time format for
2216         calc, from 12 hour to 24 hour clock.
2218 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
2220         * org-agenda.el (org-agenda-get-deadlines)
2221         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
2222         entries that are pre-warnings of deadlines or reminders.
2224         * org.el (org-sort-entries-or-items): Make numeric and alpha
2225         comparisons ignore any TODO keyword and priority cookie.
2227         * org-remember.el (org-remember-handler): Reinterpretation of the
2228         prefix argument.
2230 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
2232         * org-agenda.el (org-agenda-get-scheduled): Use new
2233         `org-scheduled' face.
2235         * org-faces.el (org-scheduled): New face.
2237         * org-wl.el (org-wl-open): Remove incorrect declaration.
2239         * org-gnus.el (org-gnus-store-link): Support for :to information
2240         in gnus links.
2242         * org-exp.el (org-export-as-html): Fixed typo in creator
2243         information.
2244         (org-export-protect-examples): New parameter indent.  Insert extra
2245         spaces only when this parameter is specified.
2246         (org-export-preprocess-string): Call `org-export-protect-examples'
2247         with an indentation parameter when exporting to ASCII.
2249         * org-remember.el (org-remember-templates)
2250         (org-remember-apply-template): Allow the file component to be a
2251         function.
2253         * org.el (org-goto-local-search-headings): Renamed from
2254         `org-goto-local-search-forward-headings'.  Added the possibility
2255         to search backwards.
2257 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
2259         * org-export-latex.el (org-export-latex): New customization
2260         group.
2262         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
2264 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
2266         * org-exp.el (org-html-do-expand): Allow {} to terminate
2267         tex macro
2269 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
2271         * org.el (org-buffer-list): Select buffers based on major mode,
2272         not on file name.
2274 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
2276         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
2277         face property.
2279         * org-colview.el (org-columns-display-here): Use
2280         `org-columns-modify-value-for-display-function'.
2282         * org-colview-xemacs.el (org-columns-display-here): Use
2283         `org-columns-modify-value-for-display-function'.
2285 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
2287         * org.el (org-columns-modify-value-for-display-function): New option.
2299         * org-publish.el (org-publish-file): Make sure the directory match
2300         for the publishing directory works correctly.
2302         * org-agenda.el (org-agenda-execute-calendar-command)
2303         (org-agenda-diary-entry): Additional optional argument.
2305 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
2307         * org-exp.el (org-export-as-html): Add attributes also in mailto
2308         and ftp links.
2310         * org.el (org-autoload): Add `org-dblock-write:columnview'.
2319 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
2321         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
2322         sure that calls from `org-export-region-as-html' do not do the
2323         special check for a subtree.
2325 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
2327         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
2329 2008-07-20  Juri Linkov  <juri@jurta.org>
2331         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
2332         new keymap `narrow-map' instead of binding "\C-xns".
2334 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
2336         * org.el (org-open-file): Use
2337         `org-open-directory-means-index-dot-org'.
2338         (org-open-directory-means-index-dot-org): New option.
2340 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
2342         * org.el (org-make-link-string): Remove link attributes from
2343         description.
2344         (org-open-at-point): Remove link attributes bevore using the path.
2346         * org-exp.el (org-export-as-html): Handle link attributes.
2348         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
2350         * org-table.el (org-table-to-lisp): New function.
2352         * org.el (org-narrow-to-subtree): Do not include the final newline
2353         into the narrowed region.
2355         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
2356         bug with user-define skipping condition.
2358 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
2360         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
2362 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
2364         * org-exp.el (org-export-html-style-default): Automatic overflow
2365         handling for pre fields.
2366         (org-export-as-ascii, org-export-as-html): Change default format
2367         for time stamp.
2369         * org-table.el (org-table-export): Offer completion for translator
2370         functions, and do not require a heading above the table.
2372         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
2373         Cater for the case of a list starting in the first line of the
2374         buffer.
2376 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
2378         * org-publish.el (org-publish-find-title): Bug fix.
2379         (org-publish-org-index): Implement new :index-style option.
2381 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
2383         * org-publish.el (org-publish-timestamp-filename): Use
2384         SHA1-encoded file names in the timestamp directory.
2386 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
2388         * org-publish.el (org-publish-needed-p): Be verbose about files
2389         published and files skipped.
2391         * org-exp.el (org-export-preprocess-string): Swap link
2392         normalization and inernal link targeting.
2394         * org-publish.el (org-publish-needed-p): Create timestamp
2395         directory when it does not exist.
2397 2008-07-04  Bastien Guerry  <bzg@altern.org>
2399         * org-clock.el (org-clock-out-when-done): Doc fix.
2401         * org.el (org-agenda-skip-unavailable-files): Doc fix.
2403         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
2404         Ignore case when searching for the COMMENT cookie at export time.
2406 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
2408         * org-exp.el (org-get-file-contents)
2409         (org-get-and-remove-property): New functions.
2410         (org-export-handle-include-files): Handle the new prefix options.
2411         (org-export-as-html): Fix the verse environment.
2413 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
2415         * org.el (org-time=, org-time<, org-time<=, org-time>)
2416         (org-time>=, org-time<>, org-2ft): New functions.
2417         (org-op-to-function): Also provide for the time testing fucntions.
2419 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
2421         * org-exp.el (org-export-html-style-default): New constant.
2423 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
2425         * org-exp.el (org-export-html-style-extra): New variable.
2426         (org-export-splice-style): New function.
2428 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
2430         * org-exp.el (org-export-plist-vars, org-export-as-html):
2431         Implement `org-export-creator-info'.
2432         (org-export-creator-info): New option.
2434 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
2436         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
2437         (org-property-drawer-re, org-clock-drawer-re): New constants.
2439 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
2441         * org-exp.el (org-icalendar-use-deadline)
2442         (org-icalendar-use-scheduled): New options.
2443         (org-icalendar-include-todo): Default changed to t.
2444         (org-print-icalendar-entries): Implement better utilization of
2445         scheduling and deadline time stamps.
2446         (org-export-target-internal-links, org-export-as-html): Allow file
2447         lines without the "file:" prefix if the file path is an absolute
2448         path or starts with ".".
2450         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
2451         lastweek etc.
2452         (org-clock-special-range): Also undertand yesterday, lastweek etc.
2454 2008-06-18  Glenn Morris  <rgm@gnu.org>
2455         * org.el (org-map-entries): Let-bind `file'.
2457 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
2459         * org.el (org-agenda-skip-archived-trees): Docstring now
2460         discourages using this.
2461         (org-scan-tags): Check for org-agenda-archives-mode.
2462         (org-map-entries): Make sure org-agenda-archives-mode is nil.
2463         (org-agenda-files): Functionality of second arg changed.
2465         * org-agenda.el (org-agenda-archives-mode): New variable
2466         (org-write-agenda, org-prepare-agenda, org-agenda-list)
2467         (org-search-view, org-todo-list, org-tags-view)
2468         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
2469         `ifmode' argument.
2470         (org-agenda-quit): Reset the archives mode.
2471         (org-agenda-archives-mode): New command.
2472         (org-agenda-set-mode-name): Include archives info.
2474 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
2476         * org.el (org-paste-subtree): Make sure the yanked headline is
2477         visible if it was yanked at a visible point.
2478         (org-move-item-up): Fix the bug with moving white space at the end
2479         of the item.
2480         (org-show-empty-lines-in-parent): New function.
2482 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
2484         * org-colview.el (org-columns-next-allowed-value): Bug fix.
2486         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
2488         * org-agenda.el (org-agenda-get-closed): Get the end time into the
2489         agenda prefix as well.
2491         * org-publish.el (org-publish-org-index): Make a properly indented
2492         list.
2494         * org.el (org-calendar-agenda-action-key): New option.
2495         (org-get-cursor-date): New function.
2496         (org-mark-entry-for-agenda-action): New command.
2497         (org-overriding-default-time): New variable.
2498         (org-read-date): Respect `org-overriding-default-time'.
2500         * org-remember.el (org-remember-apply-template): Respect the
2501         ovverriding default time.
2503         * org-agenda.el (org-agenda-action-marker): New variable.
2504         (org-agenda-action): New command.
2505         (org-agenda-do-action): New function.
2507 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
2509         * org.el (org-schedule, org-deadline): Protect scheduled and
2510         deadline tasks against changes that accidently remove the
2511         repeater.  Also show a message with the new date when done.
2513 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
2515         * org.el (org-beginning-of-line): Cater for the case when there
2516         are tags but no headline text.
2517         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
2518         it set.
2520 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
2522         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
2523         the return value is nil instead of "nil" when there is no match.
2525         * org-exp.el (org-insert-centered): Use fill-column instead of
2526         80.
2527         (org-export-as-ascii): Use string-width to measure the width of
2528         the heading.
2530         * org.el (org-diary-to-ical-string): No longer kill buffer
2531         FROMBUF, this is now done by the caller.
2533         * org-exp.el (org-print-icalendar-entries): Move the call to
2534         `org-diary-to-ical-string' out of the loop, and kill the buffer
2535         afterwords.
2537         * org-remember.el (org-remember-visit-immediately): Position
2538         cursor after moving to the note.
2539         (org-remember-apply-template): Use a text property to record the
2540         cursor position.
2541         (org-remember-handler): Align tags after pasting the note.
2543 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
2545         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
2547         * org-agenda.el (org-agenda-open-link): If there is an
2548         org-bbdb-name property in the current line, jump to that bbdb
2549         entry.
2551         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
2552         text property, so that the agenda knows where this entry comes
2553         from.
2555         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
2556         interaction between clocking-in from the agenda, and  automatic
2557         task state switching.
2559         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
2561         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
2562         zmacs-region stays after this command in XEmacs.
2564 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
2566         * org.el (org-scan-tags): Allow new values for ACTION parameter.
2568         * org-remember.el (org-remember-templates): Fix bug in
2569         customization type definition.
2571         * org.el (org-map-entries): New function.
2573 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
2575         * org-agenda.el (org-agenda-skip-comment-trees): New option.
2576         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
2578 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
2580         * org-remember.el (org-jump-to-target-location): New variable.
2581         (org-remember-apply-template): Set
2582         `org-remember-apply-template' if requested by template.
2583         (org-remember-handler): Start an idle timer to jump to
2584         remember location.
2586         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
2588         * org.el (org-set-regexps-and-options): Fix bug with parsing of
2589         file tags.
2590         (org-get-tags-at): Add the content of `org-file-tags'.
2592         * org-exp.el (org-export-handle-comments): Fix bug with several
2593         comment lines after each other.
2594         (org-number-to-roman, org-number-to-counter): New functions.
2595         (org-export-section-number-format): New option.
2597 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
2599         * org-exp.el (org-export-protect-examples): Catch the case of a
2600         missing end_example line.
2602         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
2603         `org-file-tags' to nil.
2605         * org-colview.el (org-columns-next-allowed-value): Handle next
2606         argument NTH to directly select a value.
2608         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
2609         argument NTH to directly select a value.
2611 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
2613         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
2615 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
2617         * org.el (org-columns-ellipses): New option.
2619 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
2621         * org-colview.el (org-columns-add-ellipses): New function.
2622         (org-columns-compact-links): New function.
2623         (org-columns-cleanup-item): Call `org-columns-compact-links'.
2624         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
2625         when in agenda.
2626         (org-columns-edit-value): Fixed bug with editing values from
2627         agenda column view.
2628         (org-columns-redo): Also redo the agenda itself.
2630 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
2632         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
2633         option.
2635         * org-colview.el (org-agenda-columns-cleanup-item): New function.
2637         * org-exp.el (org-export-ascii-preprocess): Renamed from
2638         `org-export-ascii-clean-string'.
2639         (org-export-kill-licensed-text)
2640         (org-export-define-heading-targets)
2641         (org-export-handle-invisible-targets)
2642         (org-export-target-internal-links)
2643         (org-export-remove-or-extract-drawers)
2644         (org-export-remove-archived-trees)
2645         (org-export-protect-quoted-subtrees)
2646         (org-export-protect-verbatim, org-export-protect-examples)
2647         (org-export-select-backend-specific-text)
2648         (org-export-mark-blockquote-and-verse)
2649         (org-export-remove-comment-blocks-and-subtrees)
2650         (org-export-handle-comments, org-export-mark-radio-links)
2651         (org-export-remove-special-table-lines)
2652         (org-export-normalize-links)
2653         (org-export-concatenate-multiline-links)
2654         (org-export-concatenate-multiline-emphasis): New functions,
2655         obtained from spliiting the export preprocessor.
2657         * org-table.el (org-table-recalculate): Improve error message if
2658         the row number is invalid.
2660 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
2662         * org-archive.el (org-archive-save-context-info): Fix bugs in
2663         customization setup and docstring.
2665         * org-exp.el (org-export-html-style): Changed the size of in the
2666         <pre> element to 90%.
2668 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
2670         * org.el (org-find-src-example-start): Function removed.
2671         (org-edit-src-find-region-and-lang): New function.
2673 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
2675         * org.el (org-edit-src-exit): New function.
2676         (org-exit-edit-mode): New minor mode.
2678         * org-exp.el (org-export-preprocess-string): Fix bug with removing
2679         comment-like lines from protected examples.
2681         * org.el (org-edit-src-example, org-find-src-example-start)
2682         (org-protect-source-example, org-edit-special): New functions.
2684 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
2686         * org-publish.el (org-publish-project-alist): Fix typo in
2687         docstring.
2688         (org-publish-project-alist): Handle :index-title property.
2690 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
2692         * org-export-latex.el (org-export-as-latex): Make sure region
2693         bounds are correct.  Parse subtree properties relating to export.
2695         * org-exp.el (org-export-add-options-to-plist): New function.
2696         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
2698 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
2700         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
2701         EXPORT_TITLE.
2703         * org-exp.el (org-export-get-title-from-subtree)
2704         (org-export-as-ascii, org-export-as-html): Make sure the original
2705         region-beginning and region-end are used, even after moving
2706         point.
2707         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
2708         property.
2710         * org-remember.el (org-remember-last-stored-marker): New variable.
2711         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
2712         (org-remember-handler): Also use marker to remember
2713         last-stored position.
2715         * org.el (org-goto-marker-or-bmk): New function.
2717 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
2719         * org.el (org-file-properties): Renamed from `org-local-properties'.
2720         (org-scan-tags): Take file tags into account.
2721         (org-tags-match-list-sublevels): Default changed to t.
2723         * org-exp.el (org-export-as-html): Close paragraph after a
2724         footnote.
2726         * org.el (org-update-parent-todo-statistics): New function.
2728         * org-exp.el (org-icalendar-store-UID): New option.
2729         (org-icalendar-force-UID): Option removed.
2730         (org-print-icalendar-entries): IMplement UIDs.
2732 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
2734         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
2736 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
2738         * org-faces.el (org-column): Document how this face is being used
2739         and why sometimes the background faces shine through.
2741         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
2743         * org-publish.el (org-publish-attachment): Create publishing
2744         directory if it does not yet exist.
2746         * org-table.el (org-calc-default-modes): Change default number
2747         format to (float 8).
2749         * org.el (org-olpath-completing-read): New function.
2750         (org-time-clocksum-format): New option.
2751         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
2753         * org-clock.el (org-clock-display, org-clock-out)
2754         (org-update-mode-line): Use `org-time-clocksum-format'.
2756         * org-colview-xemacs.el (org-columns-number-to-string): Use
2757         `org-time-clocksum-format'.
2759         * org-colview.el (org-columns-number-to-string): Use
2760         `org-time-clocksum-format'.
2762 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
2764         * org-id.el: New file, move from contrib to core.
2766         * org-exp.el (org-icalendar-force-UID): New option.
2768 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
2770         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
2771         shifted by one day if theere is a date range without an end
2772         time.
2774         * org.el (org-try-structure-completion): New function.
2776 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
2778         * org.el (org-set-font-lock-defaults): Improve fontification of
2779         description lists.
2780         (org-insert-item): Handle description lists.
2781         (org-adaptive-fill-function): Improve auto indentation in
2782         description lists.
2784         * org-exp.el (org-export-as-html, org-export-preprocess-string):
2785         Implement VERSE environment.
2786         (org-export-preprocess-string): Implement the COMMENT
2787         environment.
2789         * org-export-latex.el (org-export-latex-preprocess): Implement
2790         VERSE environment.
2792 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
2794         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
2795         option.
2797 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
2799         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
2801         * org.el (org-quote-csv-field): New functions.
2803         * org-table.el (org-table-export-default-format): Remove :splice
2804         from default format, we get the same effect by not specifying
2805         :tstart and :tend.
2806         (org-table-export): Improve setup, distinguish better between
2807         interactive and non-interactive use, allow specifying the format
2808         on the fly, better protection against wrong file names.
2809         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
2810         and :tend when :splice is omitted.
2812 2008-05-09  Bernt Hansen  <bernt@norang.ca>
2814         * org-clock.el (org-clock-select-task): Make sure the selection
2815         letters are 1-9 and A-Z, no special characters.
2817 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
2819         * org-exp.el (org-export-htmlize): New group.
2820         (org-export-htmlize-output-type)
2821         (org-export-htmlize-css-font-prefix): New options.
2822         (org-export-htmlize-region-for-paste): New function.
2823         (org-export-htmlize-generate-css): New command.
2825 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
2827         * org/org.el (org-modules, org-format-latex-options):
2828         * org/org-archive.el (org-archive-stamp-time)
2829         (org-archive-save-context-info):
2830         * org/org-faces.el (org-hide):
2831         * org/org-irc.el (org-irc-parse-link):
2832         * org/org-macs.el (org-call-with-arg, org-autoload):
2833         * org/org-mew.el (org-mew-store-link):
2834         * org/org-remember.el (org-remember-store-without-prompt)
2835         (org-remember-templates): Fix typos in docstrings.
2837         * org/org-info.el (org-info-store-link): Remove leftover docstring.
2839         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
2840         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
2841         (org-bbdb-anniv-split): Fix typos in docstrings.
2843         * org/org-publish.el (org-publish-project-alist): Doc fixes.
2844         (org-publish-use-timestamps-flag): Reflow docstring.
2845         (org-publish-files-alist): Fix typos in docstring.
2847 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
2849         * org.el (org-set-visibility-according-to-property): New function.
2850         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
2851         and compute the regular expressions, and update font-lock.
2852         (org-property-re): Allow a dash in property names.
2854         * org-archive.el (org-extract-archive-file): Insert the file name
2855         without the path into the format, to allow the location format to
2856         contain a subdirectory.
2858         * org-agenda.el (org-agenda-post-command-hook): If point is at end
2859         of buffer, and the `org-agenda-type' property undefined, use the
2860         value from the character before.
2862         * org.el (org-add-planning-info): Don't let indentation for
2863         would-be timestamp become extra whitespace at the end of headline.
2865 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
2867         * org.el (org-remove-double-quotes, org-file-contents): New
2868         functions.
2870         * org-exp.el (org-infile-export-plist): Also parse the
2871         contents of #+SETUPFILE files, recursively.
2873         * org.el (org-set-regexps-and-options): Also parse the
2874         contents of #+SETUPFILE files, recursively.
2876         * org-exp.el (org-export-handle-include-files): New function.
2877         (org-export-preprocess-string): Call
2878         `org-export-handle-include-files'.
2880         * org.el (org-delete-property-globally)
2881         (org-delete-property, org-set-property): Ignore case during
2882         completion.
2883         (org-set-property): Use `org-completing-read' instead of
2884         `completing-read'.
2886         * org.el (org-complete-expand-structure-template): New,
2887         experimental function.
2888         (org-structure-template-alist): New, experimental option.
2889         (org-complete): Call `org-complete-expand-structure-template'.
2891 2008-05-06  Bastien Guerry  <bzg@altern.org>
2893         * org-export-latex.el (org-export-latex-preprocess): Added
2894         support for blockquotes.
2896 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
2898         * org.el (org-read-date-analyze): Catch the case where only a
2899         weekday is given.
2901 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
2903         * org.el (org-set-font-lock-defaults): Make the description
2904         tag bold.
2906         * org-exp.el (org-export-as-html, org-close-li): Implement
2907         description lists.
2909 2008-05-04  Jason Riedy  <jason@acm.org>
2911         * org-table.el (*orgtbl-default-fmt*): New variable.
2912         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
2913         when there is no other fmt available.
2915         (orgtbl-to-generic): Allow an explicitly nil :tstart or
2916         :tend to suppress the appropriate string.
2918         (orgtbl-to-orgtbl): New function for translating to another orgtbl
2919         table.
2921 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
2923         * org.el (org-read-date-analyze): "." as an alias for "+0" in
2924         read date.
2926         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
2927         New function.
2929         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
2930         New function.
2932 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
2934         * org-clock.el (org-clock-find-position): Don't include notes
2935         into clock drawer.
2937         * org-archive.el (org-archive-subtree): No longer remove an
2938         extra line after cutting the subtree.  `org-cut-subtree' already
2939         takes care of this.
2941         * org-remember.el (org-remember-handler): Only kill the target
2942         buffer if it does not contain the running clock.
2944         * org.el (org-markers-to-move): New variable.
2945         (org-save-markers-in-region, org-check-and-save-marker)
2946         (org-reinstall-markers-in-region): New function.
2947         (org-move-subtree-down, org-copy-subtree): Remember relative
2948         marker positions before cutting.
2949         (org-move-subtree-down, org-paste-subtree): Restore relative
2950         marker positions after pasting.
2952         * org-remember.el (org-remember-clock-out-on-exit): New option.
2953         (org-remember-finalize): Clock out only if the setting in
2954         `org-remember-clock-out-on-exit' requires it.
2955         (org-remember-handler): Do the cleanup in the buffer, to make sure
2956         that the clock marker remains in tact.
2958 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
2960         * org-clock.el (org-clock-goto): Widen buffer if necessary.
2961         (org-clock-in): Make sure that also tasks outside the narrowed
2962         region will be clocked in correctly.
2963         (org-clock-insert-selection-line): Widen the buffer so that we can
2964         find the correct task heading.
2966         * org.el (org-base-buffer): New function.
2968         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
2969         and ";" are escaped.
2970         (org-print-icalendar-entries): Also apply
2971         `org-icalendar-cleanup-string' to the headline, not only to the
2972         summary property.
2974 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
2976         * org-exp.el (org-export-preprocess-hook): New hook.
2977         (org-export-preprocess-string): Call
2978         `org-export-preprocess-hook'.
2980         * org.el (org-font-lock-hook): New variable.
2981         (org-font-lock-hook): New function.
2982         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
2984 ;; Local Variables:
2985 ;; coding: utf-8
2986 ;; add-log-time-zone-rule: t
2987 ;; End:
2989     Copyright (C) 2008  Free Software Foundation, Inc.
2991   This file is part of GNU Emacs.
2993   GNU Emacs is free software: you can redistribute it and/or modify
2994   it under the terms of the GNU General Public License as published by
2995   the Free Software Foundation, either version 3 of the License, or
2996   (at your option) any later version.
2998   GNU Emacs is distributed in the hope that it will be useful,
2999   but WITHOUT ANY WARRANTY; without even the implied warranty of
3000   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3001   GNU General Public License for more details.
3003   You should have received a copy of the GNU General Public License
3004   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
3006 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c