Column view: Fix bug when editing TODO field.
[org-mode.git] / lisp / ChangeLog
blob81cc86e1ea20b6895fdefc5ef821d54815e7f021
1 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-colview-xemacs.el (org-columns-edit-value): No special
4         treatment for `org-todo' prefix.
6         * org-colview.el (org-columns-edit-value): No special treatment
7         for `org-todo' prefix.
9         * org-remember.el (org-remember-apply-template): Use
10         `org-completing-read-no-ido'.
12         * org.el (org-completing-read-no-ido): New function.
13         (org-make-tags-matcher, org-set-property): Use
14         `org-completing-read-no-ido'.
16         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
17         New option.
18         (org-export-as-latex): Import in-buffer settings as TeX macros.
19         (org-export-latex-make-header): Additional parameter OPT-DEFS.
20         (org-export-latex-collect-header-macros): New function.
22         * org.el (org-refile-get-location): Turn off
23         `partial-completion-mode'.
25 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
27         * org.el (org-block-todo-from-checkboxes): Announce that
28         checkboxes are the culprit.
29         (org-block-todo-from-children-or-siblings): Call
30         `org-up-heading-all instead' of `outline-up-heading'.
32         * org-agenda.el (org-agenda-show-1): Renamed from
33         `org-agenda-show'.
34         (org-agenda-show): Re-install the old version for now.
35         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
36         variable into the blokker hook, so that the checkbox checker can
37         anounce that it caused the blocking.
39         * org.el (org-track-ordered-property-with-tag): New option.
40         (org-toggle-ordered-property): Honor
41         `org-track-ordered-property-with-tag'.
42         (org-tag-alist): Add newline options.
43         (org-set-regexps-and-options): Separate option lines imply a
44         newline.
45         (org-set-regexps-and-options, org-assign-fast-keys)
46         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
47         option.
48         (org-indent-line-function): Make sure this works even if there is
49         not `org-drawer-regexp' defined.  This can happen when
50         orgstruct-mode is used in a non-org buffer.
52         * org-list.el (org-checkbox-blocked-p): New function.
53         (org-toggle-checkbox): Check for blocking.
55         * org.el (org-modules): Add an entry for org-R.el.
57         * org-agenda.el (org-agenda-todo-ignore-with-date)
58         (org-agenda-todo-ignore-scheduled)
59         (org-agenda-todo-ignore-deadlines): Mention the variable
60         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
62         * org.el (org-get-wdays): Find the warning period also if it is in
63         the wrong place.
64         (org-ido-completing-read): Provide the correct arguments to
65         ido-completing-read and bind `ido-enter-matching-directory' to
66         nil.
68 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
70         * org.el (org-olpath-completing-read): Never use ido for this
71         one.
73         * org-exp.el (org-export-normalize-links): Use new macro.
75         * org-macs.el (org-if-unprotected-at): New macro.
77         * org-agenda.el (org-agenda-show): Allow numerical prefix
78         arguments to specify how much context should be shown.
79         (org-agenda-cycle-show): New command, could be bound to SPC in
80         org-agenda-mode-map.
82         * org-exp.el (org-html-level-start): Space after section number.
84 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
86         * org-agenda.el (org-agenda-get-sexps): Add todo state as
87         property, for sorting.
88         (org-cmp-todo-state): Get the applicable TODO keywords directly
89         from the buffer.
90         (org-run-agenda-series, org-agenda-list, org-search-view)
91         (org-todo-list, org-tags-view): Only fit agenda window when the
92         whole series is done.
94         * org.el (org-scan-tags): Add todo state as property, for sorting.
96         * org-agenda.el (org-agenda-custom-commands-local-options): Add
97         `org-agenda-overriding-header' as an option.
98         (org-agenda-list): Honor org-agenda-overriding-header'.
100 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
102         * org-list.el (org-toggle-checkbox): Improve cursor positioning
103         after removing a checkbox.
105         * org.el (org-show-entry): Make this work correctly also if it is
106         the last entry in the file.
107         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
108         falling back to normal, default command.
109         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
110         item, call the checkbox toggler to get a box.
112         * org-list.el (org-toggle-checkbox): Make double prefix set the
113         checkbox to "[-]".
114         (org-fix-bullet-type): Only replace bullet it it is changed.
115         (org-renumber-ordered-list): Handle case when first item does not
116         have a number.
118         * org.el (org-add-log-setup): Fix positioning when
119         `org-log-states-order-reversed' is nil.
121         * org-clock.el (org-clock-in): Fix positioning when
122         `org-log-states-order-reversed' is nil.
123         (org-clock-find-position): Fix positioning when
124         `org-log-states-order-reversed' is nil.
126 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
128         * org-clock.el (org-clock-into-drawer): Take default from
129         `org-log-into-drawer'.
130         (org-clock-find-position): Look for the correct drawer.
132         * org.el (org-log-into-drawer): Renamed from
133         `org-log-state-notes-into-drawer'.
134         (org-log-state-notes-into-drawer): New variable alias.
135         (org-add-log-setup): Make drawer name default to LOGBOOK, not
136         CLOCK.
137         (org-insert-property-drawer): Also skip LOGBOOK drawers.
139 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
141         * org-agenda.el (org-agenda): Fix docstring.
143         * org.el ("org-plot"): Help loading org-plot.
144         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
145         (org-metadown-hook, org-shiftmetaleft-hook)
146         (org-shiftmetaright-hook, org-shiftmetaup-hook)
147         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
148         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
149         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
150         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
152         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
153         for selecting files with any (and even without) extension.
155         * org.el (org-save-all-org-buffers): Also save id locations.
156         (org-revert-all-org-buffers): Also load id locations.
158 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
159         * org.el (org-drawers): Add LOGBOOK to the default drawers.
160         (org-log-state-notes-into-drawer): New option.
161         (org-add-log-setup): Place the sate note marker into the drawer,
162         create drawer when necessary.
163         (org-refile-targets): Document special interpretation of LEVEL
164         when odd-levels are used.
166 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
168         * org.el (org-store-log-note): Fix note indentation when adding
169         notes to end of list.
171         * org-exp.el (org-export-as-html): Add TODO keyword as extra
172         class, so that each keyword can get special colors through CSS.
174         * org-clock.el (org-clock-out): Add another nil for the previous
175         state into the call to `org-add-log-setup'.
177         * org.el (org-log-note-previous-state): New variable.
178         (org-log-note-headings): New %S escape for old state.
179         (org-todo): Call the note setup with the old state as an
180         argument.
181         (org-add-note): Add another nil for the previous state into the
182         call to `org-add-log-setup'.
183         (org-add-log-setup): New argument PREV-STATE.
184         (org-add-log-note): Handle new %S escape.
185         (org-store-log-note): Handle new %S escape.
187 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
189         * org-clock.el (org-clock-find-position): Do not swallow an item
190         less indented than the CLOCK line itself.
191         (org-clock-in): Push markers to lin after the clock line.
192         (org-clock-find-position): Handle values of
193         `org-clock-into-drawer' smaller than 2.
195         * org-exp.el (org-html-level-start): Add a CSS class to section
196         numbers.
197         (org-export-html-toplevel-hlevel): Better documentation of the
198         influence of this variables on H levels and css classes in
199         export.
201 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
203         * org-agenda.el (org-agenda-custom-commands-local-options): Add
204         timestamp and nottimestamp to the chooe menu.
206         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
207         (org-revert-all-org-buffers): New command.
209 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
211         * org.el (org-return): Implement `org-return-follows-link' in the
212         function org-return.  This is more robust than using the mouse
213         map, I think.
214         (org-set-regexps-and-options): Match more general #+TODO lines.
215         (org-make-options-regexp): New optional argument EXTRA, for an
216         extra regexp.
217         (org-tab-follows-link): Mark as deprecated.
219 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
221         * org-exp.el (org-export-preprocess-string): Remove clock lines
222         earlier, so that they cannot cotribute to verbatim snippets.
224 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
226         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
227         for finding drawers.
228         (org-export-as-ascii, org-export-as-html): Count levels relative
229         to the subtree header.
230         (org-get-min-level): New optional argument OFFSET.
231         (org-export): Make sure point is restored after popping up that
232         window.
234         * org.el (org-do-sort): Also take an inactive timestamp if no
235         active one is found.
237         * org-colview-xemacs.el (org-columns-capture-view): Copy before
238         deleting duplicates.
240         * org-colview.el (org-columns-capture-view): Copy before
241         deleting duplicates.
243         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
244         text before first headline.
246         * org.el (org-format-latex): Do not convert LaTeX fragments in
247         protected examples.
249 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
251         * org-exp.el (org-export-html-style-default): Use color values
252         instead of names for XHTML validation.
254         * org.el (org-get-scheduled-time, org-get-deadline-time): New
255         functions.
256         (org-return-follows-link): Revert making this the default untile
257         issues are resolved.
259         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
260         nottimestamp.
262 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
264         * org.el (org-mode): Make dependence stuff work more reliably.
265         (org-update-parent-todo-statistics): Fix bug with updating
266         statistics cookie.
268         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
269         ~ as verbatim delimiters.
271         * org-exp.el (org-export-html-format-image): New argument
272         PAR-OPEN.
273         (org-export-as-html): Pass par-open to
274         `org-export-html-format-image'.
276 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
278         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
279         (org-use-fast-todo-selection, org-tags-column): New default
280         setting for variables, based on a poll what typical uses use.
282         * org-agenda.el (org-agenda-sorting-strategy)
283         (org-agenda-tags-column): New default setting for variables, based
284         on a poll what typical uses use.
286 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
288         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
289         blocked entries from setting the blocked tag.
291         * org-exp.el (org-export-html-footnotes-section): Use a more
292         consistent id for footnotes.
294         * org-export-latex.el (org-export-latex-classes): Remove the
295         a4paper option from the default styles.
297 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
299         * org.el (org-enforce-todo-checkbox-dependencies): New option.
300         (org-block-todo-from-checkboxes): New function.
301         (org-todo): Make tripple prefix arg circumvent blocking.
303         * org-timer.el (org-timer): Provide the timer feature.
305         * org.el (org-require-autoloaded-modules): Add a few more files to
306         the list of autoloaded modules.
308         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
310 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
312         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
313         drawers that are unprotected.
314         (org-export-html-format-image): Make sure inlined LaTeX fragment
315         images remain inlined.
317         * org.el (org-toggle-ordered-property): New function.
318         (org-mode-map): Add a key for `org-toggle-ordered-property'.
319         (org-org-menu): Add menu entries for TODO dependencies.
321 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
323         * org.el (org-default-properties): Add ORDERED to the default
324         properties, to get completion support for it.
326         * org-list.el (org-update-checkbox-count): Update more than one cookie.
328         * org.el (org-update-parent-todo-statistics): Update more than one
329         cookie.
331         * org-agenda.el (org-agenda-get-todos): Start search from correct
332         position.
334         * org.el (org-fast-todo-selection): Make sure TODO selection does
335         not change buffer position.
337         * org-list.el (org-toggle-checkbox): Implement adding or removing
338         checkboxes from line or region when called with a prefix
339         argument.
341         * org-rmail.el (org-rmail-store-link): Protect the call to
342         `rmail-narrow-to-non-pruned-header'.
344         * org-clock.el (org-clock-special-range): Fix week display in
345         clock tables.
347         * org-exp.el (org-get-current-options): Fix bug when in indirect
348         buffer.
350 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
352         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
353         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
354         (org-agenda-dim-blocked-tasks): New function.
356         * org.el (org-enforce-todo-dependencies): New option.
357         (org-block-todo-from-children-or-siblings): New function.
359         * org-faces.el (org-agenda-dimmed-todo-face): New face.
361         * org.el (org-todo): Return correct state type even if the blocker
362         throws an error.
363         (org-modifier-cursor-error): Renamed from
364         `org-shiftcursor-error'.
365         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
366         (org-shiftmetadown): Call `org-modifier-cursor-error'.
368         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
369         to get real errors from the blocker hook.
371         * org.el (org-shiftselect-error, org-call-for-shift-select): New
372         functions.
373         (org-set-visibility-according-to-property): Turn off the setting
374         of `org-show-entry-below', to avoid overruling a FOLDED visibility
375         property.
377 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
379         * org.el (org-support-shift-select): New option.
380         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
381         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
382         selection outside contexts.
384         * org-list.el (org-at-item-bullet-p): New function.
386         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
387         variables.
389         * org-footnote.el (org-footnote-normalize): Remove unnecessary
390         variable.
391         (org-insert-footnote-reference-near-definition): Remove
392         unnecessary let form.
394         * org-export-latex.el (org-export-latex-first-lines): Add
395         OPT-PLIST parameter.
396         (org-export-as-latex): Call `org-export-latex-first-lines' with
397         opt-plits parameter.
398         (org-export-latex-preprocess): Remove unnecessary variables.
400         * org-exp.el (org-infile-export-plist)
401         (org-export-add-options-to-plist, org-export-kill-licensed-text)
402         (org-export-remove-headline-metadata)
403         (org-export-get-title-from-subtree, org-get-min-level)
404         (org-html-do-expand): Remove innecessary let form.
406         * org-colview-xemacs.el (org-columns-display-here): Remove
407         unnecessary variables.
409         * org-colview.el (org-columns-display-here): Remove unnecessary
410         variables.
412         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
413         variables.
415         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
416         unnecessary variables.
418         * org-agenda.el (org-search-view, org-agenda-get-blocks)
419         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
420         variables.
422         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
423         (org-compact-display-after-subtree-move): Remove unnecessary
424         variables.
425         (org-edit-fixed-width-region): Remove unnecessary variables.
426         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
427         (org-olpath-completing-read): Remove unnecessary variable.
428         (org-auto-repeat-maybe): Remove unnecessary variable.
429         (org-map-entries): Remove unnecessary variable.
430         (org-buffer-property-keys, org-imenu-get-tree)
431         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
433 -----------------------------------------------------------------
435 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org-exp.el (org-export-remove-timestamps): Never remove
437         timestamps from tables.
439         * org-export-latex.el (org-export-latex-first-lines): Add more
440         options to the preprocessing of the text before the first
441         headline.
443 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
445         * org-faces.el (org-clock-overlay): Make face compatible with
446         XEmacs.
448         * org.el (org-yank): Add property for delete-selection mode.
450         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
452         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
453         variable.
455         * org-table.el (org-table-insert-hline): Fix typo in fuction call
456         to `backward-char'.
458         * org-exp.el (org-export-as-html): Remove the initial space from
459         colon examples.
461         * org.el (org-scan-tags): Call
462         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
464         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
465         customization groups.
466         (org-agenda-tags-todo-honor-ignore-options): New option.
467         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
468         New function.
469         (org-agenda-get-todos): Use
470         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
472 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
474         * org-exp.el (org-export-format-source-code-or-example): Escape
475         HTML characters also in examples that anre not treated with
476         htmlize.  Also, just switch to EXAMPLE processing if we do not
477         have a good version of htmlize.
479         * org-rmail.el: Fix copyright notice.
481         * org.el (org-activate-footnote-links): Improve footnote link
482         highlighting.
484         * org-footnote.el (org-footnote-normalize): Fix finding the end of
485         a footnote definition at the end of the file.
487         * org-table.el (org-table-get-specials): Add an imagined hline at
488         the end of the table.  This can be useful for references that want
489         to go to the end of the table.  Also fix bug when computing last
490         row constants, in tables that do not start right at the right
491         margin.
492         (org-table-eval-formula): Match and replace remove references.
493         (org-table-formula-substitute-names): Make sure that names inside
494         a "remote" call are left alone, the will be replaced later when
495         the remote call is handled.
496         (org-table-convert-refs-to-rc): Do not convert things that might
497         look like a reference, but are really part of an ID or namei n a
498         remote reference.
499         (org-table-get-remote-range): New function.
501 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
503         * org-faces.el (org-clock-overlay): Fix bug in face definition.
505         * org-clock.el (org-clock-put-overlay): Use new face instead of
506         `secondary-selection'.
508         * org-faces.el (org-clock-overlay): New face.
510 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
512         * org-exp.el (org-get-current-options): Include the option for
513         publishing time stamps.
515         * org.el (org-toggle-heading): Renamed from
516         `org-toggel-region-headings'.
517         No longer needs a region defined, but will use it if there is one.
518         (org-ctrl-c-star): Simplified, relying more on the internal
519         workings of `org-toggle-heading'.
520         (org-toggle-item): Renamed from `org-toggle-region-items'.
521         No longer needs a region defined, but will use it if there is one.
522         (org-ctrl-c-minus): Simplified, relying more on the inernal
523         workings of `org-toggle-item'.
525         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
526         environment detection.  Also, do real changes only in unprotected
527         places.
529 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
531         * org-export-latex.el (org-export-latex-quotation-marks): Use
532         `org-if-unprotected-1'.
533         (org-export-latex-set-initial-vars): Check for class definition in
534         property.
536         * org-macs.el (org-if-unprotected-1): New macro.
538 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
540         * org-compat.el (org-count-lines): New function.
542         * org-exp.el (org-export-format-source-code-or-example): Handle
543         switches related to text areas.
545         * org.el (org-activate-footnote-links): Don't allow match inside a
546         link.
548         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
550         * org-export-latex.el (org-export-latex-links): Keep a relative
551         path relative also after export.
553         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
555         * org.el (org-make-tags-matcher): Never use IDO for completing the
556         tags matcher match string.
557         (org-completing-read): Also remove the special biding for "?".
559         * org-attach.el (org-attach-allow-inheritance): New option.
560         (org-attach-inherited): New variable.
561         (org-attach-dir): Handle properties related to the attachment
562         directory.
563         (org-attach-check-absolute-path): New function.
564         (org-attach-set-directory, org-attach-set-inherit): New commands.
565         (org-attach): Accommodate the new commands in the dispatcher.
567 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
569         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
570         `window-full-width-p'.
572         * org-exp.el (org-export-as-html): Only check for images files
573         that really can be inlined
575         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
576         list of extensions to be a parameter.
578         * org-exp.el (org-export-html-inline-image-extensions): New
579         variable.
581         * org-agenda.el (org-prepare-agenda): Use
582         `org-agenda-block-separator'.
583         (org-agenda-block-separator): New option.
585 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
587         * org-export-latex.el (org-export-latex-tables): Call
588         `org-table-clean-before-export' with the new optional argument.
590         * org-exp.el (org-table-clean-before-export): New optional
591         parameter MAYBE-QUOTED, allows for quoted characters like \# in
592         first column.
594 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
596         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
597         histograms.
599         * org-colview.el (org-colview-construct-allowed-dates): Better
600         error catching when a date/time property does not have allowed
601         values defined.
603         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
604         Better error catching when a date/time property does not have
605         allowed values defined.
607 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
609         * org.el (org-map-entries): Restore point and restriction after
610         `org-map-entries'.
612 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
614         * org.el (org-time=, org-time<, org-time<=, org-time>)
615         (org-time>=, org-time<>): Make sure both values are dates.
617 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
619         * org-archive.el (org-extract-archive-heading): Allow %s for file
620         name also in achive location heading.
622 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
624         * org-archive.el (org-add-archive-files): Uniquify the list before
625         returning it.
627 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
629         * org-compat.el (org-fit-window-to-buffer): Use
630         `window-full-width-p'.
632         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
633         space after the colon in short examples.
635         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
636         enforce a space after the colon.  However, we also allow lines
637         that are *only* a colon.
638         (org-export-as-html): Enforce the space after the colon in short
639         examples.
640         (org-export-preprocess-string): Do the colon example protection
641         earlier.
642         (org-export-remove-timestamps): Do not check for protection at the
643         end of the line.
645 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
647         * org.el (org-format-latex-options): Add new matcher for single
648         letters between dollars.
649         (org-get-header): Function removed.
650         (org-heading-components): New function.
652         * org-exp.el (org-export-define-heading-targets): Record ID's also
653         as alternative targets.
654         (org-export-as-html): Interpret "id:" links to other files by
655         preserving the relative path.
657         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
658         is nil.
660         * org-exp.el (org-export-normalize-links): Protect the main link,
661         to avoid special character processing.
663         * org-export-latex.el (org-export-latex-special-keyword-regexp):
664         New variable.
665         (org-export-latex-special-string-regexps): Variable removed.
666         (org-export-latex-keywords): Use the new regexp.
668         * org-exp.el (org-export-handle-include-files): Fetch switches and
669         put them into the BEGIN statement.
671         * org-timer.el (org-timer-mode-line-string): New variable.
673         * org-clock.el (org-clock-mode-line-map): Renamed from
674         `org-clock-mode-map'.
675         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
676         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
677         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
678         (org-clock-remove-overlays): Renamed from
679         `org-remove-clock-overlays'.
681         * org-timer.el (org-timer-pause-or-continue): Implement stopping
682         and mode line display.
683         (org-timer-stop): New command.
684         (org-timer-seconds): Return correct time when timer is paused.
685         (org-timer-mode-line-timer): New variable.
686         (org-timer-set-mode-line, org-timer-update-mode-line): New
687         functions.
689         * org.el (org-insert-heading):  Handle new value `auto' for
690         `org-blank-before-new-entry'.
691         (org-org-menu): Add new items for timer functions.
693         * org-list.el (org-insert-item): Handle new value `auto' for
694         `org-blank-before-new-entry'.
696         * org.el (org-blank-before-new-entry): New value `auto', made
697         default.
699 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
701         * org-exp.el (org-export-normalize-links): If the link is also
702         used as the description, protect the description.
704 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
706         * org.el (org-closest-date): Fix bug with yearly repeats, in
707         combination with preference of the past as it is used for deadline
708         and scheduling search.
710         * org-exp.el (org-html-handle-time-stamps): No longer check for
711         the `org-export-with-timestamps' option, because the preprocesser
712         has taken care of this already.
714         * org.el (org-entry-properties): Catch the case when this is
715         called in a non-org-mode file.
717         * org-export-latex.el (org-export-latex-remove-from-headlines):
718         Variable made obsolete, also LaTeX export now uses the standard
719         variables.
720         (org-export-as-latex): Add the timestamps parameter to the
721         preprocessor parameter list.
722         (org-export-latex-content): Export the remaining keywords without
723         considering to remove them.
724         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
725         Use bold font instead of tt font for the keywords.
726         (org-export-latex-fontify-headline): Format headlines, assuming
727         that all keywords still present should be published.
728         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
729         publish what ever remains of the time stamps.
730         (org-export-latex-list-parameters): New option.
731         (org-export-latex-lists): Pass additional parameters to the list
732         converter.
734         * org-exp.el (org-export-preprocess-string): Remove clock lines
735         and timestamps already in the preprocesor.
736         (org-export-remove-timestamps, org-export-remove-clock-lines): New
737         functions.
738         (org-export-as-ascii, org-export-as-html): Add the timestamps
739         parameter to the preprocessor parameter list.
741         * org-list.el (org-list-parse-list): Parse for checkboxes.
742         (org-list-to-generic): Introduce and handle new parameters :cbon
743         and :cboff.
744         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
745         optional parameter PARAMS.
747         * org-export-latex.el (org-export-latex-special-chars): Fix
748         problems with interpreting dollar signs.
749         (org-inside-latex-math-p): New function.
750         (org-export-latex-preprocess): Protect all the math fragments.
752         * org.el (org-latex-regexps): Allow a dash after a dollar.
754         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
755         mark after copying.
757         * org-agenda.el (org-run-agenda-series): Have series options set
758         when finalizing the agenda.
760         * org-exp.el (org-export-format-source-code-or-example): Protect
761         the converted examples.
763         * org.el (org-set-regexps-and-options): Fix the regexp
764         `org-complex-heading-regexp'.
766 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
768         * org.el (org-edit-src-get-label-format): New function.
769         (org-coderef-label-format): New option.
770         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
771         a label format specification and make sure it is used in the edit
772         buffer.
773         (org-edit-src-get-label-format): New function.
774         (org-store-link): Handle new coderef formats.
775         (org-link-search): Handle new coderef formats.
777         * org-footnote.el (org-footnote-create-definition)
778         (org-footnote-goto-local-insertion-point): Make footnote insertion
779         work correctly when the "Footnotes" headline is the last line in
780         the buffer.
782         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
783         the location.
785 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
787         * org-w3m.el (org-w3m): New customization group.
788         (org-w3m-deactivate-mark): New option.
789         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
790         option say not to.
792 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
794         * org.el (org-set-font-lock-defaults): Trigger footnote
795         fontification.
796         (org-activate-footnote-links): New function.
797         (org-activate-links): New entry `footnote'.
799         * org-faces.el (org-footnote): New face.
801 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
803         * org-macs.el (org-re): Handle the [:word:] class.
805         * org-exp.el (org-export-preprocess-string): Call
806         `org-export-protect-colon-examples'.
807         (org-export-protect-colon-examples): Renamed from
808         `org-export-protect-examples', and scope limited to lines starting
809         with a colon.
811 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
813         * org-exp.el (org-export-preprocess-string): Move the preprocess
814         hook to after turning on Org-mode.
815         (org-export-preprocess-after-include-files-hook)
816         (org-export-preprocess-after-tree-selection-hook)
817         (org-export-preprocess-before-backend-specifics-hook)
818         (org-export-preprocess-final-hook): New hooks.
819         (org-export-preprocess-string): Run the new hooks.
821         * org.el (org-ctrl-c-minus): Fix indentation for new items.
823         * org-footnote.el: New file.
825         * org.el (org-footnote): Require footnote code.
826         (org-startup-options): Add new footnote options.
827         (org-mode-map): New keybindig for footnotes.
828         (org-ctrl-c-ctrl-c): Add function at footnotes.
829         (org-org-menu): New menu entries for footnotes.
831         * org-export-latex.el (org-export-as-latex): Pass footnote
832         variable to preprocessor.
833         (org-export-latex-preprocess): Treat multiple references to a
834         footnote.
836         * org-exp.el (org-export-preprocess-string): Call
837         `org-footnote-normalize'.
838         (org-export-as-ascii, org-export-as-html): Pass footnote variable
839         to preprocessor.
840         (org-export-as-html): Treat multiple references to a footnote.
842 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
844         * org-export-latex.el (org-export-latex-links): Handle coderef
845         links.
847         * org.el (org-bracket-link-analytic-regexp++): New variable.
848         (org-make-link-regexps): Initialize
849         `org-bracket-link-analytic-regexp++'.
850         (org-store-link): Implement special case in edit-src buffer.
851         (org-insert-link): No use of ide to insert stored links.
852         (org-link-search): Implement special case for coderefs.
854         * org-exp.el (org-export-html-scripts): New constant.
855         (org-export-html-style-default): Add a new style for highlighted
856         code.
857         (org-export-code-refs): New variable.
858         (org-export-preprocess-string): Initialize `org-export-code-refs'.
859         Call `org-export-replace-src-segments-and-examples'
860         No longer call `org-export-protect-examples'.
861         (org-export-target-internal-links): Take care of coderef targets.
862         (org-export-last-code-line-counter-value): New variable.
863         (org-export-replace-src-segments-and-examples): Renamed from
864         `org-export-replace-src-segments', and modified.
865         (org-export-format-source-code-or-example): Renamed from
866         `org-export-format-source-code'.
867         (org-export-number-lines): New function.
868         (org-export-as-ascii, org-export-as-html): Handle coderef links.
870 --------------------------------------------------------------------------
872 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
874         * org-remember.el (org-remember-handler): Safer way to get a new
875         buffer accessing the target file.
877         * org.el (org-refile-get-location): Handle case of current buffer
878         not having a file associated with it.
880 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
882         * org-table.el (org-table-get-formula): Only ask to overwrite
883         field formula if there really is one.
885         * org-id.el (org-id-find): Allow the ID to be a symbol or a
886         number, by converting these to a string.
888         * org-colview.el (org-dblock-write:columnview): Allow ID to be
889         located in a different file.
891         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
892         org-colview.el.
894 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
896         * org.el (org-completion-use-ido): Enhance docstring of
897         `org-completion-use-ido'.
899         * org-export-latex.el (org-export-latex-make-header): Double the %
900         in the time stamp format.
901         (org-export-latex-special-chars): Handle case where there is no
902         match group 3.
904 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
906         * org.el (org-get-refile-targets, org-refile-get-location): Use
907         expanded file name to improve comparison.
909 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
911         * org.el (org-scan-tags): Rescan for tags, to get the correct
912         upcase/downcase stuff.  This slows things down for now, but it
913         works.
914         (org-mode): Make sure the tag-faces regexp is initialized.
916         * org-export-latex.el (org-export-latex-links): Fix bug with
917         undefined label.
919         * org-table.el (org-table-get-specials): Set
920         `org-table-current-last-data-line'.
921         (org-table-current-last-data-line): New variable.
922         (org-table-insert-column, org-table-delete-column)
923         (org-table-move-column, org-table-fix-formulas): Call
924         `org-table-fix-formulas' a second time to fix the $LR references.
925         (org-table-get-specials): Add the $LR references to the tables.
926         (org-table-get-formula): Do not offer last-row names as LHS of
927         formulas.
929         * org.el (org-store-link): Capture link description from
930         `org-id-store-link'.
932         * org-exp.el (org-export-html-format-image): Add the / to the end
933         of the <img> tag.
934         (org-export-format-source-code): Surround example by empty lines,
935         to make sure it will not be inside a paragraph.
937         * org.el (org-ido-switchb): New function.
939 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
941         * org-agenda.el (org-agenda-show): New prefix argument
942         FULL-ENTRY.
944         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
945         argument.
947         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
948         `org-agenda-change-all-lines'.
949         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
950         tags are now retrieved locally.
952 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
954         * org.el (org-get-outline-path): Fix bug if level is not given.
955         (org-org-menu): Do not quote function in menu vector.
957         * org-agenda.el (org-finalize-agenda): Fix typo with variable
958         name.
960 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
962         * org.el (org-refile): Avoid refiling to within the region to be
963         refiled.
965         * org-export-latex.el (org-export-latex-special-chars): Replace
966         special characters also in tables.
968         * org-agenda.el (org-agenda-change-all-lines): New argument
969         FORCE-TAGS.
970         (org-agenda-set-tags): Cet the new tags and pass them to
971         `org-format-agenda-item'.
973 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
975         * org-export-latex.el (org-export-latex-classes): Add longable as
976         a default package to all classes.
977         (org-export-latex-tables): Handle the longtable attribute and the
978         align attribute.
980         * org-table.el (orgtbl-to-generic): Handle tables that start with
981         a hline.
983         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
984         \verb for colde-like snippets.
985         (org-export-as-latex): Fix issues with region export.
987         * org.el (org-up-heading-safe): Speed up function by using a
988         direct regexp search.
989         (org-olpa): New variable.
990         (org-get-outline-path): Speed-up path constructions in cases where
991         this is possible because the entire hierarchy is scanned anyway.
992         (org-refile-get-location): Don't compare the truenames of files,
993         this is too slow.
994         (org-goto-max-level): New option.
995         (org-goto): Use `org-goto-max-level'.
997 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
999         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
1000         Strip angle brackets from message-ids in the former and don't do
1001         it in the latter.
1002         (org-gnus-follow-link): Open summary reliable, even if the last
1003         messages were deleted, and handle empty groups, too.
1005 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
1007         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
1008         instead of \texttt for the =...= and ~===~ emphasis environments.
1009         (org-export-as-latex): Remove any old :org-license-to-kill text
1010         properties.
1011         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
1012         (org-export-latex-make-header): Add some hard space after the
1013         table of contents.
1014         (org-export-latex-first-lines): Accept RBEG argument.  Mark
1015         exported text so that it will be excuded in further steps.
1017         * org-table.el (org-table-get-specials): Make @0 reference the
1018         last line in a table.
1019         (org-table-recalculate): Improve docstring.
1021 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
1023         * org.el (org-log-done): Fix docstring.
1025 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
1027         * org-exp.el (org-export-html-format-image): Fix bugs.
1029         * org-export-latex.el (org-export-latex-tables)
1030         (org-export-latex-links): Implement attribute, label, and caption
1031         handling.
1033         * org-exp.el (org-export-html-style-default): Add style
1034         definitions for the figure div.
1035         (org-export-preprocess-string, org-export-as-html): Implement
1036         attribute, label, and caption handling.
1037         (org-export-attach-captions-and-attributes): New function.
1038         (org-export-html-format-image): New function.
1039         (org-format-org-table-html): Implement attribute, label, and
1040         caption handling.
1042         * org.el (org-find-text-property-in-string): New function.
1043         (org-extract-attributes): Use the property org-attr instead of
1044         org-attrobutes, because this property is now set with the #+ATTR
1045         lines.
1047 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
1049         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
1050         the case that FROM is nil.
1052         * org.el (org-before-first-heading-p): New function.
1054 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
1056         * org-exp.el (org-export-as-html): Do not add a space before
1057         enforces line breaks.
1058         (org-export-as-html): Close paragraph before blockquote and verse
1059         tags.
1061 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
1063         * org-id.el (org-id-locations-file): Wrap file name with
1064         `convert-standard-filename'.
1065         (org-id-files): New variable.
1066         (org-id-use-hash): New option.
1067         (org-id-update-id-locations): Also search in all files current
1068         listed in `org-id-files'.  Convert the resulting alist to a hash
1069         if the user customation says so.
1070         (org-id-locations-save): Handle he case if `org-id-locations' is a
1071         hash.
1072         (org-id-locations-load): Convert the alist to a hash.
1073         (org-id-add-location): Handle the hast case.
1074         (kill-emacs-hook): Make sure id locations are saved when Emacs is
1075         exited.
1076         (org-id-hash-to-alist, org-id-alist-to-hash)
1077         (org-id-paste-tracker): New functions.
1079 -------------------------------------------------------------------------
1081 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
1083         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
1084         bindings of calendar variables.
1086         * org-table.el (org-table-find-row-type): Renamed from
1087         `org-find-row-type'.
1088         (org-table-rewrite-old-row-references): Renamed from
1089         `org-rewrite-old-row-references'.
1090         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
1091         (org-table-cleanup-narrow-column-properties): Renamed from
1092         `org-cleanup-narrow-column-properties'.
1094 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
1096         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
1097         for better error messages.
1098         (org-table-get-descriptor-line): Supply the new arguments to
1099         `org-find-row-type'.
1100         (org-table-error-on-row-ref-crossing-hline): New option.
1102         * org.el (org-target-link-regexp): Make buffer-local.
1103         (org-move-subtree-down): Fix bug with trees at beginning of
1104         buffer.
1106 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
1108         * org-faces.el (org-set-tag-faces): New function.
1109         (org-tags-special-faces-re): New variable.
1111         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
1113         * org-faces.el (org-tag-faces): New option.
1114         (org-tag): Mention `org-tag-faces' in the docstring.
1116 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
1118         * org-exp.el (org-export-html-style-default): Implement new
1119         quoting.
1121         * org-jsinfo.el (org-infojs-template): Implement new quoting.
1123         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
1124         command to the `w3m-minor-mode-map'.
1126         * org-archive.el (org-archive-to-archive-sibling): Protect
1127         `this-command' to avoid appending kills during archiving.
1129         * org-exp.el (org-export-with-priority): New variable.
1130         (org-export-add-options-to-plist): Use `org-export-plist-vars'
1131         instead of internal list of strings and properties.
1132         (org-print-icalendar-entries): Retrieve the location property with
1133         inheritance.
1135 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
1137         * org-exp.el (org-export-with-todo-keywords): New option.
1138         (org-export-plist-vars): Include also the keys for the #+OPTIONS
1139         line.
1140         (org-default-export-plist, org-export-add-options-to-plist)
1141         (org-export-as-ascii, org-export-as-html): Use the new structure
1142         of `org-export-plist-vars'.
1144         * org.el (org-map-entries): Return all values.
1146 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
1148         * org.el (org-matcher-time): Recognize more special values.
1150         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
1152 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
1154         * org.el (org-tags-exclude-from-inheritance): New option.
1155         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
1156         `org-tags-exclude-from-inheritance'.
1158         * org-agenda.el (org-agenda-show-inherited-tags): New option.
1159         (org-format-agenda-item): Add inherited tags to the agenda line
1160         string, and make sure that properties are kept when downcasing the
1161         tags list.
1162         (org-agenda-add-inherited-tags): New function.
1163         (org-downcase-keep-props): New function.
1165         * org.el (org-scan-tags): Mark inherited tags with a text
1166         property.
1167         (org-get-tags-at): Mark inherited tags with a text property.
1168         (org-add-prop-inherited): New function.
1170         * org-agenda.el (org-agenda-add-inherited-tags): New function.
1171         (org-agenda-show-inherited-tags): New option.
1173 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
1175         * org.el (org-modules): Add org-w3m to the default modules.
1177         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
1178         orgtbl-mode.
1179         (orgtabl-create-or-convert-from-region): New command.
1181         * org-exp.el (org-export-as-ascii): Remove the handling of
1182         targets.
1183         (org-export-ascii-preprocess): Handle targets already in this
1184         function.
1186 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
1188         * org-timer.el (org-timer-start-time): Define this variable.
1189         (org-timer-item): Make argument optional.
1191         * org-list.el (org-insert-item): Automatically insert a timer item
1192         if the current list is a timer list.
1194         * org-timer.el: New file.
1196         * org-publish.el (org-publish-org-index): Only exclude the index
1197         file in the main directory from being added to the site-map.
1198         (org-publish-get-project-from-filename): If the current project is
1199         a component, start publishing from the parent project.
1201 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
1203         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
1205         * org-publish.el (org-publish-org-index): Improve removal of
1206         temporary buffers.
1208         * org-agenda.el (org-get-closed): Re-apply changes
1209         accidentially overwritten by last commit to Emacs.
1211         * org.el (org-outline-path-complete-in-steps): New option.
1212         (org-refile-get-location): Honor
1213         `org-outline-path-complete-in-steps'.
1214         (org-agenda-change-all-lines, org-tags-sparse-tree)
1215         (org-time-string-to-absolute, org-small-year-to-year)
1216         (org-link-escape): Re-apply changes accidentially overwritten
1217         by last commit to Emacs.
1219 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
1221         * org-clock.el (org-dblock-write:clocktable): Make sure the
1222         clocktable sees the first line.
1223         (org-clock-in): Warn if the clock cannot be resumed.
1225 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
1227         * org.el (org-open-at-point): Fix mixup about interactive and
1228         non-interactive elisp links.
1230 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1232         * org-exp.el (org-export-preprocess-string): Allow one comment
1233         line before the first headline to always be included.  This is
1234         to not miss a commented target.
1236         * org-mouse.el (org-mouse-insert-item): Call
1237         `org-indent-to-column' instead of `indent-to', for XEmacs
1238         compatibility.
1240         * org.el (org-refile-targets): Fix customize definition so
1241         that it works also in XEmacs.
1242         (org-fixup-indentation): Call `org-indent-to-column' instead
1243         of `indent-to', for XEmacs compatibility.
1245 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
1247         * org-mew.el (org-mew-store-link): Get the correct case folder
1248         for refiled messages.
1250 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1252         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
1253         line break indicators.
1255         * org.el (org-ido-completing-read): Remove the "i:" prefix for
1256         ido-completion propts.
1258 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1260         * org-remember.el (org-remember-apply-template): Use
1261         `org-substring-no-properties'.
1263         * org-compat.el (org-substring-no-properties): New function.
1265         * org-remember.el (org-remember-apply-template): Use
1266         `org-substring-no-properties' for compatibility.
1268         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
1269         option.
1270         (org-fix-bullet-type): respect
1271         `org-list-two-spaces-after-bullet-regexp'.
1273         * org-clock.el (org-clock-load): Clean up the code.
1275         * org.el (org-adaptive-fill-function): Allow two spaces after
1276         "1." as a list bullet.
1278 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
1280         * org-clock.el (org-clock-save, org-clock-load): Check for
1281         live buffers, existing files, and buffer file names to ensure
1282         consistent information.
1283         (org-clock-persist): Make `clock' a special value of this
1284         variable, and improve docstring.
1286         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
1287         (org-get-string-indentation): Adapt indentation when the bullet
1288         width changes.
1290 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
1292         * org-remember.el (org-remember-finalize): Make interactive.
1293         (org-remember-kill): New command.
1294         (org-remember-finish-immediately): Call `org-remember-finalize'
1295         directly.
1296         (org-remember-finalize): Make `org-remember-finalize' an interactive
1297         function.
1299 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
1301         * org-remember.el (org-remember-apply-template): No ido completion
1302         for free prompts in remember templates.
1303         (org-remember-before-finalize-hook): New hook.
1304         (org-remember-mode): New minor mode.
1305         (org-remember-apply-template): Turn on `org-remember-mode'.
1307         * org-id.el (org-id-add-location): Avoid error when no file is
1308         given.
1310         * org-remember.el (org-remember-apply-template): Fix the way how
1311         the list of allowed properties is retrieved from the target file.
1313         * org.el (org-insert-link): Improve file link matching.
1315 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1317         * org-colview.el (org-columns-display-here): New argument
1318         DATELINE, to trigger using the new face.
1319         (org-agenda-colview-summarize): Call `org-columns-display-here'
1320         with the new argument.
1322         * org-faces.el (org-agenda-column-dateline): New face.
1324         * org-publish.el (org-publish-org-index): Use index-title at page
1325         title, not as section.
1327         * org-exp.el (org-export-html-format-desc): Respect the
1328         org-protect property.
1329         (org-export-as-html): Protect image specifiers that are in the
1330         description part of a link.
1332         * org.el (org-sort-entries-or-items, org-completing-read)
1333         (org-refile-get-location, org-olpath-completing-read, org-todo)
1334         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
1335         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
1336         (org-set-property, org-delete-property)
1337         (org-delete-property-globally): Use `org-ido-completing-read'.
1339         * org-remember.el (org-remember-apply-template): Use
1340         `org-ido-completing-read'.
1342         * org-publish.el (org-publish): Use `org-ido-completing-read'.
1344         * org-colview.el (org-columns-edit-value, org-columns-new)
1345         (org-insert-columns-dblock): Use `org-ido-completing-read'.
1347         * org-colview-xemacs.el (org-columns-edit-value)
1348         (org-columns-new, org-insert-columns-dblock): Use
1349         `org-ido-completing-read'.
1351         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1352         `org-ido-completing-read'.
1354         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
1355         `org-ido-completing-read'.
1357         * org.el (org-time-today): New function.
1358         (org-matcher-time): Use `org-time-today'.  Add special treatment
1359         for "<tomorrow>" and "<yesterday>".
1360         (org-ido-completing-read): New function.
1361         (org-completion-use-ido): New option.
1363         * org-exp.el (org-export-format-source-code): Fix bug in require
1364         htmlize code.
1365         (org-export-target-internal-links): Fix bug in search for text
1366         property.
1368 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
1370         * org-export-latex.el (org-export-latex-subcontent): Interprete
1371         target aliases as additonal labels.
1373         * org-exp.el (org-export-target-aliases): New variable.
1374         (org-export-preprocess-string)
1375         (org-export-handle-invisible-targets): Fill the alias alist.
1376         (org-export-as-html): Remove the &nbsp; from the anchor, and also
1377         assign an id.
1378         (org-html-level-start): Insert the target aliases as additonal
1379         anchors.
1381         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
1382         picture area.
1384 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
1386         * org.el (org-open-at-mouse): Ensure correct link abbreviations
1387         when following a link with the mouse from the agenda.
1389         * org-exp.el (org-export-as-html): Avoid lone </div> when no
1390         headlines are created.
1392 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
1394         * org-exp.el (org-export-preprocess-string): Reorder so that we
1395         can still see ID properties when we collect targets.
1396         (org-export-target-internal-links): Also store targets for ID's.
1398         * org.el (org-link-translation-function): New option.
1399         (org-open-at-point): Call `org-link-translation-function' if
1400         non-nil.
1401         (org-translate-link): New function.
1402         (org-translate-link-from-planner): New function.
1403         (org-open-at-point): Allow interactive commands in elisp links.
1405         * org-exp.el (org-icalendar-cleanup-string): Restore the old
1406         iCalendar quoting.  The new one seems to caus problems with
1407         applications.
1409         * org.el (org-yank): Set `this-command' to `yank', so that
1410         `yank-pop' will work.
1412 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1414         * org-id.el (org-id-search-archives): New option.
1416         * org.el (org-link-to-org-use-id): New option.
1417         (org-store-link): Use `org-link-to-org-use-id'.
1418         (org-id): Make org-id.el a standard component.
1420 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1422         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
1423         hexified version of the tag.
1425         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
1426         compliance as far as quoting is concerned.
1428         * org-vm.el (org-vm-follow-link): Require `vm-search'.
1430         * org.el (org-up-heading-safe, org-forward-same-level): Always
1431         call `org-back-to-heading' instead of `outline-back-to-heading'.
1432         (org-back-to-heading): New wrapper around outline-back-to-heading,
1433         with a useful error message telling where the error happened.
1435         * org-list.el (org-update-checkbox-count): Always call
1436         `org-back-to-heading' instead of `outline-back-to-heading'.
1438         * org-exp.el (org-export-as-html): Make sure that each <img> tag
1439         has an `alt' attribute, to ensure XHTML validation.
1441 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
1443         * org-publish.el (org-publish-attachment): Allow publishing to
1444         overwrite attachment files.
1446         * org-agenda.el (org-agenda-timerange-leaders): New option.
1447         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
1449         * org.el (org-edit-src-exit): Untabify ASCII image before
1450         returning.
1463 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1465         * org.el (org-yank): Make any prefix force normal yanking.
1466         Suppress folding if text would be swallowed into a folded
1467         subtree.
1468         (org-yank-folded-subtrees, org-yank): Docstring updates.
1470         * org-agenda.el (org-agenda-compare-effort): Treat no effort
1471         defined as 0.
1473         * org-exp.el (org-export-language-setup): Add Catalan and
1474         Esperanto language entries.
1476 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1478         * org.el (org-refile): Allow refiling of entire regions.
1480         * org-clock.el (org-clock-time%): New function.
1482         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
1483         retrieve property values.
1485 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1487         * org-agenda.el (org-agenda-list): Handle the value `only' of
1488         org-agenda-show-log'.
1489         (org-agenda-log-mode): Interpret a double prefix arg.
1491 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1493         * org-exp.el (org-export-html-footnotes-section): New variable.
1494         (org-export-as-html): Use `org-export-html-footnotes-section' to
1495         insert the footnotes.
1496         (org-export-language-setup): Add "Footnotes" to language words.
1498 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
1500         * org.el (org-yank): Fix bug when not inserting a subtree.
1502 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1504         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
1505         instead of `vm-beginning-of-message'.
1507         * org.el (org-make-link-regexps): Make sure that links to gnus can
1508         contain brackets.
1510 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1512         * org-attach.el (org-attach-dir): Remove duplicate ID creation
1513         code.
1515         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
1516         shell output.
1518         * org.el (org-link-abbrev-alist): Improve customization type.
1520         * org-attach.el (org-attach-expand-link, org-attach-expand): New
1521         functions.
1523         * org-agenda.el (org-agenda-get-progress): Renamed from
1524         `org-get-closed'.  Implement searching for state changes as well.
1525         (org-agenda-log-mode-items): New option.
1526         (org-agenda-log-mode): New option prefix argument, interpreted as
1527         request to show all possible progress info.
1528         (org-agenda-get-day-entries): Call `org-get-progress' instead of
1529         `org-get-closed'.
1530         (org-agenda-set-mode-name): Handle the more complex log mode
1531         settings.
1532         (org-get-closed): New alias, pointing to `org-get-progress'.
1534 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
1536         * org.el (org-file-apps-defaults-gnu)
1537         (org-file-apps-defaults-macosx)
1538         (org-file-apps-defaults-windowsnt): Add an entry defining the
1539         system command.
1540         (org-file-apps): Allow `system' as key and value.
1541         (org-open-at-point): Explain the effect of a double prefix arg.
1542         (org-open-file): If the argument `in-emacs' is (16),
1543         i.e. corresponding to a double prefix argument, try to open the
1544         file externally.
1546 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
1548         * org.el (org-insert-link): Abbreviate absolute files names in
1549         links.  Also, fix a bug in which the double C-u prefix would not
1550         be honored.
1552 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
1554         * org.el (org-insert-heading): If buffer does not end with a
1555         newline, add one if necessary to insert headline correctly.
1557         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
1558         paragraphs, not inside.
1560         * org.el (org-todo): Quote
1561         `org-agenda-headline-snapshot-before-repeat'.
1563         * org-exp.el (org-export-as-html): Fully process link descriptions.
1564         (org-export-html-format-desc): New function.
1565         (org-export-as-html): Collect footnotes into the correct basket.
1566         (org-html-protect): No longer protect quotations marks here, this
1567         goes wrong.
1569         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
1570         BEG.
1572         * org-compat.el (org-fit-window-to-buffer): New function (not
1573         really, a preliminary and incomplete version was present earlier,
1574         but not used).
1576         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
1577         `org-fit-window-to-buffer'.
1579         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
1581         * org-agenda.el (org-agenda-get-restriction-and-command)
1582         (org-fit-agenda-window, org-agenda-convert-date): Use
1583         `org-fit-window-to-buffer'.
1585         * org-exp.el (org-export-as-html): Process href links through
1586         `org-export-html-format-href'.
1587         (org-export-html-format-href): New function.
1589         * org-agenda.el (org-agenda-todo): Update only the current
1590         headline if this is a repeated TODO, marked done for today.
1591         (org-agenda-change-all-lines): New argument JUST-THIS, to change
1592         only the current line.
1594         * org.el (org-todo): Take a snapshot of the headline if the
1595         repeater might change it.
1597 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
1599         * org-publish.el (org-publish-find-title): Remove buffers visited
1600         only for extracting the title.
1602         * org-exp.el (org-export-html-style)
1603         (org-export-html-style-default): Mark style definitions as
1604         unparsed CDATA.
1606         * org-publish.el (org-publish-validate-link): Function
1607         re-introduced.
1609 2008-11-02  Charles Sebold  <csebold@gmail.com>
1611         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
1612         property.
1613         (org-plot-quote-timestamp-field): New function.
1614         (org-plot-quote-tsv-field): Call timestamp field function when
1615         necessary rather than just quoting as a string.
1616         (org-plot/gnuplot-to-data): Pass in timefmt property.
1617         (org-plot/gnuplot-script): Supports timefmt property.
1618         (org-plot/gnuplot): Checks for timestamp column before checking
1619         for text index column.
1621 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
1623         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
1625         * org-publish.el (org-publish-org-index): Create a section in the
1626         index file.
1627         (org-publish-org-index): Stop linking to directories.
1629         * org.el (org-emphasis-alist): Use span instead of <u> to
1630         underline text.
1632         * org-exp.el (org-export-as-html): Make sure <p> is closed before
1633         <pre> sections.
1635 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
1637         * org-jsinfo.el (org-infojs-template): Remove language attribute
1638         from script tag.
1640 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
1642         * org-agenda.el (org-agenda-remove-marked-text): New function.
1643         (org-agenda-mark-filtered-text)
1644         (org-agenda-unmark-filtered-text): New functions.
1645         (org-write-agenda): Remove fltered text.
1647         * org.el (org-make-tags-matcher): Give access to TODO "property"
1648         without speed penalty.
1650 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
1652         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
1653         option.
1654         (org-store-link-props): Make sure adding to the plist works
1655         correctly.
1657         * org-gnus.el (org-gnus-no-new-news): New function.
1658         (org-gnus-follow-link): Allow the article ID to be a message-id,
1659         in addition to allowing article numbers.  Message IDs make much
1660         more roubust links.
1661         (org-gnus-store-link): Use message-id to create link.
1663 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
1665         * org.el (org-emphasize): Reverse the selection array.
1666         (org-emphasis-alist): Set <code> tags for the verbatim
1667         environment.
1669         * org-remember.el (org-remember-handler): Fix bug with
1670         prefix-related changing of the note storage target.
1672         * org-exp.el (org-print-icalendar-entries): Make the exported
1673         priorities compatible with RFC 2445.
1675         * org-clock.el (org-clock-save): Insert time stamp without
1676         dependence on time-stamp.el.
1678 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
1680         * org.el ("saveplace"): If saveplace puts point into an invisible
1681         location, make it visible.
1682         (org-make-tags-matcher): Allow inactive time stamps in time
1683         comparisons.
1684         (org-yank-adjusted-subtrees): New option.
1685         (org-yank): Incorporate adjusting trees.
1686         (org-paste-subtree): New argument FOR-YANK which will cause
1687         insertion at point without backing up over white lines, and leave
1688         point at the end of the inserted text.  Also if the cursor is
1689         at the beginning of a headline, use the same level or the inserted
1690         tree.
1692         * org-publish.el (org-publish-get-base-files-1): Deal correctly
1693         with broken symlinks
1695 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
1697         * org-exp.el (org-export-select-tags, org-get-current-options):
1698         Fix typo.
1700 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
1702         * org-agenda.el (org-format-agenda-item)
1703         (org-agenda-filter-make-matcher): Make sure tags are stored and
1704         compared donwcased.
1706 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
1708         * org.el (org-insert-todo-heading): Fix bug with force-heading
1709         argument.
1711 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
1713         * org-clock.el (org-clock-in-resume): Add a custom option to
1714         toggle starting the clock from an open clock line.
1715         (org-clock-in): When clocking in to an entry, if
1716         `org-clock-in-resume' is set, check if the first clock line is
1717         open and if so, start the clock from the time in the clock line.
1718         (org-clock-persist): Add a custom option to toggle clock
1719         persistence.
1720         (org-clock-persist-query-save): Add a custom option to toggle
1721         asking the user if they want to save the running clock when
1722         exiting.
1723         (org-clock-persist-query-resume): Add a custom option to toggle
1724         asking the user if they want to resume the saved clock when Emacs
1725         is restarted.
1726         (org-clock-save): Add a function to save clock data.
1727         This includes the contents of `org-clock-history' and the buffer
1728         and position of the currently clocked task, if any.
1729         (org-clock-load): Add a function to load clock data.
1730         This populates `org-clock-history', and resumes the saved clocked
1731         task if there is one.
1732         (org-clock-persistence-insinuate): Add a method to set up the
1733         hooks for clock persistence.
1735 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
1737         * org-exp.el (org-export-as-ascii): Handle the case that we are
1738         publishing from an indirect buffer.
1740         * org-table.el (org-table-copy-down): Fix bug with time stamp
1741         increment.
1743         * org-mouse.el (org-mouse-features): New option.
1744         (org-mode-hook): Turn on features depending on
1745         `org-mouse-features'.
1747         * org.el (org-insert-heading-respect-content): Force heading
1748         creation.
1749         (org-insert-heading): keep the folding state of the heading before
1750         the inserted one.
1752 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
1754         * org-archive.el (org-archive-to-archive-sibling): Handle top
1755         level headlines better.
1757 2008-10-21  Bastien Guerry  <bzg@altern.org>
1759         * org-export-latex.el (org-export-latex-classes): Added
1760         \usepackage{graphicx} to the default list of packages.
1762 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
1764         * org-agenda.el (org-agenda-filter): Renamed from
1765         `org-agenda-filter-tags'.
1767 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
1769         * org.el (org-entry-properties): Add CATEGORY property, iven if it
1770         is not defined as a property in this entry.
1771         (org-add-log-note): Mask prefix argument when immediately storing
1772         the note.
1774         * org-agenda.el (org-agenda-filter-effort-default-operator): New
1775         option.
1777 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
1779         * org.el (org-add-log-setup): Bugfix; code to find insertion point
1780         after drawers was skipping ahead one line too many, so notes were
1781         inserted after the first note instead of before it.
1783 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
1785         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
1786         New variables.
1787         (org-prepare-agenda): Reset the filter tags.
1788         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
1789         Show filter tags in mode line.
1791         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
1792         formatter.
1794         * org-export-latex.el (org-latex-entities-regexp): New constant.
1795         (org-export-as-pdf): Use two calls to `shell-command'.
1797 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
1799         * org-export-latex.el (org-export-latex-treat-sub-super-char):
1800         Honor the {} value of the subsuperscript setting.  Make sure that
1801         longer subsuperscripts are typeset in a roman font.
1803         * org.el (org-clock-update-time-maybe): Compute negative clock
1804         intervals correctly.
1806 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
1808         * org.el (org-add-log-setup): Respect
1809         `org-log-state-notes-insert-after-drawers'.
1810         (org-log-state-notes-insert-after-drawers): New option.
1811         (org-todo-trigger-tag-changes): New function.
1812         (org-todo): Call `org-todo-trigger-tag-changes'.
1814 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
1816         * org.el (org-add-log-setup): Only skip drawers if the are
1817         immediately after the scheduling keywords.
1819         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
1820         function
1821         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
1822         call it with the current todo state to get the state to switch to
1823         when clocking in.
1824         (org-clock-in): Use org-indent-line-function to indent clock lines.
1825         (org-clock-find-position): Fix indentation of empty clock drawers.
1827 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
1829         * org-publish.el (org-publish-org-to): Handle case when
1830         org-export-to-pdf does return a file name, not a buffer.
1831         (org-publish-org-to-pdf): New function.
1833         * org-export-latex.el (org-export-as-pdf)
1834         (org-export-as-pdf-and-open): New commands.
1836         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
1837         forms as ranges.
1839         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
1840         things in protexted regions.
1842 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
1844         * org-export-latex.el (org-export-latex-preprocess): Improve
1845         quoting of LaTeX environments.
1847 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
1849         * org.el (org-edit-fixed-width-region): Exclude final newline from
1850         picture area.
1852         * org-export-latex.el (org-export-latex-subcontent): Add labels to
1853         sections, to make internal links work.
1854         (org-export-latex-fontify-headline): Do not remove all text
1855         properties, to make sure that target properties survive this
1856         process.
1858         * org-exp.el (org-export-preprocess-string): Change sequence of
1859         modifications, to make sure links are prepared before the LaTeX
1860         conversions do happen.
1862 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
1864         * org-attach.el (org-attach-delete-all): Renamed from
1865         `org-attch-delete'.  Add a security query before deleting the
1866         entire directory.  New optional argument FORCE can overrule the
1867         security query.
1868         (org-attach-delete-one): New command.
1870 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
1872         * org-attach.el (org-attach-file-list): Fix bug with directory.
1874 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
1876         * org.el (org-apps-regexp-alist): New function.
1877         (org-file-apps): Add auto-mode to the default value.
1878         (org-open-file): Use the new structure of org-file-apps.
1880         * org-attach.el (org-attach): Support the new keys.
1881         (org-attach-method): New option.
1883 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
1885         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
1886         March.
1888         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
1889         of the list value o `org-use-tag-inheritance'.
1891         * org-attach.el (org-attach-auto-tag): New option.
1892         (org-attach-tag, org-attach-untag): New functions.
1893         (org-attach-attach, org-attach-new, org-attach-sync): Call
1894         `org-attach-tag'.
1895         (org-attach-delete): Call `org-attach-untag'.
1897 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
1899         * org-table.el (orgtbl-self-insert-command): Make this work for
1900         the keypad as well.
1902 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
1904         * org.el (org-add-log-setup): Limit searc for drawers to entry
1905         text, not to subtree.
1907         * org-clock.el (org-clock-heading-for-remember): New variable.
1908         (org-clock-in): Set `org-clock-heading-for-remember'.
1910 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
1912         * org-remember.el (org-remember-apply-template): Add new
1913         expansions: %k, %K for currently clocked task and a link to the
1914         currently clocked task, and %< to file notes in the currently
1915         clocked task.
1917 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
1919         * org-export-latex.el (org-export-latex-make-header): Also insert
1920         the content of the property :latex-header-extra.
1922         * org-exp.el (org-infile-export-plist): Put the content of
1923         #+LATEX_HEADER: into the property :latex-header-extra.
1925         * org-colview.el (org-columns-get-format-and-top-level): Remove
1926         resetting the marker.
1928         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
1929         Remove resetting the marker.
1931         * org.el (org-entry-property-inherited-from): Improve docstring.
1932         (org-entry-get-with-inheritance): Reset marker before starting the
1933         search.
1935         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
1937 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
1939         * org.el (org-entry-get-multivalued-property)
1940         (org-entry-protect-space, org-entry-restore-space): New
1941         functions.
1942         (org-file-apps-defaults-macosx): Let postscript files be opened by
1943         preview.
1944         (org-time-stamp-inactive): Call `org-time-stamp'.
1945         (org-time-stamp): New argument `inactive'.  Also edit inacive
1946         stamps. Convert time stamp type.
1947         (org-open-file): Interpret the `default' value for the `command'
1948         in `org-file-apps'.
1950         * org-id.el (org-id-int-to-b36-one-digit)
1951         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
1952         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
1953         b36.
1955 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
1957         * org-id.el (org-id-reverse-string): New function.
1958         (org-id-new): Use `org-id-reverse-string' to make sure the
1959         beginning chars of the ID are mutating fast.  This allows to use a
1960         directory structure to spread things better.
1961         (org-id-prefix): Changed default to nil.
1963         * org-list.el (org-move-item-down, org-move-item-up): Remember and
1964         restore the column of the cursor position.
1966         * org-remember.el (org-remember-apply-template): Remove properties
1967         from `initial'.
1969 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
1971         * org-wl.el (org-wl-open): Remove useless call to
1972         `wl-thread-open-all'.
1974         * org-remember.el (org-remember-handler): Fix bug with `bottom'
1975         location.
1977 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
1979         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
1980         `org-bbdb-anniversaries'.
1982         * org.el (org-get-next-sibling, org-forward-same-level): New
1983         functions, similar to the outline versions, but invisible headings
1984         are OK.
1986 2008-09-25  Bastien Guerry  <bzg@altern.org>
1988         * org.el (org-auto-repeat-maybe): Insert a space between
1989         the timestamp's type and the timestamp itself.
1991 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
1993         * org-table.el (org-table-sum): Do not format the result with %g,
1994         it does rounding when there are too many digits.
1996         * org.el (org-map-entries): Protect the keyword-selecting variables.
1998 2008-09-23  Bastien Guerry  <bzg@altern.org>
2000         * org-agenda.el (org-agenda-to-appt): Make sure the function check
2001         against all agenda files.
2003 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
2005         * org-list.el: New file, aggregating list functions from org.el
2006         and org-export-latex.el.
2008         * org.el (org-edit-src-region-extra): New option.
2010 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
2012         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
2013         time before 1am.
2015 2008-09-22  Bastien Guerry  <bzg@altern.org>
2017         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
2019 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
2021         * org-plot.el (org-plot/gnuplot): Make tables starting with a
2022         hline work correctly.
2023         (org-plot/gnuplot-script): Put commas at the end of each script
2024         line.
2026 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
2028         * org.el (org-get-refile-targets): Replace links with their
2029         descriptions
2030         (org-imenu-get-tree): Replace links with their descriptions.
2032         * org-remember.el (org-remember-apply-template): Add a new
2033         expansion for adding properties to remember items.
2035         * org.el (org-add-log-setup): Skip over drawers (properties,
2036         clocks etc) when adding notes.
2038         * org-agenda.el (org-agenda-get-closed): show durations of clocked
2039         items as well as the start and end times.
2041         * org-compat.el (org-get-x-clipboard-compat): Add a compat
2042         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
2044         * org-remember.el (org-get-x-clipboard): Use the compat
2045         function to get clipboard values when x-selection-value is
2046         unavailable. Use substring-no-properties instead of
2047         set-text-properties to remove text properties from the clipboard
2048         value.
2050         * lisp/org-clock.el (org-update-mode-line): Support limiting the
2051         modeline clock string, and display the full todo value in the
2052         tooltip. Set a local keymap so mouse-3 on the clock string goes to
2053         the currently clocked task.
2054         (org-clock-string-limit): Add a custom value for the maximum
2055         length of the clock string in the modeline.
2056         (org-clock-mode-map): Add a keymap for the modeline string
2058 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
2060         * org-compat.el (org-propertize): New function.
2062 2008-09-20  Bastien Guerry  <bzg@altern.org>
2064         * org-export-latex.el (org-export-latex-tables): protect exported
2065         tables from further special chars conversion.
2066         (org-export-latex-preprocess): Preserve LaTeX environments.
2067         (org-list-parse-list): Parse descriptive lists.
2068         (org-list-to-generic, org-list-to-latex, org-list-to-html)
2069         (org-list-to-texinfo): Export descriptive lists.
2070         (org-quote-chars): Remove.
2071         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
2072         (org-export-latex-list-beginning-re): Rename to
2073         `org-list-beginning-re'
2074         (org-list-item-begin): Rename to `org-list-item-beginning'
2076 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
2078         * org.el (org-refile): Allow refiling to the last entry in the
2079         buffer.
2080         (org-get-tags-at): Fix bug when inheritance is turned off.
2082 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
2084         * org.el (org-indent-line-function): No longer check for src
2085         regions, this is too much overhead.
2087         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
2088         matching.
2090         * org.el (org-scan-tags): Make sure that tags matching is not case
2091         sensitive.  TODO keyword matching is case sensitive, however, to
2092         avoid confusion with similar words that are not meant to be
2093         keywords.
2095 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
2097         * org.el (org-get-local-tags-at): New function.
2098         (org-get-local-tags): New function.
2100         * org-exp.el (org-export-get-categories): New function.
2102         * org-agenda.el (org-sorting-choice)
2103         (org-agenda-sorting-strategy, org-agenda-get-todos)
2104         (org-agenda-get-timestamps, org-agenda-get-deadlines)
2105         (org-agenda-get-scheduled, org-agenda-get-blocks)
2106         (org-entries-lessp): Implement sorting by TODO state.
2107         (org-cmp-todo-state): New defsubst.
2109         * org-colview.el (org-colview-construct-allowed-dates): New
2110         function.
2111         (org-columns-next-allowed-value): Use
2112         `org-colview-construct-allowed-dates'.
2114         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
2115         function.
2116         (org-columns-next-allowed-value): Use
2117         `org-colview-construct-allowed-dates'.
2119 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
2121         * org.el (org-protect-slash): New function.
2122         (org-get-refile-targets): Use `org-protect-slash'.
2124         * org-agenda.el (org-global-tags-completion-table): New variable.
2126         * org-exp.el (org-export-handle-export-tags): New function.
2127         (org-export-preprocess-string): Call
2128         `org-export-handle-export-tags'.
2130         * org-plot.el: New file.
2132         * org-publish.el (org-publish-expand-components): Function removed.
2133         (org-publish-expand-projects): Allow components to have components.
2135 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
2137         * org.el (org-indent-line-function): Do not indent in regions that
2138         are external source code.
2139         (org-yank-and-fold-if-subtree): New function.
2141         * org-agenda.el (org-agenda-todayp): New function.
2142         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
2143         `org-agenda-todayp'.
2145         * org.el (org-insert-heading-respect-content)
2146         (org-insert-todo-heading-respect-content): New commands.
2147         (org-insert-heading-respect-content): New option.
2148         (org-insert-heading): Respect `org-insert-heading-respect-content'.
2150         * org-clock.el (org-clock-find-position): Make sure the note after
2151         the clock line gets moved into the new clock drawer.
2153 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
2155         * org-id.el (org-id-new): New option.
2157 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
2159         * org-table.el (org-table-copy-down): Avoid overflow during
2160         increment.  Use prefix argument 0 to temporarily disable the
2161         increment.
2163 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
2165         * org-exp.el (org-export-as-html): Do not turn on the major mode
2166         if the buffer will be killed anyway.
2167         (org-get-current-options): Exclude the #+TEXT field.
2168         (org-export-as-html): Make sure text before the first headline is
2169         a paragraph.
2171         * org-publish.el (org-publish-org-to): Tell the exporter that this
2172         buffer will be killed, so it is not necessary to do major mode
2173         initialization.
2175         * org-archive.el (org-archive-to-archive-sibling): Show empty
2176         lines after folding the archive sibling.
2178         * org.el (org-log-note-extra): New variable.
2180 2008-09-05  Bastien Guerry  <bzg@altern.org>
2182         * org.el (org-additional-option-like-keywords): Added keywords for
2183         the _QUOTE, _VERSE and _SRC environments.
2185         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
2186         exporting _QUOTE and _VERSE environments.
2188 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
2190         * org-agenda.el (org-agenda-filter-by-tag): New command.
2192         * org-exp.el (org-get-current-options): Remove angular brackets
2193         from the date entry.
2195         * org.el (org-edit-fixed-width-region): New function.
2196         (org-edit-fixed-width-region): Also try
2197         `org-edit-fixed-width-region'.
2198         (org-edit-fixed-width-region-mode): New option.
2199         (org-activate-code): Only interprete lines starting with colon
2200         plus a space as example lines.
2202         * org-remember.el (org-remember-templates): Add nil instead of
2203         empty strings to fix the length of remember templates.
2205         * org-table.el (org-calc-default-modes): Fix the time format for
2206         calc, from 12 hour to 24 hour clock.
2208 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
2210         * org-agenda.el (org-agenda-get-deadlines)
2211         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
2212         entries that are pre-warnings of deadlines or reminders.
2214         * org.el (org-sort-entries-or-items): Make numeric and alpha
2215         comparisons ignore any TODO keyword and priority cookie.
2217         * org-remember.el (org-remember-handler): Reinterpretation of the
2218         prefix argument.
2220 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
2222         * org-agenda.el (org-agenda-get-scheduled): Use new
2223         `org-scheduled' face.
2225         * org-faces.el (org-scheduled): New face.
2227         * org-wl.el (org-wl-open): Remove incorrect declaration.
2229         * org-gnus.el (org-gnus-store-link): Support for :to information
2230         in gnus links.
2232         * org-exp.el (org-export-as-html): Fixed typo in creator
2233         information.
2234         (org-export-protect-examples): New parameter indent.  Insert extra
2235         spaces only when this parameter is specified.
2236         (org-export-preprocess-string): Call `org-export-protect-examples'
2237         with an indentation parameter when exporting to ASCII.
2239         * org-remember.el (org-remember-templates)
2240         (org-remember-apply-template): Allow the file component to be a
2241         function.
2243         * org.el (org-goto-local-search-headings): Renamed from
2244         `org-goto-local-search-forward-headings'.  Added the possibility
2245         to search backwards.
2247 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
2249         * org-export-latex.el (org-export-latex): New customization
2250         group.
2252         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
2254 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
2256         * org-exp.el (org-html-do-expand): Allow {} to terminate
2257         tex macro
2259 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
2261         * org.el (org-buffer-list): Select buffers based on major mode,
2262         not on file name.
2264 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
2266         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
2267         face property.
2269         * org-colview.el (org-columns-display-here): Use
2270         `org-columns-modify-value-for-display-function'.
2272         * org-colview-xemacs.el (org-columns-display-here): Use
2273         `org-columns-modify-value-for-display-function'.
2275 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
2277         * org.el (org-columns-modify-value-for-display-function): New option.
2289         * org-publish.el (org-publish-file): Make sure the directory match
2290         for the publishing directory works correctly.
2292         * org-agenda.el (org-agenda-execute-calendar-command)
2293         (org-agenda-diary-entry): Additional optional argument.
2295 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
2297         * org-exp.el (org-export-as-html): Add attributes also in mailto
2298         and ftp links.
2300         * org.el (org-autoload): Add `org-dblock-write:columnview'.
2309 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
2311         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
2312         sure that calls from `org-export-region-as-html' do not do the
2313         special check for a subtree.
2315 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
2317         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
2319 2008-07-20  Juri Linkov  <juri@jurta.org>
2321         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
2322         new keymap `narrow-map' instead of binding "\C-xns".
2324 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
2326         * org.el (org-open-file): Use
2327         `org-open-directory-means-index-dot-org'.
2328         (org-open-directory-means-index-dot-org): New option.
2330 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
2332         * org.el (org-make-link-string): Remove link attributes from
2333         description.
2334         (org-open-at-point): Remove link attributes bevore using the path.
2336         * org-exp.el (org-export-as-html): Handle link attributes.
2338         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
2340         * org-table.el (org-table-to-lisp): New function.
2342         * org.el (org-narrow-to-subtree): Do not include the final newline
2343         into the narrowed region.
2345         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
2346         bug with user-define skipping condition.
2348 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
2350         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
2352 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
2354         * org-exp.el (org-export-html-style-default): Automatic overflow
2355         handling for pre fields.
2356         (org-export-as-ascii, org-export-as-html): Change default format
2357         for time stamp.
2359         * org-table.el (org-table-export): Offer completion for translator
2360         functions, and do not require a heading above the table.
2362         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
2363         Cater for the case of a list starting in the first line of the
2364         buffer.
2366 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
2368         * org-publish.el (org-publish-find-title): Bug fix.
2369         (org-publish-org-index): Implement new :index-style option.
2371 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
2373         * org-publish.el (org-publish-timestamp-filename): Use
2374         SHA1-encoded file names in the timestamp directory.
2376 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
2378         * org-publish.el (org-publish-needed-p): Be verbose about files
2379         published and files skipped.
2381         * org-exp.el (org-export-preprocess-string): Swap link
2382         normalization and inernal link targeting.
2384         * org-publish.el (org-publish-needed-p): Create timestamp
2385         directory when it does not exist.
2387 2008-07-04  Bastien Guerry  <bzg@altern.org>
2389         * org-clock.el (org-clock-out-when-done): Doc fix.
2391         * org.el (org-agenda-skip-unavailable-files): Doc fix.
2393         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
2394         Ignore case when searching for the COMMENT cookie at export time.
2396 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
2398         * org-exp.el (org-get-file-contents)
2399         (org-get-and-remove-property): New functions.
2400         (org-export-handle-include-files): Handle the new prefix options.
2401         (org-export-as-html): Fix the verse environment.
2403 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
2405         * org.el (org-time=, org-time<, org-time<=, org-time>)
2406         (org-time>=, org-time<>, org-2ft): New functions.
2407         (org-op-to-function): Also provide for the time testing fucntions.
2409 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
2411         * org-exp.el (org-export-html-style-default): New constant.
2413 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
2415         * org-exp.el (org-export-html-style-extra): New variable.
2416         (org-export-splice-style): New function.
2418 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
2420         * org-exp.el (org-export-plist-vars, org-export-as-html):
2421         Implement `org-export-creator-info'.
2422         (org-export-creator-info): New option.
2424 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
2426         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
2427         (org-property-drawer-re, org-clock-drawer-re): New constants.
2429 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
2431         * org-exp.el (org-icalendar-use-deadline)
2432         (org-icalendar-use-scheduled): New options.
2433         (org-icalendar-include-todo): Default changed to t.
2434         (org-print-icalendar-entries): Implement better utilization of
2435         scheduling and deadline time stamps.
2436         (org-export-target-internal-links, org-export-as-html): Allow file
2437         lines without the "file:" prefix if the file path is an absolute
2438         path or starts with ".".
2440         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
2441         lastweek etc.
2442         (org-clock-special-range): Also undertand yesterday, lastweek etc.
2444 2008-06-18  Glenn Morris  <rgm@gnu.org>
2445         * org.el (org-map-entries): Let-bind `file'.
2447 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
2449         * org.el (org-agenda-skip-archived-trees): Docstring now
2450         discourages using this.
2451         (org-scan-tags): Check for org-agenda-archives-mode.
2452         (org-map-entries): Make sure org-agenda-archives-mode is nil.
2453         (org-agenda-files): Functionality of second arg changed.
2455         * org-agenda.el (org-agenda-archives-mode): New variable
2456         (org-write-agenda, org-prepare-agenda, org-agenda-list)
2457         (org-search-view, org-todo-list, org-tags-view)
2458         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
2459         `ifmode' argument.
2460         (org-agenda-quit): Reset the archives mode.
2461         (org-agenda-archives-mode): New command.
2462         (org-agenda-set-mode-name): Include archives info.
2464 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
2466         * org.el (org-paste-subtree): Make sure the yanked headline is
2467         visible if it was yanked at a visible point.
2468         (org-move-item-up): Fix the bug with moving white space at the end
2469         of the item.
2470         (org-show-empty-lines-in-parent): New function.
2472 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
2474         * org-colview.el (org-columns-next-allowed-value): Bug fix.
2476         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
2478         * org-agenda.el (org-agenda-get-closed): Get the end time into the
2479         agenda prefix as well.
2481         * org-publish.el (org-publish-org-index): Make a properly indented
2482         list.
2484         * org.el (org-calendar-agenda-action-key): New option.
2485         (org-get-cursor-date): New function.
2486         (org-mark-entry-for-agenda-action): New command.
2487         (org-overriding-default-time): New variable.
2488         (org-read-date): Respect `org-overriding-default-time'.
2490         * org-remember.el (org-remember-apply-template): Respect the
2491         ovverriding default time.
2493         * org-agenda.el (org-agenda-action-marker): New variable.
2494         (org-agenda-action): New command.
2495         (org-agenda-do-action): New function.
2497 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
2499         * org.el (org-schedule, org-deadline): Protect scheduled and
2500         deadline tasks against changes that accidently remove the
2501         repeater.  Also show a message with the new date when done.
2503 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
2505         * org.el (org-beginning-of-line): Cater for the case when there
2506         are tags but no headline text.
2507         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
2508         it set.
2510 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
2512         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
2513         the return value is nil instead of "nil" when there is no match.
2515         * org-exp.el (org-insert-centered): Use fill-column instead of
2516         80.
2517         (org-export-as-ascii): Use string-width to measure the width of
2518         the heading.
2520         * org.el (org-diary-to-ical-string): No longer kill buffer
2521         FROMBUF, this is now done by the caller.
2523         * org-exp.el (org-print-icalendar-entries): Move the call to
2524         `org-diary-to-ical-string' out of the loop, and kill the buffer
2525         afterwords.
2527         * org-remember.el (org-remember-visit-immediately): Position
2528         cursor after moving to the note.
2529         (org-remember-apply-template): Use a text property to record the
2530         cursor position.
2531         (org-remember-handler): Align tags after pasting the note.
2533 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
2535         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
2537         * org-agenda.el (org-agenda-open-link): If there is an
2538         org-bbdb-name property in the current line, jump to that bbdb
2539         entry.
2541         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
2542         text property, so that the agenda knows where this entry comes
2543         from.
2545         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
2546         interaction between clocking-in from the agenda, and  automatic
2547         task state switching.
2549         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
2551         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
2552         zmacs-region stays after this command in XEmacs.
2554 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
2556         * org.el (org-scan-tags): Allow new values for ACTION parameter.
2558         * org-remember.el (org-remember-templates): Fix bug in
2559         customization type definition.
2561         * org.el (org-map-entries): New function.
2563 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
2565         * org-agenda.el (org-agenda-skip-comment-trees): New option.
2566         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
2568 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
2570         * org-remember.el (org-jump-to-target-location): New variable.
2571         (org-remember-apply-template): Set
2572         `org-remember-apply-template' if requested by template.
2573         (org-remember-handler): Start an idle timer to jump to
2574         remember location.
2576         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
2578         * org.el (org-set-regexps-and-options): Fix bug with parsing of
2579         file tags.
2580         (org-get-tags-at): Add the content of `org-file-tags'.
2582         * org-exp.el (org-export-handle-comments): Fix bug with several
2583         comment lines after each other.
2584         (org-number-to-roman, org-number-to-counter): New functions.
2585         (org-export-section-number-format): New option.
2587 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
2589         * org-exp.el (org-export-protect-examples): Catch the case of a
2590         missing end_example line.
2592         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
2593         `org-file-tags' to nil.
2595         * org-colview.el (org-columns-next-allowed-value): Handle next
2596         argument NTH to directly select a value.
2598         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
2599         argument NTH to directly select a value.
2601 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
2603         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
2605 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
2607         * org.el (org-columns-ellipses): New option.
2609 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
2611         * org-colview.el (org-columns-add-ellipses): New function.
2612         (org-columns-compact-links): New function.
2613         (org-columns-cleanup-item): Call `org-columns-compact-links'.
2614         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
2615         when in agenda.
2616         (org-columns-edit-value): Fixed bug with editing values from
2617         agenda column view.
2618         (org-columns-redo): Also redo the agenda itself.
2620 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
2622         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
2623         option.
2625         * org-colview.el (org-agenda-columns-cleanup-item): New function.
2627         * org-exp.el (org-export-ascii-preprocess): Renamed from
2628         `org-export-ascii-clean-string'.
2629         (org-export-kill-licensed-text)
2630         (org-export-define-heading-targets)
2631         (org-export-handle-invisible-targets)
2632         (org-export-target-internal-links)
2633         (org-export-remove-or-extract-drawers)
2634         (org-export-remove-archived-trees)
2635         (org-export-protect-quoted-subtrees)
2636         (org-export-protect-verbatim, org-export-protect-examples)
2637         (org-export-select-backend-specific-text)
2638         (org-export-mark-blockquote-and-verse)
2639         (org-export-remove-comment-blocks-and-subtrees)
2640         (org-export-handle-comments, org-export-mark-radio-links)
2641         (org-export-remove-special-table-lines)
2642         (org-export-normalize-links)
2643         (org-export-concatenate-multiline-links)
2644         (org-export-concatenate-multiline-emphasis): New functions,
2645         obtained from spliiting the export preprocessor.
2647         * org-table.el (org-table-recalculate): Improve error message if
2648         the row number is invalid.
2650 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
2652         * org-archive.el (org-archive-save-context-info): Fix bugs in
2653         customization setup and docstring.
2655         * org-exp.el (org-export-html-style): Changed the size of in the
2656         <pre> element to 90%.
2658 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
2660         * org.el (org-find-src-example-start): Function removed.
2661         (org-edit-src-find-region-and-lang): New function.
2663 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
2665         * org.el (org-edit-src-exit): New function.
2666         (org-exit-edit-mode): New minor mode.
2668         * org-exp.el (org-export-preprocess-string): Fix bug with removing
2669         comment-like lines from protected examples.
2671         * org.el (org-edit-src-example, org-find-src-example-start)
2672         (org-protect-source-example, org-edit-special): New functions.
2674 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
2676         * org-publish.el (org-publish-project-alist): Fix typo in
2677         docstring.
2678         (org-publish-project-alist): Handle :index-title property.
2680 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
2682         * org-export-latex.el (org-export-as-latex): Make sure region
2683         bounds are correct.  Parse subtree properties relating to export.
2685         * org-exp.el (org-export-add-options-to-plist): New function.
2686         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
2688 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
2690         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
2691         EXPORT_TITLE.
2693         * org-exp.el (org-export-get-title-from-subtree)
2694         (org-export-as-ascii, org-export-as-html): Make sure the original
2695         region-beginning and region-end are used, even after moving
2696         point.
2697         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
2698         property.
2700         * org-remember.el (org-remember-last-stored-marker): New variable.
2701         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
2702         (org-remember-handler): Also use marker to remember
2703         last-stored position.
2705         * org.el (org-goto-marker-or-bmk): New function.
2707 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
2709         * org.el (org-file-properties): Renamed from `org-local-properties'.
2710         (org-scan-tags): Take file tags into account.
2711         (org-tags-match-list-sublevels): Default changed to t.
2713         * org-exp.el (org-export-as-html): Close paragraph after a
2714         footnote.
2716         * org.el (org-update-parent-todo-statistics): New function.
2718         * org-exp.el (org-icalendar-store-UID): New option.
2719         (org-icalendar-force-UID): Option removed.
2720         (org-print-icalendar-entries): IMplement UIDs.
2722 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
2724         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
2726 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
2728         * org-faces.el (org-column): Document how this face is being used
2729         and why sometimes the background faces shine through.
2731         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
2733         * org-publish.el (org-publish-attachment): Create publishing
2734         directory if it does not yet exist.
2736         * org-table.el (org-calc-default-modes): Change default number
2737         format to (float 8).
2739         * org.el (org-olpath-completing-read): New function.
2740         (org-time-clocksum-format): New option.
2741         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
2743         * org-clock.el (org-clock-display, org-clock-out)
2744         (org-update-mode-line): Use `org-time-clocksum-format'.
2746         * org-colview-xemacs.el (org-columns-number-to-string): Use
2747         `org-time-clocksum-format'.
2749         * org-colview.el (org-columns-number-to-string): Use
2750         `org-time-clocksum-format'.
2752 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
2754         * org-id.el: New file, move from contrib to core.
2756         * org-exp.el (org-icalendar-force-UID): New option.
2758 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
2760         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
2761         shifted by one day if theere is a date range without an end
2762         time.
2764         * org.el (org-try-structure-completion): New function.
2766 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
2768         * org.el (org-set-font-lock-defaults): Improve fontification of
2769         description lists.
2770         (org-insert-item): Handle description lists.
2771         (org-adaptive-fill-function): Improve auto indentation in
2772         description lists.
2774         * org-exp.el (org-export-as-html, org-export-preprocess-string):
2775         Implement VERSE environment.
2776         (org-export-preprocess-string): Implement the COMMENT
2777         environment.
2779         * org-export-latex.el (org-export-latex-preprocess): Implement
2780         VERSE environment.
2782 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
2784         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
2785         option.
2787 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
2789         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
2791         * org.el (org-quote-csv-field): New functions.
2793         * org-table.el (org-table-export-default-format): Remove :splice
2794         from default format, we get the same effect by not specifying
2795         :tstart and :tend.
2796         (org-table-export): Improve setup, distinguish better between
2797         interactive and non-interactive use, allow specifying the format
2798         on the fly, better protection against wrong file names.
2799         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
2800         and :tend when :splice is omitted.
2802 2008-05-09  Bernt Hansen  <bernt@norang.ca>
2804         * org-clock.el (org-clock-select-task): Make sure the selection
2805         letters are 1-9 and A-Z, no special characters.
2807 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
2809         * org-exp.el (org-export-htmlize): New group.
2810         (org-export-htmlize-output-type)
2811         (org-export-htmlize-css-font-prefix): New options.
2812         (org-export-htmlize-region-for-paste): New function.
2813         (org-export-htmlize-generate-css): New command.
2815 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
2817         * org/org.el (org-modules, org-format-latex-options):
2818         * org/org-archive.el (org-archive-stamp-time)
2819         (org-archive-save-context-info):
2820         * org/org-faces.el (org-hide):
2821         * org/org-irc.el (org-irc-parse-link):
2822         * org/org-macs.el (org-call-with-arg, org-autoload):
2823         * org/org-mew.el (org-mew-store-link):
2824         * org/org-remember.el (org-remember-store-without-prompt)
2825         (org-remember-templates): Fix typos in docstrings.
2827         * org/org-info.el (org-info-store-link): Remove leftover docstring.
2829         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
2830         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
2831         (org-bbdb-anniv-split): Fix typos in docstrings.
2833         * org/org-publish.el (org-publish-project-alist): Doc fixes.
2834         (org-publish-use-timestamps-flag): Reflow docstring.
2835         (org-publish-files-alist): Fix typos in docstring.
2837 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
2839         * org.el (org-set-visibility-according-to-property): New function.
2840         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
2841         and compute the regular expressions, and update font-lock.
2842         (org-property-re): Allow a dash in property names.
2844         * org-archive.el (org-extract-archive-file): Insert the file name
2845         without the path into the format, to allow the location format to
2846         contain a subdirectory.
2848         * org-agenda.el (org-agenda-post-command-hook): If point is at end
2849         of buffer, and the `org-agenda-type' property undefined, use the
2850         value from the character before.
2852         * org.el (org-add-planning-info): Don't let indentation for
2853         would-be timestamp become extra whitespace at the end of headline.
2855 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
2857         * org.el (org-remove-double-quotes, org-file-contents): New
2858         functions.
2860         * org-exp.el (org-infile-export-plist): Also parse the
2861         contents of #+SETUPFILE files, recursively.
2863         * org.el (org-set-regexps-and-options): Also parse the
2864         contents of #+SETUPFILE files, recursively.
2866         * org-exp.el (org-export-handle-include-files): New function.
2867         (org-export-preprocess-string): Call
2868         `org-export-handle-include-files'.
2870         * org.el (org-delete-property-globally)
2871         (org-delete-property, org-set-property): Ignore case during
2872         completion.
2873         (org-set-property): Use `org-completing-read' instead of
2874         `completing-read'.
2876         * org.el (org-complete-expand-structure-template): New,
2877         experimental function.
2878         (org-structure-template-alist): New, experimental option.
2879         (org-complete): Call `org-complete-expand-structure-template'.
2881 2008-05-06  Bastien Guerry  <bzg@altern.org>
2883         * org-export-latex.el (org-export-latex-preprocess): Added
2884         support for blockquotes.
2886 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
2888         * org.el (org-read-date-analyze): Catch the case where only a
2889         weekday is given.
2891 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
2893         * org.el (org-set-font-lock-defaults): Make the description
2894         tag bold.
2896         * org-exp.el (org-export-as-html, org-close-li): Implement
2897         description lists.
2899 2008-05-04  Jason Riedy  <jason@acm.org>
2901         * org-table.el (*orgtbl-default-fmt*): New variable.
2902         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
2903         when there is no other fmt available.
2905         (orgtbl-to-generic): Allow an explicitly nil :tstart or
2906         :tend to suppress the appropriate string.
2908         (orgtbl-to-orgtbl): New function for translating to another orgtbl
2909         table.
2911 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
2913         * org.el (org-read-date-analyze): "." as an alias for "+0" in
2914         read date.
2916         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
2917         New function.
2919         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
2920         New function.
2922 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
2924         * org-clock.el (org-clock-find-position): Don't include notes
2925         into clock drawer.
2927         * org-archive.el (org-archive-subtree): No longer remove an
2928         extra line after cutting the subtree.  `org-cut-subtree' already
2929         takes care of this.
2931         * org-remember.el (org-remember-handler): Only kill the target
2932         buffer if it does not contain the running clock.
2934         * org.el (org-markers-to-move): New variable.
2935         (org-save-markers-in-region, org-check-and-save-marker)
2936         (org-reinstall-markers-in-region): New function.
2937         (org-move-subtree-down, org-copy-subtree): Remember relative
2938         marker positions before cutting.
2939         (org-move-subtree-down, org-paste-subtree): Restore relative
2940         marker positions after pasting.
2942         * org-remember.el (org-remember-clock-out-on-exit): New option.
2943         (org-remember-finalize): Clock out only if the setting in
2944         `org-remember-clock-out-on-exit' requires it.
2945         (org-remember-handler): Do the cleanup in the buffer, to make sure
2946         that the clock marker remains in tact.
2948 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
2950         * org-clock.el (org-clock-goto): Widen buffer if necessary.
2951         (org-clock-in): Make sure that also tasks outside the narrowed
2952         region will be clocked in correctly.
2953         (org-clock-insert-selection-line): Widen the buffer so that we can
2954         find the correct task heading.
2956         * org.el (org-base-buffer): New function.
2958         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
2959         and ";" are escaped.
2960         (org-print-icalendar-entries): Also apply
2961         `org-icalendar-cleanup-string' to the headline, not only to the
2962         summary property.
2964 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
2966         * org-exp.el (org-export-preprocess-hook): New hook.
2967         (org-export-preprocess-string): Call
2968         `org-export-preprocess-hook'.
2970         * org.el (org-font-lock-hook): New variable.
2971         (org-font-lock-hook): New function.
2972         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
2974 ;; Local Variables:
2975 ;; coding: utf-8
2976 ;; add-log-time-zone-rule: t
2977 ;; End:
2979     Copyright (C) 2008  Free Software Foundation, Inc.
2981   This file is part of GNU Emacs.
2983   GNU Emacs is free software: you can redistribute it and/or modify
2984   it under the terms of the GNU General Public License as published by
2985   the Free Software Foundation, either version 3 of the License, or
2986   (at your option) any later version.
2988   GNU Emacs is distributed in the hope that it will be useful,
2989   but WITHOUT ANY WARRANTY; without even the implied warranty of
2990   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2991   GNU General Public License for more details.
2993   You should have received a copy of the GNU General Public License
2994   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
2996 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c