Empty matcher means prompt in agenda custom commands
[org-mode.git] / lisp / ChangeLog
blobcb09a82ff32eea8029f66f011a0b50bb9bd1066c
1 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-agenda.el (org-agenda-inactive-leader): New option.
4         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
5         (org-tags-view): Prompt for matcher if MATCH is an empty string.
6         (org-todo-list): Prompt for matcher if ARG is an empty string.
8 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
10         * org.el (org-open-link-functions): New hook.
11         (org-open-at-point): Run `org-open-link-functions'.
13 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
15         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
16         stamps as well.
18         * org.el (org-inhibit-startup-visibility-stuff): New variable.
19         (org-mode): Don't do startup visibility if inhibited.
20         (org-outline-overlay-data, org-set-outline-overlay-data): New
21         functions.
22         (org-save-outline-visibility): New macro.
23         (org-log-note-headings): Document that one should not change the
24         `state' note format.
26 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
28         * org.el (org-make-link-regexps): Capture link path into a group.
30 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
32         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
33         the options plist.
35 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
37         * org.el (org-startup-with-beamer-mode): New option.
38         (org-property-changed-functions)
39         (org-property-allowed-value-functions): New hooks.
40         (org-entry-put, org-property-get-allowed-values): Run the new
41         hooks.
42         (org-property-next-allowed-value): Run the new hooks.
44         * org-exp.el (org-export-select-backend-specific-text): Add the
45         special beamer tags.
47         * org-beamer.el
48         (org-export-preprocess-before-selecting-backend-code-hook): New
49         file.
51         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
52         (org-export-as-latex): Run
53         `org-export-latex-after-initial-vars-hook'.
54         (org-export-latex-format-toc-function)
55         (org-export-latex-make-header): Call
56         `org-export-latex-format-toc-function'.
58         * org.el (org-fill-template): Make template searches case sensitive.
60         * org-exp.el (org-export): Use "1" as a sign to export only the
61         subtree.
63         * org-colview-xemacs.el (org-columns-edit-value): Use
64         org-unrestricted property.
66         * org-colview.el (org-columns-edit-value):  Use
67         org-unrestricted property.
69         * org.el (org-compute-property-at-point): Set org-unrestricted
70         text property if the list contains ":ETC".
71         (org-insert-property-drawer):  Use
72         org-unrestricted property.
74         * org-exp.el
75         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
76         (org-export-preprocess-string): Run
77         `org-export-preprocess-before-selecting-backend-code-hook'.
79         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
81         * org-latex.el (org-export-region-as-latex): Run
82         `org-export-first-hook'.
84         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
86         * org-docbook.el (org-export-as-docbook): Run
87         `org-export-first-hook'.
89         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
91         * org-exp.el (org-export-first-hook): New hook.
93 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
95         * org-list.el (org-previous-item): Exit at the beginning of the
96         buffer.
98         * org-id.el (org-id-locations-save): Only write the id locations
99         if any are defined.
101         * org-archive.el (org-archive-all-done): Make this work in a file
102         with org-odd-levels-only set.
104         * org.el (org-get-refile-targets): Catch the case when a buffer
105         has no file.
107         * org-latex.el (org-export-as-latex): Cleanup forced line ends
108         where they are not needed.
109         (org-export-latex-subcontent): Remove unnecessary newlines.
111 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
113         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
114         (org-export-latex-fontify): Fix regexp bug that takes special
115         care of protecting the right boundary characters in emphasis
116         matches.
117         (org-export-latex-preprocess): Allow multiple arguments to latex
118         macros.
120         * org.el (org-make-link-regexps): Use John Gruber's regexp for
121         urls.
123         * org-macs.el (org-re): Interpret :punct: in regexps.
125         * org-exp.el (org-export-replace-src-segments-and-examples): Also
126         take the final newline after the END line.
128         * org.el (org-clean-visibility-after-subtree-move): Only fix
129         entries that are not entirely invisible already.
130         (org-insert-link): Respect org-link-file-path-type for
131         "docview:" links in addition to "file:" links.
133 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
135         * org-exp.el (org-export-format-source-code-or-example): Avoid
136         additional extra white lines in LaTeX.
138         * org-list.el (org-list-parse-list): Leave empty lines after the
139         list, don't consider them as part of the list.
141         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
142         searches.
144         * org-clock.el (org-clock-select-task): Convert integer to
145         character for XEmacs.
147 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
149         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
150         compatible.
152 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
154         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
155         variable.
156         (org-set-tags): Use it.
158 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
160         * org-list.el (org-empty-line-terminates-plain-lists): Update
161         docstring.
163         * org.el (org-format-latex): Fix link creation for processed latex
164         snippets.
166 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
168         * org-footnote.el (org-footnote-normalize): Protect replacement
169         text.
171         * org.el (org-inside-latex-macro-p): Save match data.
173 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
175         * org-docview.el: New file.
177 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
179         * org-latex.el (org-export-latex-class-options): New variable.
180         (org-export-latex-set-initial-vars): Use the class options.
182         * org.el (org-forward-same-level): Stop at headings that start
183         with an invisible character.
184         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
186 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
188         * org-footnote.el (org-footnote-normalize): Don't take optional
189         arguments in LaTeX macros as footnotes.
191         * org.el (org-inside-latex-macro-p): New function.
193         * org-latex.el (org-latex-to-pdf-process): Change customization
194         group to `org-export-pdf'.
196         * org-agenda.el (org-agenda-get-blocks): Look at time string also
197         on days after the first one.
199         * org.el (org-insert-heading): Also check for item before assuming
200         before-first-heading condition.
202         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
203         (org-export-pdf-logfiles): New option.
204         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
205         (org-export-pdf-logfiles): Fix customization type.
207         * org.el (org-insert-link): Improve error message when there is no
208         default link to select with RET.
210         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
211         parameter list.
213 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
215         * org-latex.el (org-export-latex-parse-global)
216         (org-export-latex-parse-content)
217         (org-export-latex-parse-subcontent): Use
218         `org-re-search-forward-unprotected'.
219         (org-export-as-pdf): Remove log files produced by XeTeX.
221         * org-macs.el (org-re-search-forward-unprotected): New function.
223 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
225         * org-colview.el (org-agenda-colview-summarize): Sort out some
226         confusion between properties and titles, which resulted in
227         agenda summaries not working if a title was set for a column.
229 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
231         * org-mobile.el (org-mobile-agendas): New option.
232         (org-mobile-sumo-agenda-command): Select the right agendas.
234         * org-latex.el (org-export-latex-format-image): Preserve the
235         original-indentation property.
237 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
239         * org-clock.el (org-clock-insert-selection-line): Catch error when
240         an old tasks no longer exists.
242         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
243         (org-export-as-pdf): Don't remove the old PDF file before making
244         the new one.
246         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
247         (org-mouse-context-menu): Use `org-looking-back'.
249         * org.el (org-cycle-level): Use `org-looking-back'.
251         * org-list.el (org-cycle-item-indentation): Use
252         `org-looking-back'.
254         * org-compat.el (org-looking-back): New function.
256         * org.el (org-insert-heading): Catch before-first-headline when
257         inserting a headline.
259 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
261         * org-latex.el (org-export-latex-format-image): Indent figure
262         environment, so that it does not interrupt plain list.
264         * org.el (org-open-at-point): Allow long link descriptions.
266 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
268         * org-html.el (org-export-as-html): Remove empty lines at the
269         beginning of the exported text.
271 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
273         * org-protocol.el (org-protocol-remember): Cater for empty title,
274         region, link.
276         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
277         agenda after adding new entry.
278         (org-agenda-get-represented-tags): New function.
279         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
280         to get a list of tags in the agenda.
282         * org-datetree.el (org-datetree-find-day-create): Fix regular
283         expression.
285         * org.el (org-display-outline-path): Use a format specifier for
286         message, to avoid problems with heading containing `%'.
288         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
289         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
290         (org-agenda-fix-displayed-tags): New function.
291         (org-agenda-do-context-action): Just call
292         `org-display-outline-path', without piping the result through
293         `message'.
295         * org-latex.el (org-export-latex-preprocess): Protect secondary
296         footnote references.
298         * org-indent.el (org-indent-initialize): Avoid empty strings as
299         line prefixes.
301         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
302         hat checking for the mark does not throw an error.
303         (org-agenda-diary-entry-in-org-file): Catch the case that there is
304         not `day' text property in the cursor line.
306         * org.el (org-sort-entries-or-items): Make sure that the final
307         entry has a newline before doing the sorting.
309         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
310         property at the beginning of the line.
312         * org.el (org-make-link-string): Don't allow a description with
313         only white space.
315 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
317         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
318         (org-agenda-insert-diary-as-top-level): New function.
319         (org-agenda-add-entry-to-org-agenda-diary-file): Call
320         `org-agenda-insert-diary-as-top-level'.
322         * org.el (org-occur-in-agenda-files): Make sure none of the
323         buffers is narrowed.
324         (org-activate-plain-links): Add the face property here.
325         (org-set-font-lock-defaults): Do not add the face to plain links,
326         the activator function does this.
328         * org-habit.el (org-is-habit-p): Add doc string.
330 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
332         * org-archive.el (org-archive-subtree-default-with-confirmation):
333         Autoload.
335         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
336         after match optional (happens at the end of a line...).
338         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
339         for special blocks.
341         * org-faces.el (org-copy-face): Set lisp indentation.
342         (org-quote, org-verse): New faces.
344         * org-agenda.el (org-agenda-remove-date): Remove variable.
346 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
348         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
350 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
352         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
353         hash keys to cache and re-use images generated by the
354         org-exp-blocks interface to ditaa and dot.
356 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
358         * org-html.el (org-export-as-html): Move the home/up link into
359         the content div.
361         * org.el (org-export-latex-packages-alist): Option definition
362         moved here from org-latex.el.
364 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
366         * org.el (org-format-latex): Latex images are now saved to files
367         named by the sha1 hash of the latex source text avoiding
368         regeneration of identical images.
370 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
372         * org-html.el (org-export-html-home/up-format): Add an ID to the
373         up/home div.
375 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
377         * org-wl.el (org-wl-store-link): Handle the case that
378         `wl-use-petname' is set.
380         * org.el (org-set-effort): Improve prompt.
381         (org-get-outline-path): Widen to get full path.
382         (org-compact-display-after-subtree-move): Function removed.
384         * org-latex.el (org-export-as-latex): Add the :drawers property.
386 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
388         * org.el (org-speed-commands-user): Allow documentation headlines.
389         (org-speed-commands-default): Organize the value of this constant
390         with descriptive headlines.
391         (org-print-speed-command): Output the headlines.
393 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
395         * org-agenda.el (org-agenda-show-outline-path): New option.
396         (org-agenda-do-context-action): New function.
397         (org-agenda-next-line, org-agenda-previous-line): Use
398         `org-agenda-do-context-action'.
400         * org.el (org-use-speed-commands): Allow function value.
401         (org-speed-commands-default): Make headline motion safe, so that
402         these commands always end on a headline.
403         (org-speed-commands-default): New key `v' for `org-agenda'.
404         (org-speed-move-safe): New function.
405         (org-self-insert-command): Use the function value of
406         `org-use-speed-commands'.
407         (org-get-outline-path): Improve docstring.
408         (org-format-outline-path): New function.
409         (org-display-outline-path): New function.
411 2009-11-12  John Wiegley  <jwiegley@gmail.com>
413         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
414         a string, use that to find the LOGBOOK drawer.
416 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
418         * org.el (org-clone-subtree-with-time-shift): Make it work at the
419         end of the buffer.
421         * org-mobile.el (org-mobile-write-checksums): Specify coding
422         system.
423         (org-mobile-timestamp-buffer): Keep local variable/mode line at
424         beginning of buffer.
426         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
428         * org.el (org-block-todo-from-children-or-siblings-or-parent)
429         (org-block-todo-from-checkboxes): Do not block changes to a nil
430         TODO state.
432 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
434         * org-habit.el (org-habit-parse-todo): Indicate which habit is
435         wrongly set up in the error messages.
437         * org-colview.el (org-columns-display-here): Don't try to
438         calculate values if the underlying property is not set.
439         (org-columns-string-to-number): Convert age strings back into
440         fractional days.
441         (org-agenda-colview-summarize): Handle extended summary types
442         properly.
444         * org-colview-xemacs.el (org-columns-display-here): Don't try to
445         calculate values if the underlying property is not set.
446         (org-columns-string-to-number): Convert age strings back into
447         fractional days.
448         (org-agenda-colview-summarize): Handle extended summary types
449         properly.
451 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
453         * org-exp.el (org-export-format-drawer-function): New variable.
454         (org-export-format-drawer): New function.
455         (org-export-preprocess-string): Pass the backend as a parameter to
456         `org-export-remove-or-extract-drawers'.
457         (org-export-remove-or-extract-drawers): New parameter BACKEND.
459         * org-protocol.el (org-protocol-char-to-string): New defsubst.
461 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
463         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
464         message when no block is selected.
466         * org-latex.el (org-export-latex-links): Check for protectedness
467         in the last matched character, not after the match.
469         * org-datetree.el (org-datetree-find-date-create): Respect
470         restriction when KEEP-RESTRICTION is set.
471         (org-datetree-file-entry-under): New function.
472         (org-datetree-cleanup): New command.
474 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
476         * org-src.el (org-edit-src-code): New optional argument context
477         allows calling functions to avoid altering the saved window
478         configuration.
479         (org-edit-src-exit): Do not restore window configuration when this
480         function is used in the context of saving the edit buffer.
482 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
484         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
485         instances to switching to with-current-buffer, because these seem
486         to cause problems - no idea why.
488         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
489         Require diary-lib for (diary-date-display-form).
491         * org.el (org-log-reschedule, org-log-redeadline): New options.
492         (org-log-note-headings): Add templates for rescheduling and
493         deadline changing.
494         (org-startup-options): Add in-buffer settings for logging changing
495         schedule and deadline time stamps.
496         (org-deadline, org-schedule): Check for existing date and arrange
497         for logging if the user requests it.
498         (org-add-log-note): Prepare proper note buffers for rescheduling
499         and deadline changes.
501 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
503         * org-agenda.el (org-agenda-diary-entry-in-org-file)
504         (org-agenda-add-entry-to-org-agenda-diary-file)
505         (org-agenda-insert-diary-make-new-entry): New functions.
506         (org-agenda-diary-entry): Call
507         `org-agenda-diary-entry-in-org-file' when appropriate.
509         * org.el (org-calendar-insert-diary-entry-key): New option.
510         (org-agenda-diary-file): New option.
511         ("calendar"): Install our insertion function in the calendar.
513         * org-remember.el (org-datetree): Require.
514         (org-remember-templates): Add new positioning option.
515         (org-remember-reference-date): New variable.
516         (org-remember-apply-template): Store the reference date in a local
517         variable.
518         (org-remember-handler): Implement date tree positioning of entries.
520         * org-datetree.el: New file.
522         * org-latex.el (org-export-latex-preprocess): Protect targets in
523         verbatim emphasis.
525         * org-html.el (org-export-as-html): Protect targets in verbatim
526         emphasis.
528         * org-docbook.el (org-export-as-docbook): Protect targets in
529         verbatim emphasis.
531 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
533         * org.el (org-link-display-format): Should be literal replacement.
535 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
537         * org-clock.el (org-show-notification): Handle messages that
538         contain a percent character.
540         * org-remember.el (org-remember-apply-template): Turn of partial
541         completion.
543         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
544         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
546         * org.el (org-indent-mode): Define variable already in org.el.
547         (org-unfontify-region): Remove line-prefix and wrap-prefix
548         properties only if org-indent-mode is active.
550 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
552         * org-icalendar.el (org-print-icalendar-entries): Save match data
553         around call to verify function.
554         (org-print-icalendar-entries): Add a call to the verification
555         function.
557         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
558         save-restrivtion' form.
560 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
562         * org-exp.el (org-export-format-source-code-or-example): restrict
563         scope of preserve-indentp to the let binding.
564         (org-src): require org-src, since org-src-preserve-indentation is used.
566 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
568         * org-timer.el (org-timer-set-timer): Set variables
569         org-timer-timer[123] correctly.
572         * org-mobile.el (org-mobile-files-alist): Make it work when
573         `agenda-archives' is included in
574         `org-agenda-text-search-extra-files'.
575         (org-mobile-push): Restore agenda after mobile push.
577 2009-11-05  John Wiegley  <jwiegley@gmail.com>
579         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
580         way the amount of idle time is presented in the minibuffer.
582 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
584         * org-icalendar.el (org-print-icalendar-entries): Use
585         org-icalendar-verify-function only if non-nil.
587         * org.el (org-refile): Refile to clock only if the prefix arg is
588         2.
589         (org-sparse-tree): Fix docstring to be in line with prompt.
590         (org-update-parent-todo-statistics): Call
591         `org-after-todo-statistics-hook' on each level.
593 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
595         * org-remember.el (org-remember-apply-template): Make sure the
596         buffer exists.
598 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
600         * org.el (org-tab-ind-state): New variable.
601         (org-cycle-level): New function.
602         (org-cycle-level-after-item/entry-creation): New option.
603         (org-flag-subtree): New function.
604         (org-hide-archived-subtrees): Call `org-flag-subtree'.
605         (org-set-effort): Indexed access.
607         * org-list.el (org-cycle-item-indentation): New function.
609         * org.el (org-refile): Make prefix argument 2 refile to current
610         clock.
611         (org-priority): Interpret action `remove' as call to remove the
612         priority cookie.
614         * org-remember.el (org-remember-apply-template): Don't depend on
615         buffer name being like file name.
617 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
619         * org-clock.el (org-clock-play-sound): Expand file in
620         org-clock-sound, to allow ~ for home.
622         * org-remember.el (org-remember-handler): Set
623         text-before-node-creation even if this already looks like a node,
624         because the string might be needed on non-org-mode target files.
626         * org-agenda.el (org-agenda-open-link): Make this work in agenda
627         clocktables.
628         (org-agenda-switch-to): Follow a link at point if
629         org-return-follows-link' is set and there is nothing else to do in
630         this line.
632 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
634         * org-colview-xemacs.el: Add in changes from org-colview.el
636 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
638         * org-exp-blocks.el: Modify split separator regexp to avoid empty
639         strings.
641 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
643         * org-colview.el (org-columns-new): Make this work with the new
644         operators.
645         (org-columns-store-format): Make this work with the new operators.
647 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
649         * org-src.el (org-src-preserve-indentation): Document that this
650         variable is also used during export.
652         * org-exp.el (org-export-format-source-code-or-example): Preserve
653         indentation if a block has a -i option, or if
654         `org-src-preserve-indentation' is set.
656         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
657         indentation if a block has a -i option, or if
658         `org-src-preserve-indentation' is set.
660 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
662         * org.el (org-mode-map): Define the new archiving keys.
663         (org-speed-commands-default): Define an archiving key in the speed
664         command map.
665         (org-org-menu): Improve the menu structure concerning archiving.
667         * org-archive.el (org-archive-subtree-default-with-confirmation):
668         New command.
670         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
671         (org-agenda-menu): Add the new archiving commands to the menu.
672         (org-agenda-archive-default)
673         (org-agenda-archive-default-with-confirmation): New commands.
674         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
675         call `org-agenda-archive-with'.
676         (org-agenda-archive-with): New function.
678         * org-table.el (org-table-convert-region): Inert spaces around "|"
679         to avoid line beginnings like "|-1" which will be mistaken as
680         hlines.
682 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
684         * org.el (org-offer-links-in-entry): Return nil if there are no
685         links, t if a link has been selected.
686         (org-open-at-point): Open attachment directory when called in the
687         headline and there are no links in the entry body.
688         (org-speed-commands-default): Add "o" for open-at-point as a speed
689         command.
691         * org-attach.el (org-attach-reveal): Optional prefix arg
692         IF-EXISTS, which avoids creating the attachment directory if it
693         does not yet exist.
695         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
696         MATCH.
698 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
700         * org.el ("abbrev"): Work with abbrev tables only after they have
701         been loaded.
703         * org-list.el (org-list-send-list): Fix bug related to match
704         data.
706         * org-latex.el (org-export-latex-fontify): Apply verbatim
707         emphasis.
708         (org-export-latex-make-header): Insert \obeylines if line breaks
709         should be preserved.
711         * org-exp.el (org-export-protect-verbatim): Add an
712         `org-verbatim-emph' property to such text.
714 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
716         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
717         (org-print-icalendar-entries): Skip entries where the timestamp is
718         not a deadline and not scheduled, if the user requests that.
720         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
721         before an opening quote.
723         * org-archive.el (org-archive-subtree): Keep archive after
724         archiving something.
726         * org-id.el (org-id-update-id-locations): Add archive files if
727         that is required by `org-id-extra-files'.
729 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
731         * org-src.el (org-src-window-setup): New option.
732         (org-src-switch-to-buffer): New function.
733         (org-edit-src-exit): Add optional argument CONTEXT and use it to
734         restore window configuration.
735         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
736         Call `org-src-switch-to-buffer'.
738         * org.el (org-default-properties): Add STYLE property.
739         (org-files-list): Use the function call to get the files.
740         (org-additional-option-like-keywords): Add SETUPFILE to completion
741         list.
743 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
745         * org-table.el (org-table-convert-region): Correctly interpret
746         quoting in csv import.
748         * org.el (org-icompleting-read): Make iswitchb completion work
749         with lists and tables.
751         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
752         while pushing the mobile agenda.
754 2009-10-25  John Wiegley  <jwiegley@gmail.com>
756         * org-clock.el
757         (org-clock-auto-clock-resolution): Now takes three values: nil, t
758         and `when-no-clock-is-running'.
759         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
760         whether or not to resolve Org buffers on clock in.
762 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
764         * org-colview.el (org-format-time-period): Function to format
765         times in fractional days for display.
766         (org-columns-display-here): Add support for showing a calculated
767         value in place of the property.
768         (org-columns): Set `org-columns-time' to the current time so time
769         difference calculations will work.
770         (org-columns-time): Use to store the current time when column view
771         is displayed, so all time differences will use the same reference
772         point.
773         (org-columns-compile-map): There is now an extra position in each
774         entry specifying the function to use to calculate the displayed
775         value for the non-calculated properties in the column,
776         (org-columns-compute-all): Set `org-columns-time' to the current
777         time so time difference calculations will work.
778         (org-columns-compute): Handle column operators where the values
779         used are calculated from the underlying property.
780         (org-columns-number-to-string): Handle the 'age' column format
781         (org-columns-string-to-number): Correct the function name (was
782         org-column...). Add support for the 'age' column format.
783         (org-columns-compile-format): Support the additional parameter in
784         org-columns-compile-map.
786 2009-10-26  Bastien Guerry  <bzg@altern.org>
788         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
789         variable.
791 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
793         * org-clock.el (org-clock-has-been-used): New variable.
794         (org-clock-in): Set `org-clock-has-been-used'.
795         (org-clock-save): Save only if clock data has been used or created
796         during this session.
798 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
800         * org-clock.el (org-clock-persist): New value, to store only the
801         clock history.
802         (org-clock-save): Don't save the clock if only the history should
803         be stored.
804         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
805         when restoring a saved clock.
807 2009-10-24  John Wiegley  <jwiegley@gmail.com>
809         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
810         `org-time-clock-use-fractional'.
812         * org.el (org-time-clocksum-use-fractional)
813         (org-time-clocksum-fractional-format): Two new customizable
814         variables which allow the user to select fractional times (1.25
815         instead of 1:25) in the `org-clock-display' report.
817 2009-10-23  John Wiegley  <jwiegley@gmail.com>
819         * org-habit.el (org-habit-build-graph): None of the arguments
820         should be optional.
821         (org-habit-parse-todo, org-habit-deadline)
822         (org-habit-get-priority, org-habit-get-faces)
823         (org-habit-build-graph): Further simplifications by storing all
824         past, scheduled and deadline dates as a number of days past the
825         epoch, and not as times.
827         * org-habit.el (org-habit-warning-face)
828         (org-habit-warning-future-face): Removed because these are no
829         longer used.
830         (org-habit-deadline, org-habit-deadline-repeat): Now always
831         returns a date; computed if there was a scheduled repeater but no
832         deadline repeater.
833         (org-habit-get-priority): Further improvements to the priority
834         algorithm.  In particular, items past due should always appear
835         before items due or not yet due.
836         (org-habit-get-faces): Greatly simplified the logic, now that
837         `org-habit-deadline' always returns a valid time.
839 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
841         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
842         New option.
844         * org.el (org-tag-alist): Fix customization type.
846 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
848         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
849         Make sure the regexp search can fail without throwing an error.
850         (org-mobile-apply): Save the inbox buffer after removing
851         successfully applied changes.
853 2009-10-22  John Wiegley  <jwiegley@gmail.com>
855         * org-habit.el (org-habit-build-graph): Fix to the graph building
856         when last DONE date is earlier than `org-habit-preceding-days'.
858         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
859         time is reported after the user comes back (but before they
860         resolve time).
862         * org.el (org-get-repeat): Change so that this function can be
863         called with either `org-scheduled-string' or
864         `org-deadline-string'.
866         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
867         to find the scheduled date.
869         * org-clock.el (org-clock-auto-clock-resolution): Renamed
870         `org-clock-disable-clock-resolution', since negatives don't sound
871         good in customization variables.
872         (org-clock-in): Don't use the auto-resolution logic if the user is
873         clocking into a different task while an active clock is running.
874         This then allows the default behavior of clocking out of the open
875         task and then into the new task.
877         * org-habit.el (org-habit-parse-todo): Generate an error if a
878         habit has a scheduled repeat period < 1.
879         (org-habit-get-faces): Fixes to the way that colors are computed.
880         (org-habit-build-graph): The graph wasn't displaying beyond any
881         day that had two completions in it.
883         * org.el (org-modules): Made this variable more consistent, since
884         it was referring to Org, OrgMode and Org-mode, whereas the docs
885         for the variable always refer to Org-mode.
887 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
889         * org.el (org-repeat-re): The changed org-repeat-re no longer
890         matched simple +2d type repeaters. Fix it so it does.
892 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
894         * org-latex.el (org-export-latex-preprocess): Protect the vspace
895         macro in the VERSE environment.
897 2009-10-20  John Wiegley  <jwiegley@gmail.com>
899         * org-habit.el (org-habit-get-priority): A new function that
900         determines the relative priority of a habit, based on how long
901         past its scheduled date it is, and how near the deadline is.
903         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
904         using `org-habit-get-priority'.
906         * org-habit.el (org-habit-build-graph): Start displaying colors
907         from the first scheduled date, if that date is earlier than the
908         first completion date.
910         * org-habit.el: Changed all "color" variables to faces, and made
911         them appropriate for light and dark backgrounds.
913         * org-habit.el (org-habit-duration-to-days): Made this function
914         more general.
915         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
917         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
918         habits, since they don't use DEADLINE anymore.
920         * org.el (org-repeat-re, org-display-custom-time)
921         (org-timestamp-change): Extended to support the new ".+N/N"
922         syntax, used for habits.
924         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
925         variable reference.
927         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
928         modeline when habits are being displayed (if that module is being
929         loaded).
931 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
933         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
934         idle time using the xscreensaver extension.
935         (org-user-idle-seconds): Use X11 idle time if available.
937 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
939         * org-agenda.el (org-agenda-next-line): New command.
940         (org-agenda-previous-line): New commands.
941         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
942         commands.
943         (org-agenda-follow-mode): Do the follow immediately if the mode is
944         turned on here.
945         (previous-line, next-line): Replace keys with the corresponding
946         org functions.
947         (org-agenda-mode-map): Bind backspace and delete to the scrolling
948         command.
950         * org.el (org-icompleting-read): Turn off partial completion mode
951         for the duration of this completion round.
953         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
954         macros in author lines and similar stuff.
956         * org.el (org-file-tags): Fix docstring.
957         (org-get-buffer-tags): Add the #+FILETAGS tags.
958         ("ecb"): Maks ecb show context after jumping into an Org file.
960 2009-10-20  John Wiegley  <johnw@newartisans.com>
962         * org-agenda.el (org-finalize-agenda): Draw habit consistency
963         graphs after everything else in the buffer has been setup.
965 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
967         * org-mobile.el (org-mobile-apply): Count success and failure.
969         * org.el (org-indent-line-function): Fix regexp replace problem.
971 2009-10-19  John Wiegley  <johnw@newartisans.com>
973         * org-clock.el (org-clock-disable-clock-resolution): New
974         customization variable that disable automatic clock resolution on
975         clock in.
976         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
977         not automatically resolve anything.  This is does not affect
978         idle-time resolution, however, if `org-clock-idle-time' is set.
980 2009-10-19  John Wiegley  <johnw@newartisans.com>
982         * org-habit.el: New file, which implements code to build a "habit
983         consistency graph".
985         * org-agenda.el (org-agenda-get-deadlines)
986         (org-agenda-get-scheduled): Display consistency graphs when
987         outputting habits into the agenda.  The graphs are always relative
988         to the current time.
989         (org-format-agenda-item): Added new parameter `habitp', which
990         indicates whether we are formatting a habit or not.  Do not
991         display "extra" leading information if habitp is true.
993         * org.el (org-repeat-re): Improved regexp to include .+ and ++
994         leaders for repeat strings.
995         (org-get-repeat): Now takes a string parameter `tagline', so the
996         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
998 2009-10-19  John Wiegley  <johnw@newartisans.com>
1000         * org-agenda.el (org-agenda-auto-exclude-function): New
1001         customization variable for allowing the user to create an "auto
1002         exclusion" filter for doing context-aware auto tag filtering.
1003         (org-agenda-filter-by-tag): Changes to support the use of
1004         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1006 2009-10-18  John Wiegley  <johnw@newartisans.com>
1008         * org.el (org-files-list): Don't attempt to return a file name for
1009         Org buffers which have no associated file.
1011         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1013 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1015         * org-mobile.el (org-mobile-locate-entry): Interpret files
1016         relative to org-directory.
1017         (org-mobile-inbox-for-pull): Document the best location for this
1018         file.
1019         (org-mobile-check-setup): Verify `org-directory'.
1020         (org-mobile-create-index-file): Sort the files to be listed in
1021         index.org.
1023 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1025         * org.el (org-fast-tag-selection): Add a way to display a
1026         description for a tag group. This is done by adding a string to
1027         either the startgroup or endgroup cell.
1029 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1031         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1032         (org-emacs-idle-seconds): Use `org-float-time' instead of
1033         `time-to-seconds'
1035 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1037         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1038         type.
1040         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1041         the value of ARG when doing local cycling.
1043 2009-10-17  John Wiegley  <johnw@newartisans.com>
1045         * org-clock.el (org-clock-resolve-clock): If keeping or
1046         subtracting time results in a clock out at a time in the past, and
1047         if the resolution occurred due to idleness or invoking `M-x
1048         org-resolve-clocks', remember that past moment in time.  On the
1049         next clock in, the user will be prompted to see if they want to
1050         back-date their new clock to then.
1051         (org-clock-resolve): Do not jump the user to the location of a
1052         dangling clock if the resolution is occuring due to an idle
1053         timeout.  In that case there is typically only one dangling clock,
1054         the active one, and there is no value gained by shuffling their
1055         windows around to show it to them.  Being prompted to resolve an
1056         idle clock should be as inobtrusive as possible.
1057         (org-resolve-clocks-if-idle): New function that resolves only the
1058         currently active clock if the user has exceeded the time returned
1059         by `org-user-idle-seconds', based on the value of
1060         `org-clock-idle-time'.
1061         (org-clock-in): If, after resolving clocks,
1062         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1064         * org-clock.el (org-clock-resolve-clock): New function that
1065         resolves a clock to a specific time, closing or resuming as need
1066         be, and possibly even starting a new clock.
1067         (org-clock-resolve): New function used by `org-resolve-clocks'
1068         that sets up for the call to `org-clock-resolve-clock'.  It
1069         determines the time to resolve to based on a single-character
1070         selection from the user to either keep time, subtract away time or
1071         cancel the clock.
1072         (org-resolve-clocks): New user command which resolves dangling
1073         clocks -- that is, open but not active -- anywhere in the file
1074         list returned by `org-files-list'.
1075         (org-clock-in): Automatically resolve dangling clocks whenever a
1076         user clocks in.
1077         (org-clock-cancel): If the user cancels the solely clock in a
1078         LOGBOOK, remove the empty drawer.
1080         * org-clock.el (org-clock-idle-time): New user customizable option
1081         for detecting whether the user has left a clock idle.  Note: it is
1082         only used in this commit to test whether it's worthwhile to check
1083         OS X to get the Mac user's current idle time.  If the Emacs idle
1084         time is less than the value, the user hasn't been away long enough
1085         to be worth checking (a more expensive test than just getting
1086         Emacs idle time).
1087         (org-user-idle-seconds, org-mac-idle-seconds)
1088         (org-emacs-idle-seconds): This three functions, in conjunction
1089         with the user customization variable `org-clock-idle-time', return
1090         the number of seconds (as a floating point) that the user has been
1091         away from their Emacs (or, if running on OS X, their computer).
1093         * org-clock.el (org-find-open-clocks): New function that returns a
1094         list of all open clocks in the given FILE.  Note that each clock
1095         it returns is a cons cell of the format (MARKER . START-TIME).
1096         This "clock" value is used by several of the new clock module
1097         utility functions.
1098         (org-is-active-clock): New inline function which tests whether the
1099         given clock value is the same as the currently active clock.
1100         Returns non-nil if this is the case.
1101         (org-with-clock-position): New macro that evaluates FORMS with
1102         point in the buffer and at the position of the given clock.
1103         Changes to the current clock are global.
1104         (org-with-clock): New macro that evaluates FORMS with point in the
1105         buffer and at the position of the given clock.  However, changes
1106         to the current clock are local and have no effect on the user's
1107         active clock.  This allows, for example, far any clock to be
1108         cancelled without cancelling the active clock.
1109         (org-clock-clock-in): New inline function that switches the active
1110         clock to the given clock.  If either the argument RESUME, or the
1111         global `org-clock-in-resume', are non-nil, it will resume a clock
1112         that was previously left open.
1113         (org-clock-clock-out): New inline function that clocks out the
1114         given clock value without affecting the currently active clock.
1115         (org-clock-clock-cancel): New inline function that cancels the
1116         given clock value without affecting the currently active clock.
1118         * org-clock.el (org-clock-in): Before creating
1119         `org-clock-mode-line-timer', check to make sure an older timer is
1120         not currently running.
1121         (org-clock-out): Accept new third parameter `at-time', which
1122         permits a clock to be clocked out at a specific time.  Note that
1123         no attempt is made to verify that the clock out time is later than
1124         the clock in time.
1126         * org.el (org-files-list): New utility function for returning a
1127         list of all open org-mode buffers, plus all files used to build
1128         the agenda buffer.  Note that not all the files will necessarily
1129         be visited by a buffer at time of call.
1130         (org-entry-beginning-position): Like the function
1131         `line-beginning-position', this inline function returns the
1132         beginning position of the current heading/entry.
1133         (org-entry-end-position): Like the function `line-end-position',
1134         this inline function returns the end position of the current
1135         heading/entry.
1137 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1139         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1140         a header line.
1142 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1144         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1146 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1148         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1149         entries that have no tags.
1150         (org-agenda-search-view): New customize group.
1151         (org-agenda-search-view-search-words-only): New option.
1152         (org-search-view): Implement substring search.
1154 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1156         * org.el (org-outline-level): Add doc string.
1158 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1160         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1161         variable.
1162         (org-inlinetask-export-handler): Only export inline task if the
1163         user option calls for it.
1165 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1167         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1168         END if present.
1170 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1172         * org-latex.el (org-export-latex-tables): Don't format in
1173         protected regions.
1175 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1177         * org-src.el (org-edit-src-code)
1178         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1179         macro editing.
1181         * org-agenda.el (org-prefix-category-max-length): New variable.
1182         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1183         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1185 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1187         * org-mobile.el (org-mobile-create-index-file): Improve the
1188         listing of tags and todo keywords.
1190         * org-latex.el (org-export-latex-format-image): New function.
1191         (org-export-latex-links): Use `org-export-latex-format-image'.
1193 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1195         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1196         (org-inlinetask-remove-terminator): New functions.
1197         (org-inlinetask-export-handler): Terminate the description list.
1199         * org-exp.el (org-export-select-backend-specific-text): Remove the
1200         region markers.
1202         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1203         tasks without content.
1205         * org-clock.el: Make sure the clock-in target position does not
1206         move to a different node by widening the buffer.
1208         * org-html.el (org-export-html-format-image): Wrap image into
1209         figure div only when there is a caption.
1211         * org-archive.el (org-archive-mark-done): Change default value to
1212         nil.
1214 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1216         * org.el (org-context): Call `bobp', not `eobp'.
1218         * org-clock.el (org-clock-cancel): Remove quotes from marker
1219         variables.
1221         * org.el (org-read-date-prefer-future): New allowed value `time'.
1222         (org-read-date-analyze): Shift day to tomorrow depending on time
1223         entered and value of `org-read-date-prefer-future'.
1225 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1227         * org.el (org-set-tags-to): New command.
1229         * org-mobile.el (org-mobile-action-alist): Add more options and
1230         update the docstring.
1231         (org-mobile-apply-flags): Parse for and use the data.
1233         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1234         the plist.
1236         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1237         keyword.
1239         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1241 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1243         * org-inlinetask.el (org-inlinetask-export): Option removed.
1244         (org-inlinetask-export-handler): Better export.
1246         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1247         (org-export-as-xoxo): Run the new hook.
1249         * org-html.el (org-export-html-final-hook): New hook.
1250         (org-export-as-html): Run the new hook.
1252         * org-docbook.el (org-export-docbook-final-hook): New hook.
1253         (org-export-as-docbook): Run the new hook.
1255         * org-ascii.el (org-export-ascii-final-hook): New hook.
1256         (org-export-as-ascii): Run the new hook.
1258         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1259         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1261         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1262         space character as the character before the ^/_.
1263         (org-export-latex-final-hook): New hook.
1264         (org-export-as-latex): Run `org-export-latex-final-hook'.
1266 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1268         * org-macs.el (org-if-unprotected-at): Fix docstring.
1270         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1271         text in the prefix (if category is a link).
1273         * org-latex.el (org-export-latex-preprocess): Deal properly with
1274         empty lines in verse environments.
1276         * org.el (org-format-latex-header): Inline fullpage.sty.
1278         * org-footnote.el (org-footnote-create-definition): Reveal context
1279         to add a new footnote definition.
1281         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1282         the index file.
1283         (org-mobile-files): New option.
1284         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1285         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1286         functions.
1287         (org-mobile-push): Start by creating the files lists.
1288         (org-mobile-copy-agenda-files): Move killing the buffer to after
1289         the save-excursion has exited.
1290         (org-mobile-write-checksums): Write checksums also for files in
1291         sub-directories.
1293         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1294         org-table-recalculate when cursor is in TBLFM line.
1296         * org-list.el (org-renumber-ordered-list): Fix cursor position
1297         when bullet length has changed.
1299 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1301         * org.el (org-format-latex): Mention `org-format-latex-options' in
1302         the docstring.
1304 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1306         * org.el (org-agenda-get): New function.
1308         * org-agenda.el (org-agenda-post-command-hook): No longer move
1309         point away from end of line.
1310         (org-agenda-add-entry-text, org-agenda-collect-markers)
1311         (org-finalize-agenda, org-agenda-mark-clocking-task)
1312         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1313         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1314         (org-agenda-compare-effort, org-agenda-filter-apply)
1315         (org-agenda-later, org-agenda-change-time-span)
1316         (org-agenda-post-command-hook, org-agenda-show-priority)
1317         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1318         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1319         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1320         (org-agenda-open-link, org-agenda-copy-local-variable)
1321         (org-agenda-switch-to, org-agenda-check-no-diary)
1322         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1323         (org-agenda-add-note, org-agenda-change-all-lines)
1324         (org-agenda-priority, org-agenda-set-tags)
1325         (org-agenda-set-property, org-agenda-set-effort)
1326         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1327         (org-agenda-show-new-time, org-agenda-date-prompt)
1328         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1329         (org-agenda-clock-in, org-agenda-bulk-mark)
1330         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1331         `org-get-at-bol'.
1333         * org-colview.el (org-columns-display-here)
1334         (org-columns-edit-allowed, org-agenda-columns): Use
1335         `org-get-at-bol'.
1337 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1339         * org.el (org-special-ctrl-a/e): Improve documentation and
1340         customize type.
1341         (org-end-of-line): Don't jump to after the ellipsis.
1342         (org-mode-map): Bind <home> and <end> as well.
1344 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1346         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1347         space after #+ as comments.
1348         (org-open-at-point): Run `org-follow-link-hook' always.
1350         * org-latex.el (org-export-latex-emph-format): Use better commands
1351         to insert special characters in verbatim snippets.
1353 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1355         * org-faces.el (org-copy-face): New function.  Use it to create
1356         various faces formerly created by using `copy-face'.
1358         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1359         window dedicated.
1360         (org-agenda-quit): Kill the frame containing the agenda window if
1361         that frame was created for the agenda.
1363 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1365         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1366         stamp in the agenda.
1368 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1370         * org-mobile.el (org-mobile-create-index-file): Add the list of
1371         TODO keywords, and the list of drawers to the index file.
1373         * org-agenda.el (org-prepare-agenda): Reset
1374         `org-drawers-for-agenda'.
1375         (org-prepare-agenda): Uniquify list of drawers.
1377         * org.el (org-complex-heading-regexp-format): New variable.
1378         (org-set-regexps-and-options): Define
1379         `org-complex-heading-regexp-format'.
1380         (org-drawers-for-agenda): New variable.
1381         (org-map-entries): Bind `org-drawers-for-agenda'.
1382         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1384         * org-remember.el (org-go-to-remember-target)
1385         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1387 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1389         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1390         problem.
1392         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1393         the capture file, and make it non-configurable.
1395         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1396         always with `invisible-ok'.
1397         (org-store-link): No error when there is nothing to link to in the
1398         agenda.
1400         * org-list.el (org-update-checkbox-count): Insert changed cookie
1401         before the old, to avoid problems with invisibility at the end of
1402         the line.
1403         (org-update-checkbox-count): Insert changed cookie before the old,
1404         to avoid problems with invisibility at the end of the line.
1406         * org.el (org-sort-entries-or-items): Include the final newline.
1407         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1408         lines for fontification.
1409         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1410         (org-prepare-dblock): Store the current indentation of the BEGIN
1411         line.
1412         (org-update-dblock): Apply the indentation of the begin line to
1413         the rest of the block.
1414         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1415         (org-startup-folded): New allowed value `showeverything'.
1416         (org-startup-options): Add STARTUP keyword `showeverything'.
1417         (org-set-startup-visibility): Respect value `showeverything' in
1418         org-startup-folded.
1420 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1422         * org.el (org-closest-date): Fix issue with past preference.
1424         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1426         * org-archive.el (org-archive-set-tag)
1427         (org-archive-subtree-default): New commands.
1429         * org-mobile.el (org-mobile-create-index-file): Fix link to
1430         capture file.
1431         (org-mobile-copy-agenda-files): Create the capture file if it does
1432         not exist.
1434         * org-clock.el (org-clock-clocktable-default-properties): New
1435         option.
1436         (org-clock-report): Use
1437         `org-clock-clocktable-default-properties'.
1439 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1441         * org.el (org-iswitchb-completing-read): Fix typo.
1443         * org-crypt.el: New file.
1445         * org.el: Add an entry for org-crypt.
1447 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1449         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1450         consistency.
1451         (org-batch-store-agenda-views): New function.
1452         (org-mobile-force-id-on-agenda-items): Mention variable.
1453         (org-agenda-title-append): Define variable.
1454         (org-write-agenda): New export to Org files.
1455         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1456         (org-agenda): Allow to keep the restricted file list if a special
1457         variable is bound to t.
1458         (org-agenda): Define a special agenda view for working on flagged
1459         entries.
1460         (org-agenda-get-restriction-and-command): List the new agenda
1461         view.
1462         (org-agenda-show-the-flagging-note): New command.
1463         (org-agenda-mode-map): New key `?' for looking at the flagging
1464         note.
1466         * org.el (org-autoload): Autoload org-mobile.el.
1467         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1469         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1471 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1473         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1474         statements.
1475         (org-table-get-remote-range): Match indented #+TBLNAME
1476         statements.
1478         * org.el (org-convert-to-odd-levels)
1479         (org-convert-to-oddeven-levels): Work also correctly if the file
1480         is in outline-mode.
1482 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1484         * org.el (org-store-link): When in agenda buffer, link to
1485         referenced entry.
1486         (org-add-planning-info): Remove spaces at eol.
1488         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1489         property.
1491 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1493         * org-latex.el (org-export-latex-first-lines): Fix problem with
1494         LaTeX export of first line and selected subtree.
1496         * org.el (org-shifttab): Interpret arg differently when using only
1497         odd levels.
1499 2009-09-09  Bastien Guerry  <bzg@altern.org>
1501         * org.el (org-check-agenda-file): Use a more explicit message
1503 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1505         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1506         normal lines.
1508 2009-09-08  Bastien Guerry  <bzg@altern.org>
1510         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1511         prompt in the temporary window.
1513         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1514         prefix for marked entries in the agenda view.
1516 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1518         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1519         a way that prevents any trailing character from being displayed.
1521 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1523         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1524         menu.
1526         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1527         slow regexp match.
1529 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1531         * org-latex.el (org-export-latex-preprocess): Do not protect in
1532         the LaTeX header.
1534         * org-src.el (org-edit-src-save): Save window setup while saving.
1535         (org-edit-src-code): Use new buffer name construction scheme.
1537 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1539         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1540         variable.
1541         (org-agenda-entry-text-cleanup-hook): New hook.
1542         (org-agenda-get-some-entry-text): Remove matches of
1543         `org-agenda-entry-text-exclude-regexps' and run the hook
1544         `org-agenda-entry-text-cleanup-hook'.
1546         * org.el (org-offer-links-in-entry): New argument ZERO to
1547         implement a link with index zero.
1548         (org-cycle-show-empty-lines): Not keep empty line under header
1549         hidden.
1550         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1551         to nil for special completion.
1552         (org-store-link): Don't error before the first heading.
1554         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1555         `org-offer-links-in-entry'.
1557 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1559         * org-agenda.el (org-agenda-quit): Provide the window argument for
1560         `window-dedicated-p', Emacs 22 needs it.
1561         (org-format-agenda-item): If the category is a link, arrange for
1562         invisible text to replaced with spaces.
1563         (org-compile-prefix-format): Add the extra space.
1564         (org-prefix-category-length): New variable.
1566         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1567         references from TOC lines.
1569         * org.el (org-selected-window): New variable.
1571         * org-table.el (org-table-edit-formulas): Remember the selected
1572         window.
1573         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1574         that was originally selected.
1576         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1577         expansion of a macro for more macro definitions.
1579         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1580         invisibility overlay starts on the newline.
1582 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1584         * org-protocol.el (org-protocol-store-link)
1585         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1587         * org-compat.el (org-float-time): New function.
1589         * org.el (org-clock-update-time-maybe)
1590         (org-sort-entries-or-items, org-do-sort)
1591         (org-evaluate-time-range, org-time-string-to-seconds)
1592         (org-closed-in-range): Use `org-float-time'.
1594         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1595         (org-timer-seconds):  Use `org-float-time'.
1597         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1598         (org-clock-sum, org-dblock-write:clocktable)
1599         (org-clocktable-steps):  Use `org-float-time'.
1601         * org-agenda.el (org-agenda-last-marker-time)
1602         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1604         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1605         function.
1607         * org-exp.el (org-get-file-contents): Only protect lines that
1608         really need it.
1610         * org-html.el (require): Require cl for compilation.
1612         * org.el:  Avoid using `default-major-mode'.
1614         * org-plot.el (require): Require CL only at compile time.
1616         * org-exp.el (require): Require CL only at compile time.
1618         * org-agenda.el (org-agenda-quit): When the agenda window is
1619         dedicated, remove other windows before exiting, so that the frame
1620         really will be killed.
1622         * org-exp.el (org-export-handle-include-files): Reset START and
1623         END for each loop cycle.
1625 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1627         * org.el (org-eval-in-calendar): Use
1628         `org-select-frame-set-input-focus'.
1630         * org-compat.el (org-select-frame-set-input-focus): New function.
1632         * org.el (org-update-statistics-cookies): New function.
1633         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1635 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1637         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1638         after the local variables are set.
1640         * org-latex.el (org-export-latex-protect-amp): New function.
1641         (org-export-latex-links): Protect link ampersands in tables.
1643         * org-exp.el (org-export-select-backend-specific-text): Match in
1644         two steps, to avoid regexp problems.
1646         * org.el (org-offer-links-in-entry): Improve working with many and
1647         duplicate links.
1649         * org-agenda.el (org-agenda-show-1): Make more consistent with
1650         normal cycling.
1651         (org-agenda-cycle-show): Make more consistent with normal cycling.
1653         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1654         website.
1656 2009-08-30  Bastien Guerry  <bzg@altern.org>
1658         * org-latex.el (org-export-latex-first-lines): Bugfix.
1660 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1662         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1663         about new effort.
1665         * org.el (org-set-effort): New function.
1666         (org-mode-map): New key for effort setting command.
1668         * org-agenda.el (org-agenda): Keep window setup when calling
1669         agenda from within agenda window.
1670         (org-agenda-mode-map): New keys for effort setting commands.
1671         (org-agenda-menu): Add effort setting commands to menu.
1672         (org-agenda-set-property, org-agenda-set-effort): New functions.
1674         * org-latex.el (org-export-latex-tables): Fix
1675         `org-table-last-alignment' and `org-table-last-column-widths' if
1676         the first column has been removed.
1678 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1680         * org.el (org-remove-timestamp-with-keyword): Only remove in
1681         entry, not in subtree.
1683         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1684         emacs lisp.
1686         * org.el (org-open-at-point): When on headline, offer all strings
1687         in entry.
1689         * org-remember.el (org-remember-templates): Documentation fix.
1691         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1692         `org-get-last-sibling' instead of the outline versions of these
1693         functions.
1694         (org-get-last-sibling): New function.
1695         (org-refile): Use `org-get-next-sibling' instead of the outline
1696         version of this function.
1697         (org-clean-visibility-after-subtree-move): Use
1698         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1699         outline versions of these functions.
1701 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1703         * org-agenda.el (org-prepare-agenda): When creating a new frame
1704         for the agenda, make the window dedicated.
1706         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1708         * org-table.el (org-table-align): Change the order of reinsertion
1709         and deletion, to avoid problems with overlays following the table.
1711         * org.el (org-parse-time-string): Better error message.
1712         (org-show-subtree): Use org-end-of-subtree.
1714         * org-macs.el (org-goto-line): New defsubst.
1716         * org.el (org-open-file, org-change-tag-in-region)
1717         (org-fast-tag-show-exit): Don't use `goto-line'.
1719         * org-table.el (org-table-align, org-table-insert-column)
1720         (org-table-delete-column, org-table-move-column)
1721         (org-table-sort-lines, org-table-copy-region)
1722         (org-table-paste-rectangle, org-table-wrap-region)
1723         (org-table-get-specials, org-table-rotate-recalc-marks)
1724         (org-table-get-range, org-table-recalculate)
1725         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1726         (org-table-show-reference, org-table-highlight-rectangle): Don't
1727         use `goto-line'.
1729         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1730         (org-edit-src-exit): Don't use `goto-line'.
1732         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1734         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1735         Don't use `goto-line'.
1737         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1739         * org-colview.el (org-columns, org-columns-redo)
1740         (org-agenda-columns): Don't use `goto-line'.
1742         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1743         use `goto-line'.
1745         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1746         (org-agenda-add-entry-text-maxlines): Improve docstring.
1747         (org-agenda-start-with-entry-text-mode): New option.
1748         (org-agenda-entry-text-maxlines): New option.
1749         (org-agenda-entry-text-mode): New variable.
1750         (org-agenda-mode): Set initial value of
1751         `org-agenda-entry-text-mode'.
1752         (org-agenda-mode-map): Add the `E' key.
1753         (org-agenda-menu): Add entry text mode to the menu.
1754         (org-agenda-get-some-entry-text): Fix line count bug.
1755         (org-finalize-agenda): Apply entry text mode if appropriate.
1756         (org-agenda-entry-text-show-here): New function.
1757         (org-agenda-entry-text-show): New function.
1758         (org-agenda-entry-text-hide): New function.
1759         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1760         key menu.
1761         (org-agenda-entry-text-mode): New command.
1762         (org-agenda-set-mode-name): Add entry text mode to the mode line
1763         string.
1764         (org-agenda-undo, org-agenda-get-restriction-and-command)
1765         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1766         `goto-line'.
1768 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1770         * org-clock.el (org-notify): Bugfix.
1772 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1774         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1775         check for after-string.
1777         * org-gnus.el (org-gnus-store-link): Simplify.
1779         * org.el (org-latex-regexps): Don't add extra empty lines for
1780         display formulas.
1782 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1784         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1785         (org-agenda-add-entry-text): Use
1786         `org-agenda-get-some-entry-text'.
1788         * org.el (org-cycle-separator-lines): Update docstring.
1789         (org-cycle-show-empty-lines): Handle negative values for
1790         `org-cycle-show-empty-lines'.
1792         * org-exp.el (org-export-protect-sub-super): New function.
1793         (org-export-normalize-links): Protect the url of plain links from
1794         supscript and superscript processing.
1796         * org-remember.el (org-remember-escaped-%): New function.
1797         (org-remember-apply-template): Use `org-remember-escaped-%' to
1798         detect escaped % signs.
1800 2009-08-23  Bastien Guerry  <bzg@altern.org>
1802         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1803         sound when showing the notification.
1805         * org-clock.el (org-notify): New function.
1806         (org-clock-notify-once-if-expired): Use `org-notify'.
1808         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1809         and `gnus-article-mode' separately.
1810         (gnus-summary-article-header): Fix the declare-function.
1812 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1814         * org-exp.el (org-export-format-source-code-or-example): Translate
1815         language.
1817         * org-src.el (org-src-lang-modes): New variable
1818         (org-edit-src-code): Translate language.
1820         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1821         the new structure of the `org-export-latex-listings-langs'
1822         variable.
1824         * org-latex.el (org-export-latex-listings-langs): Change structure
1825         of the variable from plist to alist.
1827 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1829         * org.el (org-in-commented-line): New function.
1831 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1833         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1835 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1837         * org.el (org-flag-drawer): More useful error.
1839 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1841         * org-remember.el (org-remember-apply-template): Use
1842         org-icompleting-read.
1844         * org-publish.el (org-publish): Use org-icompleting-read.
1846         * org-colview.el (org-columns-edit-value, org-columns-new)
1847         (org-insert-columns-dblock): Use org-icompleting-read.
1849         * org-colview-xemacs.el (org-columns-edit-value)
1850         (org-columns-new, org-insert-columns-dblock): Use
1851         org-icompleting-read.
1853         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1854         org-icompleting-read.
1856 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
1858         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1859         (org-version): Return the version text.
1860         (org-org-menu): Add a menu entry for the new bug reporter.
1861         (org-submit-bug-report): New command.
1863         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1864         docstring.
1866         * org.el (org-emphasis-regexp-components): Add "`" to set of
1867         pre-emphasis characters.
1869         * org-latex.el (org-export-latex-classes): Always include the soul
1870         package.
1871         (org-export-latex-emphasis-alist): Use \st for strikethough.
1873         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1874         `indent-code-rigidly' to indent.
1876         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1877         properties only if MATCH really is a string.
1879 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
1881         * org-latex.el (org-export-latex-packages-alist): Fix
1882         customization type.
1884         * org.el (org-create-formula-image): Also use
1885         `org-export-latex-packages-alist'.
1887         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1888         (org-export-as-html): Format footnotes correctly.
1890 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
1892         * org.el (org-fast-tag-selection): Avoid text properties on tags
1893         in the alist.
1895         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1896         text properties on the match element.
1898 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
1900         * org.el (org-set-regexps-and-options): Make sure the list of done
1901         keywords is not invalid.
1903         * org-exp.el (org-export-interpolate-newlines): New function.
1905 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
1907         * org.el (org-format-latex): Avoid nested overlays.
1909         * org-latex.el (org-export-latex-listings-langs): Add a few more
1910         languages.
1912         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1913         ignore newlines and space before the first macro argument.
1915         * org-latex.el (org-export-latex-tables): Remove save-excursion
1916         around `org-table-align'.
1918 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
1920         * org.el (org-export-html-special-string-regexps): Definition
1921         moved into org.el
1923         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1924         in macro calls.
1926 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
1928         * org-latex.el (org-export-latex-listings)
1929         (org-export-latex-listings-langs): New options.
1931         * org-exp.el (org-export-format-source-code-or-example): Use
1932         listing package if requested by the user.
1934 2009-08-08  Bastien Guerry  <bzg@altern.org>
1936         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1937         command before actually switching to a buffer.
1939 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
1941         * org-exp.el (org-get-file-contents): Only quote org lines when
1942         the markup is src or example.
1944         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1945         New option
1946         (org-agenda-get-day-entries): Remember deadline results and pass
1947         them on into the function getting the scheduling information.
1948         (org-agenda-get-scheduled): Accept deadline results as parameters
1949         and maybe skip some entries.
1950         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1952         * org.el (org-insert-heading): When respecting content, do not
1953         convert current line to headline.
1955         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1956         cheeeeeck the hd marker
1957         (org-clock-in): Also set the hd marker.
1958         (org-clock-out): Also set the hd marker.
1959         (org-clock-cancel): Reset markers.
1961         * org.el (org-clock-hd-marker): New marker.
1963         * org-faces.el (org-agenda-clocking): New face.
1965         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1966         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1968         * org.el (org-modules): Add org-track.el.
1970         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1971         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1972         `org-agenda-bulk-marked-p'.
1973         (org-agenda-bulk-toggle): New command.
1975 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1977         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1978         not just the body.
1980         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1981         messages.
1983 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
1985         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1986         before gnuplot can read it.
1988 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
1990         * org-latex.el (org-export-latex-first-lines): Fix bug with
1991         finding the end of the first lines.
1993         * org.el (org-create-formula-image): Remove the -E option for
1994         dvipng.
1996         * org-exp.el (org-default-export-plist): Respect #+BIND.
1997         (org-export-confirm-letbind): New function.
1999         * org.el (org-paste-subtree): Test the kill ring entry if it is
2000         going to be used.
2001         (org-copy-subtree): Use `org-forward-same-level'.
2002         (org-forward-same-level): Respect the `invisibe-ok' arg for
2003         back-to-heading.
2005 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2007         * org.el (org-table-map-tables): Make sure cursor is back at table
2008         beginning after funcall.
2010         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2011         handled before children, and do not error if an entry is not
2012         found, probably because it hase been remove when the parent was
2013         archived or refiled.
2015         * org.el (org-ido-completing-read): Accept straight lists for
2016         completion as well as alists.
2018         * org-html.el (org-export-as-html): Fix parenthesis error in
2019         footnore code.
2021         * org-timer.el (org-timer-cancel-timers): Renamed from
2022         `org-timer-cancel-timers'.
2024         * org.el (org-cycle-internal-local): Fix problem with finding next
2025         invisible line.
2027 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2029         * org-list.el (org-list-send-list): Call
2030         `org-list-goto-true-beginning' instead of
2031         `org-list-find-true-beginning', which does not exist.
2033         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2034         (org-timer-set-timer): Do not assign to heading.
2036         * org-id.el (org-id-open): Quote function name.
2038         * org-macs.el (org-unmodified): Turn off recording undo
2039         information while running inside the macro.
2041         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2042         variable.
2043         (org-indent-mode): Remember and restore value of
2044         org-hide-leading-stars before `org-indent-mode'.
2046         * org-table.el (org-table-export): Also work in file-less
2047         buffers.
2049         * org.el (org-startup-indented): New option.
2050         (org-startup-options): Add new options indent and noindent.
2051         (org-unfontify-region): Remove line-prefix and wrap-prefix
2052         properties.
2053         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2054         hooks.
2055         (org-promote, org-demote): Run the new hooks.
2057         * org-table.el (org-table-align): Replace leading \n as well.
2059         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2060         and `line-wrap' text properties.
2062         * org-compat.el (org-kill-new): New function.
2064         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2065         `line-wrap' text properties.
2067         * org-indent.el: New file.
2069 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2071         * org.el (org-provide-todo-statistics): Tweak docstring.
2073         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2075 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2077         * org-exp.el (org-export-as-org): Insert the "-source" string
2078         before the extension.
2080         * org.el (org-read-date): Make sure the calendar is in the current
2081         frame.
2082         (org-set-emph-re): Remove the ? from the post-match.
2083         (org-emphasis-regexp-components): Add backslash to the
2084         postmatch class.
2085         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2086         optional so that also lines at the end of the buffers will still
2087         be matched as headlines.
2089         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2090         Variable made obsolete.
2091         (org-table-relative-ref-may-cross-hline): New option.
2092         (org-table-find-row-type): Honow the new option
2093         `org-table-relative-ref-may-cross-hline'.
2095 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2097         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2098         on single field if no active region.
2100 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2102         * org-latex.el (org-export-latex-make-header): Only insert title
2103         if one is defined.
2105         * org.el (org-make-options-regexp): Allow empty values.
2107         * org-html.el (org-export-as-html): Move hrule detection to after
2108         plain list handling.
2110 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2112         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2114 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2116         * org.el (org-cycle-internal-local): Improved version of finding
2117         next visible line.
2118         (org-cycle-hide-drawers): Only hide drawers if this is really
2119         necessary.
2120         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2121         org-version of this function in Org-mode.  We use advice to
2122         implement this change, so that future changes to this function in
2123         outline.el wil be handled properly.
2124         (org-forward-same-level, org-backward-same-level): New commands.
2126 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2128         * org.el (org-remove-empty-overlays-at)
2129         (org-clean-visibility-after-subtree-move): New functons.
2130         (org-move-subtree-down): Simplify cleanup of display.
2132 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2134         * org-mac-message.el (org-mac-message-get-links): Improve
2135         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2136         "s".  Fix the return value.
2137         (org-mac-message-insert-flagged): Simplify.
2139         * org.el (org-refile-get-location): Tamper with refile history o
2140         that history contains compete matches instead of the entered
2141         string.
2143 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2145         * org.el (org-store-link): Never store a link to an inline task.
2147         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2149         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2150         inline tasks when positioning footnotes.
2152         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2153         function.
2155         * org.el (org-refile): Remove the END line when archiving an
2156         inline task that does have an END line.
2158         * org-archive.el (org-archive-subtree): Remove the END line when
2159         archiving an inline task that does have an END line.
2161         * org-macs.el (org-with-limited-levels): New macro.
2162         (org-get-limited-outline-regexp): New function.
2164         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2165         that did not enumerate first line.
2166         (org-export-mark-radio-links): Skip matches in links.
2168 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2170         * org.el (org-activate-plain-links): Make single-match.
2171         (org-adapt-indentation): Fix docstring.
2173         * org-macs.el (org-unmodified): Turn of modification hooks while
2174         running this macro.
2176 2009-08-02  Bastien Guerry  <bzg@altern.org>
2178         * org.el (org-adapt-indentation): Slightly improve the docstring.
2179         (org-occur): Sends an error when the user inputs an empty string.
2180         (org-priority): Bugfix: the tag alignement should happen within
2181         save-excursion.
2183 2009-07-31  Bastien Guerry  <bzg@altern.org>
2185         * org.el (org-make-link-regexps): Don't exclude parentheses from
2186         `org-plain-link-re'
2187         (org-cycle-internal-local): When locally cycling, switch directly
2188         from CHILDREN to FOLDED if there is no subtree
2189         (org-cycle): Update the docstring to document the new behavior of
2190         `org-cycle-internal-local'.
2192 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2194         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2195         an abbreviated format for days.
2197 2009-07-27  Bastien Guerry  <bzg@altern.org>
2199         * org-protocol.el (org-protocol-default-template-key): New
2200         option.
2202         * org.el (org-refile): Bugfix: save-excursion before reading the
2203         refile target, otherwise cursor moves might confuse `org-refile'.
2205         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2206         footnote reference before the footnote itself.
2208         * org.el (org-toggle-heading): Bugfix: correctly convert list
2209         items before the first headline.
2211         * org-html.el (org-export-html-footnote-format): New option for
2212         formatting the footnote reference.
2213         (org-export-as-html): Use the new option.
2215         * org.el (org-provide-todo-statistics): Allow a list of TODO
2216         keywords to compute statistics against headlines containing a
2217         keyword from this list.
2218         (org-update-parent-todo-statistics): Possibly use the new allowed
2219         value of `org-provide-todo-statistics'.
2221 2009-07-26  Bastien Guerry  <bzg@altern.org>
2223         * org-timer.el: Add autoload cookie.
2225         * org.el (org-occur-link-in-agenda-files): New function.
2227         * org-timer.el (org-timer-last-timer): New variable.
2229         * org-agenda.el (org-agenda-mode-map): New key for
2230         org-timer-set-timer called from the agenda.
2232         * org.el (org-mode-map): New key for org-timer-set-timer.
2234         * org-timer.el (org-timer-reset-timers)
2235         (org-timer-show-remaining-time, org-timer-set-timer): New
2236         functions.
2238         * org-clock.el (org-show-notification): Update the docstring.
2240         * org.el (org-provide-todo-statistics): Allow new value
2241         'all-headlines for this option, which includes entries with no
2242         TODO keywords in the todo statistics.
2243         (org-update-parent-todo-statistics): Possibly use the new
2244         'all-headline value from `org-provide-todo-statistics'.
2246 2009-07-25  Bastien Guerry  <bzg@altern.org>
2248         * org-clock.el (org-dblock-write:clocktable): Add a new option
2249         :timestamp which allows display of timestamps in clock reports.
2251         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2252         list to a subtree, preserving the structure of the list.
2253         (org-set-emph-re): Make the last element optional in the regexp.
2254         This regexp now matches an emphasized string at the end of a line.
2256         * org-list.el (org-list-goto-true-beginning)
2257         (org-list-make-subtree, org-list-make-subtrees): New functions.
2259         * org.el (org-eval-in-calendar): Select the right frame.
2260         (org-save-frame-excursion): Remove this macro.
2262 2009-07-24  Bastien Guerry  <bzg@altern.org>
2264         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2265         trying to find the beginning of a list.
2267         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2268         When present, tell org-get-file-contents not to protect org-like
2269         lines.
2271         * org-id.el (org-id-uuid-program): New option to set the name of
2272         the uuidgen program.
2273         (org-id-method): Use `org-id-uuid-program'.
2274         (org-id-new): Use `org-id-uuid-program'.
2276 2009-07-23  Bastien Guerry  <bzg@altern.org>
2278         * org-exp.el (org-export-number-lines): Allow whitespace in code
2279         references.  Allow the -r switch to remove the references in the
2280         source code even when the lines are not numbered: the labels can
2281         be explicit enough.
2283         * org.el (org-fontify-whole-heading-line): New option.
2284         (org-set-font-lock-defaults): Use the new option.
2286         * org-clock.el (org-show-notification-handler): New option.
2287         (org-show-notification): Use the new option.
2289 2009-07-21  Bastien Guerry  <bzg@altern.org>
2291         * org.el (org-eval-in-calendar): Fix a bug about calendar
2292         navigation when `calendar-setup' value is 'calendar-only.
2294 2009-07-19  Bastien Guerry  <bzg@altern.org>
2296         * org.el (orgstruct++-mode): Fix typo in docstring.
2297         (org-insert-link): Clean up: (or (...)) => (...)
2298         (org-insert-link): Use TAB for stored links completion.
2300 2009-07-18  Bastien Guerry  <bzg@altern.org>
2302         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2303         building the list of targets.
2305         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2306         option.
2307         (org-remember-handler): Use the new option.
2309 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2311         * org.el (org-tags-sort-function): New option for sorting tags.
2312         (org-set-tags): Use the new option to sort tags.
2314         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2315         premature deletion of the data when using org-plot in a script.
2317 2009-07-17  Bastien Guerry  <bzg@altern.org>
2319         * org-clock.el (org-clock-in-prepare-hook): New hook.
2320         (org-clock-in): Use this new hook.
2322 2009-07-16  Bastien Guerry  <bzg@altern.org>
2324         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2325         'reversed for this option to the "true line boundary first"
2326         behavior.
2327         (org-tags-match-list-sublevels): Document the 'indented value for
2328         this variable.
2330         * org-latex.el (org-export-latex-first-lines): Fix problem with
2331         publishing the region.
2333         * org-exp.el (org-export-format-source-code-or-example): Fix
2334         bad line numbering when exporting examples in HTML.
2336         * org-colview.el (org-format-time-period): Formats a time in
2337         fractional days as days, hours, mins, seconds.
2338         (org-columns-display-here): Add special handling for SINCE and
2339         SINCE_IA to format for display.
2341 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2343         * org.el (org-tags-sort-function): Add custom declaration for tags
2344         sorting function.
2345         (org-set-tags): Sort tags if org-tags-sort-function is set
2347 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2349         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2351         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2353         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2354         option.
2356 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2358         * org-publish.el (org-publish-remove-all-timestamps): New function.
2359         (org-publish-all): Remove all timestamp files if `org-publish-all'
2360         is called with a prefix argument.
2362         * org-list.el (org-indent-item): Fix typo.
2363         (org-item-indent-positions): Normalize ordered bullet.
2365         * org-html.el (org-export-html-home/up-format): New option.
2366         (org-export-as-html): Insert the up and HOME links.
2368 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2370         * org-html.el (org-export-as-html): Insert the title into the
2371         option plist.
2372         (org-export-html-insert-plist-item): New function.
2373         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2375         * org-macs.el (org-set-local): Make a local variable, do not make
2376         the variable buffer-local!
2378         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2380         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2382         * org-docbook.el (org-export-as-docbook): Call
2383         `org-install-letbind'.
2385         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2387         * org-exp.el (org-infile-export-plist): Read BIND lines.
2388         (org-install-letbind): New function.
2389         (org-export-as-org, org-export-preprocess-string): Call
2390         `org-install-letbind'.
2392         * org-src.el (org-edit-src-exit): Untabify the example before
2393         returning to Org.
2395         * org-list.el (org-list-demote-modify-bullet): New option.
2396         (org-first-list-item-p): Save point.
2397         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2398         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2399         (org-item-indent-positions): Return bullet types along with
2400         indentation.
2402 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2404         * org.el (org-show-entry): Hide drawers.
2406 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2408         * org-footnote.el (org-footnote-auto-adjust): New option.
2409         (org-footnote-auto-adjust-maybe): New function.
2410         (org-footnote-new, org-footnote-delete): Call
2411         `org-footnote-auto-adjust-maybe'.
2413         * org.el (org-startup-options): Add new footnote-related
2414         keywords.
2416         * org-publish.el (org-publish-timestamp-filename): Additional
2417         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2418         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2419         TRUE-PUB-DIR.  Pass them through to
2420         `org-publish-timestamp-filename'.
2421         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2422         PUB-FUNC, which are included in the hash.
2423         (org-publish-file): Delay timestamp test until the publishing
2424         function is known.
2426 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2428         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2429         setting the deadline.
2431         * org.el (org-read-date-final-answer): New variable.
2432         (org-read-date): Store the final answer string, including the date
2433         from the calendar, for reuse by agenda bulk commands.
2435         * org-publish.el (org-publish-attachment): Fix publishing of
2436         attachments.
2438         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2439         quotation makrs in parenthesis.
2440         (org-remove-initial-hash): New function.
2441         (org-export-latex-preprocess): Fix bug with infinite loop if
2442         environment is not properly closed.
2444         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2445         when indented.
2447         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2448         highlight also when indented.
2450 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2452         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2453         (org-footnote-action): Offer renumbering.
2455         * org.el (org-cycle): Honor the `integrate' value of
2456         org-cycle-include-plain-lists'.
2458         * org-list.el (org-cycle-include-plain-lists): New allowed value
2459         `internal'.  Improve the docstring.
2461         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2462         regexp to work better with LaTeX commands.
2464 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2466         * org-feed.el (org-feed-update): fix problem with non-existing
2467         buffer.
2468         (org-feed-skip-http-headers): New function.
2469         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2470         (org-feed-get-feed): Fix command line arguments for curl.
2472 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2474         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2475         and eps extensions.
2477 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2479         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2480         loaded.
2482         * org.el (org-map-entries): No longer force
2483         `org-tags-match-list-sublevels' to t during a todo-only tags
2484         search.
2486 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2488         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2489         environment.
2490         (org-export-latex-subcontent): Handle user-defined environment.
2492         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2493         the View dispatcher.
2495         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2496         `make-overlay'.
2498         * org-latex.el (org-export-as-pdf): Protect match data during call
2499         to shell-quote-argument.
2501         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2502         (org-agenda-view-mode-dispatch): New function.
2504 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2506         * org-agenda.el (org-agenda-mode): Reset list of marks.
2507         (org-agenda-mode-map): Define new keys for refile and bulk action.
2508         (org-agenda-menu): Add menu itesm for refile and bulk action.
2509         (org-agenda-refile): New function.
2510         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2511         (org-agenda-marked-entries): New variable.
2512         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2513         (org-agenda-remove-all-bulk-action-marks)
2514         (org-agenda-bulk-action): New functions/commands.
2516 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2518         * org-exp.el (org-get-file-contents): Protect org-like lines in
2519         included files.
2520         (org-export-format-source-code-or-example): Remove newlines.
2522         * org-latex.el (org-export-latex-links): Check for no-description
2523         marking.
2525         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2526         argument separator back to comma.
2527         (org-export-normalize-links): Mark links without description.
2529 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2531         * org-exp.el (org-infile-export-plist): Fix bug in macro
2532         processing.
2534         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2535         out.
2536         (org-agenda-highlight-todo): Fix bug with highlighting.
2538 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2540         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2541         new alignment strings.
2543         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2544         command list.
2545         (org-table-align): Check for forced align type.
2547         * org.el (org-self-insert-command): Add yas/expand to command
2548         list.
2550         * org-clock.el (org-clock-in-hook): New hook.
2551         (org-clock-in): Run `org-clock-in-hook.
2552         (org-clock-out-hook): New hook.
2553         (org-clock-out): Run `org-clock-out-hook.
2554         (org-clock-cancel-hook): New hook.
2555         (org-clock-cancel): Run `org-clock-cancel-hook.
2556         (org-clock-goto-hook): New hook.
2557         (org-clock-goto): Run `org-clock-goto-hook.
2559 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2561         * org.el (org-store-link): Better default description for link to
2562         Org-mode headline.
2564         * org-exp.el (org-export-generic): Autoload the generic exporter
2565         function.
2566         (org-export): Implement the `g' key for the generic exporter.
2568 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2570         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2571         and for zbacktab'.
2573         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2575         * org-exp.el (org-infile-export-plist): Get macros also from
2576         #+SETUPFILE.
2578 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2580         * org-colview.el (org-columns-capture-view): Protect vertical bars
2581         in column values.
2582         (org-columns-capture-view): Exclude comment and archived trees.
2584         * org-colview-xemacs.el (org-columns-capture-view): Protect
2585         vertical bars in column values.
2586         (org-columns-capture-view): Exclude comment and archived trees.
2588         * org.el (org-quote-vert): New function.
2590         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2592         * org-exp.el (org-export-format-source-code-or-example): Use
2593         `org-export-latex-verbatim-wrap'.
2595         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2596         time stamps.
2598         * org-html.el (org-export-table-row-tags): New option.
2599         (org-format-org-table-html): Rename `nlines' to `nline', use new
2600         option.
2603 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2605         * org-exp-blocks.el: Declare functions and variables.
2607         * org-remember.el (org-remember-templates): Allow the headline
2608         element to be a function.
2609         (org-remember-apply-template): If the headline is a function, call
2610         it to get the true function.
2612         * org-clock.el (org-clock-menu): New function.
2613         (org-clock-update-mode-line): Update help string.
2614         (org-clock-modify-effort-estimate): New function.
2615         (org-clock-mark-default-task): New function.
2617         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2618         minutes as input.
2619         (org-org-menu): Add new clocking stuff.
2620         (org-clock-is-active): New function.
2622 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2624         * org.el (org-open-non-existing-files): Improve docstring.
2626 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2628         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2629         option.
2630         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2632         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2634         * org-list.el (org-get-checkbox-statistics-face): Use the new
2635         faces.
2637         * org-faces.el (org-checkbox-statistics-todo)
2638         (org-checkbox-statistics-done): New faces.
2640 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2642         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2643         (org-edit-src-exit): Better cursor positioning when returning from
2644         editing.
2646         * org-latex.el (org-export-latex-use-verb): New variable.
2647         (org-export-latex-emph-format): Prefer \texttt over \verb when
2648         org-export-latex-use-verb is set.
2650 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2652         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2653         at normal indentation.
2655         * org-html.el (org-export-html-close-lists-maybe): Also look at
2656         normal indentation.
2658         * org-remember.el (org-remember-handler): Abort remember if the
2659         buffer is empty.
2661         * org-src.el (org-edit-src-content-indentation): New option.
2662         (org-edit-src-exit): Apply extra indentation.
2664         * org-exp.el (org-export-format-source-code-or-example): Run
2665         `org-src-mode-hook'.
2667         * org-src.el (org-src-mode-hook): New variable.
2668         (org-edit-src-code): Run `org-src-mode-hook'.
2670 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2672         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2674         * org-src.el (org-edit-src-get-indentation): New function.
2675         (org-edit-src-code): Base indentation on the begin line.
2677 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2679         * org-gnus.el (org-gnus-store-link): Require message.el in
2680         org-gnus-store-link.
2682 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2684         * org-src.el: New file, split out of org.el
2686         * org-docbook.el (org-export-as-docbook): Better indentation
2687         treatment.
2689         * org-macs.el (org-replace-match-keep-properties): New function.
2691         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2692         preprocessing of center and quote and verse blocks.
2694         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2695         (org-export-as-docbook): Close lists when original indentation
2696         mandates it.
2698         * org-html.el (org-export-html-close-lists-maybe): New function.
2699         (org-export-as-html): Close lists when original indentation
2700         mandates it.
2702         * org-list.el (org-list-end): Respect the stored "original"
2703         indentation when determining the end of the list.
2705         * org-exp.el (org-export-replace-src-segments-and-examples):
2706         Remember indentation correctly.
2708 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2710         * org-clock.el (org-clock-update-mode-line): Apply face
2711         org-mode-line-clock.
2713         * org-faces.el (org-mode-line-clock): New face.
2715 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2717         * org-gnus.el (org-gnus-store-link): Fix bug where
2718         `org-gnus-store-link' used wrong subject when called in an article
2719         buffer.  Patch provided by fengli AT gmail DOT com.
2721 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2723         * org-exp.el (org-export-format-source-code-or-example): Remember
2724         the original indentation of source code snippets and examples.
2726         * org-latex.el (org-export-as-latex): Relocate the table of
2727         contents.
2729         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2731         * org-agenda.el (org-run-agenda-series): Scope global options also
2732         when creating the agenda buffer.
2734 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2736         * org.el (org-adapt-indentation): Improve documentation.
2737         (org-insert-property-drawer): Respect org-adapt-indentation when
2738         inserting the drawer.
2739         (org-remove-flyspell-overlays-in): New function.
2740         (org-do-emphasis-faces, org-activate-plain-links)
2741         (org-activate-code, org-fontify-meta-lines-and-blocks)
2742         (org-activate-angle-links, org-activate-footnote-links)
2743         (org-activate-bracket-links, org-activate-dates)
2744         (org-activate-target-links, org-activate-tags): Remove flyspell
2745         overlays.
2747 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2749         * org.el (org-edit-src-save): New function.
2751         * org-clock.el (org-clock-out-switch-to-state): New option.
2752         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2754         * org-compat.el (org-compatible-face): Improve macro.
2756         * org.el (org-global-properties-fixed): Add default for
2757         CLOCK_MODELINE_TOTAL.
2759         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2760         andd tend.
2761         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2762         org-clock-sum.
2763         (org-clock-get-sum-start): New function.
2765         * org.el (org-startup-options): New keywords blockhide and
2766         blockshow.
2767         (org-mode): Add new invisibility spec.
2768         (org-set-startup-visibility): Hide block on startup if so
2769         desired.
2770         (org-hide-block-startup): New option.
2771         (org-block-regexp): New constant.
2772         (org-hide-block-overlays): New variable.
2773         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2774         (org-show-block-all, org-hide-block-toggle-maybe)
2775         (org-hide-block-toggle): New functions.
2776         (org-edit-src-exit): Do not quote lines starting with # and no +
2777         behind it.
2778         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2779         entry.
2781 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2783         * org.el (org-buffer-property-keys): Add Effort property for
2784         completion.
2786 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2788         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2789         when retrieving total clocked time in the subtree.
2791         * org.el (org-quoting-blocks): New variable.
2793 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2795         * org-table.el (org-table-store-formulas)
2796         (org-table-get-stored-formulas, org-table-fix-formulas)
2797         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2798         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2800         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2801         indented #+TBLFM line.
2803         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2804         indented #+TBLFM line.
2806         * org-colview.el (org-dblock-write:columnview): Allow indented
2807         #+TBLFM line.
2809         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2810         indented #+TBLFM line.
2812         * org-clock.el (org-dblock-write:clocktable): Allow indented
2813         #+TBLFM line.
2815 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2817         * org-exp.el (org-export-format-source-code-or-example): Make
2818         editing indented blocks work correctly.
2820         * org.el (org-edit-src-nindent): New variable.
2821         (org-edit-src-code, org-edit-fixed-width-region)
2822         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2823         editing indented blocks work correctly.
2825 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2827         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2828         indented blocks.
2829         (org-export-format-source-code-or-example): Fix indentation of
2830         blocks.
2831         (org-export-remove-indentation): New function.
2832         (org-export-select-backend-specific-text): Allow backend-specific
2833         code to be indented.
2834         (org-export-mark-blockquote-verse-center): Allow markers to be
2835         indented.
2837         * org.el (org-fontify-meta-lines): New function.
2838         (org-set-font-lock-defaults): Call the new fontification
2839         function.
2841         * org-faces.el (org-meta-line): New face
2842         (org-block):  New face.
2844 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2846         * org.el (org-treat-insert-todo-heading-as-state-change)
2847         (org-treat-S-cursor-todo-selection-as-state-change): New
2848         variables.
2849         (org-insert-todo-heading): Honor
2850         `org-treat-insert-todo-heading-as-state-change'.
2851         (org-shiftright, org-shiftleft): Honor
2852         `org-treat-S-cursor-todo-selection-as-state-change'.
2853         (org-inhibit-logging): New variable.
2855 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
2857         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2858         range for marker position checking.
2860         * org-latex.el (org-export-latex-first-lines): Fix bug when
2861         exporting a region.
2863 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
2865         * org-exp.el (org-export-push-to-kill-ring): Protect using
2866         x-set-selection, because that does not always work.
2868         * org-agenda.el (org-agenda-list): Apply the new face
2869         `org-agenda-date-today'.
2871         * org-faces.el (org-agenda-date-today): New face.
2873 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
2875         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2876         creating appointments.
2878         * org-latex.el (org-export-latex-low-levels): Fix customization
2879         type.
2881         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2882         priority commands.
2884         * org-agenda.el (org-agenda-priority): Disable priority commands.
2886         * org.el (org-enable-priority-commands): New option.
2888         * org-colview-xemacs.el (org-columns-compute)
2889         (org-columns-number-to-string): Fix problems with empty fields.
2891         * org-colview.el (org-columns-compute)
2892         (org-columns-number-to-string): Fix problems with empty fields.
2894         * org-exp.el (org-export-push-to-kill-ring): New function.
2895         (org-export-copy-to-kill-ring): New option.
2897         * org-latex.el (org-export-as-latex): Call
2898         `org-export-push-to-kill-ring'.
2900         * org-html.el (org-export-as-html): Call
2901         `org-export-push-to-kill-ring'.
2903         * org-docbook.el (org-export-as-docbook): Call
2904         `org-export-push-to-kill-ring'.
2906         * org-ascii.el (org-export-as-ascii): Call
2907         `org-export-push-to-kill-ring'.
2909         * org-exp.el (org-export-show-temporary-export-buffer): New
2910         option.
2912         * org-latex.el (org-export-as-latex): Use
2913         `org-export-show-temporary-export-buffer'.
2915         * org-html.el (org-export-as-html): Use
2916         `org-export-show-temporary-export-buffer'.
2918         * org-docbook.el (org-export-as-docbook): Use
2919         `org-export-show-temporary-export-buffer'.
2921         * org-ascii.el (org-export-as-ascii-to-buffer): Use
2922         `org-export-show-temporary-export-buffer'.
2924         * org-exp.el (org-export-show-temporary-export-buffer): New
2925         option.
2926         (org-export-push-to-kill-ring): New function.
2928         * org-colview.el (org-columns-compile-map): New variable.
2929         (org-columns-new, org-columns-compute)
2930         (org-columns-number-to-string, org-columns-uncompile-format)
2931         (org-columns-compile-format): Implement new operators.
2933 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
2935         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2937         * org-html.el (org-export-html-xml-declaration): New option.
2938         (org-export-as-html): Use `org-export-html-xml-declaration'.
2940         * org-list.el (org-update-checkbox-count): Make property
2941         dependent.
2943         * org.el (org-hierarchical-todo-statistics): New option.
2944         (org-update-parent-todo-statistics): Modified to handle recursive
2945         statistics.
2947 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
2949         * org-publish.el (org-publish): Make this function behave
2950         correctly in interactive use when called with a prefix argument.
2952         * org.el (org-todo-statistics-hook): New hook.
2953         (org-update-parent-todo-statistics): Use new hook.
2954         (org-log-into-drawer): New function.
2955         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2956         determine if we should be logging into a drawer.
2957         (org-log-into-drawer): Update docstring.
2958         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2960         * org-list.el (org-checkbox-statistics-hook): New hook.
2961         (org-update-checkbox-count-maybe): Use new hook.
2963         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2964         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2965         to kill ring.
2967 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
2969         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2970         a line.
2972 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
2974         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2975         better bufer-generating mechanism.
2976         (org-edit-src-find-buffer): New function.
2978         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2979         archive tag, this is already done by `org-agenda-skip'.
2980         data while constructing lost of tags.
2982 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
2984         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2985         as argument separator in macros.
2987         * org-html.el (org-export-as-html): Add xml declaration.
2989 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
2991         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2992         (org-sort-entries-or-items): Run the new hook.
2993         (org-after-refile-insert-hook): New hook.
2994         (org-refile): Run `org-after-refile-insert-hook'.
2996         * org-agenda.el (org-agenda-get-progress): Never take time of day
2997         from headline when displaying progress.
2999         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3000         (org-export-as-latex): Force the correct regexp in the
3001         preprocessor buffer.
3002         (org-export-latex-set-initial-vars): Set
3003         `org-export-latex-complex-heading-re'.
3005         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3006         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3008 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3010         * org-latex.el (org-export-latex-tables-centered): New option.
3011         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3013         * org-exp.el (org-export-as-org): New command.
3014         (org-export-as-org): New command.
3016         * org-publish.el (org-publish-org-to-org): New function.
3018 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3020         * org.el (org-yank): Just call `org-yank-generic'.
3021         (org-yank-generic): New function, containing the formaer
3022         functionality of `org-yank'.
3024         * org-latex.el (org-export-latex-not-done-keywords)
3025         (org-export-latex-done-keywords): New variables.
3026         (org-export-latex-todo-keyword-markup): New option.
3027         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3028         (org-export-latex-keywords-maybe): Apply the TODO markup.
3030 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3032         * org-exp.el (org-infile-export-plist): Add more default macros.
3033         (org-export-preprocess-apply-macros): Process macro arguments.
3035 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3037         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3038         `unblocked'.
3039         (org-print-icalendar-entries): Respect the new value of
3040         `org-icalendar-include-todo'.
3042         * org.el (org-link-try-special-completion)
3043         (org-file-complete-link): New functions.
3044         (org-insert-link): Add special completion support for some link
3045         types.
3047         * org-bbdb.el (org-bbdb-complete-link): New function.
3049 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3051         * org-list.el (org-update-checkbox-count): Allow recursive
3052         statistics.
3053         (org-hierarchical-checkbox-statistics): New option.
3055         * org.el (org-cycle): Remove erraneous space character.
3057         * org-icalendar.el (org-icalendar-timezone): Initialize from
3058         environment.
3060         * org-html.el (org-format-org-table-html): Specify the scope.
3061         (org-format-table-table-html): Specify the scope.
3062         (org-export-table-header-tags): Prepare the scope parameter.
3064 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3066         * org-html.el
3067         (org-export-html-table-use-header-tags-for-first-column): New
3068         option.
3070         * org.el (org-autoload): Fix autoloading of ascii export
3071         functions.
3072         (org-modules): Add org-special-blocks.
3074 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3076         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3077         (org-ical-timezone): New option.
3079         * org-exp.el (org-export-get-coderef-format): Use the description
3080         is present.
3082         * org.el (org-sort-entries-or-items): Improve docstring, and make
3083         better implementation for time sorting.
3085 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3087         * org.el (org-edit-src-persistent-message): New option.
3088         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3089         option.
3091         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3092         patch.
3094         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3095         separate buffer instead of indirect buffer to edit source code.
3096         (org-edit-src-exit): Make this function work with the new setup.
3098         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3099         are properly fontified before shown in the selection menu.
3101         * org.el (org-fontify-like-in-org-mode): New function.
3103         * org-latex.el (org-export-latex-links): Use the property list to
3104         retrieve the default image attributes.
3106         * org-exp.el (org-export-plist-vars): Add a new option.
3108 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3110         * org-exp.el (org-export, org-export-visible): Support ASCII
3111         export to buffer
3112         (org-export-normalize-links): Do not protect the description if it
3113         is explicitly given.
3115         * org-ascii.el (org-export-as-ascii-to-buffer)
3116         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3117         commands.
3118         (org-export-as-ascii): Add all the same parameters that are also
3119         supported by the other export functions.
3121         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3122         org-checklist.el.
3123         (org-reset-checkbox-state-subtree): Call
3124         `org-reset-checkbox-state-subtree'.
3126         * org-remember.el (org-select-remember-template): For the
3127         selection of a valid template.
3129         * org-latex.el (org-export-region-as-latex): Supply the
3130         force-no-subtree argument.
3131         (org-export-as-latex): Provide better limits when exporting the
3132         first line.  When exporting to string, we still want the first
3133         lines.
3134         (org-export-latex-first-lines): New argument END, to force the end
3135         of the region.
3136         (org-export-region-as-latex): Use the property list.
3137         (org-export-as-latex):
3139         * org-colview-xemacs.el (org-columns-remove-overlays)
3140         (org-columns): Fix call to `local-variable-p'.
3142 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3144         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3145         (org-export-as-html): Run the new hook.
3147         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3148         (org-export-latex-preprocess): Run the new hook.
3150         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3151         (org-export-preprocess-string): Run the new hook.
3153 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3155         * org-macs.el (org-check-external-command): New defsubst.
3157         * org.el (org-mode-map): New key for reload.
3158         (org-format-latex): Better error message when external programs
3159         are not available.
3161         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3163         * org.el (org-sort-entries-or-items): Explicit sorting function
3164         for priorities, needed for XEmacs compatibility.
3166         * org-remember.el (org-remember-apply-template): Improve auto-save
3167         behavior.
3169 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3171         * org-latex.el (org-export-latex-preprocess): Also protect
3172         environments ending in a star.
3174         * org-list.el (org-at-item-p): Fix regular expression.
3176 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3178         * org.el (org-end-of-subtree): Improve speed.
3180         * org-agenda.el (org-agenda-get-timestamps)
3181         (org-agenda-get-progress, org-agenda-get-deadlines)
3182         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3183         in particular, wait as long as possible to collect the tags.
3184         (org-stuck-projects): Improve docstring.
3186         * org.el (org-store-link): No errors when getting custom id before
3187         first headline.
3188         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3190 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3192         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3194         * org-protocol.el: Remove dependency on url.el.
3195         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3196         dependency on url.el.
3198         * org-latex.el (org-export-as-pdf): Use
3199         `org-latex-to-pdf-process'.
3201 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3203         * org-latex.el (org-latex-to-pdf-process): New option.
3205         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3206         New option.
3207         (org-agenda-get-timestamps): Honor
3208         `org-agenda-skip-additional-timestamps-same-entry'.
3210         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3211         (org-clock-goto): Find recent task only if
3212         `org-clock-goto-may-find-recent-task' allows it.
3214         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3215         drawers, and drawers that are missing the :END: line.
3217 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3219         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3220         clock is running.
3222 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3224         * org.el (org-update-parent-todo-statistics): Check for
3225         STATISTICS_FROM property.
3227         * org-list.el (org-update-checkbox-count): Check for
3228         STATISTICS_FROM property.
3230         * org.el (org-tab-first-hook)
3231         (org-tab-after-check-for-table-hook)
3232         (org-tab-after-check-for-cycling-hook): New hooks.
3233         (org-cycle-internal-global, org-cycle-internal-local): New
3234         functions, split out from `org-cycle'.
3235         (org-cycle): Call the new hooks.
3237 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3239         * org-exp.el (org-export-preprocess-string): Reset the list of
3240         preferred targets for each run of the preprocessor.
3242         * org.el (org-refile-target-verify-function): Improve
3243         documentation.
3244         (org-get-refile-targets): Respect point being moved by the
3245         verification function.
3247         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3248         option.
3249         (org-export-latex-keywords): Use new option.
3251         * org.el (org-rear-nonsticky-at): New defsubst.
3252         (org-activate-plain-links, org-activate-angle-links)
3253         (org-activate-footnote-links, org-activate-bracket-links)
3254         (org-activate-dates, org-activate-target-links)
3255         (org-activate-tags): Place the rear-nonsticky properties at the
3256         correct location.
3258 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3260         * org-protocol.el (server-edit): Declare `server-edit'.
3261         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3262         functions.
3263         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3265         * org.el (org-default-properties): New default properteis for
3266         completion.
3268         * org-exp.el (org-export-add-subtree-options): Add new properties
3269         for subtree export.
3271         * org-docbook.el (org-export-docbook-keywords-markup)
3272         (org-export-docbook-timestamp-markup): New options.
3273         (org-export-docbook-protect-tags): New function.
3275 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3277         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3278         org-refile-target-verify-function for the duration of the command.
3280         * org.el (org-link-to-org-use-id): New possible value
3281         `create-if-interactive-and-no-custom-id'.
3282         (org-store-link): Use custom IDs.
3283         (org-link-search): Find custom ID properties from #link.
3284         (org-default-properties): Add CUSTOM_ID for property completion.
3285         (org-refile-target-verify-function): New option.
3286         (org-goto): Turn off org-refile-target-verify-function
3287         for the duration of the command.
3289 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3291         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3293         * org-exp.el (org-export-preferred-target-alist): New variable.
3294         (org-export-define-heading-targets): Find the new CUSTOM_ID
3295         property.
3296         (org-export-target-internal-links): Target the custom ids when
3297         possible.
3299         * org-latex.el (org-export-latex-preprocess): Better regexp for
3300         matching latex macros with arguments.
3302 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3304         * org-remember.el (org-remember-handler): Allow filing to non-org
3305         files.
3307 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3309         * org-feed.el (org-feed-alist): New keyword options.
3310         (org-feed-update): Use the new options.
3311         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3312         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3313         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3314         functions.
3316         * org-table.el (org-table-fix-formulas): Do not change references
3317         to remote tables.
3318         (org-table-get-remote-range): Convert standard coordinates to RC
3319         format.
3321         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3323 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3325         * org-compat.el (org-sha1-string): Function removed.
3327         * org.el (org-refile-allow-creating-parent-nodes): New option.
3328         (org-refile-get-location): New argument NEW-NODES.
3329         (org-refile): Call `org-refile-get-location' with the new
3330         argument.
3331         (org-refile-get-location): Arrange for adding a new child.
3332         (org-refile-new-child): New function.
3334         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3335         an additional span element.
3337         * org-clock.el: Fix a number of docstrings.
3338         (org-clock-find-position): New argument
3339         FIND-UNCLOSED to make the function find an unclosed clock in the
3340         entry.
3341         (org-clock-in): Call `org-clock-find-position' with the new
3342         argument if we might be resuming a clock.
3344 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3346         * org-latex.el (org-export-latex-display-custom-times): New variable.
3347         (org-export-latex-timestamp-markup): New option.
3348         (org-export-latex-set-initial-vars): Remember the local value of
3349         `org-display-custom-times'.
3350         (org-export-latex-content): Process time stamps.
3351         (org-export-latex-time-stamps): New function.
3353         * org-macs.el (org-maybe-intangible): Add intangible property
3354         again to invisible text.
3356 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3358         * org-exp.el (org-default-export-plist): Handle undefined
3359         variables.
3361 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3363         * org.el (org-sort-entries-or-items): Match TODO keywrds
3364         case-sensitively, when sorting.
3365         (org-priority): Do not match TODO keywords with wrong case.
3367 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3369         * org-feed.el (org-feed-update): Bind the variable
3370         `new-formatted'.
3372         * org-html.el (org-export-as-html): Start paragraphs after literal
3373         examples.
3375         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3376         literal examples.
3378 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3380         * org.el (org-todo): Honor the NOBLOCKING property.
3382         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3383         NOBLOCKING property.
3385         * org.el (org-scan-tags): Fix bug in tag scanner
3387 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3389         * org.el (org-modules): Mark obsolete packages.
3391         * org-html.el: New file, split out from org-exp.el.
3393         * org-icalendar.el: New file, split out from org-exp.el.
3395         * org-xoxo.el: New file, split out from org-exp.el.
3397         * org-ascii.el: New file, split out from org-exp.el.
3399 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org-compat.el (org-find-library-name): New function.
3403         * org.el (org-pre-cycle-hook): New hook.
3404         (org-cycle): Call the new hook in appropriate places.
3405         (org-reload): Only reload files that have been loaded before.
3407 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3409         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3410         after todo keyword.
3411         (org-todo): When changing TODO state, do matching
3412         case-sensitively.
3413         (org-map-continue-from): New variable.
3414         (org-scan-tags): Respect values in `org-map-continue-from'.
3415         (org-reload): Make XEmacs compatible.
3417 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3419         * org-protocol.el (org-protocol-flatten-greedy): New function.
3420         (org-protocol-flatten): New function.
3422         * org.el (org-open-link-from-string): Pass reference buffer to
3423         `org-open-at-point'.
3424         (org-open-at-point): New optional argument `reference-buffer'.
3426 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3428         * org.el (org-scan-tags): Make tag scan find headline in first
3429         line, 2nd attempt.
3430         (org-get-refile-targets): Add the naked file name.
3431         (org-refile): Store as top-level entry when only file name was
3432         given.
3434         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3436         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3437         Renamed from org-block-todo-from-children-or-siblings, and
3438         enhanced to look for the parent's status as well.
3440         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3441         (org-agenda-get-progress): Add first notes line to log entry if so
3442         desired.
3444 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3446         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3447         (org-agenda-cleanup-fancy-diary): Call the new hook.
3449         * org-remember.el (org-remember-apply-template): Take the default
3450         for the annotation from the :annotation property.
3452         * org-mac-message.el (org-mac-message-get-link): Remove the
3453         quotes.
3454         (org-mac-message-get-link): Return the result.
3456 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3458         * org.el (org-refile-get-location): Add file name only if not
3459         already included in outline path.
3461         * org-faces.el (org-n-level-faces): Fix customization type from
3462         number to integer.
3464         * org-exp.el (org-export-headline-levels): Fix customization type
3465         from number to integer.
3467         * org-agenda.el (org-agenda-confirm-kill)
3468         (org-agenda-custom-commands-local-options)
3469         (org-timeline-show-empty-dates, org-agenda-ndays)
3470         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3471         customization type from number to integer.
3473 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3475         * org-protocol.el: Declare some functions.
3477         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3478         postion before inserting modified headline.
3480         * org-agenda.el (org-agenda-compare-effort): Honor
3481         `org-sort-agenda-noeffort-is-high'.
3482         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3483         (org-agenda-compare-effort): Implement the "?" operator for
3484         finding entries without effort setting.
3486         * org.el (org-extract-attributes-from-string): New function.
3488         * org-exp.el (org-export-splice-attributes): New function.
3490 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3492         * org-mouse.el: XEmacs compatibility fixes
3494         * org-docbook.el (org-export-as-docbook): Process footnotes like
3495         normal text.
3497         * org.el (org-modules): Add org-inlinetasks.el
3498         (org-cycle): Implement limiting level on cycling.
3499         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3500         buffer.
3502         * org-inlinetask.el: New file.
3504         * org.el (org-emphasis-regexp-components): Allow braces in
3505         emphasis pre and post match.
3507         * org-footnote.el (org-footnote-normalize): When only dorting, do
3508         not insert inline notes at the end.
3510         * org-docbook.el (org-id-find-id-file): Add function declaration.
3512         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3514         * org-docbook.el: New file.
3516 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3518         * org.el (org-reftex-citation): New command.
3520 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3522         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3523         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3524         sorting options.
3525         (org-entries-lessp): Apply the new sorting option.
3527         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3528         blocker code, when an older sibling has children.
3530         * org-mac-message.el (org-mac-message-get-link): Improve getting
3531         links from multiple selected messages.
3533 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3535         * org-remember.el (org-remember-finalize): Do not set buffer file
3536         name to nil.
3537         (org-remember-handler): Mark buffer as unmodified.
3538         (org-remember-handler): Delete backup file and show message about
3539         remaining backup files.
3540         (org-remember-auto-remove-backup-files): New option.
3542         * org.el (org-store-link): Use buffer name as link description in
3543         w3-mode buffers.
3544         (org-ido-switchb): Fix argument bug for completion.
3546         * org-remember.el (org-remember-apply-template): Set local
3547         variable `auto-save-visited-file-name' instead of global one.
3549 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3551         * org-feed.el: Re-write.
3553         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3554         (org-agenda-get-todos): Mark file tags as inherited.
3555         (org-agenda-list): Always search diary lines for a time.
3557 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3559         * org-feed.el (org-feed-assume-stable): New option.
3560         (org-feed-before-adding-hook): New hook.
3562         * org-exp.el (org-export-as-html): Close local lists depending on
3563         indentation, also when starting a table.
3565         * org-remember.el (org-remember-backup-directory)
3566         (org-remember-backup-name): New internal variable.
3568 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3570         * org-clock.el (org-clock-out-if-current): Make buffer detection
3571         work in indirect buffers as well.
3573         * org.el (org-emphasis-regexp-components): Add the exxclamation
3574         mark to the post-emphasis characters.
3576 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3578         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3579         (org-read-date): Run the new hook.
3581         * org-mac-message.el (org-mac-flagged-mail): New group.
3582         (org-mac-mail-account): New variable.
3583         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3584         commands.
3586         * org-remember.el (org-remember-backup-directory): New variable.
3587         (org-remember-apply-template): Write file to backup directory.
3589 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3591         * org-mouse.el (org-mouse-todo-menu): New function.
3592         (org-mouse-todo-keywords): Function removed.
3593         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3595         * org-table.el (org-table-beginning-of-field)
3596         (org-table-end-of-field): New commands
3597         (org-table-previous-field, org-table-beginning-of-field): Better
3598         error messages.
3599         (orgtbl-setup): Include `M-a' and `M-e'.
3601         * org.el (org-backward-sentence, org-forward-sentence): New
3602         commands.
3604         * org-colview.el (org-colview-initial-truncate-line-value): New
3605         variable.
3606         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3607         (org-columns): Remember the value of `truncate-lines'.
3609         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3610         New variable.
3611         (org-columns-remove-overlays): Restore the value of
3612         `truncate-lines'.
3613         (org-columns): Remember the value of `truncate-lines'.
3615         * org.el (org-columns-skip-arrchived-trees): New option.
3617         * org-agenda.el (org-agenda-export-html-style): Define color for
3618         org-agenda-done face.
3619         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3620         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3622         * org.el (org-scan-tags): Use the new face.
3624         * org-faces.el (org-agenda-done): New face.
3626         * org.el (org-scan-tags): Test the value org
3627         `org-tags-match-list-sublevels'.
3628         (org-tags-match-list-sublevels): New allowed value: indented.
3630         * org-export-latex.el (org-export-latex-make-header): Apply macros
3631         in header.
3633         * org-exp.el (org-export-apply-macros-in-string): New function.
3635         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3636         with the definition of a checked box.
3638         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3640         * org-export-latex.el (org-export-latex-low-levels): More options
3641         for how to process lower levels in LaTeX.
3642         (org-export-latex-subcontent): Better treatment for lists as a
3643         means of publishing lower levels.
3645 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3647         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3649         * org-faces.el (org-checkbox): New face.
3651         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3652         fragement images if there is an export file.
3654 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3656         * org-agenda.el (org-stuck-projects): Document that the subtree of
3657         projects that are not stuck will now be searched for stuck
3658         sub-projects.
3659         (org-agenda-skip-entry-when-regexp-matches)
3660         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3661         (org-agenda-list-stuck-projects): Use
3662         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3664         * org-export-latex.el (org-export-latex-preprocess): Improve
3665         export of verses.
3667         * org-exp.el (org-export-as-html): Implement centering as a div
3668         rather than a paragraph.  Do a better job with line-end in verse
3669         environments.
3671 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3673         * org.el (org-open-at-point): Fix tags searches by mouse click.
3675 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3677         * org-export-latex.el (org-export-latex-preprocess): Implement the
3678         centering markup.
3680         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3681         from `org-export-mark-blockquote-and-verse'.
3682         (org-export-as-html): Implement the centering markup.
3684         * org-export-latex.el (org-export-latex-tables): Fix vertical
3685         lines in tables.
3687 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3689         * org.el (org-read-date-history): New variable.
3690         (org-read-date): Use new history variable.
3691         (org-toggle-heading): Fix bug when used before first headline.
3692         (org-store-log-note): Remove drawer if empty while note is
3693         aborted.
3694         (org-remove-empty-drawer-at): New function.
3695         (org-check-after-date): New command.
3696         (org-sparse-tree): New sparse tree command "a".
3698         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3700 2009-03-14  Bastien Guerry  <bzg@altern.org>
3702         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3703         column and a space, not only a column.
3705 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3707         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3708         defaults for verbose emphasis.
3709         (org-export-latex-emph-format): New function.
3710         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3712         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3713         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3714         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3715         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3716         commands.
3718         * org.el (org-timestamp-change): Move end-time along with start
3719         time.
3721 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3723         * org-exp.el (org-export-target-internal-links)
3724         (org-export-as-html): Protect links specified as #name.
3726 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3728         * org.el (org-clone-subtree-with-time-shift): New command.
3730         * org-export-latex.el (org-export-latex-special-chars)
3731         (org-export-latex-treat-sub-super-char): Fix subscript export.
3733         * org-exp.el (org-create-multibrace-regexp): Do not add
3734         backslashes to the class.
3736 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3738         * org-colview.el (org-columns-map): Better functions for moving up
3739         and down a row, even if `truncate-line' is nil.
3741         * org.el (org-insert-todo-heading): Make sure the keyword is
3742         inserted at the correct position.
3744         * org-publish.el (org-publish-project-alist)
3745         (org-publish-projects, org-publish-org-index): Change default anme
3746         for the index of file names to "sitemap.org".
3748         * org-export-latex.el (org-export-latex-tables): Use
3749         `org-split-string', for Emacs 21 compatibility.
3751 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3753         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3755 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3757         * org-exp.el (org-export-page-description)
3758         (org-export-page-keywords): New variables.
3759         (org-export-plist-vars): Add entries for :keywords and
3760         :description.
3761         (org-infile-export-plist): Parse for new keywords.
3762         (org-get-current-options): Add new keywords
3763         (org-export-as-html): Publish description and keywords.
3765         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3766         option.
3767         (org-agenda-add-entry-text): Honor
3768         `org-agenda-add-entry-text-descriptive-links'.
3770         * org-export-latex.el (org-export-latex-preprocess): Make all
3771         external preprocess functions use a PARAMETER arg.
3773         * org-exp.el (org-export-preprocess-string)
3774         (org-export-select-backend-specific-text)
3775         (org-export-format-source-code-or-example)
3776         (org-format-org-table-html): Support docbook export.
3777         (org-export-preprocess-string): Make all external preprocess
3778         functions use a PARAMETER arg.
3780 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3782         * org-exp.el (org-export-html-style-include-scripts): New option.
3783         (org-export-plist-vars): Add new option
3784         `org-export-html-style-include-scripts'.
3785         (org-export-as-html): Honor new option
3786         `org-export-html-style-include-scripts'.
3787         (org-export-html-scripts, org-export-html-style-default): Fix
3788         xml issues with the Safari browser.
3790 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3792         * org-publish.el (org-publish-attachment): Only copy file when the
3793         directories differ.
3795 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3797         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3798         for clocktable steps.
3800         * org.el (org-additional-option-like-keywords): Add two more
3801         keywords.
3803 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3805         * org-exp.el (org-export-format-source-code-or-example): Mark
3806         temporary buffer unmodified, so that it will be killed even if
3807         mode like message mode has decided to assign a file name.
3809         * org.el (org-scan-tags): Improve tag inheritance.
3810         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3811         case-sensitive.
3812         (org-scan-tags): Use the internal tags list instead of creating it
3813         from scratch.
3814         (org-trust-scanner-tags, org-scanner-tags): New variables.
3815         (org-scan-tags): Set `org-scanner-tags'.
3816         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3817         (org-map-entries): Document the possible speedup using scanner
3818         tags.
3820 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3822         * org.el (org-add-planning-info): Fix bug with looking for keyword
3823         only at column 0.
3825         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3826         option for tags filter preset.
3827         (org-prepare-agenda): Store filter preset as a property on the
3828         filter variable.
3829         (org-finalize-agenda): Call the filter, if there is a preset.
3830         (org-agenda-filter-by-tag): Filter again after clearing the
3831         filter, when there still is a preset.
3832         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3833         Include the preset filter.
3834         (org-agenda-redo): Apply the filter again, also the preset filter.
3836         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3838         * org.el (org-uuidgen-p): New funtion.
3840         * org-agenda.el (org-agenda-fontify-priorities): New default value
3841         `cookies'.
3842         (org-agenda-fontify-priorities): Renamed from
3843         org-fontify-priorities.
3845         * org.el (org-set-font-lock-defaults): Call
3846         `org-font-lock-add-priority-faces'.
3847         (org-font-lock-add-priority-faces): New function.
3849         * org-faces.el: (org-set-tag-faces): New option.
3850         (org-priority-faces): New variable.
3852         * org-exp.el (org-export-as-html): Add a "content" div around the
3853         entire content of the body tag.
3854         (org-export-html-get-bibliography): New function.
3855         (org-export-html-validation-link): New variable.
3856         (org-export-as-html): Add validation link to exported page.
3858         * org.el (org-match-sparse-tree): Renamed from
3859         `org-tags-sparse-tree'.
3860         (org-tags-sparse-tree): New alias.
3862 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
3864         * org.el (org-get-valid-level): Catch the case where the level
3865         change is nil.
3867         * org-clock.el (org-clock-find-position): Better indentation of
3868         new clock drawers.
3870 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
3872         * org-agenda.el (org-agenda-quit): Delete window only when the
3873         frame-setup was not `current-window'.
3875         * org.el (org-tag-persistent-alist): New option.
3876         (org-startup-options): Add keyword `noptag'.
3877         (org-fast-todo-selection): Handle :newline correctly.
3878         (org-set-tags): Handle :newline correctly.
3879         (org-fast-tag-selection): Handle :newline correctly.
3881 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
3883         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3884         outputting it.
3885         (org-export-ascii-push-links): Fix bug with pussing links into the
3886         export buffer.
3888 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
3890         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3891         pasting at top level.
3893         * org-bbdb.el: Improve documentation.
3895 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
3897         * org-list.el (org-insert-item): Only consider insert empty lines
3898         is `org-empty-line-terminates-plain-lists' is not nil.
3900         * org.el (org-blank-before-new-entry): Mention the dependence on
3901         `org-empty-line-terminates-plain-lists' in the docstring.
3903         * org-publish.el (org-publish-get-project-from-filename): New
3904         optional argument UP.  Only find the top project if UP is set.
3905         (org-publish-current-project): Find the top encloding project.
3907         * org-agenda.el (org-agenda-before-write-hook)
3908         (org-agenda-add-entry-text-maxlines): New options.
3909         (org-write-agenda): Run the new hook in the temporary buffer.
3910         (org-agenda-add-entry-text): New function.
3911         (org-write-agenda): Implement PDF export, using ps2pdf.
3913         * org.el (org-global-properties-fixed, org-global-properties):
3914         Improve documentation string.
3916         * org-exp.el (org-export-ascii-links-to-notes): New option.
3917         (org-export-as-ascii): Handle links better.
3918         (org-export-ascii-wrap, org-export-ascii-push-links): New
3919         functions.
3921 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
3923         * org-agenda.el (org-agenda): Make prefix arg optional.
3924         (org-agenda-search-headline-for-time): New option.
3925         (org-format-agenda-item): Honor
3926         `org-agenda-search-headline-for-time'.
3928         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3929         characters.
3931         * org.el (org-self-insert-cluster-for-undo): New option.
3932         (org-self-insert-command): Cluster undo for 20 characters.
3933         (org-self-insert-command-undo-counter): New variable.
3935 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
3937         * org-exp.el (org-export-as-html): Fix problem with closing colone
3938         example.
3940 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
3942         * org-export-latex.el (org-export-as-latex)
3943         (org-export-latex-first-lines): Avoid modification flag when
3944         adding or removing text properties.
3945         (org-export-latex-fontify): Catch error when org-emph-alist has
3946         entries that are not defined for LaTeX export.
3948         * org.el (orgstruct++-mode): New function.
3949         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3950         (org-context-p): Allow detecting item context after the first line
3951         of an item.
3952         (orgstruct-make-binding): Detect if item-body context should be
3953         seen.
3954         (orgstruct-is-++): New variable.
3955         (org-add-planning-info): Catch the case when there is no planning
3956         info yet and the call does not want to add anything, only maybe
3957         tries to remove something.
3958         (org-special-ctrl-a/e): All value to be a cons cell with separate
3959         settings for `C-a. and `C-e'.
3960         (org-beginning-of-line, org-end-of-line): Honor separate values
3961         for `C-a' and `C-e'.
3963 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
3965         * org.el (org-reload): New command.
3967 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3969         * org-exp.el (org-export-htm-get-tag-class-name)
3970         (org-export-htm-get-todo-kwd-class-name): New functions.
3971         (org-export-html-tag-class-prefix)
3972         (org-export-html-todo-kwd-class-prefix): New options.
3973         (org-export-as-html): Call
3974         `org-export-html-get-todo-kwd-class-name'.
3975         (org-html-level-start): Wrap tags into classes.
3976         (org-export-html-get-tag-class-name)
3977         (org-export-html-get-todo-kwd-class-name): New functions.
3979         * org-export-latex.el (org-export-latex-collect-header-macros):
3980         Remove fields that are used anyway.
3981         (org-export-latex-make-header): Insert the options earlier.
3983         * org-agenda.el (org-agenda-get-progress): Fix bug with state
3984         matching.
3986         * org-list.el (org-indent-item): Allow point to be at the end of
3987         the region.
3989         * org.el (org-metaleft, org-metaright): Be more accurate about
3990         detecting a region where commands apply.
3992         * org-compat.el (org-cursor-to-region-beginning): New function.
3994         * org.el (org-priority): Also find invisible heading.
3996         * org-colview-xemacs.el (org-columns-edit-value): No special
3997         treatment for `org-todo' prefix.
3999         * org-colview.el (org-columns-edit-value): No special treatment
4000         for `org-todo' prefix.
4002         * org-remember.el (org-remember-apply-template): Use
4003         `org-completing-read-no-ido'.
4005         * org.el (org-completing-read-no-ido): New function.
4006         (org-make-tags-matcher, org-set-property): Use
4007         `org-completing-read-no-ido'.
4009         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4010         New option.
4011         (org-export-as-latex): Import in-buffer settings as TeX macros.
4012         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4013         (org-export-latex-collect-header-macros): New function.
4015         * org.el (org-refile-get-location): Turn off
4016         `partial-completion-mode'.
4018 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4020         * org.el (org-block-todo-from-checkboxes): Announce that
4021         checkboxes are the culprit.
4022         (org-block-todo-from-children-or-siblings): Call
4023         `org-up-heading-all instead' of `outline-up-heading'.
4025         * org-agenda.el (org-agenda-show-1): Renamed from
4026         `org-agenda-show'.
4027         (org-agenda-show): Re-install the old version for now.
4028         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4029         variable into the blokker hook, so that the checkbox checker can
4030         anounce that it caused the blocking.
4032         * org.el (org-track-ordered-property-with-tag): New option.
4033         (org-toggle-ordered-property): Honor
4034         `org-track-ordered-property-with-tag'.
4035         (org-tag-alist): Add newline options.
4036         (org-set-regexps-and-options): Separate option lines imply a
4037         newline.
4038         (org-set-regexps-and-options, org-assign-fast-keys)
4039         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4040         option.
4041         (org-indent-line-function): Make sure this works even if there is
4042         not `org-drawer-regexp' defined.  This can happen when
4043         orgstruct-mode is used in a non-org buffer.
4045         * org-list.el (org-checkbox-blocked-p): New function.
4046         (org-toggle-checkbox): Check for blocking.
4048         * org.el (org-modules): Add an entry for org-R.el.
4050         * org-agenda.el (org-agenda-todo-ignore-with-date)
4051         (org-agenda-todo-ignore-scheduled)
4052         (org-agenda-todo-ignore-deadlines): Mention the variable
4053         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4055         * org.el (org-get-wdays): Find the warning period also if it is in
4056         the wrong place.
4057         (org-ido-completing-read): Provide the correct arguments to
4058         ido-completing-read and bind `ido-enter-matching-directory' to
4059         nil.
4061 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4063         * org.el (org-olpath-completing-read): Never use ido for this
4064         one.
4066         * org-exp.el (org-export-normalize-links): Use new macro.
4068         * org-macs.el (org-if-unprotected-at): New macro.
4070         * org-agenda.el (org-agenda-show): Allow numerical prefix
4071         arguments to specify how much context should be shown.
4072         (org-agenda-cycle-show): New command, could be bound to SPC in
4073         org-agenda-mode-map.
4075         * org-exp.el (org-html-level-start): Space after section number.
4077 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4079         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4080         property, for sorting.
4081         (org-cmp-todo-state): Get the applicable TODO keywords directly
4082         from the buffer.
4083         (org-run-agenda-series, org-agenda-list, org-search-view)
4084         (org-todo-list, org-tags-view): Only fit agenda window when the
4085         whole series is done.
4087         * org.el (org-scan-tags): Add todo state as property, for sorting.
4089         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4090         `org-agenda-overriding-header' as an option.
4091         (org-agenda-list): Honor org-agenda-overriding-header'.
4093 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4095         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4096         after removing a checkbox.
4098         * org.el (org-show-entry): Make this work correctly also if it is
4099         the last entry in the file.
4100         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4101         falling back to normal, default command.
4102         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4103         item, call the checkbox toggler to get a box.
4105         * org-list.el (org-toggle-checkbox): Make double prefix set the
4106         checkbox to "[-]".
4107         (org-fix-bullet-type): Only replace bullet if it is changed.
4108         (org-renumber-ordered-list): Handle case when first item does not
4109         have a number.
4111         * org.el (org-add-log-setup): Fix positioning when
4112         `org-log-states-order-reversed' is nil.
4114         * org-clock.el (org-clock-in): Fix positioning when
4115         `org-log-states-order-reversed' is nil.
4116         (org-clock-find-position): Fix positioning when
4117         `org-log-states-order-reversed' is nil.
4119 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4121         * org-clock.el (org-clock-into-drawer): Take default from
4122         `org-log-into-drawer'.
4123         (org-clock-find-position): Look for the correct drawer.
4125         * org.el (org-log-into-drawer): Renamed from
4126         `org-log-state-notes-into-drawer'.
4127         (org-log-state-notes-into-drawer): New variable alias.
4128         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4129         CLOCK.
4130         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4132 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4134         * org-agenda.el (org-agenda): Fix docstring.
4136         * org.el ("org-plot"): Help loading org-plot.
4137         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4138         (org-metadown-hook, org-shiftmetaleft-hook)
4139         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4140         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4141         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4142         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4143         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4145         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4146         for selecting files with any (and even without) extension.
4148         * org.el (org-save-all-org-buffers): Also save id locations.
4149         (org-revert-all-org-buffers): Also load id locations.
4151 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4152         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4153         (org-log-state-notes-into-drawer): New option.
4154         (org-add-log-setup): Place the sate note marker into the drawer,
4155         create drawer when necessary.
4156         (org-refile-targets): Document special interpretation of LEVEL
4157         when odd-levels are used.
4159 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4161         * org.el (org-store-log-note): Fix note indentation when adding
4162         notes to end of list.
4164         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4165         class, so that each keyword can get special colors through CSS.
4167         * org-clock.el (org-clock-out): Add another nil for the previous
4168         state into the call to `org-add-log-setup'.
4170         * org.el (org-log-note-previous-state): New variable.
4171         (org-log-note-headings): New %S escape for old state.
4172         (org-todo): Call the note setup with the old state as an
4173         argument.
4174         (org-add-note): Add another nil for the previous state into the
4175         call to `org-add-log-setup'.
4176         (org-add-log-setup): New argument PREV-STATE.
4177         (org-add-log-note): Handle new %S escape.
4178         (org-store-log-note): Handle new %S escape.
4180 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4182         * org-clock.el (org-clock-find-position): Do not swallow an item
4183         less indented than the CLOCK line itself.
4184         (org-clock-in): Push markers to lin after the clock line.
4185         (org-clock-find-position): Handle values of
4186         `org-clock-into-drawer' smaller than 2.
4188         * org-exp.el (org-html-level-start): Add a CSS class to section
4189         numbers.
4190         (org-export-html-toplevel-hlevel): Better documentation of the
4191         influence of this variables on H levels and css classes in
4192         export.
4194 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4196         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4197         timestamp and nottimestamp to the chooe menu.
4199         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4200         (org-revert-all-org-buffers): New command.
4202 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4204         * org.el (org-return): Implement `org-return-follows-link' in the
4205         function org-return.  This is more robust than using the mouse
4206         map, I think.
4207         (org-set-regexps-and-options): Match more general #+TODO lines.
4208         (org-make-options-regexp): New optional argument EXTRA, for an
4209         extra regexp.
4210         (org-tab-follows-link): Mark as deprecated.
4212 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4214         * org-exp.el (org-export-preprocess-string): Remove clock lines
4215         earlier, so that they cannot cotribute to verbatim snippets.
4217 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4219         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4220         for finding drawers.
4221         (org-export-as-ascii, org-export-as-html): Count levels relative
4222         to the subtree header.
4223         (org-get-min-level): New optional argument OFFSET.
4224         (org-export): Make sure point is restored after popping up that
4225         window.
4227         * org.el (org-do-sort): Also take an inactive timestamp if no
4228         active one is found.
4230         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4231         deleting duplicates.
4233         * org-colview.el (org-columns-capture-view): Copy before
4234         deleting duplicates.
4236         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4237         text before first headline.
4239         * org.el (org-format-latex): Do not convert LaTeX fragments in
4240         protected examples.
4242 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4244         * org-exp.el (org-export-html-style-default): Use color values
4245         instead of names for XHTML validation.
4247         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4248         functions.
4249         (org-return-follows-link): Revert making this the default untile
4250         issues are resolved.
4252         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4253         nottimestamp.
4255 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4257         * org.el (org-mode): Make dependence stuff work more reliably.
4258         (org-update-parent-todo-statistics): Fix bug with updating
4259         statistics cookie.
4261         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4262         ~ as verbatim delimiters.
4264         * org-exp.el (org-export-html-format-image): New argument
4265         PAR-OPEN.
4266         (org-export-as-html): Pass par-open to
4267         `org-export-html-format-image'.
4269 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4271         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4272         (org-use-fast-todo-selection, org-tags-column): New default
4273         setting for variables, based on a poll what typical uses use.
4275         * org-agenda.el (org-agenda-sorting-strategy)
4276         (org-agenda-tags-column): New default setting for variables, based
4277         on a poll what typical uses use.
4279 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4281         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4282         blocked entries from setting the blocked tag.
4284         * org-exp.el (org-export-html-footnotes-section): Use a more
4285         consistent id for footnotes.
4287         * org-export-latex.el (org-export-latex-classes): Remove the
4288         a4paper option from the default styles.
4290 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4292         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4293         (org-block-todo-from-checkboxes): New function.
4294         (org-todo): Make tripple prefix arg circumvent blocking.
4296         * org-timer.el (org-timer): Provide the timer feature.
4298         * org.el (org-require-autoloaded-modules): Add a few more files to
4299         the list of autoloaded modules.
4301         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4303 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4305         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4306         drawers that are unprotected.
4307         (org-export-html-format-image): Make sure inlined LaTeX fragment
4308         images remain inlined.
4310         * org.el (org-toggle-ordered-property): New function.
4311         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4312         (org-org-menu): Add menu entries for TODO dependencies.
4314 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4316         * org.el (org-default-properties): Add ORDERED to the default
4317         properties, to get completion support for it.
4319         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4321         * org.el (org-update-parent-todo-statistics): Update more than one
4322         cookie.
4324         * org-agenda.el (org-agenda-get-todos): Start search from correct
4325         position.
4327         * org.el (org-fast-todo-selection): Make sure TODO selection does
4328         not change buffer position.
4330         * org-list.el (org-toggle-checkbox): Implement adding or removing
4331         checkboxes from line or region when called with a prefix
4332         argument.
4334         * org-rmail.el (org-rmail-store-link): Protect the call to
4335         `rmail-narrow-to-non-pruned-header'.
4337         * org-clock.el (org-clock-special-range): Fix week display in
4338         clock tables.
4340         * org-exp.el (org-get-current-options): Fix bug when in indirect
4341         buffer.
4343 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4345         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4346         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4347         (org-agenda-dim-blocked-tasks): New function.
4349         * org.el (org-enforce-todo-dependencies): New option.
4350         (org-block-todo-from-children-or-siblings): New function.
4352         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4354         * org.el (org-todo): Return correct state type even if the blocker
4355         throws an error.
4356         (org-modifier-cursor-error): Renamed from
4357         `org-shiftcursor-error'.
4358         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4359         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4361         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4362         to get real errors from the blocker hook.
4364         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4365         functions.
4366         (org-set-visibility-according-to-property): Turn off the setting
4367         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4368         property.
4370 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4372         * org.el (org-support-shift-select): New option.
4373         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4374         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4375         selection outside contexts.
4377         * org-list.el (org-at-item-bullet-p): New function.
4379         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4380         variables.
4382         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4383         variable.
4384         (org-insert-footnote-reference-near-definition): Remove
4385         unnecessary let form.
4387         * org-export-latex.el (org-export-latex-first-lines): Add
4388         OPT-PLIST parameter.
4389         (org-export-as-latex): Call `org-export-latex-first-lines' with
4390         opt-plits parameter.
4391         (org-export-latex-preprocess): Remove unnecessary variables.
4393         * org-exp.el (org-infile-export-plist)
4394         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4395         (org-export-remove-headline-metadata)
4396         (org-export-get-title-from-subtree, org-get-min-level)
4397         (org-html-do-expand): Remove innecessary let form.
4399         * org-colview-xemacs.el (org-columns-display-here): Remove
4400         unnecessary variables.
4402         * org-colview.el (org-columns-display-here): Remove unnecessary
4403         variables.
4405         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4406         variables.
4408         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4409         unnecessary variables.
4411         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4412         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4413         variables.
4415         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4416         (org-compact-display-after-subtree-move): Remove unnecessary
4417         variables.
4418         (org-edit-fixed-width-region): Remove unnecessary variables.
4419         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4420         (org-olpath-completing-read): Remove unnecessary variable.
4421         (org-auto-repeat-maybe): Remove unnecessary variable.
4422         (org-map-entries): Remove unnecessary variable.
4423         (org-buffer-property-keys, org-imenu-get-tree)
4424         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4426 -----------------------------------------------------------------
4428 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4429         * org-exp.el (org-export-remove-timestamps): Never remove
4430         timestamps from tables.
4432         * org-export-latex.el (org-export-latex-first-lines): Add more
4433         options to the preprocessing of the text before the first
4434         headline.
4436 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4438         * org-faces.el (org-clock-overlay): Make face compatible with
4439         XEmacs.
4441         * org.el (org-yank): Add property for delete-selection mode.
4443         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4445         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4446         variable.
4448         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4449         to `backward-char'.
4451         * org-exp.el (org-export-as-html): Remove the initial space from
4452         colon examples.
4454         * org.el (org-scan-tags): Call
4455         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4457         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4458         customization groups.
4459         (org-agenda-tags-todo-honor-ignore-options): New option.
4460         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4461         New function.
4462         (org-agenda-get-todos): Use
4463         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4465 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4467         * org-exp.el (org-export-format-source-code-or-example): Escape
4468         HTML characters also in examples that anre not treated with
4469         htmlize.  Also, just switch to EXAMPLE processing if we do not
4470         have a good version of htmlize.
4472         * org-rmail.el: Fix copyright notice.
4474         * org.el (org-activate-footnote-links): Improve footnote link
4475         highlighting.
4477         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4478         a footnote definition at the end of the file.
4480         * org-table.el (org-table-get-specials): Add an imagined hline at
4481         the end of the table.  This can be useful for references that want
4482         to go to the end of the table.  Also fix bug when computing last
4483         row constants, in tables that do not start right at the right
4484         margin.
4485         (org-table-eval-formula): Match and replace remove references.
4486         (org-table-formula-substitute-names): Make sure that names inside
4487         a "remote" call are left alone, the will be replaced later when
4488         the remote call is handled.
4489         (org-table-convert-refs-to-rc): Do not convert things that might
4490         look like a reference, but are really part of an ID or namei n a
4491         remote reference.
4492         (org-table-get-remote-range): New function.
4494 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4496         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4498         * org-clock.el (org-clock-put-overlay): Use new face instead of
4499         `secondary-selection'.
4501         * org-faces.el (org-clock-overlay): New face.
4503 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4505         * org-exp.el (org-get-current-options): Include the option for
4506         publishing time stamps.
4508         * org.el (org-toggle-heading): Renamed from
4509         `org-toggel-region-headings'.
4510         No longer needs a region defined, but will use it if there is one.
4511         (org-ctrl-c-star): Simplified, relying more on the internal
4512         workings of `org-toggle-heading'.
4513         (org-toggle-item): Renamed from `org-toggle-region-items'.
4514         No longer needs a region defined, but will use it if there is one.
4515         (org-ctrl-c-minus): Simplified, relying more on the inernal
4516         workings of `org-toggle-item'.
4518         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4519         environment detection.  Also, do real changes only in unprotected
4520         places.
4522 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4524         * org-export-latex.el (org-export-latex-quotation-marks): Use
4525         `org-if-unprotected-1'.
4526         (org-export-latex-set-initial-vars): Check for class definition in
4527         property.
4529         * org-macs.el (org-if-unprotected-1): New macro.
4531 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4533         * org-compat.el (org-count-lines): New function.
4535         * org-exp.el (org-export-format-source-code-or-example): Handle
4536         switches related to text areas.
4538         * org.el (org-activate-footnote-links): Don't allow match inside a
4539         link.
4541         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4543         * org-export-latex.el (org-export-latex-links): Keep a relative
4544         path relative also after export.
4546         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4548         * org.el (org-make-tags-matcher): Never use IDO for completing the
4549         tags matcher match string.
4550         (org-completing-read): Also remove the special biding for "?".
4552         * org-attach.el (org-attach-allow-inheritance): New option.
4553         (org-attach-inherited): New variable.
4554         (org-attach-dir): Handle properties related to the attachment
4555         directory.
4556         (org-attach-check-absolute-path): New function.
4557         (org-attach-set-directory, org-attach-set-inherit): New commands.
4558         (org-attach): Accommodate the new commands in the dispatcher.
4560 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4562         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4563         `window-full-width-p'.
4565         * org-exp.el (org-export-as-html): Only check for images files
4566         that really can be inlined
4568         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4569         list of extensions to be a parameter.
4571         * org-exp.el (org-export-html-inline-image-extensions): New
4572         variable.
4574         * org-agenda.el (org-prepare-agenda): Use
4575         `org-agenda-block-separator'.
4576         (org-agenda-block-separator): New option.
4578 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4580         * org-export-latex.el (org-export-latex-tables): Call
4581         `org-table-clean-before-export' with the new optional argument.
4583         * org-exp.el (org-table-clean-before-export): New optional
4584         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4585         first column.
4587 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4589         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4590         histograms.
4592         * org-colview.el (org-colview-construct-allowed-dates): Better
4593         error catching when a date/time property does not have allowed
4594         values defined.
4596         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4597         Better error catching when a date/time property does not have
4598         allowed values defined.
4600 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4602         * org.el (org-map-entries): Restore point and restriction after
4603         `org-map-entries'.
4605 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4607         * org.el (org-time=, org-time<, org-time<=, org-time>)
4608         (org-time>=, org-time<>): Make sure both values are dates.
4610 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4612         * org-archive.el (org-extract-archive-heading): Allow %s for file
4613         name also in achive location heading.
4615 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4617         * org-archive.el (org-add-archive-files): Uniquify the list before
4618         returning it.
4620 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4622         * org-compat.el (org-fit-window-to-buffer): Use
4623         `window-full-width-p'.
4625         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4626         space after the colon in short examples.
4628         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4629         enforce a space after the colon.  However, we also allow lines
4630         that are *only* a colon.
4631         (org-export-as-html): Enforce the space after the colon in short
4632         examples.
4633         (org-export-preprocess-string): Do the colon example protection
4634         earlier.
4635         (org-export-remove-timestamps): Do not check for protection at the
4636         end of the line.
4638 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4640         * org.el (org-format-latex-options): Add new matcher for single
4641         letters between dollars.
4642         (org-get-header): Function removed.
4643         (org-heading-components): New function.
4645         * org-exp.el (org-export-define-heading-targets): Record ID's also
4646         as alternative targets.
4647         (org-export-as-html): Interpret "id:" links to other files by
4648         preserving the relative path.
4650         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4651         is nil.
4653         * org-exp.el (org-export-normalize-links): Protect the main link,
4654         to avoid special character processing.
4656         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4657         New variable.
4658         (org-export-latex-special-string-regexps): Variable removed.
4659         (org-export-latex-keywords): Use the new regexp.
4661         * org-exp.el (org-export-handle-include-files): Fetch switches and
4662         put them into the BEGIN statement.
4664         * org-timer.el (org-timer-mode-line-string): New variable.
4666         * org-clock.el (org-clock-mode-line-map): Renamed from
4667         `org-clock-mode-map'.
4668         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4669         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4670         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4671         (org-clock-remove-overlays): Renamed from
4672         `org-remove-clock-overlays'.
4674         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4675         and mode line display.
4676         (org-timer-stop): New command.
4677         (org-timer-seconds): Return correct time when timer is paused.
4678         (org-timer-mode-line-timer): New variable.
4679         (org-timer-set-mode-line, org-timer-update-mode-line): New
4680         functions.
4682         * org.el (org-insert-heading):  Handle new value `auto' for
4683         `org-blank-before-new-entry'.
4684         (org-org-menu): Add new items for timer functions.
4686         * org-list.el (org-insert-item): Handle new value `auto' for
4687         `org-blank-before-new-entry'.
4689         * org.el (org-blank-before-new-entry): New value `auto', made
4690         default.
4692 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4694         * org-exp.el (org-export-normalize-links): If the link is also
4695         used as the description, protect the description.
4697 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4699         * org.el (org-closest-date): Fix bug with yearly repeats, in
4700         combination with preference of the past as it is used for deadline
4701         and scheduling search.
4703         * org-exp.el (org-html-handle-time-stamps): No longer check for
4704         the `org-export-with-timestamps' option, because the preprocesser
4705         has taken care of this already.
4707         * org.el (org-entry-properties): Catch the case when this is
4708         called in a non-org-mode file.
4710         * org-export-latex.el (org-export-latex-remove-from-headlines):
4711         Variable made obsolete, also LaTeX export now uses the standard
4712         variables.
4713         (org-export-as-latex): Add the timestamps parameter to the
4714         preprocessor parameter list.
4715         (org-export-latex-content): Export the remaining keywords without
4716         considering to remove them.
4717         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4718         Use bold font instead of tt font for the keywords.
4719         (org-export-latex-fontify-headline): Format headlines, assuming
4720         that all keywords still present should be published.
4721         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4722         publish what ever remains of the time stamps.
4723         (org-export-latex-list-parameters): New option.
4724         (org-export-latex-lists): Pass additional parameters to the list
4725         converter.
4727         * org-exp.el (org-export-preprocess-string): Remove clock lines
4728         and timestamps already in the preprocesor.
4729         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4730         functions.
4731         (org-export-as-ascii, org-export-as-html): Add the timestamps
4732         parameter to the preprocessor parameter list.
4734         * org-list.el (org-list-parse-list): Parse for checkboxes.
4735         (org-list-to-generic): Introduce and handle new parameters :cbon
4736         and :cboff.
4737         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4738         optional parameter PARAMS.
4740         * org-export-latex.el (org-export-latex-special-chars): Fix
4741         problems with interpreting dollar signs.
4742         (org-inside-latex-math-p): New function.
4743         (org-export-latex-preprocess): Protect all the math fragments.
4745         * org.el (org-latex-regexps): Allow a dash after a dollar.
4747         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4748         mark after copying.
4750         * org-agenda.el (org-run-agenda-series): Have series options set
4751         when finalizing the agenda.
4753         * org-exp.el (org-export-format-source-code-or-example): Protect
4754         the converted examples.
4756         * org.el (org-set-regexps-and-options): Fix the regexp
4757         `org-complex-heading-regexp'.
4759 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4761         * org.el (org-edit-src-get-label-format): New function.
4762         (org-coderef-label-format): New option.
4763         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4764         a label format specification and make sure it is used in the edit
4765         buffer.
4766         (org-edit-src-get-label-format): New function.
4767         (org-store-link): Handle new coderef formats.
4768         (org-link-search): Handle new coderef formats.
4770         * org-footnote.el (org-footnote-create-definition)
4771         (org-footnote-goto-local-insertion-point): Make footnote insertion
4772         work correctly when the "Footnotes" headline is the last line in
4773         the buffer.
4775         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4776         the location.
4778 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4780         * org-w3m.el (org-w3m): New customization group.
4781         (org-w3m-deactivate-mark): New option.
4782         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4783         option say not to.
4785 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4787         * org.el (org-set-font-lock-defaults): Trigger footnote
4788         fontification.
4789         (org-activate-footnote-links): New function.
4790         (org-activate-links): New entry `footnote'.
4792         * org-faces.el (org-footnote): New face.
4794 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4796         * org-macs.el (org-re): Handle the [:word:] class.
4798         * org-exp.el (org-export-preprocess-string): Call
4799         `org-export-protect-colon-examples'.
4800         (org-export-protect-colon-examples): Renamed from
4801         `org-export-protect-examples', and scope limited to lines starting
4802         with a colon.
4804 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4806         * org-exp.el (org-export-preprocess-string): Move the preprocess
4807         hook to after turning on Org-mode.
4808         (org-export-preprocess-after-include-files-hook)
4809         (org-export-preprocess-after-tree-selection-hook)
4810         (org-export-preprocess-before-backend-specifics-hook)
4811         (org-export-preprocess-final-hook): New hooks.
4812         (org-export-preprocess-string): Run the new hooks.
4814         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4816         * org-footnote.el: New file.
4818         * org.el (org-footnote): Require footnote code.
4819         (org-startup-options): Add new footnote options.
4820         (org-mode-map): New keybindig for footnotes.
4821         (org-ctrl-c-ctrl-c): Add function at footnotes.
4822         (org-org-menu): New menu entries for footnotes.
4824         * org-export-latex.el (org-export-as-latex): Pass footnote
4825         variable to preprocessor.
4826         (org-export-latex-preprocess): Treat multiple references to a
4827         footnote.
4829         * org-exp.el (org-export-preprocess-string): Call
4830         `org-footnote-normalize'.
4831         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4832         to preprocessor.
4833         (org-export-as-html): Treat multiple references to a footnote.
4835 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4837         * org-export-latex.el (org-export-latex-links): Handle coderef
4838         links.
4840         * org.el (org-bracket-link-analytic-regexp++): New variable.
4841         (org-make-link-regexps): Initialize
4842         `org-bracket-link-analytic-regexp++'.
4843         (org-store-link): Implement special case in edit-src buffer.
4844         (org-insert-link): No use of ide to insert stored links.
4845         (org-link-search): Implement special case for coderefs.
4847         * org-exp.el (org-export-html-scripts): New constant.
4848         (org-export-html-style-default): Add a new style for highlighted
4849         code.
4850         (org-export-code-refs): New variable.
4851         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4852         Call `org-export-replace-src-segments-and-examples'
4853         No longer call `org-export-protect-examples'.
4854         (org-export-target-internal-links): Take care of coderef targets.
4855         (org-export-last-code-line-counter-value): New variable.
4856         (org-export-replace-src-segments-and-examples): Renamed from
4857         `org-export-replace-src-segments', and modified.
4858         (org-export-format-source-code-or-example): Renamed from
4859         `org-export-format-source-code'.
4860         (org-export-number-lines): New function.
4861         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4863 --------------------------------------------------------------------------
4865 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
4867         * org-remember.el (org-remember-handler): Safer way to get a new
4868         buffer accessing the target file.
4870         * org.el (org-refile-get-location): Handle case of current buffer
4871         not having a file associated with it.
4873 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
4875         * org-table.el (org-table-get-formula): Only ask to overwrite
4876         field formula if there really is one.
4878         * org-id.el (org-id-find): Allow the ID to be a symbol or a
4879         number, by converting these to a string.
4881         * org-colview.el (org-dblock-write:columnview): Allow ID to be
4882         located in a different file.
4884         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4885         org-colview.el.
4887 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
4889         * org.el (org-completion-use-ido): Enhance docstring of
4890         `org-completion-use-ido'.
4892         * org-export-latex.el (org-export-latex-make-header): Double the %
4893         in the time stamp format.
4894         (org-export-latex-special-chars): Handle case where there is no
4895         match group 3.
4897 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4899         * org.el (org-get-refile-targets, org-refile-get-location): Use
4900         expanded file name to improve comparison.
4902 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
4904         * org.el (org-scan-tags): Rescan for tags, to get the correct
4905         upcase/downcase stuff.  This slows things down for now, but it
4906         works.
4907         (org-mode): Make sure the tag-faces regexp is initialized.
4909         * org-export-latex.el (org-export-latex-links): Fix bug with
4910         undefined label.
4912         * org-table.el (org-table-get-specials): Set
4913         `org-table-current-last-data-line'.
4914         (org-table-current-last-data-line): New variable.
4915         (org-table-insert-column, org-table-delete-column)
4916         (org-table-move-column, org-table-fix-formulas): Call
4917         `org-table-fix-formulas' a second time to fix the $LR references.
4918         (org-table-get-specials): Add the $LR references to the tables.
4919         (org-table-get-formula): Do not offer last-row names as LHS of
4920         formulas.
4922         * org.el (org-store-link): Capture link description from
4923         `org-id-store-link'.
4925         * org-exp.el (org-export-html-format-image): Add the / to the end
4926         of the <img> tag.
4927         (org-export-format-source-code): Surround example by empty lines,
4928         to make sure it will not be inside a paragraph.
4930         * org.el (org-ido-switchb): New function.
4932 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
4934         * org-agenda.el (org-agenda-show): New prefix argument
4935         FULL-ENTRY.
4937         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4938         argument.
4940         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4941         `org-agenda-change-all-lines'.
4942         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4943         tags are now retrieved locally.
4945 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4947         * org.el (org-get-outline-path): Fix bug if level is not given.
4948         (org-org-menu): Do not quote function in menu vector.
4950         * org-agenda.el (org-finalize-agenda): Fix typo with variable
4951         name.
4953 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4955         * org.el (org-refile): Avoid refiling to within the region to be
4956         refiled.
4958         * org-export-latex.el (org-export-latex-special-chars): Replace
4959         special characters also in tables.
4961         * org-agenda.el (org-agenda-change-all-lines): New argument
4962         FORCE-TAGS.
4963         (org-agenda-set-tags): Cet the new tags and pass them to
4964         `org-format-agenda-item'.
4966 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
4968         * org-export-latex.el (org-export-latex-classes): Add longable as
4969         a default package to all classes.
4970         (org-export-latex-tables): Handle the longtable attribute and the
4971         align attribute.
4973         * org-table.el (orgtbl-to-generic): Handle tables that start with
4974         a hline.
4976         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4977         \verb for colde-like snippets.
4978         (org-export-as-latex): Fix issues with region export.
4980         * org.el (org-up-heading-safe): Speed up function by using a
4981         direct regexp search.
4982         (org-olpa): New variable.
4983         (org-get-outline-path): Speed-up path constructions in cases where
4984         this is possible because the entire hierarchy is scanned anyway.
4985         (org-refile-get-location): Don't compare the truenames of files,
4986         this is too slow.
4987         (org-goto-max-level): New option.
4988         (org-goto): Use `org-goto-max-level'.
4990 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
4992         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4993         Strip angle brackets from message-ids in the former and don't do
4994         it in the latter.
4995         (org-gnus-follow-link): Open summary reliable, even if the last
4996         messages were deleted, and handle empty groups, too.
4998 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5000         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5001         instead of \texttt for the =...= and ~===~ emphasis environments.
5002         (org-export-as-latex): Remove any old :org-license-to-kill text
5003         properties.
5004         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5005         (org-export-latex-make-header): Add some hard space after the
5006         table of contents.
5007         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5008         exported text so that it will be excuded in further steps.
5010         * org-table.el (org-table-get-specials): Make @0 reference the
5011         last line in a table.
5012         (org-table-recalculate): Improve docstring.
5014 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5016         * org.el (org-log-done): Fix docstring.
5018 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5020         * org-exp.el (org-export-html-format-image): Fix bugs.
5022         * org-export-latex.el (org-export-latex-tables)
5023         (org-export-latex-links): Implement attribute, label, and caption
5024         handling.
5026         * org-exp.el (org-export-html-style-default): Add style
5027         definitions for the figure div.
5028         (org-export-preprocess-string, org-export-as-html): Implement
5029         attribute, label, and caption handling.
5030         (org-export-attach-captions-and-attributes): New function.
5031         (org-export-html-format-image): New function.
5032         (org-format-org-table-html): Implement attribute, label, and
5033         caption handling.
5035         * org.el (org-find-text-property-in-string): New function.
5036         (org-extract-attributes): Use the property org-attr instead of
5037         org-attrobutes, because this property is now set with the #+ATTR
5038         lines.
5040 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5042         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5043         the case that FROM is nil.
5045         * org.el (org-before-first-heading-p): New function.
5047 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5049         * org-exp.el (org-export-as-html): Do not add a space before
5050         enforces line breaks.
5051         (org-export-as-html): Close paragraph before blockquote and verse
5052         tags.
5054 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5056         * org-id.el (org-id-locations-file): Wrap file name with
5057         `convert-standard-filename'.
5058         (org-id-files): New variable.
5059         (org-id-use-hash): New option.
5060         (org-id-update-id-locations): Also search in all files current
5061         listed in `org-id-files'.  Convert the resulting alist to a hash
5062         if the user customation says so.
5063         (org-id-locations-save): Handle he case if `org-id-locations' is a
5064         hash.
5065         (org-id-locations-load): Convert the alist to a hash.
5066         (org-id-add-location): Handle the hast case.
5067         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5068         exited.
5069         (org-id-hash-to-alist, org-id-alist-to-hash)
5070         (org-id-paste-tracker): New functions.
5072 -------------------------------------------------------------------------
5074 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5076         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5077         bindings of calendar variables.
5079         * org-table.el (org-table-find-row-type): Renamed from
5080         `org-find-row-type'.
5081         (org-table-rewrite-old-row-references): Renamed from
5082         `org-rewrite-old-row-references'.
5083         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5084         (org-table-cleanup-narrow-column-properties): Renamed from
5085         `org-cleanup-narrow-column-properties'.
5087 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5089         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5090         for better error messages.
5091         (org-table-get-descriptor-line): Supply the new arguments to
5092         `org-find-row-type'.
5093         (org-table-error-on-row-ref-crossing-hline): New option.
5095         * org.el (org-target-link-regexp): Make buffer-local.
5096         (org-move-subtree-down): Fix bug with trees at beginning of
5097         buffer.
5099 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5101         * org-faces.el (org-set-tag-faces): New function.
5102         (org-tags-special-faces-re): New variable.
5104         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5106         * org-faces.el (org-tag-faces): New option.
5107         (org-tag): Mention `org-tag-faces' in the docstring.
5109 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5111         * org-exp.el (org-export-html-style-default): Implement new
5112         quoting.
5114         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5116         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5117         command to the `w3m-minor-mode-map'.
5119         * org-archive.el (org-archive-to-archive-sibling): Protect
5120         `this-command' to avoid appending kills during archiving.
5122         * org-exp.el (org-export-with-priority): New variable.
5123         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5124         instead of internal list of strings and properties.
5125         (org-print-icalendar-entries): Retrieve the location property with
5126         inheritance.
5128 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5130         * org-exp.el (org-export-with-todo-keywords): New option.
5131         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5132         line.
5133         (org-default-export-plist, org-export-add-options-to-plist)
5134         (org-export-as-ascii, org-export-as-html): Use the new structure
5135         of `org-export-plist-vars'.
5137         * org.el (org-map-entries): Return all values.
5139 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5141         * org.el (org-matcher-time): Recognize more special values.
5143         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5145 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5147         * org.el (org-tags-exclude-from-inheritance): New option.
5148         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5149         `org-tags-exclude-from-inheritance'.
5151         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5152         (org-format-agenda-item): Add inherited tags to the agenda line
5153         string, and make sure that properties are kept when downcasing the
5154         tags list.
5155         (org-agenda-add-inherited-tags): New function.
5156         (org-downcase-keep-props): New function.
5158         * org.el (org-scan-tags): Mark inherited tags with a text
5159         property.
5160         (org-get-tags-at): Mark inherited tags with a text property.
5161         (org-add-prop-inherited): New function.
5163         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5164         (org-agenda-show-inherited-tags): New option.
5166 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5168         * org.el (org-modules): Add org-w3m to the default modules.
5170         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5171         orgtbl-mode.
5172         (orgtabl-create-or-convert-from-region): New command.
5174         * org-exp.el (org-export-as-ascii): Remove the handling of
5175         targets.
5176         (org-export-ascii-preprocess): Handle targets already in this
5177         function.
5179 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5181         * org-timer.el (org-timer-start-time): Define this variable.
5182         (org-timer-item): Make argument optional.
5184         * org-list.el (org-insert-item): Automatically insert a timer item
5185         if the current list is a timer list.
5187         * org-timer.el: New file.
5189         * org-publish.el (org-publish-org-index): Only exclude the index
5190         file in the main directory from being added to the site-map.
5191         (org-publish-get-project-from-filename): If the current project is
5192         a component, start publishing from the parent project.
5194 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5196         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5198         * org-publish.el (org-publish-org-index): Improve removal of
5199         temporary buffers.
5201         * org-agenda.el (org-get-closed): Re-apply changes
5202         accidentially overwritten by last commit to Emacs.
5204         * org.el (org-outline-path-complete-in-steps): New option.
5205         (org-refile-get-location): Honor
5206         `org-outline-path-complete-in-steps'.
5207         (org-agenda-change-all-lines, org-tags-sparse-tree)
5208         (org-time-string-to-absolute, org-small-year-to-year)
5209         (org-link-escape): Re-apply changes accidentially overwritten
5210         by last commit to Emacs
5212 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5214         * org-clock.el (org-dblock-write:clocktable): Make sure the
5215         clocktable sees the first line.
5216         (org-clock-in): Warn if the clock cannot be resumed.
5218 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5220         * org.el (org-open-at-point): Fix mixup about interactive and
5221         non-interactive elisp links.
5223 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5225         * org-exp.el (org-export-preprocess-string): Allow one comment
5226         line before the first headline to always be included.  This is
5227         to not miss a commented target.
5229         * org-mouse.el (org-mouse-insert-item): Call
5230         `org-indent-to-column' instead of `indent-to', for XEmacs
5231         compatibility.
5233         * org.el (org-refile-targets): Fix customize definition so
5234         that it works also in XEmacs.
5235         (org-fixup-indentation): Call `org-indent-to-column' instead
5236         of `indent-to', for XEmacs compatibility.
5238 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5240         * org-mew.el (org-mew-store-link): Get the correct case folder
5241         for refiled messages.
5243 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5245         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5246         line break indicators.
5248         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5249         ido-completion propts.
5251 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5253         * org-remember.el (org-remember-apply-template): Use
5254         `org-substring-no-properties'.
5256         * org-compat.el (org-substring-no-properties): New function.
5258         * org-remember.el (org-remember-apply-template): Use
5259         `org-substring-no-properties' for compatibility.
5261         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5262         option.
5263         (org-fix-bullet-type): respect
5264         `org-list-two-spaces-after-bullet-regexp'.
5266         * org-clock.el (org-clock-load): Clean up the code.
5268         * org.el (org-adaptive-fill-function): Allow two spaces after
5269         "1." as a list bullet.
5271 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5273         * org-clock.el (org-clock-save, org-clock-load): Check for
5274         live buffers, existing files, and buffer file names to ensure
5275         consistent information.
5276         (org-clock-persist): Make `clock' a special value of this
5277         variable, and improve docstring.
5279         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5280         (org-get-string-indentation): Adapt indentation when the bullet
5281         width changes.
5283 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5285         * org-remember.el (org-remember-finalize): Make interactive.
5286         (org-remember-kill): New command.
5287         (org-remember-finish-immediately): Call `org-remember-finalize'
5288         directly.
5289         (org-remember-finalize): Make `org-remember-finalize' an interactive
5290         function.
5292 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5294         * org-remember.el (org-remember-apply-template): No ido completion
5295         for free prompts in remember templates.
5296         (org-remember-before-finalize-hook): New hook.
5297         (org-remember-mode): New minor mode.
5298         (org-remember-apply-template): Turn on `org-remember-mode'.
5300         * org-id.el (org-id-add-location): Avoid error when no file is
5301         given.
5303         * org-remember.el (org-remember-apply-template): Fix the way how
5304         the list of allowed properties is retrieved from the target file.
5306         * org.el (org-insert-link): Improve file link matching.
5308 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5310         * org-colview.el (org-columns-display-here): New argument
5311         DATELINE, to trigger using the new face.
5312         (org-agenda-colview-summarize): Call `org-columns-display-here'
5313         with the new argument.
5315         * org-faces.el (org-agenda-column-dateline): New face.
5317         * org-publish.el (org-publish-org-index): Use index-title at page
5318         title, not as section.
5320         * org-exp.el (org-export-html-format-desc): Respect the
5321         org-protect property.
5322         (org-export-as-html): Protect image specifiers that are in the
5323         description part of a link.
5325         * org.el (org-sort-entries-or-items, org-completing-read)
5326         (org-refile-get-location, org-olpath-completing-read, org-todo)
5327         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5328         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5329         (org-set-property, org-delete-property)
5330         (org-delete-property-globally): Use `org-ido-completing-read'.
5332         * org-remember.el (org-remember-apply-template): Use
5333         `org-ido-completing-read'.
5335         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5337         * org-colview.el (org-columns-edit-value, org-columns-new)
5338         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5340         * org-colview-xemacs.el (org-columns-edit-value)
5341         (org-columns-new, org-insert-columns-dblock): Use
5342         `org-ido-completing-read'.
5344         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5345         `org-ido-completing-read'.
5347         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5348         `org-ido-completing-read'.
5350         * org.el (org-time-today): New function.
5351         (org-matcher-time): Use `org-time-today'.  Add special treatment
5352         for "<tomorrow>" and "<yesterday>".
5353         (org-ido-completing-read): New function.
5354         (org-completion-use-ido): New option.
5356         * org-exp.el (org-export-format-source-code): Fix bug in require
5357         htmlize code.
5358         (org-export-target-internal-links): Fix bug in search for text
5359         property.
5361 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5363         * org-export-latex.el (org-export-latex-subcontent): Interprete
5364         target aliases as additonal labels.
5366         * org-exp.el (org-export-target-aliases): New variable.
5367         (org-export-preprocess-string)
5368         (org-export-handle-invisible-targets): Fill the alias alist.
5369         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5370         assign an id.
5371         (org-html-level-start): Insert the target aliases as additonal
5372         anchors.
5374         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5375         picture area.
5377 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5379         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5380         when following a link with the mouse from the agenda.
5382         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5383         headlines are created.
5385 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5387         * org-exp.el (org-export-preprocess-string): Reorder so that we
5388         can still see ID properties when we collect targets.
5389         (org-export-target-internal-links): Also store targets for ID's.
5391         * org.el (org-link-translation-function): New option.
5392         (org-open-at-point): Call `org-link-translation-function' if
5393         non-nil.
5394         (org-translate-link): New function.
5395         (org-translate-link-from-planner): New function.
5396         (org-open-at-point): Allow interactive commands in elisp links.
5398         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5399         iCalendar quoting.  The new one seems to caus problems with
5400         applications.
5402         * org.el (org-yank): Set `this-command' to `yank', so that
5403         `yank-pop' will work.
5405 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5407         * org-id.el (org-id-search-archives): New option.
5409         * org.el (org-link-to-org-use-id): New option.
5410         (org-store-link): Use `org-link-to-org-use-id'.
5411         (org-id): Make org-id.el a standard component.
5413 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5415         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5416         hexified version of the tag.
5418         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5419         compliance as far as quoting is concerned.
5421         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5423         * org.el (org-up-heading-safe, org-forward-same-level): Always
5424         call `org-back-to-heading' instead of `outline-back-to-heading'.
5425         (org-back-to-heading): New wrapper around outline-back-to-heading,
5426         with a useful error message telling where the error happened.
5428         * org-list.el (org-update-checkbox-count): Always call
5429         `org-back-to-heading' instead of `outline-back-to-heading'.
5431         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5432         has an `alt' attribute, to ensure XHTML validation.
5434 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5436         * org-publish.el (org-publish-attachment): Allow publishing to
5437         overwrite attachment files.
5439         * org-agenda.el (org-agenda-timerange-leaders): New option.
5440         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5442         * org.el (org-edit-src-exit): Untabify ASCII image before
5443         returning.
5456 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5458         * org.el (org-yank): Make any prefix force normal yanking.
5459         Suppress folding if text would be swallowed into a folded
5460         subtree.
5461         (org-yank-folded-subtrees, org-yank): Docstring updates.
5463         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5464         defined as 0.
5466         * org-exp.el (org-export-language-setup): Add Catalan and
5467         Esperanto language entries.
5469 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5471         * org.el (org-refile): Allow refiling of entire regions.
5473         * org-clock.el (org-clock-time%): New function.
5475         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5476         retrieve property values.
5478 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5480         * org-agenda.el (org-agenda-list): Handle the value `only' of
5481         org-agenda-show-log'.
5482         (org-agenda-log-mode): Interpret a double prefix arg.
5484 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5486         * org-exp.el (org-export-html-footnotes-section): New variable.
5487         (org-export-as-html): Use `org-export-html-footnotes-section' to
5488         insert the footnotes.
5489         (org-export-language-setup): Add "Footnotes" to language words.
5491 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5493         * org.el (org-yank): Fix bug when not inserting a subtree.
5495 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5497         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5498         instead of `vm-beginning-of-message'.
5500         * org.el (org-make-link-regexps): Make sure that links to gnus can
5501         contain brackets.
5503 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5505         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5506         code.
5508         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5509         shell output.
5511         * org.el (org-link-abbrev-alist): Improve customization type.
5513         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5514         functions.
5516         * org-agenda.el (org-agenda-get-progress): Renamed from
5517         `org-get-closed'.  Implement searching for state changes as well.
5518         (org-agenda-log-mode-items): New option.
5519         (org-agenda-log-mode): New option prefix argument, interpreted as
5520         request to show all possible progress info.
5521         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5522         `org-get-closed'.
5523         (org-agenda-set-mode-name): Handle the more complex log mode
5524         settings.
5525         (org-get-closed): New alias, pointing to `org-get-progress'.
5527 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5529         * org.el (org-file-apps-defaults-gnu)
5530         (org-file-apps-defaults-macosx)
5531         (org-file-apps-defaults-windowsnt): Add an entry defining the
5532         system command.
5533         (org-file-apps): Allow `system' as key and value.
5534         (org-open-at-point): Explain the effect of a double prefix arg.
5535         (org-open-file): If the argument `in-emacs' is (16),
5536         i.e. corresponding to a double prefix argument, try to open the
5537         file externally.
5539 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5541         * org.el (org-insert-link): Abbreviate absolute files names in
5542         links.  Also, fix a bug in which the double C-u prefix would not
5543         be honored.
5545 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5547         * org.el (org-insert-heading): If buffer does not end with a
5548         newline, add one if necessary to insert headline correctly.
5550         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5551         paragraphs, not inside.
5553         * org.el (org-todo): Quote
5554         `org-agenda-headline-snapshot-before-repeat'.
5556         * org-exp.el (org-export-as-html): Fully process link descriptions.
5557         (org-export-html-format-desc): New function.
5558         (org-export-as-html): Collect footnotes into the correct basket.
5559         (org-html-protect): No longer protect quotations marks here, this
5560         goes wrong.
5562         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5563         BEG.
5565         * org-compat.el (org-fit-window-to-buffer): New function (not
5566         really, a preliminary and incomplete version was present earlier,
5567         but not used).
5569         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5570         `org-fit-window-to-buffer'.
5572         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5574         * org-agenda.el (org-agenda-get-restriction-and-command)
5575         (org-fit-agenda-window, org-agenda-convert-date): Use
5576         `org-fit-window-to-buffer'.
5578         * org-exp.el (org-export-as-html): Process href links through
5579         `org-export-html-format-href'.
5580         (org-export-html-format-href): New function.
5582         * org-agenda.el (org-agenda-todo): Update only the current
5583         headline if this is a repeated TODO, marked done for today.
5584         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5585         only the current line.
5587         * org.el (org-todo): Take a snapshot of the headline if the
5588         repeater might change it.
5590 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5592         * org-publish.el (org-publish-find-title): Remove buffers visited
5593         only for extracting the title.
5595         * org-exp.el (org-export-html-style)
5596         (org-export-html-style-default): Mark style definitions as
5597         unparsed CDATA.
5599         * org-publish.el (org-publish-validate-link): Function
5600         re-introduced.
5602 2008-11-02  Charles Sebold  <csebold@gmail.com>
5604         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5605         property.
5606         (org-plot-quote-timestamp-field): New function.
5607         (org-plot-quote-tsv-field): Call timestamp field function when
5608         necessary rather than just quoting as a string.
5609         (org-plot/gnuplot-to-data): Pass in timefmt property.
5610         (org-plot/gnuplot-script): Supports timefmt property.
5611         (org-plot/gnuplot): Checks for timestamp column before checking
5612         for text index column.
5614 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5616         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5618         * org-publish.el (org-publish-org-index): Create a section in the
5619         index file.
5620         (org-publish-org-index): Stop linking to directories.
5622         * org.el (org-emphasis-alist): Use span instead of <u> to
5623         underline text.
5625         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5626         <pre> sections.
5628 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5630         * org-jsinfo.el (org-infojs-template): Remove language attribute
5631         from script tag.
5633 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5635         * org-agenda.el (org-agenda-remove-marked-text): New function.
5636         (org-agenda-mark-filtered-text)
5637         (org-agenda-unmark-filtered-text): New functions.
5638         (org-write-agenda): Remove fltered text.
5640         * org.el (org-make-tags-matcher): Give access to TODO "property"
5641         without speed penalty.
5643 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5645         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5646         option.
5647         (org-store-link-props): Make sure adding to the plist works
5648         correctly.
5650         * org-gnus.el (org-gnus-no-new-news): New function.
5651         (org-gnus-follow-link): Allow the article ID to be a message-id,
5652         in addition to allowing article numbers.  Message IDs make much
5653         more roubust links.
5654         (org-gnus-store-link): Use message-id to create link.
5656 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5658         * org.el (org-emphasize): Reverse the selection array.
5659         (org-emphasis-alist): Set <code> tags for the verbatim
5660         environment.
5662         * org-remember.el (org-remember-handler): Fix bug with
5663         prefix-related changing of the note storage target.
5665         * org-exp.el (org-print-icalendar-entries): Make the exported
5666         priorities compatible with RFC 2445.
5668         * org-clock.el (org-clock-save): Insert time stamp without
5669         dependence on time-stamp.el.
5671 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5673         * org.el ("saveplace"): If saveplace puts point into an invisible
5674         location, make it visible.
5675         (org-make-tags-matcher): Allow inactive time stamps in time
5676         comparisons.
5677         (org-yank-adjusted-subtrees): New option.
5678         (org-yank): Incorporate adjusting trees.
5679         (org-paste-subtree): New argument FOR-YANK which will cause
5680         insertion at point without backing up over white lines, and leave
5681         point at the end of the inserted text.  Also if the cursor is
5682         at the beginning of a headline, use the same level or the inserted
5683         tree.
5685         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5686         with broken symlinks
5688 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5690         * org-exp.el (org-export-select-tags, org-get-current-options):
5691         Fix typo.
5693 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5695         * org-agenda.el (org-format-agenda-item)
5696         (org-agenda-filter-make-matcher): Make sure tags are stored and
5697         compared donwcased.
5699 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5701         * org.el (org-insert-todo-heading): Fix bug with force-heading
5702         argument.
5704 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5706         * org-clock.el (org-clock-in-resume): Add a custom option to
5707         toggle starting the clock from an open clock line.
5708         (org-clock-in): When clocking in to an entry, if
5709         `org-clock-in-resume' is set, check if the first clock line is
5710         open and if so, start the clock from the time in the clock line.
5711         (org-clock-persist): Add a custom option to toggle clock
5712         persistence.
5713         (org-clock-persist-query-save): Add a custom option to toggle
5714         asking the user if they want to save the running clock when
5715         exiting.
5716         (org-clock-persist-query-resume): Add a custom option to toggle
5717         asking the user if they want to resume the saved clock when Emacs
5718         is restarted.
5719         (org-clock-save): Add a function to save clock data.
5720         This includes the contents of `org-clock-history' and the buffer
5721         and position of the currently clocked task, if any.
5722         (org-clock-load): Add a function to load clock data.
5723         This populates `org-clock-history', and resumes the saved clocked
5724         task if there is one.
5725         (org-clock-persistence-insinuate): Add a method to set up the
5726         hooks for clock persistence.
5728 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5730         * org-exp.el (org-export-as-ascii): Handle the case that we are
5731         publishing from an indirect buffer.
5733         * org-table.el (org-table-copy-down): Fix bug with time stamp
5734         increment.
5736         * org-mouse.el (org-mouse-features): New option.
5737         (org-mode-hook): Turn on features depending on
5738         `org-mouse-features'.
5740         * org.el (org-insert-heading-respect-content): Force heading
5741         creation.
5742         (org-insert-heading): keep the folding state of the heading before
5743         the inserted one.
5745 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5747         * org-archive.el (org-archive-to-archive-sibling): Handle top
5748         level headlines better.
5750 2008-10-21  Bastien Guerry  <bzg@altern.org>
5752         * org-export-latex.el (org-export-latex-classes): Added
5753         \usepackage{graphicx} to the default list of packages.
5755 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5757         * org-agenda.el (org-agenda-filter): Renamed from
5758         `org-agenda-filter-tags'.
5760 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5762         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5763         is not defined as a property in this entry.
5764         (org-add-log-note): Mask prefix argument when immediately storing
5765         the note.
5767         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5768         option.
5770 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5772         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5773         after drawers was skipping ahead one line too many, so notes were
5774         inserted after the first note instead of before it.
5776 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5778         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5779         New variables.
5780         (org-prepare-agenda): Reset the filter tags.
5781         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5782         Show filter tags in mode line.
5784         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5785         formatter.
5787         * org-export-latex.el (org-latex-entities-regexp): New constant.
5788         (org-export-as-pdf): Use two calls to `shell-command'.
5790 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5792         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5793         Honor the {} value of the subsuperscript setting.  Make sure that
5794         longer subsuperscripts are typeset in a roman font.
5796         * org.el (org-clock-update-time-maybe): Compute negative clock
5797         intervals correctly.
5799 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5801         * org.el (org-add-log-setup): Respect
5802         `org-log-state-notes-insert-after-drawers'.
5803         (org-log-state-notes-insert-after-drawers): New option.
5804         (org-todo-trigger-tag-changes): New function.
5805         (org-todo): Call `org-todo-trigger-tag-changes'.
5807 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5809         * org.el (org-add-log-setup): Only skip drawers if the are
5810         immediately after the scheduling keywords.
5812         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5813         function
5814         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5815         call it with the current todo state to get the state to switch to
5816         when clocking in.
5817         (org-clock-in): Use org-indent-line-function to indent clock lines.
5818         (org-clock-find-position): Fix indentation of empty clock drawers.
5820 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5822         * org-publish.el (org-publish-org-to): Handle case when
5823         org-export-to-pdf does return a file name, not a buffer.
5824         (org-publish-org-to-pdf): New function.
5826         * org-export-latex.el (org-export-as-pdf)
5827         (org-export-as-pdf-and-open): New commands.
5829         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5830         forms as ranges.
5832         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5833         things in protexted regions.
5835 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5837         * org-export-latex.el (org-export-latex-preprocess): Improve
5838         quoting of LaTeX environments.
5840 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5842         * org.el (org-edit-fixed-width-region): Exclude final newline from
5843         picture area.
5845         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5846         sections, to make internal links work.
5847         (org-export-latex-fontify-headline): Do not remove all text
5848         properties, to make sure that target properties survive this
5849         process.
5851         * org-exp.el (org-export-preprocess-string): Change sequence of
5852         modifications, to make sure links are prepared before the LaTeX
5853         conversions do happen.
5855 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
5857         * org-attach.el (org-attach-delete-all): Renamed from
5858         `org-attch-delete'.  Add a security query before deleting the
5859         entire directory.  New optional argument FORCE can overrule the
5860         security query.
5861         (org-attach-delete-one): New command.
5863 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
5865         * org-attach.el (org-attach-file-list): Fix bug with directory.
5867 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
5869         * org.el (org-apps-regexp-alist): New function.
5870         (org-file-apps): Add auto-mode to the default value.
5871         (org-open-file): Use the new structure of org-file-apps.
5873         * org-attach.el (org-attach): Support the new keys.
5874         (org-attach-method): New option.
5876 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
5878         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5879         March.
5881         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5882         of the list value o `org-use-tag-inheritance'.
5884         * org-attach.el (org-attach-auto-tag): New option.
5885         (org-attach-tag, org-attach-untag): New functions.
5886         (org-attach-attach, org-attach-new, org-attach-sync): Call
5887         `org-attach-tag'.
5888         (org-attach-delete): Call `org-attach-untag'.
5890 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
5892         * org-table.el (orgtbl-self-insert-command): Make this work for
5893         the keypad as well.
5895 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
5897         * org.el (org-add-log-setup): Limit searc for drawers to entry
5898         text, not to subtree.
5900         * org-clock.el (org-clock-heading-for-remember): New variable.
5901         (org-clock-in): Set `org-clock-heading-for-remember'.
5903 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
5905         * org-remember.el (org-remember-apply-template): Add new
5906         expansions: %k, %K for currently clocked task and a link to the
5907         currently clocked task, and %< to file notes in the currently
5908         clocked task.
5910 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
5912         * org-export-latex.el (org-export-latex-make-header): Also insert
5913         the content of the property :latex-header-extra.
5915         * org-exp.el (org-infile-export-plist): Put the content of
5916         #+LATEX_HEADER: into the property :latex-header-extra.
5918         * org-colview.el (org-columns-get-format-and-top-level): Remove
5919         resetting the marker.
5921         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5922         Remove resetting the marker.
5924         * org.el (org-entry-property-inherited-from): Improve docstring.
5925         (org-entry-get-with-inheritance): Reset marker before starting the
5926         search.
5928         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5930 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
5932         * org.el (org-entry-get-multivalued-property)
5933         (org-entry-protect-space, org-entry-restore-space): New
5934         functions.
5935         (org-file-apps-defaults-macosx): Let postscript files be opened by
5936         preview.
5937         (org-time-stamp-inactive): Call `org-time-stamp'.
5938         (org-time-stamp): New argument `inactive'.  Also edit inacive
5939         stamps. Convert time stamp type.
5940         (org-open-file): Interpret the `default' value for the `command'
5941         in `org-file-apps'.
5943         * org-id.el (org-id-int-to-b36-one-digit)
5944         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5945         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5946         b36.
5948 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
5950         * org-id.el (org-id-reverse-string): New function.
5951         (org-id-new): Use `org-id-reverse-string' to make sure the
5952         beginning chars of the ID are mutating fast.  This allows to use a
5953         directory structure to spread things better.
5954         (org-id-prefix): Changed default to nil.
5956         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5957         restore the column of the cursor position.
5959         * org-remember.el (org-remember-apply-template): Remove properties
5960         from `initial'.
5962 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
5964         * org-wl.el (org-wl-open): Remove useless call to
5965         `wl-thread-open-all'.
5967         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5968         location.
5970 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
5972         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5973         `org-bbdb-anniversaries'.
5975         * org.el (org-get-next-sibling, org-forward-same-level): New
5976         functions, similar to the outline versions, but invisible headings
5977         are OK.
5979 2008-09-25  Bastien Guerry  <bzg@altern.org>
5981         * org.el (org-auto-repeat-maybe): Insert a space between
5982         the timestamp's type and the timestamp itself.
5984 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
5986         * org-table.el (org-table-sum): Do not format the result with %g,
5987         it does rounding when there are too many digits.
5989         * org.el (org-map-entries): Protect the keyword-selecting variables.
5991 2008-09-23  Bastien Guerry  <bzg@altern.org>
5993         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5994         against all agenda files.
5996 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
5998         * org-list.el: New file, aggregating list functions from org.el
5999         and org-export-latex.el.
6001         * org.el (org-edit-src-region-extra): New option.
6003 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6005         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6006         time before 1am.
6008 2008-09-22  Bastien Guerry  <bzg@altern.org>
6010         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6012 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6014         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6015         hline work correctly.
6016         (org-plot/gnuplot-script): Put commas at the end of each script
6017         line.
6019 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6021         * org.el (org-get-refile-targets): Replace links with their
6022         descriptions
6023         (org-imenu-get-tree): Replace links with their descriptions.
6025         * org-remember.el (org-remember-apply-template): Add a new
6026         expansion for adding properties to remember items.
6028         * org.el (org-add-log-setup): Skip over drawers (properties,
6029         clocks etc) when adding notes.
6031         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6032         items as well as the start and end times.
6034         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6035         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6037         * org-remember.el (org-get-x-clipboard): Use the compat
6038         function to get clipboard values when x-selection-value is
6039         unavailable. Use substring-no-properties instead of
6040         set-text-properties to remove text properties from the clipboard
6041         value.
6043         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6044         modeline clock string, and display the full todo value in the
6045         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6046         the currently clocked task.
6047         (org-clock-string-limit): Add a custom value for the maximum
6048         length of the clock string in the modeline.
6049         (org-clock-mode-map): Add a keymap for the modeline string
6051 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6053         * org-compat.el (org-propertize): New function.
6055 2008-09-20  Bastien Guerry  <bzg@altern.org>
6057         * org-export-latex.el (org-export-latex-tables): protect exported
6058         tables from further special chars conversion.
6059         (org-export-latex-preprocess): Preserve LaTeX environments.
6060         (org-list-parse-list): Parse descriptive lists.
6061         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6062         (org-list-to-texinfo): Export descriptive lists.
6063         (org-quote-chars): Remove.
6064         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6065         (org-export-latex-list-beginning-re): Rename to
6066         `org-list-beginning-re'
6067         (org-list-item-begin): Rename to `org-list-item-beginning'
6069 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6071         * org.el (org-refile): Allow refiling to the last entry in the
6072         buffer.
6073         (org-get-tags-at): Fix bug when inheritance is turned off.
6075 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6077         * org.el (org-indent-line-function): No longer check for src
6078         regions, this is too much overhead.
6080         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6081         matching.
6083         * org.el (org-scan-tags): Make sure that tags matching is not case
6084         sensitive.  TODO keyword matching is case sensitive, however, to
6085         avoid confusion with similar words that are not meant to be
6086         keywords.
6088 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6090         * org.el (org-get-local-tags-at): New function.
6091         (org-get-local-tags): New function.
6093         * org-exp.el (org-export-get-categories): New function.
6095         * org-agenda.el (org-sorting-choice)
6096         (org-agenda-sorting-strategy, org-agenda-get-todos)
6097         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6098         (org-agenda-get-scheduled, org-agenda-get-blocks)
6099         (org-entries-lessp): Implement sorting by TODO state.
6100         (org-cmp-todo-state): New defsubst.
6102         * org-colview.el (org-colview-construct-allowed-dates): New
6103         function.
6104         (org-columns-next-allowed-value): Use
6105         `org-colview-construct-allowed-dates'.
6107         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6108         function.
6109         (org-columns-next-allowed-value): Use
6110         `org-colview-construct-allowed-dates'.
6112 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6114         * org.el (org-protect-slash): New function.
6115         (org-get-refile-targets): Use `org-protect-slash'.
6117         * org-agenda.el (org-global-tags-completion-table): New variable.
6119         * org-exp.el (org-export-handle-export-tags): New function.
6120         (org-export-preprocess-string): Call
6121         `org-export-handle-export-tags'.
6123         * org-plot.el: New file.
6125         * org-publish.el (org-publish-expand-components): Function removed.
6126         (org-publish-expand-projects): Allow components to have components.
6128 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6130         * org.el (org-indent-line-function): Do not indent in regions that
6131         are external source code.
6132         (org-yank-and-fold-if-subtree): New function.
6134         * org-agenda.el (org-agenda-todayp): New function.
6135         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6136         `org-agenda-todayp'.
6138         * org.el (org-insert-heading-respect-content)
6139         (org-insert-todo-heading-respect-content): New commands.
6140         (org-insert-heading-respect-content): New option.
6141         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6143         * org-clock.el (org-clock-find-position): Make sure the note after
6144         the clock line gets moved into the new clock drawer.
6146 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6148         * org-id.el (org-id-new): New option.
6150 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6152         * org-table.el (org-table-copy-down): Avoid overflow during
6153         increment.  Use prefix argument 0 to temporarily disable the
6154         increment.
6156 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6158         * org-exp.el (org-export-as-html): Do not turn on the major mode
6159         if the buffer will be killed anyway.
6160         (org-get-current-options): Exclude the #+TEXT field.
6161         (org-export-as-html): Make sure text before the first headline is
6162         a paragraph.
6164         * org-publish.el (org-publish-org-to): Tell the exporter that this
6165         buffer will be killed, so it is not necessary to do major mode
6166         initialization.
6168         * org-archive.el (org-archive-to-archive-sibling): Show empty
6169         lines after folding the archive sibling.
6171         * org.el (org-log-note-extra): New variable.
6173 2008-09-05  Bastien Guerry  <bzg@altern.org>
6175         * org.el (org-additional-option-like-keywords): Added keywords for
6176         the _QUOTE, _VERSE and _SRC environments.
6178         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6179         exporting _QUOTE and _VERSE environments.
6181 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6183         * org-agenda.el (org-agenda-filter-by-tag): New command.
6185         * org-exp.el (org-get-current-options): Remove angular brackets
6186         from the date entry.
6188         * org.el (org-edit-fixed-width-region): New function.
6189         (org-edit-fixed-width-region): Also try
6190         `org-edit-fixed-width-region'.
6191         (org-edit-fixed-width-region-mode): New option.
6192         (org-activate-code): Only interprete lines starting with colon
6193         plus a space as example lines.
6195         * org-remember.el (org-remember-templates): Add nil instead of
6196         empty strings to fix the length of remember templates.
6198         * org-table.el (org-calc-default-modes): Fix the time format for
6199         calc, from 12 hour to 24 hour clock.
6201 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6203         * org-agenda.el (org-agenda-get-deadlines)
6204         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6205         entries that are pre-warnings of deadlines or reminders.
6207         * org.el (org-sort-entries-or-items): Make numeric and alpha
6208         comparisons ignore any TODO keyword and priority cookie.
6210         * org-remember.el (org-remember-handler): Reinterpretation of the
6211         prefix argument.
6213 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6215         * org-agenda.el (org-agenda-get-scheduled): Use new
6216         `org-scheduled' face.
6218         * org-faces.el (org-scheduled): New face.
6220         * org-wl.el (org-wl-open): Remove incorrect declaration.
6222         * org-gnus.el (org-gnus-store-link): Support for :to information
6223         in gnus links.
6225         * org-exp.el (org-export-as-html): Fixed typo in creator
6226         information.
6227         (org-export-protect-examples): New parameter indent.  Insert extra
6228         spaces only when this parameter is specified.
6229         (org-export-preprocess-string): Call `org-export-protect-examples'
6230         with an indentation parameter when exporting to ASCII.
6232         * org-remember.el (org-remember-templates)
6233         (org-remember-apply-template): Allow the file component to be a
6234         function.
6236         * org.el (org-goto-local-search-headings): Renamed from
6237         `org-goto-local-search-forward-headings'.  Added the possibility
6238         to search backwards.
6240 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6242         * org-export-latex.el (org-export-latex): New customization
6243         group.
6245         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6247 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6249         * org-exp.el (org-html-do-expand): Allow {} to terminate
6250         tex macro
6252 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6254         * org.el (org-buffer-list): Select buffers based on major mode,
6255         not on file name.
6257 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6259         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6260         face property.
6262         * org-colview.el (org-columns-display-here): Use
6263         `org-columns-modify-value-for-display-function'.
6265         * org-colview-xemacs.el (org-columns-display-here): Use
6266         `org-columns-modify-value-for-display-function'.
6268 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6270         * org.el (org-columns-modify-value-for-display-function): New option.
6282         * org-publish.el (org-publish-file): Make sure the directory match
6283         for the publishing directory works correctly.
6285         * org-agenda.el (org-agenda-execute-calendar-command)
6286         (org-agenda-diary-entry): Additional optional argument.
6288 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6290         * org-exp.el (org-export-as-html): Add attributes also in mailto
6291         and ftp links.
6293         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6302 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6304         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6305         sure that calls from `org-export-region-as-html' do not do the
6306         special check for a subtree.
6308 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6310         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6312 2008-07-20  Juri Linkov  <juri@jurta.org>
6314         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6315         new keymap `narrow-map' instead of binding "\C-xns".
6317 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6319         * org.el (org-open-file): Use
6320         `org-open-directory-means-index-dot-org'.
6321         (org-open-directory-means-index-dot-org): New option.
6323 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6325         * org.el (org-make-link-string): Remove link attributes from
6326         description.
6327         (org-open-at-point): Remove link attributes bevore using the path.
6329         * org-exp.el (org-export-as-html): Handle link attributes.
6331         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6333         * org-table.el (org-table-to-lisp): New function.
6335         * org.el (org-narrow-to-subtree): Do not include the final newline
6336         into the narrowed region.
6338         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6339         bug with user-define skipping condition.
6341 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6343         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6345 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6347         * org-exp.el (org-export-html-style-default): Automatic overflow
6348         handling for pre fields.
6349         (org-export-as-ascii, org-export-as-html): Change default format
6350         for time stamp.
6352         * org-table.el (org-table-export): Offer completion for translator
6353         functions, and do not require a heading above the table.
6355         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6356         Cater for the case of a list starting in the first line of the
6357         buffer.
6359 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6361         * org-publish.el (org-publish-find-title): Bug fix.
6362         (org-publish-org-index): Implement new :index-style option.
6364 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6366         * org-publish.el (org-publish-timestamp-filename): Use
6367         SHA1-encoded file names in the timestamp directory.
6369 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6371         * org-publish.el (org-publish-needed-p): Be verbose about files
6372         published and files skipped.
6374         * org-exp.el (org-export-preprocess-string): Swap link
6375         normalization and inernal link targeting.
6377         * org-publish.el (org-publish-needed-p): Create timestamp
6378         directory when it does not exist.
6380 2008-07-04  Bastien Guerry  <bzg@altern.org>
6382         * org-clock.el (org-clock-out-when-done): Doc fix.
6384         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6386         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6387         Ignore case when searching for the COMMENT cookie at export time.
6389 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6391         * org-exp.el (org-get-file-contents)
6392         (org-get-and-remove-property): New functions.
6393         (org-export-handle-include-files): Handle the new prefix options.
6394         (org-export-as-html): Fix the verse environment.
6396 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6398         * org.el (org-time=, org-time<, org-time<=, org-time>)
6399         (org-time>=, org-time<>, org-2ft): New functions.
6400         (org-op-to-function): Also provide for the time testing fucntions.
6402 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6404         * org-exp.el (org-export-html-style-default): New constant.
6406 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6408         * org-exp.el (org-export-html-style-extra): New variable.
6409         (org-export-splice-style): New function.
6411 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6413         * org-exp.el (org-export-plist-vars, org-export-as-html):
6414         Implement `org-export-creator-info'.
6415         (org-export-creator-info): New option.
6417 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6419         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6420         (org-property-drawer-re, org-clock-drawer-re): New constants.
6422 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6424         * org-exp.el (org-icalendar-use-deadline)
6425         (org-icalendar-use-scheduled): New options.
6426         (org-icalendar-include-todo): Default changed to t.
6427         (org-print-icalendar-entries): Implement better utilization of
6428         scheduling and deadline time stamps.
6429         (org-export-target-internal-links, org-export-as-html): Allow file
6430         lines without the "file:" prefix if the file path is an absolute
6431         path or starts with ".".
6433         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6434         lastweek etc.
6435         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6437 2008-06-18  Glenn Morris  <rgm@gnu.org>
6438         * org.el (org-map-entries): Let-bind `file'.
6440 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6442         * org.el (org-agenda-skip-archived-trees): Docstring now
6443         discourages using this.
6444         (org-scan-tags): Check for org-agenda-archives-mode.
6445         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6446         (org-agenda-files): Functionality of second arg changed.
6448         * org-agenda.el (org-agenda-archives-mode): New variable
6449         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6450         (org-search-view, org-todo-list, org-tags-view)
6451         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6452         `ifmode' argument.
6453         (org-agenda-quit): Reset the archives mode.
6454         (org-agenda-archives-mode): New command.
6455         (org-agenda-set-mode-name): Include archives info.
6457 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6459         * org.el (org-paste-subtree): Make sure the yanked headline is
6460         visible if it was yanked at a visible point.
6461         (org-move-item-up): Fix the bug with moving white space at the end
6462         of the item.
6463         (org-show-empty-lines-in-parent): New function.
6465 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6467         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6469         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6471         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6472         agenda prefix as well.
6474         * org-publish.el (org-publish-org-index): Make a properly indented
6475         list.
6477         * org.el (org-calendar-agenda-action-key): New option.
6478         (org-get-cursor-date): New function.
6479         (org-mark-entry-for-agenda-action): New command.
6480         (org-overriding-default-time): New variable.
6481         (org-read-date): Respect `org-overriding-default-time'.
6483         * org-remember.el (org-remember-apply-template): Respect the
6484         ovverriding default time.
6486         * org-agenda.el (org-agenda-action-marker): New variable.
6487         (org-agenda-action): New command.
6488         (org-agenda-do-action): New function.
6490 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6492         * org.el (org-schedule, org-deadline): Protect scheduled and
6493         deadline tasks against changes that accidently remove the
6494         repeater.  Also show a message with the new date when done.
6496 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6498         * org.el (org-beginning-of-line): Cater for the case when there
6499         are tags but no headline text.
6500         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6501         it set.
6503 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6505         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6506         the return value is nil instead of "nil" when there is no match.
6508         * org-exp.el (org-insert-centered): Use fill-column instead of
6509         80.
6510         (org-export-as-ascii): Use string-width to measure the width of
6511         the heading.
6513         * org.el (org-diary-to-ical-string): No longer kill buffer
6514         FROMBUF, this is now done by the caller.
6516         * org-exp.el (org-print-icalendar-entries): Move the call to
6517         `org-diary-to-ical-string' out of the loop, and kill the buffer
6518         afterwords.
6520         * org-remember.el (org-remember-visit-immediately): Position
6521         cursor after moving to the note.
6522         (org-remember-apply-template): Use a text property to record the
6523         cursor position.
6524         (org-remember-handler): Align tags after pasting the note.
6526 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6528         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6530         * org-agenda.el (org-agenda-open-link): If there is an
6531         org-bbdb-name property in the current line, jump to that bbdb
6532         entry.
6534         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6535         text property, so that the agenda knows where this entry comes
6536         from.
6538         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6539         interaction between clocking-in from the agenda, and  automatic
6540         task state switching.
6542         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6544         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6545         zmacs-region stays after this command in XEmacs.
6547 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6549         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6551         * org-remember.el (org-remember-templates): Fix bug in
6552         customization type definition.
6554         * org.el (org-map-entries): New function.
6556 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6558         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6559         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6561 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6563         * org-remember.el (org-jump-to-target-location): New variable.
6564         (org-remember-apply-template): Set
6565         `org-remember-apply-template' if requested by template.
6566         (org-remember-handler): Start an idle timer to jump to
6567         remember location.
6569         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6571         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6572         file tags.
6573         (org-get-tags-at): Add the content of `org-file-tags'.
6575         * org-exp.el (org-export-handle-comments): Fix bug with several
6576         comment lines after each other.
6577         (org-number-to-roman, org-number-to-counter): New functions.
6578         (org-export-section-number-format): New option.
6580 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6582         * org-exp.el (org-export-protect-examples): Catch the case of a
6583         missing end_example line.
6585         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6586         `org-file-tags' to nil.
6588         * org-colview.el (org-columns-next-allowed-value): Handle next
6589         argument NTH to directly select a value.
6591         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6592         argument NTH to directly select a value.
6594 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6596         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6598 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6600         * org.el (org-columns-ellipses): New option.
6602 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6604         * org-colview.el (org-columns-add-ellipses): New function.
6605         (org-columns-compact-links): New function.
6606         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6607         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6608         when in agenda.
6609         (org-columns-edit-value): Fixed bug with editing values from
6610         agenda column view.
6611         (org-columns-redo): Also redo the agenda itself.
6613 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6615         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6616         option.
6618         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6620         * org-exp.el (org-export-ascii-preprocess): Renamed from
6621         `org-export-ascii-clean-string'.
6622         (org-export-kill-licensed-text)
6623         (org-export-define-heading-targets)
6624         (org-export-handle-invisible-targets)
6625         (org-export-target-internal-links)
6626         (org-export-remove-or-extract-drawers)
6627         (org-export-remove-archived-trees)
6628         (org-export-protect-quoted-subtrees)
6629         (org-export-protect-verbatim, org-export-protect-examples)
6630         (org-export-select-backend-specific-text)
6631         (org-export-mark-blockquote-and-verse)
6632         (org-export-remove-comment-blocks-and-subtrees)
6633         (org-export-handle-comments, org-export-mark-radio-links)
6634         (org-export-remove-special-table-lines)
6635         (org-export-normalize-links)
6636         (org-export-concatenate-multiline-links)
6637         (org-export-concatenate-multiline-emphasis): New functions,
6638         obtained from spliiting the export preprocessor.
6640         * org-table.el (org-table-recalculate): Improve error message if
6641         the row number is invalid.
6643 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6645         * org-archive.el (org-archive-save-context-info): Fix bugs in
6646         customization setup and docstring.
6648         * org-exp.el (org-export-html-style): Changed the size of in the
6649         <pre> element to 90%.
6651 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6653         * org.el (org-find-src-example-start): Function removed.
6654         (org-edit-src-find-region-and-lang): New function.
6656 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6658         * org.el (org-edit-src-exit): New function.
6659         (org-exit-edit-mode): New minor mode.
6661         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6662         comment-like lines from protected examples.
6664         * org.el (org-edit-src-example, org-find-src-example-start)
6665         (org-protect-source-example, org-edit-special): New functions.
6667 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6669         * org-publish.el (org-publish-project-alist): Fix typo in
6670         docstring.
6671         (org-publish-project-alist): Handle :index-title property.
6673 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6675         * org-export-latex.el (org-export-as-latex): Make sure region
6676         bounds are correct.  Parse subtree properties relating to export.
6678         * org-exp.el (org-export-add-options-to-plist): New function.
6679         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6681 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6683         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6684         EXPORT_TITLE.
6686         * org-exp.el (org-export-get-title-from-subtree)
6687         (org-export-as-ascii, org-export-as-html): Make sure the original
6688         region-beginning and region-end are used, even after moving
6689         point.
6690         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6691         property.
6693         * org-remember.el (org-remember-last-stored-marker): New variable.
6694         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6695         (org-remember-handler): Also use marker to remember
6696         last-stored position.
6698         * org.el (org-goto-marker-or-bmk): New function.
6700 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6702         * org.el (org-file-properties): Renamed from `org-local-properties'.
6703         (org-scan-tags): Take file tags into account.
6704         (org-tags-match-list-sublevels): Default changed to t.
6706         * org-exp.el (org-export-as-html): Close paragraph after a
6707         footnote.
6709         * org.el (org-update-parent-todo-statistics): New function.
6711         * org-exp.el (org-icalendar-store-UID): New option.
6712         (org-icalendar-force-UID): Option removed.
6713         (org-print-icalendar-entries): IMplement UIDs.
6715 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6717         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6719 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6721         * org-faces.el (org-column): Document how this face is being used
6722         and why sometimes the background faces shine through.
6724         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6726         * org-publish.el (org-publish-attachment): Create publishing
6727         directory if it does not yet exist.
6729         * org-table.el (org-calc-default-modes): Change default number
6730         format to (float 8).
6732         * org.el (org-olpath-completing-read): New function.
6733         (org-time-clocksum-format): New option.
6734         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6736         * org-clock.el (org-clock-display, org-clock-out)
6737         (org-update-mode-line): Use `org-time-clocksum-format'.
6739         * org-colview-xemacs.el (org-columns-number-to-string): Use
6740         `org-time-clocksum-format'.
6742         * org-colview.el (org-columns-number-to-string): Use
6743         `org-time-clocksum-format'.
6745 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6747         * org-id.el: New file, move from contrib to core.
6749         * org-exp.el (org-icalendar-force-UID): New option.
6751 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6753         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6754         shifted by one day if theere is a date range without an end
6755         time.
6757         * org.el (org-try-structure-completion): New function.
6759 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6761         * org.el (org-set-font-lock-defaults): Improve fontification of
6762         description lists.
6763         (org-insert-item): Handle description lists.
6764         (org-adaptive-fill-function): Improve auto indentation in
6765         description lists.
6767         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6768         Implement VERSE environment.
6769         (org-export-preprocess-string): Implement the COMMENT
6770         environment.
6772         * org-export-latex.el (org-export-latex-preprocess): Implement
6773         VERSE environment.
6775 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6777         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6778         option.
6780 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6782         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6784         * org.el (org-quote-csv-field): New functions.
6786         * org-table.el (org-table-export-default-format): Remove :splice
6787         from default format, we get the same effect by not specifying
6788         :tstart and :tend.
6789         (org-table-export): Improve setup, distinguish better between
6790         interactive and non-interactive use, allow specifying the format
6791         on the fly, better protection against wrong file names.
6792         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6793         and :tend when :splice is omitted.
6795 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6797         * org-clock.el (org-clock-select-task): Make sure the selection
6798         letters are 1-9 and A-Z, no special characters.
6800 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6802         * org-exp.el (org-export-htmlize): New group.
6803         (org-export-htmlize-output-type)
6804         (org-export-htmlize-css-font-prefix): New options.
6805         (org-export-htmlize-region-for-paste): New function.
6806         (org-export-htmlize-generate-css): New command.
6808 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6810         * org/org.el (org-modules, org-format-latex-options):
6811         * org/org-archive.el (org-archive-stamp-time)
6812         (org-archive-save-context-info):
6813         * org/org-faces.el (org-hide):
6814         * org/org-irc.el (org-irc-parse-link):
6815         * org/org-macs.el (org-call-with-arg, org-autoload):
6816         * org/org-mew.el (org-mew-store-link):
6817         * org/org-remember.el (org-remember-store-without-prompt)
6818         (org-remember-templates): Fix typos in docstrings.
6820         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6822         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6823         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6824         (org-bbdb-anniv-split): Fix typos in docstrings.
6826         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6827         (org-publish-use-timestamps-flag): Reflow docstring.
6828         (org-publish-files-alist): Fix typos in docstring.
6830 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6832         * org.el (org-set-visibility-according-to-property): New function.
6833         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6834         and compute the regular expressions, and update font-lock.
6835         (org-property-re): Allow a dash in property names.
6837         * org-archive.el (org-extract-archive-file): Insert the file name
6838         without the path into the format, to allow the location format to
6839         contain a subdirectory.
6841         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6842         of buffer, and the `org-agenda-type' property undefined, use the
6843         value from the character before.
6845         * org.el (org-add-planning-info): Don't let indentation for
6846         would-be timestamp become extra whitespace at the end of headline.
6848 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6850         * org.el (org-remove-double-quotes, org-file-contents): New
6851         functions.
6853         * org-exp.el (org-infile-export-plist): Also parse the
6854         contents of #+SETUPFILE files, recursively.
6856         * org.el (org-set-regexps-and-options): Also parse the
6857         contents of #+SETUPFILE files, recursively.
6859         * org-exp.el (org-export-handle-include-files): New function.
6860         (org-export-preprocess-string): Call
6861         `org-export-handle-include-files'.
6863         * org.el (org-delete-property-globally)
6864         (org-delete-property, org-set-property): Ignore case during
6865         completion.
6866         (org-set-property): Use `org-completing-read' instead of
6867         `completing-read'.
6869         * org.el (org-complete-expand-structure-template): New,
6870         experimental function.
6871         (org-structure-template-alist): New, experimental option.
6872         (org-complete): Call `org-complete-expand-structure-template'.
6874 2008-05-06  Bastien Guerry  <bzg@altern.org>
6876         * org-export-latex.el (org-export-latex-preprocess): Added
6877         support for blockquotes.
6879 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
6881         * org.el (org-read-date-analyze): Catch the case where only a
6882         weekday is given.
6884 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
6886         * org.el (org-set-font-lock-defaults): Make the description
6887         tag bold.
6889         * org-exp.el (org-export-as-html, org-close-li): Implement
6890         description lists.
6892 2008-05-04  Jason Riedy  <jason@acm.org>
6894         * org-table.el (*orgtbl-default-fmt*): New variable.
6895         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6896         when there is no other fmt available.
6898         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6899         :tend to suppress the appropriate string.
6901         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6902         table.
6904 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
6906         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6907         read date.
6909         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6910         New function.
6912         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6913         New function.
6915 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
6917         * org-clock.el (org-clock-find-position): Don't include notes
6918         into clock drawer.
6920         * org-archive.el (org-archive-subtree): No longer remove an
6921         extra line after cutting the subtree.  `org-cut-subtree' already
6922         takes care of this.
6924         * org-remember.el (org-remember-handler): Only kill the target
6925         buffer if it does not contain the running clock.
6927         * org.el (org-markers-to-move): New variable.
6928         (org-save-markers-in-region, org-check-and-save-marker)
6929         (org-reinstall-markers-in-region): New function.
6930         (org-move-subtree-down, org-copy-subtree): Remember relative
6931         marker positions before cutting.
6932         (org-move-subtree-down, org-paste-subtree): Restore relative
6933         marker positions after pasting.
6935         * org-remember.el (org-remember-clock-out-on-exit): New option.
6936         (org-remember-finalize): Clock out only if the setting in
6937         `org-remember-clock-out-on-exit' requires it.
6938         (org-remember-handler): Do the cleanup in the buffer, to make sure
6939         that the clock marker remains in tact.
6941 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
6943         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6944         (org-clock-in): Make sure that also tasks outside the narrowed
6945         region will be clocked in correctly.
6946         (org-clock-insert-selection-line): Widen the buffer so that we can
6947         find the correct task heading.
6949         * org.el (org-base-buffer): New function.
6951         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6952         and ";" are escaped.
6953         (org-print-icalendar-entries): Also apply
6954         `org-icalendar-cleanup-string' to the headline, not only to the
6955         summary property.
6957 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
6959         * org-exp.el (org-export-preprocess-hook): New hook.
6960         (org-export-preprocess-string): Call
6961         `org-export-preprocess-hook'.
6963         * org.el (org-font-lock-hook): New variable.
6964         (org-font-lock-hook): New function.
6965         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6967 ;; Local Variables:
6968 ;; coding: utf-8
6969 ;; add-log-time-zone-rule: t
6970 ;; End:
6972     Copyright (C) 2008  Free Software Foundation, Inc.
6974   This file is part of GNU Emacs.
6976   GNU Emacs is free software: you can redistribute it and/or modify
6977   it under the terms of the GNU General Public License as published by
6978   the Free Software Foundation, either version 3 of the License, or
6979   (at your option) any later version.
6981   GNU Emacs is distributed in the hope that it will be useful,
6982   but WITHOUT ANY WARRANTY; without even the implied warranty of
6983   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6984   GNU General Public License for more details.
6986   You should have received a copy of the GNU General Public License
6987   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6989 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c