Release 6.23
[org-mode.git] / lisp / ChangeLog
blob8684e9eb43fcf27dd7903df721296fcc3360dff5
1 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-priority): Also find invisible heading.
5         * org-colview-xemacs.el (org-columns-edit-value): No special
6         treatment for `org-todo' prefix.
8         * org-colview.el (org-columns-edit-value): No special treatment
9         for `org-todo' prefix.
11         * org-remember.el (org-remember-apply-template): Use
12         `org-completing-read-no-ido'.
14         * org.el (org-completing-read-no-ido): New function.
15         (org-make-tags-matcher, org-set-property): Use
16         `org-completing-read-no-ido'.
18         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
19         New option.
20         (org-export-as-latex): Import in-buffer settings as TeX macros.
21         (org-export-latex-make-header): Additional parameter OPT-DEFS.
22         (org-export-latex-collect-header-macros): New function.
24         * org.el (org-refile-get-location): Turn off
25         `partial-completion-mode'.
27 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
29         * org.el (org-block-todo-from-checkboxes): Announce that
30         checkboxes are the culprit.
31         (org-block-todo-from-children-or-siblings): Call
32         `org-up-heading-all instead' of `outline-up-heading'.
34         * org-agenda.el (org-agenda-show-1): Renamed from
35         `org-agenda-show'.
36         (org-agenda-show): Re-install the old version for now.
37         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
38         variable into the blokker hook, so that the checkbox checker can
39         anounce that it caused the blocking.
41         * org.el (org-track-ordered-property-with-tag): New option.
42         (org-toggle-ordered-property): Honor
43         `org-track-ordered-property-with-tag'.
44         (org-tag-alist): Add newline options.
45         (org-set-regexps-and-options): Separate option lines imply a
46         newline.
47         (org-set-regexps-and-options, org-assign-fast-keys)
48         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
49         option.
50         (org-indent-line-function): Make sure this works even if there is
51         not `org-drawer-regexp' defined.  This can happen when
52         orgstruct-mode is used in a non-org buffer.
54         * org-list.el (org-checkbox-blocked-p): New function.
55         (org-toggle-checkbox): Check for blocking.
57         * org.el (org-modules): Add an entry for org-R.el.
59         * org-agenda.el (org-agenda-todo-ignore-with-date)
60         (org-agenda-todo-ignore-scheduled)
61         (org-agenda-todo-ignore-deadlines): Mention the variable
62         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
64         * org.el (org-get-wdays): Find the warning period also if it is in
65         the wrong place.
66         (org-ido-completing-read): Provide the correct arguments to
67         ido-completing-read and bind `ido-enter-matching-directory' to
68         nil.
70 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
72         * org.el (org-olpath-completing-read): Never use ido for this
73         one.
75         * org-exp.el (org-export-normalize-links): Use new macro.
77         * org-macs.el (org-if-unprotected-at): New macro.
79         * org-agenda.el (org-agenda-show): Allow numerical prefix
80         arguments to specify how much context should be shown.
81         (org-agenda-cycle-show): New command, could be bound to SPC in
82         org-agenda-mode-map.
84         * org-exp.el (org-html-level-start): Space after section number.
86 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
88         * org-agenda.el (org-agenda-get-sexps): Add todo state as
89         property, for sorting.
90         (org-cmp-todo-state): Get the applicable TODO keywords directly
91         from the buffer.
92         (org-run-agenda-series, org-agenda-list, org-search-view)
93         (org-todo-list, org-tags-view): Only fit agenda window when the
94         whole series is done.
96         * org.el (org-scan-tags): Add todo state as property, for sorting.
98         * org-agenda.el (org-agenda-custom-commands-local-options): Add
99         `org-agenda-overriding-header' as an option.
100         (org-agenda-list): Honor org-agenda-overriding-header'.
102 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
104         * org-list.el (org-toggle-checkbox): Improve cursor positioning
105         after removing a checkbox.
107         * org.el (org-show-entry): Make this work correctly also if it is
108         the last entry in the file.
109         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
110         falling back to normal, default command.
111         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
112         item, call the checkbox toggler to get a box.
114         * org-list.el (org-toggle-checkbox): Make double prefix set the
115         checkbox to "[-]".
116         (org-fix-bullet-type): Only replace bullet it it is changed.
117         (org-renumber-ordered-list): Handle case when first item does not
118         have a number.
120         * org.el (org-add-log-setup): Fix positioning when
121         `org-log-states-order-reversed' is nil.
123         * org-clock.el (org-clock-in): Fix positioning when
124         `org-log-states-order-reversed' is nil.
125         (org-clock-find-position): Fix positioning when
126         `org-log-states-order-reversed' is nil.
128 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
130         * org-clock.el (org-clock-into-drawer): Take default from
131         `org-log-into-drawer'.
132         (org-clock-find-position): Look for the correct drawer.
134         * org.el (org-log-into-drawer): Renamed from
135         `org-log-state-notes-into-drawer'.
136         (org-log-state-notes-into-drawer): New variable alias.
137         (org-add-log-setup): Make drawer name default to LOGBOOK, not
138         CLOCK.
139         (org-insert-property-drawer): Also skip LOGBOOK drawers.
141 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
143         * org-agenda.el (org-agenda): Fix docstring.
145         * org.el ("org-plot"): Help loading org-plot.
146         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
147         (org-metadown-hook, org-shiftmetaleft-hook)
148         (org-shiftmetaright-hook, org-shiftmetaup-hook)
149         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
150         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
151         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
152         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
154         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
155         for selecting files with any (and even without) extension.
157         * org.el (org-save-all-org-buffers): Also save id locations.
158         (org-revert-all-org-buffers): Also load id locations.
160 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
161         * org.el (org-drawers): Add LOGBOOK to the default drawers.
162         (org-log-state-notes-into-drawer): New option.
163         (org-add-log-setup): Place the sate note marker into the drawer,
164         create drawer when necessary.
165         (org-refile-targets): Document special interpretation of LEVEL
166         when odd-levels are used.
168 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
170         * org.el (org-store-log-note): Fix note indentation when adding
171         notes to end of list.
173         * org-exp.el (org-export-as-html): Add TODO keyword as extra
174         class, so that each keyword can get special colors through CSS.
176         * org-clock.el (org-clock-out): Add another nil for the previous
177         state into the call to `org-add-log-setup'.
179         * org.el (org-log-note-previous-state): New variable.
180         (org-log-note-headings): New %S escape for old state.
181         (org-todo): Call the note setup with the old state as an
182         argument.
183         (org-add-note): Add another nil for the previous state into the
184         call to `org-add-log-setup'.
185         (org-add-log-setup): New argument PREV-STATE.
186         (org-add-log-note): Handle new %S escape.
187         (org-store-log-note): Handle new %S escape.
189 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
191         * org-clock.el (org-clock-find-position): Do not swallow an item
192         less indented than the CLOCK line itself.
193         (org-clock-in): Push markers to lin after the clock line.
194         (org-clock-find-position): Handle values of
195         `org-clock-into-drawer' smaller than 2.
197         * org-exp.el (org-html-level-start): Add a CSS class to section
198         numbers.
199         (org-export-html-toplevel-hlevel): Better documentation of the
200         influence of this variables on H levels and css classes in
201         export.
203 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
205         * org-agenda.el (org-agenda-custom-commands-local-options): Add
206         timestamp and nottimestamp to the chooe menu.
208         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
209         (org-revert-all-org-buffers): New command.
211 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
213         * org.el (org-return): Implement `org-return-follows-link' in the
214         function org-return.  This is more robust than using the mouse
215         map, I think.
216         (org-set-regexps-and-options): Match more general #+TODO lines.
217         (org-make-options-regexp): New optional argument EXTRA, for an
218         extra regexp.
219         (org-tab-follows-link): Mark as deprecated.
221 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
223         * org-exp.el (org-export-preprocess-string): Remove clock lines
224         earlier, so that they cannot cotribute to verbatim snippets.
226 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
228         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
229         for finding drawers.
230         (org-export-as-ascii, org-export-as-html): Count levels relative
231         to the subtree header.
232         (org-get-min-level): New optional argument OFFSET.
233         (org-export): Make sure point is restored after popping up that
234         window.
236         * org.el (org-do-sort): Also take an inactive timestamp if no
237         active one is found.
239         * org-colview-xemacs.el (org-columns-capture-view): Copy before
240         deleting duplicates.
242         * org-colview.el (org-columns-capture-view): Copy before
243         deleting duplicates.
245         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
246         text before first headline.
248         * org.el (org-format-latex): Do not convert LaTeX fragments in
249         protected examples.
251 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
253         * org-exp.el (org-export-html-style-default): Use color values
254         instead of names for XHTML validation.
256         * org.el (org-get-scheduled-time, org-get-deadline-time): New
257         functions.
258         (org-return-follows-link): Revert making this the default untile
259         issues are resolved.
261         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
262         nottimestamp.
264 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
266         * org.el (org-mode): Make dependence stuff work more reliably.
267         (org-update-parent-todo-statistics): Fix bug with updating
268         statistics cookie.
270         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
271         ~ as verbatim delimiters.
273         * org-exp.el (org-export-html-format-image): New argument
274         PAR-OPEN.
275         (org-export-as-html): Pass par-open to
276         `org-export-html-format-image'.
278 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
280         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
281         (org-use-fast-todo-selection, org-tags-column): New default
282         setting for variables, based on a poll what typical uses use.
284         * org-agenda.el (org-agenda-sorting-strategy)
285         (org-agenda-tags-column): New default setting for variables, based
286         on a poll what typical uses use.
288 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
290         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
291         blocked entries from setting the blocked tag.
293         * org-exp.el (org-export-html-footnotes-section): Use a more
294         consistent id for footnotes.
296         * org-export-latex.el (org-export-latex-classes): Remove the
297         a4paper option from the default styles.
299 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
301         * org.el (org-enforce-todo-checkbox-dependencies): New option.
302         (org-block-todo-from-checkboxes): New function.
303         (org-todo): Make tripple prefix arg circumvent blocking.
305         * org-timer.el (org-timer): Provide the timer feature.
307         * org.el (org-require-autoloaded-modules): Add a few more files to
308         the list of autoloaded modules.
310         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
312 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
314         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
315         drawers that are unprotected.
316         (org-export-html-format-image): Make sure inlined LaTeX fragment
317         images remain inlined.
319         * org.el (org-toggle-ordered-property): New function.
320         (org-mode-map): Add a key for `org-toggle-ordered-property'.
321         (org-org-menu): Add menu entries for TODO dependencies.
323 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
325         * org.el (org-default-properties): Add ORDERED to the default
326         properties, to get completion support for it.
328         * org-list.el (org-update-checkbox-count): Update more than one cookie.
330         * org.el (org-update-parent-todo-statistics): Update more than one
331         cookie.
333         * org-agenda.el (org-agenda-get-todos): Start search from correct
334         position.
336         * org.el (org-fast-todo-selection): Make sure TODO selection does
337         not change buffer position.
339         * org-list.el (org-toggle-checkbox): Implement adding or removing
340         checkboxes from line or region when called with a prefix
341         argument.
343         * org-rmail.el (org-rmail-store-link): Protect the call to
344         `rmail-narrow-to-non-pruned-header'.
346         * org-clock.el (org-clock-special-range): Fix week display in
347         clock tables.
349         * org-exp.el (org-get-current-options): Fix bug when in indirect
350         buffer.
352 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
354         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
355         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
356         (org-agenda-dim-blocked-tasks): New function.
358         * org.el (org-enforce-todo-dependencies): New option.
359         (org-block-todo-from-children-or-siblings): New function.
361         * org-faces.el (org-agenda-dimmed-todo-face): New face.
363         * org.el (org-todo): Return correct state type even if the blocker
364         throws an error.
365         (org-modifier-cursor-error): Renamed from
366         `org-shiftcursor-error'.
367         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
368         (org-shiftmetadown): Call `org-modifier-cursor-error'.
370         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
371         to get real errors from the blocker hook.
373         * org.el (org-shiftselect-error, org-call-for-shift-select): New
374         functions.
375         (org-set-visibility-according-to-property): Turn off the setting
376         of `org-show-entry-below', to avoid overruling a FOLDED visibility
377         property.
379 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
381         * org.el (org-support-shift-select): New option.
382         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
383         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
384         selection outside contexts.
386         * org-list.el (org-at-item-bullet-p): New function.
388         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
389         variables.
391         * org-footnote.el (org-footnote-normalize): Remove unnecessary
392         variable.
393         (org-insert-footnote-reference-near-definition): Remove
394         unnecessary let form.
396         * org-export-latex.el (org-export-latex-first-lines): Add
397         OPT-PLIST parameter.
398         (org-export-as-latex): Call `org-export-latex-first-lines' with
399         opt-plits parameter.
400         (org-export-latex-preprocess): Remove unnecessary variables.
402         * org-exp.el (org-infile-export-plist)
403         (org-export-add-options-to-plist, org-export-kill-licensed-text)
404         (org-export-remove-headline-metadata)
405         (org-export-get-title-from-subtree, org-get-min-level)
406         (org-html-do-expand): Remove innecessary let form.
408         * org-colview-xemacs.el (org-columns-display-here): Remove
409         unnecessary variables.
411         * org-colview.el (org-columns-display-here): Remove unnecessary
412         variables.
414         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
415         variables.
417         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
418         unnecessary variables.
420         * org-agenda.el (org-search-view, org-agenda-get-blocks)
421         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
422         variables.
424         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
425         (org-compact-display-after-subtree-move): Remove unnecessary
426         variables.
427         (org-edit-fixed-width-region): Remove unnecessary variables.
428         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
429         (org-olpath-completing-read): Remove unnecessary variable.
430         (org-auto-repeat-maybe): Remove unnecessary variable.
431         (org-map-entries): Remove unnecessary variable.
432         (org-buffer-property-keys, org-imenu-get-tree)
433         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
435 -----------------------------------------------------------------
437 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
438         * org-exp.el (org-export-remove-timestamps): Never remove
439         timestamps from tables.
441         * org-export-latex.el (org-export-latex-first-lines): Add more
442         options to the preprocessing of the text before the first
443         headline.
445 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
447         * org-faces.el (org-clock-overlay): Make face compatible with
448         XEmacs.
450         * org.el (org-yank): Add property for delete-selection mode.
452         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
454         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
455         variable.
457         * org-table.el (org-table-insert-hline): Fix typo in fuction call
458         to `backward-char'.
460         * org-exp.el (org-export-as-html): Remove the initial space from
461         colon examples.
463         * org.el (org-scan-tags): Call
464         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
466         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
467         customization groups.
468         (org-agenda-tags-todo-honor-ignore-options): New option.
469         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
470         New function.
471         (org-agenda-get-todos): Use
472         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
474 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
476         * org-exp.el (org-export-format-source-code-or-example): Escape
477         HTML characters also in examples that anre not treated with
478         htmlize.  Also, just switch to EXAMPLE processing if we do not
479         have a good version of htmlize.
481         * org-rmail.el: Fix copyright notice.
483         * org.el (org-activate-footnote-links): Improve footnote link
484         highlighting.
486         * org-footnote.el (org-footnote-normalize): Fix finding the end of
487         a footnote definition at the end of the file.
489         * org-table.el (org-table-get-specials): Add an imagined hline at
490         the end of the table.  This can be useful for references that want
491         to go to the end of the table.  Also fix bug when computing last
492         row constants, in tables that do not start right at the right
493         margin.
494         (org-table-eval-formula): Match and replace remove references.
495         (org-table-formula-substitute-names): Make sure that names inside
496         a "remote" call are left alone, the will be replaced later when
497         the remote call is handled.
498         (org-table-convert-refs-to-rc): Do not convert things that might
499         look like a reference, but are really part of an ID or namei n a
500         remote reference.
501         (org-table-get-remote-range): New function.
503 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
505         * org-faces.el (org-clock-overlay): Fix bug in face definition.
507         * org-clock.el (org-clock-put-overlay): Use new face instead of
508         `secondary-selection'.
510         * org-faces.el (org-clock-overlay): New face.
512 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
514         * org-exp.el (org-get-current-options): Include the option for
515         publishing time stamps.
517         * org.el (org-toggle-heading): Renamed from
518         `org-toggel-region-headings'.
519         No longer needs a region defined, but will use it if there is one.
520         (org-ctrl-c-star): Simplified, relying more on the internal
521         workings of `org-toggle-heading'.
522         (org-toggle-item): Renamed from `org-toggle-region-items'.
523         No longer needs a region defined, but will use it if there is one.
524         (org-ctrl-c-minus): Simplified, relying more on the inernal
525         workings of `org-toggle-item'.
527         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
528         environment detection.  Also, do real changes only in unprotected
529         places.
531 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
533         * org-export-latex.el (org-export-latex-quotation-marks): Use
534         `org-if-unprotected-1'.
535         (org-export-latex-set-initial-vars): Check for class definition in
536         property.
538         * org-macs.el (org-if-unprotected-1): New macro.
540 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
542         * org-compat.el (org-count-lines): New function.
544         * org-exp.el (org-export-format-source-code-or-example): Handle
545         switches related to text areas.
547         * org.el (org-activate-footnote-links): Don't allow match inside a
548         link.
550         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
552         * org-export-latex.el (org-export-latex-links): Keep a relative
553         path relative also after export.
555         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
557         * org.el (org-make-tags-matcher): Never use IDO for completing the
558         tags matcher match string.
559         (org-completing-read): Also remove the special biding for "?".
561         * org-attach.el (org-attach-allow-inheritance): New option.
562         (org-attach-inherited): New variable.
563         (org-attach-dir): Handle properties related to the attachment
564         directory.
565         (org-attach-check-absolute-path): New function.
566         (org-attach-set-directory, org-attach-set-inherit): New commands.
567         (org-attach): Accommodate the new commands in the dispatcher.
569 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
571         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
572         `window-full-width-p'.
574         * org-exp.el (org-export-as-html): Only check for images files
575         that really can be inlined
577         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
578         list of extensions to be a parameter.
580         * org-exp.el (org-export-html-inline-image-extensions): New
581         variable.
583         * org-agenda.el (org-prepare-agenda): Use
584         `org-agenda-block-separator'.
585         (org-agenda-block-separator): New option.
587 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
589         * org-export-latex.el (org-export-latex-tables): Call
590         `org-table-clean-before-export' with the new optional argument.
592         * org-exp.el (org-table-clean-before-export): New optional
593         parameter MAYBE-QUOTED, allows for quoted characters like \# in
594         first column.
596 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
598         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
599         histograms.
601         * org-colview.el (org-colview-construct-allowed-dates): Better
602         error catching when a date/time property does not have allowed
603         values defined.
605         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
606         Better error catching when a date/time property does not have
607         allowed values defined.
609 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
611         * org.el (org-map-entries): Restore point and restriction after
612         `org-map-entries'.
614 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
616         * org.el (org-time=, org-time<, org-time<=, org-time>)
617         (org-time>=, org-time<>): Make sure both values are dates.
619 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
621         * org-archive.el (org-extract-archive-heading): Allow %s for file
622         name also in achive location heading.
624 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
626         * org-archive.el (org-add-archive-files): Uniquify the list before
627         returning it.
629 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
631         * org-compat.el (org-fit-window-to-buffer): Use
632         `window-full-width-p'.
634         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
635         space after the colon in short examples.
637         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
638         enforce a space after the colon.  However, we also allow lines
639         that are *only* a colon.
640         (org-export-as-html): Enforce the space after the colon in short
641         examples.
642         (org-export-preprocess-string): Do the colon example protection
643         earlier.
644         (org-export-remove-timestamps): Do not check for protection at the
645         end of the line.
647 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
649         * org.el (org-format-latex-options): Add new matcher for single
650         letters between dollars.
651         (org-get-header): Function removed.
652         (org-heading-components): New function.
654         * org-exp.el (org-export-define-heading-targets): Record ID's also
655         as alternative targets.
656         (org-export-as-html): Interpret "id:" links to other files by
657         preserving the relative path.
659         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
660         is nil.
662         * org-exp.el (org-export-normalize-links): Protect the main link,
663         to avoid special character processing.
665         * org-export-latex.el (org-export-latex-special-keyword-regexp):
666         New variable.
667         (org-export-latex-special-string-regexps): Variable removed.
668         (org-export-latex-keywords): Use the new regexp.
670         * org-exp.el (org-export-handle-include-files): Fetch switches and
671         put them into the BEGIN statement.
673         * org-timer.el (org-timer-mode-line-string): New variable.
675         * org-clock.el (org-clock-mode-line-map): Renamed from
676         `org-clock-mode-map'.
677         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
678         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
679         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
680         (org-clock-remove-overlays): Renamed from
681         `org-remove-clock-overlays'.
683         * org-timer.el (org-timer-pause-or-continue): Implement stopping
684         and mode line display.
685         (org-timer-stop): New command.
686         (org-timer-seconds): Return correct time when timer is paused.
687         (org-timer-mode-line-timer): New variable.
688         (org-timer-set-mode-line, org-timer-update-mode-line): New
689         functions.
691         * org.el (org-insert-heading):  Handle new value `auto' for
692         `org-blank-before-new-entry'.
693         (org-org-menu): Add new items for timer functions.
695         * org-list.el (org-insert-item): Handle new value `auto' for
696         `org-blank-before-new-entry'.
698         * org.el (org-blank-before-new-entry): New value `auto', made
699         default.
701 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
703         * org-exp.el (org-export-normalize-links): If the link is also
704         used as the description, protect the description.
706 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
708         * org.el (org-closest-date): Fix bug with yearly repeats, in
709         combination with preference of the past as it is used for deadline
710         and scheduling search.
712         * org-exp.el (org-html-handle-time-stamps): No longer check for
713         the `org-export-with-timestamps' option, because the preprocesser
714         has taken care of this already.
716         * org.el (org-entry-properties): Catch the case when this is
717         called in a non-org-mode file.
719         * org-export-latex.el (org-export-latex-remove-from-headlines):
720         Variable made obsolete, also LaTeX export now uses the standard
721         variables.
722         (org-export-as-latex): Add the timestamps parameter to the
723         preprocessor parameter list.
724         (org-export-latex-content): Export the remaining keywords without
725         considering to remove them.
726         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
727         Use bold font instead of tt font for the keywords.
728         (org-export-latex-fontify-headline): Format headlines, assuming
729         that all keywords still present should be published.
730         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
731         publish what ever remains of the time stamps.
732         (org-export-latex-list-parameters): New option.
733         (org-export-latex-lists): Pass additional parameters to the list
734         converter.
736         * org-exp.el (org-export-preprocess-string): Remove clock lines
737         and timestamps already in the preprocesor.
738         (org-export-remove-timestamps, org-export-remove-clock-lines): New
739         functions.
740         (org-export-as-ascii, org-export-as-html): Add the timestamps
741         parameter to the preprocessor parameter list.
743         * org-list.el (org-list-parse-list): Parse for checkboxes.
744         (org-list-to-generic): Introduce and handle new parameters :cbon
745         and :cboff.
746         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
747         optional parameter PARAMS.
749         * org-export-latex.el (org-export-latex-special-chars): Fix
750         problems with interpreting dollar signs.
751         (org-inside-latex-math-p): New function.
752         (org-export-latex-preprocess): Protect all the math fragments.
754         * org.el (org-latex-regexps): Allow a dash after a dollar.
756         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
757         mark after copying.
759         * org-agenda.el (org-run-agenda-series): Have series options set
760         when finalizing the agenda.
762         * org-exp.el (org-export-format-source-code-or-example): Protect
763         the converted examples.
765         * org.el (org-set-regexps-and-options): Fix the regexp
766         `org-complex-heading-regexp'.
768 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
770         * org.el (org-edit-src-get-label-format): New function.
771         (org-coderef-label-format): New option.
772         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
773         a label format specification and make sure it is used in the edit
774         buffer.
775         (org-edit-src-get-label-format): New function.
776         (org-store-link): Handle new coderef formats.
777         (org-link-search): Handle new coderef formats.
779         * org-footnote.el (org-footnote-create-definition)
780         (org-footnote-goto-local-insertion-point): Make footnote insertion
781         work correctly when the "Footnotes" headline is the last line in
782         the buffer.
784         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
785         the location.
787 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
789         * org-w3m.el (org-w3m): New customization group.
790         (org-w3m-deactivate-mark): New option.
791         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
792         option say not to.
794 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
796         * org.el (org-set-font-lock-defaults): Trigger footnote
797         fontification.
798         (org-activate-footnote-links): New function.
799         (org-activate-links): New entry `footnote'.
801         * org-faces.el (org-footnote): New face.
803 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
805         * org-macs.el (org-re): Handle the [:word:] class.
807         * org-exp.el (org-export-preprocess-string): Call
808         `org-export-protect-colon-examples'.
809         (org-export-protect-colon-examples): Renamed from
810         `org-export-protect-examples', and scope limited to lines starting
811         with a colon.
813 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
815         * org-exp.el (org-export-preprocess-string): Move the preprocess
816         hook to after turning on Org-mode.
817         (org-export-preprocess-after-include-files-hook)
818         (org-export-preprocess-after-tree-selection-hook)
819         (org-export-preprocess-before-backend-specifics-hook)
820         (org-export-preprocess-final-hook): New hooks.
821         (org-export-preprocess-string): Run the new hooks.
823         * org.el (org-ctrl-c-minus): Fix indentation for new items.
825         * org-footnote.el: New file.
827         * org.el (org-footnote): Require footnote code.
828         (org-startup-options): Add new footnote options.
829         (org-mode-map): New keybindig for footnotes.
830         (org-ctrl-c-ctrl-c): Add function at footnotes.
831         (org-org-menu): New menu entries for footnotes.
833         * org-export-latex.el (org-export-as-latex): Pass footnote
834         variable to preprocessor.
835         (org-export-latex-preprocess): Treat multiple references to a
836         footnote.
838         * org-exp.el (org-export-preprocess-string): Call
839         `org-footnote-normalize'.
840         (org-export-as-ascii, org-export-as-html): Pass footnote variable
841         to preprocessor.
842         (org-export-as-html): Treat multiple references to a footnote.
844 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
846         * org-export-latex.el (org-export-latex-links): Handle coderef
847         links.
849         * org.el (org-bracket-link-analytic-regexp++): New variable.
850         (org-make-link-regexps): Initialize
851         `org-bracket-link-analytic-regexp++'.
852         (org-store-link): Implement special case in edit-src buffer.
853         (org-insert-link): No use of ide to insert stored links.
854         (org-link-search): Implement special case for coderefs.
856         * org-exp.el (org-export-html-scripts): New constant.
857         (org-export-html-style-default): Add a new style for highlighted
858         code.
859         (org-export-code-refs): New variable.
860         (org-export-preprocess-string): Initialize `org-export-code-refs'.
861         Call `org-export-replace-src-segments-and-examples'
862         No longer call `org-export-protect-examples'.
863         (org-export-target-internal-links): Take care of coderef targets.
864         (org-export-last-code-line-counter-value): New variable.
865         (org-export-replace-src-segments-and-examples): Renamed from
866         `org-export-replace-src-segments', and modified.
867         (org-export-format-source-code-or-example): Renamed from
868         `org-export-format-source-code'.
869         (org-export-number-lines): New function.
870         (org-export-as-ascii, org-export-as-html): Handle coderef links.
872 --------------------------------------------------------------------------
874 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
876         * org-remember.el (org-remember-handler): Safer way to get a new
877         buffer accessing the target file.
879         * org.el (org-refile-get-location): Handle case of current buffer
880         not having a file associated with it.
882 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
884         * org-table.el (org-table-get-formula): Only ask to overwrite
885         field formula if there really is one.
887         * org-id.el (org-id-find): Allow the ID to be a symbol or a
888         number, by converting these to a string.
890         * org-colview.el (org-dblock-write:columnview): Allow ID to be
891         located in a different file.
893         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
894         org-colview.el.
896 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
898         * org.el (org-completion-use-ido): Enhance docstring of
899         `org-completion-use-ido'.
901         * org-export-latex.el (org-export-latex-make-header): Double the %
902         in the time stamp format.
903         (org-export-latex-special-chars): Handle case where there is no
904         match group 3.
906 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
908         * org.el (org-get-refile-targets, org-refile-get-location): Use
909         expanded file name to improve comparison.
911 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
913         * org.el (org-scan-tags): Rescan for tags, to get the correct
914         upcase/downcase stuff.  This slows things down for now, but it
915         works.
916         (org-mode): Make sure the tag-faces regexp is initialized.
918         * org-export-latex.el (org-export-latex-links): Fix bug with
919         undefined label.
921         * org-table.el (org-table-get-specials): Set
922         `org-table-current-last-data-line'.
923         (org-table-current-last-data-line): New variable.
924         (org-table-insert-column, org-table-delete-column)
925         (org-table-move-column, org-table-fix-formulas): Call
926         `org-table-fix-formulas' a second time to fix the $LR references.
927         (org-table-get-specials): Add the $LR references to the tables.
928         (org-table-get-formula): Do not offer last-row names as LHS of
929         formulas.
931         * org.el (org-store-link): Capture link description from
932         `org-id-store-link'.
934         * org-exp.el (org-export-html-format-image): Add the / to the end
935         of the <img> tag.
936         (org-export-format-source-code): Surround example by empty lines,
937         to make sure it will not be inside a paragraph.
939         * org.el (org-ido-switchb): New function.
941 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
943         * org-agenda.el (org-agenda-show): New prefix argument
944         FULL-ENTRY.
946         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
947         argument.
949         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
950         `org-agenda-change-all-lines'.
951         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
952         tags are now retrieved locally.
954 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
956         * org.el (org-get-outline-path): Fix bug if level is not given.
957         (org-org-menu): Do not quote function in menu vector.
959         * org-agenda.el (org-finalize-agenda): Fix typo with variable
960         name.
962 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
964         * org.el (org-refile): Avoid refiling to within the region to be
965         refiled.
967         * org-export-latex.el (org-export-latex-special-chars): Replace
968         special characters also in tables.
970         * org-agenda.el (org-agenda-change-all-lines): New argument
971         FORCE-TAGS.
972         (org-agenda-set-tags): Cet the new tags and pass them to
973         `org-format-agenda-item'.
975 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
977         * org-export-latex.el (org-export-latex-classes): Add longable as
978         a default package to all classes.
979         (org-export-latex-tables): Handle the longtable attribute and the
980         align attribute.
982         * org-table.el (orgtbl-to-generic): Handle tables that start with
983         a hline.
985         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
986         \verb for colde-like snippets.
987         (org-export-as-latex): Fix issues with region export.
989         * org.el (org-up-heading-safe): Speed up function by using a
990         direct regexp search.
991         (org-olpa): New variable.
992         (org-get-outline-path): Speed-up path constructions in cases where
993         this is possible because the entire hierarchy is scanned anyway.
994         (org-refile-get-location): Don't compare the truenames of files,
995         this is too slow.
996         (org-goto-max-level): New option.
997         (org-goto): Use `org-goto-max-level'.
999 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
1001         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
1002         Strip angle brackets from message-ids in the former and don't do
1003         it in the latter.
1004         (org-gnus-follow-link): Open summary reliable, even if the last
1005         messages were deleted, and handle empty groups, too.
1007 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
1009         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
1010         instead of \texttt for the =...= and ~===~ emphasis environments.
1011         (org-export-as-latex): Remove any old :org-license-to-kill text
1012         properties.
1013         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
1014         (org-export-latex-make-header): Add some hard space after the
1015         table of contents.
1016         (org-export-latex-first-lines): Accept RBEG argument.  Mark
1017         exported text so that it will be excuded in further steps.
1019         * org-table.el (org-table-get-specials): Make @0 reference the
1020         last line in a table.
1021         (org-table-recalculate): Improve docstring.
1023 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
1025         * org.el (org-log-done): Fix docstring.
1027 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
1029         * org-exp.el (org-export-html-format-image): Fix bugs.
1031         * org-export-latex.el (org-export-latex-tables)
1032         (org-export-latex-links): Implement attribute, label, and caption
1033         handling.
1035         * org-exp.el (org-export-html-style-default): Add style
1036         definitions for the figure div.
1037         (org-export-preprocess-string, org-export-as-html): Implement
1038         attribute, label, and caption handling.
1039         (org-export-attach-captions-and-attributes): New function.
1040         (org-export-html-format-image): New function.
1041         (org-format-org-table-html): Implement attribute, label, and
1042         caption handling.
1044         * org.el (org-find-text-property-in-string): New function.
1045         (org-extract-attributes): Use the property org-attr instead of
1046         org-attrobutes, because this property is now set with the #+ATTR
1047         lines.
1049 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
1051         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
1052         the case that FROM is nil.
1054         * org.el (org-before-first-heading-p): New function.
1056 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
1058         * org-exp.el (org-export-as-html): Do not add a space before
1059         enforces line breaks.
1060         (org-export-as-html): Close paragraph before blockquote and verse
1061         tags.
1063 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
1065         * org-id.el (org-id-locations-file): Wrap file name with
1066         `convert-standard-filename'.
1067         (org-id-files): New variable.
1068         (org-id-use-hash): New option.
1069         (org-id-update-id-locations): Also search in all files current
1070         listed in `org-id-files'.  Convert the resulting alist to a hash
1071         if the user customation says so.
1072         (org-id-locations-save): Handle he case if `org-id-locations' is a
1073         hash.
1074         (org-id-locations-load): Convert the alist to a hash.
1075         (org-id-add-location): Handle the hast case.
1076         (kill-emacs-hook): Make sure id locations are saved when Emacs is
1077         exited.
1078         (org-id-hash-to-alist, org-id-alist-to-hash)
1079         (org-id-paste-tracker): New functions.
1081 -------------------------------------------------------------------------
1083 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
1085         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
1086         bindings of calendar variables.
1088         * org-table.el (org-table-find-row-type): Renamed from
1089         `org-find-row-type'.
1090         (org-table-rewrite-old-row-references): Renamed from
1091         `org-rewrite-old-row-references'.
1092         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
1093         (org-table-cleanup-narrow-column-properties): Renamed from
1094         `org-cleanup-narrow-column-properties'.
1096 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
1098         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
1099         for better error messages.
1100         (org-table-get-descriptor-line): Supply the new arguments to
1101         `org-find-row-type'.
1102         (org-table-error-on-row-ref-crossing-hline): New option.
1104         * org.el (org-target-link-regexp): Make buffer-local.
1105         (org-move-subtree-down): Fix bug with trees at beginning of
1106         buffer.
1108 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
1110         * org-faces.el (org-set-tag-faces): New function.
1111         (org-tags-special-faces-re): New variable.
1113         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
1115         * org-faces.el (org-tag-faces): New option.
1116         (org-tag): Mention `org-tag-faces' in the docstring.
1118 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
1120         * org-exp.el (org-export-html-style-default): Implement new
1121         quoting.
1123         * org-jsinfo.el (org-infojs-template): Implement new quoting.
1125         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
1126         command to the `w3m-minor-mode-map'.
1128         * org-archive.el (org-archive-to-archive-sibling): Protect
1129         `this-command' to avoid appending kills during archiving.
1131         * org-exp.el (org-export-with-priority): New variable.
1132         (org-export-add-options-to-plist): Use `org-export-plist-vars'
1133         instead of internal list of strings and properties.
1134         (org-print-icalendar-entries): Retrieve the location property with
1135         inheritance.
1137 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
1139         * org-exp.el (org-export-with-todo-keywords): New option.
1140         (org-export-plist-vars): Include also the keys for the #+OPTIONS
1141         line.
1142         (org-default-export-plist, org-export-add-options-to-plist)
1143         (org-export-as-ascii, org-export-as-html): Use the new structure
1144         of `org-export-plist-vars'.
1146         * org.el (org-map-entries): Return all values.
1148 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
1150         * org.el (org-matcher-time): Recognize more special values.
1152         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
1154 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
1156         * org.el (org-tags-exclude-from-inheritance): New option.
1157         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
1158         `org-tags-exclude-from-inheritance'.
1160         * org-agenda.el (org-agenda-show-inherited-tags): New option.
1161         (org-format-agenda-item): Add inherited tags to the agenda line
1162         string, and make sure that properties are kept when downcasing the
1163         tags list.
1164         (org-agenda-add-inherited-tags): New function.
1165         (org-downcase-keep-props): New function.
1167         * org.el (org-scan-tags): Mark inherited tags with a text
1168         property.
1169         (org-get-tags-at): Mark inherited tags with a text property.
1170         (org-add-prop-inherited): New function.
1172         * org-agenda.el (org-agenda-add-inherited-tags): New function.
1173         (org-agenda-show-inherited-tags): New option.
1175 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
1177         * org.el (org-modules): Add org-w3m to the default modules.
1179         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
1180         orgtbl-mode.
1181         (orgtabl-create-or-convert-from-region): New command.
1183         * org-exp.el (org-export-as-ascii): Remove the handling of
1184         targets.
1185         (org-export-ascii-preprocess): Handle targets already in this
1186         function.
1188 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
1190         * org-timer.el (org-timer-start-time): Define this variable.
1191         (org-timer-item): Make argument optional.
1193         * org-list.el (org-insert-item): Automatically insert a timer item
1194         if the current list is a timer list.
1196         * org-timer.el: New file.
1198         * org-publish.el (org-publish-org-index): Only exclude the index
1199         file in the main directory from being added to the site-map.
1200         (org-publish-get-project-from-filename): If the current project is
1201         a component, start publishing from the parent project.
1203 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
1205         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
1207         * org-publish.el (org-publish-org-index): Improve removal of
1208         temporary buffers.
1210         * org-agenda.el (org-get-closed): Re-apply changes
1211         accidentially overwritten by last commit to Emacs.
1213         * org.el (org-outline-path-complete-in-steps): New option.
1214         (org-refile-get-location): Honor
1215         `org-outline-path-complete-in-steps'.
1216         (org-agenda-change-all-lines, org-tags-sparse-tree)
1217         (org-time-string-to-absolute, org-small-year-to-year)
1218         (org-link-escape): Re-apply changes accidentially overwritten
1219         by last commit to Emacs.
1221 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
1223         * org-clock.el (org-dblock-write:clocktable): Make sure the
1224         clocktable sees the first line.
1225         (org-clock-in): Warn if the clock cannot be resumed.
1227 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
1229         * org.el (org-open-at-point): Fix mixup about interactive and
1230         non-interactive elisp links.
1232 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1234         * org-exp.el (org-export-preprocess-string): Allow one comment
1235         line before the first headline to always be included.  This is
1236         to not miss a commented target.
1238         * org-mouse.el (org-mouse-insert-item): Call
1239         `org-indent-to-column' instead of `indent-to', for XEmacs
1240         compatibility.
1242         * org.el (org-refile-targets): Fix customize definition so
1243         that it works also in XEmacs.
1244         (org-fixup-indentation): Call `org-indent-to-column' instead
1245         of `indent-to', for XEmacs compatibility.
1247 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
1249         * org-mew.el (org-mew-store-link): Get the correct case folder
1250         for refiled messages.
1252 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1254         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
1255         line break indicators.
1257         * org.el (org-ido-completing-read): Remove the "i:" prefix for
1258         ido-completion propts.
1260 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1262         * org-remember.el (org-remember-apply-template): Use
1263         `org-substring-no-properties'.
1265         * org-compat.el (org-substring-no-properties): New function.
1267         * org-remember.el (org-remember-apply-template): Use
1268         `org-substring-no-properties' for compatibility.
1270         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
1271         option.
1272         (org-fix-bullet-type): respect
1273         `org-list-two-spaces-after-bullet-regexp'.
1275         * org-clock.el (org-clock-load): Clean up the code.
1277         * org.el (org-adaptive-fill-function): Allow two spaces after
1278         "1." as a list bullet.
1280 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
1282         * org-clock.el (org-clock-save, org-clock-load): Check for
1283         live buffers, existing files, and buffer file names to ensure
1284         consistent information.
1285         (org-clock-persist): Make `clock' a special value of this
1286         variable, and improve docstring.
1288         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
1289         (org-get-string-indentation): Adapt indentation when the bullet
1290         width changes.
1292 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
1294         * org-remember.el (org-remember-finalize): Make interactive.
1295         (org-remember-kill): New command.
1296         (org-remember-finish-immediately): Call `org-remember-finalize'
1297         directly.
1298         (org-remember-finalize): Make `org-remember-finalize' an interactive
1299         function.
1301 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
1303         * org-remember.el (org-remember-apply-template): No ido completion
1304         for free prompts in remember templates.
1305         (org-remember-before-finalize-hook): New hook.
1306         (org-remember-mode): New minor mode.
1307         (org-remember-apply-template): Turn on `org-remember-mode'.
1309         * org-id.el (org-id-add-location): Avoid error when no file is
1310         given.
1312         * org-remember.el (org-remember-apply-template): Fix the way how
1313         the list of allowed properties is retrieved from the target file.
1315         * org.el (org-insert-link): Improve file link matching.
1317 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1319         * org-colview.el (org-columns-display-here): New argument
1320         DATELINE, to trigger using the new face.
1321         (org-agenda-colview-summarize): Call `org-columns-display-here'
1322         with the new argument.
1324         * org-faces.el (org-agenda-column-dateline): New face.
1326         * org-publish.el (org-publish-org-index): Use index-title at page
1327         title, not as section.
1329         * org-exp.el (org-export-html-format-desc): Respect the
1330         org-protect property.
1331         (org-export-as-html): Protect image specifiers that are in the
1332         description part of a link.
1334         * org.el (org-sort-entries-or-items, org-completing-read)
1335         (org-refile-get-location, org-olpath-completing-read, org-todo)
1336         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
1337         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
1338         (org-set-property, org-delete-property)
1339         (org-delete-property-globally): Use `org-ido-completing-read'.
1341         * org-remember.el (org-remember-apply-template): Use
1342         `org-ido-completing-read'.
1344         * org-publish.el (org-publish): Use `org-ido-completing-read'.
1346         * org-colview.el (org-columns-edit-value, org-columns-new)
1347         (org-insert-columns-dblock): Use `org-ido-completing-read'.
1349         * org-colview-xemacs.el (org-columns-edit-value)
1350         (org-columns-new, org-insert-columns-dblock): Use
1351         `org-ido-completing-read'.
1353         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1354         `org-ido-completing-read'.
1356         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
1357         `org-ido-completing-read'.
1359         * org.el (org-time-today): New function.
1360         (org-matcher-time): Use `org-time-today'.  Add special treatment
1361         for "<tomorrow>" and "<yesterday>".
1362         (org-ido-completing-read): New function.
1363         (org-completion-use-ido): New option.
1365         * org-exp.el (org-export-format-source-code): Fix bug in require
1366         htmlize code.
1367         (org-export-target-internal-links): Fix bug in search for text
1368         property.
1370 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
1372         * org-export-latex.el (org-export-latex-subcontent): Interprete
1373         target aliases as additonal labels.
1375         * org-exp.el (org-export-target-aliases): New variable.
1376         (org-export-preprocess-string)
1377         (org-export-handle-invisible-targets): Fill the alias alist.
1378         (org-export-as-html): Remove the &nbsp; from the anchor, and also
1379         assign an id.
1380         (org-html-level-start): Insert the target aliases as additonal
1381         anchors.
1383         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
1384         picture area.
1386 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
1388         * org.el (org-open-at-mouse): Ensure correct link abbreviations
1389         when following a link with the mouse from the agenda.
1391         * org-exp.el (org-export-as-html): Avoid lone </div> when no
1392         headlines are created.
1394 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
1396         * org-exp.el (org-export-preprocess-string): Reorder so that we
1397         can still see ID properties when we collect targets.
1398         (org-export-target-internal-links): Also store targets for ID's.
1400         * org.el (org-link-translation-function): New option.
1401         (org-open-at-point): Call `org-link-translation-function' if
1402         non-nil.
1403         (org-translate-link): New function.
1404         (org-translate-link-from-planner): New function.
1405         (org-open-at-point): Allow interactive commands in elisp links.
1407         * org-exp.el (org-icalendar-cleanup-string): Restore the old
1408         iCalendar quoting.  The new one seems to caus problems with
1409         applications.
1411         * org.el (org-yank): Set `this-command' to `yank', so that
1412         `yank-pop' will work.
1414 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1416         * org-id.el (org-id-search-archives): New option.
1418         * org.el (org-link-to-org-use-id): New option.
1419         (org-store-link): Use `org-link-to-org-use-id'.
1420         (org-id): Make org-id.el a standard component.
1422 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1424         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
1425         hexified version of the tag.
1427         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
1428         compliance as far as quoting is concerned.
1430         * org-vm.el (org-vm-follow-link): Require `vm-search'.
1432         * org.el (org-up-heading-safe, org-forward-same-level): Always
1433         call `org-back-to-heading' instead of `outline-back-to-heading'.
1434         (org-back-to-heading): New wrapper around outline-back-to-heading,
1435         with a useful error message telling where the error happened.
1437         * org-list.el (org-update-checkbox-count): Always call
1438         `org-back-to-heading' instead of `outline-back-to-heading'.
1440         * org-exp.el (org-export-as-html): Make sure that each <img> tag
1441         has an `alt' attribute, to ensure XHTML validation.
1443 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
1445         * org-publish.el (org-publish-attachment): Allow publishing to
1446         overwrite attachment files.
1448         * org-agenda.el (org-agenda-timerange-leaders): New option.
1449         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
1451         * org.el (org-edit-src-exit): Untabify ASCII image before
1452         returning.
1465 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1467         * org.el (org-yank): Make any prefix force normal yanking.
1468         Suppress folding if text would be swallowed into a folded
1469         subtree.
1470         (org-yank-folded-subtrees, org-yank): Docstring updates.
1472         * org-agenda.el (org-agenda-compare-effort): Treat no effort
1473         defined as 0.
1475         * org-exp.el (org-export-language-setup): Add Catalan and
1476         Esperanto language entries.
1478 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1480         * org.el (org-refile): Allow refiling of entire regions.
1482         * org-clock.el (org-clock-time%): New function.
1484         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
1485         retrieve property values.
1487 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1489         * org-agenda.el (org-agenda-list): Handle the value `only' of
1490         org-agenda-show-log'.
1491         (org-agenda-log-mode): Interpret a double prefix arg.
1493 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1495         * org-exp.el (org-export-html-footnotes-section): New variable.
1496         (org-export-as-html): Use `org-export-html-footnotes-section' to
1497         insert the footnotes.
1498         (org-export-language-setup): Add "Footnotes" to language words.
1500 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
1502         * org.el (org-yank): Fix bug when not inserting a subtree.
1504 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1506         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
1507         instead of `vm-beginning-of-message'.
1509         * org.el (org-make-link-regexps): Make sure that links to gnus can
1510         contain brackets.
1512 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1514         * org-attach.el (org-attach-dir): Remove duplicate ID creation
1515         code.
1517         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
1518         shell output.
1520         * org.el (org-link-abbrev-alist): Improve customization type.
1522         * org-attach.el (org-attach-expand-link, org-attach-expand): New
1523         functions.
1525         * org-agenda.el (org-agenda-get-progress): Renamed from
1526         `org-get-closed'.  Implement searching for state changes as well.
1527         (org-agenda-log-mode-items): New option.
1528         (org-agenda-log-mode): New option prefix argument, interpreted as
1529         request to show all possible progress info.
1530         (org-agenda-get-day-entries): Call `org-get-progress' instead of
1531         `org-get-closed'.
1532         (org-agenda-set-mode-name): Handle the more complex log mode
1533         settings.
1534         (org-get-closed): New alias, pointing to `org-get-progress'.
1536 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
1538         * org.el (org-file-apps-defaults-gnu)
1539         (org-file-apps-defaults-macosx)
1540         (org-file-apps-defaults-windowsnt): Add an entry defining the
1541         system command.
1542         (org-file-apps): Allow `system' as key and value.
1543         (org-open-at-point): Explain the effect of a double prefix arg.
1544         (org-open-file): If the argument `in-emacs' is (16),
1545         i.e. corresponding to a double prefix argument, try to open the
1546         file externally.
1548 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
1550         * org.el (org-insert-link): Abbreviate absolute files names in
1551         links.  Also, fix a bug in which the double C-u prefix would not
1552         be honored.
1554 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
1556         * org.el (org-insert-heading): If buffer does not end with a
1557         newline, add one if necessary to insert headline correctly.
1559         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
1560         paragraphs, not inside.
1562         * org.el (org-todo): Quote
1563         `org-agenda-headline-snapshot-before-repeat'.
1565         * org-exp.el (org-export-as-html): Fully process link descriptions.
1566         (org-export-html-format-desc): New function.
1567         (org-export-as-html): Collect footnotes into the correct basket.
1568         (org-html-protect): No longer protect quotations marks here, this
1569         goes wrong.
1571         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
1572         BEG.
1574         * org-compat.el (org-fit-window-to-buffer): New function (not
1575         really, a preliminary and incomplete version was present earlier,
1576         but not used).
1578         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
1579         `org-fit-window-to-buffer'.
1581         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
1583         * org-agenda.el (org-agenda-get-restriction-and-command)
1584         (org-fit-agenda-window, org-agenda-convert-date): Use
1585         `org-fit-window-to-buffer'.
1587         * org-exp.el (org-export-as-html): Process href links through
1588         `org-export-html-format-href'.
1589         (org-export-html-format-href): New function.
1591         * org-agenda.el (org-agenda-todo): Update only the current
1592         headline if this is a repeated TODO, marked done for today.
1593         (org-agenda-change-all-lines): New argument JUST-THIS, to change
1594         only the current line.
1596         * org.el (org-todo): Take a snapshot of the headline if the
1597         repeater might change it.
1599 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
1601         * org-publish.el (org-publish-find-title): Remove buffers visited
1602         only for extracting the title.
1604         * org-exp.el (org-export-html-style)
1605         (org-export-html-style-default): Mark style definitions as
1606         unparsed CDATA.
1608         * org-publish.el (org-publish-validate-link): Function
1609         re-introduced.
1611 2008-11-02  Charles Sebold  <csebold@gmail.com>
1613         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
1614         property.
1615         (org-plot-quote-timestamp-field): New function.
1616         (org-plot-quote-tsv-field): Call timestamp field function when
1617         necessary rather than just quoting as a string.
1618         (org-plot/gnuplot-to-data): Pass in timefmt property.
1619         (org-plot/gnuplot-script): Supports timefmt property.
1620         (org-plot/gnuplot): Checks for timestamp column before checking
1621         for text index column.
1623 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
1625         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
1627         * org-publish.el (org-publish-org-index): Create a section in the
1628         index file.
1629         (org-publish-org-index): Stop linking to directories.
1631         * org.el (org-emphasis-alist): Use span instead of <u> to
1632         underline text.
1634         * org-exp.el (org-export-as-html): Make sure <p> is closed before
1635         <pre> sections.
1637 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
1639         * org-jsinfo.el (org-infojs-template): Remove language attribute
1640         from script tag.
1642 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
1644         * org-agenda.el (org-agenda-remove-marked-text): New function.
1645         (org-agenda-mark-filtered-text)
1646         (org-agenda-unmark-filtered-text): New functions.
1647         (org-write-agenda): Remove fltered text.
1649         * org.el (org-make-tags-matcher): Give access to TODO "property"
1650         without speed penalty.
1652 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
1654         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
1655         option.
1656         (org-store-link-props): Make sure adding to the plist works
1657         correctly.
1659         * org-gnus.el (org-gnus-no-new-news): New function.
1660         (org-gnus-follow-link): Allow the article ID to be a message-id,
1661         in addition to allowing article numbers.  Message IDs make much
1662         more roubust links.
1663         (org-gnus-store-link): Use message-id to create link.
1665 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
1667         * org.el (org-emphasize): Reverse the selection array.
1668         (org-emphasis-alist): Set <code> tags for the verbatim
1669         environment.
1671         * org-remember.el (org-remember-handler): Fix bug with
1672         prefix-related changing of the note storage target.
1674         * org-exp.el (org-print-icalendar-entries): Make the exported
1675         priorities compatible with RFC 2445.
1677         * org-clock.el (org-clock-save): Insert time stamp without
1678         dependence on time-stamp.el.
1680 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
1682         * org.el ("saveplace"): If saveplace puts point into an invisible
1683         location, make it visible.
1684         (org-make-tags-matcher): Allow inactive time stamps in time
1685         comparisons.
1686         (org-yank-adjusted-subtrees): New option.
1687         (org-yank): Incorporate adjusting trees.
1688         (org-paste-subtree): New argument FOR-YANK which will cause
1689         insertion at point without backing up over white lines, and leave
1690         point at the end of the inserted text.  Also if the cursor is
1691         at the beginning of a headline, use the same level or the inserted
1692         tree.
1694         * org-publish.el (org-publish-get-base-files-1): Deal correctly
1695         with broken symlinks
1697 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
1699         * org-exp.el (org-export-select-tags, org-get-current-options):
1700         Fix typo.
1702 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
1704         * org-agenda.el (org-format-agenda-item)
1705         (org-agenda-filter-make-matcher): Make sure tags are stored and
1706         compared donwcased.
1708 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
1710         * org.el (org-insert-todo-heading): Fix bug with force-heading
1711         argument.
1713 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
1715         * org-clock.el (org-clock-in-resume): Add a custom option to
1716         toggle starting the clock from an open clock line.
1717         (org-clock-in): When clocking in to an entry, if
1718         `org-clock-in-resume' is set, check if the first clock line is
1719         open and if so, start the clock from the time in the clock line.
1720         (org-clock-persist): Add a custom option to toggle clock
1721         persistence.
1722         (org-clock-persist-query-save): Add a custom option to toggle
1723         asking the user if they want to save the running clock when
1724         exiting.
1725         (org-clock-persist-query-resume): Add a custom option to toggle
1726         asking the user if they want to resume the saved clock when Emacs
1727         is restarted.
1728         (org-clock-save): Add a function to save clock data.
1729         This includes the contents of `org-clock-history' and the buffer
1730         and position of the currently clocked task, if any.
1731         (org-clock-load): Add a function to load clock data.
1732         This populates `org-clock-history', and resumes the saved clocked
1733         task if there is one.
1734         (org-clock-persistence-insinuate): Add a method to set up the
1735         hooks for clock persistence.
1737 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
1739         * org-exp.el (org-export-as-ascii): Handle the case that we are
1740         publishing from an indirect buffer.
1742         * org-table.el (org-table-copy-down): Fix bug with time stamp
1743         increment.
1745         * org-mouse.el (org-mouse-features): New option.
1746         (org-mode-hook): Turn on features depending on
1747         `org-mouse-features'.
1749         * org.el (org-insert-heading-respect-content): Force heading
1750         creation.
1751         (org-insert-heading): keep the folding state of the heading before
1752         the inserted one.
1754 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
1756         * org-archive.el (org-archive-to-archive-sibling): Handle top
1757         level headlines better.
1759 2008-10-21  Bastien Guerry  <bzg@altern.org>
1761         * org-export-latex.el (org-export-latex-classes): Added
1762         \usepackage{graphicx} to the default list of packages.
1764 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
1766         * org-agenda.el (org-agenda-filter): Renamed from
1767         `org-agenda-filter-tags'.
1769 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
1771         * org.el (org-entry-properties): Add CATEGORY property, iven if it
1772         is not defined as a property in this entry.
1773         (org-add-log-note): Mask prefix argument when immediately storing
1774         the note.
1776         * org-agenda.el (org-agenda-filter-effort-default-operator): New
1777         option.
1779 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
1781         * org.el (org-add-log-setup): Bugfix; code to find insertion point
1782         after drawers was skipping ahead one line too many, so notes were
1783         inserted after the first note instead of before it.
1785 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
1787         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
1788         New variables.
1789         (org-prepare-agenda): Reset the filter tags.
1790         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
1791         Show filter tags in mode line.
1793         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
1794         formatter.
1796         * org-export-latex.el (org-latex-entities-regexp): New constant.
1797         (org-export-as-pdf): Use two calls to `shell-command'.
1799 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
1801         * org-export-latex.el (org-export-latex-treat-sub-super-char):
1802         Honor the {} value of the subsuperscript setting.  Make sure that
1803         longer subsuperscripts are typeset in a roman font.
1805         * org.el (org-clock-update-time-maybe): Compute negative clock
1806         intervals correctly.
1808 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
1810         * org.el (org-add-log-setup): Respect
1811         `org-log-state-notes-insert-after-drawers'.
1812         (org-log-state-notes-insert-after-drawers): New option.
1813         (org-todo-trigger-tag-changes): New function.
1814         (org-todo): Call `org-todo-trigger-tag-changes'.
1816 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
1818         * org.el (org-add-log-setup): Only skip drawers if the are
1819         immediately after the scheduling keywords.
1821         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
1822         function
1823         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
1824         call it with the current todo state to get the state to switch to
1825         when clocking in.
1826         (org-clock-in): Use org-indent-line-function to indent clock lines.
1827         (org-clock-find-position): Fix indentation of empty clock drawers.
1829 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
1831         * org-publish.el (org-publish-org-to): Handle case when
1832         org-export-to-pdf does return a file name, not a buffer.
1833         (org-publish-org-to-pdf): New function.
1835         * org-export-latex.el (org-export-as-pdf)
1836         (org-export-as-pdf-and-open): New commands.
1838         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
1839         forms as ranges.
1841         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
1842         things in protexted regions.
1844 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
1846         * org-export-latex.el (org-export-latex-preprocess): Improve
1847         quoting of LaTeX environments.
1849 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
1851         * org.el (org-edit-fixed-width-region): Exclude final newline from
1852         picture area.
1854         * org-export-latex.el (org-export-latex-subcontent): Add labels to
1855         sections, to make internal links work.
1856         (org-export-latex-fontify-headline): Do not remove all text
1857         properties, to make sure that target properties survive this
1858         process.
1860         * org-exp.el (org-export-preprocess-string): Change sequence of
1861         modifications, to make sure links are prepared before the LaTeX
1862         conversions do happen.
1864 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
1866         * org-attach.el (org-attach-delete-all): Renamed from
1867         `org-attch-delete'.  Add a security query before deleting the
1868         entire directory.  New optional argument FORCE can overrule the
1869         security query.
1870         (org-attach-delete-one): New command.
1872 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
1874         * org-attach.el (org-attach-file-list): Fix bug with directory.
1876 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
1878         * org.el (org-apps-regexp-alist): New function.
1879         (org-file-apps): Add auto-mode to the default value.
1880         (org-open-file): Use the new structure of org-file-apps.
1882         * org-attach.el (org-attach): Support the new keys.
1883         (org-attach-method): New option.
1885 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
1887         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
1888         March.
1890         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
1891         of the list value o `org-use-tag-inheritance'.
1893         * org-attach.el (org-attach-auto-tag): New option.
1894         (org-attach-tag, org-attach-untag): New functions.
1895         (org-attach-attach, org-attach-new, org-attach-sync): Call
1896         `org-attach-tag'.
1897         (org-attach-delete): Call `org-attach-untag'.
1899 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
1901         * org-table.el (orgtbl-self-insert-command): Make this work for
1902         the keypad as well.
1904 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
1906         * org.el (org-add-log-setup): Limit searc for drawers to entry
1907         text, not to subtree.
1909         * org-clock.el (org-clock-heading-for-remember): New variable.
1910         (org-clock-in): Set `org-clock-heading-for-remember'.
1912 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
1914         * org-remember.el (org-remember-apply-template): Add new
1915         expansions: %k, %K for currently clocked task and a link to the
1916         currently clocked task, and %< to file notes in the currently
1917         clocked task.
1919 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
1921         * org-export-latex.el (org-export-latex-make-header): Also insert
1922         the content of the property :latex-header-extra.
1924         * org-exp.el (org-infile-export-plist): Put the content of
1925         #+LATEX_HEADER: into the property :latex-header-extra.
1927         * org-colview.el (org-columns-get-format-and-top-level): Remove
1928         resetting the marker.
1930         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
1931         Remove resetting the marker.
1933         * org.el (org-entry-property-inherited-from): Improve docstring.
1934         (org-entry-get-with-inheritance): Reset marker before starting the
1935         search.
1937         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
1939 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
1941         * org.el (org-entry-get-multivalued-property)
1942         (org-entry-protect-space, org-entry-restore-space): New
1943         functions.
1944         (org-file-apps-defaults-macosx): Let postscript files be opened by
1945         preview.
1946         (org-time-stamp-inactive): Call `org-time-stamp'.
1947         (org-time-stamp): New argument `inactive'.  Also edit inacive
1948         stamps. Convert time stamp type.
1949         (org-open-file): Interpret the `default' value for the `command'
1950         in `org-file-apps'.
1952         * org-id.el (org-id-int-to-b36-one-digit)
1953         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
1954         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
1955         b36.
1957 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
1959         * org-id.el (org-id-reverse-string): New function.
1960         (org-id-new): Use `org-id-reverse-string' to make sure the
1961         beginning chars of the ID are mutating fast.  This allows to use a
1962         directory structure to spread things better.
1963         (org-id-prefix): Changed default to nil.
1965         * org-list.el (org-move-item-down, org-move-item-up): Remember and
1966         restore the column of the cursor position.
1968         * org-remember.el (org-remember-apply-template): Remove properties
1969         from `initial'.
1971 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
1973         * org-wl.el (org-wl-open): Remove useless call to
1974         `wl-thread-open-all'.
1976         * org-remember.el (org-remember-handler): Fix bug with `bottom'
1977         location.
1979 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
1981         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
1982         `org-bbdb-anniversaries'.
1984         * org.el (org-get-next-sibling, org-forward-same-level): New
1985         functions, similar to the outline versions, but invisible headings
1986         are OK.
1988 2008-09-25  Bastien Guerry  <bzg@altern.org>
1990         * org.el (org-auto-repeat-maybe): Insert a space between
1991         the timestamp's type and the timestamp itself.
1993 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
1995         * org-table.el (org-table-sum): Do not format the result with %g,
1996         it does rounding when there are too many digits.
1998         * org.el (org-map-entries): Protect the keyword-selecting variables.
2000 2008-09-23  Bastien Guerry  <bzg@altern.org>
2002         * org-agenda.el (org-agenda-to-appt): Make sure the function check
2003         against all agenda files.
2005 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
2007         * org-list.el: New file, aggregating list functions from org.el
2008         and org-export-latex.el.
2010         * org.el (org-edit-src-region-extra): New option.
2012 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
2014         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
2015         time before 1am.
2017 2008-09-22  Bastien Guerry  <bzg@altern.org>
2019         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
2021 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
2023         * org-plot.el (org-plot/gnuplot): Make tables starting with a
2024         hline work correctly.
2025         (org-plot/gnuplot-script): Put commas at the end of each script
2026         line.
2028 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
2030         * org.el (org-get-refile-targets): Replace links with their
2031         descriptions
2032         (org-imenu-get-tree): Replace links with their descriptions.
2034         * org-remember.el (org-remember-apply-template): Add a new
2035         expansion for adding properties to remember items.
2037         * org.el (org-add-log-setup): Skip over drawers (properties,
2038         clocks etc) when adding notes.
2040         * org-agenda.el (org-agenda-get-closed): show durations of clocked
2041         items as well as the start and end times.
2043         * org-compat.el (org-get-x-clipboard-compat): Add a compat
2044         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
2046         * org-remember.el (org-get-x-clipboard): Use the compat
2047         function to get clipboard values when x-selection-value is
2048         unavailable. Use substring-no-properties instead of
2049         set-text-properties to remove text properties from the clipboard
2050         value.
2052         * lisp/org-clock.el (org-update-mode-line): Support limiting the
2053         modeline clock string, and display the full todo value in the
2054         tooltip. Set a local keymap so mouse-3 on the clock string goes to
2055         the currently clocked task.
2056         (org-clock-string-limit): Add a custom value for the maximum
2057         length of the clock string in the modeline.
2058         (org-clock-mode-map): Add a keymap for the modeline string
2060 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
2062         * org-compat.el (org-propertize): New function.
2064 2008-09-20  Bastien Guerry  <bzg@altern.org>
2066         * org-export-latex.el (org-export-latex-tables): protect exported
2067         tables from further special chars conversion.
2068         (org-export-latex-preprocess): Preserve LaTeX environments.
2069         (org-list-parse-list): Parse descriptive lists.
2070         (org-list-to-generic, org-list-to-latex, org-list-to-html)
2071         (org-list-to-texinfo): Export descriptive lists.
2072         (org-quote-chars): Remove.
2073         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
2074         (org-export-latex-list-beginning-re): Rename to
2075         `org-list-beginning-re'
2076         (org-list-item-begin): Rename to `org-list-item-beginning'
2078 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
2080         * org.el (org-refile): Allow refiling to the last entry in the
2081         buffer.
2082         (org-get-tags-at): Fix bug when inheritance is turned off.
2084 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
2086         * org.el (org-indent-line-function): No longer check for src
2087         regions, this is too much overhead.
2089         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
2090         matching.
2092         * org.el (org-scan-tags): Make sure that tags matching is not case
2093         sensitive.  TODO keyword matching is case sensitive, however, to
2094         avoid confusion with similar words that are not meant to be
2095         keywords.
2097 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
2099         * org.el (org-get-local-tags-at): New function.
2100         (org-get-local-tags): New function.
2102         * org-exp.el (org-export-get-categories): New function.
2104         * org-agenda.el (org-sorting-choice)
2105         (org-agenda-sorting-strategy, org-agenda-get-todos)
2106         (org-agenda-get-timestamps, org-agenda-get-deadlines)
2107         (org-agenda-get-scheduled, org-agenda-get-blocks)
2108         (org-entries-lessp): Implement sorting by TODO state.
2109         (org-cmp-todo-state): New defsubst.
2111         * org-colview.el (org-colview-construct-allowed-dates): New
2112         function.
2113         (org-columns-next-allowed-value): Use
2114         `org-colview-construct-allowed-dates'.
2116         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
2117         function.
2118         (org-columns-next-allowed-value): Use
2119         `org-colview-construct-allowed-dates'.
2121 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
2123         * org.el (org-protect-slash): New function.
2124         (org-get-refile-targets): Use `org-protect-slash'.
2126         * org-agenda.el (org-global-tags-completion-table): New variable.
2128         * org-exp.el (org-export-handle-export-tags): New function.
2129         (org-export-preprocess-string): Call
2130         `org-export-handle-export-tags'.
2132         * org-plot.el: New file.
2134         * org-publish.el (org-publish-expand-components): Function removed.
2135         (org-publish-expand-projects): Allow components to have components.
2137 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
2139         * org.el (org-indent-line-function): Do not indent in regions that
2140         are external source code.
2141         (org-yank-and-fold-if-subtree): New function.
2143         * org-agenda.el (org-agenda-todayp): New function.
2144         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
2145         `org-agenda-todayp'.
2147         * org.el (org-insert-heading-respect-content)
2148         (org-insert-todo-heading-respect-content): New commands.
2149         (org-insert-heading-respect-content): New option.
2150         (org-insert-heading): Respect `org-insert-heading-respect-content'.
2152         * org-clock.el (org-clock-find-position): Make sure the note after
2153         the clock line gets moved into the new clock drawer.
2155 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
2157         * org-id.el (org-id-new): New option.
2159 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
2161         * org-table.el (org-table-copy-down): Avoid overflow during
2162         increment.  Use prefix argument 0 to temporarily disable the
2163         increment.
2165 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
2167         * org-exp.el (org-export-as-html): Do not turn on the major mode
2168         if the buffer will be killed anyway.
2169         (org-get-current-options): Exclude the #+TEXT field.
2170         (org-export-as-html): Make sure text before the first headline is
2171         a paragraph.
2173         * org-publish.el (org-publish-org-to): Tell the exporter that this
2174         buffer will be killed, so it is not necessary to do major mode
2175         initialization.
2177         * org-archive.el (org-archive-to-archive-sibling): Show empty
2178         lines after folding the archive sibling.
2180         * org.el (org-log-note-extra): New variable.
2182 2008-09-05  Bastien Guerry  <bzg@altern.org>
2184         * org.el (org-additional-option-like-keywords): Added keywords for
2185         the _QUOTE, _VERSE and _SRC environments.
2187         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
2188         exporting _QUOTE and _VERSE environments.
2190 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
2192         * org-agenda.el (org-agenda-filter-by-tag): New command.
2194         * org-exp.el (org-get-current-options): Remove angular brackets
2195         from the date entry.
2197         * org.el (org-edit-fixed-width-region): New function.
2198         (org-edit-fixed-width-region): Also try
2199         `org-edit-fixed-width-region'.
2200         (org-edit-fixed-width-region-mode): New option.
2201         (org-activate-code): Only interprete lines starting with colon
2202         plus a space as example lines.
2204         * org-remember.el (org-remember-templates): Add nil instead of
2205         empty strings to fix the length of remember templates.
2207         * org-table.el (org-calc-default-modes): Fix the time format for
2208         calc, from 12 hour to 24 hour clock.
2210 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
2212         * org-agenda.el (org-agenda-get-deadlines)
2213         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
2214         entries that are pre-warnings of deadlines or reminders.
2216         * org.el (org-sort-entries-or-items): Make numeric and alpha
2217         comparisons ignore any TODO keyword and priority cookie.
2219         * org-remember.el (org-remember-handler): Reinterpretation of the
2220         prefix argument.
2222 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
2224         * org-agenda.el (org-agenda-get-scheduled): Use new
2225         `org-scheduled' face.
2227         * org-faces.el (org-scheduled): New face.
2229         * org-wl.el (org-wl-open): Remove incorrect declaration.
2231         * org-gnus.el (org-gnus-store-link): Support for :to information
2232         in gnus links.
2234         * org-exp.el (org-export-as-html): Fixed typo in creator
2235         information.
2236         (org-export-protect-examples): New parameter indent.  Insert extra
2237         spaces only when this parameter is specified.
2238         (org-export-preprocess-string): Call `org-export-protect-examples'
2239         with an indentation parameter when exporting to ASCII.
2241         * org-remember.el (org-remember-templates)
2242         (org-remember-apply-template): Allow the file component to be a
2243         function.
2245         * org.el (org-goto-local-search-headings): Renamed from
2246         `org-goto-local-search-forward-headings'.  Added the possibility
2247         to search backwards.
2249 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
2251         * org-export-latex.el (org-export-latex): New customization
2252         group.
2254         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
2256 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
2258         * org-exp.el (org-html-do-expand): Allow {} to terminate
2259         tex macro
2261 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
2263         * org.el (org-buffer-list): Select buffers based on major mode,
2264         not on file name.
2266 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
2268         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
2269         face property.
2271         * org-colview.el (org-columns-display-here): Use
2272         `org-columns-modify-value-for-display-function'.
2274         * org-colview-xemacs.el (org-columns-display-here): Use
2275         `org-columns-modify-value-for-display-function'.
2277 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
2279         * org.el (org-columns-modify-value-for-display-function): New option.
2291         * org-publish.el (org-publish-file): Make sure the directory match
2292         for the publishing directory works correctly.
2294         * org-agenda.el (org-agenda-execute-calendar-command)
2295         (org-agenda-diary-entry): Additional optional argument.
2297 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
2299         * org-exp.el (org-export-as-html): Add attributes also in mailto
2300         and ftp links.
2302         * org.el (org-autoload): Add `org-dblock-write:columnview'.
2311 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
2313         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
2314         sure that calls from `org-export-region-as-html' do not do the
2315         special check for a subtree.
2317 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
2319         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
2321 2008-07-20  Juri Linkov  <juri@jurta.org>
2323         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
2324         new keymap `narrow-map' instead of binding "\C-xns".
2326 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
2328         * org.el (org-open-file): Use
2329         `org-open-directory-means-index-dot-org'.
2330         (org-open-directory-means-index-dot-org): New option.
2332 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
2334         * org.el (org-make-link-string): Remove link attributes from
2335         description.
2336         (org-open-at-point): Remove link attributes bevore using the path.
2338         * org-exp.el (org-export-as-html): Handle link attributes.
2340         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
2342         * org-table.el (org-table-to-lisp): New function.
2344         * org.el (org-narrow-to-subtree): Do not include the final newline
2345         into the narrowed region.
2347         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
2348         bug with user-define skipping condition.
2350 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
2352         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
2354 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
2356         * org-exp.el (org-export-html-style-default): Automatic overflow
2357         handling for pre fields.
2358         (org-export-as-ascii, org-export-as-html): Change default format
2359         for time stamp.
2361         * org-table.el (org-table-export): Offer completion for translator
2362         functions, and do not require a heading above the table.
2364         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
2365         Cater for the case of a list starting in the first line of the
2366         buffer.
2368 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
2370         * org-publish.el (org-publish-find-title): Bug fix.
2371         (org-publish-org-index): Implement new :index-style option.
2373 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
2375         * org-publish.el (org-publish-timestamp-filename): Use
2376         SHA1-encoded file names in the timestamp directory.
2378 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
2380         * org-publish.el (org-publish-needed-p): Be verbose about files
2381         published and files skipped.
2383         * org-exp.el (org-export-preprocess-string): Swap link
2384         normalization and inernal link targeting.
2386         * org-publish.el (org-publish-needed-p): Create timestamp
2387         directory when it does not exist.
2389 2008-07-04  Bastien Guerry  <bzg@altern.org>
2391         * org-clock.el (org-clock-out-when-done): Doc fix.
2393         * org.el (org-agenda-skip-unavailable-files): Doc fix.
2395         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
2396         Ignore case when searching for the COMMENT cookie at export time.
2398 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
2400         * org-exp.el (org-get-file-contents)
2401         (org-get-and-remove-property): New functions.
2402         (org-export-handle-include-files): Handle the new prefix options.
2403         (org-export-as-html): Fix the verse environment.
2405 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
2407         * org.el (org-time=, org-time<, org-time<=, org-time>)
2408         (org-time>=, org-time<>, org-2ft): New functions.
2409         (org-op-to-function): Also provide for the time testing fucntions.
2411 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
2413         * org-exp.el (org-export-html-style-default): New constant.
2415 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
2417         * org-exp.el (org-export-html-style-extra): New variable.
2418         (org-export-splice-style): New function.
2420 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
2422         * org-exp.el (org-export-plist-vars, org-export-as-html):
2423         Implement `org-export-creator-info'.
2424         (org-export-creator-info): New option.
2426 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
2428         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
2429         (org-property-drawer-re, org-clock-drawer-re): New constants.
2431 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
2433         * org-exp.el (org-icalendar-use-deadline)
2434         (org-icalendar-use-scheduled): New options.
2435         (org-icalendar-include-todo): Default changed to t.
2436         (org-print-icalendar-entries): Implement better utilization of
2437         scheduling and deadline time stamps.
2438         (org-export-target-internal-links, org-export-as-html): Allow file
2439         lines without the "file:" prefix if the file path is an absolute
2440         path or starts with ".".
2442         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
2443         lastweek etc.
2444         (org-clock-special-range): Also undertand yesterday, lastweek etc.
2446 2008-06-18  Glenn Morris  <rgm@gnu.org>
2447         * org.el (org-map-entries): Let-bind `file'.
2449 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
2451         * org.el (org-agenda-skip-archived-trees): Docstring now
2452         discourages using this.
2453         (org-scan-tags): Check for org-agenda-archives-mode.
2454         (org-map-entries): Make sure org-agenda-archives-mode is nil.
2455         (org-agenda-files): Functionality of second arg changed.
2457         * org-agenda.el (org-agenda-archives-mode): New variable
2458         (org-write-agenda, org-prepare-agenda, org-agenda-list)
2459         (org-search-view, org-todo-list, org-tags-view)
2460         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
2461         `ifmode' argument.
2462         (org-agenda-quit): Reset the archives mode.
2463         (org-agenda-archives-mode): New command.
2464         (org-agenda-set-mode-name): Include archives info.
2466 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
2468         * org.el (org-paste-subtree): Make sure the yanked headline is
2469         visible if it was yanked at a visible point.
2470         (org-move-item-up): Fix the bug with moving white space at the end
2471         of the item.
2472         (org-show-empty-lines-in-parent): New function.
2474 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
2476         * org-colview.el (org-columns-next-allowed-value): Bug fix.
2478         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
2480         * org-agenda.el (org-agenda-get-closed): Get the end time into the
2481         agenda prefix as well.
2483         * org-publish.el (org-publish-org-index): Make a properly indented
2484         list.
2486         * org.el (org-calendar-agenda-action-key): New option.
2487         (org-get-cursor-date): New function.
2488         (org-mark-entry-for-agenda-action): New command.
2489         (org-overriding-default-time): New variable.
2490         (org-read-date): Respect `org-overriding-default-time'.
2492         * org-remember.el (org-remember-apply-template): Respect the
2493         ovverriding default time.
2495         * org-agenda.el (org-agenda-action-marker): New variable.
2496         (org-agenda-action): New command.
2497         (org-agenda-do-action): New function.
2499 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
2501         * org.el (org-schedule, org-deadline): Protect scheduled and
2502         deadline tasks against changes that accidently remove the
2503         repeater.  Also show a message with the new date when done.
2505 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
2507         * org.el (org-beginning-of-line): Cater for the case when there
2508         are tags but no headline text.
2509         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
2510         it set.
2512 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
2514         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
2515         the return value is nil instead of "nil" when there is no match.
2517         * org-exp.el (org-insert-centered): Use fill-column instead of
2518         80.
2519         (org-export-as-ascii): Use string-width to measure the width of
2520         the heading.
2522         * org.el (org-diary-to-ical-string): No longer kill buffer
2523         FROMBUF, this is now done by the caller.
2525         * org-exp.el (org-print-icalendar-entries): Move the call to
2526         `org-diary-to-ical-string' out of the loop, and kill the buffer
2527         afterwords.
2529         * org-remember.el (org-remember-visit-immediately): Position
2530         cursor after moving to the note.
2531         (org-remember-apply-template): Use a text property to record the
2532         cursor position.
2533         (org-remember-handler): Align tags after pasting the note.
2535 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
2537         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
2539         * org-agenda.el (org-agenda-open-link): If there is an
2540         org-bbdb-name property in the current line, jump to that bbdb
2541         entry.
2543         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
2544         text property, so that the agenda knows where this entry comes
2545         from.
2547         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
2548         interaction between clocking-in from the agenda, and  automatic
2549         task state switching.
2551         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
2553         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
2554         zmacs-region stays after this command in XEmacs.
2556 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
2558         * org.el (org-scan-tags): Allow new values for ACTION parameter.
2560         * org-remember.el (org-remember-templates): Fix bug in
2561         customization type definition.
2563         * org.el (org-map-entries): New function.
2565 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
2567         * org-agenda.el (org-agenda-skip-comment-trees): New option.
2568         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
2570 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
2572         * org-remember.el (org-jump-to-target-location): New variable.
2573         (org-remember-apply-template): Set
2574         `org-remember-apply-template' if requested by template.
2575         (org-remember-handler): Start an idle timer to jump to
2576         remember location.
2578         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
2580         * org.el (org-set-regexps-and-options): Fix bug with parsing of
2581         file tags.
2582         (org-get-tags-at): Add the content of `org-file-tags'.
2584         * org-exp.el (org-export-handle-comments): Fix bug with several
2585         comment lines after each other.
2586         (org-number-to-roman, org-number-to-counter): New functions.
2587         (org-export-section-number-format): New option.
2589 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
2591         * org-exp.el (org-export-protect-examples): Catch the case of a
2592         missing end_example line.
2594         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
2595         `org-file-tags' to nil.
2597         * org-colview.el (org-columns-next-allowed-value): Handle next
2598         argument NTH to directly select a value.
2600         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
2601         argument NTH to directly select a value.
2603 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
2605         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
2607 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
2609         * org.el (org-columns-ellipses): New option.
2611 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
2613         * org-colview.el (org-columns-add-ellipses): New function.
2614         (org-columns-compact-links): New function.
2615         (org-columns-cleanup-item): Call `org-columns-compact-links'.
2616         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
2617         when in agenda.
2618         (org-columns-edit-value): Fixed bug with editing values from
2619         agenda column view.
2620         (org-columns-redo): Also redo the agenda itself.
2622 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
2624         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
2625         option.
2627         * org-colview.el (org-agenda-columns-cleanup-item): New function.
2629         * org-exp.el (org-export-ascii-preprocess): Renamed from
2630         `org-export-ascii-clean-string'.
2631         (org-export-kill-licensed-text)
2632         (org-export-define-heading-targets)
2633         (org-export-handle-invisible-targets)
2634         (org-export-target-internal-links)
2635         (org-export-remove-or-extract-drawers)
2636         (org-export-remove-archived-trees)
2637         (org-export-protect-quoted-subtrees)
2638         (org-export-protect-verbatim, org-export-protect-examples)
2639         (org-export-select-backend-specific-text)
2640         (org-export-mark-blockquote-and-verse)
2641         (org-export-remove-comment-blocks-and-subtrees)
2642         (org-export-handle-comments, org-export-mark-radio-links)
2643         (org-export-remove-special-table-lines)
2644         (org-export-normalize-links)
2645         (org-export-concatenate-multiline-links)
2646         (org-export-concatenate-multiline-emphasis): New functions,
2647         obtained from spliiting the export preprocessor.
2649         * org-table.el (org-table-recalculate): Improve error message if
2650         the row number is invalid.
2652 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
2654         * org-archive.el (org-archive-save-context-info): Fix bugs in
2655         customization setup and docstring.
2657         * org-exp.el (org-export-html-style): Changed the size of in the
2658         <pre> element to 90%.
2660 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
2662         * org.el (org-find-src-example-start): Function removed.
2663         (org-edit-src-find-region-and-lang): New function.
2665 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
2667         * org.el (org-edit-src-exit): New function.
2668         (org-exit-edit-mode): New minor mode.
2670         * org-exp.el (org-export-preprocess-string): Fix bug with removing
2671         comment-like lines from protected examples.
2673         * org.el (org-edit-src-example, org-find-src-example-start)
2674         (org-protect-source-example, org-edit-special): New functions.
2676 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
2678         * org-publish.el (org-publish-project-alist): Fix typo in
2679         docstring.
2680         (org-publish-project-alist): Handle :index-title property.
2682 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
2684         * org-export-latex.el (org-export-as-latex): Make sure region
2685         bounds are correct.  Parse subtree properties relating to export.
2687         * org-exp.el (org-export-add-options-to-plist): New function.
2688         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
2690 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
2692         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
2693         EXPORT_TITLE.
2695         * org-exp.el (org-export-get-title-from-subtree)
2696         (org-export-as-ascii, org-export-as-html): Make sure the original
2697         region-beginning and region-end are used, even after moving
2698         point.
2699         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
2700         property.
2702         * org-remember.el (org-remember-last-stored-marker): New variable.
2703         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
2704         (org-remember-handler): Also use marker to remember
2705         last-stored position.
2707         * org.el (org-goto-marker-or-bmk): New function.
2709 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
2711         * org.el (org-file-properties): Renamed from `org-local-properties'.
2712         (org-scan-tags): Take file tags into account.
2713         (org-tags-match-list-sublevels): Default changed to t.
2715         * org-exp.el (org-export-as-html): Close paragraph after a
2716         footnote.
2718         * org.el (org-update-parent-todo-statistics): New function.
2720         * org-exp.el (org-icalendar-store-UID): New option.
2721         (org-icalendar-force-UID): Option removed.
2722         (org-print-icalendar-entries): IMplement UIDs.
2724 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
2726         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
2728 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
2730         * org-faces.el (org-column): Document how this face is being used
2731         and why sometimes the background faces shine through.
2733         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
2735         * org-publish.el (org-publish-attachment): Create publishing
2736         directory if it does not yet exist.
2738         * org-table.el (org-calc-default-modes): Change default number
2739         format to (float 8).
2741         * org.el (org-olpath-completing-read): New function.
2742         (org-time-clocksum-format): New option.
2743         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
2745         * org-clock.el (org-clock-display, org-clock-out)
2746         (org-update-mode-line): Use `org-time-clocksum-format'.
2748         * org-colview-xemacs.el (org-columns-number-to-string): Use
2749         `org-time-clocksum-format'.
2751         * org-colview.el (org-columns-number-to-string): Use
2752         `org-time-clocksum-format'.
2754 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
2756         * org-id.el: New file, move from contrib to core.
2758         * org-exp.el (org-icalendar-force-UID): New option.
2760 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
2762         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
2763         shifted by one day if theere is a date range without an end
2764         time.
2766         * org.el (org-try-structure-completion): New function.
2768 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
2770         * org.el (org-set-font-lock-defaults): Improve fontification of
2771         description lists.
2772         (org-insert-item): Handle description lists.
2773         (org-adaptive-fill-function): Improve auto indentation in
2774         description lists.
2776         * org-exp.el (org-export-as-html, org-export-preprocess-string):
2777         Implement VERSE environment.
2778         (org-export-preprocess-string): Implement the COMMENT
2779         environment.
2781         * org-export-latex.el (org-export-latex-preprocess): Implement
2782         VERSE environment.
2784 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
2786         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
2787         option.
2789 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
2791         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
2793         * org.el (org-quote-csv-field): New functions.
2795         * org-table.el (org-table-export-default-format): Remove :splice
2796         from default format, we get the same effect by not specifying
2797         :tstart and :tend.
2798         (org-table-export): Improve setup, distinguish better between
2799         interactive and non-interactive use, allow specifying the format
2800         on the fly, better protection against wrong file names.
2801         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
2802         and :tend when :splice is omitted.
2804 2008-05-09  Bernt Hansen  <bernt@norang.ca>
2806         * org-clock.el (org-clock-select-task): Make sure the selection
2807         letters are 1-9 and A-Z, no special characters.
2809 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
2811         * org-exp.el (org-export-htmlize): New group.
2812         (org-export-htmlize-output-type)
2813         (org-export-htmlize-css-font-prefix): New options.
2814         (org-export-htmlize-region-for-paste): New function.
2815         (org-export-htmlize-generate-css): New command.
2817 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
2819         * org/org.el (org-modules, org-format-latex-options):
2820         * org/org-archive.el (org-archive-stamp-time)
2821         (org-archive-save-context-info):
2822         * org/org-faces.el (org-hide):
2823         * org/org-irc.el (org-irc-parse-link):
2824         * org/org-macs.el (org-call-with-arg, org-autoload):
2825         * org/org-mew.el (org-mew-store-link):
2826         * org/org-remember.el (org-remember-store-without-prompt)
2827         (org-remember-templates): Fix typos in docstrings.
2829         * org/org-info.el (org-info-store-link): Remove leftover docstring.
2831         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
2832         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
2833         (org-bbdb-anniv-split): Fix typos in docstrings.
2835         * org/org-publish.el (org-publish-project-alist): Doc fixes.
2836         (org-publish-use-timestamps-flag): Reflow docstring.
2837         (org-publish-files-alist): Fix typos in docstring.
2839 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
2841         * org.el (org-set-visibility-according-to-property): New function.
2842         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
2843         and compute the regular expressions, and update font-lock.
2844         (org-property-re): Allow a dash in property names.
2846         * org-archive.el (org-extract-archive-file): Insert the file name
2847         without the path into the format, to allow the location format to
2848         contain a subdirectory.
2850         * org-agenda.el (org-agenda-post-command-hook): If point is at end
2851         of buffer, and the `org-agenda-type' property undefined, use the
2852         value from the character before.
2854         * org.el (org-add-planning-info): Don't let indentation for
2855         would-be timestamp become extra whitespace at the end of headline.
2857 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
2859         * org.el (org-remove-double-quotes, org-file-contents): New
2860         functions.
2862         * org-exp.el (org-infile-export-plist): Also parse the
2863         contents of #+SETUPFILE files, recursively.
2865         * org.el (org-set-regexps-and-options): Also parse the
2866         contents of #+SETUPFILE files, recursively.
2868         * org-exp.el (org-export-handle-include-files): New function.
2869         (org-export-preprocess-string): Call
2870         `org-export-handle-include-files'.
2872         * org.el (org-delete-property-globally)
2873         (org-delete-property, org-set-property): Ignore case during
2874         completion.
2875         (org-set-property): Use `org-completing-read' instead of
2876         `completing-read'.
2878         * org.el (org-complete-expand-structure-template): New,
2879         experimental function.
2880         (org-structure-template-alist): New, experimental option.
2881         (org-complete): Call `org-complete-expand-structure-template'.
2883 2008-05-06  Bastien Guerry  <bzg@altern.org>
2885         * org-export-latex.el (org-export-latex-preprocess): Added
2886         support for blockquotes.
2888 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
2890         * org.el (org-read-date-analyze): Catch the case where only a
2891         weekday is given.
2893 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
2895         * org.el (org-set-font-lock-defaults): Make the description
2896         tag bold.
2898         * org-exp.el (org-export-as-html, org-close-li): Implement
2899         description lists.
2901 2008-05-04  Jason Riedy  <jason@acm.org>
2903         * org-table.el (*orgtbl-default-fmt*): New variable.
2904         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
2905         when there is no other fmt available.
2907         (orgtbl-to-generic): Allow an explicitly nil :tstart or
2908         :tend to suppress the appropriate string.
2910         (orgtbl-to-orgtbl): New function for translating to another orgtbl
2911         table.
2913 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
2915         * org.el (org-read-date-analyze): "." as an alias for "+0" in
2916         read date.
2918         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
2919         New function.
2921         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
2922         New function.
2924 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
2926         * org-clock.el (org-clock-find-position): Don't include notes
2927         into clock drawer.
2929         * org-archive.el (org-archive-subtree): No longer remove an
2930         extra line after cutting the subtree.  `org-cut-subtree' already
2931         takes care of this.
2933         * org-remember.el (org-remember-handler): Only kill the target
2934         buffer if it does not contain the running clock.
2936         * org.el (org-markers-to-move): New variable.
2937         (org-save-markers-in-region, org-check-and-save-marker)
2938         (org-reinstall-markers-in-region): New function.
2939         (org-move-subtree-down, org-copy-subtree): Remember relative
2940         marker positions before cutting.
2941         (org-move-subtree-down, org-paste-subtree): Restore relative
2942         marker positions after pasting.
2944         * org-remember.el (org-remember-clock-out-on-exit): New option.
2945         (org-remember-finalize): Clock out only if the setting in
2946         `org-remember-clock-out-on-exit' requires it.
2947         (org-remember-handler): Do the cleanup in the buffer, to make sure
2948         that the clock marker remains in tact.
2950 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
2952         * org-clock.el (org-clock-goto): Widen buffer if necessary.
2953         (org-clock-in): Make sure that also tasks outside the narrowed
2954         region will be clocked in correctly.
2955         (org-clock-insert-selection-line): Widen the buffer so that we can
2956         find the correct task heading.
2958         * org.el (org-base-buffer): New function.
2960         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
2961         and ";" are escaped.
2962         (org-print-icalendar-entries): Also apply
2963         `org-icalendar-cleanup-string' to the headline, not only to the
2964         summary property.
2966 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
2968         * org-exp.el (org-export-preprocess-hook): New hook.
2969         (org-export-preprocess-string): Call
2970         `org-export-preprocess-hook'.
2972         * org.el (org-font-lock-hook): New variable.
2973         (org-font-lock-hook): New function.
2974         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
2976 ;; Local Variables:
2977 ;; coding: utf-8
2978 ;; add-log-time-zone-rule: t
2979 ;; End:
2981     Copyright (C) 2008  Free Software Foundation, Inc.
2983   This file is part of GNU Emacs.
2985   GNU Emacs is free software: you can redistribute it and/or modify
2986   it under the terms of the GNU General Public License as published by
2987   the Free Software Foundation, either version 3 of the License, or
2988   (at your option) any later version.
2990   GNU Emacs is distributed in the hope that it will be useful,
2991   but WITHOUT ANY WARRANTY; without even the implied warranty of
2992   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2993   GNU General Public License for more details.
2995   You should have received a copy of the GNU General Public License
2996   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
2998 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c