Allow normal lists completion also when using ido.el
[org-mode.git] / lisp / ChangeLog
blob46589a6d5edd279adc0d289baa197793ce830e85
1 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-ido-completing-read): Accept straight lists for
4         completion as well as alists.
6         * org-html.el (org-export-as-html): Fix parenthesis error in
7         footnore code.
9         * org-timer.el (org-timer-cancel-timers): Renamed from
10         `org-timer-cancel-timers'.
12         * org.el (org-cycle-internal-local): Fix problem with finding next
13         invisible line.
15 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
17         * org-list.el (org-list-send-list): Call
18         `org-list-goto-true-beginning' instead of
19         `org-list-find-true-beginning', which does not exist.
21         * org-timer.el (org-timer-reset-timers): Use `mapc'.
22         (org-timer-set-timer): Do not assign to heading.
24         * org-id.el (org-id-open): Quote function name.
26         * org-macs.el (org-unmodified): Turn off recording undo
27         information while running inside the macro.
29         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
30         variable.
31         (org-indent-mode): Remember and restore value of
32         org-hide-leading-stars before `org-indent-mode'.
34         * org-table.el (org-table-export): Also work in file-less
35         buffers.
37         * org.el (org-startup-indented): New option.
38         (org-startup-options): Add new options indent and noindent.
39         (org-unfontify-region): Remove line-prefix and wrap-prefix
40         properties.
41         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
42         hooks.
43         (org-promote, org-demote): Run the new hooks.
45         * org-table.el (org-table-align): Replace leading \n as well.
47         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
48         and `line-wrap' text properties.
50         * org-compat.el (org-kill-new): New function.
52         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
53         `line-wrap' text properties.
55         * org-indent.el: New file.
57 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
59         * org.el (org-provide-todo-statistics): Tweak docstring.
61         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
63 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
65         * org-exp.el (org-export-as-org): Insert the "-source" string
66         before the extension.
68         * org.el (org-read-date): Make sure the calendar is in the current
69         frame.
70         (org-set-emph-re): Remove the ? from the post-match.
71         (org-emphasis-regexp-components): Add backslash to the
72         postmatch class.
73         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
74         optional so that also lines at the end of the buffers will still
75         be matched as headlines.
77         * org-table.el (org-table-error-on-row-ref-crossing-hline):
78         Variable made obsolete.
79         (org-table-relative-ref-may-cross-hline): New option.
80         (org-table-find-row-type): Honow the new option
81         `org-table-relative-ref-may-cross-hline'.
83 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
85         * org-table.el (org-table-cut-region, org-table-copy-region): Work
86         on single field if no active region.
88 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
90         * org-latex.el (org-export-latex-make-header): Only insert title
91         if one is defined.
93         * org.el (org-make-options-regexp): Allow empty values.
95         * org-html.el (org-export-as-html): Move hrule detection to after
96         plain list handling.
98 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
100         * org-html.el (org-format-org-table-html): Fix colgroup tags.
102 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
104         * org.el (org-cycle-internal-local): Improved version of finding
105         next visible line.
106         (org-cycle-hide-drawers): Only hide drawers if this is really
107         necessary.
108         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
109         org-version of this function in Org-mode.  We use advice to
110         implement this change, so that future changes to this function in
111         outline.el wil be handled properly.
112         (org-forward-same-level, org-backward-same-level): New commands.
114 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
116         * org.el (org-remove-empty-overlays-at)
117         (org-clean-visibility-after-subtree-move): New functons.
118         (org-move-subtree-down): Simplify cleanup of display.
120 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
122         * org-mac-message.el (org-mac-message-get-links): Improve
123         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
124         "s".  Fix the return value.
125         (org-mac-message-insert-flagged): Simplify.
127         * org.el (org-refile-get-location): Tamper with refile history o
128         that history contains compete matches instead of the entered
129         string.
131 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
133         * org.el (org-store-link): Never store a link to an inline task.
135         * org-inlinetask.el (org-inlinetask-insert-task): New command.
137         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
138         inline tasks when positioning footnotes.
140         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
141         function.
143         * org.el (org-refile): Remove the END line when archiving an
144         inline task that does have an END line.
146         * org-archive.el (org-archive-subtree): Remove the END line when
147         archiving an inline task that does have an END line.
149         * org-macs.el (org-with-limited-levels): New macro.
150         (org-get-limited-outline-regexp): New function.
152         * org-exp.el (org-export-format-source-code-or-example): Fix bug
153         that did not enumerate first line.
154         (org-export-mark-radio-links): Skip matches in links.
156 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
158         * org.el (org-activate-plain-links): Make single-match.
159         (org-adapt-indentation): Fix docstring.
161         * org-macs.el (org-unmodified): Turn of modification hooks while
162         running this macro.
164 2009-08-02  Bastien Guerry  <bzg@altern.org>
166         * org.el (org-adapt-indentation): Slightly improve the docstring.
167         (org-occur): Sends an error when the user inputs an empty string.
168         (org-priority): Bugfix: the tag alignement should happen within
169         save-excursion.
171 2009-07-31  Bastien Guerry  <bzg@altern.org>
173         * org.el (org-make-link-regexps): Don't exclude parentheses from
174         `org-plain-link-re'
175         (org-cycle-internal-local): When locally cycling, switch directly
176         from CHILDREN to FOLDED if there is no subtree
177         (org-cycle): Update the docstring to document the new behavior of
178         `org-cycle-internal-local'.
180 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
182         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
183         an abbreviated format for days.
185 2009-07-27  Bastien Guerry  <bzg@altern.org>
187         * org-protocol.el (org-protocol-default-template-key): New
188         option.
190         * org.el (org-refile): Bugfix: save-excursion before reading the
191         refile target, otherwise cursor moves might confuse `org-refile'.
193         * org-html.el (org-export-as-html): Bugfix: correctly convert the
194         footnote reference before the footnote itself.
196         * org.el (org-toggle-heading): Bugfix: correctly convert list
197         items before the first headline.
199         * org-html.el (org-export-html-footnote-format): New option for
200         formatting the footnote reference.
201         (org-export-as-html): Use the new option.
203         * org.el (org-provide-todo-statistics): Allow a list of TODO
204         keywords to compute statistics against headlines containing a
205         keyword from this list.
206         (org-update-parent-todo-statistics): Possibly use the new allowed
207         value of `org-provide-todo-statistics'.
209 2009-07-26  Bastien Guerry  <bzg@altern.org>
211         * org-timer.el: Add autoload cookie.
213         * org.el (org-occur-link-in-agenda-files): New function.
215         * org-timer.el (org-timer-last-timer): New variable.
217         * org-agenda.el (org-agenda-mode-map): New key for
218         org-timer-set-timer called from the agenda.
220         * org.el (org-mode-map): New key for org-timer-set-timer.
222         * org-timer.el (org-timer-reset-timers)
223         (org-timer-show-remaining-time, org-timer-set-timer): New
224         functions.
226         * org-clock.el (org-show-notification): Update the docstring.
228         * org.el (org-provide-todo-statistics): Allow new value
229         'all-headlines for this option, which includes entries with no
230         TODO keywords in the todo statistics.
231         (org-update-parent-todo-statistics): Possibly use the new
232         'all-headline value from `org-provide-todo-statistics'.
234 2009-07-25  Bastien Guerry  <bzg@altern.org>
236         * org-clock.el (org-dblock-write:clocktable): Add a new option
237         :timestamp which allows display of timestamps in clock reports.
239         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
240         list to a subtree, preserving the structure of the list.
241         (org-set-emph-re): Make the last element optional in the regexp.
242         This regexp now matches an emphasized string at the end of a line.
244         * org-list.el (org-list-goto-true-beginning)
245         (org-list-make-subtree, org-list-make-subtrees): New functions.
247         * org.el (org-eval-in-calendar): Select the right frame.
248         (org-save-frame-excursion): Remove this macro.
250 2009-07-24  Bastien Guerry  <bzg@altern.org>
252         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
253         trying to find the beginning of a list.
255         * org-exp.el (org-get-file-contents): Use a new argument: markup.
256         When present, tell org-get-file-contents not to protect org-like
257         lines.
259         * org-id.el (org-id-uuid-program): New option to set the name of
260         the uuidgen program.
261         (org-id-method): Use `org-id-uuid-program'.
262         (org-id-new): Use `org-id-uuid-program'.
264 2009-07-23  Bastien Guerry  <bzg@altern.org>
266         * org-exp.el (org-export-number-lines): Allow whitespace in code
267         references.  Allow the -r switch to remove the references in the
268         source code even when the lines are not numbered: the labels can
269         be explicit enough.
271         * org.el (org-fontify-whole-heading-line): New option.
272         (org-set-font-lock-defaults): Use the new option.
274         * org-clock.el (org-show-notification-handler): New option.
275         (org-show-notification): Use the new option.
277 2009-07-21  Bastien Guerry  <bzg@altern.org>
279         * org.el (org-eval-in-calendar): Fix a bug about calendar
280         navigation when `calendar-setup' value is 'calendar-only.
282 2009-07-19  Bastien Guerry  <bzg@altern.org>
284         * org.el (orgstruct++-mode): Fix typo in docstring.
285         (org-insert-link): Clean up: (or (...)) => (...)
286         (org-insert-link): Use TAB for stored links completion.
288 2009-07-18  Bastien Guerry  <bzg@altern.org>
290         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
291         building the list of targets.
293         * org-remember.el (org-remember-delete-empty-lines-at-end): New
294         option.
295         (org-remember-handler): Use the new option.
297 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
299         * org.el (org-tags-sort-function): New option for sorting tags.
300         (org-set-tags): Use the new option to sort tags.
302         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
303         premature deletion of the data when using org-plot in a script.
305 2009-07-17  Bastien Guerry  <bzg@altern.org>
307         * org-clock.el (org-clock-in-prepare-hook): New hook.
308         (org-clock-in): Use this new hook.
310 2009-07-16  Bastien Guerry  <bzg@altern.org>
312         * org.el (org-special-ctrl-a/e): Explicitely bind the value
313         'reversed for this option to the "true line boundary first"
314         behavior.
315         (org-tags-match-list-sublevels): Document the 'indented value for
316         this variable.
318         * org-latex.el (org-export-latex-first-lines): Fix problem with
319         publishing the region.
321         * org-exp.el (org-export-format-source-code-or-example): Fix
322         bad line numbering when exporting examples in HTML.
324 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
326         * org-colview.el (org-format-time-period): Formats a time in
327         fractional days as days, hours, mins, seconds.
328         (org-columns-display-here): Add special handling for SINCE and
329         SINCE_IA to format for display.
331         * org.el (org-time-since): Add a function to get the time since an
332         org timestamp.
333         (org-entry-properties): Add two new special properties: SINCE and
334         SINCE_IA. These give the time since any active or inactive
335         timestamp in an entry.
336         (org-special-properties): Add SINCE, SINCE_IA.
337         (org-tags-sort-function): Add custom declaration for tags
338         sorting function.
339         (org-set-tags): Sort tags if org-tags-sort-function is set
341 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
343         * org-clock.el (org-clock-goto): Find hidden headlines as well.
345         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
347         * org-plot.el (org-plot/add-options-to-plist): Add timeind
348         option.
350 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
352         * org-publish.el (org-publish-remove-all-timestamps): New function.
353         (org-publish-all): Remove all timestamp files if `org-publish-all'
354         is called with a prefix argument.
356         * org-list.el (org-indent-item): Fix typo.
357         (org-item-indent-positions): Normalize ordered bullet.
359         * org-html.el (org-export-html-home/up-format): New option.
360         (org-export-as-html): Insert the up and HOME links.
362 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
364         * org-html.el (org-export-as-html): Insert the title into the
365         option plist.
366         (org-export-html-insert-plist-item): New function.
367         (org-export-as-html): Call `org-export-html-insert-plist-item'.
369         * org-macs.el (org-set-local): Make a local variable, do not make
370         the variable buffer-local!
372         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
374         * org-html.el (org-export-as-html): Call `org-install-letbind'.
376         * org-docbook.el (org-export-as-docbook): Call
377         `org-install-letbind'.
379         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
381         * org-exp.el (org-infile-export-plist): Read BIND lines.
382         (org-install-letbind): New function.
383         (org-export-as-org, org-export-preprocess-string): Call
384         `org-install-letbind'.
386         * org-src.el (org-edit-src-exit): Untabify the example before
387         returning to Org.
389         * org-list.el (org-list-demote-modify-bullet): New option.
390         (org-first-list-item-p): Save point.
391         (org-fix-bullet-type): New optional argument FORCE-BULLET.
392         (org-indent-item): Honor `org-list-demote-modify-bullet'.
393         (org-item-indent-positions): Return bullet types along with
394         indentation.
396 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
398         * org.el (org-show-entry): Hide drawers.
400 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
402         * org-footnote.el (org-footnote-auto-adjust): New option.
403         (org-footnote-auto-adjust-maybe): New function.
404         (org-footnote-new, org-footnote-delete): Call
405         `org-footnote-auto-adjust-maybe'.
407         * org.el (org-startup-options): Add new footnote-related
408         keywords.
410         * org-publish.el (org-publish-timestamp-filename): Additional
411         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
412         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
413         TRUE-PUB-DIR.  Pass them through to
414         `org-publish-timestamp-filename'.
415         (org-publish-update-timestamp): Additional arguments PUB-DIR and
416         PUB-FUNC, which are included in the hash.
417         (org-publish-file): Delay timestamp test until the publishing
418         function is known.
420 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
422         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
423         setting the deadline.
425         * org.el (org-read-date-final-answer): New variable.
426         (org-read-date): Store the final answer string, including the date
427         from the calendar, for reuse by agenda bulk commands.
429         * org-publish.el (org-publish-attachment): Fix publishing of
430         attachments.
432         * org-latex.el (org-export-latex-quotation-marks): Fix export of
433         quotation makrs in parenthesis.
434         (org-remove-initial-hash): New function.
435         (org-export-latex-preprocess): Fix bug with infinite loop if
436         environment is not properly closed.
438         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
439         when indented.
441         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
442         highlight also when indented.
444 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
446         * org-footnote.el (org-footnote-renumber-fn:N): New command.
447         (org-footnote-action): Offer renumbering.
449         * org.el (org-cycle): Honor the `integrate' value of
450         org-cycle-include-plain-lists'.
452         * org-list.el (org-cycle-include-plain-lists): New allowed value
453         `internal'.  Improve the docstring.
455         * org.el (org-set-autofill-regexps): Improve the paragraph-start
456         regexp to work better with LaTeX commands.
458 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
460         * org-feed.el (org-feed-update): fix problem with non-existing
461         buffer.
462         (org-feed-skip-http-headers): New function.
463         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
464         (org-feed-get-feed): Fix command line arguments for curl.
466 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
468         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
469         and eps extensions.
471 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
473         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
474         loaded.
476         * org.el (org-map-entries): No longer force
477         `org-tags-match-list-sublevels' to t during a todo-only tags
478         search.
480 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
482         * org-latex.el (org-export-latex-low-levels): Allow user-defined
483         environment.
484         (org-export-latex-subcontent): Handle user-defined environment.
486         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
487         the View dispatcher.
489         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
490         `make-overlay'.
492         * org-latex.el (org-export-as-pdf): Protect match data during call
493         to shell-quote-argument.
495         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
496         (org-agenda-view-mode-dispatch): New function.
498 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
500         * org-agenda.el (org-agenda-mode): Reset list of marks.
501         (org-agenda-mode-map): Define new keys for refile and bulk action.
502         (org-agenda-menu): Add menu itesm for refile and bulk action.
503         (org-agenda-refile): New function.
504         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
505         (org-agenda-marked-entries): New variable.
506         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
507         (org-agenda-remove-all-bulk-action-marks)
508         (org-agenda-bulk-action): New functions/commands.
510 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
512         * org-exp.el (org-get-file-contents): Protect org-like lines in
513         included files.
514         (org-export-format-source-code-or-example): Remove newlines.
516         * org-latex.el (org-export-latex-links): Check for no-description
517         marking.
519         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
520         argument separator back to comma.
521         (org-export-normalize-links): Mark links without description.
523 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
525         * org-exp.el (org-infile-export-plist): Fix bug in macro
526         processing.
528         * org-agenda.el (org-agenda-clock-out): Update line after clocking
529         out.
530         (org-agenda-highlight-todo): Fix bug with highlighting.
532 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
534         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
535         new alignment strings.
537         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
538         command list.
539         (org-table-align): Check for forced align type.
541         * org.el (org-self-insert-command): Add yas/expand to command
542         list.
544         * org-clock.el (org-clock-in-hook): New hook.
545         (org-clock-in): Run `org-clock-in-hook.
546         (org-clock-out-hook): New hook.
547         (org-clock-out): Run `org-clock-out-hook.
548         (org-clock-cancel-hook): New hook.
549         (org-clock-cancel): Run `org-clock-cancel-hook.
550         (org-clock-goto-hook): New hook.
551         (org-clock-goto): Run `org-clock-goto-hook.
553 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
555         * org.el (org-store-link): Better default description for link to
556         Org-mode headline.
558         * org-exp.el (org-export-generic): Autoload the generic exporter
559         function.
560         (org-export): Implement the `g' key for the generic exporter.
562 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
564         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
565         and for zbacktab'.
567         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
569         * org-exp.el (org-infile-export-plist): Get macros also from
570         #+SETUPFILE.
572 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
574         * org-colview.el (org-columns-capture-view): Protect vertical bars
575         in column values.
576         (org-columns-capture-view): Exclude comment and archived trees.
578         * org-colview-xemacs.el (org-columns-capture-view): Protect
579         vertical bars in column values.
580         (org-columns-capture-view): Exclude comment and archived trees.
582         * org.el (org-quote-vert): New function.
584         * org-latex.el (org-export-latex-verbatim-wrap): New option.
586         * org-exp.el (org-export-format-source-code-or-example): Use
587         `org-export-latex-verbatim-wrap'.
589         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
590         time stamps.
592         * org-html.el (org-export-table-row-tags): New option.
593         (org-format-org-table-html): Rename `nlines' to `nline', use new
594         option.
597 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
599         * org-exp-blocks.el: Declare functions and variables.
601         * org-remember.el (org-remember-templates): Allow the headline
602         element to be a function.
603         (org-remember-apply-template): If the headline is a function, call
604         it to get the true function.
606         * org-clock.el (org-clock-menu): New function.
607         (org-clock-update-mode-line): Update help string.
608         (org-clock-modify-effort-estimate): New function.
609         (org-clock-mark-default-task): New function.
611         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
612         minutes as input.
613         (org-org-menu): Add new clocking stuff.
614         (org-clock-is-active): New function.
616 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
618         * org.el (org-open-non-existing-files): Improve docstring.
620 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
622         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
623         option.
624         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
626         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
628         * org-list.el (org-get-checkbox-statistics-face): Use the new
629         faces.
631         * org-faces.el (org-checkbox-statistics-todo)
632         (org-checkbox-statistics-done): New faces.
634 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
636         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
637         (org-edit-src-exit): Better cursor positioning when returning from
638         editing.
640         * org-latex.el (org-export-latex-use-verb): New variable.
641         (org-export-latex-emph-format): Prefer \texttt over \verb when
642         org-export-latex-use-verb is set.
644 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
646         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
647         at normal indentation.
649         * org-html.el (org-export-html-close-lists-maybe): Also look at
650         normal indentation.
652         * org-remember.el (org-remember-handler): Abort remember if the
653         buffer is empty.
655         * org-src.el (org-edit-src-content-indentation): New option.
656         (org-edit-src-exit): Apply extra indentation.
658         * org-exp.el (org-export-format-source-code-or-example): Run
659         `org-src-mode-hook'.
661         * org-src.el (org-src-mode-hook): New variable.
662         (org-edit-src-code): Run `org-src-mode-hook'.
664 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
666         * org.el (org-indent-line-function): Fix indentation of +#end lines.
668         * org-src.el (org-edit-src-get-indentation): New function.
669         (org-edit-src-code): Base indentation on the begin line.
671 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
673         * org-gnus.el (org-gnus-store-link): Require message.el in
674         org-gnus-store-link.
676 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
678         * org-src.el: New file, split out of org.el
680         * org-docbook.el (org-export-as-docbook): Better indentation
681         treatment.
683         * org-macs.el (org-replace-match-keep-properties): New function.
685         * org-exp.el (org-export-mark-blockquote-verse-center): Better
686         preprocessing of center and quote and verse blocks.
688         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
689         (org-export-as-docbook): Close lists when original indentation
690         mandates it.
692         * org-html.el (org-export-html-close-lists-maybe): New function.
693         (org-export-as-html): Close lists when original indentation
694         mandates it.
696         * org-list.el (org-list-end): Respect the stored "original"
697         indentation when determining the end of the list.
699         * org-exp.el (org-export-replace-src-segments-and-examples):
700         Remember indentation correctly.
702 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
704         * org-clock.el (org-clock-update-mode-line): Apply face
705         org-mode-line-clock.
707         * org-faces.el (org-mode-line-clock): New face.
709 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
711         * org-gnus.el (org-gnus-store-link): Fix bug where
712         `org-gnus-store-link' used wrong subject when called in an article
713         buffer.  Patch provided by fengli AT gmail DOT com.
715 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
717         * org-exp.el (org-export-format-source-code-or-example): Remember
718         the original indentation of source code snippets and examples.
720         * org-latex.el (org-export-as-latex): Relocate the table of
721         contents.
723         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
725         * org-agenda.el (org-run-agenda-series): Scope global options also
726         when creating the agenda buffer.
728 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org.el (org-adapt-indentation): Improve documentation.
731         (org-insert-property-drawer): Respect org-adapt-indentation when
732         inserting the drawer.
733         (org-remove-flyspell-overlays-in): New function.
734         (org-do-emphasis-faces, org-activate-plain-links)
735         (org-activate-code, org-fontify-meta-lines-and-blocks)
736         (org-activate-angle-links, org-activate-footnote-links)
737         (org-activate-bracket-links, org-activate-dates)
738         (org-activate-target-links, org-activate-tags): Remove flyspell
739         overlays.
741 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
743         * org.el (org-edit-src-save): New function.
745         * org-clock.el (org-clock-out-switch-to-state): New option.
746         (org-clock-out): Honor `org-clock-out-switch-to-state'.
748         * org-compat.el (org-compatible-face): Improve macro.
750         * org.el (org-global-properties-fixed): Add default for
751         CLOCK_MODELINE_TOTAL.
753         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
754         andd tend.
755         (org-clock-sum-current-item): Optional argument TSTART, pass it to
756         org-clock-sum.
757         (org-clock-get-sum-start): New function.
759         * org.el (org-startup-options): New keywords blockhide and
760         blockshow.
761         (org-mode): Add new invisibility spec.
762         (org-set-startup-visibility): Hide block on startup if so
763         desired.
764         (org-hide-block-startup): New option.
765         (org-block-regexp): New constant.
766         (org-hide-block-overlays): New variable.
767         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
768         (org-show-block-all, org-hide-block-toggle-maybe)
769         (org-hide-block-toggle): New functions.
770         (org-edit-src-exit): Do not quote lines starting with # and no +
771         behind it.
772         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
773         entry.
775 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
777         * org.el (org-buffer-property-keys): Add Effort property for
778         completion.
780 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
782         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
783         when retrieving total clocked time in the subtree.
785         * org.el (org-quoting-blocks): New variable.
787 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
789         * org-table.el (org-table-store-formulas)
790         (org-table-get-stored-formulas, org-table-fix-formulas)
791         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
792         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
794         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
795         indented #+TBLFM line.
797         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
798         indented #+TBLFM line.
800         * org-colview.el (org-dblock-write:columnview): Allow indented
801         #+TBLFM line.
803         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
804         indented #+TBLFM line.
806         * org-clock.el (org-dblock-write:clocktable): Allow indented
807         #+TBLFM line.
809 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
811         * org-exp.el (org-export-format-source-code-or-example): Make
812         editing indented blocks work correctly.
814         * org.el (org-edit-src-nindent): New variable.
815         (org-edit-src-code, org-edit-fixed-width-region)
816         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
817         editing indented blocks work correctly.
819 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
821         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
822         indented blocks.
823         (org-export-format-source-code-or-example): Fix indentation of
824         blocks.
825         (org-export-remove-indentation): New function.
826         (org-export-select-backend-specific-text): Allow backend-specific
827         code to be indented.
828         (org-export-mark-blockquote-verse-center): Allow markers to be
829         indented.
831         * org.el (org-fontify-meta-lines): New function.
832         (org-set-font-lock-defaults): Call the new fontification
833         function.
835         * org-faces.el (org-meta-line): New face
836         (org-block):  New face.
838 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
840         * org.el (org-treat-insert-todo-heading-as-state-change)
841         (org-treat-S-cursor-todo-selection-as-state-change): New
842         variables.
843         (org-insert-todo-heading): Honor
844         `org-treat-insert-todo-heading-as-state-change'.
845         (org-shiftright, org-shiftleft): Honor
846         `org-treat-S-cursor-todo-selection-as-state-change'.
847         (org-inhibit-logging): New variable.
849 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
851         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
852         range for marker position checking.
854         * org-latex.el (org-export-latex-first-lines): Fix bug when
855         exporting a region.
857 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
859         * org-exp.el (org-export-push-to-kill-ring): Protect using
860         x-set-selection, because that does not always work.
862         * org-agenda.el (org-agenda-list): Apply the new face
863         `org-agenda-date-today'.
865         * org-faces.el (org-agenda-date-today): New face.
867 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
869         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
870         creating appointments.
872         * org-latex.el (org-export-latex-low-levels): Fix customization
873         type.
875         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
876         priority commands.
878         * org-agenda.el (org-agenda-priority): Disable priority commands.
880         * org.el (org-enable-priority-commands): New option.
882         * org-colview-xemacs.el (org-columns-compute)
883         (org-columns-number-to-string): Fix problems with empty fields.
885         * org-colview.el (org-columns-compute)
886         (org-columns-number-to-string): Fix problems with empty fields.
888         * org-exp.el (org-export-push-to-kill-ring): New function.
889         (org-export-copy-to-kill-ring): New option.
891         * org-latex.el (org-export-as-latex): Call
892         `org-export-push-to-kill-ring'.
894         * org-html.el (org-export-as-html): Call
895         `org-export-push-to-kill-ring'.
897         * org-docbook.el (org-export-as-docbook): Call
898         `org-export-push-to-kill-ring'.
900         * org-ascii.el (org-export-as-ascii): Call
901         `org-export-push-to-kill-ring'.
903         * org-exp.el (org-export-show-temporary-export-buffer): New
904         option.
906         * org-latex.el (org-export-as-latex): Use
907         `org-export-show-temporary-export-buffer'.
909         * org-html.el (org-export-as-html): Use
910         `org-export-show-temporary-export-buffer'.
912         * org-docbook.el (org-export-as-docbook): Use
913         `org-export-show-temporary-export-buffer'.
915         * org-ascii.el (org-export-as-ascii-to-buffer): Use
916         `org-export-show-temporary-export-buffer'.
918         * org-exp.el (org-export-show-temporary-export-buffer): New
919         option.
920         (org-export-push-to-kill-ring): New function.
922         * org-colview.el (org-columns-compile-map): New variable.
923         (org-columns-new, org-columns-compute)
924         (org-columns-number-to-string, org-columns-uncompile-format)
925         (org-columns-compile-format): Implement new operators.
927 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
929         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
931         * org-html.el (org-export-html-xml-declaration): New option.
932         (org-export-as-html): Use `org-export-html-xml-declaration'.
934         * org-list.el (org-update-checkbox-count): Make property
935         dependent.
937         * org.el (org-hierarchical-todo-statistics): New option.
938         (org-update-parent-todo-statistics): Modified to handle recursive
939         statistics.
941 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
943         * org-publish.el (org-publish): Make this function behave
944         correctly in interactive use when called with a prefix argument.
946         * org.el (org-todo-statistics-hook): New hook.
947         (org-update-parent-todo-statistics): Use new hook.
948         (org-log-into-drawer): New function.
949         (org-add-log-setup): Use the new `org-log-into-drawer' function to
950         determine if we should be logging into a drawer.
951         (org-log-into-drawer): Update docstring.
952         (org-default-properties): Add LOG_INTO_DRAWER as a property.
954         * org-list.el (org-checkbox-statistics-hook): New hook.
955         (org-update-checkbox-count-maybe): Use new hook.
957         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
958         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
959         to kill ring.
961 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
963         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
964         a line.
966 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
968         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
969         better bufer-generating mechanism.
970         (org-edit-src-find-buffer): New function.
972         * org-icalendar.el (org-print-icalendar-entries): Don't check for
973         archive tag, this is already done by `org-agenda-skip'.
974         data while constructing lost of tags.
976 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
978         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
979         as argument separator in macros.
981         * org-html.el (org-export-as-html): Add xml declaration.
983 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
985         * org.el (org-after-sorting-entries-or-items-hook): New hook.
986         (org-sort-entries-or-items): Run the new hook.
987         (org-after-refile-insert-hook): New hook.
988         (org-refile): Run `org-after-refile-insert-hook'.
990         * org-agenda.el (org-agenda-get-progress): Never take time of day
991         from headline when displaying progress.
993         * org-latex.el (org-export-latex-complex-heading-re): New variable.
994         (org-export-as-latex): Force the correct regexp in the
995         preprocessor buffer.
996         (org-export-latex-set-initial-vars): Set
997         `org-export-latex-complex-heading-re'.
999         * org-agenda.el (org-agenda-start-with-log-mode): New option.
1000         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1002 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
1004         * org-latex.el (org-export-latex-tables-centered): New option.
1005         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1007         * org-exp.el (org-export-as-org): New command.
1008         (org-export-as-org): New command.
1010         * org-publish.el (org-publish-org-to-org): New function.
1012 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
1014         * org.el (org-yank): Just call `org-yank-generic'.
1015         (org-yank-generic): New function, containing the formaer
1016         functionality of `org-yank'.
1018         * org-latex.el (org-export-latex-not-done-keywords)
1019         (org-export-latex-done-keywords): New variables.
1020         (org-export-latex-todo-keyword-markup): New option.
1021         (org-export-latex-set-initial-vars): Remember the TODO keywords.
1022         (org-export-latex-keywords-maybe): Apply the TODO markup.
1024 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
1026         * org-exp.el (org-infile-export-plist): Add more default macros.
1027         (org-export-preprocess-apply-macros): Process macro arguments.
1029 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
1031         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1032         `unblocked'.
1033         (org-print-icalendar-entries): Respect the new value of
1034         `org-icalendar-include-todo'.
1036         * org.el (org-link-try-special-completion)
1037         (org-file-complete-link): New functions.
1038         (org-insert-link): Add special completion support for some link
1039         types.
1041         * org-bbdb.el (org-bbdb-complete-link): New function.
1043 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
1045         * org-list.el (org-update-checkbox-count): Allow recursive
1046         statistics.
1047         (org-hierarchical-checkbox-statistics): New option.
1049         * org.el (org-cycle): Remove erraneous space character.
1051         * org-icalendar.el (org-icalendar-timezone): Initialize from
1052         environment.
1054         * org-html.el (org-format-org-table-html): Specify the scope.
1055         (org-format-table-table-html): Specify the scope.
1056         (org-export-table-header-tags): Prepare the scope parameter.
1058 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
1060         * org-html.el
1061         (org-export-html-table-use-header-tags-for-first-column): New
1062         option.
1064         * org.el (org-autoload): Fix autoloading of ascii export
1065         functions.
1066         (org-modules): Add org-special-blocks.
1068 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
1070         * org-icalendar.el (org-start-icalendar-file): Use the new option.
1071         (org-ical-timezone): New option.
1073         * org-exp.el (org-export-get-coderef-format): Use the description
1074         is present.
1076         * org.el (org-sort-entries-or-items): Improve docstring, and make
1077         better implementation for time sorting.
1079 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
1081         * org.el (org-edit-src-persistent-message): New option.
1082         (org-edit-src-code, org-edit-fixed-width-region): Use the new
1083         option.
1085         * org-clock.el (org-clock-insert-selection-line): Fix prefious
1086         patch.
1088         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1089         separate buffer instead of indirect buffer to edit source code.
1090         (org-edit-src-exit): Make this function work with the new setup.
1092         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1093         are properly fontified before shown in the selection menu.
1095         * org.el (org-fontify-like-in-org-mode): New function.
1097         * org-latex.el (org-export-latex-links): Use the property list to
1098         retrieve the default image attributes.
1100         * org-exp.el (org-export-plist-vars): Add a new option.
1102 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
1104         * org-exp.el (org-export, org-export-visible): Support ASCII
1105         export to buffer
1106         (org-export-normalize-links): Do not protect the description if it
1107         is explicitly given.
1109         * org-ascii.el (org-export-as-ascii-to-buffer)
1110         (org-replace-region-by-ascii, org-export-region-as-ascii): New
1111         commands.
1112         (org-export-as-ascii): Add all the same parameters that are also
1113         supported by the other export functions.
1115         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1116         org-checklist.el.
1117         (org-reset-checkbox-state-subtree): Call
1118         `org-reset-checkbox-state-subtree'.
1120         * org-remember.el (org-select-remember-template): For the
1121         selection of a valid template.
1123         * org-latex.el (org-export-region-as-latex): Supply the
1124         force-no-subtree argument.
1125         (org-export-as-latex): Provide better limits when exporting the
1126         first line.  When exporting to string, we still want the first
1127         lines.
1128         (org-export-latex-first-lines): New argument END, to force the end
1129         of the region.
1130         (org-export-region-as-latex): Use the property list.
1131         (org-export-as-latex):
1133         * org-colview-xemacs.el (org-columns-remove-overlays)
1134         (org-columns): Fix call to `local-variable-p'.
1136 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
1138         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1139         (org-export-as-html): Run the new hook.
1141         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1142         (org-export-latex-preprocess): Run the new hook.
1144         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1145         (org-export-preprocess-string): Run the new hook.
1147 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
1149         * org-macs.el (org-check-external-command): New defsubst.
1151         * org.el (org-mode-map): New key for reload.
1152         (org-format-latex): Better error message when external programs
1153         are not available.
1155         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1157         * org.el (org-sort-entries-or-items): Explicit sorting function
1158         for priorities, needed for XEmacs compatibility.
1160         * org-remember.el (org-remember-apply-template): Improve auto-save
1161         behavior.
1163 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
1165         * org-latex.el (org-export-latex-preprocess): Also protect
1166         environments ending in a star.
1168         * org-list.el (org-at-item-p): Fix regular expression.
1170 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
1172         * org.el (org-end-of-subtree): Improve speed.
1174         * org-agenda.el (org-agenda-get-timestamps)
1175         (org-agenda-get-progress, org-agenda-get-deadlines)
1176         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1177         in particular, wait as long as possible to collect the tags.
1178         (org-stuck-projects): Improve docstring.
1180         * org.el (org-store-link): No errors when getting custom id before
1181         first headline.
1182         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1184 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
1186         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1188         * org-protocol.el: Remove dependency on url.el.
1189         (org-protocol-unhex-compound, org-protocol-open-source): Remove
1190         dependency on url.el.
1192         * org-latex.el (org-export-as-pdf): Use
1193         `org-latex-to-pdf-process'.
1195 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
1197         * org-latex.el (org-latex-to-pdf-process): New option.
1199         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1200         New option.
1201         (org-agenda-get-timestamps): Honor
1202         `org-agenda-skip-additional-timestamps-same-entry'.
1204         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1205         (org-clock-goto): Find recent task only if
1206         `org-clock-goto-may-find-recent-task' allows it.
1208         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1209         drawers, and drawers that are missing the :END: line.
1211 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1213         * org-clock.el (org-clock-goto): Go to recently clocked task if no
1214         clock is running.
1216 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1218         * org.el (org-update-parent-todo-statistics): Check for
1219         STATISTICS_FROM property.
1221         * org-list.el (org-update-checkbox-count): Check for
1222         STATISTICS_FROM property.
1224         * org.el (org-tab-first-hook)
1225         (org-tab-after-check-for-table-hook)
1226         (org-tab-after-check-for-cycling-hook): New hooks.
1227         (org-cycle-internal-global, org-cycle-internal-local): New
1228         functions, split out from `org-cycle'.
1229         (org-cycle): Call the new hooks.
1231 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
1233         * org-exp.el (org-export-preprocess-string): Reset the list of
1234         preferred targets for each run of the preprocessor.
1236         * org.el (org-refile-target-verify-function): Improve
1237         documentation.
1238         (org-get-refile-targets): Respect point being moved by the
1239         verification function.
1241         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1242         option.
1243         (org-export-latex-keywords): Use new option.
1245         * org.el (org-rear-nonsticky-at): New defsubst.
1246         (org-activate-plain-links, org-activate-angle-links)
1247         (org-activate-footnote-links, org-activate-bracket-links)
1248         (org-activate-dates, org-activate-target-links)
1249         (org-activate-tags): Place the rear-nonsticky properties at the
1250         correct location.
1252 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
1254         * org-protocol.el (server-edit): Declare `server-edit'.
1255         (org-protocol-unhex-string, org-protocol-unhex-compound): New
1256         functions.
1257         (org-protocol-check-filename-for-protocol): Call `server-edit'.
1259         * org.el (org-default-properties): New default properteis for
1260         completion.
1262         * org-exp.el (org-export-add-subtree-options): Add new properties
1263         for subtree export.
1265         * org-docbook.el (org-export-docbook-keywords-markup)
1266         (org-export-docbook-timestamp-markup): New options.
1267         (org-export-docbook-protect-tags): New function.
1269 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
1271         * org-id.el (org-id-get-with-outline-path-completion): Turn off
1272         org-refile-target-verify-function for the duration of the command.
1274         * org.el (org-link-to-org-use-id): New possible value
1275         `create-if-interactive-and-no-custom-id'.
1276         (org-store-link): Use custom IDs.
1277         (org-link-search): Find custom ID properties from #link.
1278         (org-default-properties): Add CUSTOM_ID for property completion.
1279         (org-refile-target-verify-function): New option.
1280         (org-goto): Turn off org-refile-target-verify-function
1281         for the duration of the command.
1283 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
1285         * org-html.el (org-export-as-html): Use custom IDs in the toc.
1287         * org-exp.el (org-export-preferred-target-alist): New variable.
1288         (org-export-define-heading-targets): Find the new CUSTOM_ID
1289         property.
1290         (org-export-target-internal-links): Target the custom ids when
1291         possible.
1293         * org-latex.el (org-export-latex-preprocess): Better regexp for
1294         matching latex macros with arguments.
1296 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
1298         * org-remember.el (org-remember-handler): Allow filing to non-org
1299         files.
1301 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
1303         * org-feed.el (org-feed-alist): New keyword options.
1304         (org-feed-update): Use the new options.
1305         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1306         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1307         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1308         functions.
1310         * org-table.el (org-table-fix-formulas): Do not change references
1311         to remote tables.
1312         (org-table-get-remote-range): Convert standard coordinates to RC
1313         format.
1315         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1317 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
1319         * org-compat.el (org-sha1-string): Function removed.
1321         * org.el (org-refile-allow-creating-parent-nodes): New option.
1322         (org-refile-get-location): New argument NEW-NODES.
1323         (org-refile): Call `org-refile-get-location' with the new
1324         argument.
1325         (org-refile-get-location): Arrange for adding a new child.
1326         (org-refile-new-child): New function.
1328         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1329         an additional span element.
1331         * org-clock.el: Fix a number of docstrings.
1332         (org-clock-find-position): New argument
1333         FIND-UNCLOSED to make the function find an unclosed clock in the
1334         entry.
1335         (org-clock-in): Call `org-clock-find-position' with the new
1336         argument if we might be resuming a clock.
1338 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
1340         * org-latex.el (org-export-latex-display-custom-times): New variable.
1341         (org-export-latex-timestamp-markup): New option.
1342         (org-export-latex-set-initial-vars): Remember the local value of
1343         `org-display-custom-times'.
1344         (org-export-latex-content): Process time stamps.
1345         (org-export-latex-time-stamps): New function.
1347         * org-macs.el (org-maybe-intangible): Add intangible property
1348         again to invisible text.
1350 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
1352         * org-exp.el (org-default-export-plist): Handle undefined
1353         variables.
1355 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
1357         * org.el (org-sort-entries-or-items): Match TODO keywrds
1358         case-sensitively, when sorting.
1359         (org-priority): Do not match TODO keywords with wrong case.
1361 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
1363         * org-feed.el (org-feed-update): Bind the variable
1364         `new-formatted'.
1366         * org-html.el (org-export-as-html): Start paragraphs after literal
1367         examples.
1369         * org-docbook.el (org-export-as-docbook): Start paragraphs after
1370         literal examples.
1372 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
1374         * org.el (org-todo): Honor the NOBLOCKING property.
1376         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1377         NOBLOCKING property.
1379         * org.el (org-scan-tags): Fix bug in tag scanner
1381 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
1383         * org.el (org-modules): Mark obsolete packages.
1385         * org-html.el: New file, split out from org-exp.el.
1387         * org-icalendar.el: New file, split out from org-exp.el.
1389         * org-xoxo.el: New file, split out from org-exp.el.
1391         * org-ascii.el: New file, split out from org-exp.el.
1393 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
1395         * org-compat.el (org-find-library-name): New function.
1397         * org.el (org-pre-cycle-hook): New hook.
1398         (org-cycle): Call the new hook in appropriate places.
1399         (org-reload): Only reload files that have been loaded before.
1401 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
1403         * org.el (org-set-font-lock-defaults): Enforxe space or line end
1404         after todo keyword.
1405         (org-todo): When changing TODO state, do matching
1406         case-sensitively.
1407         (org-map-continue-from): New variable.
1408         (org-scan-tags): Respect values in `org-map-continue-from'.
1409         (org-reload): Make XEmacs compatible.
1411 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
1413         * org-protocol.el (org-protocol-flatten-greedy): New function.
1414         (org-protocol-flatten): New function.
1416         * org.el (org-open-link-from-string): Pass reference buffer to
1417         `org-open-at-point'.
1418         (org-open-at-point): New optional argument `reference-buffer'.
1420 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
1422         * org.el (org-scan-tags): Make tag scan find headline in first
1423         line, 2nd attempt.
1424         (org-get-refile-targets): Add the naked file name.
1425         (org-refile): Store as top-level entry when only file name was
1426         given.
1428         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1430         * org.el (org-block-todo-from-children-or-siblings-or-parent):
1431         Renamed from org-block-todo-from-children-or-siblings, and
1432         enhanced to look for the parent's status as well.
1434         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1435         (org-agenda-get-progress): Add first notes line to log entry if so
1436         desired.
1438 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
1440         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1441         (org-agenda-cleanup-fancy-diary): Call the new hook.
1443         * org-remember.el (org-remember-apply-template): Take the default
1444         for the annotation from the :annotation property.
1446         * org-mac-message.el (org-mac-message-get-link): Remove the
1447         quotes.
1448         (org-mac-message-get-link): Return the result.
1450 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
1452         * org.el (org-refile-get-location): Add file name only if not
1453         already included in outline path.
1455         * org-faces.el (org-n-level-faces): Fix customization type from
1456         number to integer.
1458         * org-exp.el (org-export-headline-levels): Fix customization type
1459         from number to integer.
1461         * org-agenda.el (org-agenda-confirm-kill)
1462         (org-agenda-custom-commands-local-options)
1463         (org-timeline-show-empty-dates, org-agenda-ndays)
1464         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1465         customization type from number to integer.
1467 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
1469         * org-protocol.el: Declare some functions.
1471         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1472         postion before inserting modified headline.
1474         * org-agenda.el (org-agenda-compare-effort): Honor
1475         `org-sort-agenda-noeffort-is-high'.
1476         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1477         (org-agenda-compare-effort): Implement the "?" operator for
1478         finding entries without effort setting.
1480         * org.el (org-extract-attributes-from-string): New function.
1482         * org-exp.el (org-export-splice-attributes): New function.
1484 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
1486         * org-mouse.el: XEmacs compatibility fixes
1488         * org-docbook.el (org-export-as-docbook): Process footnotes like
1489         normal text.
1491         * org.el (org-modules): Add org-inlinetasks.el
1492         (org-cycle): Implement limiting level on cycling.
1493         (org-move-subtree-down): Fix bug with swapping subtrees at end of
1494         buffer.
1496         * org-inlinetask.el: New file.
1498         * org.el (org-emphasis-regexp-components): Allow braces in
1499         emphasis pre and post match.
1501         * org-footnote.el (org-footnote-normalize): When only dorting, do
1502         not insert inline notes at the end.
1504         * org-docbook.el (org-id-find-id-file): Add function declaration.
1506         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1508         * org-docbook.el: New file.
1510 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
1512         * org.el (org-reftex-citation): New command.
1514 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
1516         * org-agenda.el (org-agenda-cmp-user-defined): New option.
1517         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1518         sorting options.
1519         (org-entries-lessp): Apply the new sorting option.
1521         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1522         blocker code, when an older sibling has children.
1524         * org-mac-message.el (org-mac-message-get-link): Improve getting
1525         links from multiple selected messages.
1527 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
1529         * org-remember.el (org-remember-finalize): Do not set buffer file
1530         name to nil.
1531         (org-remember-handler): Mark buffer as unmodified.
1532         (org-remember-handler): Delete backup file and show message about
1533         remaining backup files.
1534         (org-remember-auto-remove-backup-files): New option.
1536         * org.el (org-store-link): Use buffer name as link description in
1537         w3-mode buffers.
1538         (org-ido-switchb): Fix argument bug for completion.
1540         * org-remember.el (org-remember-apply-template): Set local
1541         variable `auto-save-visited-file-name' instead of global one.
1543 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
1545         * org-feed.el: Re-write.
1547         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1548         (org-agenda-get-todos): Mark file tags as inherited.
1549         (org-agenda-list): Always search diary lines for a time.
1551 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
1553         * org-feed.el (org-feed-assume-stable): New option.
1554         (org-feed-before-adding-hook): New hook.
1556         * org-exp.el (org-export-as-html): Close local lists depending on
1557         indentation, also when starting a table.
1559         * org-remember.el (org-remember-backup-directory)
1560         (org-remember-backup-name): New internal variable.
1562 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
1564         * org-clock.el (org-clock-out-if-current): Make buffer detection
1565         work in indirect buffers as well.
1567         * org.el (org-emphasis-regexp-components): Add the exxclamation
1568         mark to the post-emphasis characters.
1570 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
1572         * org.el (org-read-date-minibiffer-septup-hook): New hook.
1573         (org-read-date): Run the new hook.
1575         * org-mac-message.el (org-mac-flagged-mail): New group.
1576         (org-mac-mail-account): New variable.
1577         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1578         commands.
1580         * org-remember.el (org-remember-backup-directory): New variable.
1581         (org-remember-apply-template): Write file to backup directory.
1583 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
1585         * org-mouse.el (org-mouse-todo-menu): New function.
1586         (org-mouse-todo-keywords): Function removed.
1587         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1589         * org-table.el (org-table-beginning-of-field)
1590         (org-table-end-of-field): New commands
1591         (org-table-previous-field, org-table-beginning-of-field): Better
1592         error messages.
1593         (orgtbl-setup): Include `M-a' and `M-e'.
1595         * org.el (org-backward-sentence, org-forward-sentence): New
1596         commands.
1598         * org-colview.el (org-colview-initial-truncate-line-value): New
1599         variable.
1600         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1601         (org-columns): Remember the value of `truncate-lines'.
1603         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1604         New variable.
1605         (org-columns-remove-overlays): Restore the value of
1606         `truncate-lines'.
1607         (org-columns): Remember the value of `truncate-lines'.
1609         * org.el (org-columns-skip-arrchived-trees): New option.
1611         * org-agenda.el (org-agenda-export-html-style): Define color for
1612         org-agenda-done face.
1613         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1614         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1616         * org.el (org-scan-tags): Use the new face.
1618         * org-faces.el (org-agenda-done): New face.
1620         * org.el (org-scan-tags): Test the value org
1621         `org-tags-match-list-sublevels'.
1622         (org-tags-match-list-sublevels): New allowed value: indented.
1624         * org-export-latex.el (org-export-latex-make-header): Apply macros
1625         in header.
1627         * org-exp.el (org-export-apply-macros-in-string): New function.
1629         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1630         with the definition of a checked box.
1632         * org-clock.el (org-clock-find-position): Fix drawer indentations.
1634         * org-export-latex.el (org-export-latex-low-levels): More options
1635         for how to process lower levels in LaTeX.
1636         (org-export-latex-subcontent): Better treatment for lists as a
1637         means of publishing lower levels.
1639 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
1641         * org.el (org-set-font-lock-defaults): Use new checkbox face.
1643         * org-faces.el (org-checkbox): New face.
1645         * org-exp.el (org-export-html-preprocess): Only create LaTeX
1646         fragement images if there is an export file.
1648 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
1650         * org-agenda.el (org-stuck-projects): Document that the subtree of
1651         projects that are not stuck will now be searched for stuck
1652         sub-projects.
1653         (org-agenda-skip-entry-when-regexp-matches)
1654         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1655         (org-agenda-list-stuck-projects): Use
1656         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1658         * org-export-latex.el (org-export-latex-preprocess): Improve
1659         export of verses.
1661         * org-exp.el (org-export-as-html): Implement centering as a div
1662         rather than a paragraph.  Do a better job with line-end in verse
1663         environments.
1665 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
1667         * org.el (org-open-at-point): Fix tags searches by mouse click.
1669 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
1671         * org-export-latex.el (org-export-latex-preprocess): Implement the
1672         centering markup.
1674         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1675         from `org-export-mark-blockquote-and-verse'.
1676         (org-export-as-html): Implement the centering markup.
1678         * org-export-latex.el (org-export-latex-tables): Fix vertical
1679         lines in tables.
1681 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
1683         * org.el (org-read-date-history): New variable.
1684         (org-read-date): Use new history variable.
1685         (org-toggle-heading): Fix bug when used before first headline.
1686         (org-store-log-note): Remove drawer if empty while note is
1687         aborted.
1688         (org-remove-empty-drawer-at): New function.
1689         (org-check-after-date): New command.
1690         (org-sparse-tree): New sparse tree command "a".
1692         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1694 2009-03-14  Bastien Guerry  <bzg@altern.org>
1696         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1697         column and a space, not only a column.
1699 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
1701         * org-export-latex.el (org-export-latex-emphasis-alist): Better
1702         defaults for verbose emphasis.
1703         (org-export-latex-emph-format): New function.
1704         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1706         * org-agenda.el (org-agenda-menu): Add new commands to menu.
1707         (org-agenda-do-date-later, org-agenda-do-date-earlier)
1708         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1709         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1710         commands.
1712         * org.el (org-timestamp-change): Move end-time along with start
1713         time.
1715 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
1717         * org-exp.el (org-export-target-internal-links)
1718         (org-export-as-html): Protect links specified as #name.
1720 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
1722         * org.el (org-clone-subtree-with-time-shift): New command.
1724         * org-export-latex.el (org-export-latex-special-chars)
1725         (org-export-latex-treat-sub-super-char): Fix subscript export.
1727         * org-exp.el (org-create-multibrace-regexp): Do not add
1728         backslashes to the class.
1730 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
1732         * org-colview.el (org-columns-map): Better functions for moving up
1733         and down a row, even if `truncate-line' is nil.
1735         * org.el (org-insert-todo-heading): Make sure the keyword is
1736         inserted at the correct position.
1738         * org-publish.el (org-publish-project-alist)
1739         (org-publish-projects, org-publish-org-index): Change default anme
1740         for the index of file names to "sitemap.org".
1742         * org-export-latex.el (org-export-latex-tables): Use
1743         `org-split-string', for Emacs 21 compatibility.
1745 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
1747         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1749 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
1751         * org-exp.el (org-export-page-description)
1752         (org-export-page-keywords): New variables.
1753         (org-export-plist-vars): Add entries for :keywords and
1754         :description.
1755         (org-infile-export-plist): Parse for new keywords.
1756         (org-get-current-options): Add new keywords
1757         (org-export-as-html): Publish description and keywords.
1759         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1760         option.
1761         (org-agenda-add-entry-text): Honor
1762         `org-agenda-add-entry-text-descriptive-links'.
1764         * org-export-latex.el (org-export-latex-preprocess): Make all
1765         external preprocess functions use a PARAMETER arg.
1767         * org-exp.el (org-export-preprocess-string)
1768         (org-export-select-backend-specific-text)
1769         (org-export-format-source-code-or-example)
1770         (org-format-org-table-html): Support docbook export.
1771         (org-export-preprocess-string): Make all external preprocess
1772         functions use a PARAMETER arg.
1774 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
1776         * org-exp.el (org-export-html-style-include-scripts): New option.
1777         (org-export-plist-vars): Add new option
1778         `org-export-html-style-include-scripts'.
1779         (org-export-as-html): Honor new option
1780         `org-export-html-style-include-scripts'.
1781         (org-export-html-scripts, org-export-html-style-default): Fix
1782         xml issues with the Safari browser.
1784 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
1786         * org-publish.el (org-publish-attachment): Only copy file when the
1787         directories differ.
1789 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
1791         * org-clock.el (org-clocktable-steps): Use inactive time stamps
1792         for clocktable steps.
1794         * org.el (org-additional-option-like-keywords): Add two more
1795         keywords.
1797 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
1799         * org-exp.el (org-export-format-source-code-or-example): Mark
1800         temporary buffer unmodified, so that it will be killed even if
1801         mode like message mode has decided to assign a file name.
1803         * org.el (org-scan-tags): Improve tag inheritance.
1804         (org-scan-tags, org-make-tags-matcher): Make tag comparison
1805         case-sensitive.
1806         (org-scan-tags): Use the internal tags list instead of creating it
1807         from scratch.
1808         (org-trust-scanner-tags, org-scanner-tags): New variables.
1809         (org-scan-tags): Set `org-scanner-tags'.
1810         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
1811         (org-map-entries): Document the possible speedup using scanner
1812         tags.
1814 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
1816         * org.el (org-add-planning-info): Fix bug with looking for keyword
1817         only at column 0.
1819         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1820         option for tags filter preset.
1821         (org-prepare-agenda): Store filter preset as a property on the
1822         filter variable.
1823         (org-finalize-agenda): Call the filter, if there is a preset.
1824         (org-agenda-filter-by-tag): Filter again after clearing the
1825         filter, when there still is a preset.
1826         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
1827         Include the preset filter.
1828         (org-agenda-redo): Apply the filter again, also the preset filter.
1830         * org-exp.el (org-export-as-html): Use IDs in the correct way.
1832         * org.el (org-uuidgen-p): New funtion.
1834         * org-agenda.el (org-agenda-fontify-priorities): New default value
1835         `cookies'.
1836         (org-agenda-fontify-priorities): Renamed from
1837         org-fontify-priorities.
1839         * org.el (org-set-font-lock-defaults): Call
1840         `org-font-lock-add-priority-faces'.
1841         (org-font-lock-add-priority-faces): New function.
1843         * org-faces.el: (org-set-tag-faces): New option.
1844         (org-priority-faces): New variable.
1846         * org-exp.el (org-export-as-html): Add a "content" div around the
1847         entire content of the body tag.
1848         (org-export-html-get-bibliography): New function.
1849         (org-export-html-validation-link): New variable.
1850         (org-export-as-html): Add validation link to exported page.
1852         * org.el (org-match-sparse-tree): Renamed from
1853         `org-tags-sparse-tree'.
1854         (org-tags-sparse-tree): New alias.
1856 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
1858         * org.el (org-get-valid-level): Catch the case where the level
1859         change is nil.
1861         * org-clock.el (org-clock-find-position): Better indentation of
1862         new clock drawers.
1864 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
1866         * org-agenda.el (org-agenda-quit): Delete window only when the
1867         frame-setup was not `current-window'.
1869         * org.el (org-tag-persistent-alist): New option.
1870         (org-startup-options): Add keyword `noptag'.
1871         (org-fast-todo-selection): Handle :newline correctly.
1872         (org-set-tags): Handle :newline correctly.
1873         (org-fast-tag-selection): Handle :newline correctly.
1875 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
1877         * org-exp.el (org-export-as-ascii): Reverse link buffer before
1878         outputting it.
1879         (org-export-ascii-push-links): Fix bug with pussing links into the
1880         export buffer.
1882 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
1884         * org-archive.el (org-archive-subtree): Do not add 1 to level if
1885         pasting at top level.
1887         * org-bbdb.el: Improve documentation.
1889 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
1891         * org-list.el (org-insert-item): Only consider insert empty lines
1892         is `org-empty-line-terminates-plain-lists' is not nil.
1894         * org.el (org-blank-before-new-entry): Mention the dependence on
1895         `org-empty-line-terminates-plain-lists' in the docstring.
1897         * org-publish.el (org-publish-get-project-from-filename): New
1898         optional argument UP.  Only find the top project if UP is set.
1899         (org-publish-current-project): Find the top encloding project.
1901         * org-agenda.el (org-agenda-before-write-hook)
1902         (org-agenda-add-entry-text-maxlines): New options.
1903         (org-write-agenda): Run the new hook in the temporary buffer.
1904         (org-agenda-add-entry-text): New function.
1905         (org-write-agenda): Implement PDF export, using ps2pdf.
1907         * org.el (org-global-properties-fixed, org-global-properties):
1908         Improve documentation string.
1910         * org-exp.el (org-export-ascii-links-to-notes): New option.
1911         (org-export-as-ascii): Handle links better.
1912         (org-export-ascii-wrap, org-export-ascii-push-links): New
1913         functions.
1915 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
1917         * org-agenda.el (org-agenda): Make prefix arg optional.
1918         (org-agenda-search-headline-for-time): New option.
1919         (org-format-agenda-item): Honor
1920         `org-agenda-search-headline-for-time'.
1922         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
1923         characters.
1925         * org.el (org-self-insert-cluster-for-undo): New option.
1926         (org-self-insert-command): Cluster undo for 20 characters.
1927         (org-self-insert-command-undo-counter): New variable.
1929 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
1931         * org-exp.el (org-export-as-html): Fix problem with closing colone
1932         example.
1934 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
1936         * org-export-latex.el (org-export-as-latex)
1937         (org-export-latex-first-lines): Avoid modification flag when
1938         adding or removing text properties.
1939         (org-export-latex-fontify): Catch error when org-emph-alist has
1940         entries that are not defined for LaTeX export.
1942         * org.el (orgstruct++-mode): New function.
1943         (turn-on-orgstruct++): Call `orgstruct++-mode'.
1944         (org-context-p): Allow detecting item context after the first line
1945         of an item.
1946         (orgstruct-make-binding): Detect if item-body context should be
1947         seen.
1948         (orgstruct-is-++): New variable.
1949         (org-add-planning-info): Catch the case when there is no planning
1950         info yet and the call does not want to add anything, only maybe
1951         tries to remove something.
1952         (org-special-ctrl-a/e): All value to be a cons cell with separate
1953         settings for `C-a. and `C-e'.
1954         (org-beginning-of-line, org-end-of-line): Honor separate values
1955         for `C-a' and `C-e'.
1957 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
1959         * org.el (org-reload): New command.
1961 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
1963         * org-exp.el (org-export-htm-get-tag-class-name)
1964         (org-export-htm-get-todo-kwd-class-name): New functions.
1965         (org-export-html-tag-class-prefix)
1966         (org-export-html-todo-kwd-class-prefix): New options.
1967         (org-export-as-html): Call
1968         `org-export-html-get-todo-kwd-class-name'.
1969         (org-html-level-start): Wrap tags into classes.
1970         (org-export-html-get-tag-class-name)
1971         (org-export-html-get-todo-kwd-class-name): New functions.
1973         * org-export-latex.el (org-export-latex-collect-header-macros):
1974         Remove fields that are used anyway.
1975         (org-export-latex-make-header): Insert the options earlier.
1977         * org-agenda.el (org-agenda-get-progress): Fix bug with state
1978         matching.
1980         * org-list.el (org-indent-item): Allow point to be at the end of
1981         the region.
1983         * org.el (org-metaleft, org-metaright): Be more accurate about
1984         detecting a region where commands apply.
1986         * org-compat.el (org-cursor-to-region-beginning): New function.
1988         * org.el (org-priority): Also find invisible heading.
1990         * org-colview-xemacs.el (org-columns-edit-value): No special
1991         treatment for `org-todo' prefix.
1993         * org-colview.el (org-columns-edit-value): No special treatment
1994         for `org-todo' prefix.
1996         * org-remember.el (org-remember-apply-template): Use
1997         `org-completing-read-no-ido'.
1999         * org.el (org-completing-read-no-ido): New function.
2000         (org-make-tags-matcher, org-set-property): Use
2001         `org-completing-read-no-ido'.
2003         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2004         New option.
2005         (org-export-as-latex): Import in-buffer settings as TeX macros.
2006         (org-export-latex-make-header): Additional parameter OPT-DEFS.
2007         (org-export-latex-collect-header-macros): New function.
2009         * org.el (org-refile-get-location): Turn off
2010         `partial-completion-mode'.
2012 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
2014         * org.el (org-block-todo-from-checkboxes): Announce that
2015         checkboxes are the culprit.
2016         (org-block-todo-from-children-or-siblings): Call
2017         `org-up-heading-all instead' of `outline-up-heading'.
2019         * org-agenda.el (org-agenda-show-1): Renamed from
2020         `org-agenda-show'.
2021         (org-agenda-show): Re-install the old version for now.
2022         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
2023         variable into the blokker hook, so that the checkbox checker can
2024         anounce that it caused the blocking.
2026         * org.el (org-track-ordered-property-with-tag): New option.
2027         (org-toggle-ordered-property): Honor
2028         `org-track-ordered-property-with-tag'.
2029         (org-tag-alist): Add newline options.
2030         (org-set-regexps-and-options): Separate option lines imply a
2031         newline.
2032         (org-set-regexps-and-options, org-assign-fast-keys)
2033         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2034         option.
2035         (org-indent-line-function): Make sure this works even if there is
2036         not `org-drawer-regexp' defined.  This can happen when
2037         orgstruct-mode is used in a non-org buffer.
2039         * org-list.el (org-checkbox-blocked-p): New function.
2040         (org-toggle-checkbox): Check for blocking.
2042         * org.el (org-modules): Add an entry for org-R.el.
2044         * org-agenda.el (org-agenda-todo-ignore-with-date)
2045         (org-agenda-todo-ignore-scheduled)
2046         (org-agenda-todo-ignore-deadlines): Mention the variable
2047         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2049         * org.el (org-get-wdays): Find the warning period also if it is in
2050         the wrong place.
2051         (org-ido-completing-read): Provide the correct arguments to
2052         ido-completing-read and bind `ido-enter-matching-directory' to
2053         nil.
2055 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
2057         * org.el (org-olpath-completing-read): Never use ido for this
2058         one.
2060         * org-exp.el (org-export-normalize-links): Use new macro.
2062         * org-macs.el (org-if-unprotected-at): New macro.
2064         * org-agenda.el (org-agenda-show): Allow numerical prefix
2065         arguments to specify how much context should be shown.
2066         (org-agenda-cycle-show): New command, could be bound to SPC in
2067         org-agenda-mode-map.
2069         * org-exp.el (org-html-level-start): Space after section number.
2071 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
2073         * org-agenda.el (org-agenda-get-sexps): Add todo state as
2074         property, for sorting.
2075         (org-cmp-todo-state): Get the applicable TODO keywords directly
2076         from the buffer.
2077         (org-run-agenda-series, org-agenda-list, org-search-view)
2078         (org-todo-list, org-tags-view): Only fit agenda window when the
2079         whole series is done.
2081         * org.el (org-scan-tags): Add todo state as property, for sorting.
2083         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2084         `org-agenda-overriding-header' as an option.
2085         (org-agenda-list): Honor org-agenda-overriding-header'.
2087 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
2089         * org-list.el (org-toggle-checkbox): Improve cursor positioning
2090         after removing a checkbox.
2092         * org.el (org-show-entry): Make this work correctly also if it is
2093         the last entry in the file.
2094         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2095         falling back to normal, default command.
2096         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2097         item, call the checkbox toggler to get a box.
2099         * org-list.el (org-toggle-checkbox): Make double prefix set the
2100         checkbox to "[-]".
2101         (org-fix-bullet-type): Only replace bullet if it is changed.
2102         (org-renumber-ordered-list): Handle case when first item does not
2103         have a number.
2105         * org.el (org-add-log-setup): Fix positioning when
2106         `org-log-states-order-reversed' is nil.
2108         * org-clock.el (org-clock-in): Fix positioning when
2109         `org-log-states-order-reversed' is nil.
2110         (org-clock-find-position): Fix positioning when
2111         `org-log-states-order-reversed' is nil.
2113 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
2115         * org-clock.el (org-clock-into-drawer): Take default from
2116         `org-log-into-drawer'.
2117         (org-clock-find-position): Look for the correct drawer.
2119         * org.el (org-log-into-drawer): Renamed from
2120         `org-log-state-notes-into-drawer'.
2121         (org-log-state-notes-into-drawer): New variable alias.
2122         (org-add-log-setup): Make drawer name default to LOGBOOK, not
2123         CLOCK.
2124         (org-insert-property-drawer): Also skip LOGBOOK drawers.
2126 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
2128         * org-agenda.el (org-agenda): Fix docstring.
2130         * org.el ("org-plot"): Help loading org-plot.
2131         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2132         (org-metadown-hook, org-shiftmetaleft-hook)
2133         (org-shiftmetaright-hook, org-shiftmetaup-hook)
2134         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2135         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2136         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2137         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2139         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2140         for selecting files with any (and even without) extension.
2142         * org.el (org-save-all-org-buffers): Also save id locations.
2143         (org-revert-all-org-buffers): Also load id locations.
2145 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2146         * org.el (org-drawers): Add LOGBOOK to the default drawers.
2147         (org-log-state-notes-into-drawer): New option.
2148         (org-add-log-setup): Place the sate note marker into the drawer,
2149         create drawer when necessary.
2150         (org-refile-targets): Document special interpretation of LEVEL
2151         when odd-levels are used.
2153 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2155         * org.el (org-store-log-note): Fix note indentation when adding
2156         notes to end of list.
2158         * org-exp.el (org-export-as-html): Add TODO keyword as extra
2159         class, so that each keyword can get special colors through CSS.
2161         * org-clock.el (org-clock-out): Add another nil for the previous
2162         state into the call to `org-add-log-setup'.
2164         * org.el (org-log-note-previous-state): New variable.
2165         (org-log-note-headings): New %S escape for old state.
2166         (org-todo): Call the note setup with the old state as an
2167         argument.
2168         (org-add-note): Add another nil for the previous state into the
2169         call to `org-add-log-setup'.
2170         (org-add-log-setup): New argument PREV-STATE.
2171         (org-add-log-note): Handle new %S escape.
2172         (org-store-log-note): Handle new %S escape.
2174 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
2176         * org-clock.el (org-clock-find-position): Do not swallow an item
2177         less indented than the CLOCK line itself.
2178         (org-clock-in): Push markers to lin after the clock line.
2179         (org-clock-find-position): Handle values of
2180         `org-clock-into-drawer' smaller than 2.
2182         * org-exp.el (org-html-level-start): Add a CSS class to section
2183         numbers.
2184         (org-export-html-toplevel-hlevel): Better documentation of the
2185         influence of this variables on H levels and css classes in
2186         export.
2188 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
2190         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2191         timestamp and nottimestamp to the chooe menu.
2193         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2194         (org-revert-all-org-buffers): New command.
2196 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
2198         * org.el (org-return): Implement `org-return-follows-link' in the
2199         function org-return.  This is more robust than using the mouse
2200         map, I think.
2201         (org-set-regexps-and-options): Match more general #+TODO lines.
2202         (org-make-options-regexp): New optional argument EXTRA, for an
2203         extra regexp.
2204         (org-tab-follows-link): Mark as deprecated.
2206 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
2208         * org-exp.el (org-export-preprocess-string): Remove clock lines
2209         earlier, so that they cannot cotribute to verbatim snippets.
2211 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
2213         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2214         for finding drawers.
2215         (org-export-as-ascii, org-export-as-html): Count levels relative
2216         to the subtree header.
2217         (org-get-min-level): New optional argument OFFSET.
2218         (org-export): Make sure point is restored after popping up that
2219         window.
2221         * org.el (org-do-sort): Also take an inactive timestamp if no
2222         active one is found.
2224         * org-colview-xemacs.el (org-columns-capture-view): Copy before
2225         deleting duplicates.
2227         * org-colview.el (org-columns-capture-view): Copy before
2228         deleting duplicates.
2230         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2231         text before first headline.
2233         * org.el (org-format-latex): Do not convert LaTeX fragments in
2234         protected examples.
2236 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
2238         * org-exp.el (org-export-html-style-default): Use color values
2239         instead of names for XHTML validation.
2241         * org.el (org-get-scheduled-time, org-get-deadline-time): New
2242         functions.
2243         (org-return-follows-link): Revert making this the default untile
2244         issues are resolved.
2246         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2247         nottimestamp.
2249 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
2251         * org.el (org-mode): Make dependence stuff work more reliably.
2252         (org-update-parent-todo-statistics): Fix bug with updating
2253         statistics cookie.
2255         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2256         ~ as verbatim delimiters.
2258         * org-exp.el (org-export-html-format-image): New argument
2259         PAR-OPEN.
2260         (org-export-as-html): Pass par-open to
2261         `org-export-html-format-image'.
2263 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
2265         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2266         (org-use-fast-todo-selection, org-tags-column): New default
2267         setting for variables, based on a poll what typical uses use.
2269         * org-agenda.el (org-agenda-sorting-strategy)
2270         (org-agenda-tags-column): New default setting for variables, based
2271         on a poll what typical uses use.
2273 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
2275         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2276         blocked entries from setting the blocked tag.
2278         * org-exp.el (org-export-html-footnotes-section): Use a more
2279         consistent id for footnotes.
2281         * org-export-latex.el (org-export-latex-classes): Remove the
2282         a4paper option from the default styles.
2284 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
2286         * org.el (org-enforce-todo-checkbox-dependencies): New option.
2287         (org-block-todo-from-checkboxes): New function.
2288         (org-todo): Make tripple prefix arg circumvent blocking.
2290         * org-timer.el (org-timer): Provide the timer feature.
2292         * org.el (org-require-autoloaded-modules): Add a few more files to
2293         the list of autoloaded modules.
2295         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2297 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
2299         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2300         drawers that are unprotected.
2301         (org-export-html-format-image): Make sure inlined LaTeX fragment
2302         images remain inlined.
2304         * org.el (org-toggle-ordered-property): New function.
2305         (org-mode-map): Add a key for `org-toggle-ordered-property'.
2306         (org-org-menu): Add menu entries for TODO dependencies.
2308 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
2310         * org.el (org-default-properties): Add ORDERED to the default
2311         properties, to get completion support for it.
2313         * org-list.el (org-update-checkbox-count): Update more than one cookie.
2315         * org.el (org-update-parent-todo-statistics): Update more than one
2316         cookie.
2318         * org-agenda.el (org-agenda-get-todos): Start search from correct
2319         position.
2321         * org.el (org-fast-todo-selection): Make sure TODO selection does
2322         not change buffer position.
2324         * org-list.el (org-toggle-checkbox): Implement adding or removing
2325         checkboxes from line or region when called with a prefix
2326         argument.
2328         * org-rmail.el (org-rmail-store-link): Protect the call to
2329         `rmail-narrow-to-non-pruned-header'.
2331         * org-clock.el (org-clock-special-range): Fix week display in
2332         clock tables.
2334         * org-exp.el (org-get-current-options): Fix bug when in indirect
2335         buffer.
2337 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
2339         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2340         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2341         (org-agenda-dim-blocked-tasks): New function.
2343         * org.el (org-enforce-todo-dependencies): New option.
2344         (org-block-todo-from-children-or-siblings): New function.
2346         * org-faces.el (org-agenda-dimmed-todo-face): New face.
2348         * org.el (org-todo): Return correct state type even if the blocker
2349         throws an error.
2350         (org-modifier-cursor-error): Renamed from
2351         `org-shiftcursor-error'.
2352         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2353         (org-shiftmetadown): Call `org-modifier-cursor-error'.
2355         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2356         to get real errors from the blocker hook.
2358         * org.el (org-shiftselect-error, org-call-for-shift-select): New
2359         functions.
2360         (org-set-visibility-according-to-property): Turn off the setting
2361         of `org-show-entry-below', to avoid overruling a FOLDED visibility
2362         property.
2364 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2366         * org.el (org-support-shift-select): New option.
2367         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2368         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2369         selection outside contexts.
2371         * org-list.el (org-at-item-bullet-p): New function.
2373         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2374         variables.
2376         * org-footnote.el (org-footnote-normalize): Remove unnecessary
2377         variable.
2378         (org-insert-footnote-reference-near-definition): Remove
2379         unnecessary let form.
2381         * org-export-latex.el (org-export-latex-first-lines): Add
2382         OPT-PLIST parameter.
2383         (org-export-as-latex): Call `org-export-latex-first-lines' with
2384         opt-plits parameter.
2385         (org-export-latex-preprocess): Remove unnecessary variables.
2387         * org-exp.el (org-infile-export-plist)
2388         (org-export-add-options-to-plist, org-export-kill-licensed-text)
2389         (org-export-remove-headline-metadata)
2390         (org-export-get-title-from-subtree, org-get-min-level)
2391         (org-html-do-expand): Remove innecessary let form.
2393         * org-colview-xemacs.el (org-columns-display-here): Remove
2394         unnecessary variables.
2396         * org-colview.el (org-columns-display-here): Remove unnecessary
2397         variables.
2399         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2400         variables.
2402         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2403         unnecessary variables.
2405         * org-agenda.el (org-search-view, org-agenda-get-blocks)
2406         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2407         variables.
2409         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2410         (org-compact-display-after-subtree-move): Remove unnecessary
2411         variables.
2412         (org-edit-fixed-width-region): Remove unnecessary variables.
2413         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2414         (org-olpath-completing-read): Remove unnecessary variable.
2415         (org-auto-repeat-maybe): Remove unnecessary variable.
2416         (org-map-entries): Remove unnecessary variable.
2417         (org-buffer-property-keys, org-imenu-get-tree)
2418         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2420 -----------------------------------------------------------------
2422 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2423         * org-exp.el (org-export-remove-timestamps): Never remove
2424         timestamps from tables.
2426         * org-export-latex.el (org-export-latex-first-lines): Add more
2427         options to the preprocessing of the text before the first
2428         headline.
2430 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
2432         * org-faces.el (org-clock-overlay): Make face compatible with
2433         XEmacs.
2435         * org.el (org-yank): Add property for delete-selection mode.
2437         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2439         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2440         variable.
2442         * org-table.el (org-table-insert-hline): Fix typo in fuction call
2443         to `backward-char'.
2445         * org-exp.el (org-export-as-html): Remove the initial space from
2446         colon examples.
2448         * org.el (org-scan-tags): Call
2449         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2451         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2452         customization groups.
2453         (org-agenda-tags-todo-honor-ignore-options): New option.
2454         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2455         New function.
2456         (org-agenda-get-todos): Use
2457         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2459 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
2461         * org-exp.el (org-export-format-source-code-or-example): Escape
2462         HTML characters also in examples that anre not treated with
2463         htmlize.  Also, just switch to EXAMPLE processing if we do not
2464         have a good version of htmlize.
2466         * org-rmail.el: Fix copyright notice.
2468         * org.el (org-activate-footnote-links): Improve footnote link
2469         highlighting.
2471         * org-footnote.el (org-footnote-normalize): Fix finding the end of
2472         a footnote definition at the end of the file.
2474         * org-table.el (org-table-get-specials): Add an imagined hline at
2475         the end of the table.  This can be useful for references that want
2476         to go to the end of the table.  Also fix bug when computing last
2477         row constants, in tables that do not start right at the right
2478         margin.
2479         (org-table-eval-formula): Match and replace remove references.
2480         (org-table-formula-substitute-names): Make sure that names inside
2481         a "remote" call are left alone, the will be replaced later when
2482         the remote call is handled.
2483         (org-table-convert-refs-to-rc): Do not convert things that might
2484         look like a reference, but are really part of an ID or namei n a
2485         remote reference.
2486         (org-table-get-remote-range): New function.
2488 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
2490         * org-faces.el (org-clock-overlay): Fix bug in face definition.
2492         * org-clock.el (org-clock-put-overlay): Use new face instead of
2493         `secondary-selection'.
2495         * org-faces.el (org-clock-overlay): New face.
2497 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
2499         * org-exp.el (org-get-current-options): Include the option for
2500         publishing time stamps.
2502         * org.el (org-toggle-heading): Renamed from
2503         `org-toggel-region-headings'.
2504         No longer needs a region defined, but will use it if there is one.
2505         (org-ctrl-c-star): Simplified, relying more on the internal
2506         workings of `org-toggle-heading'.
2507         (org-toggle-item): Renamed from `org-toggle-region-items'.
2508         No longer needs a region defined, but will use it if there is one.
2509         (org-ctrl-c-minus): Simplified, relying more on the inernal
2510         workings of `org-toggle-item'.
2512         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2513         environment detection.  Also, do real changes only in unprotected
2514         places.
2516 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
2518         * org-export-latex.el (org-export-latex-quotation-marks): Use
2519         `org-if-unprotected-1'.
2520         (org-export-latex-set-initial-vars): Check for class definition in
2521         property.
2523         * org-macs.el (org-if-unprotected-1): New macro.
2525 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
2527         * org-compat.el (org-count-lines): New function.
2529         * org-exp.el (org-export-format-source-code-or-example): Handle
2530         switches related to text areas.
2532         * org.el (org-activate-footnote-links): Don't allow match inside a
2533         link.
2535         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2537         * org-export-latex.el (org-export-latex-links): Keep a relative
2538         path relative also after export.
2540         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2542         * org.el (org-make-tags-matcher): Never use IDO for completing the
2543         tags matcher match string.
2544         (org-completing-read): Also remove the special biding for "?".
2546         * org-attach.el (org-attach-allow-inheritance): New option.
2547         (org-attach-inherited): New variable.
2548         (org-attach-dir): Handle properties related to the attachment
2549         directory.
2550         (org-attach-check-absolute-path): New function.
2551         (org-attach-set-directory, org-attach-set-inherit): New commands.
2552         (org-attach): Accommodate the new commands in the dispatcher.
2554 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
2556         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2557         `window-full-width-p'.
2559         * org-exp.el (org-export-as-html): Only check for images files
2560         that really can be inlined
2562         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2563         list of extensions to be a parameter.
2565         * org-exp.el (org-export-html-inline-image-extensions): New
2566         variable.
2568         * org-agenda.el (org-prepare-agenda): Use
2569         `org-agenda-block-separator'.
2570         (org-agenda-block-separator): New option.
2572 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
2574         * org-export-latex.el (org-export-latex-tables): Call
2575         `org-table-clean-before-export' with the new optional argument.
2577         * org-exp.el (org-table-clean-before-export): New optional
2578         parameter MAYBE-QUOTED, allows for quoted characters like \# in
2579         first column.
2581 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
2583         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2584         histograms.
2586         * org-colview.el (org-colview-construct-allowed-dates): Better
2587         error catching when a date/time property does not have allowed
2588         values defined.
2590         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2591         Better error catching when a date/time property does not have
2592         allowed values defined.
2594 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
2596         * org.el (org-map-entries): Restore point and restriction after
2597         `org-map-entries'.
2599 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
2601         * org.el (org-time=, org-time<, org-time<=, org-time>)
2602         (org-time>=, org-time<>): Make sure both values are dates.
2604 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
2606         * org-archive.el (org-extract-archive-heading): Allow %s for file
2607         name also in achive location heading.
2609 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
2611         * org-archive.el (org-add-archive-files): Uniquify the list before
2612         returning it.
2614 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
2616         * org-compat.el (org-fit-window-to-buffer): Use
2617         `window-full-width-p'.
2619         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2620         space after the colon in short examples.
2622         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2623         enforce a space after the colon.  However, we also allow lines
2624         that are *only* a colon.
2625         (org-export-as-html): Enforce the space after the colon in short
2626         examples.
2627         (org-export-preprocess-string): Do the colon example protection
2628         earlier.
2629         (org-export-remove-timestamps): Do not check for protection at the
2630         end of the line.
2632 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
2634         * org.el (org-format-latex-options): Add new matcher for single
2635         letters between dollars.
2636         (org-get-header): Function removed.
2637         (org-heading-components): New function.
2639         * org-exp.el (org-export-define-heading-targets): Record ID's also
2640         as alternative targets.
2641         (org-export-as-html): Interpret "id:" links to other files by
2642         preserving the relative path.
2644         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2645         is nil.
2647         * org-exp.el (org-export-normalize-links): Protect the main link,
2648         to avoid special character processing.
2650         * org-export-latex.el (org-export-latex-special-keyword-regexp):
2651         New variable.
2652         (org-export-latex-special-string-regexps): Variable removed.
2653         (org-export-latex-keywords): Use the new regexp.
2655         * org-exp.el (org-export-handle-include-files): Fetch switches and
2656         put them into the BEGIN statement.
2658         * org-timer.el (org-timer-mode-line-string): New variable.
2660         * org-clock.el (org-clock-mode-line-map): Renamed from
2661         `org-clock-mode-map'.
2662         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2663         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2664         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2665         (org-clock-remove-overlays): Renamed from
2666         `org-remove-clock-overlays'.
2668         * org-timer.el (org-timer-pause-or-continue): Implement stopping
2669         and mode line display.
2670         (org-timer-stop): New command.
2671         (org-timer-seconds): Return correct time when timer is paused.
2672         (org-timer-mode-line-timer): New variable.
2673         (org-timer-set-mode-line, org-timer-update-mode-line): New
2674         functions.
2676         * org.el (org-insert-heading):  Handle new value `auto' for
2677         `org-blank-before-new-entry'.
2678         (org-org-menu): Add new items for timer functions.
2680         * org-list.el (org-insert-item): Handle new value `auto' for
2681         `org-blank-before-new-entry'.
2683         * org.el (org-blank-before-new-entry): New value `auto', made
2684         default.
2686 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
2688         * org-exp.el (org-export-normalize-links): If the link is also
2689         used as the description, protect the description.
2691 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
2693         * org.el (org-closest-date): Fix bug with yearly repeats, in
2694         combination with preference of the past as it is used for deadline
2695         and scheduling search.
2697         * org-exp.el (org-html-handle-time-stamps): No longer check for
2698         the `org-export-with-timestamps' option, because the preprocesser
2699         has taken care of this already.
2701         * org.el (org-entry-properties): Catch the case when this is
2702         called in a non-org-mode file.
2704         * org-export-latex.el (org-export-latex-remove-from-headlines):
2705         Variable made obsolete, also LaTeX export now uses the standard
2706         variables.
2707         (org-export-as-latex): Add the timestamps parameter to the
2708         preprocessor parameter list.
2709         (org-export-latex-content): Export the remaining keywords without
2710         considering to remove them.
2711         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2712         Use bold font instead of tt font for the keywords.
2713         (org-export-latex-fontify-headline): Format headlines, assuming
2714         that all keywords still present should be published.
2715         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2716         publish what ever remains of the time stamps.
2717         (org-export-latex-list-parameters): New option.
2718         (org-export-latex-lists): Pass additional parameters to the list
2719         converter.
2721         * org-exp.el (org-export-preprocess-string): Remove clock lines
2722         and timestamps already in the preprocesor.
2723         (org-export-remove-timestamps, org-export-remove-clock-lines): New
2724         functions.
2725         (org-export-as-ascii, org-export-as-html): Add the timestamps
2726         parameter to the preprocessor parameter list.
2728         * org-list.el (org-list-parse-list): Parse for checkboxes.
2729         (org-list-to-generic): Introduce and handle new parameters :cbon
2730         and :cboff.
2731         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2732         optional parameter PARAMS.
2734         * org-export-latex.el (org-export-latex-special-chars): Fix
2735         problems with interpreting dollar signs.
2736         (org-inside-latex-math-p): New function.
2737         (org-export-latex-preprocess): Protect all the math fragments.
2739         * org.el (org-latex-regexps): Allow a dash after a dollar.
2741         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2742         mark after copying.
2744         * org-agenda.el (org-run-agenda-series): Have series options set
2745         when finalizing the agenda.
2747         * org-exp.el (org-export-format-source-code-or-example): Protect
2748         the converted examples.
2750         * org.el (org-set-regexps-and-options): Fix the regexp
2751         `org-complex-heading-regexp'.
2753 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
2755         * org.el (org-edit-src-get-label-format): New function.
2756         (org-coderef-label-format): New option.
2757         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2758         a label format specification and make sure it is used in the edit
2759         buffer.
2760         (org-edit-src-get-label-format): New function.
2761         (org-store-link): Handle new coderef formats.
2762         (org-link-search): Handle new coderef formats.
2764         * org-footnote.el (org-footnote-create-definition)
2765         (org-footnote-goto-local-insertion-point): Make footnote insertion
2766         work correctly when the "Footnotes" headline is the last line in
2767         the buffer.
2769         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2770         the location.
2772 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
2774         * org-w3m.el (org-w3m): New customization group.
2775         (org-w3m-deactivate-mark): New option.
2776         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2777         option say not to.
2779 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
2781         * org.el (org-set-font-lock-defaults): Trigger footnote
2782         fontification.
2783         (org-activate-footnote-links): New function.
2784         (org-activate-links): New entry `footnote'.
2786         * org-faces.el (org-footnote): New face.
2788 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
2790         * org-macs.el (org-re): Handle the [:word:] class.
2792         * org-exp.el (org-export-preprocess-string): Call
2793         `org-export-protect-colon-examples'.
2794         (org-export-protect-colon-examples): Renamed from
2795         `org-export-protect-examples', and scope limited to lines starting
2796         with a colon.
2798 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
2800         * org-exp.el (org-export-preprocess-string): Move the preprocess
2801         hook to after turning on Org-mode.
2802         (org-export-preprocess-after-include-files-hook)
2803         (org-export-preprocess-after-tree-selection-hook)
2804         (org-export-preprocess-before-backend-specifics-hook)
2805         (org-export-preprocess-final-hook): New hooks.
2806         (org-export-preprocess-string): Run the new hooks.
2808         * org.el (org-ctrl-c-minus): Fix indentation for new items.
2810         * org-footnote.el: New file.
2812         * org.el (org-footnote): Require footnote code.
2813         (org-startup-options): Add new footnote options.
2814         (org-mode-map): New keybindig for footnotes.
2815         (org-ctrl-c-ctrl-c): Add function at footnotes.
2816         (org-org-menu): New menu entries for footnotes.
2818         * org-export-latex.el (org-export-as-latex): Pass footnote
2819         variable to preprocessor.
2820         (org-export-latex-preprocess): Treat multiple references to a
2821         footnote.
2823         * org-exp.el (org-export-preprocess-string): Call
2824         `org-footnote-normalize'.
2825         (org-export-as-ascii, org-export-as-html): Pass footnote variable
2826         to preprocessor.
2827         (org-export-as-html): Treat multiple references to a footnote.
2829 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
2831         * org-export-latex.el (org-export-latex-links): Handle coderef
2832         links.
2834         * org.el (org-bracket-link-analytic-regexp++): New variable.
2835         (org-make-link-regexps): Initialize
2836         `org-bracket-link-analytic-regexp++'.
2837         (org-store-link): Implement special case in edit-src buffer.
2838         (org-insert-link): No use of ide to insert stored links.
2839         (org-link-search): Implement special case for coderefs.
2841         * org-exp.el (org-export-html-scripts): New constant.
2842         (org-export-html-style-default): Add a new style for highlighted
2843         code.
2844         (org-export-code-refs): New variable.
2845         (org-export-preprocess-string): Initialize `org-export-code-refs'.
2846         Call `org-export-replace-src-segments-and-examples'
2847         No longer call `org-export-protect-examples'.
2848         (org-export-target-internal-links): Take care of coderef targets.
2849         (org-export-last-code-line-counter-value): New variable.
2850         (org-export-replace-src-segments-and-examples): Renamed from
2851         `org-export-replace-src-segments', and modified.
2852         (org-export-format-source-code-or-example): Renamed from
2853         `org-export-format-source-code'.
2854         (org-export-number-lines): New function.
2855         (org-export-as-ascii, org-export-as-html): Handle coderef links.
2857 --------------------------------------------------------------------------
2859 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
2861         * org-remember.el (org-remember-handler): Safer way to get a new
2862         buffer accessing the target file.
2864         * org.el (org-refile-get-location): Handle case of current buffer
2865         not having a file associated with it.
2867 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
2869         * org-table.el (org-table-get-formula): Only ask to overwrite
2870         field formula if there really is one.
2872         * org-id.el (org-id-find): Allow the ID to be a symbol or a
2873         number, by converting these to a string.
2875         * org-colview.el (org-dblock-write:columnview): Allow ID to be
2876         located in a different file.
2878         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
2879         org-colview.el.
2881 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
2883         * org.el (org-completion-use-ido): Enhance docstring of
2884         `org-completion-use-ido'.
2886         * org-export-latex.el (org-export-latex-make-header): Double the %
2887         in the time stamp format.
2888         (org-export-latex-special-chars): Handle case where there is no
2889         match group 3.
2891 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
2893         * org.el (org-get-refile-targets, org-refile-get-location): Use
2894         expanded file name to improve comparison.
2896 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org.el (org-scan-tags): Rescan for tags, to get the correct
2899         upcase/downcase stuff.  This slows things down for now, but it
2900         works.
2901         (org-mode): Make sure the tag-faces regexp is initialized.
2903         * org-export-latex.el (org-export-latex-links): Fix bug with
2904         undefined label.
2906         * org-table.el (org-table-get-specials): Set
2907         `org-table-current-last-data-line'.
2908         (org-table-current-last-data-line): New variable.
2909         (org-table-insert-column, org-table-delete-column)
2910         (org-table-move-column, org-table-fix-formulas): Call
2911         `org-table-fix-formulas' a second time to fix the $LR references.
2912         (org-table-get-specials): Add the $LR references to the tables.
2913         (org-table-get-formula): Do not offer last-row names as LHS of
2914         formulas.
2916         * org.el (org-store-link): Capture link description from
2917         `org-id-store-link'.
2919         * org-exp.el (org-export-html-format-image): Add the / to the end
2920         of the <img> tag.
2921         (org-export-format-source-code): Surround example by empty lines,
2922         to make sure it will not be inside a paragraph.
2924         * org.el (org-ido-switchb): New function.
2926 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
2928         * org-agenda.el (org-agenda-show): New prefix argument
2929         FULL-ENTRY.
2931         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
2932         argument.
2934         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
2935         `org-agenda-change-all-lines'.
2936         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
2937         tags are now retrieved locally.
2939 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
2941         * org.el (org-get-outline-path): Fix bug if level is not given.
2942         (org-org-menu): Do not quote function in menu vector.
2944         * org-agenda.el (org-finalize-agenda): Fix typo with variable
2945         name.
2947 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
2949         * org.el (org-refile): Avoid refiling to within the region to be
2950         refiled.
2952         * org-export-latex.el (org-export-latex-special-chars): Replace
2953         special characters also in tables.
2955         * org-agenda.el (org-agenda-change-all-lines): New argument
2956         FORCE-TAGS.
2957         (org-agenda-set-tags): Cet the new tags and pass them to
2958         `org-format-agenda-item'.
2960 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
2962         * org-export-latex.el (org-export-latex-classes): Add longable as
2963         a default package to all classes.
2964         (org-export-latex-tables): Handle the longtable attribute and the
2965         align attribute.
2967         * org-table.el (orgtbl-to-generic): Handle tables that start with
2968         a hline.
2970         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
2971         \verb for colde-like snippets.
2972         (org-export-as-latex): Fix issues with region export.
2974         * org.el (org-up-heading-safe): Speed up function by using a
2975         direct regexp search.
2976         (org-olpa): New variable.
2977         (org-get-outline-path): Speed-up path constructions in cases where
2978         this is possible because the entire hierarchy is scanned anyway.
2979         (org-refile-get-location): Don't compare the truenames of files,
2980         this is too slow.
2981         (org-goto-max-level): New option.
2982         (org-goto): Use `org-goto-max-level'.
2984 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
2986         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
2987         Strip angle brackets from message-ids in the former and don't do
2988         it in the latter.
2989         (org-gnus-follow-link): Open summary reliable, even if the last
2990         messages were deleted, and handle empty groups, too.
2992 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
2994         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
2995         instead of \texttt for the =...= and ~===~ emphasis environments.
2996         (org-export-as-latex): Remove any old :org-license-to-kill text
2997         properties.
2998         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
2999         (org-export-latex-make-header): Add some hard space after the
3000         table of contents.
3001         (org-export-latex-first-lines): Accept RBEG argument.  Mark
3002         exported text so that it will be excuded in further steps.
3004         * org-table.el (org-table-get-specials): Make @0 reference the
3005         last line in a table.
3006         (org-table-recalculate): Improve docstring.
3008 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
3010         * org.el (org-log-done): Fix docstring.
3012 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
3014         * org-exp.el (org-export-html-format-image): Fix bugs.
3016         * org-export-latex.el (org-export-latex-tables)
3017         (org-export-latex-links): Implement attribute, label, and caption
3018         handling.
3020         * org-exp.el (org-export-html-style-default): Add style
3021         definitions for the figure div.
3022         (org-export-preprocess-string, org-export-as-html): Implement
3023         attribute, label, and caption handling.
3024         (org-export-attach-captions-and-attributes): New function.
3025         (org-export-html-format-image): New function.
3026         (org-format-org-table-html): Implement attribute, label, and
3027         caption handling.
3029         * org.el (org-find-text-property-in-string): New function.
3030         (org-extract-attributes): Use the property org-attr instead of
3031         org-attrobutes, because this property is now set with the #+ATTR
3032         lines.
3034 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
3036         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3037         the case that FROM is nil.
3039         * org.el (org-before-first-heading-p): New function.
3041 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
3043         * org-exp.el (org-export-as-html): Do not add a space before
3044         enforces line breaks.
3045         (org-export-as-html): Close paragraph before blockquote and verse
3046         tags.
3048 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
3050         * org-id.el (org-id-locations-file): Wrap file name with
3051         `convert-standard-filename'.
3052         (org-id-files): New variable.
3053         (org-id-use-hash): New option.
3054         (org-id-update-id-locations): Also search in all files current
3055         listed in `org-id-files'.  Convert the resulting alist to a hash
3056         if the user customation says so.
3057         (org-id-locations-save): Handle he case if `org-id-locations' is a
3058         hash.
3059         (org-id-locations-load): Convert the alist to a hash.
3060         (org-id-add-location): Handle the hast case.
3061         (kill-emacs-hook): Make sure id locations are saved when Emacs is
3062         exited.
3063         (org-id-hash-to-alist, org-id-alist-to-hash)
3064         (org-id-paste-tracker): New functions.
3066 -------------------------------------------------------------------------
3068 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3070         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3071         bindings of calendar variables.
3073         * org-table.el (org-table-find-row-type): Renamed from
3074         `org-find-row-type'.
3075         (org-table-rewrite-old-row-references): Renamed from
3076         `org-rewrite-old-row-references'.
3077         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3078         (org-table-cleanup-narrow-column-properties): Renamed from
3079         `org-cleanup-narrow-column-properties'.
3081 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
3083         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3084         for better error messages.
3085         (org-table-get-descriptor-line): Supply the new arguments to
3086         `org-find-row-type'.
3087         (org-table-error-on-row-ref-crossing-hline): New option.
3089         * org.el (org-target-link-regexp): Make buffer-local.
3090         (org-move-subtree-down): Fix bug with trees at beginning of
3091         buffer.
3093 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
3095         * org-faces.el (org-set-tag-faces): New function.
3096         (org-tags-special-faces-re): New variable.
3098         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3100         * org-faces.el (org-tag-faces): New option.
3101         (org-tag): Mention `org-tag-faces' in the docstring.
3103 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
3105         * org-exp.el (org-export-html-style-default): Implement new
3106         quoting.
3108         * org-jsinfo.el (org-infojs-template): Implement new quoting.
3110         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3111         command to the `w3m-minor-mode-map'.
3113         * org-archive.el (org-archive-to-archive-sibling): Protect
3114         `this-command' to avoid appending kills during archiving.
3116         * org-exp.el (org-export-with-priority): New variable.
3117         (org-export-add-options-to-plist): Use `org-export-plist-vars'
3118         instead of internal list of strings and properties.
3119         (org-print-icalendar-entries): Retrieve the location property with
3120         inheritance.
3122 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
3124         * org-exp.el (org-export-with-todo-keywords): New option.
3125         (org-export-plist-vars): Include also the keys for the #+OPTIONS
3126         line.
3127         (org-default-export-plist, org-export-add-options-to-plist)
3128         (org-export-as-ascii, org-export-as-html): Use the new structure
3129         of `org-export-plist-vars'.
3131         * org.el (org-map-entries): Return all values.
3133 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
3135         * org.el (org-matcher-time): Recognize more special values.
3137         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3139 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
3141         * org.el (org-tags-exclude-from-inheritance): New option.
3142         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3143         `org-tags-exclude-from-inheritance'.
3145         * org-agenda.el (org-agenda-show-inherited-tags): New option.
3146         (org-format-agenda-item): Add inherited tags to the agenda line
3147         string, and make sure that properties are kept when downcasing the
3148         tags list.
3149         (org-agenda-add-inherited-tags): New function.
3150         (org-downcase-keep-props): New function.
3152         * org.el (org-scan-tags): Mark inherited tags with a text
3153         property.
3154         (org-get-tags-at): Mark inherited tags with a text property.
3155         (org-add-prop-inherited): New function.
3157         * org-agenda.el (org-agenda-add-inherited-tags): New function.
3158         (org-agenda-show-inherited-tags): New option.
3160 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
3162         * org.el (org-modules): Add org-w3m to the default modules.
3164         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3165         orgtbl-mode.
3166         (orgtabl-create-or-convert-from-region): New command.
3168         * org-exp.el (org-export-as-ascii): Remove the handling of
3169         targets.
3170         (org-export-ascii-preprocess): Handle targets already in this
3171         function.
3173 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
3175         * org-timer.el (org-timer-start-time): Define this variable.
3176         (org-timer-item): Make argument optional.
3178         * org-list.el (org-insert-item): Automatically insert a timer item
3179         if the current list is a timer list.
3181         * org-timer.el: New file.
3183         * org-publish.el (org-publish-org-index): Only exclude the index
3184         file in the main directory from being added to the site-map.
3185         (org-publish-get-project-from-filename): If the current project is
3186         a component, start publishing from the parent project.
3188 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
3190         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3192         * org-publish.el (org-publish-org-index): Improve removal of
3193         temporary buffers.
3195         * org-agenda.el (org-get-closed): Re-apply changes
3196         accidentially overwritten by last commit to Emacs.
3198         * org.el (org-outline-path-complete-in-steps): New option.
3199         (org-refile-get-location): Honor
3200         `org-outline-path-complete-in-steps'.
3201         (org-agenda-change-all-lines, org-tags-sparse-tree)
3202         (org-time-string-to-absolute, org-small-year-to-year)
3203         (org-link-escape): Re-apply changes accidentially overwritten
3204         by last commit to Emacs.
3206 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
3208         * org-clock.el (org-dblock-write:clocktable): Make sure the
3209         clocktable sees the first line.
3210         (org-clock-in): Warn if the clock cannot be resumed.
3212 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
3214         * org.el (org-open-at-point): Fix mixup about interactive and
3215         non-interactive elisp links.
3217 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3219         * org-exp.el (org-export-preprocess-string): Allow one comment
3220         line before the first headline to always be included.  This is
3221         to not miss a commented target.
3223         * org-mouse.el (org-mouse-insert-item): Call
3224         `org-indent-to-column' instead of `indent-to', for XEmacs
3225         compatibility.
3227         * org.el (org-refile-targets): Fix customize definition so
3228         that it works also in XEmacs.
3229         (org-fixup-indentation): Call `org-indent-to-column' instead
3230         of `indent-to', for XEmacs compatibility.
3232 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
3234         * org-mew.el (org-mew-store-link): Get the correct case folder
3235         for refiled messages.
3237 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3239         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3240         line break indicators.
3242         * org.el (org-ido-completing-read): Remove the "i:" prefix for
3243         ido-completion propts.
3245 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3247         * org-remember.el (org-remember-apply-template): Use
3248         `org-substring-no-properties'.
3250         * org-compat.el (org-substring-no-properties): New function.
3252         * org-remember.el (org-remember-apply-template): Use
3253         `org-substring-no-properties' for compatibility.
3255         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3256         option.
3257         (org-fix-bullet-type): respect
3258         `org-list-two-spaces-after-bullet-regexp'.
3260         * org-clock.el (org-clock-load): Clean up the code.
3262         * org.el (org-adaptive-fill-function): Allow two spaces after
3263         "1." as a list bullet.
3265 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
3267         * org-clock.el (org-clock-save, org-clock-load): Check for
3268         live buffers, existing files, and buffer file names to ensure
3269         consistent information.
3270         (org-clock-persist): Make `clock' a special value of this
3271         variable, and improve docstring.
3273         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3274         (org-get-string-indentation): Adapt indentation when the bullet
3275         width changes.
3277 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
3279         * org-remember.el (org-remember-finalize): Make interactive.
3280         (org-remember-kill): New command.
3281         (org-remember-finish-immediately): Call `org-remember-finalize'
3282         directly.
3283         (org-remember-finalize): Make `org-remember-finalize' an interactive
3284         function.
3286 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
3288         * org-remember.el (org-remember-apply-template): No ido completion
3289         for free prompts in remember templates.
3290         (org-remember-before-finalize-hook): New hook.
3291         (org-remember-mode): New minor mode.
3292         (org-remember-apply-template): Turn on `org-remember-mode'.
3294         * org-id.el (org-id-add-location): Avoid error when no file is
3295         given.
3297         * org-remember.el (org-remember-apply-template): Fix the way how
3298         the list of allowed properties is retrieved from the target file.
3300         * org.el (org-insert-link): Improve file link matching.
3302 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
3304         * org-colview.el (org-columns-display-here): New argument
3305         DATELINE, to trigger using the new face.
3306         (org-agenda-colview-summarize): Call `org-columns-display-here'
3307         with the new argument.
3309         * org-faces.el (org-agenda-column-dateline): New face.
3311         * org-publish.el (org-publish-org-index): Use index-title at page
3312         title, not as section.
3314         * org-exp.el (org-export-html-format-desc): Respect the
3315         org-protect property.
3316         (org-export-as-html): Protect image specifiers that are in the
3317         description part of a link.
3319         * org.el (org-sort-entries-or-items, org-completing-read)
3320         (org-refile-get-location, org-olpath-completing-read, org-todo)
3321         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3322         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3323         (org-set-property, org-delete-property)
3324         (org-delete-property-globally): Use `org-ido-completing-read'.
3326         * org-remember.el (org-remember-apply-template): Use
3327         `org-ido-completing-read'.
3329         * org-publish.el (org-publish): Use `org-ido-completing-read'.
3331         * org-colview.el (org-columns-edit-value, org-columns-new)
3332         (org-insert-columns-dblock): Use `org-ido-completing-read'.
3334         * org-colview-xemacs.el (org-columns-edit-value)
3335         (org-columns-new, org-insert-columns-dblock): Use
3336         `org-ido-completing-read'.
3338         * org-attach.el (org-attach-delete-one, org-attach-open): Use
3339         `org-ido-completing-read'.
3341         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3342         `org-ido-completing-read'.
3344         * org.el (org-time-today): New function.
3345         (org-matcher-time): Use `org-time-today'.  Add special treatment
3346         for "<tomorrow>" and "<yesterday>".
3347         (org-ido-completing-read): New function.
3348         (org-completion-use-ido): New option.
3350         * org-exp.el (org-export-format-source-code): Fix bug in require
3351         htmlize code.
3352         (org-export-target-internal-links): Fix bug in search for text
3353         property.
3355 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
3357         * org-export-latex.el (org-export-latex-subcontent): Interprete
3358         target aliases as additonal labels.
3360         * org-exp.el (org-export-target-aliases): New variable.
3361         (org-export-preprocess-string)
3362         (org-export-handle-invisible-targets): Fill the alias alist.
3363         (org-export-as-html): Remove the &nbsp; from the anchor, and also
3364         assign an id.
3365         (org-html-level-start): Insert the target aliases as additonal
3366         anchors.
3368         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3369         picture area.
3371 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3373         * org.el (org-open-at-mouse): Ensure correct link abbreviations
3374         when following a link with the mouse from the agenda.
3376         * org-exp.el (org-export-as-html): Avoid lone </div> when no
3377         headlines are created.
3379 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
3381         * org-exp.el (org-export-preprocess-string): Reorder so that we
3382         can still see ID properties when we collect targets.
3383         (org-export-target-internal-links): Also store targets for ID's.
3385         * org.el (org-link-translation-function): New option.
3386         (org-open-at-point): Call `org-link-translation-function' if
3387         non-nil.
3388         (org-translate-link): New function.
3389         (org-translate-link-from-planner): New function.
3390         (org-open-at-point): Allow interactive commands in elisp links.
3392         * org-exp.el (org-icalendar-cleanup-string): Restore the old
3393         iCalendar quoting.  The new one seems to caus problems with
3394         applications.
3396         * org.el (org-yank): Set `this-command' to `yank', so that
3397         `yank-pop' will work.
3399 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org-id.el (org-id-search-archives): New option.
3403         * org.el (org-link-to-org-use-id): New option.
3404         (org-store-link): Use `org-link-to-org-use-id'.
3405         (org-id): Make org-id.el a standard component.
3407 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3409         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3410         hexified version of the tag.
3412         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3413         compliance as far as quoting is concerned.
3415         * org-vm.el (org-vm-follow-link): Require `vm-search'.
3417         * org.el (org-up-heading-safe, org-forward-same-level): Always
3418         call `org-back-to-heading' instead of `outline-back-to-heading'.
3419         (org-back-to-heading): New wrapper around outline-back-to-heading,
3420         with a useful error message telling where the error happened.
3422         * org-list.el (org-update-checkbox-count): Always call
3423         `org-back-to-heading' instead of `outline-back-to-heading'.
3425         * org-exp.el (org-export-as-html): Make sure that each <img> tag
3426         has an `alt' attribute, to ensure XHTML validation.
3428 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3430         * org-publish.el (org-publish-attachment): Allow publishing to
3431         overwrite attachment files.
3433         * org-agenda.el (org-agenda-timerange-leaders): New option.
3434         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3436         * org.el (org-edit-src-exit): Untabify ASCII image before
3437         returning.
3450 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
3452         * org.el (org-yank): Make any prefix force normal yanking.
3453         Suppress folding if text would be swallowed into a folded
3454         subtree.
3455         (org-yank-folded-subtrees, org-yank): Docstring updates.
3457         * org-agenda.el (org-agenda-compare-effort): Treat no effort
3458         defined as 0.
3460         * org-exp.el (org-export-language-setup): Add Catalan and
3461         Esperanto language entries.
3463 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
3465         * org.el (org-refile): Allow refiling of entire regions.
3467         * org-clock.el (org-clock-time%): New function.
3469         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3470         retrieve property values.
3472 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
3474         * org-agenda.el (org-agenda-list): Handle the value `only' of
3475         org-agenda-show-log'.
3476         (org-agenda-log-mode): Interpret a double prefix arg.
3478 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
3480         * org-exp.el (org-export-html-footnotes-section): New variable.
3481         (org-export-as-html): Use `org-export-html-footnotes-section' to
3482         insert the footnotes.
3483         (org-export-language-setup): Add "Footnotes" to language words.
3485 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
3487         * org.el (org-yank): Fix bug when not inserting a subtree.
3489 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
3491         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3492         instead of `vm-beginning-of-message'.
3494         * org.el (org-make-link-regexps): Make sure that links to gnus can
3495         contain brackets.
3497 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
3499         * org-attach.el (org-attach-dir): Remove duplicate ID creation
3500         code.
3502         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3503         shell output.
3505         * org.el (org-link-abbrev-alist): Improve customization type.
3507         * org-attach.el (org-attach-expand-link, org-attach-expand): New
3508         functions.
3510         * org-agenda.el (org-agenda-get-progress): Renamed from
3511         `org-get-closed'.  Implement searching for state changes as well.
3512         (org-agenda-log-mode-items): New option.
3513         (org-agenda-log-mode): New option prefix argument, interpreted as
3514         request to show all possible progress info.
3515         (org-agenda-get-day-entries): Call `org-get-progress' instead of
3516         `org-get-closed'.
3517         (org-agenda-set-mode-name): Handle the more complex log mode
3518         settings.
3519         (org-get-closed): New alias, pointing to `org-get-progress'.
3521 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
3523         * org.el (org-file-apps-defaults-gnu)
3524         (org-file-apps-defaults-macosx)
3525         (org-file-apps-defaults-windowsnt): Add an entry defining the
3526         system command.
3527         (org-file-apps): Allow `system' as key and value.
3528         (org-open-at-point): Explain the effect of a double prefix arg.
3529         (org-open-file): If the argument `in-emacs' is (16),
3530         i.e. corresponding to a double prefix argument, try to open the
3531         file externally.
3533 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
3535         * org.el (org-insert-link): Abbreviate absolute files names in
3536         links.  Also, fix a bug in which the double C-u prefix would not
3537         be honored.
3539 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
3541         * org.el (org-insert-heading): If buffer does not end with a
3542         newline, add one if necessary to insert headline correctly.
3544         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3545         paragraphs, not inside.
3547         * org.el (org-todo): Quote
3548         `org-agenda-headline-snapshot-before-repeat'.
3550         * org-exp.el (org-export-as-html): Fully process link descriptions.
3551         (org-export-html-format-desc): New function.
3552         (org-export-as-html): Collect footnotes into the correct basket.
3553         (org-html-protect): No longer protect quotations marks here, this
3554         goes wrong.
3556         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3557         BEG.
3559         * org-compat.el (org-fit-window-to-buffer): New function (not
3560         really, a preliminary and incomplete version was present earlier,
3561         but not used).
3563         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3564         `org-fit-window-to-buffer'.
3566         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3568         * org-agenda.el (org-agenda-get-restriction-and-command)
3569         (org-fit-agenda-window, org-agenda-convert-date): Use
3570         `org-fit-window-to-buffer'.
3572         * org-exp.el (org-export-as-html): Process href links through
3573         `org-export-html-format-href'.
3574         (org-export-html-format-href): New function.
3576         * org-agenda.el (org-agenda-todo): Update only the current
3577         headline if this is a repeated TODO, marked done for today.
3578         (org-agenda-change-all-lines): New argument JUST-THIS, to change
3579         only the current line.
3581         * org.el (org-todo): Take a snapshot of the headline if the
3582         repeater might change it.
3584 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3586         * org-publish.el (org-publish-find-title): Remove buffers visited
3587         only for extracting the title.
3589         * org-exp.el (org-export-html-style)
3590         (org-export-html-style-default): Mark style definitions as
3591         unparsed CDATA.
3593         * org-publish.el (org-publish-validate-link): Function
3594         re-introduced.
3596 2008-11-02  Charles Sebold  <csebold@gmail.com>
3598         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3599         property.
3600         (org-plot-quote-timestamp-field): New function.
3601         (org-plot-quote-tsv-field): Call timestamp field function when
3602         necessary rather than just quoting as a string.
3603         (org-plot/gnuplot-to-data): Pass in timefmt property.
3604         (org-plot/gnuplot-script): Supports timefmt property.
3605         (org-plot/gnuplot): Checks for timestamp column before checking
3606         for text index column.
3608 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3610         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3612         * org-publish.el (org-publish-org-index): Create a section in the
3613         index file.
3614         (org-publish-org-index): Stop linking to directories.
3616         * org.el (org-emphasis-alist): Use span instead of <u> to
3617         underline text.
3619         * org-exp.el (org-export-as-html): Make sure <p> is closed before
3620         <pre> sections.
3622 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
3624         * org-jsinfo.el (org-infojs-template): Remove language attribute
3625         from script tag.
3627 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
3629         * org-agenda.el (org-agenda-remove-marked-text): New function.
3630         (org-agenda-mark-filtered-text)
3631         (org-agenda-unmark-filtered-text): New functions.
3632         (org-write-agenda): Remove fltered text.
3634         * org.el (org-make-tags-matcher): Give access to TODO "property"
3635         without speed penalty.
3637 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
3639         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3640         option.
3641         (org-store-link-props): Make sure adding to the plist works
3642         correctly.
3644         * org-gnus.el (org-gnus-no-new-news): New function.
3645         (org-gnus-follow-link): Allow the article ID to be a message-id,
3646         in addition to allowing article numbers.  Message IDs make much
3647         more roubust links.
3648         (org-gnus-store-link): Use message-id to create link.
3650 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
3652         * org.el (org-emphasize): Reverse the selection array.
3653         (org-emphasis-alist): Set <code> tags for the verbatim
3654         environment.
3656         * org-remember.el (org-remember-handler): Fix bug with
3657         prefix-related changing of the note storage target.
3659         * org-exp.el (org-print-icalendar-entries): Make the exported
3660         priorities compatible with RFC 2445.
3662         * org-clock.el (org-clock-save): Insert time stamp without
3663         dependence on time-stamp.el.
3665 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
3667         * org.el ("saveplace"): If saveplace puts point into an invisible
3668         location, make it visible.
3669         (org-make-tags-matcher): Allow inactive time stamps in time
3670         comparisons.
3671         (org-yank-adjusted-subtrees): New option.
3672         (org-yank): Incorporate adjusting trees.
3673         (org-paste-subtree): New argument FOR-YANK which will cause
3674         insertion at point without backing up over white lines, and leave
3675         point at the end of the inserted text.  Also if the cursor is
3676         at the beginning of a headline, use the same level or the inserted
3677         tree.
3679         * org-publish.el (org-publish-get-base-files-1): Deal correctly
3680         with broken symlinks
3682 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
3684         * org-exp.el (org-export-select-tags, org-get-current-options):
3685         Fix typo.
3687 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
3689         * org-agenda.el (org-format-agenda-item)
3690         (org-agenda-filter-make-matcher): Make sure tags are stored and
3691         compared donwcased.
3693 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
3695         * org.el (org-insert-todo-heading): Fix bug with force-heading
3696         argument.
3698 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
3700         * org-clock.el (org-clock-in-resume): Add a custom option to
3701         toggle starting the clock from an open clock line.
3702         (org-clock-in): When clocking in to an entry, if
3703         `org-clock-in-resume' is set, check if the first clock line is
3704         open and if so, start the clock from the time in the clock line.
3705         (org-clock-persist): Add a custom option to toggle clock
3706         persistence.
3707         (org-clock-persist-query-save): Add a custom option to toggle
3708         asking the user if they want to save the running clock when
3709         exiting.
3710         (org-clock-persist-query-resume): Add a custom option to toggle
3711         asking the user if they want to resume the saved clock when Emacs
3712         is restarted.
3713         (org-clock-save): Add a function to save clock data.
3714         This includes the contents of `org-clock-history' and the buffer
3715         and position of the currently clocked task, if any.
3716         (org-clock-load): Add a function to load clock data.
3717         This populates `org-clock-history', and resumes the saved clocked
3718         task if there is one.
3719         (org-clock-persistence-insinuate): Add a method to set up the
3720         hooks for clock persistence.
3722 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
3724         * org-exp.el (org-export-as-ascii): Handle the case that we are
3725         publishing from an indirect buffer.
3727         * org-table.el (org-table-copy-down): Fix bug with time stamp
3728         increment.
3730         * org-mouse.el (org-mouse-features): New option.
3731         (org-mode-hook): Turn on features depending on
3732         `org-mouse-features'.
3734         * org.el (org-insert-heading-respect-content): Force heading
3735         creation.
3736         (org-insert-heading): keep the folding state of the heading before
3737         the inserted one.
3739 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3741         * org-archive.el (org-archive-to-archive-sibling): Handle top
3742         level headlines better.
3744 2008-10-21  Bastien Guerry  <bzg@altern.org>
3746         * org-export-latex.el (org-export-latex-classes): Added
3747         \usepackage{graphicx} to the default list of packages.
3749 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3751         * org-agenda.el (org-agenda-filter): Renamed from
3752         `org-agenda-filter-tags'.
3754 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
3756         * org.el (org-entry-properties): Add CATEGORY property, iven if it
3757         is not defined as a property in this entry.
3758         (org-add-log-note): Mask prefix argument when immediately storing
3759         the note.
3761         * org-agenda.el (org-agenda-filter-effort-default-operator): New
3762         option.
3764 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
3766         * org.el (org-add-log-setup): Bugfix; code to find insertion point
3767         after drawers was skipping ahead one line too many, so notes were
3768         inserted after the first note instead of before it.
3770 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
3772         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3773         New variables.
3774         (org-prepare-agenda): Reset the filter tags.
3775         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3776         Show filter tags in mode line.
3778         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
3779         formatter.
3781         * org-export-latex.el (org-latex-entities-regexp): New constant.
3782         (org-export-as-pdf): Use two calls to `shell-command'.
3784 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
3786         * org-export-latex.el (org-export-latex-treat-sub-super-char):
3787         Honor the {} value of the subsuperscript setting.  Make sure that
3788         longer subsuperscripts are typeset in a roman font.
3790         * org.el (org-clock-update-time-maybe): Compute negative clock
3791         intervals correctly.
3793 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
3795         * org.el (org-add-log-setup): Respect
3796         `org-log-state-notes-insert-after-drawers'.
3797         (org-log-state-notes-insert-after-drawers): New option.
3798         (org-todo-trigger-tag-changes): New function.
3799         (org-todo): Call `org-todo-trigger-tag-changes'.
3801 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
3803         * org.el (org-add-log-setup): Only skip drawers if the are
3804         immediately after the scheduling keywords.
3806         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
3807         function
3808         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
3809         call it with the current todo state to get the state to switch to
3810         when clocking in.
3811         (org-clock-in): Use org-indent-line-function to indent clock lines.
3812         (org-clock-find-position): Fix indentation of empty clock drawers.
3814 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
3816         * org-publish.el (org-publish-org-to): Handle case when
3817         org-export-to-pdf does return a file name, not a buffer.
3818         (org-publish-org-to-pdf): New function.
3820         * org-export-latex.el (org-export-as-pdf)
3821         (org-export-as-pdf-and-open): New commands.
3823         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
3824         forms as ranges.
3826         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
3827         things in protexted regions.
3829 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
3831         * org-export-latex.el (org-export-latex-preprocess): Improve
3832         quoting of LaTeX environments.
3834 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
3836         * org.el (org-edit-fixed-width-region): Exclude final newline from
3837         picture area.
3839         * org-export-latex.el (org-export-latex-subcontent): Add labels to
3840         sections, to make internal links work.
3841         (org-export-latex-fontify-headline): Do not remove all text
3842         properties, to make sure that target properties survive this
3843         process.
3845         * org-exp.el (org-export-preprocess-string): Change sequence of
3846         modifications, to make sure links are prepared before the LaTeX
3847         conversions do happen.
3849 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
3851         * org-attach.el (org-attach-delete-all): Renamed from
3852         `org-attch-delete'.  Add a security query before deleting the
3853         entire directory.  New optional argument FORCE can overrule the
3854         security query.
3855         (org-attach-delete-one): New command.
3857 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
3859         * org-attach.el (org-attach-file-list): Fix bug with directory.
3861 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
3863         * org.el (org-apps-regexp-alist): New function.
3864         (org-file-apps): Add auto-mode to the default value.
3865         (org-open-file): Use the new structure of org-file-apps.
3867         * org-attach.el (org-attach): Support the new keys.
3868         (org-attach-method): New option.
3870 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
3872         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
3873         March.
3875         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
3876         of the list value o `org-use-tag-inheritance'.
3878         * org-attach.el (org-attach-auto-tag): New option.
3879         (org-attach-tag, org-attach-untag): New functions.
3880         (org-attach-attach, org-attach-new, org-attach-sync): Call
3881         `org-attach-tag'.
3882         (org-attach-delete): Call `org-attach-untag'.
3884 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
3886         * org-table.el (orgtbl-self-insert-command): Make this work for
3887         the keypad as well.
3889 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
3891         * org.el (org-add-log-setup): Limit searc for drawers to entry
3892         text, not to subtree.
3894         * org-clock.el (org-clock-heading-for-remember): New variable.
3895         (org-clock-in): Set `org-clock-heading-for-remember'.
3897 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
3899         * org-remember.el (org-remember-apply-template): Add new
3900         expansions: %k, %K for currently clocked task and a link to the
3901         currently clocked task, and %< to file notes in the currently
3902         clocked task.
3904 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
3906         * org-export-latex.el (org-export-latex-make-header): Also insert
3907         the content of the property :latex-header-extra.
3909         * org-exp.el (org-infile-export-plist): Put the content of
3910         #+LATEX_HEADER: into the property :latex-header-extra.
3912         * org-colview.el (org-columns-get-format-and-top-level): Remove
3913         resetting the marker.
3915         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
3916         Remove resetting the marker.
3918         * org.el (org-entry-property-inherited-from): Improve docstring.
3919         (org-entry-get-with-inheritance): Reset marker before starting the
3920         search.
3922         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
3924 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
3926         * org.el (org-entry-get-multivalued-property)
3927         (org-entry-protect-space, org-entry-restore-space): New
3928         functions.
3929         (org-file-apps-defaults-macosx): Let postscript files be opened by
3930         preview.
3931         (org-time-stamp-inactive): Call `org-time-stamp'.
3932         (org-time-stamp): New argument `inactive'.  Also edit inacive
3933         stamps. Convert time stamp type.
3934         (org-open-file): Interpret the `default' value for the `command'
3935         in `org-file-apps'.
3937         * org-id.el (org-id-int-to-b36-one-digit)
3938         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
3939         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
3940         b36.
3942 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
3944         * org-id.el (org-id-reverse-string): New function.
3945         (org-id-new): Use `org-id-reverse-string' to make sure the
3946         beginning chars of the ID are mutating fast.  This allows to use a
3947         directory structure to spread things better.
3948         (org-id-prefix): Changed default to nil.
3950         * org-list.el (org-move-item-down, org-move-item-up): Remember and
3951         restore the column of the cursor position.
3953         * org-remember.el (org-remember-apply-template): Remove properties
3954         from `initial'.
3956 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
3958         * org-wl.el (org-wl-open): Remove useless call to
3959         `wl-thread-open-all'.
3961         * org-remember.el (org-remember-handler): Fix bug with `bottom'
3962         location.
3964 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
3966         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
3967         `org-bbdb-anniversaries'.
3969         * org.el (org-get-next-sibling, org-forward-same-level): New
3970         functions, similar to the outline versions, but invisible headings
3971         are OK.
3973 2008-09-25  Bastien Guerry  <bzg@altern.org>
3975         * org.el (org-auto-repeat-maybe): Insert a space between
3976         the timestamp's type and the timestamp itself.
3978 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
3980         * org-table.el (org-table-sum): Do not format the result with %g,
3981         it does rounding when there are too many digits.
3983         * org.el (org-map-entries): Protect the keyword-selecting variables.
3985 2008-09-23  Bastien Guerry  <bzg@altern.org>
3987         * org-agenda.el (org-agenda-to-appt): Make sure the function check
3988         against all agenda files.
3990 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
3992         * org-list.el: New file, aggregating list functions from org.el
3993         and org-export-latex.el.
3995         * org.el (org-edit-src-region-extra): New option.
3997 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
3999         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4000         time before 1am.
4002 2008-09-22  Bastien Guerry  <bzg@altern.org>
4004         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4006 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
4008         * org-plot.el (org-plot/gnuplot): Make tables starting with a
4009         hline work correctly.
4010         (org-plot/gnuplot-script): Put commas at the end of each script
4011         line.
4013 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
4015         * org.el (org-get-refile-targets): Replace links with their
4016         descriptions
4017         (org-imenu-get-tree): Replace links with their descriptions.
4019         * org-remember.el (org-remember-apply-template): Add a new
4020         expansion for adding properties to remember items.
4022         * org.el (org-add-log-setup): Skip over drawers (properties,
4023         clocks etc) when adding notes.
4025         * org-agenda.el (org-agenda-get-closed): show durations of clocked
4026         items as well as the start and end times.
4028         * org-compat.el (org-get-x-clipboard-compat): Add a compat
4029         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4031         * org-remember.el (org-get-x-clipboard): Use the compat
4032         function to get clipboard values when x-selection-value is
4033         unavailable. Use substring-no-properties instead of
4034         set-text-properties to remove text properties from the clipboard
4035         value.
4037         * lisp/org-clock.el (org-update-mode-line): Support limiting the
4038         modeline clock string, and display the full todo value in the
4039         tooltip. Set a local keymap so mouse-3 on the clock string goes to
4040         the currently clocked task.
4041         (org-clock-string-limit): Add a custom value for the maximum
4042         length of the clock string in the modeline.
4043         (org-clock-mode-map): Add a keymap for the modeline string
4045 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
4047         * org-compat.el (org-propertize): New function.
4049 2008-09-20  Bastien Guerry  <bzg@altern.org>
4051         * org-export-latex.el (org-export-latex-tables): protect exported
4052         tables from further special chars conversion.
4053         (org-export-latex-preprocess): Preserve LaTeX environments.
4054         (org-list-parse-list): Parse descriptive lists.
4055         (org-list-to-generic, org-list-to-latex, org-list-to-html)
4056         (org-list-to-texinfo): Export descriptive lists.
4057         (org-quote-chars): Remove.
4058         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4059         (org-export-latex-list-beginning-re): Rename to
4060         `org-list-beginning-re'
4061         (org-list-item-begin): Rename to `org-list-item-beginning'
4063 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
4065         * org.el (org-refile): Allow refiling to the last entry in the
4066         buffer.
4067         (org-get-tags-at): Fix bug when inheritance is turned off.
4069 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
4071         * org.el (org-indent-line-function): No longer check for src
4072         regions, this is too much overhead.
4074         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4075         matching.
4077         * org.el (org-scan-tags): Make sure that tags matching is not case
4078         sensitive.  TODO keyword matching is case sensitive, however, to
4079         avoid confusion with similar words that are not meant to be
4080         keywords.
4082 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
4084         * org.el (org-get-local-tags-at): New function.
4085         (org-get-local-tags): New function.
4087         * org-exp.el (org-export-get-categories): New function.
4089         * org-agenda.el (org-sorting-choice)
4090         (org-agenda-sorting-strategy, org-agenda-get-todos)
4091         (org-agenda-get-timestamps, org-agenda-get-deadlines)
4092         (org-agenda-get-scheduled, org-agenda-get-blocks)
4093         (org-entries-lessp): Implement sorting by TODO state.
4094         (org-cmp-todo-state): New defsubst.
4096         * org-colview.el (org-colview-construct-allowed-dates): New
4097         function.
4098         (org-columns-next-allowed-value): Use
4099         `org-colview-construct-allowed-dates'.
4101         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4102         function.
4103         (org-columns-next-allowed-value): Use
4104         `org-colview-construct-allowed-dates'.
4106 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
4108         * org.el (org-protect-slash): New function.
4109         (org-get-refile-targets): Use `org-protect-slash'.
4111         * org-agenda.el (org-global-tags-completion-table): New variable.
4113         * org-exp.el (org-export-handle-export-tags): New function.
4114         (org-export-preprocess-string): Call
4115         `org-export-handle-export-tags'.
4117         * org-plot.el: New file.
4119         * org-publish.el (org-publish-expand-components): Function removed.
4120         (org-publish-expand-projects): Allow components to have components.
4122 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
4124         * org.el (org-indent-line-function): Do not indent in regions that
4125         are external source code.
4126         (org-yank-and-fold-if-subtree): New function.
4128         * org-agenda.el (org-agenda-todayp): New function.
4129         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4130         `org-agenda-todayp'.
4132         * org.el (org-insert-heading-respect-content)
4133         (org-insert-todo-heading-respect-content): New commands.
4134         (org-insert-heading-respect-content): New option.
4135         (org-insert-heading): Respect `org-insert-heading-respect-content'.
4137         * org-clock.el (org-clock-find-position): Make sure the note after
4138         the clock line gets moved into the new clock drawer.
4140 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
4142         * org-id.el (org-id-new): New option.
4144 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
4146         * org-table.el (org-table-copy-down): Avoid overflow during
4147         increment.  Use prefix argument 0 to temporarily disable the
4148         increment.
4150 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
4152         * org-exp.el (org-export-as-html): Do not turn on the major mode
4153         if the buffer will be killed anyway.
4154         (org-get-current-options): Exclude the #+TEXT field.
4155         (org-export-as-html): Make sure text before the first headline is
4156         a paragraph.
4158         * org-publish.el (org-publish-org-to): Tell the exporter that this
4159         buffer will be killed, so it is not necessary to do major mode
4160         initialization.
4162         * org-archive.el (org-archive-to-archive-sibling): Show empty
4163         lines after folding the archive sibling.
4165         * org.el (org-log-note-extra): New variable.
4167 2008-09-05  Bastien Guerry  <bzg@altern.org>
4169         * org.el (org-additional-option-like-keywords): Added keywords for
4170         the _QUOTE, _VERSE and _SRC environments.
4172         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4173         exporting _QUOTE and _VERSE environments.
4175 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
4177         * org-agenda.el (org-agenda-filter-by-tag): New command.
4179         * org-exp.el (org-get-current-options): Remove angular brackets
4180         from the date entry.
4182         * org.el (org-edit-fixed-width-region): New function.
4183         (org-edit-fixed-width-region): Also try
4184         `org-edit-fixed-width-region'.
4185         (org-edit-fixed-width-region-mode): New option.
4186         (org-activate-code): Only interprete lines starting with colon
4187         plus a space as example lines.
4189         * org-remember.el (org-remember-templates): Add nil instead of
4190         empty strings to fix the length of remember templates.
4192         * org-table.el (org-calc-default-modes): Fix the time format for
4193         calc, from 12 hour to 24 hour clock.
4195 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
4197         * org-agenda.el (org-agenda-get-deadlines)
4198         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4199         entries that are pre-warnings of deadlines or reminders.
4201         * org.el (org-sort-entries-or-items): Make numeric and alpha
4202         comparisons ignore any TODO keyword and priority cookie.
4204         * org-remember.el (org-remember-handler): Reinterpretation of the
4205         prefix argument.
4207 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
4209         * org-agenda.el (org-agenda-get-scheduled): Use new
4210         `org-scheduled' face.
4212         * org-faces.el (org-scheduled): New face.
4214         * org-wl.el (org-wl-open): Remove incorrect declaration.
4216         * org-gnus.el (org-gnus-store-link): Support for :to information
4217         in gnus links.
4219         * org-exp.el (org-export-as-html): Fixed typo in creator
4220         information.
4221         (org-export-protect-examples): New parameter indent.  Insert extra
4222         spaces only when this parameter is specified.
4223         (org-export-preprocess-string): Call `org-export-protect-examples'
4224         with an indentation parameter when exporting to ASCII.
4226         * org-remember.el (org-remember-templates)
4227         (org-remember-apply-template): Allow the file component to be a
4228         function.
4230         * org.el (org-goto-local-search-headings): Renamed from
4231         `org-goto-local-search-forward-headings'.  Added the possibility
4232         to search backwards.
4234 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
4236         * org-export-latex.el (org-export-latex): New customization
4237         group.
4239         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4241 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
4243         * org-exp.el (org-html-do-expand): Allow {} to terminate
4244         tex macro
4246 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
4248         * org.el (org-buffer-list): Select buffers based on major mode,
4249         not on file name.
4251 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
4253         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4254         face property.
4256         * org-colview.el (org-columns-display-here): Use
4257         `org-columns-modify-value-for-display-function'.
4259         * org-colview-xemacs.el (org-columns-display-here): Use
4260         `org-columns-modify-value-for-display-function'.
4262 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
4264         * org.el (org-columns-modify-value-for-display-function): New option.
4276         * org-publish.el (org-publish-file): Make sure the directory match
4277         for the publishing directory works correctly.
4279         * org-agenda.el (org-agenda-execute-calendar-command)
4280         (org-agenda-diary-entry): Additional optional argument.
4282 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
4284         * org-exp.el (org-export-as-html): Add attributes also in mailto
4285         and ftp links.
4287         * org.el (org-autoload): Add `org-dblock-write:columnview'.
4296 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
4298         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4299         sure that calls from `org-export-region-as-html' do not do the
4300         special check for a subtree.
4302 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
4304         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4306 2008-07-20  Juri Linkov  <juri@jurta.org>
4308         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4309         new keymap `narrow-map' instead of binding "\C-xns".
4311 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
4313         * org.el (org-open-file): Use
4314         `org-open-directory-means-index-dot-org'.
4315         (org-open-directory-means-index-dot-org): New option.
4317 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
4319         * org.el (org-make-link-string): Remove link attributes from
4320         description.
4321         (org-open-at-point): Remove link attributes bevore using the path.
4323         * org-exp.el (org-export-as-html): Handle link attributes.
4325         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4327         * org-table.el (org-table-to-lisp): New function.
4329         * org.el (org-narrow-to-subtree): Do not include the final newline
4330         into the narrowed region.
4332         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4333         bug with user-define skipping condition.
4335 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
4337         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4339 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
4341         * org-exp.el (org-export-html-style-default): Automatic overflow
4342         handling for pre fields.
4343         (org-export-as-ascii, org-export-as-html): Change default format
4344         for time stamp.
4346         * org-table.el (org-table-export): Offer completion for translator
4347         functions, and do not require a heading above the table.
4349         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4350         Cater for the case of a list starting in the first line of the
4351         buffer.
4353 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
4355         * org-publish.el (org-publish-find-title): Bug fix.
4356         (org-publish-org-index): Implement new :index-style option.
4358 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
4360         * org-publish.el (org-publish-timestamp-filename): Use
4361         SHA1-encoded file names in the timestamp directory.
4363 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
4365         * org-publish.el (org-publish-needed-p): Be verbose about files
4366         published and files skipped.
4368         * org-exp.el (org-export-preprocess-string): Swap link
4369         normalization and inernal link targeting.
4371         * org-publish.el (org-publish-needed-p): Create timestamp
4372         directory when it does not exist.
4374 2008-07-04  Bastien Guerry  <bzg@altern.org>
4376         * org-clock.el (org-clock-out-when-done): Doc fix.
4378         * org.el (org-agenda-skip-unavailable-files): Doc fix.
4380         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4381         Ignore case when searching for the COMMENT cookie at export time.
4383 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
4385         * org-exp.el (org-get-file-contents)
4386         (org-get-and-remove-property): New functions.
4387         (org-export-handle-include-files): Handle the new prefix options.
4388         (org-export-as-html): Fix the verse environment.
4390 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
4392         * org.el (org-time=, org-time<, org-time<=, org-time>)
4393         (org-time>=, org-time<>, org-2ft): New functions.
4394         (org-op-to-function): Also provide for the time testing fucntions.
4396 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
4398         * org-exp.el (org-export-html-style-default): New constant.
4400 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
4402         * org-exp.el (org-export-html-style-extra): New variable.
4403         (org-export-splice-style): New function.
4405 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
4407         * org-exp.el (org-export-plist-vars, org-export-as-html):
4408         Implement `org-export-creator-info'.
4409         (org-export-creator-info): New option.
4411 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
4413         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4414         (org-property-drawer-re, org-clock-drawer-re): New constants.
4416 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
4418         * org-exp.el (org-icalendar-use-deadline)
4419         (org-icalendar-use-scheduled): New options.
4420         (org-icalendar-include-todo): Default changed to t.
4421         (org-print-icalendar-entries): Implement better utilization of
4422         scheduling and deadline time stamps.
4423         (org-export-target-internal-links, org-export-as-html): Allow file
4424         lines without the "file:" prefix if the file path is an absolute
4425         path or starts with ".".
4427         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4428         lastweek etc.
4429         (org-clock-special-range): Also undertand yesterday, lastweek etc.
4431 2008-06-18  Glenn Morris  <rgm@gnu.org>
4432         * org.el (org-map-entries): Let-bind `file'.
4434 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
4436         * org.el (org-agenda-skip-archived-trees): Docstring now
4437         discourages using this.
4438         (org-scan-tags): Check for org-agenda-archives-mode.
4439         (org-map-entries): Make sure org-agenda-archives-mode is nil.
4440         (org-agenda-files): Functionality of second arg changed.
4442         * org-agenda.el (org-agenda-archives-mode): New variable
4443         (org-write-agenda, org-prepare-agenda, org-agenda-list)
4444         (org-search-view, org-todo-list, org-tags-view)
4445         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4446         `ifmode' argument.
4447         (org-agenda-quit): Reset the archives mode.
4448         (org-agenda-archives-mode): New command.
4449         (org-agenda-set-mode-name): Include archives info.
4451 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
4453         * org.el (org-paste-subtree): Make sure the yanked headline is
4454         visible if it was yanked at a visible point.
4455         (org-move-item-up): Fix the bug with moving white space at the end
4456         of the item.
4457         (org-show-empty-lines-in-parent): New function.
4459 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
4461         * org-colview.el (org-columns-next-allowed-value): Bug fix.
4463         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4465         * org-agenda.el (org-agenda-get-closed): Get the end time into the
4466         agenda prefix as well.
4468         * org-publish.el (org-publish-org-index): Make a properly indented
4469         list.
4471         * org.el (org-calendar-agenda-action-key): New option.
4472         (org-get-cursor-date): New function.
4473         (org-mark-entry-for-agenda-action): New command.
4474         (org-overriding-default-time): New variable.
4475         (org-read-date): Respect `org-overriding-default-time'.
4477         * org-remember.el (org-remember-apply-template): Respect the
4478         ovverriding default time.
4480         * org-agenda.el (org-agenda-action-marker): New variable.
4481         (org-agenda-action): New command.
4482         (org-agenda-do-action): New function.
4484 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4486         * org.el (org-schedule, org-deadline): Protect scheduled and
4487         deadline tasks against changes that accidently remove the
4488         repeater.  Also show a message with the new date when done.
4490 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4492         * org.el (org-beginning-of-line): Cater for the case when there
4493         are tags but no headline text.
4494         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4495         it set.
4497 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
4499         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4500         the return value is nil instead of "nil" when there is no match.
4502         * org-exp.el (org-insert-centered): Use fill-column instead of
4503         80.
4504         (org-export-as-ascii): Use string-width to measure the width of
4505         the heading.
4507         * org.el (org-diary-to-ical-string): No longer kill buffer
4508         FROMBUF, this is now done by the caller.
4510         * org-exp.el (org-print-icalendar-entries): Move the call to
4511         `org-diary-to-ical-string' out of the loop, and kill the buffer
4512         afterwords.
4514         * org-remember.el (org-remember-visit-immediately): Position
4515         cursor after moving to the note.
4516         (org-remember-apply-template): Use a text property to record the
4517         cursor position.
4518         (org-remember-handler): Align tags after pasting the note.
4520 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
4522         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4524         * org-agenda.el (org-agenda-open-link): If there is an
4525         org-bbdb-name property in the current line, jump to that bbdb
4526         entry.
4528         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4529         text property, so that the agenda knows where this entry comes
4530         from.
4532         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4533         interaction between clocking-in from the agenda, and  automatic
4534         task state switching.
4536         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4538         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4539         zmacs-region stays after this command in XEmacs.
4541 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
4543         * org.el (org-scan-tags): Allow new values for ACTION parameter.
4545         * org-remember.el (org-remember-templates): Fix bug in
4546         customization type definition.
4548         * org.el (org-map-entries): New function.
4550 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
4552         * org-agenda.el (org-agenda-skip-comment-trees): New option.
4553         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4555 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
4557         * org-remember.el (org-jump-to-target-location): New variable.
4558         (org-remember-apply-template): Set
4559         `org-remember-apply-template' if requested by template.
4560         (org-remember-handler): Start an idle timer to jump to
4561         remember location.
4563         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4565         * org.el (org-set-regexps-and-options): Fix bug with parsing of
4566         file tags.
4567         (org-get-tags-at): Add the content of `org-file-tags'.
4569         * org-exp.el (org-export-handle-comments): Fix bug with several
4570         comment lines after each other.
4571         (org-number-to-roman, org-number-to-counter): New functions.
4572         (org-export-section-number-format): New option.
4574 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
4576         * org-exp.el (org-export-protect-examples): Catch the case of a
4577         missing end_example line.
4579         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4580         `org-file-tags' to nil.
4582         * org-colview.el (org-columns-next-allowed-value): Handle next
4583         argument NTH to directly select a value.
4585         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4586         argument NTH to directly select a value.
4588 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
4590         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4592 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
4594         * org.el (org-columns-ellipses): New option.
4596 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
4598         * org-colview.el (org-columns-add-ellipses): New function.
4599         (org-columns-compact-links): New function.
4600         (org-columns-cleanup-item): Call `org-columns-compact-links'.
4601         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4602         when in agenda.
4603         (org-columns-edit-value): Fixed bug with editing values from
4604         agenda column view.
4605         (org-columns-redo): Also redo the agenda itself.
4607 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
4609         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4610         option.
4612         * org-colview.el (org-agenda-columns-cleanup-item): New function.
4614         * org-exp.el (org-export-ascii-preprocess): Renamed from
4615         `org-export-ascii-clean-string'.
4616         (org-export-kill-licensed-text)
4617         (org-export-define-heading-targets)
4618         (org-export-handle-invisible-targets)
4619         (org-export-target-internal-links)
4620         (org-export-remove-or-extract-drawers)
4621         (org-export-remove-archived-trees)
4622         (org-export-protect-quoted-subtrees)
4623         (org-export-protect-verbatim, org-export-protect-examples)
4624         (org-export-select-backend-specific-text)
4625         (org-export-mark-blockquote-and-verse)
4626         (org-export-remove-comment-blocks-and-subtrees)
4627         (org-export-handle-comments, org-export-mark-radio-links)
4628         (org-export-remove-special-table-lines)
4629         (org-export-normalize-links)
4630         (org-export-concatenate-multiline-links)
4631         (org-export-concatenate-multiline-emphasis): New functions,
4632         obtained from spliiting the export preprocessor.
4634         * org-table.el (org-table-recalculate): Improve error message if
4635         the row number is invalid.
4637 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
4639         * org-archive.el (org-archive-save-context-info): Fix bugs in
4640         customization setup and docstring.
4642         * org-exp.el (org-export-html-style): Changed the size of in the
4643         <pre> element to 90%.
4645 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
4647         * org.el (org-find-src-example-start): Function removed.
4648         (org-edit-src-find-region-and-lang): New function.
4650 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
4652         * org.el (org-edit-src-exit): New function.
4653         (org-exit-edit-mode): New minor mode.
4655         * org-exp.el (org-export-preprocess-string): Fix bug with removing
4656         comment-like lines from protected examples.
4658         * org.el (org-edit-src-example, org-find-src-example-start)
4659         (org-protect-source-example, org-edit-special): New functions.
4661 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
4663         * org-publish.el (org-publish-project-alist): Fix typo in
4664         docstring.
4665         (org-publish-project-alist): Handle :index-title property.
4667 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
4669         * org-export-latex.el (org-export-as-latex): Make sure region
4670         bounds are correct.  Parse subtree properties relating to export.
4672         * org-exp.el (org-export-add-options-to-plist): New function.
4673         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4675 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
4677         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4678         EXPORT_TITLE.
4680         * org-exp.el (org-export-get-title-from-subtree)
4681         (org-export-as-ascii, org-export-as-html): Make sure the original
4682         region-beginning and region-end are used, even after moving
4683         point.
4684         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4685         property.
4687         * org-remember.el (org-remember-last-stored-marker): New variable.
4688         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4689         (org-remember-handler): Also use marker to remember
4690         last-stored position.
4692         * org.el (org-goto-marker-or-bmk): New function.
4694 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
4696         * org.el (org-file-properties): Renamed from `org-local-properties'.
4697         (org-scan-tags): Take file tags into account.
4698         (org-tags-match-list-sublevels): Default changed to t.
4700         * org-exp.el (org-export-as-html): Close paragraph after a
4701         footnote.
4703         * org.el (org-update-parent-todo-statistics): New function.
4705         * org-exp.el (org-icalendar-store-UID): New option.
4706         (org-icalendar-force-UID): Option removed.
4707         (org-print-icalendar-entries): IMplement UIDs.
4709 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
4711         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4713 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
4715         * org-faces.el (org-column): Document how this face is being used
4716         and why sometimes the background faces shine through.
4718         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4720         * org-publish.el (org-publish-attachment): Create publishing
4721         directory if it does not yet exist.
4723         * org-table.el (org-calc-default-modes): Change default number
4724         format to (float 8).
4726         * org.el (org-olpath-completing-read): New function.
4727         (org-time-clocksum-format): New option.
4728         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4730         * org-clock.el (org-clock-display, org-clock-out)
4731         (org-update-mode-line): Use `org-time-clocksum-format'.
4733         * org-colview-xemacs.el (org-columns-number-to-string): Use
4734         `org-time-clocksum-format'.
4736         * org-colview.el (org-columns-number-to-string): Use
4737         `org-time-clocksum-format'.
4739 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
4741         * org-id.el: New file, move from contrib to core.
4743         * org-exp.el (org-icalendar-force-UID): New option.
4745 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
4747         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4748         shifted by one day if theere is a date range without an end
4749         time.
4751         * org.el (org-try-structure-completion): New function.
4753 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
4755         * org.el (org-set-font-lock-defaults): Improve fontification of
4756         description lists.
4757         (org-insert-item): Handle description lists.
4758         (org-adaptive-fill-function): Improve auto indentation in
4759         description lists.
4761         * org-exp.el (org-export-as-html, org-export-preprocess-string):
4762         Implement VERSE environment.
4763         (org-export-preprocess-string): Implement the COMMENT
4764         environment.
4766         * org-export-latex.el (org-export-latex-preprocess): Implement
4767         VERSE environment.
4769 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
4771         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4772         option.
4774 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
4776         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4778         * org.el (org-quote-csv-field): New functions.
4780         * org-table.el (org-table-export-default-format): Remove :splice
4781         from default format, we get the same effect by not specifying
4782         :tstart and :tend.
4783         (org-table-export): Improve setup, distinguish better between
4784         interactive and non-interactive use, allow specifying the format
4785         on the fly, better protection against wrong file names.
4786         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
4787         and :tend when :splice is omitted.
4789 2008-05-09  Bernt Hansen  <bernt@norang.ca>
4791         * org-clock.el (org-clock-select-task): Make sure the selection
4792         letters are 1-9 and A-Z, no special characters.
4794 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
4796         * org-exp.el (org-export-htmlize): New group.
4797         (org-export-htmlize-output-type)
4798         (org-export-htmlize-css-font-prefix): New options.
4799         (org-export-htmlize-region-for-paste): New function.
4800         (org-export-htmlize-generate-css): New command.
4802 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
4804         * org/org.el (org-modules, org-format-latex-options):
4805         * org/org-archive.el (org-archive-stamp-time)
4806         (org-archive-save-context-info):
4807         * org/org-faces.el (org-hide):
4808         * org/org-irc.el (org-irc-parse-link):
4809         * org/org-macs.el (org-call-with-arg, org-autoload):
4810         * org/org-mew.el (org-mew-store-link):
4811         * org/org-remember.el (org-remember-store-without-prompt)
4812         (org-remember-templates): Fix typos in docstrings.
4814         * org/org-info.el (org-info-store-link): Remove leftover docstring.
4816         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4817         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4818         (org-bbdb-anniv-split): Fix typos in docstrings.
4820         * org/org-publish.el (org-publish-project-alist): Doc fixes.
4821         (org-publish-use-timestamps-flag): Reflow docstring.
4822         (org-publish-files-alist): Fix typos in docstring.
4824 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
4826         * org.el (org-set-visibility-according-to-property): New function.
4827         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
4828         and compute the regular expressions, and update font-lock.
4829         (org-property-re): Allow a dash in property names.
4831         * org-archive.el (org-extract-archive-file): Insert the file name
4832         without the path into the format, to allow the location format to
4833         contain a subdirectory.
4835         * org-agenda.el (org-agenda-post-command-hook): If point is at end
4836         of buffer, and the `org-agenda-type' property undefined, use the
4837         value from the character before.
4839         * org.el (org-add-planning-info): Don't let indentation for
4840         would-be timestamp become extra whitespace at the end of headline.
4842 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
4844         * org.el (org-remove-double-quotes, org-file-contents): New
4845         functions.
4847         * org-exp.el (org-infile-export-plist): Also parse the
4848         contents of #+SETUPFILE files, recursively.
4850         * org.el (org-set-regexps-and-options): Also parse the
4851         contents of #+SETUPFILE files, recursively.
4853         * org-exp.el (org-export-handle-include-files): New function.
4854         (org-export-preprocess-string): Call
4855         `org-export-handle-include-files'.
4857         * org.el (org-delete-property-globally)
4858         (org-delete-property, org-set-property): Ignore case during
4859         completion.
4860         (org-set-property): Use `org-completing-read' instead of
4861         `completing-read'.
4863         * org.el (org-complete-expand-structure-template): New,
4864         experimental function.
4865         (org-structure-template-alist): New, experimental option.
4866         (org-complete): Call `org-complete-expand-structure-template'.
4868 2008-05-06  Bastien Guerry  <bzg@altern.org>
4870         * org-export-latex.el (org-export-latex-preprocess): Added
4871         support for blockquotes.
4873 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
4875         * org.el (org-read-date-analyze): Catch the case where only a
4876         weekday is given.
4878 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
4880         * org.el (org-set-font-lock-defaults): Make the description
4881         tag bold.
4883         * org-exp.el (org-export-as-html, org-close-li): Implement
4884         description lists.
4886 2008-05-04  Jason Riedy  <jason@acm.org>
4888         * org-table.el (*orgtbl-default-fmt*): New variable.
4889         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
4890         when there is no other fmt available.
4892         (orgtbl-to-generic): Allow an explicitly nil :tstart or
4893         :tend to suppress the appropriate string.
4895         (orgtbl-to-orgtbl): New function for translating to another orgtbl
4896         table.
4898 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
4900         * org.el (org-read-date-analyze): "." as an alias for "+0" in
4901         read date.
4903         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
4904         New function.
4906         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
4907         New function.
4909 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
4911         * org-clock.el (org-clock-find-position): Don't include notes
4912         into clock drawer.
4914         * org-archive.el (org-archive-subtree): No longer remove an
4915         extra line after cutting the subtree.  `org-cut-subtree' already
4916         takes care of this.
4918         * org-remember.el (org-remember-handler): Only kill the target
4919         buffer if it does not contain the running clock.
4921         * org.el (org-markers-to-move): New variable.
4922         (org-save-markers-in-region, org-check-and-save-marker)
4923         (org-reinstall-markers-in-region): New function.
4924         (org-move-subtree-down, org-copy-subtree): Remember relative
4925         marker positions before cutting.
4926         (org-move-subtree-down, org-paste-subtree): Restore relative
4927         marker positions after pasting.
4929         * org-remember.el (org-remember-clock-out-on-exit): New option.
4930         (org-remember-finalize): Clock out only if the setting in
4931         `org-remember-clock-out-on-exit' requires it.
4932         (org-remember-handler): Do the cleanup in the buffer, to make sure
4933         that the clock marker remains in tact.
4935 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
4937         * org-clock.el (org-clock-goto): Widen buffer if necessary.
4938         (org-clock-in): Make sure that also tasks outside the narrowed
4939         region will be clocked in correctly.
4940         (org-clock-insert-selection-line): Widen the buffer so that we can
4941         find the correct task heading.
4943         * org.el (org-base-buffer): New function.
4945         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
4946         and ";" are escaped.
4947         (org-print-icalendar-entries): Also apply
4948         `org-icalendar-cleanup-string' to the headline, not only to the
4949         summary property.
4951 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
4953         * org-exp.el (org-export-preprocess-hook): New hook.
4954         (org-export-preprocess-string): Call
4955         `org-export-preprocess-hook'.
4957         * org.el (org-font-lock-hook): New variable.
4958         (org-font-lock-hook): New function.
4959         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
4961 ;; Local Variables:
4962 ;; coding: utf-8
4963 ;; add-log-time-zone-rule: t
4964 ;; End:
4966     Copyright (C) 2008  Free Software Foundation, Inc.
4968   This file is part of GNU Emacs.
4970   GNU Emacs is free software: you can redistribute it and/or modify
4971   it under the terms of the GNU General Public License as published by
4972   the Free Software Foundation, either version 3 of the License, or
4973   (at your option) any later version.
4975   GNU Emacs is distributed in the hope that it will be useful,
4976   but WITHOUT ANY WARRANTY; without even the implied warranty of
4977   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4978   GNU General Public License for more details.
4980   You should have received a copy of the GNU General Public License
4981   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
4983 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c