Modify Bastien's emphasis in verse fix
[org-mode.git] / lisp / ChangeLog
blobaa04adcf2d67d0c47b5e834ce870ef1ca9bae845
1 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-read-date): Make sure the calendar is in the current
4         frame.
5         (org-set-emph-re): Remove the ? from the post-match.
6         (org-emphasis-regexp-components): Add backslash to the
7         postmatch class.
9         * org-table.el (org-table-error-on-row-ref-crossing-hline):
10         Variable made obsolete.
11         (org-table-relative-ref-may-cross-hline): New option.
12         (org-table-find-row-type): Honow the new option
13         `org-table-relative-ref-may-cross-hline'.
15 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
17         * org-table.el (org-table-cut-region, org-table-copy-region): Work
18         on single field if no active region.
20 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
22         * org-latex.el (org-export-latex-make-header): Only insert title
23         if one is defined.
25         * org.el (org-make-options-regexp): Allow empty values.
27         * org-html.el (org-export-as-html): Move hrule detection to after
28         plain list handling.
30 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
32         * org-html.el (org-format-org-table-html): Fix colgroup tags.
34 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
36         * org.el (org-cycle-internal-local): Improved version of finding
37         next visible line.
38         (org-cycle-hide-drawers): Only hide drawers if this is really
39         necessary.
40         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
41         org-version of this function in Org-mode.  We use advice to
42         implement this change, so that future changes to this function in
43         outline.el wil be handled properly.
44         (org-forward-same-level, org-backward-same-level): New commands.
46 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
48         * org.el (org-remove-empty-overlays-at)
49         (org-clean-visibility-after-subtree-move): New functons.
50         (org-move-subtree-down): Simplify cleanup of display.
52 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
54         * org-mac-message.el (org-mac-message-get-links): Improve
55         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
56         "s".  Fix the return value.
57         (org-mac-message-insert-flagged): Simplify.
59         * org.el (org-refile-get-location): Tamper with refile history o
60         that history contains compete matches instead of the entered
61         string.
63 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
65         * org.el (org-store-link): Never store a link to an inline task.
67         * org-inlinetask.el (org-inlinetask-insert-task): New command.
69         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
70         inline tasks when positioning footnotes.
72         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
73         function.
75         * org.el (org-refile): Remove the END line when archiving an
76         inline task that does have an END line.
78         * org-archive.el (org-archive-subtree): Remove the END line when
79         archiving an inline task that does have an END line.
81         * org-macs.el (org-with-limited-levels): New macro.
82         (org-get-limited-outline-regexp): New function.
84         * org-exp.el (org-export-format-source-code-or-example): Fix bug
85         that did not enumerate first line.
86         (org-export-mark-radio-links): Skip matches in links.
88 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
90         * org.el (org-activate-plain-links): Make single-match.
91         (org-adapt-indentation): Fix docstring.
93         * org-macs.el (org-unmodified): Turn of modification hooks while
94         running this macro.
96 2009-07-31  Bastien Guerry  <bzg@altern.org>
98         * org.el (org-make-link-regexps): Don't exclude parentheses from
99         `org-plain-link-re'
100         (org-cycle-internal-local): When locally cycling, switch directly
101         from CHILDREN to FOLDED if there is no subtree
102         (org-cycle): Update the docstring to document the new behavior of
103         `org-cycle-internal-local'.
105 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
107         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
108         an abbreviated format for days.
110 2009-07-27  Bastien Guerry  <bzg@altern.org>
112         * org-protocol.el (org-protocol-default-template-key): New
113         option.
115         * org.el (org-refile): Bugfix: save-excursion before reading the
116         refile target, otherwise cursor moves might confuse `org-refile'.
118         * org-html.el (org-export-as-html): Bugfix: correctly convert the
119         footnote reference before the footnote itself.
121         * org.el (org-toggle-heading): Bugfix: correctly convert list
122         items before the first headline.
124         * org-html.el (org-export-html-footnote-format): New option for
125         formatting the footnote reference.
126         (org-export-as-html): Use the new option.
128         * org.el (org-provide-todo-statistics): Allow a list of TODO
129         keywords to compute statistics against headlines containing a
130         keyword from this list.
131         (org-update-parent-todo-statistics): Possibly use the new allowed
132         value of `org-provide-todo-statistics'.
134 2009-07-26  Bastien Guerry  <bzg@altern.org>
136         * org-timer.el: Add autoload cookie.
138         * org.el (org-occur-link-in-agenda-files): New function.
140         * org-timer.el (org-timer-last-timer): New variable.
142         * org-agenda.el (org-agenda-mode-map): New key for
143         org-timer-set-timer called from the agenda.
145         * org.el (org-mode-map): New key for org-timer-set-timer.
147         * org-timer.el (org-timer-reset-timers)
148         (org-timer-show-remaining-time, org-timer-set-timer): New
149         functions.
151         * org-clock.el (org-show-notification): Update the docstring.
153         * org.el (org-provide-todo-statistics): Allow new value
154         'all-headlines for this option, which includes entries with no
155         TODO keywords in the todo statistics.
156         (org-update-parent-todo-statistics): Possibly use the new
157         'all-headline value from `org-provide-todo-statistics'.
159 2009-07-25  Bastien Guerry  <bzg@altern.org>
161         * org-clock.el (org-dblock-write:clocktable): Add a new option
162         :timestamp which allows display of timestamps in clock reports.
164         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
165         list to a subtree, preserving the structure of the list.
166         (org-set-emph-re): Make the last element optional in the regexp.
167         This regexp now matches an emphasized string at the end of a line.
169         * org-list.el (org-list-goto-true-beginning)
170         (org-list-make-subtree, org-list-make-subtrees): New functions.
172         * org.el (org-eval-in-calendar): Select the right frame.
173         (org-save-frame-excursion): Remove this macro.
175 2009-07-24  Bastien Guerry  <bzg@altern.org>
177         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
178         trying to find the beginning of a list.
180         * org-exp.el (org-get-file-contents): Use a new argument: markup.
181         When present, tell org-get-file-contents not to protect org-like
182         lines.
184         * org-id.el (org-id-uuid-program): New option to set the name of
185         the uuidgen program.
186         (org-id-method): Use `org-id-uuid-program'.
187         (org-id-new): Use `org-id-uuid-program'.
189 2009-07-23  Bastien Guerry  <bzg@altern.org>
191         * org-exp.el (org-export-number-lines): Allow whitespace in code
192         references.  Allow the -r switch to remove the references in the
193         source code even when the lines are not numbered: the labels can
194         be explicit enough.
196         * org.el (org-fontify-whole-heading-line): New option.
197         (org-set-font-lock-defaults): Use the new option.
199         * org-clock.el (org-show-notification-handler): New option.
200         (org-show-notification): Use the new option.
202 2009-07-21  Bastien Guerry  <bzg@altern.org>
204         * org.el (org-eval-in-calendar): Fix a bug about calendar
205         navigation when `calendar-setup' value is 'calendar-only.
207 2009-07-19  Bastien Guerry  <bzg@altern.org>
209         * org.el (orgstruct++-mode): Fix typo in docstring.
210         (org-insert-link): Clean up: (or (...)) => (...)
211         (org-insert-link): Use TAB for stored links completion.
213 2009-07-18  Bastien Guerry  <bzg@altern.org>
215         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
216         building the list of targets.
218         * org-remember.el (org-remember-delete-empty-lines-at-end): New
219         option.
220         (org-remember-handler): Use the new option.
222 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
224         * org.el (org-tags-sort-function): New option for sorting tags.
225         (org-set-tags): Use the new option to sort tags.
227         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
228         premature deletion of the data when using org-plot in a script.
230 2009-07-17  Bastien Guerry  <bzg@altern.org>
232         * org-clock.el (org-clock-in-prepare-hook): New hook.
233         (org-clock-in): Use this new hook.
235 2009-07-16  Bastien Guerry  <bzg@altern.org>
237         * org.el (org-special-ctrl-a/e): Explicitely bind the value
238         'reversed for this option to the "true line boundary first"
239         behavior.
240         (org-tags-match-list-sublevels): Document the 'indented value for
241         this variable.
243         * org-latex.el (org-export-latex-first-lines): Fix problem with
244         publishing the region.
246         * org-exp.el (org-export-format-source-code-or-example): Fix
247         bad line numbering when exporting examples in HTML.
249 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
251         * org-clock.el (org-clock-goto): Find hidden headlines as well.
253         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
255         * org-plot.el (org-plot/add-options-to-plist): Add timeind
256         option.
258 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
260         * org-publish.el (org-publish-remove-all-timestamps): New function.
261         (org-publish-all): Remove all timestamp files if `org-publish-all'
262         is called with a prefix argument.
264         * org-list.el (org-indent-item): Fix typo.
265         (org-item-indent-positions): Normalize ordered bullet.
267         * org-html.el (org-export-html-home/up-format): New option.
268         (org-export-as-html): Insert the up and HOME links.
270 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
272         * org-html.el (org-export-as-html): Insert the title into the
273         option plist.
274         (org-export-html-insert-plist-item): New function.
275         (org-export-as-html): Call `org-export-html-insert-plist-item'.
277         * org-macs.el (org-set-local): Make a local variable, do not make
278         the variable buffer-local!
280         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
282         * org-html.el (org-export-as-html): Call `org-install-letbind'.
284         * org-docbook.el (org-export-as-docbook): Call
285         `org-install-letbind'.
287         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
289         * org-exp.el (org-infile-export-plist): Read BIND lines.
290         (org-install-letbind): New function.
291         (org-export-as-org, org-export-preprocess-string): Call
292         `org-install-letbind'.
294         * org-src.el (org-edit-src-exit): Untabify the example before
295         returning to Org.
297         * org-list.el (org-list-demote-modify-bullet): New option.
298         (org-first-list-item-p): Save point.
299         (org-fix-bullet-type): New optional argument FORCE-BULLET.
300         (org-indent-item): Honor `org-list-demote-modify-bullet'.
301         (org-item-indent-positions): Return bullet types along with
302         indentation.
304 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
306         * org.el (org-show-entry): Hide drawers.
308 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
310         * org-footnote.el (org-footnote-auto-adjust): New option.
311         (org-footnote-auto-adjust-maybe): New function.
312         (org-footnote-new, org-footnote-delete): Call
313         `org-footnote-auto-adjust-maybe'.
315         * org.el (org-startup-options): Add new footnote-related
316         keywords.
318         * org-publish.el (org-publish-timestamp-filename): Additional
319         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
320         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
321         TRUE-PUB-DIR.  Pass them through to
322         `org-publish-timestamp-filename'.
323         (org-publish-update-timestamp): Additional arguments PUB-DIR and
324         PUB-FUNC, which are included in the hash.
325         (org-publish-file): Delay timestamp test until the publishing
326         function is known.
328 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
330         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
331         setting the deadline.
333         * org.el (org-read-date-final-answer): New variable.
334         (org-read-date): Store the final answer string, including the date
335         from the calendar, for reuse by agenda bulk commands.
337         * org-publish.el (org-publish-attachment): Fix publishing of
338         attachments.
340         * org-latex.el (org-export-latex-quotation-marks): Fix export of
341         quotation makrs in parenthesis.
342         (org-remove-initial-hash): New function.
343         (org-export-latex-preprocess): Fix bug with infinite loop if
344         environment is not properly closed.
346         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
347         when indented.
349         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
350         highlight also when indented.
352 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
354         * org-footnote.el (org-footnote-renumber-fn:N): New command.
355         (org-footnote-action): Offer renumbering.
357         * org.el (org-cycle): Honor the `integrate' value of
358         org-cycle-include-plain-lists'.
360         * org-list.el (org-cycle-include-plain-lists): New allowed value
361         `internal'.  Improve the docstring.
363         * org.el (org-set-autofill-regexps): Improve the paragraph-start
364         regexp to work better with LaTeX commands.
366 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
368         * org-feed.el (org-feed-update): fix problem with non-existing
369         buffer.
370         (org-feed-skip-http-headers): New function.
371         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
372         (org-feed-get-feed): Fix command line arguments for curl.
374 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
376         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
377         and eps extensions.
379 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
381         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
382         loaded.
384         * org.el (org-map-entries): No longer force
385         `org-tags-match-list-sublevels' to t during a todo-only tags
386         search.
388 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
390         * org-latex.el (org-export-latex-low-levels): Allow user-defined
391         environment.
392         (org-export-latex-subcontent): Handle user-defined environment.
394         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
395         the View dispatcher.
397         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
398         `make-overlay'.
400         * org-latex.el (org-export-as-pdf): Protect match data during call
401         to shell-quote-argument.
403         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
404         (org-agenda-view-mode-dispatch): New function.
406 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
408         * org-agenda.el (org-agenda-mode): Reset list of marks.
409         (org-agenda-mode-map): Define new keys for refile and bulk action.
410         (org-agenda-menu): Add menu itesm for refile and bulk action.
411         (org-agenda-refile): New function.
412         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
413         (org-agenda-marked-entries): New variable.
414         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
415         (org-agenda-remove-all-bulk-action-marks)
416         (org-agenda-bulk-action): New functions/commands.
418 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
420         * org-exp.el (org-get-file-contents): Protect org-like lines in
421         included files.
422         (org-export-format-source-code-or-example): Remove newlines.
424         * org-latex.el (org-export-latex-links): Check for no-description
425         marking.
427         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
428         argument separator back to comma.
429         (org-export-normalize-links): Mark links without description.
431 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
433         * org-exp.el (org-infile-export-plist): Fix bug in macro
434         processing.
436         * org-agenda.el (org-agenda-clock-out): Update line after clocking
437         out.
438         (org-agenda-highlight-todo): Fix bug with highlighting.
440 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
442         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
443         new alignment strings.
445         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
446         command list.
447         (org-table-align): Check for forced align type.
449         * org.el (org-self-insert-command): Add yas/expand to command
450         list.
452         * org-clock.el (org-clock-in-hook): New hook.
453         (org-clock-in): Run `org-clock-in-hook.
454         (org-clock-out-hook): New hook.
455         (org-clock-out): Run `org-clock-out-hook.
456         (org-clock-cancel-hook): New hook.
457         (org-clock-cancel): Run `org-clock-cancel-hook.
458         (org-clock-goto-hook): New hook.
459         (org-clock-goto): Run `org-clock-goto-hook.
461 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
463         * org.el (org-store-link): Better default description for link to
464         Org-mode headline.
466         * org-exp.el (org-export-generic): Autoload the generic exporter
467         function.
468         (org-export): Implement the `g' key for the generic exporter.
470 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
472         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
473         and for zbacktab'.
475         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
477         * org-exp.el (org-infile-export-plist): Get macros also from
478         #+SETUPFILE.
480 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
482         * org-colview.el (org-columns-capture-view): Protect vertical bars
483         in column values.
484         (org-columns-capture-view): Exclude comment and archived trees.
486         * org-colview-xemacs.el (org-columns-capture-view): Protect
487         vertical bars in column values.
488         (org-columns-capture-view): Exclude comment and archived trees.
490         * org.el (org-quote-vert): New function.
492         * org-latex.el (org-export-latex-verbatim-wrap): New option.
494         * org-exp.el (org-export-format-source-code-or-example): Use
495         `org-export-latex-verbatim-wrap'.
497         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
498         time stamps.
500         * org-html.el (org-export-table-row-tags): New option.
501         (org-format-org-table-html): Rename `nlines' to `nline', use new
502         option.
505 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
507         * org-exp-blocks.el: Declare functions and variables.
509         * org-remember.el (org-remember-templates): Allow the headline
510         element to be a function.
511         (org-remember-apply-template): If the headline is a function, call
512         it to get the true function.
514         * org-clock.el (org-clock-menu): New function.
515         (org-clock-update-mode-line): Update help string.
516         (org-clock-modify-effort-estimate): New function.
517         (org-clock-mark-default-task): New function.
519         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
520         minutes as input.
521         (org-org-menu): Add new clocking stuff.
522         (org-clock-is-active): New function.
524 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
526         * org.el (org-open-non-existing-files): Improve docstring.
528 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
530         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
531         option.
532         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
534         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
536         * org-list.el (org-get-checkbox-statistics-face): Use the new
537         faces.
539         * org-faces.el (org-checkbox-statistics-todo)
540         (org-checkbox-statistics-done): New faces.
542 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
544         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
545         (org-edit-src-exit): Better cursor positioning when returning from
546         editing.
548         * org-latex.el (org-export-latex-use-verb): New variable.
549         (org-export-latex-emph-format): Prefer \texttt over \verb when
550         org-export-latex-use-verb is set.
552 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
554         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
555         at normal indentation.
557         * org-html.el (org-export-html-close-lists-maybe): Also look at
558         normal indentation.
560         * org-remember.el (org-remember-handler): Abort remember if the
561         buffer is empty.
563         * org-src.el (org-edit-src-content-indentation): New option.
564         (org-edit-src-exit): Apply extra indentation.
566         * org-exp.el (org-export-format-source-code-or-example): Run
567         `org-src-mode-hook'.
569         * org-src.el (org-src-mode-hook): New variable.
570         (org-edit-src-code): Run `org-src-mode-hook'.
572 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
574         * org.el (org-indent-line-function): Fix indentation of +#end lines.
576         * org-src.el (org-edit-src-get-indentation): New function.
577         (org-edit-src-code): Base indentation on the begin line.
579 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
581         * org-gnus.el (org-gnus-store-link): Require message.el in
582         org-gnus-store-link.
584 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
586         * org-src.el: New file, split out of org.el
588         * org-docbook.el (org-export-as-docbook): Better indentation
589         treatment.
591         * org-macs.el (org-replace-match-keep-properties): New function.
593         * org-exp.el (org-export-mark-blockquote-verse-center): Better
594         preprocessing of center and quote and verse blocks.
596         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
597         (org-export-as-docbook): Close lists when original indentation
598         mandates it.
600         * org-html.el (org-export-html-close-lists-maybe): New function.
601         (org-export-as-html): Close lists when original indentation
602         mandates it.
604         * org-list.el (org-list-end): Respect the stored "original"
605         indentation when determining the end of the list.
607         * org-exp.el (org-export-replace-src-segments-and-examples):
608         Remember indentation correctly.
610 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
612         * org-clock.el (org-clock-update-mode-line): Apply face
613         org-mode-line-clock.
615         * org-faces.el (org-mode-line-clock): New face.
617 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
619         * org-gnus.el (org-gnus-store-link): Fix bug where
620         `org-gnus-store-link' used wrong subject when called in an article
621         buffer.  Patch provided by fengli AT gmail DOT com.
623 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
625         * org-exp.el (org-export-format-source-code-or-example): Remember
626         the original indentation of source code snippets and examples.
628         * org-latex.el (org-export-as-latex): Relocate the table of
629         contents.
631         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
633         * org-agenda.el (org-run-agenda-series): Scope global options also
634         when creating the agenda buffer.
636 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
638         * org.el (org-adapt-indentation): Improve documentation.
639         (org-insert-property-drawer): Respect org-adapt-indentation when
640         inserting the drawer.
641         (org-remove-flyspell-overlays-in): New function.
642         (org-do-emphasis-faces, org-activate-plain-links)
643         (org-activate-code, org-fontify-meta-lines-and-blocks)
644         (org-activate-angle-links, org-activate-footnote-links)
645         (org-activate-bracket-links, org-activate-dates)
646         (org-activate-target-links, org-activate-tags): Remove flyspell
647         overlays.
649 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
651         * org.el (org-edit-src-save): New function.
653         * org-clock.el (org-clock-out-switch-to-state): New option.
654         (org-clock-out): Honor `org-clock-out-switch-to-state'.
656         * org-compat.el (org-compatible-face): Improve macro.
658         * org.el (org-global-properties-fixed): Add default for
659         CLOCK_MODELINE_TOTAL.
661         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
662         andd tend.
663         (org-clock-sum-current-item): Optional argument TSTART, pass it to
664         org-clock-sum.
665         (org-clock-get-sum-start): New function.
667         * org.el (org-startup-options): New keywords blockhide and
668         blockshow.
669         (org-mode): Add new invisibility spec.
670         (org-set-startup-visibility): Hide block on startup if so
671         desired.
672         (org-hide-block-startup): New option.
673         (org-block-regexp): New constant.
674         (org-hide-block-overlays): New variable.
675         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
676         (org-show-block-all, org-hide-block-toggle-maybe)
677         (org-hide-block-toggle): New functions.
678         (org-edit-src-exit): Do not quote lines starting with # and no +
679         behind it.
680         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
681         entry.
683 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
685         * org.el (org-buffer-property-keys): Add Effort property for
686         completion.
688 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
690         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
691         when retrieving total clocked time in the subtree.
693         * org.el (org-quoting-blocks): New variable.
695 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
697         * org-table.el (org-table-store-formulas)
698         (org-table-get-stored-formulas, org-table-fix-formulas)
699         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
700         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
702         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
703         indented #+TBLFM line.
705         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
706         indented #+TBLFM line.
708         * org-colview.el (org-dblock-write:columnview): Allow indented
709         #+TBLFM line.
711         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
712         indented #+TBLFM line.
714         * org-clock.el (org-dblock-write:clocktable): Allow indented
715         #+TBLFM line.
717 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
719         * org-exp.el (org-export-format-source-code-or-example): Make
720         editing indented blocks work correctly.
722         * org.el (org-edit-src-nindent): New variable.
723         (org-edit-src-code, org-edit-fixed-width-region)
724         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
725         editing indented blocks work correctly.
727 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
729         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
730         indented blocks.
731         (org-export-format-source-code-or-example): Fix indentation of
732         blocks.
733         (org-export-remove-indentation): New function.
734         (org-export-select-backend-specific-text): Allow backend-specific
735         code to be indented.
736         (org-export-mark-blockquote-verse-center): Allow markers to be
737         indented.
739         * org.el (org-fontify-meta-lines): New function.
740         (org-set-font-lock-defaults): Call the new fontification
741         function.
743         * org-faces.el (org-meta-line): New face
744         (org-block):  New face.
746 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
748         * org.el (org-treat-insert-todo-heading-as-state-change)
749         (org-treat-S-cursor-todo-selection-as-state-change): New
750         variables.
751         (org-insert-todo-heading): Honor
752         `org-treat-insert-todo-heading-as-state-change'.
753         (org-shiftright, org-shiftleft): Honor
754         `org-treat-S-cursor-todo-selection-as-state-change'.
755         (org-inhibit-logging): New variable.
757 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
759         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
760         range for marker position checking.
762         * org-latex.el (org-export-latex-first-lines): Fix bug when
763         exporting a region.
765 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
767         * org-exp.el (org-export-push-to-kill-ring): Protect using
768         x-set-selection, because that does not always work.
770         * org-agenda.el (org-agenda-list): Apply the new face
771         `org-agenda-date-today'.
773         * org-faces.el (org-agenda-date-today): New face.
775 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
777         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
778         creating appointments.
780         * org-latex.el (org-export-latex-low-levels): Fix customization
781         type.
783         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
784         priority commands.
786         * org-agenda.el (org-agenda-priority): Disable priority commands.
788         * org.el (org-enable-priority-commands): New option.
790         * org-colview-xemacs.el (org-columns-compute)
791         (org-columns-number-to-string): Fix problems with empty fields.
793         * org-colview.el (org-columns-compute)
794         (org-columns-number-to-string): Fix problems with empty fields.
796         * org-exp.el (org-export-push-to-kill-ring): New function.
797         (org-export-copy-to-kill-ring): New option.
799         * org-latex.el (org-export-as-latex): Call
800         `org-export-push-to-kill-ring'.
802         * org-html.el (org-export-as-html): Call
803         `org-export-push-to-kill-ring'.
805         * org-docbook.el (org-export-as-docbook): Call
806         `org-export-push-to-kill-ring'.
808         * org-ascii.el (org-export-as-ascii): Call
809         `org-export-push-to-kill-ring'.
811         * org-exp.el (org-export-show-temporary-export-buffer): New
812         option. 
814         * org-latex.el (org-export-as-latex): Use
815         `org-export-show-temporary-export-buffer'.
817         * org-html.el (org-export-as-html): Use
818         `org-export-show-temporary-export-buffer'.
820         * org-docbook.el (org-export-as-docbook): Use
821         `org-export-show-temporary-export-buffer'.
823         * org-ascii.el (org-export-as-ascii-to-buffer): Use
824         `org-export-show-temporary-export-buffer'.
826         * org-exp.el (org-export-show-temporary-export-buffer): New
827         option.
828         (org-export-push-to-kill-ring): New function.
830         * org-colview.el (org-columns-compile-map): New variable.
831         (org-columns-new, org-columns-compute)
832         (org-columns-number-to-string, org-columns-uncompile-format)
833         (org-columns-compile-format): Implement new operators.
835 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
837         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
839         * org-html.el (org-export-html-xml-declaration): New option.
840         (org-export-as-html): Use `org-export-html-xml-declaration'.
842         * org-list.el (org-update-checkbox-count): Make property
843         dependent.
845         * org.el (org-hierarchical-todo-statistics): New option.
846         (org-update-parent-todo-statistics): Modified to handle recursive
847         statistics.
849 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
851         * org-publish.el (org-publish): Make this function behave
852         correctly in interactive use when called with a prefix argument.
854         * org.el (org-todo-statistics-hook): New hook.
855         (org-update-parent-todo-statistics): Use new hook.
856         (org-log-into-drawer): New function.
857         (org-add-log-setup): Use the new `org-log-into-drawer' function to
858         determine if we should be logging into a drawer.
859         (org-log-into-drawer): Update docstring.
860         (org-default-properties): Add LOG_INTO_DRAWER as a property.
862         * org-list.el (org-checkbox-statistics-hook): New hook.
863         (org-update-checkbox-count-maybe): Use new hook.
865         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
866         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
867         to kill ring.
869 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
871         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
872         a line.
874 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
876         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
877         better bufer-generating mechanism.
878         (org-edit-src-find-buffer): New function.
880         * org-icalendar.el (org-print-icalendar-entries): Don't check for
881         archive tag, this is already done by `org-agenda-skip'.
882         data while constructing lost of tags.
884 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
886         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
887         as argument separator in macros.
889         * org-html.el (org-export-as-html): Add xml declaration.
891 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
893         * org.el (org-after-sorting-entries-or-items-hook): New hook.
894         (org-sort-entries-or-items): Run the new hook.
895         (org-after-refile-insert-hook): New hook.
896         (org-refile): Run `org-after-refile-insert-hook'.
898         * org-agenda.el (org-agenda-get-progress): Never take time of day
899         from headline when displaying progress.
901         * org-latex.el (org-export-latex-complex-heading-re): New variable.
902         (org-export-as-latex): Force the correct regexp in the
903         preprocessor buffer.
904         (org-export-latex-set-initial-vars): Set
905         `org-export-latex-complex-heading-re'.
907         * org-agenda.el (org-agenda-start-with-log-mode): New option.
908         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
910 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
912         * org-latex.el (org-export-latex-tables-centered): New option.
913         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
915         * org-exp.el (org-export-as-org): New command.
916         (org-export-as-org): New command.
918         * org-publish.el (org-publish-org-to-org): New function.
920 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
922         * org.el (org-yank): Just call `org-yank-generic'.
923         (org-yank-generic): New function, containing the formaer
924         functionality of `org-yank'.
926         * org-latex.el (org-export-latex-not-done-keywords)
927         (org-export-latex-done-keywords): New variables.
928         (org-export-latex-todo-keyword-markup): New option.
929         (org-export-latex-set-initial-vars): Remember the TODO keywords.
930         (org-export-latex-keywords-maybe): Apply the TODO markup.
932 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
934         * org-exp.el (org-infile-export-plist): Add more default macros.
935         (org-export-preprocess-apply-macros): Process macro arguments.
937 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
939         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
940         `unblocked'.
941         (org-print-icalendar-entries): Respect the new value of
942         `org-icalendar-include-todo'.
944         * org.el (org-link-try-special-completion)
945         (org-file-complete-link): New functions.
946         (org-insert-link): Add special completion support for some link
947         types.
949         * org-bbdb.el (org-bbdb-complete-link): New function.
951 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
953         * org-list.el (org-update-checkbox-count): Allow recursive
954         statistics.
955         (org-hierarchical-checkbox-statistics): New option.
957         * org.el (org-cycle): Remove erraneous space character.
959         * org-icalendar.el (org-icalendar-timezone): Initialize from
960         environment.
962         * org-html.el (org-format-org-table-html): Specify the scope.
963         (org-format-table-table-html): Specify the scope.
964         (org-export-table-header-tags): Prepare the scope parameter.
966 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
968         * org-html.el
969         (org-export-html-table-use-header-tags-for-first-column): New
970         option.
972         * org.el (org-autoload): Fix autoloading of ascii export
973         functions.
974         (org-modules): Add org-special-blocks.
976 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
978         * org-icalendar.el (org-start-icalendar-file): Use the new option.
979         (org-ical-timezone): New option.
981         * org-exp.el (org-export-get-coderef-format): Use the description
982         is present.
984         * org.el (org-sort-entries-or-items): Improve docstring, and make
985         better implementation for time sorting.
987 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
989         * org.el (org-edit-src-persistent-message): New option.
990         (org-edit-src-code, org-edit-fixed-width-region): Use the new
991         option.
993         * org-clock.el (org-clock-insert-selection-line): Fix prefious
994         patch.
996         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
997         separate buffer instead of indirect buffer to edit source code.
998         (org-edit-src-exit): Make this function work with the new setup.
1000         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1001         are properly fontified before shown in the selection menu.
1003         * org.el (org-fontify-like-in-org-mode): New function.
1005         * org-latex.el (org-export-latex-links): Use the property list to
1006         retrieve the default image attributes.
1008         * org-exp.el (org-export-plist-vars): Add a new option.
1010 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
1012         * org-exp.el (org-export, org-export-visible): Support ASCII
1013         export to buffer
1014         (org-export-normalize-links): Do not protect the description if it
1015         is explicitly given.
1017         * org-ascii.el (org-export-as-ascii-to-buffer)
1018         (org-replace-region-by-ascii, org-export-region-as-ascii): New
1019         commands.
1020         (org-export-as-ascii): Add all the same parameters that are also
1021         supported by the other export functions.
1023         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1024         org-checklist.el.
1025         (org-reset-checkbox-state-subtree): Call
1026         `org-reset-checkbox-state-subtree'.
1028         * org-remember.el (org-select-remember-template): For the
1029         selection of a valid template.
1031         * org-latex.el (org-export-region-as-latex): Supply the
1032         force-no-subtree argument.
1033         (org-export-as-latex): Provide better limits when exporting the
1034         first line.  When exporting to string, we still want the first
1035         lines.
1036         (org-export-latex-first-lines): New argument END, to force the end
1037         of the region.
1038         (org-export-region-as-latex): Use the property list.
1039         (org-export-as-latex):
1041         * org-colview-xemacs.el (org-columns-remove-overlays)
1042         (org-columns): Fix call to `local-variable-p'.
1044 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
1046         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1047         (org-export-as-html): Run the new hook.
1049         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1050         (org-export-latex-preprocess): Run the new hook.
1052         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1053         (org-export-preprocess-string): Run the new hook.
1055 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
1057         * org-macs.el (org-check-external-command): New defsubst.
1059         * org.el (org-mode-map): New key for reload.
1060         (org-format-latex): Better error message when external programs
1061         are not available.
1063         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1065         * org.el (org-sort-entries-or-items): Explicit sorting function
1066         for priorities, needed for XEmacs compatibility.
1068         * org-remember.el (org-remember-apply-template): Improve auto-save
1069         behavior.
1071 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
1073         * org-latex.el (org-export-latex-preprocess): Also protect
1074         environments ending in a star.
1076         * org-list.el (org-at-item-p): Fix regular expression.
1078 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
1080         * org.el (org-end-of-subtree): Improve speed.
1082         * org-agenda.el (org-agenda-get-timestamps)
1083         (org-agenda-get-progress, org-agenda-get-deadlines)
1084         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1085         in particular, wait as long as possible to collect the tags.
1086         (org-stuck-projects): Improve docstring.
1088         * org.el (org-store-link): No errors when getting custom id before
1089         first headline.
1090         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1092 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
1094         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1096         * org-protocol.el: Remove dependency on url.el.
1097         (org-protocol-unhex-compound, org-protocol-open-source): Remove
1098         dependency on url.el.
1100         * org-latex.el (org-export-as-pdf): Use
1101         `org-latex-to-pdf-process'.
1103 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
1105         * org-latex.el (org-latex-to-pdf-process): New option.
1107         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1108         New option.
1109         (org-agenda-get-timestamps): Honor
1110         `org-agenda-skip-additional-timestamps-same-entry'.
1112         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1113         (org-clock-goto): Find recent task only if
1114         `org-clock-goto-may-find-recent-task' allows it.
1116         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1117         drawers, and drawers that are missing the :END: line.
1119 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1121         * org-clock.el (org-clock-goto): Go to recently clocked task if no
1122         clock is running.
1124 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
1126         * org.el (org-update-parent-todo-statistics): Check for
1127         STATISTICS_FROM property.
1129         * org-list.el (org-update-checkbox-count): Check for
1130         STATISTICS_FROM property.
1132         * org.el (org-tab-first-hook)
1133         (org-tab-after-check-for-table-hook)
1134         (org-tab-after-check-for-cycling-hook): New hooks.
1135         (org-cycle-internal-global, org-cycle-internal-local): New
1136         functions, split out from `org-cycle'.
1137         (org-cycle): Call the new hooks.
1139 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
1141         * org-exp.el (org-export-preprocess-string): Reset the list of
1142         preferred targets for each run of the preprocessor.
1144         * org.el (org-refile-target-verify-function): Improve
1145         documentation.
1146         (org-get-refile-targets): Respect point being moved by the
1147         verification function.
1149         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1150         option.
1151         (org-export-latex-keywords): Use new option.
1153         * org.el (org-rear-nonsticky-at): New defsubst.
1154         (org-activate-plain-links, org-activate-angle-links)
1155         (org-activate-footnote-links, org-activate-bracket-links)
1156         (org-activate-dates, org-activate-target-links)
1157         (org-activate-tags): Place the rear-nonsticky properties at the
1158         correct location.
1160 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
1162         * org-protocol.el (server-edit): Declare `server-edit'.
1163         (org-protocol-unhex-string, org-protocol-unhex-compound): New
1164         functions.
1165         (org-protocol-check-filename-for-protocol): Call `server-edit'.
1167         * org.el (org-default-properties): New default properteis for
1168         completion.
1170         * org-exp.el (org-export-add-subtree-options): Add new properties
1171         for subtree export.
1173         * org-docbook.el (org-export-docbook-keywords-markup)
1174         (org-export-docbook-timestamp-markup): New options.
1175         (org-export-docbook-protect-tags): New function.
1177 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
1179         * org-id.el (org-id-get-with-outline-path-completion): Turn off
1180         org-refile-target-verify-function for the duration of the command.
1182         * org.el (org-link-to-org-use-id): New possible value
1183         `create-if-interactive-and-no-custom-id'.
1184         (org-store-link): Use custom IDs.
1185         (org-link-search): Find custom ID properties from #link.
1186         (org-default-properties): Add CUSTOM_ID for property completion.
1187         (org-refile-target-verify-function): New option.
1188         (org-goto): Turn off org-refile-target-verify-function
1189         for the duration of the command.
1191 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
1193         * org-html.el (org-export-as-html): Use custom IDs in the toc.
1195         * org-exp.el (org-export-preferred-target-alist): New variable.
1196         (org-export-define-heading-targets): Find the new CUSTOM_ID
1197         property.
1198         (org-export-target-internal-links): Target the custom ids when
1199         possible.
1201         * org-latex.el (org-export-latex-preprocess): Better regexp for
1202         matching latex macros with arguments.
1204 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
1206         * org-remember.el (org-remember-handler): Allow filing to non-org
1207         files.
1209 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
1211         * org-feed.el (org-feed-alist): New keyword options.
1212         (org-feed-update): Use the new options.
1213         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1214         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1215         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1216         functions.
1218         * org-table.el (org-table-fix-formulas): Do not change references
1219         to remote tables.
1220         (org-table-get-remote-range): Convert standard coordinates to RC
1221         format.
1223         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1225 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
1227         * org-compat.el (org-sha1-string): Function removed.
1229         * org.el (org-refile-allow-creating-parent-nodes): New option.
1230         (org-refile-get-location): New argument NEW-NODES.
1231         (org-refile): Call `org-refile-get-location' with the new
1232         argument.
1233         (org-refile-get-location): Arrange for adding a new child.
1234         (org-refile-new-child): New function.
1236         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1237         an additional span element.
1239         * org-clock.el: Fix a number of docstrings.
1240         (org-clock-find-position): New argument
1241         FIND-UNCLOSED to make the function find an unclosed clock in the
1242         entry.
1243         (org-clock-in): Call `org-clock-find-position' with the new
1244         argument if we might be resuming a clock.
1246 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
1248         * org-latex.el (org-export-latex-display-custom-times): New variable.
1249         (org-export-latex-timestamp-markup): New option.
1250         (org-export-latex-set-initial-vars): Remember the local value of
1251         `org-display-custom-times'.
1252         (org-export-latex-content): Process time stamps.
1253         (org-export-latex-time-stamps): New function.
1255         * org-macs.el (org-maybe-intangible): Add intangible property
1256         again to invisible text.
1258 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
1260         * org-exp.el (org-default-export-plist): Handle undefined
1261         variables.
1263 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
1265         * org.el (org-sort-entries-or-items): Match TODO keywrds
1266         case-sensitively, when sorting.
1267         (org-priority): Do not match TODO keywords with wrong case.
1269 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
1271         * org-feed.el (org-feed-update): Bind the variable
1272         `new-formatted'.
1274         * org-html.el (org-export-as-html): Start paragraphs after literal
1275         examples.
1277         * org-docbook.el (org-export-as-docbook): Start paragraphs after
1278         literal examples.
1280 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
1282         * org.el (org-todo): Honor the NOBLOCKING property.
1284         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1285         NOBLOCKING property.
1287         * org.el (org-scan-tags): Fix bug in tag scanner
1289 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
1291         * org.el (org-modules): Mark obsolete packages.
1293         * org-html.el: New file, split out from org-exp.el.
1295         * org-icalendar.el: New file, split out from org-exp.el.
1297         * org-xoxo.el: New file, split out from org-exp.el.
1299         * org-ascii.el: New file, split out from org-exp.el.
1301 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
1303         * org-compat.el (org-find-library-name): New function.
1305         * org.el (org-pre-cycle-hook): New hook.
1306         (org-cycle): Call the new hook in appropriate places.
1307         (org-reload): Only reload files that have been loaded before.
1309 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
1311         * org.el (org-set-font-lock-defaults): Enforxe space or line end
1312         after todo keyword.
1313         (org-todo): When changing TODO state, do matching
1314         case-sensitively.
1315         (org-map-continue-from): New variable.
1316         (org-scan-tags): Respect values in `org-map-continue-from'.
1317         (org-reload): Make XEmacs compatible.
1319 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
1321         * org-protocol.el (org-protocol-flatten-greedy): New function.
1322         (org-protocol-flatten): New function.
1324         * org.el (org-open-link-from-string): Pass reference buffer to
1325         `org-open-at-point'.
1326         (org-open-at-point): New optional argument `reference-buffer'.
1328 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
1330         * org.el (org-scan-tags): Make tag scan find headline in first
1331         line, 2nd attempt.
1332         (org-get-refile-targets): Add the naked file name.
1333         (org-refile): Store as top-level entry when only file name was
1334         given.
1336         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1338         * org.el (org-block-todo-from-children-or-siblings-or-parent):
1339         Renamed from org-block-todo-from-children-or-siblings, and
1340         enhanced to look for the parent's status as well.
1342         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1343         (org-agenda-get-progress): Add first notes line to log entry if so
1344         desired.
1346 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
1348         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1349         (org-agenda-cleanup-fancy-diary): Call the new hook.
1351         * org-remember.el (org-remember-apply-template): Take the default
1352         for the annotation from the :annotation property.
1354         * org-mac-message.el (org-mac-message-get-link): Remove the
1355         quotes.
1356         (org-mac-message-get-link): Return the result.
1358 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
1360         * org.el (org-refile-get-location): Add file name only if not
1361         already included in outline path.
1363         * org-faces.el (org-n-level-faces): Fix customization type from
1364         number to integer.
1366         * org-exp.el (org-export-headline-levels): Fix customization type
1367         from number to integer.
1369         * org-agenda.el (org-agenda-confirm-kill)
1370         (org-agenda-custom-commands-local-options)
1371         (org-timeline-show-empty-dates, org-agenda-ndays)
1372         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1373         customization type from number to integer.
1375 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
1377         * org-protocol.el: Declare some functions.
1379         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1380         postion before inserting modified headline.
1382         * org-agenda.el (org-agenda-compare-effort): Honor
1383         `org-sort-agenda-noeffort-is-high'.
1384         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1385         (org-agenda-compare-effort): Implement the "?" operator for
1386         finding entries without effort setting.
1388         * org.el (org-extract-attributes-from-string): New function.
1390         * org-exp.el (org-export-splice-attributes): New function.
1392 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
1394         * org-mouse.el: XEmacs compatibility fixes
1396         * org-docbook.el (org-export-as-docbook): Process footnotes like
1397         normal text.
1399         * org.el (org-modules): Add org-inlinetasks.el
1400         (org-cycle): Implement limiting level on cycling.
1401         (org-move-subtree-down): Fix bug with swapping subtrees at end of
1402         buffer.
1404         * org-inlinetask.el: New file.
1406         * org.el (org-emphasis-regexp-components): Allow braces in
1407         emphasis pre and post match.
1409         * org-footnote.el (org-footnote-normalize): When only dorting, do
1410         not insert inline notes at the end.
1412         * org-docbook.el (org-id-find-id-file): Add function declaration.
1414         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1416         * org-docbook.el: New file.
1418 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
1420         * org.el (org-reftex-citation): New command.
1422 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
1424         * org-agenda.el (org-agenda-cmp-user-defined): New option.
1425         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1426         sorting options.
1427         (org-entries-lessp): Apply the new sorting option.
1429         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1430         blocker code, when an older sibling has children.
1432         * org-mac-message.el (org-mac-message-get-link): Improve getting
1433         links from multiple selected messages.
1435 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
1437         * org-remember.el (org-remember-finalize): Do not set buffer file
1438         name to nil.
1439         (org-remember-handler): Mark buffer as unmodified.
1440         (org-remember-handler): Delete backup file and show message about
1441         remaining backup files.
1442         (org-remember-auto-remove-backup-files): New option.
1444         * org.el (org-store-link): Use buffer name as link description in
1445         w3-mode buffers.
1446         (org-ido-switchb): Fix argument bug for completion.
1448         * org-remember.el (org-remember-apply-template): Set local
1449         variable `auto-save-visited-file-name' instead of global one.
1451 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
1453         * org-feed.el: Re-write.
1455         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1456         (org-agenda-get-todos): Mark file tags as inherited.
1457         (org-agenda-list): Always search diary lines for a time.
1459 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
1461         * org-feed.el (org-feed-assume-stable): New option.
1462         (org-feed-before-adding-hook): New hook.
1464         * org-exp.el (org-export-as-html): Close local lists depending on
1465         indentation, also when starting a table.
1467         * org-remember.el (org-remember-backup-directory)
1468         (org-remember-backup-name): New internal variable.
1470 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
1472         * org-clock.el (org-clock-out-if-current): Make buffer detection
1473         work in indirect buffers as well.
1475         * org.el (org-emphasis-regexp-components): Add the exxclamation
1476         mark to the post-emphasis characters.
1478 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
1480         * org.el (org-read-date-minibiffer-septup-hook): New hook.
1481         (org-read-date): Run the new hook.
1483         * org-mac-message.el (org-mac-flagged-mail): New group.
1484         (org-mac-mail-account): New variable.
1485         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1486         commands.
1488         * org-remember.el (org-remember-backup-directory): New variable.
1489         (org-remember-apply-template): Write file to backup directory.
1491 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
1493         * org-mouse.el (org-mouse-todo-menu): New function.
1494         (org-mouse-todo-keywords): Function removed.
1495         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1497         * org-table.el (org-table-beginning-of-field)
1498         (org-table-end-of-field): New commands
1499         (org-table-previous-field, org-table-beginning-of-field): Better
1500         error messages.
1501         (orgtbl-setup): Include `M-a' and `M-e'.
1503         * org.el (org-backward-sentence, org-forward-sentence): New
1504         commands.
1506         * org-colview.el (org-colview-initial-truncate-line-value): New
1507         variable.
1508         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1509         (org-columns): Remember the value of `truncate-lines'.
1511         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1512         New variable.
1513         (org-columns-remove-overlays): Restore the value of
1514         `truncate-lines'.
1515         (org-columns): Remember the value of `truncate-lines'.
1517         * org.el (org-columns-skip-arrchived-trees): New option.
1519         * org-agenda.el (org-agenda-export-html-style): Define color for
1520         org-agenda-done face.
1521         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1522         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1524         * org.el (org-scan-tags): Use the new face.
1526         * org-faces.el (org-agenda-done): New face.
1528         * org.el (org-scan-tags): Test the value org
1529         `org-tags-match-list-sublevels'.
1530         (org-tags-match-list-sublevels): New allowed value: indented.
1532         * org-export-latex.el (org-export-latex-make-header): Apply macros
1533         in header.
1535         * org-exp.el (org-export-apply-macros-in-string): New function.
1537         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1538         with the definition of a checked box.
1540         * org-clock.el (org-clock-find-position): Fix drawer indentations.
1542         * org-export-latex.el (org-export-latex-low-levels): More options
1543         for how to process lower levels in LaTeX.
1544         (org-export-latex-subcontent): Better treatment for lists as a
1545         means of publishing lower levels.
1547 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
1549         * org.el (org-set-font-lock-defaults): Use new checkbox face.
1551         * org-faces.el (org-checkbox): New face.
1553         * org-exp.el (org-export-html-preprocess): Only create LaTeX
1554         fragement images if there is an export file.
1556 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
1558         * org-agenda.el (org-stuck-projects): Document that the subtree of
1559         projects that are not stuck will now be searched for stuck
1560         sub-projects.
1561         (org-agenda-skip-entry-when-regexp-matches)
1562         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1563         (org-agenda-list-stuck-projects): Use
1564         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1566         * org-export-latex.el (org-export-latex-preprocess): Improve
1567         export of verses.
1569         * org-exp.el (org-export-as-html): Implement centering as a div
1570         rather than a paragraph.  Do a better job with line-end in verse
1571         environments.
1573 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
1575         * org.el (org-open-at-point): Fix tags searches by mouse click.
1577 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
1579         * org-export-latex.el (org-export-latex-preprocess): Implement the
1580         centering markup.
1582         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1583         from `org-export-mark-blockquote-and-verse'.
1584         (org-export-as-html): Implement the centering markup.
1586         * org-export-latex.el (org-export-latex-tables): Fix vertical
1587         lines in tables.
1589 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
1591         * org.el (org-read-date-history): New variable.
1592         (org-read-date): Use new history variable.
1593         (org-toggle-heading): Fix bug when used before first headline.
1594         (org-store-log-note): Remove drawer if empty while note is
1595         aborted.
1596         (org-remove-empty-drawer-at): New function.
1597         (org-check-after-date): New command.
1598         (org-sparse-tree): New sparse tree command "a".
1600         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1602 2009-03-14  Bastien Guerry  <bzg@altern.org>
1604         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1605         column and a space, not only a column.
1607 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
1609         * org-export-latex.el (org-export-latex-emphasis-alist): Better
1610         defaults for verbose emphasis.
1611         (org-export-latex-emph-format): New function.
1612         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1614         * org-agenda.el (org-agenda-menu): Add new commands to menu.
1615         (org-agenda-do-date-later, org-agenda-do-date-earlier)
1616         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1617         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1618         commands.
1620         * org.el (org-timestamp-change): Move end-time along with start
1621         time.
1623 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
1625         * org-exp.el (org-export-target-internal-links)
1626         (org-export-as-html): Protect links specified as #name.
1628 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
1630         * org.el (org-clone-subtree-with-time-shift): New command.
1632         * org-export-latex.el (org-export-latex-special-chars)
1633         (org-export-latex-treat-sub-super-char): Fix subscript export.
1635         * org-exp.el (org-create-multibrace-regexp): Do not add
1636         backslashes to the class.
1638 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
1640         * org-colview.el (org-columns-map): Better functions for moving up
1641         and down a row, even if `truncate-line' is nil.
1643         * org.el (org-insert-todo-heading): Make sure the keyword is
1644         inserted at the correct position.
1646         * org-publish.el (org-publish-project-alist)
1647         (org-publish-projects, org-publish-org-index): Change default anme
1648         for the index of file names to "sitemap.org".
1650         * org-export-latex.el (org-export-latex-tables): Use
1651         `org-split-string', for Emacs 21 compatibility.
1653 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
1655         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1657 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
1659         * org-exp.el (org-export-page-description)
1660         (org-export-page-keywords): New variables.
1661         (org-export-plist-vars): Add entries for :keywords and
1662         :description.
1663         (org-infile-export-plist): Parse for new keywords.
1664         (org-get-current-options): Add new keywords
1665         (org-export-as-html): Publish description and keywords.
1667         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1668         option.
1669         (org-agenda-add-entry-text): Honor
1670         `org-agenda-add-entry-text-descriptive-links'.
1672         * org-export-latex.el (org-export-latex-preprocess): Make all
1673         external preprocess functions use a PARAMETER arg.
1675         * org-exp.el (org-export-preprocess-string)
1676         (org-export-select-backend-specific-text)
1677         (org-export-format-source-code-or-example)
1678         (org-format-org-table-html): Support docbook export.
1679         (org-export-preprocess-string): Make all external preprocess
1680         functions use a PARAMETER arg.
1682 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
1684         * org-exp.el (org-export-html-style-include-scripts): New option.
1685         (org-export-plist-vars): Add new option
1686         `org-export-html-style-include-scripts'.
1687         (org-export-as-html): Honor new option
1688         `org-export-html-style-include-scripts'.
1689         (org-export-html-scripts, org-export-html-style-default): Fix
1690         xml issues with the Safari browser.
1692 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
1694         * org-publish.el (org-publish-attachment): Only copy file when the
1695         directories differ.
1697 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
1699         * org-clock.el (org-clocktable-steps): Use inactive time stamps
1700         for clocktable steps.
1702         * org.el (org-additional-option-like-keywords): Add two more
1703         keywords.
1705 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
1707         * org-exp.el (org-export-format-source-code-or-example): Mark
1708         temporary buffer unmodified, so that it will be killed even if
1709         mode like message mode has decided to assign a file name.
1711         * org.el (org-scan-tags): Improve tag inheritance.
1712         (org-scan-tags, org-make-tags-matcher): Make tag comparison
1713         case-sensitive.
1714         (org-scan-tags): Use the internal tags list instead of creating it
1715         from scratch.
1716         (org-trust-scanner-tags, org-scanner-tags): New variables.
1717         (org-scan-tags): Set `org-scanner-tags'.
1718         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
1719         (org-map-entries): Document the possible speedup using scanner
1720         tags.
1722 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
1724         * org.el (org-add-planning-info): Fix bug with looking for keyword
1725         only at column 0.
1727         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1728         option for tags filter preset.
1729         (org-prepare-agenda): Store filter preset as a property on the
1730         filter variable.
1731         (org-finalize-agenda): Call the filter, if there is a preset.
1732         (org-agenda-filter-by-tag): Filter again after clearing the
1733         filter, when there still is a preset.
1734         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
1735         Include the preset filter.
1736         (org-agenda-redo): Apply the filter again, also the preset filter.
1738         * org-exp.el (org-export-as-html): Use IDs in the correct way.
1740         * org.el (org-uuidgen-p): New funtion.
1742         * org-agenda.el (org-agenda-fontify-priorities): New default value
1743         `cookies'.
1744         (org-agenda-fontify-priorities): Renamed from
1745         org-fontify-priorities.
1747         * org.el (org-set-font-lock-defaults): Call
1748         `org-font-lock-add-priority-faces'.
1749         (org-font-lock-add-priority-faces): New function.
1751         * org-faces.el: (org-set-tag-faces): New option.
1752         (org-priority-faces): New variable.
1754         * org-exp.el (org-export-as-html): Add a "content" div around the
1755         entire content of the body tag.
1756         (org-export-html-get-bibliography): New function.
1757         (org-export-html-validation-link): New variable.
1758         (org-export-as-html): Add validation link to exported page.
1760         * org.el (org-match-sparse-tree): Renamed from
1761         `org-tags-sparse-tree'.
1762         (org-tags-sparse-tree): New alias.
1764 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
1766         * org.el (org-get-valid-level): Catch the case where the level
1767         change is nil.
1769         * org-clock.el (org-clock-find-position): Better indentation of
1770         new clock drawers.
1772 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
1774         * org-agenda.el (org-agenda-quit): Delete window only when the
1775         frame-setup was not `current-window'.
1777         * org.el (org-tag-persistent-alist): New option.
1778         (org-startup-options): Add keyword `noptag'.
1779         (org-fast-todo-selection): Handle :newline correctly.
1780         (org-set-tags): Handle :newline correctly.
1781         (org-fast-tag-selection): Handle :newline correctly.
1783 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
1785         * org-exp.el (org-export-as-ascii): Reverse link buffer before
1786         outputting it.
1787         (org-export-ascii-push-links): Fix bug with pussing links into the
1788         export buffer.
1790 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
1792         * org-archive.el (org-archive-subtree): Do not add 1 to level if
1793         pasting at top level.
1795         * org-bbdb.el: Improve documentation.
1797 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
1799         * org-list.el (org-insert-item): Only consider insert empty lines
1800         is `org-empty-line-terminates-plain-lists' is not nil.
1802         * org.el (org-blank-before-new-entry): Mention the dependence on
1803         `org-empty-line-terminates-plain-lists' in the docstring.
1805         * org-publish.el (org-publish-get-project-from-filename): New
1806         optional argument UP.  Only find the top project if UP is set.
1807         (org-publish-current-project): Find the top encloding project.
1809         * org-agenda.el (org-agenda-before-write-hook)
1810         (org-agenda-add-entry-text-maxlines): New options.
1811         (org-write-agenda): Run the new hook in the temporary buffer.
1812         (org-agenda-add-entry-text): New function.
1813         (org-write-agenda): Implement PDF export, using ps2pdf.
1815         * org.el (org-global-properties-fixed, org-global-properties):
1816         Improve documentation string.
1818         * org-exp.el (org-export-ascii-links-to-notes): New option.
1819         (org-export-as-ascii): Handle links better.
1820         (org-export-ascii-wrap, org-export-ascii-push-links): New
1821         functions.
1823 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
1825         * org-agenda.el (org-agenda): Make prefix arg optional.
1826         (org-agenda-search-headline-for-time): New option.
1827         (org-format-agenda-item): Honor
1828         `org-agenda-search-headline-for-time'.
1830         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
1831         characters.
1833         * org.el (org-self-insert-cluster-for-undo): New option.
1834         (org-self-insert-command): Cluster undo for 20 characters.
1835         (org-self-insert-command-undo-counter): New variable.
1837 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
1839         * org-exp.el (org-export-as-html): Fix problem with closing colone
1840         example.
1842 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
1844         * org-export-latex.el (org-export-as-latex)
1845         (org-export-latex-first-lines): Avoid modification flag when
1846         adding or removing text properties.
1847         (org-export-latex-fontify): Catch error when org-emph-alist has
1848         entries that are not defined for LaTeX export.
1850         * org.el (orgstruct++-mode): New function.
1851         (turn-on-orgstruct++): Call `orgstruct++-mode'.
1852         (org-context-p): Allow detecting item context after the first line
1853         of an item.
1854         (orgstruct-make-binding): Detect if item-body context should be
1855         seen.
1856         (orgstruct-is-++): New variable.
1857         (org-add-planning-info): Catch the case when there is no planning
1858         info yet and the call does not want to add anything, only maybe
1859         tries to remove something.
1860         (org-special-ctrl-a/e): All value to be a cons cell with separate
1861         settings for `C-a. and `C-e'.
1862         (org-beginning-of-line, org-end-of-line): Honor separate values
1863         for `C-a' and `C-e'.
1865 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
1867         * org.el (org-reload): New command.
1869 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
1871         * org-exp.el (org-export-htm-get-tag-class-name)
1872         (org-export-htm-get-todo-kwd-class-name): New functions.
1873         (org-export-html-tag-class-prefix)
1874         (org-export-html-todo-kwd-class-prefix): New options.
1875         (org-export-as-html): Call
1876         `org-export-html-get-todo-kwd-class-name'.
1877         (org-html-level-start): Wrap tags into classes.
1878         (org-export-html-get-tag-class-name)
1879         (org-export-html-get-todo-kwd-class-name): New functions.
1881         * org-export-latex.el (org-export-latex-collect-header-macros):
1882         Remove fields that are used anyway.
1883         (org-export-latex-make-header): Insert the options earlier.
1885         * org-agenda.el (org-agenda-get-progress): Fix bug with state
1886         matching.
1888         * org-list.el (org-indent-item): Allow point to be at the end of
1889         the region.
1891         * org.el (org-metaleft, org-metaright): Be more accurate about
1892         detecting a region where commands apply.
1894         * org-compat.el (org-cursor-to-region-beginning): New function.
1896         * org.el (org-priority): Also find invisible heading.
1898         * org-colview-xemacs.el (org-columns-edit-value): No special
1899         treatment for `org-todo' prefix.
1901         * org-colview.el (org-columns-edit-value): No special treatment
1902         for `org-todo' prefix.
1904         * org-remember.el (org-remember-apply-template): Use
1905         `org-completing-read-no-ido'.
1907         * org.el (org-completing-read-no-ido): New function.
1908         (org-make-tags-matcher, org-set-property): Use
1909         `org-completing-read-no-ido'.
1911         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
1912         New option.
1913         (org-export-as-latex): Import in-buffer settings as TeX macros.
1914         (org-export-latex-make-header): Additional parameter OPT-DEFS.
1915         (org-export-latex-collect-header-macros): New function.
1917         * org.el (org-refile-get-location): Turn off
1918         `partial-completion-mode'.
1920 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
1922         * org.el (org-block-todo-from-checkboxes): Announce that
1923         checkboxes are the culprit.
1924         (org-block-todo-from-children-or-siblings): Call
1925         `org-up-heading-all instead' of `outline-up-heading'.
1927         * org-agenda.el (org-agenda-show-1): Renamed from
1928         `org-agenda-show'.
1929         (org-agenda-show): Re-install the old version for now.
1930         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
1931         variable into the blokker hook, so that the checkbox checker can
1932         anounce that it caused the blocking.
1934         * org.el (org-track-ordered-property-with-tag): New option.
1935         (org-toggle-ordered-property): Honor
1936         `org-track-ordered-property-with-tag'.
1937         (org-tag-alist): Add newline options.
1938         (org-set-regexps-and-options): Separate option lines imply a
1939         newline.
1940         (org-set-regexps-and-options, org-assign-fast-keys)
1941         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
1942         option.
1943         (org-indent-line-function): Make sure this works even if there is
1944         not `org-drawer-regexp' defined.  This can happen when
1945         orgstruct-mode is used in a non-org buffer.
1947         * org-list.el (org-checkbox-blocked-p): New function.
1948         (org-toggle-checkbox): Check for blocking.
1950         * org.el (org-modules): Add an entry for org-R.el.
1952         * org-agenda.el (org-agenda-todo-ignore-with-date)
1953         (org-agenda-todo-ignore-scheduled)
1954         (org-agenda-todo-ignore-deadlines): Mention the variable
1955         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
1957         * org.el (org-get-wdays): Find the warning period also if it is in
1958         the wrong place.
1959         (org-ido-completing-read): Provide the correct arguments to
1960         ido-completing-read and bind `ido-enter-matching-directory' to
1961         nil.
1963 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
1965         * org.el (org-olpath-completing-read): Never use ido for this
1966         one.
1968         * org-exp.el (org-export-normalize-links): Use new macro.
1970         * org-macs.el (org-if-unprotected-at): New macro.
1972         * org-agenda.el (org-agenda-show): Allow numerical prefix
1973         arguments to specify how much context should be shown.
1974         (org-agenda-cycle-show): New command, could be bound to SPC in
1975         org-agenda-mode-map.
1977         * org-exp.el (org-html-level-start): Space after section number.
1979 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
1981         * org-agenda.el (org-agenda-get-sexps): Add todo state as
1982         property, for sorting.
1983         (org-cmp-todo-state): Get the applicable TODO keywords directly
1984         from the buffer.
1985         (org-run-agenda-series, org-agenda-list, org-search-view)
1986         (org-todo-list, org-tags-view): Only fit agenda window when the
1987         whole series is done.
1989         * org.el (org-scan-tags): Add todo state as property, for sorting.
1991         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1992         `org-agenda-overriding-header' as an option.
1993         (org-agenda-list): Honor org-agenda-overriding-header'.
1995 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
1997         * org-list.el (org-toggle-checkbox): Improve cursor positioning
1998         after removing a checkbox.
2000         * org.el (org-show-entry): Make this work correctly also if it is
2001         the last entry in the file.
2002         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2003         falling back to normal, default command.
2004         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2005         item, call the checkbox toggler to get a box.
2007         * org-list.el (org-toggle-checkbox): Make double prefix set the
2008         checkbox to "[-]".
2009         (org-fix-bullet-type): Only replace bullet if it is changed.
2010         (org-renumber-ordered-list): Handle case when first item does not
2011         have a number.
2013         * org.el (org-add-log-setup): Fix positioning when
2014         `org-log-states-order-reversed' is nil.
2016         * org-clock.el (org-clock-in): Fix positioning when
2017         `org-log-states-order-reversed' is nil.
2018         (org-clock-find-position): Fix positioning when
2019         `org-log-states-order-reversed' is nil.
2021 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
2023         * org-clock.el (org-clock-into-drawer): Take default from
2024         `org-log-into-drawer'.
2025         (org-clock-find-position): Look for the correct drawer.
2027         * org.el (org-log-into-drawer): Renamed from
2028         `org-log-state-notes-into-drawer'.
2029         (org-log-state-notes-into-drawer): New variable alias.
2030         (org-add-log-setup): Make drawer name default to LOGBOOK, not
2031         CLOCK.
2032         (org-insert-property-drawer): Also skip LOGBOOK drawers.
2034 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
2036         * org-agenda.el (org-agenda): Fix docstring.
2038         * org.el ("org-plot"): Help loading org-plot.
2039         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2040         (org-metadown-hook, org-shiftmetaleft-hook)
2041         (org-shiftmetaright-hook, org-shiftmetaup-hook)
2042         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2043         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2044         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2045         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2047         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2048         for selecting files with any (and even without) extension.
2050         * org.el (org-save-all-org-buffers): Also save id locations.
2051         (org-revert-all-org-buffers): Also load id locations.
2053 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2054         * org.el (org-drawers): Add LOGBOOK to the default drawers.
2055         (org-log-state-notes-into-drawer): New option.
2056         (org-add-log-setup): Place the sate note marker into the drawer,
2057         create drawer when necessary.
2058         (org-refile-targets): Document special interpretation of LEVEL
2059         when odd-levels are used.
2061 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
2063         * org.el (org-store-log-note): Fix note indentation when adding
2064         notes to end of list.
2066         * org-exp.el (org-export-as-html): Add TODO keyword as extra
2067         class, so that each keyword can get special colors through CSS.
2069         * org-clock.el (org-clock-out): Add another nil for the previous
2070         state into the call to `org-add-log-setup'.
2072         * org.el (org-log-note-previous-state): New variable.
2073         (org-log-note-headings): New %S escape for old state.
2074         (org-todo): Call the note setup with the old state as an
2075         argument.
2076         (org-add-note): Add another nil for the previous state into the
2077         call to `org-add-log-setup'.
2078         (org-add-log-setup): New argument PREV-STATE.
2079         (org-add-log-note): Handle new %S escape.
2080         (org-store-log-note): Handle new %S escape.
2082 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
2084         * org-clock.el (org-clock-find-position): Do not swallow an item
2085         less indented than the CLOCK line itself.
2086         (org-clock-in): Push markers to lin after the clock line.
2087         (org-clock-find-position): Handle values of
2088         `org-clock-into-drawer' smaller than 2.
2090         * org-exp.el (org-html-level-start): Add a CSS class to section
2091         numbers.
2092         (org-export-html-toplevel-hlevel): Better documentation of the
2093         influence of this variables on H levels and css classes in
2094         export.
2096 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
2098         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2099         timestamp and nottimestamp to the chooe menu.
2101         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2102         (org-revert-all-org-buffers): New command.
2104 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
2106         * org.el (org-return): Implement `org-return-follows-link' in the
2107         function org-return.  This is more robust than using the mouse
2108         map, I think.
2109         (org-set-regexps-and-options): Match more general #+TODO lines.
2110         (org-make-options-regexp): New optional argument EXTRA, for an
2111         extra regexp.
2112         (org-tab-follows-link): Mark as deprecated.
2114 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
2116         * org-exp.el (org-export-preprocess-string): Remove clock lines
2117         earlier, so that they cannot cotribute to verbatim snippets.
2119 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
2121         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2122         for finding drawers.
2123         (org-export-as-ascii, org-export-as-html): Count levels relative
2124         to the subtree header.
2125         (org-get-min-level): New optional argument OFFSET.
2126         (org-export): Make sure point is restored after popping up that
2127         window.
2129         * org.el (org-do-sort): Also take an inactive timestamp if no
2130         active one is found.
2132         * org-colview-xemacs.el (org-columns-capture-view): Copy before
2133         deleting duplicates.
2135         * org-colview.el (org-columns-capture-view): Copy before
2136         deleting duplicates.
2138         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2139         text before first headline.
2141         * org.el (org-format-latex): Do not convert LaTeX fragments in
2142         protected examples.
2144 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
2146         * org-exp.el (org-export-html-style-default): Use color values
2147         instead of names for XHTML validation.
2149         * org.el (org-get-scheduled-time, org-get-deadline-time): New
2150         functions.
2151         (org-return-follows-link): Revert making this the default untile
2152         issues are resolved.
2154         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2155         nottimestamp.
2157 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
2159         * org.el (org-mode): Make dependence stuff work more reliably.
2160         (org-update-parent-todo-statistics): Fix bug with updating
2161         statistics cookie.
2163         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2164         ~ as verbatim delimiters.
2166         * org-exp.el (org-export-html-format-image): New argument
2167         PAR-OPEN.
2168         (org-export-as-html): Pass par-open to
2169         `org-export-html-format-image'.
2171 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
2173         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2174         (org-use-fast-todo-selection, org-tags-column): New default
2175         setting for variables, based on a poll what typical uses use.
2177         * org-agenda.el (org-agenda-sorting-strategy)
2178         (org-agenda-tags-column): New default setting for variables, based
2179         on a poll what typical uses use.
2181 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
2183         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2184         blocked entries from setting the blocked tag.
2186         * org-exp.el (org-export-html-footnotes-section): Use a more
2187         consistent id for footnotes.
2189         * org-export-latex.el (org-export-latex-classes): Remove the
2190         a4paper option from the default styles.
2192 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
2194         * org.el (org-enforce-todo-checkbox-dependencies): New option.
2195         (org-block-todo-from-checkboxes): New function.
2196         (org-todo): Make tripple prefix arg circumvent blocking.
2198         * org-timer.el (org-timer): Provide the timer feature.
2200         * org.el (org-require-autoloaded-modules): Add a few more files to
2201         the list of autoloaded modules.
2203         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2205 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
2207         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2208         drawers that are unprotected.
2209         (org-export-html-format-image): Make sure inlined LaTeX fragment
2210         images remain inlined.
2212         * org.el (org-toggle-ordered-property): New function.
2213         (org-mode-map): Add a key for `org-toggle-ordered-property'.
2214         (org-org-menu): Add menu entries for TODO dependencies.
2216 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
2218         * org.el (org-default-properties): Add ORDERED to the default
2219         properties, to get completion support for it.
2221         * org-list.el (org-update-checkbox-count): Update more than one cookie.
2223         * org.el (org-update-parent-todo-statistics): Update more than one
2224         cookie.
2226         * org-agenda.el (org-agenda-get-todos): Start search from correct
2227         position.
2229         * org.el (org-fast-todo-selection): Make sure TODO selection does
2230         not change buffer position.
2232         * org-list.el (org-toggle-checkbox): Implement adding or removing
2233         checkboxes from line or region when called with a prefix
2234         argument.
2236         * org-rmail.el (org-rmail-store-link): Protect the call to
2237         `rmail-narrow-to-non-pruned-header'.
2239         * org-clock.el (org-clock-special-range): Fix week display in
2240         clock tables.
2242         * org-exp.el (org-get-current-options): Fix bug when in indirect
2243         buffer.
2245 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
2247         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2248         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2249         (org-agenda-dim-blocked-tasks): New function.
2251         * org.el (org-enforce-todo-dependencies): New option.
2252         (org-block-todo-from-children-or-siblings): New function.
2254         * org-faces.el (org-agenda-dimmed-todo-face): New face.
2256         * org.el (org-todo): Return correct state type even if the blocker
2257         throws an error.
2258         (org-modifier-cursor-error): Renamed from
2259         `org-shiftcursor-error'.
2260         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2261         (org-shiftmetadown): Call `org-modifier-cursor-error'.
2263         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2264         to get real errors from the blocker hook.
2266         * org.el (org-shiftselect-error, org-call-for-shift-select): New
2267         functions.
2268         (org-set-visibility-according-to-property): Turn off the setting
2269         of `org-show-entry-below', to avoid overruling a FOLDED visibility
2270         property.
2272 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2274         * org.el (org-support-shift-select): New option.
2275         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2276         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2277         selection outside contexts.
2279         * org-list.el (org-at-item-bullet-p): New function.
2281         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2282         variables.
2284         * org-footnote.el (org-footnote-normalize): Remove unnecessary
2285         variable.
2286         (org-insert-footnote-reference-near-definition): Remove
2287         unnecessary let form.
2289         * org-export-latex.el (org-export-latex-first-lines): Add
2290         OPT-PLIST parameter.
2291         (org-export-as-latex): Call `org-export-latex-first-lines' with
2292         opt-plits parameter.
2293         (org-export-latex-preprocess): Remove unnecessary variables.
2295         * org-exp.el (org-infile-export-plist)
2296         (org-export-add-options-to-plist, org-export-kill-licensed-text)
2297         (org-export-remove-headline-metadata)
2298         (org-export-get-title-from-subtree, org-get-min-level)
2299         (org-html-do-expand): Remove innecessary let form.
2301         * org-colview-xemacs.el (org-columns-display-here): Remove
2302         unnecessary variables.
2304         * org-colview.el (org-columns-display-here): Remove unnecessary
2305         variables.
2307         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2308         variables.
2310         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2311         unnecessary variables.
2313         * org-agenda.el (org-search-view, org-agenda-get-blocks)
2314         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2315         variables.
2317         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2318         (org-compact-display-after-subtree-move): Remove unnecessary
2319         variables.
2320         (org-edit-fixed-width-region): Remove unnecessary variables.
2321         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2322         (org-olpath-completing-read): Remove unnecessary variable.
2323         (org-auto-repeat-maybe): Remove unnecessary variable.
2324         (org-map-entries): Remove unnecessary variable.
2325         (org-buffer-property-keys, org-imenu-get-tree)
2326         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2328 -----------------------------------------------------------------
2330 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
2331         * org-exp.el (org-export-remove-timestamps): Never remove
2332         timestamps from tables.
2334         * org-export-latex.el (org-export-latex-first-lines): Add more
2335         options to the preprocessing of the text before the first
2336         headline.
2338 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
2340         * org-faces.el (org-clock-overlay): Make face compatible with
2341         XEmacs.
2343         * org.el (org-yank): Add property for delete-selection mode.
2345         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2347         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2348         variable.
2350         * org-table.el (org-table-insert-hline): Fix typo in fuction call
2351         to `backward-char'.
2353         * org-exp.el (org-export-as-html): Remove the initial space from
2354         colon examples.
2356         * org.el (org-scan-tags): Call
2357         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2359         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2360         customization groups.
2361         (org-agenda-tags-todo-honor-ignore-options): New option.
2362         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2363         New function.
2364         (org-agenda-get-todos): Use
2365         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2367 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
2369         * org-exp.el (org-export-format-source-code-or-example): Escape
2370         HTML characters also in examples that anre not treated with
2371         htmlize.  Also, just switch to EXAMPLE processing if we do not
2372         have a good version of htmlize.
2374         * org-rmail.el: Fix copyright notice.
2376         * org.el (org-activate-footnote-links): Improve footnote link
2377         highlighting.
2379         * org-footnote.el (org-footnote-normalize): Fix finding the end of
2380         a footnote definition at the end of the file.
2382         * org-table.el (org-table-get-specials): Add an imagined hline at
2383         the end of the table.  This can be useful for references that want
2384         to go to the end of the table.  Also fix bug when computing last
2385         row constants, in tables that do not start right at the right
2386         margin.
2387         (org-table-eval-formula): Match and replace remove references.
2388         (org-table-formula-substitute-names): Make sure that names inside
2389         a "remote" call are left alone, the will be replaced later when
2390         the remote call is handled.
2391         (org-table-convert-refs-to-rc): Do not convert things that might
2392         look like a reference, but are really part of an ID or namei n a
2393         remote reference.
2394         (org-table-get-remote-range): New function.
2396 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
2398         * org-faces.el (org-clock-overlay): Fix bug in face definition.
2400         * org-clock.el (org-clock-put-overlay): Use new face instead of
2401         `secondary-selection'.
2403         * org-faces.el (org-clock-overlay): New face.
2405 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
2407         * org-exp.el (org-get-current-options): Include the option for
2408         publishing time stamps.
2410         * org.el (org-toggle-heading): Renamed from
2411         `org-toggel-region-headings'.
2412         No longer needs a region defined, but will use it if there is one.
2413         (org-ctrl-c-star): Simplified, relying more on the internal
2414         workings of `org-toggle-heading'.
2415         (org-toggle-item): Renamed from `org-toggle-region-items'.
2416         No longer needs a region defined, but will use it if there is one.
2417         (org-ctrl-c-minus): Simplified, relying more on the inernal
2418         workings of `org-toggle-item'.
2420         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2421         environment detection.  Also, do real changes only in unprotected
2422         places.
2424 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
2426         * org-export-latex.el (org-export-latex-quotation-marks): Use
2427         `org-if-unprotected-1'.
2428         (org-export-latex-set-initial-vars): Check for class definition in
2429         property.
2431         * org-macs.el (org-if-unprotected-1): New macro.
2433 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
2435         * org-compat.el (org-count-lines): New function.
2437         * org-exp.el (org-export-format-source-code-or-example): Handle
2438         switches related to text areas.
2440         * org.el (org-activate-footnote-links): Don't allow match inside a
2441         link.
2443         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2445         * org-export-latex.el (org-export-latex-links): Keep a relative
2446         path relative also after export.
2448         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2450         * org.el (org-make-tags-matcher): Never use IDO for completing the
2451         tags matcher match string.
2452         (org-completing-read): Also remove the special biding for "?".
2454         * org-attach.el (org-attach-allow-inheritance): New option.
2455         (org-attach-inherited): New variable.
2456         (org-attach-dir): Handle properties related to the attachment
2457         directory.
2458         (org-attach-check-absolute-path): New function.
2459         (org-attach-set-directory, org-attach-set-inherit): New commands.
2460         (org-attach): Accommodate the new commands in the dispatcher.
2462 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
2464         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2465         `window-full-width-p'.
2467         * org-exp.el (org-export-as-html): Only check for images files
2468         that really can be inlined
2470         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2471         list of extensions to be a parameter.
2473         * org-exp.el (org-export-html-inline-image-extensions): New
2474         variable.
2476         * org-agenda.el (org-prepare-agenda): Use
2477         `org-agenda-block-separator'.
2478         (org-agenda-block-separator): New option.
2480 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
2482         * org-export-latex.el (org-export-latex-tables): Call
2483         `org-table-clean-before-export' with the new optional argument.
2485         * org-exp.el (org-table-clean-before-export): New optional
2486         parameter MAYBE-QUOTED, allows for quoted characters like \# in
2487         first column.
2489 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
2491         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2492         histograms.
2494         * org-colview.el (org-colview-construct-allowed-dates): Better
2495         error catching when a date/time property does not have allowed
2496         values defined.
2498         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2499         Better error catching when a date/time property does not have
2500         allowed values defined.
2502 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
2504         * org.el (org-map-entries): Restore point and restriction after
2505         `org-map-entries'.
2507 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
2509         * org.el (org-time=, org-time<, org-time<=, org-time>)
2510         (org-time>=, org-time<>): Make sure both values are dates.
2512 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
2514         * org-archive.el (org-extract-archive-heading): Allow %s for file
2515         name also in achive location heading.
2517 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
2519         * org-archive.el (org-add-archive-files): Uniquify the list before
2520         returning it.
2522 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
2524         * org-compat.el (org-fit-window-to-buffer): Use
2525         `window-full-width-p'.
2527         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2528         space after the colon in short examples.
2530         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2531         enforce a space after the colon.  However, we also allow lines
2532         that are *only* a colon.
2533         (org-export-as-html): Enforce the space after the colon in short
2534         examples.
2535         (org-export-preprocess-string): Do the colon example protection
2536         earlier.
2537         (org-export-remove-timestamps): Do not check for protection at the
2538         end of the line.
2540 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
2542         * org.el (org-format-latex-options): Add new matcher for single
2543         letters between dollars.
2544         (org-get-header): Function removed.
2545         (org-heading-components): New function.
2547         * org-exp.el (org-export-define-heading-targets): Record ID's also
2548         as alternative targets.
2549         (org-export-as-html): Interpret "id:" links to other files by
2550         preserving the relative path.
2552         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2553         is nil.
2555         * org-exp.el (org-export-normalize-links): Protect the main link,
2556         to avoid special character processing.
2558         * org-export-latex.el (org-export-latex-special-keyword-regexp):
2559         New variable.
2560         (org-export-latex-special-string-regexps): Variable removed.
2561         (org-export-latex-keywords): Use the new regexp.
2563         * org-exp.el (org-export-handle-include-files): Fetch switches and
2564         put them into the BEGIN statement.
2566         * org-timer.el (org-timer-mode-line-string): New variable.
2568         * org-clock.el (org-clock-mode-line-map): Renamed from
2569         `org-clock-mode-map'.
2570         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2571         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2572         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2573         (org-clock-remove-overlays): Renamed from
2574         `org-remove-clock-overlays'.
2576         * org-timer.el (org-timer-pause-or-continue): Implement stopping
2577         and mode line display.
2578         (org-timer-stop): New command.
2579         (org-timer-seconds): Return correct time when timer is paused.
2580         (org-timer-mode-line-timer): New variable.
2581         (org-timer-set-mode-line, org-timer-update-mode-line): New
2582         functions.
2584         * org.el (org-insert-heading):  Handle new value `auto' for
2585         `org-blank-before-new-entry'.
2586         (org-org-menu): Add new items for timer functions.
2588         * org-list.el (org-insert-item): Handle new value `auto' for
2589         `org-blank-before-new-entry'.
2591         * org.el (org-blank-before-new-entry): New value `auto', made
2592         default.
2594 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
2596         * org-exp.el (org-export-normalize-links): If the link is also
2597         used as the description, protect the description.
2599 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
2601         * org.el (org-closest-date): Fix bug with yearly repeats, in
2602         combination with preference of the past as it is used for deadline
2603         and scheduling search.
2605         * org-exp.el (org-html-handle-time-stamps): No longer check for
2606         the `org-export-with-timestamps' option, because the preprocesser
2607         has taken care of this already.
2609         * org.el (org-entry-properties): Catch the case when this is
2610         called in a non-org-mode file.
2612         * org-export-latex.el (org-export-latex-remove-from-headlines):
2613         Variable made obsolete, also LaTeX export now uses the standard
2614         variables.
2615         (org-export-as-latex): Add the timestamps parameter to the
2616         preprocessor parameter list.
2617         (org-export-latex-content): Export the remaining keywords without
2618         considering to remove them.
2619         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2620         Use bold font instead of tt font for the keywords.
2621         (org-export-latex-fontify-headline): Format headlines, assuming
2622         that all keywords still present should be published.
2623         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2624         publish what ever remains of the time stamps.
2625         (org-export-latex-list-parameters): New option.
2626         (org-export-latex-lists): Pass additional parameters to the list
2627         converter.
2629         * org-exp.el (org-export-preprocess-string): Remove clock lines
2630         and timestamps already in the preprocesor.
2631         (org-export-remove-timestamps, org-export-remove-clock-lines): New
2632         functions.
2633         (org-export-as-ascii, org-export-as-html): Add the timestamps
2634         parameter to the preprocessor parameter list.
2636         * org-list.el (org-list-parse-list): Parse for checkboxes.
2637         (org-list-to-generic): Introduce and handle new parameters :cbon
2638         and :cboff.
2639         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2640         optional parameter PARAMS.
2642         * org-export-latex.el (org-export-latex-special-chars): Fix
2643         problems with interpreting dollar signs.
2644         (org-inside-latex-math-p): New function.
2645         (org-export-latex-preprocess): Protect all the math fragments.
2647         * org.el (org-latex-regexps): Allow a dash after a dollar.
2649         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2650         mark after copying.
2652         * org-agenda.el (org-run-agenda-series): Have series options set
2653         when finalizing the agenda.
2655         * org-exp.el (org-export-format-source-code-or-example): Protect
2656         the converted examples.
2658         * org.el (org-set-regexps-and-options): Fix the regexp
2659         `org-complex-heading-regexp'.
2661 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
2663         * org.el (org-edit-src-get-label-format): New function.
2664         (org-coderef-label-format): New option.
2665         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2666         a label format specification and make sure it is used in the edit
2667         buffer.
2668         (org-edit-src-get-label-format): New function.
2669         (org-store-link): Handle new coderef formats.
2670         (org-link-search): Handle new coderef formats.
2672         * org-footnote.el (org-footnote-create-definition)
2673         (org-footnote-goto-local-insertion-point): Make footnote insertion
2674         work correctly when the "Footnotes" headline is the last line in
2675         the buffer.
2677         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2678         the location.
2680 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
2682         * org-w3m.el (org-w3m): New customization group.
2683         (org-w3m-deactivate-mark): New option.
2684         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2685         option say not to.
2687 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
2689         * org.el (org-set-font-lock-defaults): Trigger footnote
2690         fontification.
2691         (org-activate-footnote-links): New function.
2692         (org-activate-links): New entry `footnote'.
2694         * org-faces.el (org-footnote): New face.
2696 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
2698         * org-macs.el (org-re): Handle the [:word:] class.
2700         * org-exp.el (org-export-preprocess-string): Call
2701         `org-export-protect-colon-examples'.
2702         (org-export-protect-colon-examples): Renamed from
2703         `org-export-protect-examples', and scope limited to lines starting
2704         with a colon.
2706 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
2708         * org-exp.el (org-export-preprocess-string): Move the preprocess
2709         hook to after turning on Org-mode.
2710         (org-export-preprocess-after-include-files-hook)
2711         (org-export-preprocess-after-tree-selection-hook)
2712         (org-export-preprocess-before-backend-specifics-hook)
2713         (org-export-preprocess-final-hook): New hooks.
2714         (org-export-preprocess-string): Run the new hooks.
2716         * org.el (org-ctrl-c-minus): Fix indentation for new items.
2718         * org-footnote.el: New file.
2720         * org.el (org-footnote): Require footnote code.
2721         (org-startup-options): Add new footnote options.
2722         (org-mode-map): New keybindig for footnotes.
2723         (org-ctrl-c-ctrl-c): Add function at footnotes.
2724         (org-org-menu): New menu entries for footnotes.
2726         * org-export-latex.el (org-export-as-latex): Pass footnote
2727         variable to preprocessor.
2728         (org-export-latex-preprocess): Treat multiple references to a
2729         footnote.
2731         * org-exp.el (org-export-preprocess-string): Call
2732         `org-footnote-normalize'.
2733         (org-export-as-ascii, org-export-as-html): Pass footnote variable
2734         to preprocessor.
2735         (org-export-as-html): Treat multiple references to a footnote.
2737 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
2739         * org-export-latex.el (org-export-latex-links): Handle coderef
2740         links.
2742         * org.el (org-bracket-link-analytic-regexp++): New variable.
2743         (org-make-link-regexps): Initialize
2744         `org-bracket-link-analytic-regexp++'.
2745         (org-store-link): Implement special case in edit-src buffer.
2746         (org-insert-link): No use of ide to insert stored links.
2747         (org-link-search): Implement special case for coderefs.
2749         * org-exp.el (org-export-html-scripts): New constant.
2750         (org-export-html-style-default): Add a new style for highlighted
2751         code.
2752         (org-export-code-refs): New variable.
2753         (org-export-preprocess-string): Initialize `org-export-code-refs'.
2754         Call `org-export-replace-src-segments-and-examples'
2755         No longer call `org-export-protect-examples'.
2756         (org-export-target-internal-links): Take care of coderef targets.
2757         (org-export-last-code-line-counter-value): New variable.
2758         (org-export-replace-src-segments-and-examples): Renamed from
2759         `org-export-replace-src-segments', and modified.
2760         (org-export-format-source-code-or-example): Renamed from
2761         `org-export-format-source-code'.
2762         (org-export-number-lines): New function.
2763         (org-export-as-ascii, org-export-as-html): Handle coderef links.
2765 --------------------------------------------------------------------------
2767 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
2769         * org-remember.el (org-remember-handler): Safer way to get a new
2770         buffer accessing the target file.
2772         * org.el (org-refile-get-location): Handle case of current buffer
2773         not having a file associated with it.
2775 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
2777         * org-table.el (org-table-get-formula): Only ask to overwrite
2778         field formula if there really is one.
2780         * org-id.el (org-id-find): Allow the ID to be a symbol or a
2781         number, by converting these to a string.
2783         * org-colview.el (org-dblock-write:columnview): Allow ID to be
2784         located in a different file.
2786         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
2787         org-colview.el.
2789 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
2791         * org.el (org-completion-use-ido): Enhance docstring of
2792         `org-completion-use-ido'.
2794         * org-export-latex.el (org-export-latex-make-header): Double the %
2795         in the time stamp format.
2796         (org-export-latex-special-chars): Handle case where there is no
2797         match group 3.
2799 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
2801         * org.el (org-get-refile-targets, org-refile-get-location): Use
2802         expanded file name to improve comparison.
2804 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
2806         * org.el (org-scan-tags): Rescan for tags, to get the correct
2807         upcase/downcase stuff.  This slows things down for now, but it
2808         works.
2809         (org-mode): Make sure the tag-faces regexp is initialized.
2811         * org-export-latex.el (org-export-latex-links): Fix bug with
2812         undefined label.
2814         * org-table.el (org-table-get-specials): Set
2815         `org-table-current-last-data-line'.
2816         (org-table-current-last-data-line): New variable.
2817         (org-table-insert-column, org-table-delete-column)
2818         (org-table-move-column, org-table-fix-formulas): Call
2819         `org-table-fix-formulas' a second time to fix the $LR references.
2820         (org-table-get-specials): Add the $LR references to the tables.
2821         (org-table-get-formula): Do not offer last-row names as LHS of
2822         formulas.
2824         * org.el (org-store-link): Capture link description from
2825         `org-id-store-link'.
2827         * org-exp.el (org-export-html-format-image): Add the / to the end
2828         of the <img> tag.
2829         (org-export-format-source-code): Surround example by empty lines,
2830         to make sure it will not be inside a paragraph.
2832         * org.el (org-ido-switchb): New function.
2834 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
2836         * org-agenda.el (org-agenda-show): New prefix argument
2837         FULL-ENTRY.
2839         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
2840         argument.
2842         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
2843         `org-agenda-change-all-lines'.
2844         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
2845         tags are now retrieved locally.
2847 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
2849         * org.el (org-get-outline-path): Fix bug if level is not given.
2850         (org-org-menu): Do not quote function in menu vector.
2852         * org-agenda.el (org-finalize-agenda): Fix typo with variable
2853         name.
2855 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
2857         * org.el (org-refile): Avoid refiling to within the region to be
2858         refiled.
2860         * org-export-latex.el (org-export-latex-special-chars): Replace
2861         special characters also in tables.
2863         * org-agenda.el (org-agenda-change-all-lines): New argument
2864         FORCE-TAGS.
2865         (org-agenda-set-tags): Cet the new tags and pass them to
2866         `org-format-agenda-item'.
2868 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
2870         * org-export-latex.el (org-export-latex-classes): Add longable as
2871         a default package to all classes.
2872         (org-export-latex-tables): Handle the longtable attribute and the
2873         align attribute.
2875         * org-table.el (orgtbl-to-generic): Handle tables that start with
2876         a hline.
2878         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
2879         \verb for colde-like snippets.
2880         (org-export-as-latex): Fix issues with region export.
2882         * org.el (org-up-heading-safe): Speed up function by using a
2883         direct regexp search.
2884         (org-olpa): New variable.
2885         (org-get-outline-path): Speed-up path constructions in cases where
2886         this is possible because the entire hierarchy is scanned anyway.
2887         (org-refile-get-location): Don't compare the truenames of files,
2888         this is too slow.
2889         (org-goto-max-level): New option.
2890         (org-goto): Use `org-goto-max-level'.
2892 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
2894         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
2895         Strip angle brackets from message-ids in the former and don't do
2896         it in the latter.
2897         (org-gnus-follow-link): Open summary reliable, even if the last
2898         messages were deleted, and handle empty groups, too.
2900 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
2902         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
2903         instead of \texttt for the =...= and ~===~ emphasis environments.
2904         (org-export-as-latex): Remove any old :org-license-to-kill text
2905         properties.
2906         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
2907         (org-export-latex-make-header): Add some hard space after the
2908         table of contents.
2909         (org-export-latex-first-lines): Accept RBEG argument.  Mark
2910         exported text so that it will be excuded in further steps.
2912         * org-table.el (org-table-get-specials): Make @0 reference the
2913         last line in a table.
2914         (org-table-recalculate): Improve docstring.
2916 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
2918         * org.el (org-log-done): Fix docstring.
2920 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
2922         * org-exp.el (org-export-html-format-image): Fix bugs.
2924         * org-export-latex.el (org-export-latex-tables)
2925         (org-export-latex-links): Implement attribute, label, and caption
2926         handling.
2928         * org-exp.el (org-export-html-style-default): Add style
2929         definitions for the figure div.
2930         (org-export-preprocess-string, org-export-as-html): Implement
2931         attribute, label, and caption handling.
2932         (org-export-attach-captions-and-attributes): New function.
2933         (org-export-html-format-image): New function.
2934         (org-format-org-table-html): Implement attribute, label, and
2935         caption handling.
2937         * org.el (org-find-text-property-in-string): New function.
2938         (org-extract-attributes): Use the property org-attr instead of
2939         org-attrobutes, because this property is now set with the #+ATTR
2940         lines.
2942 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
2944         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
2945         the case that FROM is nil.
2947         * org.el (org-before-first-heading-p): New function.
2949 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
2951         * org-exp.el (org-export-as-html): Do not add a space before
2952         enforces line breaks.
2953         (org-export-as-html): Close paragraph before blockquote and verse
2954         tags.
2956 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
2958         * org-id.el (org-id-locations-file): Wrap file name with
2959         `convert-standard-filename'.
2960         (org-id-files): New variable.
2961         (org-id-use-hash): New option.
2962         (org-id-update-id-locations): Also search in all files current
2963         listed in `org-id-files'.  Convert the resulting alist to a hash
2964         if the user customation says so.
2965         (org-id-locations-save): Handle he case if `org-id-locations' is a
2966         hash.
2967         (org-id-locations-load): Convert the alist to a hash.
2968         (org-id-add-location): Handle the hast case.
2969         (kill-emacs-hook): Make sure id locations are saved when Emacs is
2970         exited.
2971         (org-id-hash-to-alist, org-id-alist-to-hash)
2972         (org-id-paste-tracker): New functions.
2974 -------------------------------------------------------------------------
2976 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
2978         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
2979         bindings of calendar variables.
2981         * org-table.el (org-table-find-row-type): Renamed from
2982         `org-find-row-type'.
2983         (org-table-rewrite-old-row-references): Renamed from
2984         `org-rewrite-old-row-references'.
2985         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
2986         (org-table-cleanup-narrow-column-properties): Renamed from
2987         `org-cleanup-narrow-column-properties'.
2989 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
2991         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
2992         for better error messages.
2993         (org-table-get-descriptor-line): Supply the new arguments to
2994         `org-find-row-type'.
2995         (org-table-error-on-row-ref-crossing-hline): New option.
2997         * org.el (org-target-link-regexp): Make buffer-local.
2998         (org-move-subtree-down): Fix bug with trees at beginning of
2999         buffer.
3001 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
3003         * org-faces.el (org-set-tag-faces): New function.
3004         (org-tags-special-faces-re): New variable.
3006         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3008         * org-faces.el (org-tag-faces): New option.
3009         (org-tag): Mention `org-tag-faces' in the docstring.
3011 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
3013         * org-exp.el (org-export-html-style-default): Implement new
3014         quoting.
3016         * org-jsinfo.el (org-infojs-template): Implement new quoting.
3018         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3019         command to the `w3m-minor-mode-map'.
3021         * org-archive.el (org-archive-to-archive-sibling): Protect
3022         `this-command' to avoid appending kills during archiving.
3024         * org-exp.el (org-export-with-priority): New variable.
3025         (org-export-add-options-to-plist): Use `org-export-plist-vars'
3026         instead of internal list of strings and properties.
3027         (org-print-icalendar-entries): Retrieve the location property with
3028         inheritance.
3030 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
3032         * org-exp.el (org-export-with-todo-keywords): New option.
3033         (org-export-plist-vars): Include also the keys for the #+OPTIONS
3034         line.
3035         (org-default-export-plist, org-export-add-options-to-plist)
3036         (org-export-as-ascii, org-export-as-html): Use the new structure
3037         of `org-export-plist-vars'.
3039         * org.el (org-map-entries): Return all values.
3041 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
3043         * org.el (org-matcher-time): Recognize more special values.
3045         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3047 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
3049         * org.el (org-tags-exclude-from-inheritance): New option.
3050         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3051         `org-tags-exclude-from-inheritance'.
3053         * org-agenda.el (org-agenda-show-inherited-tags): New option.
3054         (org-format-agenda-item): Add inherited tags to the agenda line
3055         string, and make sure that properties are kept when downcasing the
3056         tags list.
3057         (org-agenda-add-inherited-tags): New function.
3058         (org-downcase-keep-props): New function.
3060         * org.el (org-scan-tags): Mark inherited tags with a text
3061         property.
3062         (org-get-tags-at): Mark inherited tags with a text property.
3063         (org-add-prop-inherited): New function.
3065         * org-agenda.el (org-agenda-add-inherited-tags): New function.
3066         (org-agenda-show-inherited-tags): New option.
3068 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
3070         * org.el (org-modules): Add org-w3m to the default modules.
3072         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3073         orgtbl-mode.
3074         (orgtabl-create-or-convert-from-region): New command.
3076         * org-exp.el (org-export-as-ascii): Remove the handling of
3077         targets.
3078         (org-export-ascii-preprocess): Handle targets already in this
3079         function.
3081 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
3083         * org-timer.el (org-timer-start-time): Define this variable.
3084         (org-timer-item): Make argument optional.
3086         * org-list.el (org-insert-item): Automatically insert a timer item
3087         if the current list is a timer list.
3089         * org-timer.el: New file.
3091         * org-publish.el (org-publish-org-index): Only exclude the index
3092         file in the main directory from being added to the site-map.
3093         (org-publish-get-project-from-filename): If the current project is
3094         a component, start publishing from the parent project.
3096 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
3098         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3100         * org-publish.el (org-publish-org-index): Improve removal of
3101         temporary buffers.
3103         * org-agenda.el (org-get-closed): Re-apply changes
3104         accidentially overwritten by last commit to Emacs.
3106         * org.el (org-outline-path-complete-in-steps): New option.
3107         (org-refile-get-location): Honor
3108         `org-outline-path-complete-in-steps'.
3109         (org-agenda-change-all-lines, org-tags-sparse-tree)
3110         (org-time-string-to-absolute, org-small-year-to-year)
3111         (org-link-escape): Re-apply changes accidentially overwritten
3112         by last commit to Emacs.
3114 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
3116         * org-clock.el (org-dblock-write:clocktable): Make sure the
3117         clocktable sees the first line.
3118         (org-clock-in): Warn if the clock cannot be resumed.
3120 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
3122         * org.el (org-open-at-point): Fix mixup about interactive and
3123         non-interactive elisp links.
3125 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3127         * org-exp.el (org-export-preprocess-string): Allow one comment
3128         line before the first headline to always be included.  This is
3129         to not miss a commented target.
3131         * org-mouse.el (org-mouse-insert-item): Call
3132         `org-indent-to-column' instead of `indent-to', for XEmacs
3133         compatibility.
3135         * org.el (org-refile-targets): Fix customize definition so
3136         that it works also in XEmacs.
3137         (org-fixup-indentation): Call `org-indent-to-column' instead
3138         of `indent-to', for XEmacs compatibility.
3140 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
3142         * org-mew.el (org-mew-store-link): Get the correct case folder
3143         for refiled messages.
3145 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3147         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3148         line break indicators.
3150         * org.el (org-ido-completing-read): Remove the "i:" prefix for
3151         ido-completion propts.
3153 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
3155         * org-remember.el (org-remember-apply-template): Use
3156         `org-substring-no-properties'.
3158         * org-compat.el (org-substring-no-properties): New function.
3160         * org-remember.el (org-remember-apply-template): Use
3161         `org-substring-no-properties' for compatibility.
3163         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3164         option.
3165         (org-fix-bullet-type): respect
3166         `org-list-two-spaces-after-bullet-regexp'.
3168         * org-clock.el (org-clock-load): Clean up the code.
3170         * org.el (org-adaptive-fill-function): Allow two spaces after
3171         "1." as a list bullet.
3173 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
3175         * org-clock.el (org-clock-save, org-clock-load): Check for
3176         live buffers, existing files, and buffer file names to ensure
3177         consistent information.
3178         (org-clock-persist): Make `clock' a special value of this
3179         variable, and improve docstring.
3181         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3182         (org-get-string-indentation): Adapt indentation when the bullet
3183         width changes.
3185 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
3187         * org-remember.el (org-remember-finalize): Make interactive.
3188         (org-remember-kill): New command.
3189         (org-remember-finish-immediately): Call `org-remember-finalize'
3190         directly.
3191         (org-remember-finalize): Make `org-remember-finalize' an interactive
3192         function.
3194 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
3196         * org-remember.el (org-remember-apply-template): No ido completion
3197         for free prompts in remember templates.
3198         (org-remember-before-finalize-hook): New hook.
3199         (org-remember-mode): New minor mode.
3200         (org-remember-apply-template): Turn on `org-remember-mode'.
3202         * org-id.el (org-id-add-location): Avoid error when no file is
3203         given.
3205         * org-remember.el (org-remember-apply-template): Fix the way how
3206         the list of allowed properties is retrieved from the target file.
3208         * org.el (org-insert-link): Improve file link matching.
3210 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
3212         * org-colview.el (org-columns-display-here): New argument
3213         DATELINE, to trigger using the new face.
3214         (org-agenda-colview-summarize): Call `org-columns-display-here'
3215         with the new argument.
3217         * org-faces.el (org-agenda-column-dateline): New face.
3219         * org-publish.el (org-publish-org-index): Use index-title at page
3220         title, not as section.
3222         * org-exp.el (org-export-html-format-desc): Respect the
3223         org-protect property.
3224         (org-export-as-html): Protect image specifiers that are in the
3225         description part of a link.
3227         * org.el (org-sort-entries-or-items, org-completing-read)
3228         (org-refile-get-location, org-olpath-completing-read, org-todo)
3229         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3230         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3231         (org-set-property, org-delete-property)
3232         (org-delete-property-globally): Use `org-ido-completing-read'.
3234         * org-remember.el (org-remember-apply-template): Use
3235         `org-ido-completing-read'.
3237         * org-publish.el (org-publish): Use `org-ido-completing-read'.
3239         * org-colview.el (org-columns-edit-value, org-columns-new)
3240         (org-insert-columns-dblock): Use `org-ido-completing-read'.
3242         * org-colview-xemacs.el (org-columns-edit-value)
3243         (org-columns-new, org-insert-columns-dblock): Use
3244         `org-ido-completing-read'.
3246         * org-attach.el (org-attach-delete-one, org-attach-open): Use
3247         `org-ido-completing-read'.
3249         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3250         `org-ido-completing-read'.
3252         * org.el (org-time-today): New function.
3253         (org-matcher-time): Use `org-time-today'.  Add special treatment
3254         for "<tomorrow>" and "<yesterday>".
3255         (org-ido-completing-read): New function.
3256         (org-completion-use-ido): New option.
3258         * org-exp.el (org-export-format-source-code): Fix bug in require
3259         htmlize code.
3260         (org-export-target-internal-links): Fix bug in search for text
3261         property.
3263 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
3265         * org-export-latex.el (org-export-latex-subcontent): Interprete
3266         target aliases as additonal labels.
3268         * org-exp.el (org-export-target-aliases): New variable.
3269         (org-export-preprocess-string)
3270         (org-export-handle-invisible-targets): Fill the alias alist.
3271         (org-export-as-html): Remove the &nbsp; from the anchor, and also
3272         assign an id.
3273         (org-html-level-start): Insert the target aliases as additonal
3274         anchors.
3276         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3277         picture area.
3279 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3281         * org.el (org-open-at-mouse): Ensure correct link abbreviations
3282         when following a link with the mouse from the agenda.
3284         * org-exp.el (org-export-as-html): Avoid lone </div> when no
3285         headlines are created.
3287 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
3289         * org-exp.el (org-export-preprocess-string): Reorder so that we
3290         can still see ID properties when we collect targets.
3291         (org-export-target-internal-links): Also store targets for ID's.
3293         * org.el (org-link-translation-function): New option.
3294         (org-open-at-point): Call `org-link-translation-function' if
3295         non-nil.
3296         (org-translate-link): New function.
3297         (org-translate-link-from-planner): New function.
3298         (org-open-at-point): Allow interactive commands in elisp links.
3300         * org-exp.el (org-icalendar-cleanup-string): Restore the old
3301         iCalendar quoting.  The new one seems to caus problems with
3302         applications.
3304         * org.el (org-yank): Set `this-command' to `yank', so that
3305         `yank-pop' will work.
3307 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3309         * org-id.el (org-id-search-archives): New option.
3311         * org.el (org-link-to-org-use-id): New option.
3312         (org-store-link): Use `org-link-to-org-use-id'.
3313         (org-id): Make org-id.el a standard component.
3315 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3317         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3318         hexified version of the tag.
3320         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3321         compliance as far as quoting is concerned.
3323         * org-vm.el (org-vm-follow-link): Require `vm-search'.
3325         * org.el (org-up-heading-safe, org-forward-same-level): Always
3326         call `org-back-to-heading' instead of `outline-back-to-heading'.
3327         (org-back-to-heading): New wrapper around outline-back-to-heading,
3328         with a useful error message telling where the error happened.
3330         * org-list.el (org-update-checkbox-count): Always call
3331         `org-back-to-heading' instead of `outline-back-to-heading'.
3333         * org-exp.el (org-export-as-html): Make sure that each <img> tag
3334         has an `alt' attribute, to ensure XHTML validation.
3336 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3338         * org-publish.el (org-publish-attachment): Allow publishing to
3339         overwrite attachment files.
3341         * org-agenda.el (org-agenda-timerange-leaders): New option.
3342         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3344         * org.el (org-edit-src-exit): Untabify ASCII image before
3345         returning.
3358 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
3360         * org.el (org-yank): Make any prefix force normal yanking.
3361         Suppress folding if text would be swallowed into a folded
3362         subtree.
3363         (org-yank-folded-subtrees, org-yank): Docstring updates.
3365         * org-agenda.el (org-agenda-compare-effort): Treat no effort
3366         defined as 0.
3368         * org-exp.el (org-export-language-setup): Add Catalan and
3369         Esperanto language entries.
3371 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
3373         * org.el (org-refile): Allow refiling of entire regions.
3375         * org-clock.el (org-clock-time%): New function.
3377         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3378         retrieve property values.
3380 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
3382         * org-agenda.el (org-agenda-list): Handle the value `only' of
3383         org-agenda-show-log'.
3384         (org-agenda-log-mode): Interpret a double prefix arg.
3386 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
3388         * org-exp.el (org-export-html-footnotes-section): New variable.
3389         (org-export-as-html): Use `org-export-html-footnotes-section' to
3390         insert the footnotes.
3391         (org-export-language-setup): Add "Footnotes" to language words.
3393 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
3395         * org.el (org-yank): Fix bug when not inserting a subtree.
3397 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
3399         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3400         instead of `vm-beginning-of-message'.
3402         * org.el (org-make-link-regexps): Make sure that links to gnus can
3403         contain brackets.
3405 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
3407         * org-attach.el (org-attach-dir): Remove duplicate ID creation
3408         code.
3410         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3411         shell output.
3413         * org.el (org-link-abbrev-alist): Improve customization type.
3415         * org-attach.el (org-attach-expand-link, org-attach-expand): New
3416         functions.
3418         * org-agenda.el (org-agenda-get-progress): Renamed from
3419         `org-get-closed'.  Implement searching for state changes as well.
3420         (org-agenda-log-mode-items): New option.
3421         (org-agenda-log-mode): New option prefix argument, interpreted as
3422         request to show all possible progress info.
3423         (org-agenda-get-day-entries): Call `org-get-progress' instead of
3424         `org-get-closed'.
3425         (org-agenda-set-mode-name): Handle the more complex log mode
3426         settings.
3427         (org-get-closed): New alias, pointing to `org-get-progress'.
3429 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
3431         * org.el (org-file-apps-defaults-gnu)
3432         (org-file-apps-defaults-macosx)
3433         (org-file-apps-defaults-windowsnt): Add an entry defining the
3434         system command.
3435         (org-file-apps): Allow `system' as key and value.
3436         (org-open-at-point): Explain the effect of a double prefix arg.
3437         (org-open-file): If the argument `in-emacs' is (16),
3438         i.e. corresponding to a double prefix argument, try to open the
3439         file externally.
3441 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
3443         * org.el (org-insert-link): Abbreviate absolute files names in
3444         links.  Also, fix a bug in which the double C-u prefix would not
3445         be honored.
3447 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
3449         * org.el (org-insert-heading): If buffer does not end with a
3450         newline, add one if necessary to insert headline correctly.
3452         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3453         paragraphs, not inside.
3455         * org.el (org-todo): Quote
3456         `org-agenda-headline-snapshot-before-repeat'.
3458         * org-exp.el (org-export-as-html): Fully process link descriptions.
3459         (org-export-html-format-desc): New function.
3460         (org-export-as-html): Collect footnotes into the correct basket.
3461         (org-html-protect): No longer protect quotations marks here, this
3462         goes wrong.
3464         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3465         BEG.
3467         * org-compat.el (org-fit-window-to-buffer): New function (not
3468         really, a preliminary and incomplete version was present earlier,
3469         but not used).
3471         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3472         `org-fit-window-to-buffer'.
3474         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3476         * org-agenda.el (org-agenda-get-restriction-and-command)
3477         (org-fit-agenda-window, org-agenda-convert-date): Use
3478         `org-fit-window-to-buffer'.
3480         * org-exp.el (org-export-as-html): Process href links through
3481         `org-export-html-format-href'.
3482         (org-export-html-format-href): New function.
3484         * org-agenda.el (org-agenda-todo): Update only the current
3485         headline if this is a repeated TODO, marked done for today.
3486         (org-agenda-change-all-lines): New argument JUST-THIS, to change
3487         only the current line.
3489         * org.el (org-todo): Take a snapshot of the headline if the
3490         repeater might change it.
3492 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3494         * org-publish.el (org-publish-find-title): Remove buffers visited
3495         only for extracting the title.
3497         * org-exp.el (org-export-html-style)
3498         (org-export-html-style-default): Mark style definitions as
3499         unparsed CDATA.
3501         * org-publish.el (org-publish-validate-link): Function
3502         re-introduced.
3504 2008-11-02  Charles Sebold  <csebold@gmail.com>
3506         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3507         property.
3508         (org-plot-quote-timestamp-field): New function.
3509         (org-plot-quote-tsv-field): Call timestamp field function when
3510         necessary rather than just quoting as a string.
3511         (org-plot/gnuplot-to-data): Pass in timefmt property.
3512         (org-plot/gnuplot-script): Supports timefmt property.
3513         (org-plot/gnuplot): Checks for timestamp column before checking
3514         for text index column.
3516 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
3518         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3520         * org-publish.el (org-publish-org-index): Create a section in the
3521         index file.
3522         (org-publish-org-index): Stop linking to directories.
3524         * org.el (org-emphasis-alist): Use span instead of <u> to
3525         underline text.
3527         * org-exp.el (org-export-as-html): Make sure <p> is closed before
3528         <pre> sections.
3530 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
3532         * org-jsinfo.el (org-infojs-template): Remove language attribute
3533         from script tag.
3535 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
3537         * org-agenda.el (org-agenda-remove-marked-text): New function.
3538         (org-agenda-mark-filtered-text)
3539         (org-agenda-unmark-filtered-text): New functions.
3540         (org-write-agenda): Remove fltered text.
3542         * org.el (org-make-tags-matcher): Give access to TODO "property"
3543         without speed penalty.
3545 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
3547         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3548         option.
3549         (org-store-link-props): Make sure adding to the plist works
3550         correctly.
3552         * org-gnus.el (org-gnus-no-new-news): New function.
3553         (org-gnus-follow-link): Allow the article ID to be a message-id,
3554         in addition to allowing article numbers.  Message IDs make much
3555         more roubust links.
3556         (org-gnus-store-link): Use message-id to create link.
3558 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
3560         * org.el (org-emphasize): Reverse the selection array.
3561         (org-emphasis-alist): Set <code> tags for the verbatim
3562         environment.
3564         * org-remember.el (org-remember-handler): Fix bug with
3565         prefix-related changing of the note storage target.
3567         * org-exp.el (org-print-icalendar-entries): Make the exported
3568         priorities compatible with RFC 2445.
3570         * org-clock.el (org-clock-save): Insert time stamp without
3571         dependence on time-stamp.el.
3573 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
3575         * org.el ("saveplace"): If saveplace puts point into an invisible
3576         location, make it visible.
3577         (org-make-tags-matcher): Allow inactive time stamps in time
3578         comparisons.
3579         (org-yank-adjusted-subtrees): New option.
3580         (org-yank): Incorporate adjusting trees.
3581         (org-paste-subtree): New argument FOR-YANK which will cause
3582         insertion at point without backing up over white lines, and leave
3583         point at the end of the inserted text.  Also if the cursor is
3584         at the beginning of a headline, use the same level or the inserted
3585         tree.
3587         * org-publish.el (org-publish-get-base-files-1): Deal correctly
3588         with broken symlinks
3590 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
3592         * org-exp.el (org-export-select-tags, org-get-current-options):
3593         Fix typo.
3595 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
3597         * org-agenda.el (org-format-agenda-item)
3598         (org-agenda-filter-make-matcher): Make sure tags are stored and
3599         compared donwcased.
3601 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
3603         * org.el (org-insert-todo-heading): Fix bug with force-heading
3604         argument.
3606 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
3608         * org-clock.el (org-clock-in-resume): Add a custom option to
3609         toggle starting the clock from an open clock line.
3610         (org-clock-in): When clocking in to an entry, if
3611         `org-clock-in-resume' is set, check if the first clock line is
3612         open and if so, start the clock from the time in the clock line.
3613         (org-clock-persist): Add a custom option to toggle clock
3614         persistence.
3615         (org-clock-persist-query-save): Add a custom option to toggle
3616         asking the user if they want to save the running clock when
3617         exiting.
3618         (org-clock-persist-query-resume): Add a custom option to toggle
3619         asking the user if they want to resume the saved clock when Emacs
3620         is restarted.
3621         (org-clock-save): Add a function to save clock data.
3622         This includes the contents of `org-clock-history' and the buffer
3623         and position of the currently clocked task, if any.
3624         (org-clock-load): Add a function to load clock data.
3625         This populates `org-clock-history', and resumes the saved clocked
3626         task if there is one.
3627         (org-clock-persistence-insinuate): Add a method to set up the
3628         hooks for clock persistence.
3630 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
3632         * org-exp.el (org-export-as-ascii): Handle the case that we are
3633         publishing from an indirect buffer.
3635         * org-table.el (org-table-copy-down): Fix bug with time stamp
3636         increment.
3638         * org-mouse.el (org-mouse-features): New option.
3639         (org-mode-hook): Turn on features depending on
3640         `org-mouse-features'.
3642         * org.el (org-insert-heading-respect-content): Force heading
3643         creation.
3644         (org-insert-heading): keep the folding state of the heading before
3645         the inserted one.
3647 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3649         * org-archive.el (org-archive-to-archive-sibling): Handle top
3650         level headlines better.
3652 2008-10-21  Bastien Guerry  <bzg@altern.org>
3654         * org-export-latex.el (org-export-latex-classes): Added
3655         \usepackage{graphicx} to the default list of packages.
3657 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
3659         * org-agenda.el (org-agenda-filter): Renamed from
3660         `org-agenda-filter-tags'.
3662 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
3664         * org.el (org-entry-properties): Add CATEGORY property, iven if it
3665         is not defined as a property in this entry.
3666         (org-add-log-note): Mask prefix argument when immediately storing
3667         the note.
3669         * org-agenda.el (org-agenda-filter-effort-default-operator): New
3670         option.
3672 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
3674         * org.el (org-add-log-setup): Bugfix; code to find insertion point
3675         after drawers was skipping ahead one line too many, so notes were
3676         inserted after the first note instead of before it.
3678 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
3680         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3681         New variables.
3682         (org-prepare-agenda): Reset the filter tags.
3683         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3684         Show filter tags in mode line.
3686         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
3687         formatter.
3689         * org-export-latex.el (org-latex-entities-regexp): New constant.
3690         (org-export-as-pdf): Use two calls to `shell-command'.
3692 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
3694         * org-export-latex.el (org-export-latex-treat-sub-super-char):
3695         Honor the {} value of the subsuperscript setting.  Make sure that
3696         longer subsuperscripts are typeset in a roman font.
3698         * org.el (org-clock-update-time-maybe): Compute negative clock
3699         intervals correctly.
3701 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
3703         * org.el (org-add-log-setup): Respect
3704         `org-log-state-notes-insert-after-drawers'.
3705         (org-log-state-notes-insert-after-drawers): New option.
3706         (org-todo-trigger-tag-changes): New function.
3707         (org-todo): Call `org-todo-trigger-tag-changes'.
3709 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
3711         * org.el (org-add-log-setup): Only skip drawers if the are
3712         immediately after the scheduling keywords.
3714         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
3715         function
3716         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
3717         call it with the current todo state to get the state to switch to
3718         when clocking in.
3719         (org-clock-in): Use org-indent-line-function to indent clock lines.
3720         (org-clock-find-position): Fix indentation of empty clock drawers.
3722 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
3724         * org-publish.el (org-publish-org-to): Handle case when
3725         org-export-to-pdf does return a file name, not a buffer.
3726         (org-publish-org-to-pdf): New function.
3728         * org-export-latex.el (org-export-as-pdf)
3729         (org-export-as-pdf-and-open): New commands.
3731         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
3732         forms as ranges.
3734         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
3735         things in protexted regions.
3737 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
3739         * org-export-latex.el (org-export-latex-preprocess): Improve
3740         quoting of LaTeX environments.
3742 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
3744         * org.el (org-edit-fixed-width-region): Exclude final newline from
3745         picture area.
3747         * org-export-latex.el (org-export-latex-subcontent): Add labels to
3748         sections, to make internal links work.
3749         (org-export-latex-fontify-headline): Do not remove all text
3750         properties, to make sure that target properties survive this
3751         process.
3753         * org-exp.el (org-export-preprocess-string): Change sequence of
3754         modifications, to make sure links are prepared before the LaTeX
3755         conversions do happen.
3757 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
3759         * org-attach.el (org-attach-delete-all): Renamed from
3760         `org-attch-delete'.  Add a security query before deleting the
3761         entire directory.  New optional argument FORCE can overrule the
3762         security query.
3763         (org-attach-delete-one): New command.
3765 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
3767         * org-attach.el (org-attach-file-list): Fix bug with directory.
3769 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
3771         * org.el (org-apps-regexp-alist): New function.
3772         (org-file-apps): Add auto-mode to the default value.
3773         (org-open-file): Use the new structure of org-file-apps.
3775         * org-attach.el (org-attach): Support the new keys.
3776         (org-attach-method): New option.
3778 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
3780         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
3781         March.
3783         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
3784         of the list value o `org-use-tag-inheritance'.
3786         * org-attach.el (org-attach-auto-tag): New option.
3787         (org-attach-tag, org-attach-untag): New functions.
3788         (org-attach-attach, org-attach-new, org-attach-sync): Call
3789         `org-attach-tag'.
3790         (org-attach-delete): Call `org-attach-untag'.
3792 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
3794         * org-table.el (orgtbl-self-insert-command): Make this work for
3795         the keypad as well.
3797 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
3799         * org.el (org-add-log-setup): Limit searc for drawers to entry
3800         text, not to subtree.
3802         * org-clock.el (org-clock-heading-for-remember): New variable.
3803         (org-clock-in): Set `org-clock-heading-for-remember'.
3805 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
3807         * org-remember.el (org-remember-apply-template): Add new
3808         expansions: %k, %K for currently clocked task and a link to the
3809         currently clocked task, and %< to file notes in the currently
3810         clocked task.
3812 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
3814         * org-export-latex.el (org-export-latex-make-header): Also insert
3815         the content of the property :latex-header-extra.
3817         * org-exp.el (org-infile-export-plist): Put the content of
3818         #+LATEX_HEADER: into the property :latex-header-extra.
3820         * org-colview.el (org-columns-get-format-and-top-level): Remove
3821         resetting the marker.
3823         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
3824         Remove resetting the marker.
3826         * org.el (org-entry-property-inherited-from): Improve docstring.
3827         (org-entry-get-with-inheritance): Reset marker before starting the
3828         search.
3830         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
3832 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
3834         * org.el (org-entry-get-multivalued-property)
3835         (org-entry-protect-space, org-entry-restore-space): New
3836         functions.
3837         (org-file-apps-defaults-macosx): Let postscript files be opened by
3838         preview.
3839         (org-time-stamp-inactive): Call `org-time-stamp'.
3840         (org-time-stamp): New argument `inactive'.  Also edit inacive
3841         stamps. Convert time stamp type.
3842         (org-open-file): Interpret the `default' value for the `command'
3843         in `org-file-apps'.
3845         * org-id.el (org-id-int-to-b36-one-digit)
3846         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
3847         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
3848         b36.
3850 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
3852         * org-id.el (org-id-reverse-string): New function.
3853         (org-id-new): Use `org-id-reverse-string' to make sure the
3854         beginning chars of the ID are mutating fast.  This allows to use a
3855         directory structure to spread things better.
3856         (org-id-prefix): Changed default to nil.
3858         * org-list.el (org-move-item-down, org-move-item-up): Remember and
3859         restore the column of the cursor position.
3861         * org-remember.el (org-remember-apply-template): Remove properties
3862         from `initial'.
3864 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
3866         * org-wl.el (org-wl-open): Remove useless call to
3867         `wl-thread-open-all'.
3869         * org-remember.el (org-remember-handler): Fix bug with `bottom'
3870         location.
3872 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
3874         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
3875         `org-bbdb-anniversaries'.
3877         * org.el (org-get-next-sibling, org-forward-same-level): New
3878         functions, similar to the outline versions, but invisible headings
3879         are OK.
3881 2008-09-25  Bastien Guerry  <bzg@altern.org>
3883         * org.el (org-auto-repeat-maybe): Insert a space between
3884         the timestamp's type and the timestamp itself.
3886 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
3888         * org-table.el (org-table-sum): Do not format the result with %g,
3889         it does rounding when there are too many digits.
3891         * org.el (org-map-entries): Protect the keyword-selecting variables.
3893 2008-09-23  Bastien Guerry  <bzg@altern.org>
3895         * org-agenda.el (org-agenda-to-appt): Make sure the function check
3896         against all agenda files.
3898 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
3900         * org-list.el: New file, aggregating list functions from org.el
3901         and org-export-latex.el.
3903         * org.el (org-edit-src-region-extra): New option.
3905 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
3907         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
3908         time before 1am.
3910 2008-09-22  Bastien Guerry  <bzg@altern.org>
3912         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
3914 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
3916         * org-plot.el (org-plot/gnuplot): Make tables starting with a
3917         hline work correctly.
3918         (org-plot/gnuplot-script): Put commas at the end of each script
3919         line.
3921 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
3923         * org.el (org-get-refile-targets): Replace links with their
3924         descriptions
3925         (org-imenu-get-tree): Replace links with their descriptions.
3927         * org-remember.el (org-remember-apply-template): Add a new
3928         expansion for adding properties to remember items.
3930         * org.el (org-add-log-setup): Skip over drawers (properties,
3931         clocks etc) when adding notes.
3933         * org-agenda.el (org-agenda-get-closed): show durations of clocked
3934         items as well as the start and end times.
3936         * org-compat.el (org-get-x-clipboard-compat): Add a compat
3937         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
3939         * org-remember.el (org-get-x-clipboard): Use the compat
3940         function to get clipboard values when x-selection-value is
3941         unavailable. Use substring-no-properties instead of
3942         set-text-properties to remove text properties from the clipboard
3943         value.
3945         * lisp/org-clock.el (org-update-mode-line): Support limiting the
3946         modeline clock string, and display the full todo value in the
3947         tooltip. Set a local keymap so mouse-3 on the clock string goes to
3948         the currently clocked task.
3949         (org-clock-string-limit): Add a custom value for the maximum
3950         length of the clock string in the modeline.
3951         (org-clock-mode-map): Add a keymap for the modeline string
3953 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
3955         * org-compat.el (org-propertize): New function.
3957 2008-09-20  Bastien Guerry  <bzg@altern.org>
3959         * org-export-latex.el (org-export-latex-tables): protect exported
3960         tables from further special chars conversion.
3961         (org-export-latex-preprocess): Preserve LaTeX environments.
3962         (org-list-parse-list): Parse descriptive lists.
3963         (org-list-to-generic, org-list-to-latex, org-list-to-html)
3964         (org-list-to-texinfo): Export descriptive lists.
3965         (org-quote-chars): Remove.
3966         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
3967         (org-export-latex-list-beginning-re): Rename to
3968         `org-list-beginning-re'
3969         (org-list-item-begin): Rename to `org-list-item-beginning'
3971 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
3973         * org.el (org-refile): Allow refiling to the last entry in the
3974         buffer.
3975         (org-get-tags-at): Fix bug when inheritance is turned off.
3977 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
3979         * org.el (org-indent-line-function): No longer check for src
3980         regions, this is too much overhead.
3982         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
3983         matching.
3985         * org.el (org-scan-tags): Make sure that tags matching is not case
3986         sensitive.  TODO keyword matching is case sensitive, however, to
3987         avoid confusion with similar words that are not meant to be
3988         keywords.
3990 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
3992         * org.el (org-get-local-tags-at): New function.
3993         (org-get-local-tags): New function.
3995         * org-exp.el (org-export-get-categories): New function.
3997         * org-agenda.el (org-sorting-choice)
3998         (org-agenda-sorting-strategy, org-agenda-get-todos)
3999         (org-agenda-get-timestamps, org-agenda-get-deadlines)
4000         (org-agenda-get-scheduled, org-agenda-get-blocks)
4001         (org-entries-lessp): Implement sorting by TODO state.
4002         (org-cmp-todo-state): New defsubst.
4004         * org-colview.el (org-colview-construct-allowed-dates): New
4005         function.
4006         (org-columns-next-allowed-value): Use
4007         `org-colview-construct-allowed-dates'.
4009         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4010         function.
4011         (org-columns-next-allowed-value): Use
4012         `org-colview-construct-allowed-dates'.
4014 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
4016         * org.el (org-protect-slash): New function.
4017         (org-get-refile-targets): Use `org-protect-slash'.
4019         * org-agenda.el (org-global-tags-completion-table): New variable.
4021         * org-exp.el (org-export-handle-export-tags): New function.
4022         (org-export-preprocess-string): Call
4023         `org-export-handle-export-tags'.
4025         * org-plot.el: New file.
4027         * org-publish.el (org-publish-expand-components): Function removed.
4028         (org-publish-expand-projects): Allow components to have components.
4030 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
4032         * org.el (org-indent-line-function): Do not indent in regions that
4033         are external source code.
4034         (org-yank-and-fold-if-subtree): New function.
4036         * org-agenda.el (org-agenda-todayp): New function.
4037         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4038         `org-agenda-todayp'.
4040         * org.el (org-insert-heading-respect-content)
4041         (org-insert-todo-heading-respect-content): New commands.
4042         (org-insert-heading-respect-content): New option.
4043         (org-insert-heading): Respect `org-insert-heading-respect-content'.
4045         * org-clock.el (org-clock-find-position): Make sure the note after
4046         the clock line gets moved into the new clock drawer.
4048 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
4050         * org-id.el (org-id-new): New option.
4052 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
4054         * org-table.el (org-table-copy-down): Avoid overflow during
4055         increment.  Use prefix argument 0 to temporarily disable the
4056         increment.
4058 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
4060         * org-exp.el (org-export-as-html): Do not turn on the major mode
4061         if the buffer will be killed anyway.
4062         (org-get-current-options): Exclude the #+TEXT field.
4063         (org-export-as-html): Make sure text before the first headline is
4064         a paragraph.
4066         * org-publish.el (org-publish-org-to): Tell the exporter that this
4067         buffer will be killed, so it is not necessary to do major mode
4068         initialization.
4070         * org-archive.el (org-archive-to-archive-sibling): Show empty
4071         lines after folding the archive sibling.
4073         * org.el (org-log-note-extra): New variable.
4075 2008-09-05  Bastien Guerry  <bzg@altern.org>
4077         * org.el (org-additional-option-like-keywords): Added keywords for
4078         the _QUOTE, _VERSE and _SRC environments.
4080         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4081         exporting _QUOTE and _VERSE environments.
4083 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
4085         * org-agenda.el (org-agenda-filter-by-tag): New command.
4087         * org-exp.el (org-get-current-options): Remove angular brackets
4088         from the date entry.
4090         * org.el (org-edit-fixed-width-region): New function.
4091         (org-edit-fixed-width-region): Also try
4092         `org-edit-fixed-width-region'.
4093         (org-edit-fixed-width-region-mode): New option.
4094         (org-activate-code): Only interprete lines starting with colon
4095         plus a space as example lines.
4097         * org-remember.el (org-remember-templates): Add nil instead of
4098         empty strings to fix the length of remember templates.
4100         * org-table.el (org-calc-default-modes): Fix the time format for
4101         calc, from 12 hour to 24 hour clock.
4103 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
4105         * org-agenda.el (org-agenda-get-deadlines)
4106         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4107         entries that are pre-warnings of deadlines or reminders.
4109         * org.el (org-sort-entries-or-items): Make numeric and alpha
4110         comparisons ignore any TODO keyword and priority cookie.
4112         * org-remember.el (org-remember-handler): Reinterpretation of the
4113         prefix argument.
4115 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
4117         * org-agenda.el (org-agenda-get-scheduled): Use new
4118         `org-scheduled' face.
4120         * org-faces.el (org-scheduled): New face.
4122         * org-wl.el (org-wl-open): Remove incorrect declaration.
4124         * org-gnus.el (org-gnus-store-link): Support for :to information
4125         in gnus links.
4127         * org-exp.el (org-export-as-html): Fixed typo in creator
4128         information.
4129         (org-export-protect-examples): New parameter indent.  Insert extra
4130         spaces only when this parameter is specified.
4131         (org-export-preprocess-string): Call `org-export-protect-examples'
4132         with an indentation parameter when exporting to ASCII.
4134         * org-remember.el (org-remember-templates)
4135         (org-remember-apply-template): Allow the file component to be a
4136         function.
4138         * org.el (org-goto-local-search-headings): Renamed from
4139         `org-goto-local-search-forward-headings'.  Added the possibility
4140         to search backwards.
4142 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
4144         * org-export-latex.el (org-export-latex): New customization
4145         group.
4147         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4149 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
4151         * org-exp.el (org-html-do-expand): Allow {} to terminate
4152         tex macro
4154 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
4156         * org.el (org-buffer-list): Select buffers based on major mode,
4157         not on file name.
4159 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
4161         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4162         face property.
4164         * org-colview.el (org-columns-display-here): Use
4165         `org-columns-modify-value-for-display-function'.
4167         * org-colview-xemacs.el (org-columns-display-here): Use
4168         `org-columns-modify-value-for-display-function'.
4170 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
4172         * org.el (org-columns-modify-value-for-display-function): New option.
4184         * org-publish.el (org-publish-file): Make sure the directory match
4185         for the publishing directory works correctly.
4187         * org-agenda.el (org-agenda-execute-calendar-command)
4188         (org-agenda-diary-entry): Additional optional argument.
4190 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
4192         * org-exp.el (org-export-as-html): Add attributes also in mailto
4193         and ftp links.
4195         * org.el (org-autoload): Add `org-dblock-write:columnview'.
4204 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
4206         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4207         sure that calls from `org-export-region-as-html' do not do the
4208         special check for a subtree.
4210 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
4212         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4214 2008-07-20  Juri Linkov  <juri@jurta.org>
4216         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4217         new keymap `narrow-map' instead of binding "\C-xns".
4219 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
4221         * org.el (org-open-file): Use
4222         `org-open-directory-means-index-dot-org'.
4223         (org-open-directory-means-index-dot-org): New option.
4225 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
4227         * org.el (org-make-link-string): Remove link attributes from
4228         description.
4229         (org-open-at-point): Remove link attributes bevore using the path.
4231         * org-exp.el (org-export-as-html): Handle link attributes.
4233         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4235         * org-table.el (org-table-to-lisp): New function.
4237         * org.el (org-narrow-to-subtree): Do not include the final newline
4238         into the narrowed region.
4240         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4241         bug with user-define skipping condition.
4243 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
4245         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4247 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
4249         * org-exp.el (org-export-html-style-default): Automatic overflow
4250         handling for pre fields.
4251         (org-export-as-ascii, org-export-as-html): Change default format
4252         for time stamp.
4254         * org-table.el (org-table-export): Offer completion for translator
4255         functions, and do not require a heading above the table.
4257         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4258         Cater for the case of a list starting in the first line of the
4259         buffer.
4261 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
4263         * org-publish.el (org-publish-find-title): Bug fix.
4264         (org-publish-org-index): Implement new :index-style option.
4266 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
4268         * org-publish.el (org-publish-timestamp-filename): Use
4269         SHA1-encoded file names in the timestamp directory.
4271 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
4273         * org-publish.el (org-publish-needed-p): Be verbose about files
4274         published and files skipped.
4276         * org-exp.el (org-export-preprocess-string): Swap link
4277         normalization and inernal link targeting.
4279         * org-publish.el (org-publish-needed-p): Create timestamp
4280         directory when it does not exist.
4282 2008-07-04  Bastien Guerry  <bzg@altern.org>
4284         * org-clock.el (org-clock-out-when-done): Doc fix.
4286         * org.el (org-agenda-skip-unavailable-files): Doc fix.
4288         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4289         Ignore case when searching for the COMMENT cookie at export time.
4291 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
4293         * org-exp.el (org-get-file-contents)
4294         (org-get-and-remove-property): New functions.
4295         (org-export-handle-include-files): Handle the new prefix options.
4296         (org-export-as-html): Fix the verse environment.
4298 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
4300         * org.el (org-time=, org-time<, org-time<=, org-time>)
4301         (org-time>=, org-time<>, org-2ft): New functions.
4302         (org-op-to-function): Also provide for the time testing fucntions.
4304 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
4306         * org-exp.el (org-export-html-style-default): New constant.
4308 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
4310         * org-exp.el (org-export-html-style-extra): New variable.
4311         (org-export-splice-style): New function.
4313 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
4315         * org-exp.el (org-export-plist-vars, org-export-as-html):
4316         Implement `org-export-creator-info'.
4317         (org-export-creator-info): New option.
4319 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
4321         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4322         (org-property-drawer-re, org-clock-drawer-re): New constants.
4324 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
4326         * org-exp.el (org-icalendar-use-deadline)
4327         (org-icalendar-use-scheduled): New options.
4328         (org-icalendar-include-todo): Default changed to t.
4329         (org-print-icalendar-entries): Implement better utilization of
4330         scheduling and deadline time stamps.
4331         (org-export-target-internal-links, org-export-as-html): Allow file
4332         lines without the "file:" prefix if the file path is an absolute
4333         path or starts with ".".
4335         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4336         lastweek etc.
4337         (org-clock-special-range): Also undertand yesterday, lastweek etc.
4339 2008-06-18  Glenn Morris  <rgm@gnu.org>
4340         * org.el (org-map-entries): Let-bind `file'.
4342 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
4344         * org.el (org-agenda-skip-archived-trees): Docstring now
4345         discourages using this.
4346         (org-scan-tags): Check for org-agenda-archives-mode.
4347         (org-map-entries): Make sure org-agenda-archives-mode is nil.
4348         (org-agenda-files): Functionality of second arg changed.
4350         * org-agenda.el (org-agenda-archives-mode): New variable
4351         (org-write-agenda, org-prepare-agenda, org-agenda-list)
4352         (org-search-view, org-todo-list, org-tags-view)
4353         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4354         `ifmode' argument.
4355         (org-agenda-quit): Reset the archives mode.
4356         (org-agenda-archives-mode): New command.
4357         (org-agenda-set-mode-name): Include archives info.
4359 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
4361         * org.el (org-paste-subtree): Make sure the yanked headline is
4362         visible if it was yanked at a visible point.
4363         (org-move-item-up): Fix the bug with moving white space at the end
4364         of the item.
4365         (org-show-empty-lines-in-parent): New function.
4367 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
4369         * org-colview.el (org-columns-next-allowed-value): Bug fix.
4371         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4373         * org-agenda.el (org-agenda-get-closed): Get the end time into the
4374         agenda prefix as well.
4376         * org-publish.el (org-publish-org-index): Make a properly indented
4377         list.
4379         * org.el (org-calendar-agenda-action-key): New option.
4380         (org-get-cursor-date): New function.
4381         (org-mark-entry-for-agenda-action): New command.
4382         (org-overriding-default-time): New variable.
4383         (org-read-date): Respect `org-overriding-default-time'.
4385         * org-remember.el (org-remember-apply-template): Respect the
4386         ovverriding default time.
4388         * org-agenda.el (org-agenda-action-marker): New variable.
4389         (org-agenda-action): New command.
4390         (org-agenda-do-action): New function.
4392 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4394         * org.el (org-schedule, org-deadline): Protect scheduled and
4395         deadline tasks against changes that accidently remove the
4396         repeater.  Also show a message with the new date when done.
4398 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
4400         * org.el (org-beginning-of-line): Cater for the case when there
4401         are tags but no headline text.
4402         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4403         it set.
4405 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
4407         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4408         the return value is nil instead of "nil" when there is no match.
4410         * org-exp.el (org-insert-centered): Use fill-column instead of
4411         80.
4412         (org-export-as-ascii): Use string-width to measure the width of
4413         the heading.
4415         * org.el (org-diary-to-ical-string): No longer kill buffer
4416         FROMBUF, this is now done by the caller.
4418         * org-exp.el (org-print-icalendar-entries): Move the call to
4419         `org-diary-to-ical-string' out of the loop, and kill the buffer
4420         afterwords.
4422         * org-remember.el (org-remember-visit-immediately): Position
4423         cursor after moving to the note.
4424         (org-remember-apply-template): Use a text property to record the
4425         cursor position.
4426         (org-remember-handler): Align tags after pasting the note.
4428 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
4430         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4432         * org-agenda.el (org-agenda-open-link): If there is an
4433         org-bbdb-name property in the current line, jump to that bbdb
4434         entry.
4436         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4437         text property, so that the agenda knows where this entry comes
4438         from.
4440         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4441         interaction between clocking-in from the agenda, and  automatic
4442         task state switching.
4444         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4446         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4447         zmacs-region stays after this command in XEmacs.
4449 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
4451         * org.el (org-scan-tags): Allow new values for ACTION parameter.
4453         * org-remember.el (org-remember-templates): Fix bug in
4454         customization type definition.
4456         * org.el (org-map-entries): New function.
4458 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
4460         * org-agenda.el (org-agenda-skip-comment-trees): New option.
4461         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4463 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
4465         * org-remember.el (org-jump-to-target-location): New variable.
4466         (org-remember-apply-template): Set
4467         `org-remember-apply-template' if requested by template.
4468         (org-remember-handler): Start an idle timer to jump to
4469         remember location.
4471         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4473         * org.el (org-set-regexps-and-options): Fix bug with parsing of
4474         file tags.
4475         (org-get-tags-at): Add the content of `org-file-tags'.
4477         * org-exp.el (org-export-handle-comments): Fix bug with several
4478         comment lines after each other.
4479         (org-number-to-roman, org-number-to-counter): New functions.
4480         (org-export-section-number-format): New option.
4482 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
4484         * org-exp.el (org-export-protect-examples): Catch the case of a
4485         missing end_example line.
4487         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4488         `org-file-tags' to nil.
4490         * org-colview.el (org-columns-next-allowed-value): Handle next
4491         argument NTH to directly select a value.
4493         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4494         argument NTH to directly select a value.
4496 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
4498         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4500 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
4502         * org.el (org-columns-ellipses): New option.
4504 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
4506         * org-colview.el (org-columns-add-ellipses): New function.
4507         (org-columns-compact-links): New function.
4508         (org-columns-cleanup-item): Call `org-columns-compact-links'.
4509         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4510         when in agenda.
4511         (org-columns-edit-value): Fixed bug with editing values from
4512         agenda column view.
4513         (org-columns-redo): Also redo the agenda itself.
4515 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
4517         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4518         option.
4520         * org-colview.el (org-agenda-columns-cleanup-item): New function.
4522         * org-exp.el (org-export-ascii-preprocess): Renamed from
4523         `org-export-ascii-clean-string'.
4524         (org-export-kill-licensed-text)
4525         (org-export-define-heading-targets)
4526         (org-export-handle-invisible-targets)
4527         (org-export-target-internal-links)
4528         (org-export-remove-or-extract-drawers)
4529         (org-export-remove-archived-trees)
4530         (org-export-protect-quoted-subtrees)
4531         (org-export-protect-verbatim, org-export-protect-examples)
4532         (org-export-select-backend-specific-text)
4533         (org-export-mark-blockquote-and-verse)
4534         (org-export-remove-comment-blocks-and-subtrees)
4535         (org-export-handle-comments, org-export-mark-radio-links)
4536         (org-export-remove-special-table-lines)
4537         (org-export-normalize-links)
4538         (org-export-concatenate-multiline-links)
4539         (org-export-concatenate-multiline-emphasis): New functions,
4540         obtained from spliiting the export preprocessor.
4542         * org-table.el (org-table-recalculate): Improve error message if
4543         the row number is invalid.
4545 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
4547         * org-archive.el (org-archive-save-context-info): Fix bugs in
4548         customization setup and docstring.
4550         * org-exp.el (org-export-html-style): Changed the size of in the
4551         <pre> element to 90%.
4553 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
4555         * org.el (org-find-src-example-start): Function removed.
4556         (org-edit-src-find-region-and-lang): New function.
4558 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
4560         * org.el (org-edit-src-exit): New function.
4561         (org-exit-edit-mode): New minor mode.
4563         * org-exp.el (org-export-preprocess-string): Fix bug with removing
4564         comment-like lines from protected examples.
4566         * org.el (org-edit-src-example, org-find-src-example-start)
4567         (org-protect-source-example, org-edit-special): New functions.
4569 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
4571         * org-publish.el (org-publish-project-alist): Fix typo in
4572         docstring.
4573         (org-publish-project-alist): Handle :index-title property.
4575 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
4577         * org-export-latex.el (org-export-as-latex): Make sure region
4578         bounds are correct.  Parse subtree properties relating to export.
4580         * org-exp.el (org-export-add-options-to-plist): New function.
4581         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4583 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
4585         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4586         EXPORT_TITLE.
4588         * org-exp.el (org-export-get-title-from-subtree)
4589         (org-export-as-ascii, org-export-as-html): Make sure the original
4590         region-beginning and region-end are used, even after moving
4591         point.
4592         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4593         property.
4595         * org-remember.el (org-remember-last-stored-marker): New variable.
4596         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4597         (org-remember-handler): Also use marker to remember
4598         last-stored position.
4600         * org.el (org-goto-marker-or-bmk): New function.
4602 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
4604         * org.el (org-file-properties): Renamed from `org-local-properties'.
4605         (org-scan-tags): Take file tags into account.
4606         (org-tags-match-list-sublevels): Default changed to t.
4608         * org-exp.el (org-export-as-html): Close paragraph after a
4609         footnote.
4611         * org.el (org-update-parent-todo-statistics): New function.
4613         * org-exp.el (org-icalendar-store-UID): New option.
4614         (org-icalendar-force-UID): Option removed.
4615         (org-print-icalendar-entries): IMplement UIDs.
4617 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
4619         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4621 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
4623         * org-faces.el (org-column): Document how this face is being used
4624         and why sometimes the background faces shine through.
4626         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4628         * org-publish.el (org-publish-attachment): Create publishing
4629         directory if it does not yet exist.
4631         * org-table.el (org-calc-default-modes): Change default number
4632         format to (float 8).
4634         * org.el (org-olpath-completing-read): New function.
4635         (org-time-clocksum-format): New option.
4636         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4638         * org-clock.el (org-clock-display, org-clock-out)
4639         (org-update-mode-line): Use `org-time-clocksum-format'.
4641         * org-colview-xemacs.el (org-columns-number-to-string): Use
4642         `org-time-clocksum-format'.
4644         * org-colview.el (org-columns-number-to-string): Use
4645         `org-time-clocksum-format'.
4647 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
4649         * org-id.el: New file, move from contrib to core.
4651         * org-exp.el (org-icalendar-force-UID): New option.
4653 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
4655         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4656         shifted by one day if theere is a date range without an end
4657         time.
4659         * org.el (org-try-structure-completion): New function.
4661 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
4663         * org.el (org-set-font-lock-defaults): Improve fontification of
4664         description lists.
4665         (org-insert-item): Handle description lists.
4666         (org-adaptive-fill-function): Improve auto indentation in
4667         description lists.
4669         * org-exp.el (org-export-as-html, org-export-preprocess-string):
4670         Implement VERSE environment.
4671         (org-export-preprocess-string): Implement the COMMENT
4672         environment.
4674         * org-export-latex.el (org-export-latex-preprocess): Implement
4675         VERSE environment.
4677 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
4679         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4680         option.
4682 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
4684         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4686         * org.el (org-quote-csv-field): New functions.
4688         * org-table.el (org-table-export-default-format): Remove :splice
4689         from default format, we get the same effect by not specifying
4690         :tstart and :tend.
4691         (org-table-export): Improve setup, distinguish better between
4692         interactive and non-interactive use, allow specifying the format
4693         on the fly, better protection against wrong file names.
4694         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
4695         and :tend when :splice is omitted.
4697 2008-05-09  Bernt Hansen  <bernt@norang.ca>
4699         * org-clock.el (org-clock-select-task): Make sure the selection
4700         letters are 1-9 and A-Z, no special characters.
4702 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
4704         * org-exp.el (org-export-htmlize): New group.
4705         (org-export-htmlize-output-type)
4706         (org-export-htmlize-css-font-prefix): New options.
4707         (org-export-htmlize-region-for-paste): New function.
4708         (org-export-htmlize-generate-css): New command.
4710 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
4712         * org/org.el (org-modules, org-format-latex-options):
4713         * org/org-archive.el (org-archive-stamp-time)
4714         (org-archive-save-context-info):
4715         * org/org-faces.el (org-hide):
4716         * org/org-irc.el (org-irc-parse-link):
4717         * org/org-macs.el (org-call-with-arg, org-autoload):
4718         * org/org-mew.el (org-mew-store-link):
4719         * org/org-remember.el (org-remember-store-without-prompt)
4720         (org-remember-templates): Fix typos in docstrings.
4722         * org/org-info.el (org-info-store-link): Remove leftover docstring.
4724         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4725         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4726         (org-bbdb-anniv-split): Fix typos in docstrings.
4728         * org/org-publish.el (org-publish-project-alist): Doc fixes.
4729         (org-publish-use-timestamps-flag): Reflow docstring.
4730         (org-publish-files-alist): Fix typos in docstring.
4732 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
4734         * org.el (org-set-visibility-according-to-property): New function.
4735         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
4736         and compute the regular expressions, and update font-lock.
4737         (org-property-re): Allow a dash in property names.
4739         * org-archive.el (org-extract-archive-file): Insert the file name
4740         without the path into the format, to allow the location format to
4741         contain a subdirectory.
4743         * org-agenda.el (org-agenda-post-command-hook): If point is at end
4744         of buffer, and the `org-agenda-type' property undefined, use the
4745         value from the character before.
4747         * org.el (org-add-planning-info): Don't let indentation for
4748         would-be timestamp become extra whitespace at the end of headline.
4750 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
4752         * org.el (org-remove-double-quotes, org-file-contents): New
4753         functions.
4755         * org-exp.el (org-infile-export-plist): Also parse the
4756         contents of #+SETUPFILE files, recursively.
4758         * org.el (org-set-regexps-and-options): Also parse the
4759         contents of #+SETUPFILE files, recursively.
4761         * org-exp.el (org-export-handle-include-files): New function.
4762         (org-export-preprocess-string): Call
4763         `org-export-handle-include-files'.
4765         * org.el (org-delete-property-globally)
4766         (org-delete-property, org-set-property): Ignore case during
4767         completion.
4768         (org-set-property): Use `org-completing-read' instead of
4769         `completing-read'.
4771         * org.el (org-complete-expand-structure-template): New,
4772         experimental function.
4773         (org-structure-template-alist): New, experimental option.
4774         (org-complete): Call `org-complete-expand-structure-template'.
4776 2008-05-06  Bastien Guerry  <bzg@altern.org>
4778         * org-export-latex.el (org-export-latex-preprocess): Added
4779         support for blockquotes.
4781 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
4783         * org.el (org-read-date-analyze): Catch the case where only a
4784         weekday is given.
4786 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
4788         * org.el (org-set-font-lock-defaults): Make the description
4789         tag bold.
4791         * org-exp.el (org-export-as-html, org-close-li): Implement
4792         description lists.
4794 2008-05-04  Jason Riedy  <jason@acm.org>
4796         * org-table.el (*orgtbl-default-fmt*): New variable.
4797         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
4798         when there is no other fmt available.
4800         (orgtbl-to-generic): Allow an explicitly nil :tstart or
4801         :tend to suppress the appropriate string.
4803         (orgtbl-to-orgtbl): New function for translating to another orgtbl
4804         table.
4806 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
4808         * org.el (org-read-date-analyze): "." as an alias for "+0" in
4809         read date.
4811         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
4812         New function.
4814         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
4815         New function.
4817 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
4819         * org-clock.el (org-clock-find-position): Don't include notes
4820         into clock drawer.
4822         * org-archive.el (org-archive-subtree): No longer remove an
4823         extra line after cutting the subtree.  `org-cut-subtree' already
4824         takes care of this.
4826         * org-remember.el (org-remember-handler): Only kill the target
4827         buffer if it does not contain the running clock.
4829         * org.el (org-markers-to-move): New variable.
4830         (org-save-markers-in-region, org-check-and-save-marker)
4831         (org-reinstall-markers-in-region): New function.
4832         (org-move-subtree-down, org-copy-subtree): Remember relative
4833         marker positions before cutting.
4834         (org-move-subtree-down, org-paste-subtree): Restore relative
4835         marker positions after pasting.
4837         * org-remember.el (org-remember-clock-out-on-exit): New option.
4838         (org-remember-finalize): Clock out only if the setting in
4839         `org-remember-clock-out-on-exit' requires it.
4840         (org-remember-handler): Do the cleanup in the buffer, to make sure
4841         that the clock marker remains in tact.
4843 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
4845         * org-clock.el (org-clock-goto): Widen buffer if necessary.
4846         (org-clock-in): Make sure that also tasks outside the narrowed
4847         region will be clocked in correctly.
4848         (org-clock-insert-selection-line): Widen the buffer so that we can
4849         find the correct task heading.
4851         * org.el (org-base-buffer): New function.
4853         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
4854         and ";" are escaped.
4855         (org-print-icalendar-entries): Also apply
4856         `org-icalendar-cleanup-string' to the headline, not only to the
4857         summary property.
4859 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
4861         * org-exp.el (org-export-preprocess-hook): New hook.
4862         (org-export-preprocess-string): Call
4863         `org-export-preprocess-hook'.
4865         * org.el (org-font-lock-hook): New variable.
4866         (org-font-lock-hook): New function.
4867         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
4869 ;; Local Variables:
4870 ;; coding: utf-8
4871 ;; add-log-time-zone-rule: t
4872 ;; End:
4874     Copyright (C) 2008  Free Software Foundation, Inc.
4876   This file is part of GNU Emacs.
4878   GNU Emacs is free software: you can redistribute it and/or modify
4879   it under the terms of the GNU General Public License as published by
4880   the Free Software Foundation, either version 3 of the License, or
4881   (at your option) any later version.
4883   GNU Emacs is distributed in the hope that it will be useful,
4884   but WITHOUT ANY WARRANTY; without even the implied warranty of
4885   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4886   GNU General Public License for more details.
4888   You should have received a copy of the GNU General Public License
4889   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
4891 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c