org-src: Don't remove tabs when org-src-preserve-indentation is non-nil
[rgr-org-mode.git] / lisp / ChangeLog
blob1661a199bde89f717a004972d9b7dd5e835b89af
1 2010-01-28  Mikael Fornius  <mfo@abc.se>
3         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
4         when assigning. Begin using numerical characters when all in name
5         is used up. This is to spare alphanumeric characters for better
6         match with other keywords.
8 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
10         * org-exp.el (org-export-preprocess-hook): Improve documentation.
12         * org-latex.el (org-export-latex-preprocess): More consistent
13         conversion and protection of the words LaTeX and TeX.
14         (org-export-latex-fontify-headline, org-export-latex-preprocess):
15         Allow angle brackets in commands, for beamer.
17 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
19         * org-clock.el (org-clock-in): Improve the look of the clock line
20         by formatting links.
22 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
24         * org-latex.el (org-export-latex-classes): Use AUTO as the place
25         holder string for the coding system.  And improve the
26         documentation.
27         (org-export-latex-fix-inputenc): Only modify the coding system if
28         it is given by the placeholder AUTO.
30 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
32         * org-clock.el (org-task-overrun-text): New option.
33         (org-task-overrun, org-clock-update-period): New variables.
34         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
35         overrun clock.
36         (org-clock-notify-once-if-expired): Check if clock is overrun.
38         * org-faces.el: New face `org-mode-line-clock-overrun'.
40 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
42         * org.el (org-narrow-to-subtree): Position the end of the narrowed
43         region before the line with the next heading, to prevent the user
44         from prepending text to the next headline.
46 2010-01-20  Stephen Eglen  <stephen@gnu.org>
48         * org-agenda.el (org-get-time-of-day): Use
49         org-agenda-time-leading-zero to allow leading zero (rather than
50         space) for times.
52 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
54         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
55         org-datetree.el is loaded.
57         * org-datetree.el: autoload `org-datetree-find-day-create'
59         * org-latex.el (org-export-latex-hyperref-format): New option.
60         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
62 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
64         * org-ctags.el (org-ctags-enable): Change order of functions.
65         (org-ctags-create-tags): Add wildcard to file name expansion.
67 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
69         * org.el (org-entry-properties): Fix some important bugs.
71 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
73         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
74         the table is not explicitly given.
76 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
78         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
79         as value.
80         (org-clock-out-if-current): Work with the new list value of
81         `org-clock-out-when-done'.
82         (org-clock-out, org-clock-out-if-current): Avoid circular logic
83         between clocking out and state changes.
85         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
87         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
88         accident protect a character that is before a backslash.
90 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
92         * org-agenda.el (org-diary-class): Use
93         `org-order-calendar-date-args'.
95         * org.el (org-order-calendar-date-args): New function.
97         * org-exp.el (org-export-target-internal-links): Check for
98         protectedness after the first bracket.
100         * org.el (org-entry-properties): Don't match wrong-case TODO
101         keywords.
103         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
104         Document that ARG is passed through to remove the date.
105         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
106         not read a date when the user has given a `C-u' prefix.
108 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
110         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
111         tags are hidden.
113 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
115         * org-latex.el (org-export-latex-fix-inputenc): New function.
116         (org-export-latex-inputenc-alist): New option.
118         * org-exp.el (org-export): New key SPC to publish enclosing
119         subtree.
121 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
123         * org-indent.el (org-indent-add-properties): Catch case when there
124         is no headline in the buffer.
126 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
128         * org-exp.el (org-html-entities): Add checkmark symbol.
130         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
131         verbatim code for ASCII export.
133         * org.el (org-update-statistics-cookies): Also see checkboxes in
134         ordered lists.
136 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
138         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
139         key.
141         * org-beamer.el (org-beamer-amend-header): Change the location
142         where `org-beamer-header-extra' is inserted.
144         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
145         just for computing this regexp.
147 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
149         * org-beamer.el (org-beamer-frame-default-options): New option.
150         (org-beamer-sectioning): Use default options if the user does not
151         have defined any.
152         (org-beamer-fix-toc): Put a frame around the table of contents.
154         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
155         sure case-folding works well when processing comment stuff.
157         * org-latex.el (org-export-latex-after-save-hook): New hook.
158         (org-export-as-latex): Run the new hook.
160 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
162         * org-beamer.el (org-beamer-environments-default): Add the note
163         environments.
164         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
165         lines and collect and combine the content.
166         (org-beamer-after-initial-vars): Check for note tags and make sure
167         they will be seen like a property.
169         * org.el (org-offer-links-in-entry): Fix bug when there is a
170         single link.
172         * org-exp.el (org-export): Make sure the mark is activated, also
173         when `transient-mark-mode' is off.
175         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
176         (org-agenda-search-view-search-words-only): Obsolete variable, is
177         now an alias for `org-agenda-search-view-always-boolean'.
178         (org-agenda-search-view-force-full-words): New option.
179         (org-search-view): Improve docstring, and implement a better logic
180         for Boolean and phrase searches.
181         (org-agenda-last-search-view-search-was-boolean): New variable.
182         (org-agenda-manipulate-query): Consider the type of the last
183         search when modifying the search string.
185 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
187         * org-latex.el (org-export-as-latex): Do the first letbind in the
188         right moment.
190         * org-agenda.el (org-get-entries-from-diary): Add the new face to
191         these entries.
193         * org-faces.el (org-agenda-diary): New face.
195         * org.el (org-make-link-regexps): Allow regexp-special characters
196         in link types.
197         (org-open-file): When in-emacs is `system', also force system
198         opening, like when the value was `(16)'.
199         (org-update-statistics-cookies): Handle entries without children.
201         * org-exp.el
202         (org-export-preprocess-before-normalizing-links-hook): New hook.
203         (org-export-preprocess-string): Run the new hook.
205         * org.el (org-offer-links-in-entry): Make RET open all links.
207         * org-html.el (org-export-as-html): Remove any left-over display
208         properties in the html file.
210         * org-wl.el (org-wl-store-link): Work-around for format bug with
211         text properties.
213         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
214         invisibility while adding the graphs.
216 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
218         * org-remember.el (org-select-remember-template): Use C letter to
219         customize remember templates.
221         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
222         Move cursor to next visible line.
224 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
226         * org-beamer.el (org-beamer-sectioning): Leave columns environment
227         by specifying 0 or 1 for column width.
228         (org-beamer-column-widths): Make 0 stand for 0.0.
230 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
232         * org-exp.el (org-export-mark-radio-links): Don't match inside
233         <<target>>.
235         * org.el (org-format-latex-header-extra): New variable.
236         (org-format-latex): Set org-format-latex-header-extra from
237         in-buffer stuff.
238         (org-format-latex): Add org-format-latex-header-extra to the
239         variables on which image creation depends.
240         (org-create-formula-image): Add the header stuff from in-buffer
241         settings.
242         (org-read-date-analyze): Base the analysis for future preference
243         on NOW, not on the default date.
245         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
246         for TODO keyword in inline tasks.
248         * org.el (org-log-note-headings): New headings for removing
249         deadline or scheduling date.
250         (org-deadline, org-schedule): Arrange for logging when removing a
251         date.
252         (org-add-log-note): Handle deadline and scheduling removal.
254 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
256         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
258 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
260         * org-agenda.el (org-diary-class): New function.
262 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
264         * org-latex.el (org-export-latex-preprocess): Do process the text
265         of a radio target.
267 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
269         * org.el (org-entry-properties): Add TIMESTAMP properties back
270         in.
272 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
274         * org.el (org-all-time-keywords): New variable.
275         (org-set-regexps-and-options): Set `org-all-time-keywords'.
276         (org-entry-blocked-p): New function.
277         (org-special-properties): Add BLOCKED as a new special property.
278         (org-entry-properties): New optional argument SPECIFIC, only parse
279         for this property when it is specified.
280         (org-entry-get): Pass a SPECIFIC argument to
281         `org-entry-properties'.
283         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
285 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
287         * org-latex.el (org-export-latex-tables): No forced line end if
288         there is no caption.
290 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
292         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
293         package.
295         * org-latex.el (org-export-latex-tables): Only add a caption when
296         macro in in longtable environments if one has been defined.
298         * org-html.el (org-export-as-html): Only take title from buffer if
299         not exporting body-only.
301         * org-latex.el (org-export-latex-preprocess): Better version of
302         the regular expression for protecting LaTeX macros.
303         (org-export-latex-preprocess): Start searching for macros to
304         protect from beginning of buffer.
306         * org-exp.el (org-export-target-internal-links): Check for
307         protectedness earlier in the string.
309         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
310         case sensitively.
312         * org-id.el (org-id-store-link): Match TODO keywords case
313         sensitively.
315         * org.el (org-heading-components, org-get-outline-path)
316         (org-display-outline-path): Match TODO keywords case sensitively.
318         * org-latex.el (org-export-as-latex): Ignore read-only
319         properties.
321         * org-exp.el (org-export-preprocess-string): Remove any
322         `read-only' properties.
324         * org-agenda.el (org-agenda-inactive-leader): New option.
325         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
326         (org-tags-view): Prompt for matcher if MATCH is an empty string.
327         (org-todo-list): Prompt for matcher if ARG is an empty string.
329 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
331         * org.el (org-open-link-functions): New hook.
332         (org-open-at-point): Run `org-open-link-functions'.
334 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
336         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
337         stamps as well.
339         * org.el (org-inhibit-startup-visibility-stuff): New variable.
340         (org-mode): Don't do startup visibility if inhibited.
341         (org-outline-overlay-data, org-set-outline-overlay-data): New
342         functions.
343         (org-save-outline-visibility): New macro.
344         (org-log-note-headings): Document that one should not change the
345         `state' note format.
347 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
349         * org.el (org-make-link-regexps): Capture link path into a group.
351 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
353         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
354         the options plist.
356 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
358         * org.el (org-startup-with-beamer-mode): New option.
359         (org-property-changed-functions)
360         (org-property-allowed-value-functions): New hooks.
361         (org-entry-put, org-property-get-allowed-values): Run the new
362         hooks.
363         (org-property-next-allowed-value): Run the new hooks.
365         * org-exp.el (org-export-select-backend-specific-text): Add the
366         special beamer tags.
368         * org-beamer.el
369         (org-export-preprocess-before-selecting-backend-code-hook): New
370         file.
372         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
373         (org-export-as-latex): Run
374         `org-export-latex-after-initial-vars-hook'.
375         (org-export-latex-format-toc-function)
376         (org-export-latex-make-header): Call
377         `org-export-latex-format-toc-function'.
379         * org.el (org-fill-template): Make template searches case sensitive.
381         * org-exp.el (org-export): Use "1" as a sign to export only the
382         subtree.
384         * org-colview-xemacs.el (org-columns-edit-value): Use
385         org-unrestricted property.
387         * org-colview.el (org-columns-edit-value):  Use
388         org-unrestricted property.
390         * org.el (org-compute-property-at-point): Set org-unrestricted
391         text property if the list contains ":ETC".
392         (org-insert-property-drawer):  Use
393         org-unrestricted property.
395         * org-exp.el
396         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
397         (org-export-preprocess-string): Run
398         `org-export-preprocess-before-selecting-backend-code-hook'.
400         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
402         * org-latex.el (org-export-region-as-latex): Run
403         `org-export-first-hook'.
405         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
407         * org-docbook.el (org-export-as-docbook): Run
408         `org-export-first-hook'.
410         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
412         * org-exp.el (org-export-first-hook): New hook.
414 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
416         * org-list.el (org-previous-item): Exit at the beginning of the
417         buffer.
419         * org-id.el (org-id-locations-save): Only write the id locations
420         if any are defined.
422         * org-archive.el (org-archive-all-done): Make this work in a file
423         with org-odd-levels-only set.
425         * org.el (org-get-refile-targets): Catch the case when a buffer
426         has no file.
428         * org-latex.el (org-export-as-latex): Cleanup forced line ends
429         where they are not needed.
430         (org-export-latex-subcontent): Remove unnecessary newlines.
432 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
434         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
435         (org-export-latex-fontify): Fix regexp bug that takes special
436         care of protecting the right boundary characters in emphasis
437         matches.
438         (org-export-latex-preprocess): Allow multiple arguments to latex
439         macros.
441         * org.el (org-make-link-regexps): Use John Gruber's regexp for
442         urls.
444         * org-macs.el (org-re): Interpret :punct: in regexps.
446         * org-exp.el (org-export-replace-src-segments-and-examples): Also
447         take the final newline after the END line.
449         * org.el (org-clean-visibility-after-subtree-move): Only fix
450         entries that are not entirely invisible already.
451         (org-insert-link): Respect org-link-file-path-type for
452         "docview:" links in addition to "file:" links.
454 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
456         * org-exp.el (org-export-format-source-code-or-example): Avoid
457         additional extra white lines in LaTeX.
459         * org-list.el (org-list-parse-list): Leave empty lines after the
460         list, don't consider them as part of the list.
462         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
463         searches.
465         * org-clock.el (org-clock-select-task): Convert integer to
466         character for XEmacs.
468 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
470         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
471         compatible.
473 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
475         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
476         variable.
477         (org-set-tags): Use it.
479 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
481         * org-list.el (org-empty-line-terminates-plain-lists): Update
482         docstring.
484         * org.el (org-format-latex): Fix link creation for processed latex
485         snippets.
487 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
489         * org-footnote.el (org-footnote-normalize): Protect replacement
490         text.
492         * org.el (org-inside-latex-macro-p): Save match data.
494 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
496         * org-docview.el: New file.
498 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
500         * org-latex.el (org-export-latex-class-options): New variable.
501         (org-export-latex-set-initial-vars): Use the class options.
503         * org.el (org-forward-same-level): Stop at headings that start
504         with an invisible character.
505         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
507 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
509         * org-footnote.el (org-footnote-normalize): Don't take optional
510         arguments in LaTeX macros as footnotes.
512         * org.el (org-inside-latex-macro-p): New function.
514         * org-latex.el (org-latex-to-pdf-process): Change customization
515         group to `org-export-pdf'.
517         * org-agenda.el (org-agenda-get-blocks): Look at time string also
518         on days after the first one.
520         * org.el (org-insert-heading): Also check for item before assuming
521         before-first-heading condition.
523         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
524         (org-export-pdf-logfiles): New option.
525         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
526         (org-export-pdf-logfiles): Fix customization type.
528         * org.el (org-insert-link): Improve error message when there is no
529         default link to select with RET.
531         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
532         parameter list.
534 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
536         * org-latex.el (org-export-latex-parse-global)
537         (org-export-latex-parse-content)
538         (org-export-latex-parse-subcontent): Use
539         `org-re-search-forward-unprotected'.
540         (org-export-as-pdf): Remove log files produced by XeTeX.
542         * org-macs.el (org-re-search-forward-unprotected): New function.
544 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
546         * org-colview.el (org-agenda-colview-summarize): Sort out some
547         confusion between properties and titles, which resulted in
548         agenda summaries not working if a title was set for a column.
550 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
552         * org-mobile.el (org-mobile-agendas): New option.
553         (org-mobile-sumo-agenda-command): Select the right agendas.
555         * org-latex.el (org-export-latex-format-image): Preserve the
556         original-indentation property.
558 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
560         * org-clock.el (org-clock-insert-selection-line): Catch error when
561         an old tasks no longer exists.
563         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
564         (org-export-as-pdf): Don't remove the old PDF file before making
565         the new one.
567         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
568         (org-mouse-context-menu): Use `org-looking-back'.
570         * org.el (org-cycle-level): Use `org-looking-back'.
572         * org-list.el (org-cycle-item-indentation): Use
573         `org-looking-back'.
575         * org-compat.el (org-looking-back): New function.
577         * org.el (org-insert-heading): Catch before-first-headline when
578         inserting a headline.
580 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
582         * org-latex.el (org-export-latex-format-image): Indent figure
583         environment, so that it does not interrupt plain list.
585         * org.el (org-open-at-point): Allow long link descriptions.
587 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
589         * org-html.el (org-export-as-html): Remove empty lines at the
590         beginning of the exported text.
592 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
594         * org-protocol.el (org-protocol-remember): Cater for empty title,
595         region, link.
597         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
598         agenda after adding new entry.
599         (org-agenda-get-represented-tags): New function.
600         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
601         to get a list of tags in the agenda.
603         * org-datetree.el (org-datetree-find-day-create): Fix regular
604         expression.
606         * org.el (org-display-outline-path): Use a format specifier for
607         message, to avoid problems with heading containing `%'.
609         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
610         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
611         (org-agenda-fix-displayed-tags): New function.
612         (org-agenda-do-context-action): Just call
613         `org-display-outline-path', without piping the result through
614         `message'.
616         * org-latex.el (org-export-latex-preprocess): Protect secondary
617         footnote references.
619         * org-indent.el (org-indent-initialize): Avoid empty strings as
620         line prefixes.
622         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
623         hat checking for the mark does not throw an error.
624         (org-agenda-diary-entry-in-org-file): Catch the case that there is
625         not `day' text property in the cursor line.
627         * org.el (org-sort-entries-or-items): Make sure that the final
628         entry has a newline before doing the sorting.
630         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
631         property at the beginning of the line.
633         * org.el (org-make-link-string): Don't allow a description with
634         only white space.
636 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
638         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
639         (org-agenda-insert-diary-as-top-level): New function.
640         (org-agenda-add-entry-to-org-agenda-diary-file): Call
641         `org-agenda-insert-diary-as-top-level'.
643         * org.el (org-occur-in-agenda-files): Make sure none of the
644         buffers is narrowed.
645         (org-activate-plain-links): Add the face property here.
646         (org-set-font-lock-defaults): Do not add the face to plain links,
647         the activator function does this.
649         * org-habit.el (org-is-habit-p): Add doc string.
651 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
653         * org-archive.el (org-archive-subtree-default-with-confirmation):
654         Autoload.
656         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
657         after match optional (happens at the end of a line...).
659         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
660         for special blocks.
662         * org-faces.el (org-copy-face): Set lisp indentation.
663         (org-quote, org-verse): New faces.
665         * org-agenda.el (org-agenda-remove-date): Remove variable.
667 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
669         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
671 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
673         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
674         hash keys to cache and re-use images generated by the
675         org-exp-blocks interface to ditaa and dot.
677 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
679         * org-html.el (org-export-as-html): Move the home/up link into
680         the content div.
682         * org.el (org-export-latex-packages-alist): Option definition
683         moved here from org-latex.el.
685 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
687         * org.el (org-format-latex): Latex images are now saved to files
688         named by the sha1 hash of the latex source text avoiding
689         regeneration of identical images.
691 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
693         * org-html.el (org-export-html-home/up-format): Add an ID to the
694         up/home div.
696 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
698         * org-wl.el (org-wl-store-link): Handle the case that
699         `wl-use-petname' is set.
701         * org.el (org-set-effort): Improve prompt.
702         (org-get-outline-path): Widen to get full path.
703         (org-compact-display-after-subtree-move): Function removed.
705         * org-latex.el (org-export-as-latex): Add the :drawers property.
707 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
709         * org.el (org-speed-commands-user): Allow documentation headlines.
710         (org-speed-commands-default): Organize the value of this constant
711         with descriptive headlines.
712         (org-print-speed-command): Output the headlines.
714 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
716         * org-agenda.el (org-agenda-show-outline-path): New option.
717         (org-agenda-do-context-action): New function.
718         (org-agenda-next-line, org-agenda-previous-line): Use
719         `org-agenda-do-context-action'.
721         * org.el (org-use-speed-commands): Allow function value.
722         (org-speed-commands-default): Make headline motion safe, so that
723         these commands always end on a headline.
724         (org-speed-commands-default): New key `v' for `org-agenda'.
725         (org-speed-move-safe): New function.
726         (org-self-insert-command): Use the function value of
727         `org-use-speed-commands'.
728         (org-get-outline-path): Improve docstring.
729         (org-format-outline-path): New function.
730         (org-display-outline-path): New function.
732 2009-11-12  John Wiegley  <jwiegley@gmail.com>
734         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
735         a string, use that to find the LOGBOOK drawer.
737 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
739         * org.el (org-clone-subtree-with-time-shift): Make it work at the
740         end of the buffer.
742         * org-mobile.el (org-mobile-write-checksums): Specify coding
743         system.
744         (org-mobile-timestamp-buffer): Keep local variable/mode line at
745         beginning of buffer.
747         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
749         * org.el (org-block-todo-from-children-or-siblings-or-parent)
750         (org-block-todo-from-checkboxes): Do not block changes to a nil
751         TODO state.
753 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
755         * org-habit.el (org-habit-parse-todo): Indicate which habit is
756         wrongly set up in the error messages.
758         * org-colview.el (org-columns-display-here): Don't try to
759         calculate values if the underlying property is not set.
760         (org-columns-string-to-number): Convert age strings back into
761         fractional days.
762         (org-agenda-colview-summarize): Handle extended summary types
763         properly.
765         * org-colview-xemacs.el (org-columns-display-here): Don't try to
766         calculate values if the underlying property is not set.
767         (org-columns-string-to-number): Convert age strings back into
768         fractional days.
769         (org-agenda-colview-summarize): Handle extended summary types
770         properly.
772 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
774         * org-exp.el (org-export-format-drawer-function): New variable.
775         (org-export-format-drawer): New function.
776         (org-export-preprocess-string): Pass the backend as a parameter to
777         `org-export-remove-or-extract-drawers'.
778         (org-export-remove-or-extract-drawers): New parameter BACKEND.
780         * org-protocol.el (org-protocol-char-to-string): New defsubst.
782 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
784         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
785         message when no block is selected.
787         * org-latex.el (org-export-latex-links): Check for protectedness
788         in the last matched character, not after the match.
790         * org-datetree.el (org-datetree-find-date-create): Respect
791         restriction when KEEP-RESTRICTION is set.
792         (org-datetree-file-entry-under): New function.
793         (org-datetree-cleanup): New command.
795 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
797         * org-src.el (org-edit-src-code): New optional argument context
798         allows calling functions to avoid altering the saved window
799         configuration.
800         (org-edit-src-exit): Do not restore window configuration when this
801         function is used in the context of saving the edit buffer.
803 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
805         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
806         instances to switching to with-current-buffer, because these seem
807         to cause problems - no idea why.
809         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
810         Require diary-lib for (diary-date-display-form).
812         * org.el (org-log-reschedule, org-log-redeadline): New options.
813         (org-log-note-headings): Add templates for rescheduling and
814         deadline changing.
815         (org-startup-options): Add in-buffer settings for logging changing
816         schedule and deadline time stamps.
817         (org-deadline, org-schedule): Check for existing date and arrange
818         for logging if the user requests it.
819         (org-add-log-note): Prepare proper note buffers for rescheduling
820         and deadline changes.
822 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
824         * org-agenda.el (org-agenda-diary-entry-in-org-file)
825         (org-agenda-add-entry-to-org-agenda-diary-file)
826         (org-agenda-insert-diary-make-new-entry): New functions.
827         (org-agenda-diary-entry): Call
828         `org-agenda-diary-entry-in-org-file' when appropriate.
830         * org.el (org-calendar-insert-diary-entry-key): New option.
831         (org-agenda-diary-file): New option.
832         ("calendar"): Install our insertion function in the calendar.
834         * org-remember.el (org-datetree): Require.
835         (org-remember-templates): Add new positioning option.
836         (org-remember-reference-date): New variable.
837         (org-remember-apply-template): Store the reference date in a local
838         variable.
839         (org-remember-handler): Implement date tree positioning of entries.
841         * org-datetree.el: New file.
843         * org-latex.el (org-export-latex-preprocess): Protect targets in
844         verbatim emphasis.
846         * org-html.el (org-export-as-html): Protect targets in verbatim
847         emphasis.
849         * org-docbook.el (org-export-as-docbook): Protect targets in
850         verbatim emphasis.
852 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
854         * org.el (org-link-display-format): Should be literal replacement.
856 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
858         * org-clock.el (org-show-notification): Handle messages that
859         contain a percent character.
861         * org-remember.el (org-remember-apply-template): Turn of partial
862         completion.
864         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
865         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
867         * org.el (org-indent-mode): Define variable already in org.el.
868         (org-unfontify-region): Remove line-prefix and wrap-prefix
869         properties only if org-indent-mode is active.
871 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
873         * org-icalendar.el (org-print-icalendar-entries): Save match data
874         around call to verify function.
875         (org-print-icalendar-entries): Add a call to the verification
876         function.
878         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
879         save-restrivtion' form.
881 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
883         * org-exp.el (org-export-format-source-code-or-example): restrict
884         scope of preserve-indentp to the let binding.
885         (org-src): require org-src, since org-src-preserve-indentation is used.
887 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
889         * org-timer.el (org-timer-set-timer): Set variables
890         org-timer-timer[123] correctly.
893         * org-mobile.el (org-mobile-files-alist): Make it work when
894         `agenda-archives' is included in
895         `org-agenda-text-search-extra-files'.
896         (org-mobile-push): Restore agenda after mobile push.
898 2009-11-05  John Wiegley  <jwiegley@gmail.com>
900         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
901         way the amount of idle time is presented in the minibuffer.
903 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
905         * org-icalendar.el (org-print-icalendar-entries): Use
906         org-icalendar-verify-function only if non-nil.
908         * org.el (org-refile): Refile to clock only if the prefix arg is
909         2.
910         (org-sparse-tree): Fix docstring to be in line with prompt.
911         (org-update-parent-todo-statistics): Call
912         `org-after-todo-statistics-hook' on each level.
914 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
916         * org-remember.el (org-remember-apply-template): Make sure the
917         buffer exists.
919 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
921         * org.el (org-tab-ind-state): New variable.
922         (org-cycle-level): New function.
923         (org-cycle-level-after-item/entry-creation): New option.
924         (org-flag-subtree): New function.
925         (org-hide-archived-subtrees): Call `org-flag-subtree'.
926         (org-set-effort): Indexed access.
928         * org-list.el (org-cycle-item-indentation): New function.
930         * org.el (org-refile): Make prefix argument 2 refile to current
931         clock.
932         (org-priority): Interpret action `remove' as call to remove the
933         priority cookie.
935         * org-remember.el (org-remember-apply-template): Don't depend on
936         buffer name being like file name.
938 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
940         * org-clock.el (org-clock-play-sound): Expand file in
941         org-clock-sound, to allow ~ for home.
943         * org-remember.el (org-remember-handler): Set
944         text-before-node-creation even if this already looks like a node,
945         because the string might be needed on non-org-mode target files.
947         * org-agenda.el (org-agenda-open-link): Make this work in agenda
948         clocktables.
949         (org-agenda-switch-to): Follow a link at point if
950         org-return-follows-link' is set and there is nothing else to do in
951         this line.
953 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
955         * org-colview-xemacs.el: Add in changes from org-colview.el
957 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
959         * org-exp-blocks.el: Modify split separator regexp to avoid empty
960         strings.
962 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
964         * org-colview.el (org-columns-new): Make this work with the new
965         operators.
966         (org-columns-store-format): Make this work with the new operators.
968 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
970         * org-src.el (org-src-preserve-indentation): Document that this
971         variable is also used during export.
973         * org-exp.el (org-export-format-source-code-or-example): Preserve
974         indentation if a block has a -i option, or if
975         `org-src-preserve-indentation' is set.
977         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
978         indentation if a block has a -i option, or if
979         `org-src-preserve-indentation' is set.
981 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
983         * org.el (org-mode-map): Define the new archiving keys.
984         (org-speed-commands-default): Define an archiving key in the speed
985         command map.
986         (org-org-menu): Improve the menu structure concerning archiving.
988         * org-archive.el (org-archive-subtree-default-with-confirmation):
989         New command.
991         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
992         (org-agenda-menu): Add the new archiving commands to the menu.
993         (org-agenda-archive-default)
994         (org-agenda-archive-default-with-confirmation): New commands.
995         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
996         call `org-agenda-archive-with'.
997         (org-agenda-archive-with): New function.
999         * org-table.el (org-table-convert-region): Inert spaces around "|"
1000         to avoid line beginnings like "|-1" which will be mistaken as
1001         hlines.
1003 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1005         * org.el (org-offer-links-in-entry): Return nil if there are no
1006         links, t if a link has been selected.
1007         (org-open-at-point): Open attachment directory when called in the
1008         headline and there are no links in the entry body.
1009         (org-speed-commands-default): Add "o" for open-at-point as a speed
1010         command.
1012         * org-attach.el (org-attach-reveal): Optional prefix arg
1013         IF-EXISTS, which avoids creating the attachment directory if it
1014         does not yet exist.
1016         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1017         MATCH.
1019 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1021         * org.el ("abbrev"): Work with abbrev tables only after they have
1022         been loaded.
1024         * org-list.el (org-list-send-list): Fix bug related to match
1025         data.
1027         * org-latex.el (org-export-latex-fontify): Apply verbatim
1028         emphasis.
1029         (org-export-latex-make-header): Insert \obeylines if line breaks
1030         should be preserved.
1032         * org-exp.el (org-export-protect-verbatim): Add an
1033         `org-verbatim-emph' property to such text.
1035 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1037         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1038         (org-print-icalendar-entries): Skip entries where the timestamp is
1039         not a deadline and not scheduled, if the user requests that.
1041         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1042         before an opening quote.
1044         * org-archive.el (org-archive-subtree): Keep archive after
1045         archiving something.
1047         * org-id.el (org-id-update-id-locations): Add archive files if
1048         that is required by `org-id-extra-files'.
1050 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1052         * org-src.el (org-src-window-setup): New option.
1053         (org-src-switch-to-buffer): New function.
1054         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1055         restore window configuration.
1056         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1057         Call `org-src-switch-to-buffer'.
1059         * org.el (org-default-properties): Add STYLE property.
1060         (org-files-list): Use the function call to get the files.
1061         (org-additional-option-like-keywords): Add SETUPFILE to completion
1062         list.
1064 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1066         * org-table.el (org-table-convert-region): Correctly interpret
1067         quoting in csv import.
1069         * org.el (org-icompleting-read): Make iswitchb completion work
1070         with lists and tables.
1072         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1073         while pushing the mobile agenda.
1075 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1077         * org-clock.el
1078         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1079         and `when-no-clock-is-running'.
1080         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1081         whether or not to resolve Org buffers on clock in.
1083 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1085         * org-colview.el (org-format-time-period): Function to format
1086         times in fractional days for display.
1087         (org-columns-display-here): Add support for showing a calculated
1088         value in place of the property.
1089         (org-columns): Set `org-columns-time' to the current time so time
1090         difference calculations will work.
1091         (org-columns-time): Use to store the current time when column view
1092         is displayed, so all time differences will use the same reference
1093         point.
1094         (org-columns-compile-map): There is now an extra position in each
1095         entry specifying the function to use to calculate the displayed
1096         value for the non-calculated properties in the column,
1097         (org-columns-compute-all): Set `org-columns-time' to the current
1098         time so time difference calculations will work.
1099         (org-columns-compute): Handle column operators where the values
1100         used are calculated from the underlying property.
1101         (org-columns-number-to-string): Handle the 'age' column format
1102         (org-columns-string-to-number): Correct the function name (was
1103         org-column...). Add support for the 'age' column format.
1104         (org-columns-compile-format): Support the additional parameter in
1105         org-columns-compile-map.
1107 2009-10-26  Bastien Guerry  <bzg@altern.org>
1109         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1110         variable.
1112 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1114         * org-clock.el (org-clock-has-been-used): New variable.
1115         (org-clock-in): Set `org-clock-has-been-used'.
1116         (org-clock-save): Save only if clock data has been used or created
1117         during this session.
1119 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1121         * org-clock.el (org-clock-persist): New value, to store only the
1122         clock history.
1123         (org-clock-save): Don't save the clock if only the history should
1124         be stored.
1125         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1126         when restoring a saved clock.
1128 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1130         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1131         `org-time-clock-use-fractional'.
1133         * org.el (org-time-clocksum-use-fractional)
1134         (org-time-clocksum-fractional-format): Two new customizable
1135         variables which allow the user to select fractional times (1.25
1136         instead of 1:25) in the `org-clock-display' report.
1138 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1140         * org-habit.el (org-habit-build-graph): None of the arguments
1141         should be optional.
1142         (org-habit-parse-todo, org-habit-deadline)
1143         (org-habit-get-priority, org-habit-get-faces)
1144         (org-habit-build-graph): Further simplifications by storing all
1145         past, scheduled and deadline dates as a number of days past the
1146         epoch, and not as times.
1148         * org-habit.el (org-habit-warning-face)
1149         (org-habit-warning-future-face): Removed because these are no
1150         longer used.
1151         (org-habit-deadline, org-habit-deadline-repeat): Now always
1152         returns a date; computed if there was a scheduled repeater but no
1153         deadline repeater.
1154         (org-habit-get-priority): Further improvements to the priority
1155         algorithm.  In particular, items past due should always appear
1156         before items due or not yet due.
1157         (org-habit-get-faces): Greatly simplified the logic, now that
1158         `org-habit-deadline' always returns a valid time.
1160 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1162         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1163         New option.
1165         * org.el (org-tag-alist): Fix customization type.
1167 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1169         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1170         Make sure the regexp search can fail without throwing an error.
1171         (org-mobile-apply): Save the inbox buffer after removing
1172         successfully applied changes.
1174 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1176         * org-habit.el (org-habit-build-graph): Fix to the graph building
1177         when last DONE date is earlier than `org-habit-preceding-days'.
1179         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1180         time is reported after the user comes back (but before they
1181         resolve time).
1183         * org.el (org-get-repeat): Change so that this function can be
1184         called with either `org-scheduled-string' or
1185         `org-deadline-string'.
1187         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1188         to find the scheduled date.
1190         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1191         `org-clock-disable-clock-resolution', since negatives don't sound
1192         good in customization variables.
1193         (org-clock-in): Don't use the auto-resolution logic if the user is
1194         clocking into a different task while an active clock is running.
1195         This then allows the default behavior of clocking out of the open
1196         task and then into the new task.
1198         * org-habit.el (org-habit-parse-todo): Generate an error if a
1199         habit has a scheduled repeat period < 1.
1200         (org-habit-get-faces): Fixes to the way that colors are computed.
1201         (org-habit-build-graph): The graph wasn't displaying beyond any
1202         day that had two completions in it.
1204         * org.el (org-modules): Made this variable more consistent, since
1205         it was referring to Org, OrgMode and Org-mode, whereas the docs
1206         for the variable always refer to Org-mode.
1208 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1210         * org.el (org-repeat-re): The changed org-repeat-re no longer
1211         matched simple +2d type repeaters. Fix it so it does.
1213 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1215         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1216         macro in the VERSE environment.
1218 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1220         * org-habit.el (org-habit-get-priority): A new function that
1221         determines the relative priority of a habit, based on how long
1222         past its scheduled date it is, and how near the deadline is.
1224         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1225         using `org-habit-get-priority'.
1227         * org-habit.el (org-habit-build-graph): Start displaying colors
1228         from the first scheduled date, if that date is earlier than the
1229         first completion date.
1231         * org-habit.el: Changed all "color" variables to faces, and made
1232         them appropriate for light and dark backgrounds.
1234         * org-habit.el (org-habit-duration-to-days): Made this function
1235         more general.
1236         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1238         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1239         habits, since they don't use DEADLINE anymore.
1241         * org.el (org-repeat-re, org-display-custom-time)
1242         (org-timestamp-change): Extended to support the new ".+N/N"
1243         syntax, used for habits.
1245         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1246         variable reference.
1248         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1249         modeline when habits are being displayed (if that module is being
1250         loaded).
1252 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1254         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1255         idle time using the xscreensaver extension.
1256         (org-user-idle-seconds): Use X11 idle time if available.
1258 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1260         * org-agenda.el (org-agenda-next-line): New command.
1261         (org-agenda-previous-line): New commands.
1262         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1263         commands.
1264         (org-agenda-follow-mode): Do the follow immediately if the mode is
1265         turned on here.
1266         (previous-line, next-line): Replace keys with the corresponding
1267         org functions.
1268         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1269         command.
1271         * org.el (org-icompleting-read): Turn off partial completion mode
1272         for the duration of this completion round.
1274         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1275         macros in author lines and similar stuff.
1277         * org.el (org-file-tags): Fix docstring.
1278         (org-get-buffer-tags): Add the #+FILETAGS tags.
1279         ("ecb"): Maks ecb show context after jumping into an Org file.
1281 2009-10-20  John Wiegley  <johnw@newartisans.com>
1283         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1284         graphs after everything else in the buffer has been setup.
1286 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1288         * org-mobile.el (org-mobile-apply): Count success and failure.
1290         * org.el (org-indent-line-function): Fix regexp replace problem.
1292 2009-10-19  John Wiegley  <johnw@newartisans.com>
1294         * org-clock.el (org-clock-disable-clock-resolution): New
1295         customization variable that disable automatic clock resolution on
1296         clock in.
1297         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1298         not automatically resolve anything.  This is does not affect
1299         idle-time resolution, however, if `org-clock-idle-time' is set.
1301 2009-10-19  John Wiegley  <johnw@newartisans.com>
1303         * org-habit.el: New file, which implements code to build a "habit
1304         consistency graph".
1306         * org-agenda.el (org-agenda-get-deadlines)
1307         (org-agenda-get-scheduled): Display consistency graphs when
1308         outputting habits into the agenda.  The graphs are always relative
1309         to the current time.
1310         (org-format-agenda-item): Added new parameter `habitp', which
1311         indicates whether we are formatting a habit or not.  Do not
1312         display "extra" leading information if habitp is true.
1314         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1315         leaders for repeat strings.
1316         (org-get-repeat): Now takes a string parameter `tagline', so the
1317         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1319 2009-10-19  John Wiegley  <johnw@newartisans.com>
1321         * org-agenda.el (org-agenda-auto-exclude-function): New
1322         customization variable for allowing the user to create an "auto
1323         exclusion" filter for doing context-aware auto tag filtering.
1324         (org-agenda-filter-by-tag): Changes to support the use of
1325         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1327 2009-10-18  John Wiegley  <johnw@newartisans.com>
1329         * org.el (org-files-list): Don't attempt to return a file name for
1330         Org buffers which have no associated file.
1332         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1334 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1336         * org-mobile.el (org-mobile-locate-entry): Interpret files
1337         relative to org-directory.
1338         (org-mobile-inbox-for-pull): Document the best location for this
1339         file.
1340         (org-mobile-check-setup): Verify `org-directory'.
1341         (org-mobile-create-index-file): Sort the files to be listed in
1342         index.org.
1344 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1346         * org.el (org-fast-tag-selection): Add a way to display a
1347         description for a tag group. This is done by adding a string to
1348         either the startgroup or endgroup cell.
1350 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1352         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1353         (org-emacs-idle-seconds): Use `org-float-time' instead of
1354         `time-to-seconds'
1356 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1358         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1359         type.
1361         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1362         the value of ARG when doing local cycling.
1364 2009-10-17  John Wiegley  <johnw@newartisans.com>
1366         * org-clock.el (org-clock-resolve-clock): If keeping or
1367         subtracting time results in a clock out at a time in the past, and
1368         if the resolution occurred due to idleness or invoking `M-x
1369         org-resolve-clocks', remember that past moment in time.  On the
1370         next clock in, the user will be prompted to see if they want to
1371         back-date their new clock to then.
1372         (org-clock-resolve): Do not jump the user to the location of a
1373         dangling clock if the resolution is occuring due to an idle
1374         timeout.  In that case there is typically only one dangling clock,
1375         the active one, and there is no value gained by shuffling their
1376         windows around to show it to them.  Being prompted to resolve an
1377         idle clock should be as inobtrusive as possible.
1378         (org-resolve-clocks-if-idle): New function that resolves only the
1379         currently active clock if the user has exceeded the time returned
1380         by `org-user-idle-seconds', based on the value of
1381         `org-clock-idle-time'.
1382         (org-clock-in): If, after resolving clocks,
1383         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1385         * org-clock.el (org-clock-resolve-clock): New function that
1386         resolves a clock to a specific time, closing or resuming as need
1387         be, and possibly even starting a new clock.
1388         (org-clock-resolve): New function used by `org-resolve-clocks'
1389         that sets up for the call to `org-clock-resolve-clock'.  It
1390         determines the time to resolve to based on a single-character
1391         selection from the user to either keep time, subtract away time or
1392         cancel the clock.
1393         (org-resolve-clocks): New user command which resolves dangling
1394         clocks -- that is, open but not active -- anywhere in the file
1395         list returned by `org-files-list'.
1396         (org-clock-in): Automatically resolve dangling clocks whenever a
1397         user clocks in.
1398         (org-clock-cancel): If the user cancels the solely clock in a
1399         LOGBOOK, remove the empty drawer.
1401         * org-clock.el (org-clock-idle-time): New user customizable option
1402         for detecting whether the user has left a clock idle.  Note: it is
1403         only used in this commit to test whether it's worthwhile to check
1404         OS X to get the Mac user's current idle time.  If the Emacs idle
1405         time is less than the value, the user hasn't been away long enough
1406         to be worth checking (a more expensive test than just getting
1407         Emacs idle time).
1408         (org-user-idle-seconds, org-mac-idle-seconds)
1409         (org-emacs-idle-seconds): This three functions, in conjunction
1410         with the user customization variable `org-clock-idle-time', return
1411         the number of seconds (as a floating point) that the user has been
1412         away from their Emacs (or, if running on OS X, their computer).
1414         * org-clock.el (org-find-open-clocks): New function that returns a
1415         list of all open clocks in the given FILE.  Note that each clock
1416         it returns is a cons cell of the format (MARKER . START-TIME).
1417         This "clock" value is used by several of the new clock module
1418         utility functions.
1419         (org-is-active-clock): New inline function which tests whether the
1420         given clock value is the same as the currently active clock.
1421         Returns non-nil if this is the case.
1422         (org-with-clock-position): New macro that evaluates FORMS with
1423         point in the buffer and at the position of the given clock.
1424         Changes to the current clock are global.
1425         (org-with-clock): New macro that evaluates FORMS with point in the
1426         buffer and at the position of the given clock.  However, changes
1427         to the current clock are local and have no effect on the user's
1428         active clock.  This allows, for example, far any clock to be
1429         cancelled without cancelling the active clock.
1430         (org-clock-clock-in): New inline function that switches the active
1431         clock to the given clock.  If either the argument RESUME, or the
1432         global `org-clock-in-resume', are non-nil, it will resume a clock
1433         that was previously left open.
1434         (org-clock-clock-out): New inline function that clocks out the
1435         given clock value without affecting the currently active clock.
1436         (org-clock-clock-cancel): New inline function that cancels the
1437         given clock value without affecting the currently active clock.
1439         * org-clock.el (org-clock-in): Before creating
1440         `org-clock-mode-line-timer', check to make sure an older timer is
1441         not currently running.
1442         (org-clock-out): Accept new third parameter `at-time', which
1443         permits a clock to be clocked out at a specific time.  Note that
1444         no attempt is made to verify that the clock out time is later than
1445         the clock in time.
1447         * org.el (org-files-list): New utility function for returning a
1448         list of all open org-mode buffers, plus all files used to build
1449         the agenda buffer.  Note that not all the files will necessarily
1450         be visited by a buffer at time of call.
1451         (org-entry-beginning-position): Like the function
1452         `line-beginning-position', this inline function returns the
1453         beginning position of the current heading/entry.
1454         (org-entry-end-position): Like the function `line-end-position',
1455         this inline function returns the end position of the current
1456         heading/entry.
1458 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1460         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1461         a header line.
1463 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1465         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1467 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1469         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1470         entries that have no tags.
1471         (org-agenda-search-view): New customize group.
1472         (org-agenda-search-view-search-words-only): New option.
1473         (org-search-view): Implement substring search.
1475 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1477         * org.el (org-outline-level): Add doc string.
1479 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1481         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1482         variable.
1483         (org-inlinetask-export-handler): Only export inline task if the
1484         user option calls for it.
1486 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1488         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1489         END if present.
1491 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1493         * org-latex.el (org-export-latex-tables): Don't format in
1494         protected regions.
1496 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1498         * org-src.el (org-edit-src-code)
1499         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1500         macro editing.
1502         * org-agenda.el (org-prefix-category-max-length): New variable.
1503         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1504         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1506 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1508         * org-mobile.el (org-mobile-create-index-file): Improve the
1509         listing of tags and todo keywords.
1511         * org-latex.el (org-export-latex-format-image): New function.
1512         (org-export-latex-links): Use `org-export-latex-format-image'.
1514 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1516         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1517         (org-inlinetask-remove-terminator): New functions.
1518         (org-inlinetask-export-handler): Terminate the description list.
1520         * org-exp.el (org-export-select-backend-specific-text): Remove the
1521         region markers.
1523         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1524         tasks without content.
1526         * org-clock.el: Make sure the clock-in target position does not
1527         move to a different node by widening the buffer.
1529         * org-html.el (org-export-html-format-image): Wrap image into
1530         figure div only when there is a caption.
1532         * org-archive.el (org-archive-mark-done): Change default value to
1533         nil.
1535 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1537         * org.el (org-context): Call `bobp', not `eobp'.
1539         * org-clock.el (org-clock-cancel): Remove quotes from marker
1540         variables.
1542         * org.el (org-read-date-prefer-future): New allowed value `time'.
1543         (org-read-date-analyze): Shift day to tomorrow depending on time
1544         entered and value of `org-read-date-prefer-future'.
1546 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1548         * org.el (org-set-tags-to): New command.
1550         * org-mobile.el (org-mobile-action-alist): Add more options and
1551         update the docstring.
1552         (org-mobile-apply-flags): Parse for and use the data.
1554         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1555         the plist.
1557         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1558         keyword.
1560         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1562 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1564         * org-inlinetask.el (org-inlinetask-export): Option removed.
1565         (org-inlinetask-export-handler): Better export.
1567         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1568         (org-export-as-xoxo): Run the new hook.
1570         * org-html.el (org-export-html-final-hook): New hook.
1571         (org-export-as-html): Run the new hook.
1573         * org-docbook.el (org-export-docbook-final-hook): New hook.
1574         (org-export-as-docbook): Run the new hook.
1576         * org-ascii.el (org-export-ascii-final-hook): New hook.
1577         (org-export-as-ascii): Run the new hook.
1579         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1580         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1582         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1583         space character as the character before the ^/_.
1584         (org-export-latex-final-hook): New hook.
1585         (org-export-as-latex): Run `org-export-latex-final-hook'.
1587 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1589         * org-macs.el (org-if-unprotected-at): Fix docstring.
1591         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1592         text in the prefix (if category is a link).
1594         * org-latex.el (org-export-latex-preprocess): Deal properly with
1595         empty lines in verse environments.
1597         * org.el (org-format-latex-header): Inline fullpage.sty.
1599         * org-footnote.el (org-footnote-create-definition): Reveal context
1600         to add a new footnote definition.
1602         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1603         the index file.
1604         (org-mobile-files): New option.
1605         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1606         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1607         functions.
1608         (org-mobile-push): Start by creating the files lists.
1609         (org-mobile-copy-agenda-files): Move killing the buffer to after
1610         the save-excursion has exited.
1611         (org-mobile-write-checksums): Write checksums also for files in
1612         sub-directories.
1614         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1615         org-table-recalculate when cursor is in TBLFM line.
1617         * org-list.el (org-renumber-ordered-list): Fix cursor position
1618         when bullet length has changed.
1620 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1622         * org.el (org-format-latex): Mention `org-format-latex-options' in
1623         the docstring.
1625 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1627         * org.el (org-agenda-get): New function.
1629         * org-agenda.el (org-agenda-post-command-hook): No longer move
1630         point away from end of line.
1631         (org-agenda-add-entry-text, org-agenda-collect-markers)
1632         (org-finalize-agenda, org-agenda-mark-clocking-task)
1633         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1634         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1635         (org-agenda-compare-effort, org-agenda-filter-apply)
1636         (org-agenda-later, org-agenda-change-time-span)
1637         (org-agenda-post-command-hook, org-agenda-show-priority)
1638         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1639         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1640         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1641         (org-agenda-open-link, org-agenda-copy-local-variable)
1642         (org-agenda-switch-to, org-agenda-check-no-diary)
1643         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1644         (org-agenda-add-note, org-agenda-change-all-lines)
1645         (org-agenda-priority, org-agenda-set-tags)
1646         (org-agenda-set-property, org-agenda-set-effort)
1647         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1648         (org-agenda-show-new-time, org-agenda-date-prompt)
1649         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1650         (org-agenda-clock-in, org-agenda-bulk-mark)
1651         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1652         `org-get-at-bol'.
1654         * org-colview.el (org-columns-display-here)
1655         (org-columns-edit-allowed, org-agenda-columns): Use
1656         `org-get-at-bol'.
1658 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1660         * org.el (org-special-ctrl-a/e): Improve documentation and
1661         customize type.
1662         (org-end-of-line): Don't jump to after the ellipsis.
1663         (org-mode-map): Bind <home> and <end> as well.
1665 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1667         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1668         space after #+ as comments.
1669         (org-open-at-point): Run `org-follow-link-hook' always.
1671         * org-latex.el (org-export-latex-emph-format): Use better commands
1672         to insert special characters in verbatim snippets.
1674 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1676         * org-faces.el (org-copy-face): New function.  Use it to create
1677         various faces formerly created by using `copy-face'.
1679         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1680         window dedicated.
1681         (org-agenda-quit): Kill the frame containing the agenda window if
1682         that frame was created for the agenda.
1684 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1686         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1687         stamp in the agenda.
1689 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1691         * org-mobile.el (org-mobile-create-index-file): Add the list of
1692         TODO keywords, and the list of drawers to the index file.
1694         * org-agenda.el (org-prepare-agenda): Reset
1695         `org-drawers-for-agenda'.
1696         (org-prepare-agenda): Uniquify list of drawers.
1698         * org.el (org-complex-heading-regexp-format): New variable.
1699         (org-set-regexps-and-options): Define
1700         `org-complex-heading-regexp-format'.
1701         (org-drawers-for-agenda): New variable.
1702         (org-map-entries): Bind `org-drawers-for-agenda'.
1703         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1705         * org-remember.el (org-go-to-remember-target)
1706         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1708 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1710         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1711         problem.
1713         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1714         the capture file, and make it non-configurable.
1716         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1717         always with `invisible-ok'.
1718         (org-store-link): No error when there is nothing to link to in the
1719         agenda.
1721         * org-list.el (org-update-checkbox-count): Insert changed cookie
1722         before the old, to avoid problems with invisibility at the end of
1723         the line.
1724         (org-update-checkbox-count): Insert changed cookie before the old,
1725         to avoid problems with invisibility at the end of the line.
1727         * org.el (org-sort-entries-or-items): Include the final newline.
1728         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1729         lines for fontification.
1730         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1731         (org-prepare-dblock): Store the current indentation of the BEGIN
1732         line.
1733         (org-update-dblock): Apply the indentation of the begin line to
1734         the rest of the block.
1735         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1736         (org-startup-folded): New allowed value `showeverything'.
1737         (org-startup-options): Add STARTUP keyword `showeverything'.
1738         (org-set-startup-visibility): Respect value `showeverything' in
1739         org-startup-folded.
1741 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1743         * org.el (org-closest-date): Fix issue with past preference.
1745         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1747         * org-archive.el (org-archive-set-tag)
1748         (org-archive-subtree-default): New commands.
1750         * org-mobile.el (org-mobile-create-index-file): Fix link to
1751         capture file.
1752         (org-mobile-copy-agenda-files): Create the capture file if it does
1753         not exist.
1755         * org-clock.el (org-clock-clocktable-default-properties): New
1756         option.
1757         (org-clock-report): Use
1758         `org-clock-clocktable-default-properties'.
1760 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1762         * org.el (org-iswitchb-completing-read): Fix typo.
1764         * org-crypt.el: New file.
1766         * org.el: Add an entry for org-crypt.
1768 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1770         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1771         consistency.
1772         (org-batch-store-agenda-views): New function.
1773         (org-mobile-force-id-on-agenda-items): Mention variable.
1774         (org-agenda-title-append): Define variable.
1775         (org-write-agenda): New export to Org files.
1776         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1777         (org-agenda): Allow to keep the restricted file list if a special
1778         variable is bound to t.
1779         (org-agenda): Define a special agenda view for working on flagged
1780         entries.
1781         (org-agenda-get-restriction-and-command): List the new agenda
1782         view.
1783         (org-agenda-show-the-flagging-note): New command.
1784         (org-agenda-mode-map): New key `?' for looking at the flagging
1785         note.
1787         * org.el (org-autoload): Autoload org-mobile.el.
1788         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1790         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1792 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1794         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1795         statements.
1796         (org-table-get-remote-range): Match indented #+TBLNAME
1797         statements.
1799         * org.el (org-convert-to-odd-levels)
1800         (org-convert-to-oddeven-levels): Work also correctly if the file
1801         is in outline-mode.
1803 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1805         * org.el (org-store-link): When in agenda buffer, link to
1806         referenced entry.
1807         (org-add-planning-info): Remove spaces at eol.
1809         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1810         property.
1812 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1814         * org-latex.el (org-export-latex-first-lines): Fix problem with
1815         LaTeX export of first line and selected subtree.
1817         * org.el (org-shifttab): Interpret arg differently when using only
1818         odd levels.
1820 2009-09-09  Bastien Guerry  <bzg@altern.org>
1822         * org.el (org-check-agenda-file): Use a more explicit message
1824 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1826         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1827         normal lines.
1829 2009-09-08  Bastien Guerry  <bzg@altern.org>
1831         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1832         prompt in the temporary window.
1834         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1835         prefix for marked entries in the agenda view.
1837 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1839         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1840         a way that prevents any trailing character from being displayed.
1842 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1844         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1845         menu.
1847         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1848         slow regexp match.
1850 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1852         * org-latex.el (org-export-latex-preprocess): Do not protect in
1853         the LaTeX header.
1855         * org-src.el (org-edit-src-save): Save window setup while saving.
1856         (org-edit-src-code): Use new buffer name construction scheme.
1858 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1860         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1861         variable.
1862         (org-agenda-entry-text-cleanup-hook): New hook.
1863         (org-agenda-get-some-entry-text): Remove matches of
1864         `org-agenda-entry-text-exclude-regexps' and run the hook
1865         `org-agenda-entry-text-cleanup-hook'.
1867         * org.el (org-offer-links-in-entry): New argument ZERO to
1868         implement a link with index zero.
1869         (org-cycle-show-empty-lines): Not keep empty line under header
1870         hidden.
1871         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1872         to nil for special completion.
1873         (org-store-link): Don't error before the first heading.
1875         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1876         `org-offer-links-in-entry'.
1878 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1880         * org-agenda.el (org-agenda-quit): Provide the window argument for
1881         `window-dedicated-p', Emacs 22 needs it.
1882         (org-format-agenda-item): If the category is a link, arrange for
1883         invisible text to replaced with spaces.
1884         (org-compile-prefix-format): Add the extra space.
1885         (org-prefix-category-length): New variable.
1887         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1888         references from TOC lines.
1890         * org.el (org-selected-window): New variable.
1892         * org-table.el (org-table-edit-formulas): Remember the selected
1893         window.
1894         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1895         that was originally selected.
1897         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1898         expansion of a macro for more macro definitions.
1900         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1901         invisibility overlay starts on the newline.
1903 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1905         * org-protocol.el (org-protocol-store-link)
1906         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1908         * org-compat.el (org-float-time): New function.
1910         * org.el (org-clock-update-time-maybe)
1911         (org-sort-entries-or-items, org-do-sort)
1912         (org-evaluate-time-range, org-time-string-to-seconds)
1913         (org-closed-in-range): Use `org-float-time'.
1915         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1916         (org-timer-seconds):  Use `org-float-time'.
1918         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1919         (org-clock-sum, org-dblock-write:clocktable)
1920         (org-clocktable-steps):  Use `org-float-time'.
1922         * org-agenda.el (org-agenda-last-marker-time)
1923         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1925         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1926         function.
1928         * org-exp.el (org-get-file-contents): Only protect lines that
1929         really need it.
1931         * org-html.el (require): Require cl for compilation.
1933         * org.el:  Avoid using `default-major-mode'.
1935         * org-plot.el (require): Require CL only at compile time.
1937         * org-exp.el (require): Require CL only at compile time.
1939         * org-agenda.el (org-agenda-quit): When the agenda window is
1940         dedicated, remove other windows before exiting, so that the frame
1941         really will be killed.
1943         * org-exp.el (org-export-handle-include-files): Reset START and
1944         END for each loop cycle.
1946 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1948         * org.el (org-eval-in-calendar): Use
1949         `org-select-frame-set-input-focus'.
1951         * org-compat.el (org-select-frame-set-input-focus): New function.
1953         * org.el (org-update-statistics-cookies): New function.
1954         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1956 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1958         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1959         after the local variables are set.
1961         * org-latex.el (org-export-latex-protect-amp): New function.
1962         (org-export-latex-links): Protect link ampersands in tables.
1964         * org-exp.el (org-export-select-backend-specific-text): Match in
1965         two steps, to avoid regexp problems.
1967         * org.el (org-offer-links-in-entry): Improve working with many and
1968         duplicate links.
1970         * org-agenda.el (org-agenda-show-1): Make more consistent with
1971         normal cycling.
1972         (org-agenda-cycle-show): Make more consistent with normal cycling.
1974         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1975         website.
1977 2009-08-30  Bastien Guerry  <bzg@altern.org>
1979         * org-latex.el (org-export-latex-first-lines): Bugfix.
1981 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1983         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1984         about new effort.
1986         * org.el (org-set-effort): New function.
1987         (org-mode-map): New key for effort setting command.
1989         * org-agenda.el (org-agenda): Keep window setup when calling
1990         agenda from within agenda window.
1991         (org-agenda-mode-map): New keys for effort setting commands.
1992         (org-agenda-menu): Add effort setting commands to menu.
1993         (org-agenda-set-property, org-agenda-set-effort): New functions.
1995         * org-latex.el (org-export-latex-tables): Fix
1996         `org-table-last-alignment' and `org-table-last-column-widths' if
1997         the first column has been removed.
1999 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2001         * org.el (org-remove-timestamp-with-keyword): Only remove in
2002         entry, not in subtree.
2004         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2005         emacs lisp.
2007         * org.el (org-open-at-point): When on headline, offer all strings
2008         in entry.
2010         * org-remember.el (org-remember-templates): Documentation fix.
2012         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2013         `org-get-last-sibling' instead of the outline versions of these
2014         functions.
2015         (org-get-last-sibling): New function.
2016         (org-refile): Use `org-get-next-sibling' instead of the outline
2017         version of this function.
2018         (org-clean-visibility-after-subtree-move): Use
2019         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2020         outline versions of these functions.
2022 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2024         * org-agenda.el (org-prepare-agenda): When creating a new frame
2025         for the agenda, make the window dedicated.
2027         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2029         * org-table.el (org-table-align): Change the order of reinsertion
2030         and deletion, to avoid problems with overlays following the table.
2032         * org.el (org-parse-time-string): Better error message.
2033         (org-show-subtree): Use org-end-of-subtree.
2035         * org-macs.el (org-goto-line): New defsubst.
2037         * org.el (org-open-file, org-change-tag-in-region)
2038         (org-fast-tag-show-exit): Don't use `goto-line'.
2040         * org-table.el (org-table-align, org-table-insert-column)
2041         (org-table-delete-column, org-table-move-column)
2042         (org-table-sort-lines, org-table-copy-region)
2043         (org-table-paste-rectangle, org-table-wrap-region)
2044         (org-table-get-specials, org-table-rotate-recalc-marks)
2045         (org-table-get-range, org-table-recalculate)
2046         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2047         (org-table-show-reference, org-table-highlight-rectangle): Don't
2048         use `goto-line'.
2050         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2051         (org-edit-src-exit): Don't use `goto-line'.
2053         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2055         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2056         Don't use `goto-line'.
2058         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2060         * org-colview.el (org-columns, org-columns-redo)
2061         (org-agenda-columns): Don't use `goto-line'.
2063         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2064         use `goto-line'.
2066         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2067         (org-agenda-add-entry-text-maxlines): Improve docstring.
2068         (org-agenda-start-with-entry-text-mode): New option.
2069         (org-agenda-entry-text-maxlines): New option.
2070         (org-agenda-entry-text-mode): New variable.
2071         (org-agenda-mode): Set initial value of
2072         `org-agenda-entry-text-mode'.
2073         (org-agenda-mode-map): Add the `E' key.
2074         (org-agenda-menu): Add entry text mode to the menu.
2075         (org-agenda-get-some-entry-text): Fix line count bug.
2076         (org-finalize-agenda): Apply entry text mode if appropriate.
2077         (org-agenda-entry-text-show-here): New function.
2078         (org-agenda-entry-text-show): New function.
2079         (org-agenda-entry-text-hide): New function.
2080         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2081         key menu.
2082         (org-agenda-entry-text-mode): New command.
2083         (org-agenda-set-mode-name): Add entry text mode to the mode line
2084         string.
2085         (org-agenda-undo, org-agenda-get-restriction-and-command)
2086         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2087         `goto-line'.
2089 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2091         * org-clock.el (org-notify): Bugfix.
2093 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2095         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2096         check for after-string.
2098         * org-gnus.el (org-gnus-store-link): Simplify.
2100         * org.el (org-latex-regexps): Don't add extra empty lines for
2101         display formulas.
2103 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2105         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2106         (org-agenda-add-entry-text): Use
2107         `org-agenda-get-some-entry-text'.
2109         * org.el (org-cycle-separator-lines): Update docstring.
2110         (org-cycle-show-empty-lines): Handle negative values for
2111         `org-cycle-show-empty-lines'.
2113         * org-exp.el (org-export-protect-sub-super): New function.
2114         (org-export-normalize-links): Protect the url of plain links from
2115         supscript and superscript processing.
2117         * org-remember.el (org-remember-escaped-%): New function.
2118         (org-remember-apply-template): Use `org-remember-escaped-%' to
2119         detect escaped % signs.
2121 2009-08-23  Bastien Guerry  <bzg@altern.org>
2123         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2124         sound when showing the notification.
2126         * org-clock.el (org-notify): New function.
2127         (org-clock-notify-once-if-expired): Use `org-notify'.
2129         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2130         and `gnus-article-mode' separately.
2131         (gnus-summary-article-header): Fix the declare-function.
2133 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2135         * org-exp.el (org-export-format-source-code-or-example): Translate
2136         language.
2138         * org-src.el (org-src-lang-modes): New variable
2139         (org-edit-src-code): Translate language.
2141         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2142         the new structure of the `org-export-latex-listings-langs'
2143         variable.
2145         * org-latex.el (org-export-latex-listings-langs): Change structure
2146         of the variable from plist to alist.
2148 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2150         * org.el (org-in-commented-line): New function.
2152 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2154         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2156 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2158         * org.el (org-flag-drawer): More useful error.
2160 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2162         * org-remember.el (org-remember-apply-template): Use
2163         org-icompleting-read.
2165         * org-publish.el (org-publish): Use org-icompleting-read.
2167         * org-colview.el (org-columns-edit-value, org-columns-new)
2168         (org-insert-columns-dblock): Use org-icompleting-read.
2170         * org-colview-xemacs.el (org-columns-edit-value)
2171         (org-columns-new, org-insert-columns-dblock): Use
2172         org-icompleting-read.
2174         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2175         org-icompleting-read.
2177 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2179         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2180         (org-version): Return the version text.
2181         (org-org-menu): Add a menu entry for the new bug reporter.
2182         (org-submit-bug-report): New command.
2184         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2185         docstring.
2187         * org.el (org-emphasis-regexp-components): Add "`" to set of
2188         pre-emphasis characters.
2190         * org-latex.el (org-export-latex-classes): Always include the soul
2191         package.
2192         (org-export-latex-emphasis-alist): Use \st for strikethough.
2194         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2195         `indent-code-rigidly' to indent.
2197         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2198         properties only if MATCH really is a string.
2200 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2202         * org-latex.el (org-export-latex-packages-alist): Fix
2203         customization type.
2205         * org.el (org-create-formula-image): Also use
2206         `org-export-latex-packages-alist'.
2208         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2209         (org-export-as-html): Format footnotes correctly.
2211 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2213         * org.el (org-fast-tag-selection): Avoid text properties on tags
2214         in the alist.
2216         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2217         text properties on the match element.
2219 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2221         * org.el (org-set-regexps-and-options): Make sure the list of done
2222         keywords is not invalid.
2224         * org-exp.el (org-export-interpolate-newlines): New function.
2226 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2228         * org.el (org-format-latex): Avoid nested overlays.
2230         * org-latex.el (org-export-latex-listings-langs): Add a few more
2231         languages.
2233         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2234         ignore newlines and space before the first macro argument.
2236         * org-latex.el (org-export-latex-tables): Remove save-excursion
2237         around `org-table-align'.
2239 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2241         * org.el (org-export-html-special-string-regexps): Definition
2242         moved into org.el
2244         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2245         in macro calls.
2247 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2249         * org-latex.el (org-export-latex-listings)
2250         (org-export-latex-listings-langs): New options.
2252         * org-exp.el (org-export-format-source-code-or-example): Use
2253         listing package if requested by the user.
2255 2009-08-08  Bastien Guerry  <bzg@altern.org>
2257         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2258         command before actually switching to a buffer.
2260 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2262         * org-exp.el (org-get-file-contents): Only quote org lines when
2263         the markup is src or example.
2265         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2266         New option
2267         (org-agenda-get-day-entries): Remember deadline results and pass
2268         them on into the function getting the scheduling information.
2269         (org-agenda-get-scheduled): Accept deadline results as parameters
2270         and maybe skip some entries.
2271         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2273         * org.el (org-insert-heading): When respecting content, do not
2274         convert current line to headline.
2276         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2277         cheeeeeck the hd marker
2278         (org-clock-in): Also set the hd marker.
2279         (org-clock-out): Also set the hd marker.
2280         (org-clock-cancel): Reset markers.
2282         * org.el (org-clock-hd-marker): New marker.
2284         * org-faces.el (org-agenda-clocking): New face.
2286         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2287         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2289         * org.el (org-modules): Add org-track.el.
2291         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2292         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2293         `org-agenda-bulk-marked-p'.
2294         (org-agenda-bulk-toggle): New command.
2296 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2298         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2299         not just the body.
2301         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2302         messages.
2304 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2306         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2307         before gnuplot can read it.
2309 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2311         * org-latex.el (org-export-latex-first-lines): Fix bug with
2312         finding the end of the first lines.
2314         * org.el (org-create-formula-image): Remove the -E option for
2315         dvipng.
2317         * org-exp.el (org-default-export-plist): Respect #+BIND.
2318         (org-export-confirm-letbind): New function.
2320         * org.el (org-paste-subtree): Test the kill ring entry if it is
2321         going to be used.
2322         (org-copy-subtree): Use `org-forward-same-level'.
2323         (org-forward-same-level): Respect the `invisibe-ok' arg for
2324         back-to-heading.
2326 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2328         * org.el (org-table-map-tables): Make sure cursor is back at table
2329         beginning after funcall.
2331         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2332         handled before children, and do not error if an entry is not
2333         found, probably because it hase been remove when the parent was
2334         archived or refiled.
2336         * org.el (org-ido-completing-read): Accept straight lists for
2337         completion as well as alists.
2339         * org-html.el (org-export-as-html): Fix parenthesis error in
2340         footnore code.
2342         * org-timer.el (org-timer-cancel-timers): Renamed from
2343         `org-timer-cancel-timers'.
2345         * org.el (org-cycle-internal-local): Fix problem with finding next
2346         invisible line.
2348 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2350         * org-list.el (org-list-send-list): Call
2351         `org-list-goto-true-beginning' instead of
2352         `org-list-find-true-beginning', which does not exist.
2354         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2355         (org-timer-set-timer): Do not assign to heading.
2357         * org-id.el (org-id-open): Quote function name.
2359         * org-macs.el (org-unmodified): Turn off recording undo
2360         information while running inside the macro.
2362         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2363         variable.
2364         (org-indent-mode): Remember and restore value of
2365         org-hide-leading-stars before `org-indent-mode'.
2367         * org-table.el (org-table-export): Also work in file-less
2368         buffers.
2370         * org.el (org-startup-indented): New option.
2371         (org-startup-options): Add new options indent and noindent.
2372         (org-unfontify-region): Remove line-prefix and wrap-prefix
2373         properties.
2374         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2375         hooks.
2376         (org-promote, org-demote): Run the new hooks.
2378         * org-table.el (org-table-align): Replace leading \n as well.
2380         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2381         and `line-wrap' text properties.
2383         * org-compat.el (org-kill-new): New function.
2385         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2386         `line-wrap' text properties.
2388         * org-indent.el: New file.
2390 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2392         * org.el (org-provide-todo-statistics): Tweak docstring.
2394         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2396 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2398         * org-exp.el (org-export-as-org): Insert the "-source" string
2399         before the extension.
2401         * org.el (org-read-date): Make sure the calendar is in the current
2402         frame.
2403         (org-set-emph-re): Remove the ? from the post-match.
2404         (org-emphasis-regexp-components): Add backslash to the
2405         postmatch class.
2406         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2407         optional so that also lines at the end of the buffers will still
2408         be matched as headlines.
2410         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2411         Variable made obsolete.
2412         (org-table-relative-ref-may-cross-hline): New option.
2413         (org-table-find-row-type): Honow the new option
2414         `org-table-relative-ref-may-cross-hline'.
2416 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2418         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2419         on single field if no active region.
2421 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2423         * org-latex.el (org-export-latex-make-header): Only insert title
2424         if one is defined.
2426         * org.el (org-make-options-regexp): Allow empty values.
2428         * org-html.el (org-export-as-html): Move hrule detection to after
2429         plain list handling.
2431 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2433         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2435 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2437         * org.el (org-cycle-internal-local): Improved version of finding
2438         next visible line.
2439         (org-cycle-hide-drawers): Only hide drawers if this is really
2440         necessary.
2441         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2442         org-version of this function in Org-mode.  We use advice to
2443         implement this change, so that future changes to this function in
2444         outline.el wil be handled properly.
2445         (org-forward-same-level, org-backward-same-level): New commands.
2447 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2449         * org.el (org-remove-empty-overlays-at)
2450         (org-clean-visibility-after-subtree-move): New functons.
2451         (org-move-subtree-down): Simplify cleanup of display.
2453 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2455         * org-mac-message.el (org-mac-message-get-links): Improve
2456         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2457         "s".  Fix the return value.
2458         (org-mac-message-insert-flagged): Simplify.
2460         * org.el (org-refile-get-location): Tamper with refile history o
2461         that history contains compete matches instead of the entered
2462         string.
2464 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2466         * org.el (org-store-link): Never store a link to an inline task.
2468         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2470         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2471         inline tasks when positioning footnotes.
2473         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2474         function.
2476         * org.el (org-refile): Remove the END line when archiving an
2477         inline task that does have an END line.
2479         * org-archive.el (org-archive-subtree): Remove the END line when
2480         archiving an inline task that does have an END line.
2482         * org-macs.el (org-with-limited-levels): New macro.
2483         (org-get-limited-outline-regexp): New function.
2485         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2486         that did not enumerate first line.
2487         (org-export-mark-radio-links): Skip matches in links.
2489 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2491         * org.el (org-activate-plain-links): Make single-match.
2492         (org-adapt-indentation): Fix docstring.
2494         * org-macs.el (org-unmodified): Turn of modification hooks while
2495         running this macro.
2497 2009-08-02  Bastien Guerry  <bzg@altern.org>
2499         * org.el (org-adapt-indentation): Slightly improve the docstring.
2500         (org-occur): Sends an error when the user inputs an empty string.
2501         (org-priority): Bugfix: the tag alignement should happen within
2502         save-excursion.
2504 2009-07-31  Bastien Guerry  <bzg@altern.org>
2506         * org.el (org-make-link-regexps): Don't exclude parentheses from
2507         `org-plain-link-re'
2508         (org-cycle-internal-local): When locally cycling, switch directly
2509         from CHILDREN to FOLDED if there is no subtree
2510         (org-cycle): Update the docstring to document the new behavior of
2511         `org-cycle-internal-local'.
2513 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2515         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2516         an abbreviated format for days.
2518 2009-07-27  Bastien Guerry  <bzg@altern.org>
2520         * org-protocol.el (org-protocol-default-template-key): New
2521         option.
2523         * org.el (org-refile): Bugfix: save-excursion before reading the
2524         refile target, otherwise cursor moves might confuse `org-refile'.
2526         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2527         footnote reference before the footnote itself.
2529         * org.el (org-toggle-heading): Bugfix: correctly convert list
2530         items before the first headline.
2532         * org-html.el (org-export-html-footnote-format): New option for
2533         formatting the footnote reference.
2534         (org-export-as-html): Use the new option.
2536         * org.el (org-provide-todo-statistics): Allow a list of TODO
2537         keywords to compute statistics against headlines containing a
2538         keyword from this list.
2539         (org-update-parent-todo-statistics): Possibly use the new allowed
2540         value of `org-provide-todo-statistics'.
2542 2009-07-26  Bastien Guerry  <bzg@altern.org>
2544         * org-timer.el: Add autoload cookie.
2546         * org.el (org-occur-link-in-agenda-files): New function.
2548         * org-timer.el (org-timer-last-timer): New variable.
2550         * org-agenda.el (org-agenda-mode-map): New key for
2551         org-timer-set-timer called from the agenda.
2553         * org.el (org-mode-map): New key for org-timer-set-timer.
2555         * org-timer.el (org-timer-reset-timers)
2556         (org-timer-show-remaining-time, org-timer-set-timer): New
2557         functions.
2559         * org-clock.el (org-show-notification): Update the docstring.
2561         * org.el (org-provide-todo-statistics): Allow new value
2562         'all-headlines for this option, which includes entries with no
2563         TODO keywords in the todo statistics.
2564         (org-update-parent-todo-statistics): Possibly use the new
2565         'all-headline value from `org-provide-todo-statistics'.
2567 2009-07-25  Bastien Guerry  <bzg@altern.org>
2569         * org-clock.el (org-dblock-write:clocktable): Add a new option
2570         :timestamp which allows display of timestamps in clock reports.
2572         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2573         list to a subtree, preserving the structure of the list.
2574         (org-set-emph-re): Make the last element optional in the regexp.
2575         This regexp now matches an emphasized string at the end of a line.
2577         * org-list.el (org-list-goto-true-beginning)
2578         (org-list-make-subtree, org-list-make-subtrees): New functions.
2580         * org.el (org-eval-in-calendar): Select the right frame.
2581         (org-save-frame-excursion): Remove this macro.
2583 2009-07-24  Bastien Guerry  <bzg@altern.org>
2585         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2586         trying to find the beginning of a list.
2588         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2589         When present, tell org-get-file-contents not to protect org-like
2590         lines.
2592         * org-id.el (org-id-uuid-program): New option to set the name of
2593         the uuidgen program.
2594         (org-id-method): Use `org-id-uuid-program'.
2595         (org-id-new): Use `org-id-uuid-program'.
2597 2009-07-23  Bastien Guerry  <bzg@altern.org>
2599         * org-exp.el (org-export-number-lines): Allow whitespace in code
2600         references.  Allow the -r switch to remove the references in the
2601         source code even when the lines are not numbered: the labels can
2602         be explicit enough.
2604         * org.el (org-fontify-whole-heading-line): New option.
2605         (org-set-font-lock-defaults): Use the new option.
2607         * org-clock.el (org-show-notification-handler): New option.
2608         (org-show-notification): Use the new option.
2610 2009-07-21  Bastien Guerry  <bzg@altern.org>
2612         * org.el (org-eval-in-calendar): Fix a bug about calendar
2613         navigation when `calendar-setup' value is 'calendar-only.
2615 2009-07-19  Bastien Guerry  <bzg@altern.org>
2617         * org.el (orgstruct++-mode): Fix typo in docstring.
2618         (org-insert-link): Clean up: (or (...)) => (...)
2619         (org-insert-link): Use TAB for stored links completion.
2621 2009-07-18  Bastien Guerry  <bzg@altern.org>
2623         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2624         building the list of targets.
2626         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2627         option.
2628         (org-remember-handler): Use the new option.
2630 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2632         * org.el (org-tags-sort-function): New option for sorting tags.
2633         (org-set-tags): Use the new option to sort tags.
2635         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2636         premature deletion of the data when using org-plot in a script.
2638 2009-07-17  Bastien Guerry  <bzg@altern.org>
2640         * org-clock.el (org-clock-in-prepare-hook): New hook.
2641         (org-clock-in): Use this new hook.
2643 2009-07-16  Bastien Guerry  <bzg@altern.org>
2645         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2646         'reversed for this option to the "true line boundary first"
2647         behavior.
2648         (org-tags-match-list-sublevels): Document the 'indented value for
2649         this variable.
2651         * org-latex.el (org-export-latex-first-lines): Fix problem with
2652         publishing the region.
2654         * org-exp.el (org-export-format-source-code-or-example): Fix
2655         bad line numbering when exporting examples in HTML.
2657         * org-colview.el (org-format-time-period): Formats a time in
2658         fractional days as days, hours, mins, seconds.
2659         (org-columns-display-here): Add special handling for SINCE and
2660         SINCE_IA to format for display.
2662 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2664         * org.el (org-tags-sort-function): Add custom declaration for tags
2665         sorting function.
2666         (org-set-tags): Sort tags if org-tags-sort-function is set
2668 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2670         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2672         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2674         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2675         option.
2677 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2679         * org-publish.el (org-publish-remove-all-timestamps): New function.
2680         (org-publish-all): Remove all timestamp files if `org-publish-all'
2681         is called with a prefix argument.
2683         * org-list.el (org-indent-item): Fix typo.
2684         (org-item-indent-positions): Normalize ordered bullet.
2686         * org-html.el (org-export-html-home/up-format): New option.
2687         (org-export-as-html): Insert the up and HOME links.
2689 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2691         * org-html.el (org-export-as-html): Insert the title into the
2692         option plist.
2693         (org-export-html-insert-plist-item): New function.
2694         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2696         * org-macs.el (org-set-local): Make a local variable, do not make
2697         the variable buffer-local!
2699         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2701         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2703         * org-docbook.el (org-export-as-docbook): Call
2704         `org-install-letbind'.
2706         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2708         * org-exp.el (org-infile-export-plist): Read BIND lines.
2709         (org-install-letbind): New function.
2710         (org-export-as-org, org-export-preprocess-string): Call
2711         `org-install-letbind'.
2713         * org-src.el (org-edit-src-exit): Untabify the example before
2714         returning to Org.
2716         * org-list.el (org-list-demote-modify-bullet): New option.
2717         (org-first-list-item-p): Save point.
2718         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2719         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2720         (org-item-indent-positions): Return bullet types along with
2721         indentation.
2723 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2725         * org.el (org-show-entry): Hide drawers.
2727 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2729         * org-footnote.el (org-footnote-auto-adjust): New option.
2730         (org-footnote-auto-adjust-maybe): New function.
2731         (org-footnote-new, org-footnote-delete): Call
2732         `org-footnote-auto-adjust-maybe'.
2734         * org.el (org-startup-options): Add new footnote-related
2735         keywords.
2737         * org-publish.el (org-publish-timestamp-filename): Additional
2738         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2739         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2740         TRUE-PUB-DIR.  Pass them through to
2741         `org-publish-timestamp-filename'.
2742         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2743         PUB-FUNC, which are included in the hash.
2744         (org-publish-file): Delay timestamp test until the publishing
2745         function is known.
2747 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2749         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2750         setting the deadline.
2752         * org.el (org-read-date-final-answer): New variable.
2753         (org-read-date): Store the final answer string, including the date
2754         from the calendar, for reuse by agenda bulk commands.
2756         * org-publish.el (org-publish-attachment): Fix publishing of
2757         attachments.
2759         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2760         quotation makrs in parenthesis.
2761         (org-remove-initial-hash): New function.
2762         (org-export-latex-preprocess): Fix bug with infinite loop if
2763         environment is not properly closed.
2765         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2766         when indented.
2768         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2769         highlight also when indented.
2771 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2773         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2774         (org-footnote-action): Offer renumbering.
2776         * org.el (org-cycle): Honor the `integrate' value of
2777         org-cycle-include-plain-lists'.
2779         * org-list.el (org-cycle-include-plain-lists): New allowed value
2780         `internal'.  Improve the docstring.
2782         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2783         regexp to work better with LaTeX commands.
2785 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2787         * org-feed.el (org-feed-update): fix problem with non-existing
2788         buffer.
2789         (org-feed-skip-http-headers): New function.
2790         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2791         (org-feed-get-feed): Fix command line arguments for curl.
2793 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2795         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2796         and eps extensions.
2798 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2800         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2801         loaded.
2803         * org.el (org-map-entries): No longer force
2804         `org-tags-match-list-sublevels' to t during a todo-only tags
2805         search.
2807 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2809         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2810         environment.
2811         (org-export-latex-subcontent): Handle user-defined environment.
2813         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2814         the View dispatcher.
2816         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2817         `make-overlay'.
2819         * org-latex.el (org-export-as-pdf): Protect match data during call
2820         to shell-quote-argument.
2822         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2823         (org-agenda-view-mode-dispatch): New function.
2825 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2827         * org-agenda.el (org-agenda-mode): Reset list of marks.
2828         (org-agenda-mode-map): Define new keys for refile and bulk action.
2829         (org-agenda-menu): Add menu itesm for refile and bulk action.
2830         (org-agenda-refile): New function.
2831         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2832         (org-agenda-marked-entries): New variable.
2833         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2834         (org-agenda-remove-all-bulk-action-marks)
2835         (org-agenda-bulk-action): New functions/commands.
2837 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2839         * org-exp.el (org-get-file-contents): Protect org-like lines in
2840         included files.
2841         (org-export-format-source-code-or-example): Remove newlines.
2843         * org-latex.el (org-export-latex-links): Check for no-description
2844         marking.
2846         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2847         argument separator back to comma.
2848         (org-export-normalize-links): Mark links without description.
2850 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2852         * org-exp.el (org-infile-export-plist): Fix bug in macro
2853         processing.
2855         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2856         out.
2857         (org-agenda-highlight-todo): Fix bug with highlighting.
2859 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2861         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2862         new alignment strings.
2864         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2865         command list.
2866         (org-table-align): Check for forced align type.
2868         * org.el (org-self-insert-command): Add yas/expand to command
2869         list.
2871         * org-clock.el (org-clock-in-hook): New hook.
2872         (org-clock-in): Run `org-clock-in-hook.
2873         (org-clock-out-hook): New hook.
2874         (org-clock-out): Run `org-clock-out-hook.
2875         (org-clock-cancel-hook): New hook.
2876         (org-clock-cancel): Run `org-clock-cancel-hook.
2877         (org-clock-goto-hook): New hook.
2878         (org-clock-goto): Run `org-clock-goto-hook.
2880 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2882         * org.el (org-store-link): Better default description for link to
2883         Org-mode headline.
2885         * org-exp.el (org-export-generic): Autoload the generic exporter
2886         function.
2887         (org-export): Implement the `g' key for the generic exporter.
2889 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2891         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2892         and for zbacktab'.
2894         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2896         * org-exp.el (org-infile-export-plist): Get macros also from
2897         #+SETUPFILE.
2899 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2901         * org-colview.el (org-columns-capture-view): Protect vertical bars
2902         in column values.
2903         (org-columns-capture-view): Exclude comment and archived trees.
2905         * org-colview-xemacs.el (org-columns-capture-view): Protect
2906         vertical bars in column values.
2907         (org-columns-capture-view): Exclude comment and archived trees.
2909         * org.el (org-quote-vert): New function.
2911         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2913         * org-exp.el (org-export-format-source-code-or-example): Use
2914         `org-export-latex-verbatim-wrap'.
2916         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2917         time stamps.
2919         * org-html.el (org-export-table-row-tags): New option.
2920         (org-format-org-table-html): Rename `nlines' to `nline', use new
2921         option.
2924 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2926         * org-exp-blocks.el: Declare functions and variables.
2928         * org-remember.el (org-remember-templates): Allow the headline
2929         element to be a function.
2930         (org-remember-apply-template): If the headline is a function, call
2931         it to get the true function.
2933         * org-clock.el (org-clock-menu): New function.
2934         (org-clock-update-mode-line): Update help string.
2935         (org-clock-modify-effort-estimate): New function.
2936         (org-clock-mark-default-task): New function.
2938         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2939         minutes as input.
2940         (org-org-menu): Add new clocking stuff.
2941         (org-clock-is-active): New function.
2943 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2945         * org.el (org-open-non-existing-files): Improve docstring.
2947 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2949         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2950         option.
2951         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2953         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2955         * org-list.el (org-get-checkbox-statistics-face): Use the new
2956         faces.
2958         * org-faces.el (org-checkbox-statistics-todo)
2959         (org-checkbox-statistics-done): New faces.
2961 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2963         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2964         (org-edit-src-exit): Better cursor positioning when returning from
2965         editing.
2967         * org-latex.el (org-export-latex-use-verb): New variable.
2968         (org-export-latex-emph-format): Prefer \texttt over \verb when
2969         org-export-latex-use-verb is set.
2971 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2973         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2974         at normal indentation.
2976         * org-html.el (org-export-html-close-lists-maybe): Also look at
2977         normal indentation.
2979         * org-remember.el (org-remember-handler): Abort remember if the
2980         buffer is empty.
2982         * org-src.el (org-edit-src-content-indentation): New option.
2983         (org-edit-src-exit): Apply extra indentation.
2985         * org-exp.el (org-export-format-source-code-or-example): Run
2986         `org-src-mode-hook'.
2988         * org-src.el (org-src-mode-hook): New variable.
2989         (org-edit-src-code): Run `org-src-mode-hook'.
2991 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2993         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2995         * org-src.el (org-edit-src-get-indentation): New function.
2996         (org-edit-src-code): Base indentation on the begin line.
2998 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3000         * org-gnus.el (org-gnus-store-link): Require message.el in
3001         org-gnus-store-link.
3003 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3005         * org-src.el: New file, split out of org.el
3007         * org-docbook.el (org-export-as-docbook): Better indentation
3008         treatment.
3010         * org-macs.el (org-replace-match-keep-properties): New function.
3012         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3013         preprocessing of center and quote and verse blocks.
3015         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3016         (org-export-as-docbook): Close lists when original indentation
3017         mandates it.
3019         * org-html.el (org-export-html-close-lists-maybe): New function.
3020         (org-export-as-html): Close lists when original indentation
3021         mandates it.
3023         * org-list.el (org-list-end): Respect the stored "original"
3024         indentation when determining the end of the list.
3026         * org-exp.el (org-export-replace-src-segments-and-examples):
3027         Remember indentation correctly.
3029 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3031         * org-clock.el (org-clock-update-mode-line): Apply face
3032         org-mode-line-clock.
3034         * org-faces.el (org-mode-line-clock): New face.
3036 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3038         * org-gnus.el (org-gnus-store-link): Fix bug where
3039         `org-gnus-store-link' used wrong subject when called in an article
3040         buffer.  Patch provided by fengli AT gmail DOT com.
3042 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3044         * org-exp.el (org-export-format-source-code-or-example): Remember
3045         the original indentation of source code snippets and examples.
3047         * org-latex.el (org-export-as-latex): Relocate the table of
3048         contents.
3050         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3052         * org-agenda.el (org-run-agenda-series): Scope global options also
3053         when creating the agenda buffer.
3055 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3057         * org.el (org-adapt-indentation): Improve documentation.
3058         (org-insert-property-drawer): Respect org-adapt-indentation when
3059         inserting the drawer.
3060         (org-remove-flyspell-overlays-in): New function.
3061         (org-do-emphasis-faces, org-activate-plain-links)
3062         (org-activate-code, org-fontify-meta-lines-and-blocks)
3063         (org-activate-angle-links, org-activate-footnote-links)
3064         (org-activate-bracket-links, org-activate-dates)
3065         (org-activate-target-links, org-activate-tags): Remove flyspell
3066         overlays.
3068 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3070         * org.el (org-edit-src-save): New function.
3072         * org-clock.el (org-clock-out-switch-to-state): New option.
3073         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3075         * org-compat.el (org-compatible-face): Improve macro.
3077         * org.el (org-global-properties-fixed): Add default for
3078         CLOCK_MODELINE_TOTAL.
3080         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3081         andd tend.
3082         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3083         org-clock-sum.
3084         (org-clock-get-sum-start): New function.
3086         * org.el (org-startup-options): New keywords blockhide and
3087         blockshow.
3088         (org-mode): Add new invisibility spec.
3089         (org-set-startup-visibility): Hide block on startup if so
3090         desired.
3091         (org-hide-block-startup): New option.
3092         (org-block-regexp): New constant.
3093         (org-hide-block-overlays): New variable.
3094         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3095         (org-show-block-all, org-hide-block-toggle-maybe)
3096         (org-hide-block-toggle): New functions.
3097         (org-edit-src-exit): Do not quote lines starting with # and no +
3098         behind it.
3099         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3100         entry.
3102 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3104         * org.el (org-buffer-property-keys): Add Effort property for
3105         completion.
3107 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3109         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3110         when retrieving total clocked time in the subtree.
3112         * org.el (org-quoting-blocks): New variable.
3114 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3116         * org-table.el (org-table-store-formulas)
3117         (org-table-get-stored-formulas, org-table-fix-formulas)
3118         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3119         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3121         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3122         indented #+TBLFM line.
3124         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3125         indented #+TBLFM line.
3127         * org-colview.el (org-dblock-write:columnview): Allow indented
3128         #+TBLFM line.
3130         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3131         indented #+TBLFM line.
3133         * org-clock.el (org-dblock-write:clocktable): Allow indented
3134         #+TBLFM line.
3136 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3138         * org-exp.el (org-export-format-source-code-or-example): Make
3139         editing indented blocks work correctly.
3141         * org.el (org-edit-src-nindent): New variable.
3142         (org-edit-src-code, org-edit-fixed-width-region)
3143         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3144         editing indented blocks work correctly.
3146 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3148         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3149         indented blocks.
3150         (org-export-format-source-code-or-example): Fix indentation of
3151         blocks.
3152         (org-export-remove-indentation): New function.
3153         (org-export-select-backend-specific-text): Allow backend-specific
3154         code to be indented.
3155         (org-export-mark-blockquote-verse-center): Allow markers to be
3156         indented.
3158         * org.el (org-fontify-meta-lines): New function.
3159         (org-set-font-lock-defaults): Call the new fontification
3160         function.
3162         * org-faces.el (org-meta-line): New face
3163         (org-block):  New face.
3165 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3167         * org.el (org-treat-insert-todo-heading-as-state-change)
3168         (org-treat-S-cursor-todo-selection-as-state-change): New
3169         variables.
3170         (org-insert-todo-heading): Honor
3171         `org-treat-insert-todo-heading-as-state-change'.
3172         (org-shiftright, org-shiftleft): Honor
3173         `org-treat-S-cursor-todo-selection-as-state-change'.
3174         (org-inhibit-logging): New variable.
3176 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3178         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3179         range for marker position checking.
3181         * org-latex.el (org-export-latex-first-lines): Fix bug when
3182         exporting a region.
3184 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3186         * org-exp.el (org-export-push-to-kill-ring): Protect using
3187         x-set-selection, because that does not always work.
3189         * org-agenda.el (org-agenda-list): Apply the new face
3190         `org-agenda-date-today'.
3192         * org-faces.el (org-agenda-date-today): New face.
3194 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3196         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3197         creating appointments.
3199         * org-latex.el (org-export-latex-low-levels): Fix customization
3200         type.
3202         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3203         priority commands.
3205         * org-agenda.el (org-agenda-priority): Disable priority commands.
3207         * org.el (org-enable-priority-commands): New option.
3209         * org-colview-xemacs.el (org-columns-compute)
3210         (org-columns-number-to-string): Fix problems with empty fields.
3212         * org-colview.el (org-columns-compute)
3213         (org-columns-number-to-string): Fix problems with empty fields.
3215         * org-exp.el (org-export-push-to-kill-ring): New function.
3216         (org-export-copy-to-kill-ring): New option.
3218         * org-latex.el (org-export-as-latex): Call
3219         `org-export-push-to-kill-ring'.
3221         * org-html.el (org-export-as-html): Call
3222         `org-export-push-to-kill-ring'.
3224         * org-docbook.el (org-export-as-docbook): Call
3225         `org-export-push-to-kill-ring'.
3227         * org-ascii.el (org-export-as-ascii): Call
3228         `org-export-push-to-kill-ring'.
3230         * org-exp.el (org-export-show-temporary-export-buffer): New
3231         option.
3233         * org-latex.el (org-export-as-latex): Use
3234         `org-export-show-temporary-export-buffer'.
3236         * org-html.el (org-export-as-html): Use
3237         `org-export-show-temporary-export-buffer'.
3239         * org-docbook.el (org-export-as-docbook): Use
3240         `org-export-show-temporary-export-buffer'.
3242         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3243         `org-export-show-temporary-export-buffer'.
3245         * org-exp.el (org-export-show-temporary-export-buffer): New
3246         option.
3247         (org-export-push-to-kill-ring): New function.
3249         * org-colview.el (org-columns-compile-map): New variable.
3250         (org-columns-new, org-columns-compute)
3251         (org-columns-number-to-string, org-columns-uncompile-format)
3252         (org-columns-compile-format): Implement new operators.
3254 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3256         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3258         * org-html.el (org-export-html-xml-declaration): New option.
3259         (org-export-as-html): Use `org-export-html-xml-declaration'.
3261         * org-list.el (org-update-checkbox-count): Make property
3262         dependent.
3264         * org.el (org-hierarchical-todo-statistics): New option.
3265         (org-update-parent-todo-statistics): Modified to handle recursive
3266         statistics.
3268 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3270         * org-publish.el (org-publish): Make this function behave
3271         correctly in interactive use when called with a prefix argument.
3273         * org.el (org-todo-statistics-hook): New hook.
3274         (org-update-parent-todo-statistics): Use new hook.
3275         (org-log-into-drawer): New function.
3276         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3277         determine if we should be logging into a drawer.
3278         (org-log-into-drawer): Update docstring.
3279         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3281         * org-list.el (org-checkbox-statistics-hook): New hook.
3282         (org-update-checkbox-count-maybe): Use new hook.
3284         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3285         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3286         to kill ring.
3288 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3290         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3291         a line.
3293 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3295         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3296         better bufer-generating mechanism.
3297         (org-edit-src-find-buffer): New function.
3299         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3300         archive tag, this is already done by `org-agenda-skip'.
3301         data while constructing lost of tags.
3303 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3305         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3306         as argument separator in macros.
3308         * org-html.el (org-export-as-html): Add xml declaration.
3310 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3312         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3313         (org-sort-entries-or-items): Run the new hook.
3314         (org-after-refile-insert-hook): New hook.
3315         (org-refile): Run `org-after-refile-insert-hook'.
3317         * org-agenda.el (org-agenda-get-progress): Never take time of day
3318         from headline when displaying progress.
3320         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3321         (org-export-as-latex): Force the correct regexp in the
3322         preprocessor buffer.
3323         (org-export-latex-set-initial-vars): Set
3324         `org-export-latex-complex-heading-re'.
3326         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3327         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3329 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3331         * org-latex.el (org-export-latex-tables-centered): New option.
3332         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3334         * org-exp.el (org-export-as-org): New command.
3335         (org-export-as-org): New command.
3337         * org-publish.el (org-publish-org-to-org): New function.
3339 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3341         * org.el (org-yank): Just call `org-yank-generic'.
3342         (org-yank-generic): New function, containing the formaer
3343         functionality of `org-yank'.
3345         * org-latex.el (org-export-latex-not-done-keywords)
3346         (org-export-latex-done-keywords): New variables.
3347         (org-export-latex-todo-keyword-markup): New option.
3348         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3349         (org-export-latex-keywords-maybe): Apply the TODO markup.
3351 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3353         * org-exp.el (org-infile-export-plist): Add more default macros.
3354         (org-export-preprocess-apply-macros): Process macro arguments.
3356 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3358         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3359         `unblocked'.
3360         (org-print-icalendar-entries): Respect the new value of
3361         `org-icalendar-include-todo'.
3363         * org.el (org-link-try-special-completion)
3364         (org-file-complete-link): New functions.
3365         (org-insert-link): Add special completion support for some link
3366         types.
3368         * org-bbdb.el (org-bbdb-complete-link): New function.
3370 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3372         * org-list.el (org-update-checkbox-count): Allow recursive
3373         statistics.
3374         (org-hierarchical-checkbox-statistics): New option.
3376         * org.el (org-cycle): Remove erraneous space character.
3378         * org-icalendar.el (org-icalendar-timezone): Initialize from
3379         environment.
3381         * org-html.el (org-format-org-table-html): Specify the scope.
3382         (org-format-table-table-html): Specify the scope.
3383         (org-export-table-header-tags): Prepare the scope parameter.
3385 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3387         * org-html.el
3388         (org-export-html-table-use-header-tags-for-first-column): New
3389         option.
3391         * org.el (org-autoload): Fix autoloading of ascii export
3392         functions.
3393         (org-modules): Add org-special-blocks.
3395 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3397         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3398         (org-ical-timezone): New option.
3400         * org-exp.el (org-export-get-coderef-format): Use the description
3401         is present.
3403         * org.el (org-sort-entries-or-items): Improve docstring, and make
3404         better implementation for time sorting.
3406 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3408         * org.el (org-edit-src-persistent-message): New option.
3409         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3410         option.
3412         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3413         patch.
3415         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3416         separate buffer instead of indirect buffer to edit source code.
3417         (org-edit-src-exit): Make this function work with the new setup.
3419         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3420         are properly fontified before shown in the selection menu.
3422         * org.el (org-fontify-like-in-org-mode): New function.
3424         * org-latex.el (org-export-latex-links): Use the property list to
3425         retrieve the default image attributes.
3427         * org-exp.el (org-export-plist-vars): Add a new option.
3429 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3431         * org-exp.el (org-export, org-export-visible): Support ASCII
3432         export to buffer
3433         (org-export-normalize-links): Do not protect the description if it
3434         is explicitly given.
3436         * org-ascii.el (org-export-as-ascii-to-buffer)
3437         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3438         commands.
3439         (org-export-as-ascii): Add all the same parameters that are also
3440         supported by the other export functions.
3442         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3443         org-checklist.el.
3444         (org-reset-checkbox-state-subtree): Call
3445         `org-reset-checkbox-state-subtree'.
3447         * org-remember.el (org-select-remember-template): For the
3448         selection of a valid template.
3450         * org-latex.el (org-export-region-as-latex): Supply the
3451         force-no-subtree argument.
3452         (org-export-as-latex): Provide better limits when exporting the
3453         first line.  When exporting to string, we still want the first
3454         lines.
3455         (org-export-latex-first-lines): New argument END, to force the end
3456         of the region.
3457         (org-export-region-as-latex): Use the property list.
3458         (org-export-as-latex):
3460         * org-colview-xemacs.el (org-columns-remove-overlays)
3461         (org-columns): Fix call to `local-variable-p'.
3463 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3465         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3466         (org-export-as-html): Run the new hook.
3468         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3469         (org-export-latex-preprocess): Run the new hook.
3471         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3472         (org-export-preprocess-string): Run the new hook.
3474 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3476         * org-macs.el (org-check-external-command): New defsubst.
3478         * org.el (org-mode-map): New key for reload.
3479         (org-format-latex): Better error message when external programs
3480         are not available.
3482         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3484         * org.el (org-sort-entries-or-items): Explicit sorting function
3485         for priorities, needed for XEmacs compatibility.
3487         * org-remember.el (org-remember-apply-template): Improve auto-save
3488         behavior.
3490 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3492         * org-latex.el (org-export-latex-preprocess): Also protect
3493         environments ending in a star.
3495         * org-list.el (org-at-item-p): Fix regular expression.
3497 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3499         * org.el (org-end-of-subtree): Improve speed.
3501         * org-agenda.el (org-agenda-get-timestamps)
3502         (org-agenda-get-progress, org-agenda-get-deadlines)
3503         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3504         in particular, wait as long as possible to collect the tags.
3505         (org-stuck-projects): Improve docstring.
3507         * org.el (org-store-link): No errors when getting custom id before
3508         first headline.
3509         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3511 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3513         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3515         * org-protocol.el: Remove dependency on url.el.
3516         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3517         dependency on url.el.
3519         * org-latex.el (org-export-as-pdf): Use
3520         `org-latex-to-pdf-process'.
3522 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3524         * org-latex.el (org-latex-to-pdf-process): New option.
3526         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3527         New option.
3528         (org-agenda-get-timestamps): Honor
3529         `org-agenda-skip-additional-timestamps-same-entry'.
3531         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3532         (org-clock-goto): Find recent task only if
3533         `org-clock-goto-may-find-recent-task' allows it.
3535         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3536         drawers, and drawers that are missing the :END: line.
3538 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3540         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3541         clock is running.
3543 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3545         * org.el (org-update-parent-todo-statistics): Check for
3546         STATISTICS_FROM property.
3548         * org-list.el (org-update-checkbox-count): Check for
3549         STATISTICS_FROM property.
3551         * org.el (org-tab-first-hook)
3552         (org-tab-after-check-for-table-hook)
3553         (org-tab-after-check-for-cycling-hook): New hooks.
3554         (org-cycle-internal-global, org-cycle-internal-local): New
3555         functions, split out from `org-cycle'.
3556         (org-cycle): Call the new hooks.
3558 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3560         * org-exp.el (org-export-preprocess-string): Reset the list of
3561         preferred targets for each run of the preprocessor.
3563         * org.el (org-refile-target-verify-function): Improve
3564         documentation.
3565         (org-get-refile-targets): Respect point being moved by the
3566         verification function.
3568         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3569         option.
3570         (org-export-latex-keywords): Use new option.
3572         * org.el (org-rear-nonsticky-at): New defsubst.
3573         (org-activate-plain-links, org-activate-angle-links)
3574         (org-activate-footnote-links, org-activate-bracket-links)
3575         (org-activate-dates, org-activate-target-links)
3576         (org-activate-tags): Place the rear-nonsticky properties at the
3577         correct location.
3579 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3581         * org-protocol.el (server-edit): Declare `server-edit'.
3582         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3583         functions.
3584         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3586         * org.el (org-default-properties): New default properteis for
3587         completion.
3589         * org-exp.el (org-export-add-subtree-options): Add new properties
3590         for subtree export.
3592         * org-docbook.el (org-export-docbook-keywords-markup)
3593         (org-export-docbook-timestamp-markup): New options.
3594         (org-export-docbook-protect-tags): New function.
3596 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3598         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3599         org-refile-target-verify-function for the duration of the command.
3601         * org.el (org-link-to-org-use-id): New possible value
3602         `create-if-interactive-and-no-custom-id'.
3603         (org-store-link): Use custom IDs.
3604         (org-link-search): Find custom ID properties from #link.
3605         (org-default-properties): Add CUSTOM_ID for property completion.
3606         (org-refile-target-verify-function): New option.
3607         (org-goto): Turn off org-refile-target-verify-function
3608         for the duration of the command.
3610 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3612         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3614         * org-exp.el (org-export-preferred-target-alist): New variable.
3615         (org-export-define-heading-targets): Find the new CUSTOM_ID
3616         property.
3617         (org-export-target-internal-links): Target the custom ids when
3618         possible.
3620         * org-latex.el (org-export-latex-preprocess): Better regexp for
3621         matching latex macros with arguments.
3623 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3625         * org-remember.el (org-remember-handler): Allow filing to non-org
3626         files.
3628 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3630         * org-feed.el (org-feed-alist): New keyword options.
3631         (org-feed-update): Use the new options.
3632         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3633         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3634         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3635         functions.
3637         * org-table.el (org-table-fix-formulas): Do not change references
3638         to remote tables.
3639         (org-table-get-remote-range): Convert standard coordinates to RC
3640         format.
3642         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3644 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3646         * org-compat.el (org-sha1-string): Function removed.
3648         * org.el (org-refile-allow-creating-parent-nodes): New option.
3649         (org-refile-get-location): New argument NEW-NODES.
3650         (org-refile): Call `org-refile-get-location' with the new
3651         argument.
3652         (org-refile-get-location): Arrange for adding a new child.
3653         (org-refile-new-child): New function.
3655         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3656         an additional span element.
3658         * org-clock.el: Fix a number of docstrings.
3659         (org-clock-find-position): New argument
3660         FIND-UNCLOSED to make the function find an unclosed clock in the
3661         entry.
3662         (org-clock-in): Call `org-clock-find-position' with the new
3663         argument if we might be resuming a clock.
3665 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3667         * org-latex.el (org-export-latex-display-custom-times): New variable.
3668         (org-export-latex-timestamp-markup): New option.
3669         (org-export-latex-set-initial-vars): Remember the local value of
3670         `org-display-custom-times'.
3671         (org-export-latex-content): Process time stamps.
3672         (org-export-latex-time-stamps): New function.
3674         * org-macs.el (org-maybe-intangible): Add intangible property
3675         again to invisible text.
3677 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3679         * org-exp.el (org-default-export-plist): Handle undefined
3680         variables.
3682 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3684         * org.el (org-sort-entries-or-items): Match TODO keywrds
3685         case-sensitively, when sorting.
3686         (org-priority): Do not match TODO keywords with wrong case.
3688 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3690         * org-feed.el (org-feed-update): Bind the variable
3691         `new-formatted'.
3693         * org-html.el (org-export-as-html): Start paragraphs after literal
3694         examples.
3696         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3697         literal examples.
3699 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3701         * org.el (org-todo): Honor the NOBLOCKING property.
3703         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3704         NOBLOCKING property.
3706         * org.el (org-scan-tags): Fix bug in tag scanner
3708 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3710         * org.el (org-modules): Mark obsolete packages.
3712         * org-html.el: New file, split out from org-exp.el.
3714         * org-icalendar.el: New file, split out from org-exp.el.
3716         * org-xoxo.el: New file, split out from org-exp.el.
3718         * org-ascii.el: New file, split out from org-exp.el.
3720 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3722         * org-compat.el (org-find-library-name): New function.
3724         * org.el (org-pre-cycle-hook): New hook.
3725         (org-cycle): Call the new hook in appropriate places.
3726         (org-reload): Only reload files that have been loaded before.
3728 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3730         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3731         after todo keyword.
3732         (org-todo): When changing TODO state, do matching
3733         case-sensitively.
3734         (org-map-continue-from): New variable.
3735         (org-scan-tags): Respect values in `org-map-continue-from'.
3736         (org-reload): Make XEmacs compatible.
3738 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3740         * org-protocol.el (org-protocol-flatten-greedy): New function.
3741         (org-protocol-flatten): New function.
3743         * org.el (org-open-link-from-string): Pass reference buffer to
3744         `org-open-at-point'.
3745         (org-open-at-point): New optional argument `reference-buffer'.
3747 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3749         * org.el (org-scan-tags): Make tag scan find headline in first
3750         line, 2nd attempt.
3751         (org-get-refile-targets): Add the naked file name.
3752         (org-refile): Store as top-level entry when only file name was
3753         given.
3755         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3757         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3758         Renamed from org-block-todo-from-children-or-siblings, and
3759         enhanced to look for the parent's status as well.
3761         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3762         (org-agenda-get-progress): Add first notes line to log entry if so
3763         desired.
3765 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3767         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3768         (org-agenda-cleanup-fancy-diary): Call the new hook.
3770         * org-remember.el (org-remember-apply-template): Take the default
3771         for the annotation from the :annotation property.
3773         * org-mac-message.el (org-mac-message-get-link): Remove the
3774         quotes.
3775         (org-mac-message-get-link): Return the result.
3777 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3779         * org.el (org-refile-get-location): Add file name only if not
3780         already included in outline path.
3782         * org-faces.el (org-n-level-faces): Fix customization type from
3783         number to integer.
3785         * org-exp.el (org-export-headline-levels): Fix customization type
3786         from number to integer.
3788         * org-agenda.el (org-agenda-confirm-kill)
3789         (org-agenda-custom-commands-local-options)
3790         (org-timeline-show-empty-dates, org-agenda-ndays)
3791         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3792         customization type from number to integer.
3794 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3796         * org-protocol.el: Declare some functions.
3798         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3799         postion before inserting modified headline.
3801         * org-agenda.el (org-agenda-compare-effort): Honor
3802         `org-sort-agenda-noeffort-is-high'.
3803         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3804         (org-agenda-compare-effort): Implement the "?" operator for
3805         finding entries without effort setting.
3807         * org.el (org-extract-attributes-from-string): New function.
3809         * org-exp.el (org-export-splice-attributes): New function.
3811 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3813         * org-mouse.el: XEmacs compatibility fixes
3815         * org-docbook.el (org-export-as-docbook): Process footnotes like
3816         normal text.
3818         * org.el (org-modules): Add org-inlinetasks.el
3819         (org-cycle): Implement limiting level on cycling.
3820         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3821         buffer.
3823         * org-inlinetask.el: New file.
3825         * org.el (org-emphasis-regexp-components): Allow braces in
3826         emphasis pre and post match.
3828         * org-footnote.el (org-footnote-normalize): When only dorting, do
3829         not insert inline notes at the end.
3831         * org-docbook.el (org-id-find-id-file): Add function declaration.
3833         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3835         * org-docbook.el: New file.
3837 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3839         * org.el (org-reftex-citation): New command.
3841 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3843         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3844         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3845         sorting options.
3846         (org-entries-lessp): Apply the new sorting option.
3848         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3849         blocker code, when an older sibling has children.
3851         * org-mac-message.el (org-mac-message-get-link): Improve getting
3852         links from multiple selected messages.
3854 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3856         * org-remember.el (org-remember-finalize): Do not set buffer file
3857         name to nil.
3858         (org-remember-handler): Mark buffer as unmodified.
3859         (org-remember-handler): Delete backup file and show message about
3860         remaining backup files.
3861         (org-remember-auto-remove-backup-files): New option.
3863         * org.el (org-store-link): Use buffer name as link description in
3864         w3-mode buffers.
3865         (org-ido-switchb): Fix argument bug for completion.
3867         * org-remember.el (org-remember-apply-template): Set local
3868         variable `auto-save-visited-file-name' instead of global one.
3870 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3872         * org-feed.el: Re-write.
3874         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3875         (org-agenda-get-todos): Mark file tags as inherited.
3876         (org-agenda-list): Always search diary lines for a time.
3878 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3880         * org-feed.el (org-feed-assume-stable): New option.
3881         (org-feed-before-adding-hook): New hook.
3883         * org-exp.el (org-export-as-html): Close local lists depending on
3884         indentation, also when starting a table.
3886         * org-remember.el (org-remember-backup-directory)
3887         (org-remember-backup-name): New internal variable.
3889 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3891         * org-clock.el (org-clock-out-if-current): Make buffer detection
3892         work in indirect buffers as well.
3894         * org.el (org-emphasis-regexp-components): Add the exxclamation
3895         mark to the post-emphasis characters.
3897 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3899         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3900         (org-read-date): Run the new hook.
3902         * org-mac-message.el (org-mac-flagged-mail): New group.
3903         (org-mac-mail-account): New variable.
3904         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3905         commands.
3907         * org-remember.el (org-remember-backup-directory): New variable.
3908         (org-remember-apply-template): Write file to backup directory.
3910 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3912         * org-mouse.el (org-mouse-todo-menu): New function.
3913         (org-mouse-todo-keywords): Function removed.
3914         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3916         * org-table.el (org-table-beginning-of-field)
3917         (org-table-end-of-field): New commands
3918         (org-table-previous-field, org-table-beginning-of-field): Better
3919         error messages.
3920         (orgtbl-setup): Include `M-a' and `M-e'.
3922         * org.el (org-backward-sentence, org-forward-sentence): New
3923         commands.
3925         * org-colview.el (org-colview-initial-truncate-line-value): New
3926         variable.
3927         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3928         (org-columns): Remember the value of `truncate-lines'.
3930         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3931         New variable.
3932         (org-columns-remove-overlays): Restore the value of
3933         `truncate-lines'.
3934         (org-columns): Remember the value of `truncate-lines'.
3936         * org.el (org-columns-skip-arrchived-trees): New option.
3938         * org-agenda.el (org-agenda-export-html-style): Define color for
3939         org-agenda-done face.
3940         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3941         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3943         * org.el (org-scan-tags): Use the new face.
3945         * org-faces.el (org-agenda-done): New face.
3947         * org.el (org-scan-tags): Test the value org
3948         `org-tags-match-list-sublevels'.
3949         (org-tags-match-list-sublevels): New allowed value: indented.
3951         * org-export-latex.el (org-export-latex-make-header): Apply macros
3952         in header.
3954         * org-exp.el (org-export-apply-macros-in-string): New function.
3956         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3957         with the definition of a checked box.
3959         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3961         * org-export-latex.el (org-export-latex-low-levels): More options
3962         for how to process lower levels in LaTeX.
3963         (org-export-latex-subcontent): Better treatment for lists as a
3964         means of publishing lower levels.
3966 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3968         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3970         * org-faces.el (org-checkbox): New face.
3972         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3973         fragement images if there is an export file.
3975 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3977         * org-agenda.el (org-stuck-projects): Document that the subtree of
3978         projects that are not stuck will now be searched for stuck
3979         sub-projects.
3980         (org-agenda-skip-entry-when-regexp-matches)
3981         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3982         (org-agenda-list-stuck-projects): Use
3983         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3985         * org-export-latex.el (org-export-latex-preprocess): Improve
3986         export of verses.
3988         * org-exp.el (org-export-as-html): Implement centering as a div
3989         rather than a paragraph.  Do a better job with line-end in verse
3990         environments.
3992 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3994         * org.el (org-open-at-point): Fix tags searches by mouse click.
3996 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3998         * org-export-latex.el (org-export-latex-preprocess): Implement the
3999         centering markup.
4001         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4002         from `org-export-mark-blockquote-and-verse'.
4003         (org-export-as-html): Implement the centering markup.
4005         * org-export-latex.el (org-export-latex-tables): Fix vertical
4006         lines in tables.
4008 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4010         * org.el (org-read-date-history): New variable.
4011         (org-read-date): Use new history variable.
4012         (org-toggle-heading): Fix bug when used before first headline.
4013         (org-store-log-note): Remove drawer if empty while note is
4014         aborted.
4015         (org-remove-empty-drawer-at): New function.
4016         (org-check-after-date): New command.
4017         (org-sparse-tree): New sparse tree command "a".
4019         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4021 2009-03-14  Bastien Guerry  <bzg@altern.org>
4023         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4024         column and a space, not only a column.
4026 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4028         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4029         defaults for verbose emphasis.
4030         (org-export-latex-emph-format): New function.
4031         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4033         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4034         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4035         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4036         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4037         commands.
4039         * org.el (org-timestamp-change): Move end-time along with start
4040         time.
4042 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4044         * org-exp.el (org-export-target-internal-links)
4045         (org-export-as-html): Protect links specified as #name.
4047 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4049         * org.el (org-clone-subtree-with-time-shift): New command.
4051         * org-export-latex.el (org-export-latex-special-chars)
4052         (org-export-latex-treat-sub-super-char): Fix subscript export.
4054         * org-exp.el (org-create-multibrace-regexp): Do not add
4055         backslashes to the class.
4057 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4059         * org-colview.el (org-columns-map): Better functions for moving up
4060         and down a row, even if `truncate-line' is nil.
4062         * org.el (org-insert-todo-heading): Make sure the keyword is
4063         inserted at the correct position.
4065         * org-publish.el (org-publish-project-alist)
4066         (org-publish-projects, org-publish-org-index): Change default anme
4067         for the index of file names to "sitemap.org".
4069         * org-export-latex.el (org-export-latex-tables): Use
4070         `org-split-string', for Emacs 21 compatibility.
4072 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4074         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4076 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4078         * org-exp.el (org-export-page-description)
4079         (org-export-page-keywords): New variables.
4080         (org-export-plist-vars): Add entries for :keywords and
4081         :description.
4082         (org-infile-export-plist): Parse for new keywords.
4083         (org-get-current-options): Add new keywords
4084         (org-export-as-html): Publish description and keywords.
4086         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4087         option.
4088         (org-agenda-add-entry-text): Honor
4089         `org-agenda-add-entry-text-descriptive-links'.
4091         * org-export-latex.el (org-export-latex-preprocess): Make all
4092         external preprocess functions use a PARAMETER arg.
4094         * org-exp.el (org-export-preprocess-string)
4095         (org-export-select-backend-specific-text)
4096         (org-export-format-source-code-or-example)
4097         (org-format-org-table-html): Support docbook export.
4098         (org-export-preprocess-string): Make all external preprocess
4099         functions use a PARAMETER arg.
4101 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4103         * org-exp.el (org-export-html-style-include-scripts): New option.
4104         (org-export-plist-vars): Add new option
4105         `org-export-html-style-include-scripts'.
4106         (org-export-as-html): Honor new option
4107         `org-export-html-style-include-scripts'.
4108         (org-export-html-scripts, org-export-html-style-default): Fix
4109         xml issues with the Safari browser.
4111 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4113         * org-publish.el (org-publish-attachment): Only copy file when the
4114         directories differ.
4116 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4118         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4119         for clocktable steps.
4121         * org.el (org-additional-option-like-keywords): Add two more
4122         keywords.
4124 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4126         * org-exp.el (org-export-format-source-code-or-example): Mark
4127         temporary buffer unmodified, so that it will be killed even if
4128         mode like message mode has decided to assign a file name.
4130         * org.el (org-scan-tags): Improve tag inheritance.
4131         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4132         case-sensitive.
4133         (org-scan-tags): Use the internal tags list instead of creating it
4134         from scratch.
4135         (org-trust-scanner-tags, org-scanner-tags): New variables.
4136         (org-scan-tags): Set `org-scanner-tags'.
4137         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4138         (org-map-entries): Document the possible speedup using scanner
4139         tags.
4141 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4143         * org.el (org-add-planning-info): Fix bug with looking for keyword
4144         only at column 0.
4146         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4147         option for tags filter preset.
4148         (org-prepare-agenda): Store filter preset as a property on the
4149         filter variable.
4150         (org-finalize-agenda): Call the filter, if there is a preset.
4151         (org-agenda-filter-by-tag): Filter again after clearing the
4152         filter, when there still is a preset.
4153         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4154         Include the preset filter.
4155         (org-agenda-redo): Apply the filter again, also the preset filter.
4157         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4159         * org.el (org-uuidgen-p): New funtion.
4161         * org-agenda.el (org-agenda-fontify-priorities): New default value
4162         `cookies'.
4163         (org-agenda-fontify-priorities): Renamed from
4164         org-fontify-priorities.
4166         * org.el (org-set-font-lock-defaults): Call
4167         `org-font-lock-add-priority-faces'.
4168         (org-font-lock-add-priority-faces): New function.
4170         * org-faces.el: (org-set-tag-faces): New option.
4171         (org-priority-faces): New variable.
4173         * org-exp.el (org-export-as-html): Add a "content" div around the
4174         entire content of the body tag.
4175         (org-export-html-get-bibliography): New function.
4176         (org-export-html-validation-link): New variable.
4177         (org-export-as-html): Add validation link to exported page.
4179         * org.el (org-match-sparse-tree): Renamed from
4180         `org-tags-sparse-tree'.
4181         (org-tags-sparse-tree): New alias.
4183 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4185         * org.el (org-get-valid-level): Catch the case where the level
4186         change is nil.
4188         * org-clock.el (org-clock-find-position): Better indentation of
4189         new clock drawers.
4191 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4193         * org-agenda.el (org-agenda-quit): Delete window only when the
4194         frame-setup was not `current-window'.
4196         * org.el (org-tag-persistent-alist): New option.
4197         (org-startup-options): Add keyword `noptag'.
4198         (org-fast-todo-selection): Handle :newline correctly.
4199         (org-set-tags): Handle :newline correctly.
4200         (org-fast-tag-selection): Handle :newline correctly.
4202 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4204         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4205         outputting it.
4206         (org-export-ascii-push-links): Fix bug with pussing links into the
4207         export buffer.
4209 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4211         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4212         pasting at top level.
4214         * org-bbdb.el: Improve documentation.
4216 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4218         * org-list.el (org-insert-item): Only consider insert empty lines
4219         is `org-empty-line-terminates-plain-lists' is not nil.
4221         * org.el (org-blank-before-new-entry): Mention the dependence on
4222         `org-empty-line-terminates-plain-lists' in the docstring.
4224         * org-publish.el (org-publish-get-project-from-filename): New
4225         optional argument UP.  Only find the top project if UP is set.
4226         (org-publish-current-project): Find the top encloding project.
4228         * org-agenda.el (org-agenda-before-write-hook)
4229         (org-agenda-add-entry-text-maxlines): New options.
4230         (org-write-agenda): Run the new hook in the temporary buffer.
4231         (org-agenda-add-entry-text): New function.
4232         (org-write-agenda): Implement PDF export, using ps2pdf.
4234         * org.el (org-global-properties-fixed, org-global-properties):
4235         Improve documentation string.
4237         * org-exp.el (org-export-ascii-links-to-notes): New option.
4238         (org-export-as-ascii): Handle links better.
4239         (org-export-ascii-wrap, org-export-ascii-push-links): New
4240         functions.
4242 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4244         * org-agenda.el (org-agenda): Make prefix arg optional.
4245         (org-agenda-search-headline-for-time): New option.
4246         (org-format-agenda-item): Honor
4247         `org-agenda-search-headline-for-time'.
4249         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4250         characters.
4252         * org.el (org-self-insert-cluster-for-undo): New option.
4253         (org-self-insert-command): Cluster undo for 20 characters.
4254         (org-self-insert-command-undo-counter): New variable.
4256 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4258         * org-exp.el (org-export-as-html): Fix problem with closing colone
4259         example.
4261 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4263         * org-export-latex.el (org-export-as-latex)
4264         (org-export-latex-first-lines): Avoid modification flag when
4265         adding or removing text properties.
4266         (org-export-latex-fontify): Catch error when org-emph-alist has
4267         entries that are not defined for LaTeX export.
4269         * org.el (orgstruct++-mode): New function.
4270         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4271         (org-context-p): Allow detecting item context after the first line
4272         of an item.
4273         (orgstruct-make-binding): Detect if item-body context should be
4274         seen.
4275         (orgstruct-is-++): New variable.
4276         (org-add-planning-info): Catch the case when there is no planning
4277         info yet and the call does not want to add anything, only maybe
4278         tries to remove something.
4279         (org-special-ctrl-a/e): All value to be a cons cell with separate
4280         settings for `C-a. and `C-e'.
4281         (org-beginning-of-line, org-end-of-line): Honor separate values
4282         for `C-a' and `C-e'.
4284 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4286         * org.el (org-reload): New command.
4288 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4290         * org-exp.el (org-export-htm-get-tag-class-name)
4291         (org-export-htm-get-todo-kwd-class-name): New functions.
4292         (org-export-html-tag-class-prefix)
4293         (org-export-html-todo-kwd-class-prefix): New options.
4294         (org-export-as-html): Call
4295         `org-export-html-get-todo-kwd-class-name'.
4296         (org-html-level-start): Wrap tags into classes.
4297         (org-export-html-get-tag-class-name)
4298         (org-export-html-get-todo-kwd-class-name): New functions.
4300         * org-export-latex.el (org-export-latex-collect-header-macros):
4301         Remove fields that are used anyway.
4302         (org-export-latex-make-header): Insert the options earlier.
4304         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4305         matching.
4307         * org-list.el (org-indent-item): Allow point to be at the end of
4308         the region.
4310         * org.el (org-metaleft, org-metaright): Be more accurate about
4311         detecting a region where commands apply.
4313         * org-compat.el (org-cursor-to-region-beginning): New function.
4315         * org.el (org-priority): Also find invisible heading.
4317         * org-colview-xemacs.el (org-columns-edit-value): No special
4318         treatment for `org-todo' prefix.
4320         * org-colview.el (org-columns-edit-value): No special treatment
4321         for `org-todo' prefix.
4323         * org-remember.el (org-remember-apply-template): Use
4324         `org-completing-read-no-ido'.
4326         * org.el (org-completing-read-no-ido): New function.
4327         (org-make-tags-matcher, org-set-property): Use
4328         `org-completing-read-no-ido'.
4330         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4331         New option.
4332         (org-export-as-latex): Import in-buffer settings as TeX macros.
4333         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4334         (org-export-latex-collect-header-macros): New function.
4336         * org.el (org-refile-get-location): Turn off
4337         `partial-completion-mode'.
4339 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4341         * org.el (org-block-todo-from-checkboxes): Announce that
4342         checkboxes are the culprit.
4343         (org-block-todo-from-children-or-siblings): Call
4344         `org-up-heading-all instead' of `outline-up-heading'.
4346         * org-agenda.el (org-agenda-show-1): Renamed from
4347         `org-agenda-show'.
4348         (org-agenda-show): Re-install the old version for now.
4349         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4350         variable into the blokker hook, so that the checkbox checker can
4351         anounce that it caused the blocking.
4353         * org.el (org-track-ordered-property-with-tag): New option.
4354         (org-toggle-ordered-property): Honor
4355         `org-track-ordered-property-with-tag'.
4356         (org-tag-alist): Add newline options.
4357         (org-set-regexps-and-options): Separate option lines imply a
4358         newline.
4359         (org-set-regexps-and-options, org-assign-fast-keys)
4360         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4361         option.
4362         (org-indent-line-function): Make sure this works even if there is
4363         not `org-drawer-regexp' defined.  This can happen when
4364         orgstruct-mode is used in a non-org buffer.
4366         * org-list.el (org-checkbox-blocked-p): New function.
4367         (org-toggle-checkbox): Check for blocking.
4369         * org.el (org-modules): Add an entry for org-R.el.
4371         * org-agenda.el (org-agenda-todo-ignore-with-date)
4372         (org-agenda-todo-ignore-scheduled)
4373         (org-agenda-todo-ignore-deadlines): Mention the variable
4374         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4376         * org.el (org-get-wdays): Find the warning period also if it is in
4377         the wrong place.
4378         (org-ido-completing-read): Provide the correct arguments to
4379         ido-completing-read and bind `ido-enter-matching-directory' to
4380         nil.
4382 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4384         * org.el (org-olpath-completing-read): Never use ido for this
4385         one.
4387         * org-exp.el (org-export-normalize-links): Use new macro.
4389         * org-macs.el (org-if-unprotected-at): New macro.
4391         * org-agenda.el (org-agenda-show): Allow numerical prefix
4392         arguments to specify how much context should be shown.
4393         (org-agenda-cycle-show): New command, could be bound to SPC in
4394         org-agenda-mode-map.
4396         * org-exp.el (org-html-level-start): Space after section number.
4398 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4400         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4401         property, for sorting.
4402         (org-cmp-todo-state): Get the applicable TODO keywords directly
4403         from the buffer.
4404         (org-run-agenda-series, org-agenda-list, org-search-view)
4405         (org-todo-list, org-tags-view): Only fit agenda window when the
4406         whole series is done.
4408         * org.el (org-scan-tags): Add todo state as property, for sorting.
4410         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4411         `org-agenda-overriding-header' as an option.
4412         (org-agenda-list): Honor org-agenda-overriding-header'.
4414 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4416         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4417         after removing a checkbox.
4419         * org.el (org-show-entry): Make this work correctly also if it is
4420         the last entry in the file.
4421         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4422         falling back to normal, default command.
4423         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4424         item, call the checkbox toggler to get a box.
4426         * org-list.el (org-toggle-checkbox): Make double prefix set the
4427         checkbox to "[-]".
4428         (org-fix-bullet-type): Only replace bullet if it is changed.
4429         (org-renumber-ordered-list): Handle case when first item does not
4430         have a number.
4432         * org.el (org-add-log-setup): Fix positioning when
4433         `org-log-states-order-reversed' is nil.
4435         * org-clock.el (org-clock-in): Fix positioning when
4436         `org-log-states-order-reversed' is nil.
4437         (org-clock-find-position): Fix positioning when
4438         `org-log-states-order-reversed' is nil.
4440 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4442         * org-clock.el (org-clock-into-drawer): Take default from
4443         `org-log-into-drawer'.
4444         (org-clock-find-position): Look for the correct drawer.
4446         * org.el (org-log-into-drawer): Renamed from
4447         `org-log-state-notes-into-drawer'.
4448         (org-log-state-notes-into-drawer): New variable alias.
4449         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4450         CLOCK.
4451         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4453 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4455         * org-agenda.el (org-agenda): Fix docstring.
4457         * org.el ("org-plot"): Help loading org-plot.
4458         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4459         (org-metadown-hook, org-shiftmetaleft-hook)
4460         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4461         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4462         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4463         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4464         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4466         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4467         for selecting files with any (and even without) extension.
4469         * org.el (org-save-all-org-buffers): Also save id locations.
4470         (org-revert-all-org-buffers): Also load id locations.
4472 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4473         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4474         (org-log-state-notes-into-drawer): New option.
4475         (org-add-log-setup): Place the sate note marker into the drawer,
4476         create drawer when necessary.
4477         (org-refile-targets): Document special interpretation of LEVEL
4478         when odd-levels are used.
4480 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4482         * org.el (org-store-log-note): Fix note indentation when adding
4483         notes to end of list.
4485         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4486         class, so that each keyword can get special colors through CSS.
4488         * org-clock.el (org-clock-out): Add another nil for the previous
4489         state into the call to `org-add-log-setup'.
4491         * org.el (org-log-note-previous-state): New variable.
4492         (org-log-note-headings): New %S escape for old state.
4493         (org-todo): Call the note setup with the old state as an
4494         argument.
4495         (org-add-note): Add another nil for the previous state into the
4496         call to `org-add-log-setup'.
4497         (org-add-log-setup): New argument PREV-STATE.
4498         (org-add-log-note): Handle new %S escape.
4499         (org-store-log-note): Handle new %S escape.
4501 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4503         * org-clock.el (org-clock-find-position): Do not swallow an item
4504         less indented than the CLOCK line itself.
4505         (org-clock-in): Push markers to lin after the clock line.
4506         (org-clock-find-position): Handle values of
4507         `org-clock-into-drawer' smaller than 2.
4509         * org-exp.el (org-html-level-start): Add a CSS class to section
4510         numbers.
4511         (org-export-html-toplevel-hlevel): Better documentation of the
4512         influence of this variables on H levels and css classes in
4513         export.
4515 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4517         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4518         timestamp and nottimestamp to the chooe menu.
4520         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4521         (org-revert-all-org-buffers): New command.
4523 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4525         * org.el (org-return): Implement `org-return-follows-link' in the
4526         function org-return.  This is more robust than using the mouse
4527         map, I think.
4528         (org-set-regexps-and-options): Match more general #+TODO lines.
4529         (org-make-options-regexp): New optional argument EXTRA, for an
4530         extra regexp.
4531         (org-tab-follows-link): Mark as deprecated.
4533 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4535         * org-exp.el (org-export-preprocess-string): Remove clock lines
4536         earlier, so that they cannot cotribute to verbatim snippets.
4538 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4540         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4541         for finding drawers.
4542         (org-export-as-ascii, org-export-as-html): Count levels relative
4543         to the subtree header.
4544         (org-get-min-level): New optional argument OFFSET.
4545         (org-export): Make sure point is restored after popping up that
4546         window.
4548         * org.el (org-do-sort): Also take an inactive timestamp if no
4549         active one is found.
4551         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4552         deleting duplicates.
4554         * org-colview.el (org-columns-capture-view): Copy before
4555         deleting duplicates.
4557         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4558         text before first headline.
4560         * org.el (org-format-latex): Do not convert LaTeX fragments in
4561         protected examples.
4563 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4565         * org-exp.el (org-export-html-style-default): Use color values
4566         instead of names for XHTML validation.
4568         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4569         functions.
4570         (org-return-follows-link): Revert making this the default untile
4571         issues are resolved.
4573         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4574         nottimestamp.
4576 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4578         * org.el (org-mode): Make dependence stuff work more reliably.
4579         (org-update-parent-todo-statistics): Fix bug with updating
4580         statistics cookie.
4582         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4583         ~ as verbatim delimiters.
4585         * org-exp.el (org-export-html-format-image): New argument
4586         PAR-OPEN.
4587         (org-export-as-html): Pass par-open to
4588         `org-export-html-format-image'.
4590 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4592         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4593         (org-use-fast-todo-selection, org-tags-column): New default
4594         setting for variables, based on a poll what typical uses use.
4596         * org-agenda.el (org-agenda-sorting-strategy)
4597         (org-agenda-tags-column): New default setting for variables, based
4598         on a poll what typical uses use.
4600 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4602         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4603         blocked entries from setting the blocked tag.
4605         * org-exp.el (org-export-html-footnotes-section): Use a more
4606         consistent id for footnotes.
4608         * org-export-latex.el (org-export-latex-classes): Remove the
4609         a4paper option from the default styles.
4611 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4613         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4614         (org-block-todo-from-checkboxes): New function.
4615         (org-todo): Make tripple prefix arg circumvent blocking.
4617         * org-timer.el (org-timer): Provide the timer feature.
4619         * org.el (org-require-autoloaded-modules): Add a few more files to
4620         the list of autoloaded modules.
4622         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4624 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4626         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4627         drawers that are unprotected.
4628         (org-export-html-format-image): Make sure inlined LaTeX fragment
4629         images remain inlined.
4631         * org.el (org-toggle-ordered-property): New function.
4632         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4633         (org-org-menu): Add menu entries for TODO dependencies.
4635 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4637         * org.el (org-default-properties): Add ORDERED to the default
4638         properties, to get completion support for it.
4640         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4642         * org.el (org-update-parent-todo-statistics): Update more than one
4643         cookie.
4645         * org-agenda.el (org-agenda-get-todos): Start search from correct
4646         position.
4648         * org.el (org-fast-todo-selection): Make sure TODO selection does
4649         not change buffer position.
4651         * org-list.el (org-toggle-checkbox): Implement adding or removing
4652         checkboxes from line or region when called with a prefix
4653         argument.
4655         * org-rmail.el (org-rmail-store-link): Protect the call to
4656         `rmail-narrow-to-non-pruned-header'.
4658         * org-clock.el (org-clock-special-range): Fix week display in
4659         clock tables.
4661         * org-exp.el (org-get-current-options): Fix bug when in indirect
4662         buffer.
4664 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4666         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4667         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4668         (org-agenda-dim-blocked-tasks): New function.
4670         * org.el (org-enforce-todo-dependencies): New option.
4671         (org-block-todo-from-children-or-siblings): New function.
4673         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4675         * org.el (org-todo): Return correct state type even if the blocker
4676         throws an error.
4677         (org-modifier-cursor-error): Renamed from
4678         `org-shiftcursor-error'.
4679         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4680         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4682         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4683         to get real errors from the blocker hook.
4685         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4686         functions.
4687         (org-set-visibility-according-to-property): Turn off the setting
4688         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4689         property.
4691 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4693         * org.el (org-support-shift-select): New option.
4694         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4695         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4696         selection outside contexts.
4698         * org-list.el (org-at-item-bullet-p): New function.
4700         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4701         variables.
4703         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4704         variable.
4705         (org-insert-footnote-reference-near-definition): Remove
4706         unnecessary let form.
4708         * org-export-latex.el (org-export-latex-first-lines): Add
4709         OPT-PLIST parameter.
4710         (org-export-as-latex): Call `org-export-latex-first-lines' with
4711         opt-plits parameter.
4712         (org-export-latex-preprocess): Remove unnecessary variables.
4714         * org-exp.el (org-infile-export-plist)
4715         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4716         (org-export-remove-headline-metadata)
4717         (org-export-get-title-from-subtree, org-get-min-level)
4718         (org-html-do-expand): Remove innecessary let form.
4720         * org-colview-xemacs.el (org-columns-display-here): Remove
4721         unnecessary variables.
4723         * org-colview.el (org-columns-display-here): Remove unnecessary
4724         variables.
4726         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4727         variables.
4729         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4730         unnecessary variables.
4732         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4733         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4734         variables.
4736         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4737         (org-compact-display-after-subtree-move): Remove unnecessary
4738         variables.
4739         (org-edit-fixed-width-region): Remove unnecessary variables.
4740         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4741         (org-olpath-completing-read): Remove unnecessary variable.
4742         (org-auto-repeat-maybe): Remove unnecessary variable.
4743         (org-map-entries): Remove unnecessary variable.
4744         (org-buffer-property-keys, org-imenu-get-tree)
4745         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4747 -----------------------------------------------------------------
4749 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4750         * org-exp.el (org-export-remove-timestamps): Never remove
4751         timestamps from tables.
4753         * org-export-latex.el (org-export-latex-first-lines): Add more
4754         options to the preprocessing of the text before the first
4755         headline.
4757 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4759         * org-faces.el (org-clock-overlay): Make face compatible with
4760         XEmacs.
4762         * org.el (org-yank): Add property for delete-selection mode.
4764         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4766         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4767         variable.
4769         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4770         to `backward-char'.
4772         * org-exp.el (org-export-as-html): Remove the initial space from
4773         colon examples.
4775         * org.el (org-scan-tags): Call
4776         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4778         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4779         customization groups.
4780         (org-agenda-tags-todo-honor-ignore-options): New option.
4781         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4782         New function.
4783         (org-agenda-get-todos): Use
4784         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4786 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4788         * org-exp.el (org-export-format-source-code-or-example): Escape
4789         HTML characters also in examples that anre not treated with
4790         htmlize.  Also, just switch to EXAMPLE processing if we do not
4791         have a good version of htmlize.
4793         * org-rmail.el: Fix copyright notice.
4795         * org.el (org-activate-footnote-links): Improve footnote link
4796         highlighting.
4798         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4799         a footnote definition at the end of the file.
4801         * org-table.el (org-table-get-specials): Add an imagined hline at
4802         the end of the table.  This can be useful for references that want
4803         to go to the end of the table.  Also fix bug when computing last
4804         row constants, in tables that do not start right at the right
4805         margin.
4806         (org-table-eval-formula): Match and replace remove references.
4807         (org-table-formula-substitute-names): Make sure that names inside
4808         a "remote" call are left alone, the will be replaced later when
4809         the remote call is handled.
4810         (org-table-convert-refs-to-rc): Do not convert things that might
4811         look like a reference, but are really part of an ID or namei n a
4812         remote reference.
4813         (org-table-get-remote-range): New function.
4815 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4817         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4819         * org-clock.el (org-clock-put-overlay): Use new face instead of
4820         `secondary-selection'.
4822         * org-faces.el (org-clock-overlay): New face.
4824 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4826         * org-exp.el (org-get-current-options): Include the option for
4827         publishing time stamps.
4829         * org.el (org-toggle-heading): Renamed from
4830         `org-toggel-region-headings'.
4831         No longer needs a region defined, but will use it if there is one.
4832         (org-ctrl-c-star): Simplified, relying more on the internal
4833         workings of `org-toggle-heading'.
4834         (org-toggle-item): Renamed from `org-toggle-region-items'.
4835         No longer needs a region defined, but will use it if there is one.
4836         (org-ctrl-c-minus): Simplified, relying more on the inernal
4837         workings of `org-toggle-item'.
4839         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4840         environment detection.  Also, do real changes only in unprotected
4841         places.
4843 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4845         * org-export-latex.el (org-export-latex-quotation-marks): Use
4846         `org-if-unprotected-1'.
4847         (org-export-latex-set-initial-vars): Check for class definition in
4848         property.
4850         * org-macs.el (org-if-unprotected-1): New macro.
4852 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4854         * org-compat.el (org-count-lines): New function.
4856         * org-exp.el (org-export-format-source-code-or-example): Handle
4857         switches related to text areas.
4859         * org.el (org-activate-footnote-links): Don't allow match inside a
4860         link.
4862         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4864         * org-export-latex.el (org-export-latex-links): Keep a relative
4865         path relative also after export.
4867         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4869         * org.el (org-make-tags-matcher): Never use IDO for completing the
4870         tags matcher match string.
4871         (org-completing-read): Also remove the special biding for "?".
4873         * org-attach.el (org-attach-allow-inheritance): New option.
4874         (org-attach-inherited): New variable.
4875         (org-attach-dir): Handle properties related to the attachment
4876         directory.
4877         (org-attach-check-absolute-path): New function.
4878         (org-attach-set-directory, org-attach-set-inherit): New commands.
4879         (org-attach): Accommodate the new commands in the dispatcher.
4881 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4883         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4884         `window-full-width-p'.
4886         * org-exp.el (org-export-as-html): Only check for images files
4887         that really can be inlined
4889         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4890         list of extensions to be a parameter.
4892         * org-exp.el (org-export-html-inline-image-extensions): New
4893         variable.
4895         * org-agenda.el (org-prepare-agenda): Use
4896         `org-agenda-block-separator'.
4897         (org-agenda-block-separator): New option.
4899 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4901         * org-export-latex.el (org-export-latex-tables): Call
4902         `org-table-clean-before-export' with the new optional argument.
4904         * org-exp.el (org-table-clean-before-export): New optional
4905         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4906         first column.
4908 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4910         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4911         histograms.
4913         * org-colview.el (org-colview-construct-allowed-dates): Better
4914         error catching when a date/time property does not have allowed
4915         values defined.
4917         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4918         Better error catching when a date/time property does not have
4919         allowed values defined.
4921 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4923         * org.el (org-map-entries): Restore point and restriction after
4924         `org-map-entries'.
4926 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4928         * org.el (org-time=, org-time<, org-time<=, org-time>)
4929         (org-time>=, org-time<>): Make sure both values are dates.
4931 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4933         * org-archive.el (org-extract-archive-heading): Allow %s for file
4934         name also in achive location heading.
4936 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4938         * org-archive.el (org-add-archive-files): Uniquify the list before
4939         returning it.
4941 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4943         * org-compat.el (org-fit-window-to-buffer): Use
4944         `window-full-width-p'.
4946         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4947         space after the colon in short examples.
4949         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4950         enforce a space after the colon.  However, we also allow lines
4951         that are *only* a colon.
4952         (org-export-as-html): Enforce the space after the colon in short
4953         examples.
4954         (org-export-preprocess-string): Do the colon example protection
4955         earlier.
4956         (org-export-remove-timestamps): Do not check for protection at the
4957         end of the line.
4959 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4961         * org.el (org-format-latex-options): Add new matcher for single
4962         letters between dollars.
4963         (org-get-header): Function removed.
4964         (org-heading-components): New function.
4966         * org-exp.el (org-export-define-heading-targets): Record ID's also
4967         as alternative targets.
4968         (org-export-as-html): Interpret "id:" links to other files by
4969         preserving the relative path.
4971         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4972         is nil.
4974         * org-exp.el (org-export-normalize-links): Protect the main link,
4975         to avoid special character processing.
4977         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4978         New variable.
4979         (org-export-latex-special-string-regexps): Variable removed.
4980         (org-export-latex-keywords): Use the new regexp.
4982         * org-exp.el (org-export-handle-include-files): Fetch switches and
4983         put them into the BEGIN statement.
4985         * org-timer.el (org-timer-mode-line-string): New variable.
4987         * org-clock.el (org-clock-mode-line-map): Renamed from
4988         `org-clock-mode-map'.
4989         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4990         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4991         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4992         (org-clock-remove-overlays): Renamed from
4993         `org-remove-clock-overlays'.
4995         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4996         and mode line display.
4997         (org-timer-stop): New command.
4998         (org-timer-seconds): Return correct time when timer is paused.
4999         (org-timer-mode-line-timer): New variable.
5000         (org-timer-set-mode-line, org-timer-update-mode-line): New
5001         functions.
5003         * org.el (org-insert-heading):  Handle new value `auto' for
5004         `org-blank-before-new-entry'.
5005         (org-org-menu): Add new items for timer functions.
5007         * org-list.el (org-insert-item): Handle new value `auto' for
5008         `org-blank-before-new-entry'.
5010         * org.el (org-blank-before-new-entry): New value `auto', made
5011         default.
5013 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5015         * org-exp.el (org-export-normalize-links): If the link is also
5016         used as the description, protect the description.
5018 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5020         * org.el (org-closest-date): Fix bug with yearly repeats, in
5021         combination with preference of the past as it is used for deadline
5022         and scheduling search.
5024         * org-exp.el (org-html-handle-time-stamps): No longer check for
5025         the `org-export-with-timestamps' option, because the preprocesser
5026         has taken care of this already.
5028         * org.el (org-entry-properties): Catch the case when this is
5029         called in a non-org-mode file.
5031         * org-export-latex.el (org-export-latex-remove-from-headlines):
5032         Variable made obsolete, also LaTeX export now uses the standard
5033         variables.
5034         (org-export-as-latex): Add the timestamps parameter to the
5035         preprocessor parameter list.
5036         (org-export-latex-content): Export the remaining keywords without
5037         considering to remove them.
5038         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5039         Use bold font instead of tt font for the keywords.
5040         (org-export-latex-fontify-headline): Format headlines, assuming
5041         that all keywords still present should be published.
5042         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5043         publish what ever remains of the time stamps.
5044         (org-export-latex-list-parameters): New option.
5045         (org-export-latex-lists): Pass additional parameters to the list
5046         converter.
5048         * org-exp.el (org-export-preprocess-string): Remove clock lines
5049         and timestamps already in the preprocesor.
5050         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5051         functions.
5052         (org-export-as-ascii, org-export-as-html): Add the timestamps
5053         parameter to the preprocessor parameter list.
5055         * org-list.el (org-list-parse-list): Parse for checkboxes.
5056         (org-list-to-generic): Introduce and handle new parameters :cbon
5057         and :cboff.
5058         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5059         optional parameter PARAMS.
5061         * org-export-latex.el (org-export-latex-special-chars): Fix
5062         problems with interpreting dollar signs.
5063         (org-inside-latex-math-p): New function.
5064         (org-export-latex-preprocess): Protect all the math fragments.
5066         * org.el (org-latex-regexps): Allow a dash after a dollar.
5068         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5069         mark after copying.
5071         * org-agenda.el (org-run-agenda-series): Have series options set
5072         when finalizing the agenda.
5074         * org-exp.el (org-export-format-source-code-or-example): Protect
5075         the converted examples.
5077         * org.el (org-set-regexps-and-options): Fix the regexp
5078         `org-complex-heading-regexp'.
5080 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5082         * org.el (org-edit-src-get-label-format): New function.
5083         (org-coderef-label-format): New option.
5084         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5085         a label format specification and make sure it is used in the edit
5086         buffer.
5087         (org-edit-src-get-label-format): New function.
5088         (org-store-link): Handle new coderef formats.
5089         (org-link-search): Handle new coderef formats.
5091         * org-footnote.el (org-footnote-create-definition)
5092         (org-footnote-goto-local-insertion-point): Make footnote insertion
5093         work correctly when the "Footnotes" headline is the last line in
5094         the buffer.
5096         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5097         the location.
5099 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5101         * org-w3m.el (org-w3m): New customization group.
5102         (org-w3m-deactivate-mark): New option.
5103         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5104         option say not to.
5106 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5108         * org.el (org-set-font-lock-defaults): Trigger footnote
5109         fontification.
5110         (org-activate-footnote-links): New function.
5111         (org-activate-links): New entry `footnote'.
5113         * org-faces.el (org-footnote): New face.
5115 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5117         * org-macs.el (org-re): Handle the [:word:] class.
5119         * org-exp.el (org-export-preprocess-string): Call
5120         `org-export-protect-colon-examples'.
5121         (org-export-protect-colon-examples): Renamed from
5122         `org-export-protect-examples', and scope limited to lines starting
5123         with a colon.
5125 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5127         * org-exp.el (org-export-preprocess-string): Move the preprocess
5128         hook to after turning on Org-mode.
5129         (org-export-preprocess-after-include-files-hook)
5130         (org-export-preprocess-after-tree-selection-hook)
5131         (org-export-preprocess-before-backend-specifics-hook)
5132         (org-export-preprocess-final-hook): New hooks.
5133         (org-export-preprocess-string): Run the new hooks.
5135         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5137         * org-footnote.el: New file.
5139         * org.el (org-footnote): Require footnote code.
5140         (org-startup-options): Add new footnote options.
5141         (org-mode-map): New keybindig for footnotes.
5142         (org-ctrl-c-ctrl-c): Add function at footnotes.
5143         (org-org-menu): New menu entries for footnotes.
5145         * org-export-latex.el (org-export-as-latex): Pass footnote
5146         variable to preprocessor.
5147         (org-export-latex-preprocess): Treat multiple references to a
5148         footnote.
5150         * org-exp.el (org-export-preprocess-string): Call
5151         `org-footnote-normalize'.
5152         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5153         to preprocessor.
5154         (org-export-as-html): Treat multiple references to a footnote.
5156 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5158         * org-export-latex.el (org-export-latex-links): Handle coderef
5159         links.
5161         * org.el (org-bracket-link-analytic-regexp++): New variable.
5162         (org-make-link-regexps): Initialize
5163         `org-bracket-link-analytic-regexp++'.
5164         (org-store-link): Implement special case in edit-src buffer.
5165         (org-insert-link): No use of ide to insert stored links.
5166         (org-link-search): Implement special case for coderefs.
5168         * org-exp.el (org-export-html-scripts): New constant.
5169         (org-export-html-style-default): Add a new style for highlighted
5170         code.
5171         (org-export-code-refs): New variable.
5172         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5173         Call `org-export-replace-src-segments-and-examples'
5174         No longer call `org-export-protect-examples'.
5175         (org-export-target-internal-links): Take care of coderef targets.
5176         (org-export-last-code-line-counter-value): New variable.
5177         (org-export-replace-src-segments-and-examples): Renamed from
5178         `org-export-replace-src-segments', and modified.
5179         (org-export-format-source-code-or-example): Renamed from
5180         `org-export-format-source-code'.
5181         (org-export-number-lines): New function.
5182         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5184 --------------------------------------------------------------------------
5186 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5188         * org-remember.el (org-remember-handler): Safer way to get a new
5189         buffer accessing the target file.
5191         * org.el (org-refile-get-location): Handle case of current buffer
5192         not having a file associated with it.
5194 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5196         * org-table.el (org-table-get-formula): Only ask to overwrite
5197         field formula if there really is one.
5199         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5200         number, by converting these to a string.
5202         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5203         located in a different file.
5205         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5206         org-colview.el.
5208 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5210         * org.el (org-completion-use-ido): Enhance docstring of
5211         `org-completion-use-ido'.
5213         * org-export-latex.el (org-export-latex-make-header): Double the %
5214         in the time stamp format.
5215         (org-export-latex-special-chars): Handle case where there is no
5216         match group 3.
5218 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5220         * org.el (org-get-refile-targets, org-refile-get-location): Use
5221         expanded file name to improve comparison.
5223 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5225         * org.el (org-scan-tags): Rescan for tags, to get the correct
5226         upcase/downcase stuff.  This slows things down for now, but it
5227         works.
5228         (org-mode): Make sure the tag-faces regexp is initialized.
5230         * org-export-latex.el (org-export-latex-links): Fix bug with
5231         undefined label.
5233         * org-table.el (org-table-get-specials): Set
5234         `org-table-current-last-data-line'.
5235         (org-table-current-last-data-line): New variable.
5236         (org-table-insert-column, org-table-delete-column)
5237         (org-table-move-column, org-table-fix-formulas): Call
5238         `org-table-fix-formulas' a second time to fix the $LR references.
5239         (org-table-get-specials): Add the $LR references to the tables.
5240         (org-table-get-formula): Do not offer last-row names as LHS of
5241         formulas.
5243         * org.el (org-store-link): Capture link description from
5244         `org-id-store-link'.
5246         * org-exp.el (org-export-html-format-image): Add the / to the end
5247         of the <img> tag.
5248         (org-export-format-source-code): Surround example by empty lines,
5249         to make sure it will not be inside a paragraph.
5251         * org.el (org-ido-switchb): New function.
5253 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5255         * org-agenda.el (org-agenda-show): New prefix argument
5256         FULL-ENTRY.
5258         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5259         argument.
5261         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5262         `org-agenda-change-all-lines'.
5263         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5264         tags are now retrieved locally.
5266 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5268         * org.el (org-get-outline-path): Fix bug if level is not given.
5269         (org-org-menu): Do not quote function in menu vector.
5271         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5272         name.
5274 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5276         * org.el (org-refile): Avoid refiling to within the region to be
5277         refiled.
5279         * org-export-latex.el (org-export-latex-special-chars): Replace
5280         special characters also in tables.
5282         * org-agenda.el (org-agenda-change-all-lines): New argument
5283         FORCE-TAGS.
5284         (org-agenda-set-tags): Cet the new tags and pass them to
5285         `org-format-agenda-item'.
5287 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5289         * org-export-latex.el (org-export-latex-classes): Add longable as
5290         a default package to all classes.
5291         (org-export-latex-tables): Handle the longtable attribute and the
5292         align attribute.
5294         * org-table.el (orgtbl-to-generic): Handle tables that start with
5295         a hline.
5297         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5298         \verb for colde-like snippets.
5299         (org-export-as-latex): Fix issues with region export.
5301         * org.el (org-up-heading-safe): Speed up function by using a
5302         direct regexp search.
5303         (org-olpa): New variable.
5304         (org-get-outline-path): Speed-up path constructions in cases where
5305         this is possible because the entire hierarchy is scanned anyway.
5306         (org-refile-get-location): Don't compare the truenames of files,
5307         this is too slow.
5308         (org-goto-max-level): New option.
5309         (org-goto): Use `org-goto-max-level'.
5311 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5313         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5314         Strip angle brackets from message-ids in the former and don't do
5315         it in the latter.
5316         (org-gnus-follow-link): Open summary reliable, even if the last
5317         messages were deleted, and handle empty groups, too.
5319 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5321         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5322         instead of \texttt for the =...= and ~===~ emphasis environments.
5323         (org-export-as-latex): Remove any old :org-license-to-kill text
5324         properties.
5325         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5326         (org-export-latex-make-header): Add some hard space after the
5327         table of contents.
5328         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5329         exported text so that it will be excuded in further steps.
5331         * org-table.el (org-table-get-specials): Make @0 reference the
5332         last line in a table.
5333         (org-table-recalculate): Improve docstring.
5335 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5337         * org.el (org-log-done): Fix docstring.
5339 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5341         * org-exp.el (org-export-html-format-image): Fix bugs.
5343         * org-export-latex.el (org-export-latex-tables)
5344         (org-export-latex-links): Implement attribute, label, and caption
5345         handling.
5347         * org-exp.el (org-export-html-style-default): Add style
5348         definitions for the figure div.
5349         (org-export-preprocess-string, org-export-as-html): Implement
5350         attribute, label, and caption handling.
5351         (org-export-attach-captions-and-attributes): New function.
5352         (org-export-html-format-image): New function.
5353         (org-format-org-table-html): Implement attribute, label, and
5354         caption handling.
5356         * org.el (org-find-text-property-in-string): New function.
5357         (org-extract-attributes): Use the property org-attr instead of
5358         org-attrobutes, because this property is now set with the #+ATTR
5359         lines.
5361 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5363         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5364         the case that FROM is nil.
5366         * org.el (org-before-first-heading-p): New function.
5368 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5370         * org-exp.el (org-export-as-html): Do not add a space before
5371         enforces line breaks.
5372         (org-export-as-html): Close paragraph before blockquote and verse
5373         tags.
5375 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5377         * org-id.el (org-id-locations-file): Wrap file name with
5378         `convert-standard-filename'.
5379         (org-id-files): New variable.
5380         (org-id-use-hash): New option.
5381         (org-id-update-id-locations): Also search in all files current
5382         listed in `org-id-files'.  Convert the resulting alist to a hash
5383         if the user customation says so.
5384         (org-id-locations-save): Handle he case if `org-id-locations' is a
5385         hash.
5386         (org-id-locations-load): Convert the alist to a hash.
5387         (org-id-add-location): Handle the hast case.
5388         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5389         exited.
5390         (org-id-hash-to-alist, org-id-alist-to-hash)
5391         (org-id-paste-tracker): New functions.
5393 -------------------------------------------------------------------------
5395 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5397         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5398         bindings of calendar variables.
5400         * org-table.el (org-table-find-row-type): Renamed from
5401         `org-find-row-type'.
5402         (org-table-rewrite-old-row-references): Renamed from
5403         `org-rewrite-old-row-references'.
5404         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5405         (org-table-cleanup-narrow-column-properties): Renamed from
5406         `org-cleanup-narrow-column-properties'.
5408 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5410         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5411         for better error messages.
5412         (org-table-get-descriptor-line): Supply the new arguments to
5413         `org-find-row-type'.
5414         (org-table-error-on-row-ref-crossing-hline): New option.
5416         * org.el (org-target-link-regexp): Make buffer-local.
5417         (org-move-subtree-down): Fix bug with trees at beginning of
5418         buffer.
5420 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5422         * org-faces.el (org-set-tag-faces): New function.
5423         (org-tags-special-faces-re): New variable.
5425         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5427         * org-faces.el (org-tag-faces): New option.
5428         (org-tag): Mention `org-tag-faces' in the docstring.
5430 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5432         * org-exp.el (org-export-html-style-default): Implement new
5433         quoting.
5435         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5437         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5438         command to the `w3m-minor-mode-map'.
5440         * org-archive.el (org-archive-to-archive-sibling): Protect
5441         `this-command' to avoid appending kills during archiving.
5443         * org-exp.el (org-export-with-priority): New variable.
5444         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5445         instead of internal list of strings and properties.
5446         (org-print-icalendar-entries): Retrieve the location property with
5447         inheritance.
5449 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5451         * org-exp.el (org-export-with-todo-keywords): New option.
5452         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5453         line.
5454         (org-default-export-plist, org-export-add-options-to-plist)
5455         (org-export-as-ascii, org-export-as-html): Use the new structure
5456         of `org-export-plist-vars'.
5458         * org.el (org-map-entries): Return all values.
5460 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5462         * org.el (org-matcher-time): Recognize more special values.
5464         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5466 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5468         * org.el (org-tags-exclude-from-inheritance): New option.
5469         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5470         `org-tags-exclude-from-inheritance'.
5472         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5473         (org-format-agenda-item): Add inherited tags to the agenda line
5474         string, and make sure that properties are kept when downcasing the
5475         tags list.
5476         (org-agenda-add-inherited-tags): New function.
5477         (org-downcase-keep-props): New function.
5479         * org.el (org-scan-tags): Mark inherited tags with a text
5480         property.
5481         (org-get-tags-at): Mark inherited tags with a text property.
5482         (org-add-prop-inherited): New function.
5484         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5485         (org-agenda-show-inherited-tags): New option.
5487 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5489         * org.el (org-modules): Add org-w3m to the default modules.
5491         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5492         orgtbl-mode.
5493         (orgtabl-create-or-convert-from-region): New command.
5495         * org-exp.el (org-export-as-ascii): Remove the handling of
5496         targets.
5497         (org-export-ascii-preprocess): Handle targets already in this
5498         function.
5500 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5502         * org-timer.el (org-timer-start-time): Define this variable.
5503         (org-timer-item): Make argument optional.
5505         * org-list.el (org-insert-item): Automatically insert a timer item
5506         if the current list is a timer list.
5508         * org-timer.el: New file.
5510         * org-publish.el (org-publish-org-index): Only exclude the index
5511         file in the main directory from being added to the site-map.
5512         (org-publish-get-project-from-filename): If the current project is
5513         a component, start publishing from the parent project.
5515 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5517         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5519         * org-publish.el (org-publish-org-index): Improve removal of
5520         temporary buffers.
5522         * org-agenda.el (org-get-closed): Re-apply changes
5523         accidentially overwritten by last commit to Emacs.
5525         * org.el (org-outline-path-complete-in-steps): New option.
5526         (org-refile-get-location): Honor
5527         `org-outline-path-complete-in-steps'.
5528         (org-agenda-change-all-lines, org-tags-sparse-tree)
5529         (org-time-string-to-absolute, org-small-year-to-year)
5530         (org-link-escape): Re-apply changes accidentially overwritten
5531         by last commit to Emacs
5533 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5535         * org-clock.el (org-dblock-write:clocktable): Make sure the
5536         clocktable sees the first line.
5537         (org-clock-in): Warn if the clock cannot be resumed.
5539 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5541         * org.el (org-open-at-point): Fix mixup about interactive and
5542         non-interactive elisp links.
5544 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5546         * org-exp.el (org-export-preprocess-string): Allow one comment
5547         line before the first headline to always be included.  This is
5548         to not miss a commented target.
5550         * org-mouse.el (org-mouse-insert-item): Call
5551         `org-indent-to-column' instead of `indent-to', for XEmacs
5552         compatibility.
5554         * org.el (org-refile-targets): Fix customize definition so
5555         that it works also in XEmacs.
5556         (org-fixup-indentation): Call `org-indent-to-column' instead
5557         of `indent-to', for XEmacs compatibility.
5559 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5561         * org-mew.el (org-mew-store-link): Get the correct case folder
5562         for refiled messages.
5564 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5566         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5567         line break indicators.
5569         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5570         ido-completion propts.
5572 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5574         * org-remember.el (org-remember-apply-template): Use
5575         `org-substring-no-properties'.
5577         * org-compat.el (org-substring-no-properties): New function.
5579         * org-remember.el (org-remember-apply-template): Use
5580         `org-substring-no-properties' for compatibility.
5582         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5583         option.
5584         (org-fix-bullet-type): respect
5585         `org-list-two-spaces-after-bullet-regexp'.
5587         * org-clock.el (org-clock-load): Clean up the code.
5589         * org.el (org-adaptive-fill-function): Allow two spaces after
5590         "1." as a list bullet.
5592 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5594         * org-clock.el (org-clock-save, org-clock-load): Check for
5595         live buffers, existing files, and buffer file names to ensure
5596         consistent information.
5597         (org-clock-persist): Make `clock' a special value of this
5598         variable, and improve docstring.
5600         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5601         (org-get-string-indentation): Adapt indentation when the bullet
5602         width changes.
5604 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5606         * org-remember.el (org-remember-finalize): Make interactive.
5607         (org-remember-kill): New command.
5608         (org-remember-finish-immediately): Call `org-remember-finalize'
5609         directly.
5610         (org-remember-finalize): Make `org-remember-finalize' an interactive
5611         function.
5613 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5615         * org-remember.el (org-remember-apply-template): No ido completion
5616         for free prompts in remember templates.
5617         (org-remember-before-finalize-hook): New hook.
5618         (org-remember-mode): New minor mode.
5619         (org-remember-apply-template): Turn on `org-remember-mode'.
5621         * org-id.el (org-id-add-location): Avoid error when no file is
5622         given.
5624         * org-remember.el (org-remember-apply-template): Fix the way how
5625         the list of allowed properties is retrieved from the target file.
5627         * org.el (org-insert-link): Improve file link matching.
5629 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5631         * org-colview.el (org-columns-display-here): New argument
5632         DATELINE, to trigger using the new face.
5633         (org-agenda-colview-summarize): Call `org-columns-display-here'
5634         with the new argument.
5636         * org-faces.el (org-agenda-column-dateline): New face.
5638         * org-publish.el (org-publish-org-index): Use index-title at page
5639         title, not as section.
5641         * org-exp.el (org-export-html-format-desc): Respect the
5642         org-protect property.
5643         (org-export-as-html): Protect image specifiers that are in the
5644         description part of a link.
5646         * org.el (org-sort-entries-or-items, org-completing-read)
5647         (org-refile-get-location, org-olpath-completing-read, org-todo)
5648         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5649         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5650         (org-set-property, org-delete-property)
5651         (org-delete-property-globally): Use `org-ido-completing-read'.
5653         * org-remember.el (org-remember-apply-template): Use
5654         `org-ido-completing-read'.
5656         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5658         * org-colview.el (org-columns-edit-value, org-columns-new)
5659         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5661         * org-colview-xemacs.el (org-columns-edit-value)
5662         (org-columns-new, org-insert-columns-dblock): Use
5663         `org-ido-completing-read'.
5665         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5666         `org-ido-completing-read'.
5668         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5669         `org-ido-completing-read'.
5671         * org.el (org-time-today): New function.
5672         (org-matcher-time): Use `org-time-today'.  Add special treatment
5673         for "<tomorrow>" and "<yesterday>".
5674         (org-ido-completing-read): New function.
5675         (org-completion-use-ido): New option.
5677         * org-exp.el (org-export-format-source-code): Fix bug in require
5678         htmlize code.
5679         (org-export-target-internal-links): Fix bug in search for text
5680         property.
5682 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5684         * org-export-latex.el (org-export-latex-subcontent): Interprete
5685         target aliases as additonal labels.
5687         * org-exp.el (org-export-target-aliases): New variable.
5688         (org-export-preprocess-string)
5689         (org-export-handle-invisible-targets): Fill the alias alist.
5690         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5691         assign an id.
5692         (org-html-level-start): Insert the target aliases as additonal
5693         anchors.
5695         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5696         picture area.
5698 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5700         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5701         when following a link with the mouse from the agenda.
5703         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5704         headlines are created.
5706 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5708         * org-exp.el (org-export-preprocess-string): Reorder so that we
5709         can still see ID properties when we collect targets.
5710         (org-export-target-internal-links): Also store targets for ID's.
5712         * org.el (org-link-translation-function): New option.
5713         (org-open-at-point): Call `org-link-translation-function' if
5714         non-nil.
5715         (org-translate-link): New function.
5716         (org-translate-link-from-planner): New function.
5717         (org-open-at-point): Allow interactive commands in elisp links.
5719         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5720         iCalendar quoting.  The new one seems to caus problems with
5721         applications.
5723         * org.el (org-yank): Set `this-command' to `yank', so that
5724         `yank-pop' will work.
5726 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5728         * org-id.el (org-id-search-archives): New option.
5730         * org.el (org-link-to-org-use-id): New option.
5731         (org-store-link): Use `org-link-to-org-use-id'.
5732         (org-id): Make org-id.el a standard component.
5734 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5736         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5737         hexified version of the tag.
5739         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5740         compliance as far as quoting is concerned.
5742         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5744         * org.el (org-up-heading-safe, org-forward-same-level): Always
5745         call `org-back-to-heading' instead of `outline-back-to-heading'.
5746         (org-back-to-heading): New wrapper around outline-back-to-heading,
5747         with a useful error message telling where the error happened.
5749         * org-list.el (org-update-checkbox-count): Always call
5750         `org-back-to-heading' instead of `outline-back-to-heading'.
5752         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5753         has an `alt' attribute, to ensure XHTML validation.
5755 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5757         * org-publish.el (org-publish-attachment): Allow publishing to
5758         overwrite attachment files.
5760         * org-agenda.el (org-agenda-timerange-leaders): New option.
5761         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5763         * org.el (org-edit-src-exit): Untabify ASCII image before
5764         returning.
5777 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5779         * org.el (org-yank): Make any prefix force normal yanking.
5780         Suppress folding if text would be swallowed into a folded
5781         subtree.
5782         (org-yank-folded-subtrees, org-yank): Docstring updates.
5784         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5785         defined as 0.
5787         * org-exp.el (org-export-language-setup): Add Catalan and
5788         Esperanto language entries.
5790 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5792         * org.el (org-refile): Allow refiling of entire regions.
5794         * org-clock.el (org-clock-time%): New function.
5796         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5797         retrieve property values.
5799 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5801         * org-agenda.el (org-agenda-list): Handle the value `only' of
5802         org-agenda-show-log'.
5803         (org-agenda-log-mode): Interpret a double prefix arg.
5805 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5807         * org-exp.el (org-export-html-footnotes-section): New variable.
5808         (org-export-as-html): Use `org-export-html-footnotes-section' to
5809         insert the footnotes.
5810         (org-export-language-setup): Add "Footnotes" to language words.
5812 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5814         * org.el (org-yank): Fix bug when not inserting a subtree.
5816 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5818         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5819         instead of `vm-beginning-of-message'.
5821         * org.el (org-make-link-regexps): Make sure that links to gnus can
5822         contain brackets.
5824 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5826         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5827         code.
5829         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5830         shell output.
5832         * org.el (org-link-abbrev-alist): Improve customization type.
5834         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5835         functions.
5837         * org-agenda.el (org-agenda-get-progress): Renamed from
5838         `org-get-closed'.  Implement searching for state changes as well.
5839         (org-agenda-log-mode-items): New option.
5840         (org-agenda-log-mode): New option prefix argument, interpreted as
5841         request to show all possible progress info.
5842         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5843         `org-get-closed'.
5844         (org-agenda-set-mode-name): Handle the more complex log mode
5845         settings.
5846         (org-get-closed): New alias, pointing to `org-get-progress'.
5848 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5850         * org.el (org-file-apps-defaults-gnu)
5851         (org-file-apps-defaults-macosx)
5852         (org-file-apps-defaults-windowsnt): Add an entry defining the
5853         system command.
5854         (org-file-apps): Allow `system' as key and value.
5855         (org-open-at-point): Explain the effect of a double prefix arg.
5856         (org-open-file): If the argument `in-emacs' is (16),
5857         i.e. corresponding to a double prefix argument, try to open the
5858         file externally.
5860 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5862         * org.el (org-insert-link): Abbreviate absolute files names in
5863         links.  Also, fix a bug in which the double C-u prefix would not
5864         be honored.
5866 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5868         * org.el (org-insert-heading): If buffer does not end with a
5869         newline, add one if necessary to insert headline correctly.
5871         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5872         paragraphs, not inside.
5874         * org.el (org-todo): Quote
5875         `org-agenda-headline-snapshot-before-repeat'.
5877         * org-exp.el (org-export-as-html): Fully process link descriptions.
5878         (org-export-html-format-desc): New function.
5879         (org-export-as-html): Collect footnotes into the correct basket.
5880         (org-html-protect): No longer protect quotations marks here, this
5881         goes wrong.
5883         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5884         BEG.
5886         * org-compat.el (org-fit-window-to-buffer): New function (not
5887         really, a preliminary and incomplete version was present earlier,
5888         but not used).
5890         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5891         `org-fit-window-to-buffer'.
5893         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5895         * org-agenda.el (org-agenda-get-restriction-and-command)
5896         (org-fit-agenda-window, org-agenda-convert-date): Use
5897         `org-fit-window-to-buffer'.
5899         * org-exp.el (org-export-as-html): Process href links through
5900         `org-export-html-format-href'.
5901         (org-export-html-format-href): New function.
5903         * org-agenda.el (org-agenda-todo): Update only the current
5904         headline if this is a repeated TODO, marked done for today.
5905         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5906         only the current line.
5908         * org.el (org-todo): Take a snapshot of the headline if the
5909         repeater might change it.
5911 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5913         * org-publish.el (org-publish-find-title): Remove buffers visited
5914         only for extracting the title.
5916         * org-exp.el (org-export-html-style)
5917         (org-export-html-style-default): Mark style definitions as
5918         unparsed CDATA.
5920         * org-publish.el (org-publish-validate-link): Function
5921         re-introduced.
5923 2008-11-02  Charles Sebold  <csebold@gmail.com>
5925         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5926         property.
5927         (org-plot-quote-timestamp-field): New function.
5928         (org-plot-quote-tsv-field): Call timestamp field function when
5929         necessary rather than just quoting as a string.
5930         (org-plot/gnuplot-to-data): Pass in timefmt property.
5931         (org-plot/gnuplot-script): Supports timefmt property.
5932         (org-plot/gnuplot): Checks for timestamp column before checking
5933         for text index column.
5935 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5937         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5939         * org-publish.el (org-publish-org-index): Create a section in the
5940         index file.
5941         (org-publish-org-index): Stop linking to directories.
5943         * org.el (org-emphasis-alist): Use span instead of <u> to
5944         underline text.
5946         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5947         <pre> sections.
5949 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5951         * org-jsinfo.el (org-infojs-template): Remove language attribute
5952         from script tag.
5954 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5956         * org-agenda.el (org-agenda-remove-marked-text): New function.
5957         (org-agenda-mark-filtered-text)
5958         (org-agenda-unmark-filtered-text): New functions.
5959         (org-write-agenda): Remove fltered text.
5961         * org.el (org-make-tags-matcher): Give access to TODO "property"
5962         without speed penalty.
5964 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5966         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5967         option.
5968         (org-store-link-props): Make sure adding to the plist works
5969         correctly.
5971         * org-gnus.el (org-gnus-no-new-news): New function.
5972         (org-gnus-follow-link): Allow the article ID to be a message-id,
5973         in addition to allowing article numbers.  Message IDs make much
5974         more roubust links.
5975         (org-gnus-store-link): Use message-id to create link.
5977 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5979         * org.el (org-emphasize): Reverse the selection array.
5980         (org-emphasis-alist): Set <code> tags for the verbatim
5981         environment.
5983         * org-remember.el (org-remember-handler): Fix bug with
5984         prefix-related changing of the note storage target.
5986         * org-exp.el (org-print-icalendar-entries): Make the exported
5987         priorities compatible with RFC 2445.
5989         * org-clock.el (org-clock-save): Insert time stamp without
5990         dependence on time-stamp.el.
5992 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5994         * org.el ("saveplace"): If saveplace puts point into an invisible
5995         location, make it visible.
5996         (org-make-tags-matcher): Allow inactive time stamps in time
5997         comparisons.
5998         (org-yank-adjusted-subtrees): New option.
5999         (org-yank): Incorporate adjusting trees.
6000         (org-paste-subtree): New argument FOR-YANK which will cause
6001         insertion at point without backing up over white lines, and leave
6002         point at the end of the inserted text.  Also if the cursor is
6003         at the beginning of a headline, use the same level or the inserted
6004         tree.
6006         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6007         with broken symlinks
6009 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6011         * org-exp.el (org-export-select-tags, org-get-current-options):
6012         Fix typo.
6014 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6016         * org-agenda.el (org-format-agenda-item)
6017         (org-agenda-filter-make-matcher): Make sure tags are stored and
6018         compared donwcased.
6020 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6022         * org.el (org-insert-todo-heading): Fix bug with force-heading
6023         argument.
6025 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6027         * org-clock.el (org-clock-in-resume): Add a custom option to
6028         toggle starting the clock from an open clock line.
6029         (org-clock-in): When clocking in to an entry, if
6030         `org-clock-in-resume' is set, check if the first clock line is
6031         open and if so, start the clock from the time in the clock line.
6032         (org-clock-persist): Add a custom option to toggle clock
6033         persistence.
6034         (org-clock-persist-query-save): Add a custom option to toggle
6035         asking the user if they want to save the running clock when
6036         exiting.
6037         (org-clock-persist-query-resume): Add a custom option to toggle
6038         asking the user if they want to resume the saved clock when Emacs
6039         is restarted.
6040         (org-clock-save): Add a function to save clock data.
6041         This includes the contents of `org-clock-history' and the buffer
6042         and position of the currently clocked task, if any.
6043         (org-clock-load): Add a function to load clock data.
6044         This populates `org-clock-history', and resumes the saved clocked
6045         task if there is one.
6046         (org-clock-persistence-insinuate): Add a method to set up the
6047         hooks for clock persistence.
6049 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6051         * org-exp.el (org-export-as-ascii): Handle the case that we are
6052         publishing from an indirect buffer.
6054         * org-table.el (org-table-copy-down): Fix bug with time stamp
6055         increment.
6057         * org-mouse.el (org-mouse-features): New option.
6058         (org-mode-hook): Turn on features depending on
6059         `org-mouse-features'.
6061         * org.el (org-insert-heading-respect-content): Force heading
6062         creation.
6063         (org-insert-heading): keep the folding state of the heading before
6064         the inserted one.
6066 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6068         * org-archive.el (org-archive-to-archive-sibling): Handle top
6069         level headlines better.
6071 2008-10-21  Bastien Guerry  <bzg@altern.org>
6073         * org-export-latex.el (org-export-latex-classes): Added
6074         \usepackage{graphicx} to the default list of packages.
6076 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6078         * org-agenda.el (org-agenda-filter): Renamed from
6079         `org-agenda-filter-tags'.
6081 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6083         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6084         is not defined as a property in this entry.
6085         (org-add-log-note): Mask prefix argument when immediately storing
6086         the note.
6088         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6089         option.
6091 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6093         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6094         after drawers was skipping ahead one line too many, so notes were
6095         inserted after the first note instead of before it.
6097 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6099         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6100         New variables.
6101         (org-prepare-agenda): Reset the filter tags.
6102         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6103         Show filter tags in mode line.
6105         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6106         formatter.
6108         * org-export-latex.el (org-latex-entities-regexp): New constant.
6109         (org-export-as-pdf): Use two calls to `shell-command'.
6111 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6113         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6114         Honor the {} value of the subsuperscript setting.  Make sure that
6115         longer subsuperscripts are typeset in a roman font.
6117         * org.el (org-clock-update-time-maybe): Compute negative clock
6118         intervals correctly.
6120 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6122         * org.el (org-add-log-setup): Respect
6123         `org-log-state-notes-insert-after-drawers'.
6124         (org-log-state-notes-insert-after-drawers): New option.
6125         (org-todo-trigger-tag-changes): New function.
6126         (org-todo): Call `org-todo-trigger-tag-changes'.
6128 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6130         * org.el (org-add-log-setup): Only skip drawers if the are
6131         immediately after the scheduling keywords.
6133         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6134         function
6135         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6136         call it with the current todo state to get the state to switch to
6137         when clocking in.
6138         (org-clock-in): Use org-indent-line-function to indent clock lines.
6139         (org-clock-find-position): Fix indentation of empty clock drawers.
6141 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6143         * org-publish.el (org-publish-org-to): Handle case when
6144         org-export-to-pdf does return a file name, not a buffer.
6145         (org-publish-org-to-pdf): New function.
6147         * org-export-latex.el (org-export-as-pdf)
6148         (org-export-as-pdf-and-open): New commands.
6150         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6151         forms as ranges.
6153         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6154         things in protexted regions.
6156 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6158         * org-export-latex.el (org-export-latex-preprocess): Improve
6159         quoting of LaTeX environments.
6161 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6163         * org.el (org-edit-fixed-width-region): Exclude final newline from
6164         picture area.
6166         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6167         sections, to make internal links work.
6168         (org-export-latex-fontify-headline): Do not remove all text
6169         properties, to make sure that target properties survive this
6170         process.
6172         * org-exp.el (org-export-preprocess-string): Change sequence of
6173         modifications, to make sure links are prepared before the LaTeX
6174         conversions do happen.
6176 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6178         * org-attach.el (org-attach-delete-all): Renamed from
6179         `org-attch-delete'.  Add a security query before deleting the
6180         entire directory.  New optional argument FORCE can overrule the
6181         security query.
6182         (org-attach-delete-one): New command.
6184 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6186         * org-attach.el (org-attach-file-list): Fix bug with directory.
6188 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6190         * org.el (org-apps-regexp-alist): New function.
6191         (org-file-apps): Add auto-mode to the default value.
6192         (org-open-file): Use the new structure of org-file-apps.
6194         * org-attach.el (org-attach): Support the new keys.
6195         (org-attach-method): New option.
6197 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6199         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6200         March.
6202         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6203         of the list value o `org-use-tag-inheritance'.
6205         * org-attach.el (org-attach-auto-tag): New option.
6206         (org-attach-tag, org-attach-untag): New functions.
6207         (org-attach-attach, org-attach-new, org-attach-sync): Call
6208         `org-attach-tag'.
6209         (org-attach-delete): Call `org-attach-untag'.
6211 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6213         * org-table.el (orgtbl-self-insert-command): Make this work for
6214         the keypad as well.
6216 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6218         * org.el (org-add-log-setup): Limit searc for drawers to entry
6219         text, not to subtree.
6221         * org-clock.el (org-clock-heading-for-remember): New variable.
6222         (org-clock-in): Set `org-clock-heading-for-remember'.
6224 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6226         * org-remember.el (org-remember-apply-template): Add new
6227         expansions: %k, %K for currently clocked task and a link to the
6228         currently clocked task, and %< to file notes in the currently
6229         clocked task.
6231 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6233         * org-export-latex.el (org-export-latex-make-header): Also insert
6234         the content of the property :latex-header-extra.
6236         * org-exp.el (org-infile-export-plist): Put the content of
6237         #+LATEX_HEADER: into the property :latex-header-extra.
6239         * org-colview.el (org-columns-get-format-and-top-level): Remove
6240         resetting the marker.
6242         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6243         Remove resetting the marker.
6245         * org.el (org-entry-property-inherited-from): Improve docstring.
6246         (org-entry-get-with-inheritance): Reset marker before starting the
6247         search.
6249         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6251 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6253         * org.el (org-entry-get-multivalued-property)
6254         (org-entry-protect-space, org-entry-restore-space): New
6255         functions.
6256         (org-file-apps-defaults-macosx): Let postscript files be opened by
6257         preview.
6258         (org-time-stamp-inactive): Call `org-time-stamp'.
6259         (org-time-stamp): New argument `inactive'.  Also edit inacive
6260         stamps. Convert time stamp type.
6261         (org-open-file): Interpret the `default' value for the `command'
6262         in `org-file-apps'.
6264         * org-id.el (org-id-int-to-b36-one-digit)
6265         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6266         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6267         b36.
6269 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6271         * org-id.el (org-id-reverse-string): New function.
6272         (org-id-new): Use `org-id-reverse-string' to make sure the
6273         beginning chars of the ID are mutating fast.  This allows to use a
6274         directory structure to spread things better.
6275         (org-id-prefix): Changed default to nil.
6277         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6278         restore the column of the cursor position.
6280         * org-remember.el (org-remember-apply-template): Remove properties
6281         from `initial'.
6283 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6285         * org-wl.el (org-wl-open): Remove useless call to
6286         `wl-thread-open-all'.
6288         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6289         location.
6291 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6293         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6294         `org-bbdb-anniversaries'.
6296         * org.el (org-get-next-sibling, org-forward-same-level): New
6297         functions, similar to the outline versions, but invisible headings
6298         are OK.
6300 2008-09-25  Bastien Guerry  <bzg@altern.org>
6302         * org.el (org-auto-repeat-maybe): Insert a space between
6303         the timestamp's type and the timestamp itself.
6305 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6307         * org-table.el (org-table-sum): Do not format the result with %g,
6308         it does rounding when there are too many digits.
6310         * org.el (org-map-entries): Protect the keyword-selecting variables.
6312 2008-09-23  Bastien Guerry  <bzg@altern.org>
6314         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6315         against all agenda files.
6317 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6319         * org-list.el: New file, aggregating list functions from org.el
6320         and org-export-latex.el.
6322         * org.el (org-edit-src-region-extra): New option.
6324 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6326         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6327         time before 1am.
6329 2008-09-22  Bastien Guerry  <bzg@altern.org>
6331         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6333 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6335         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6336         hline work correctly.
6337         (org-plot/gnuplot-script): Put commas at the end of each script
6338         line.
6340 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6342         * org.el (org-get-refile-targets): Replace links with their
6343         descriptions
6344         (org-imenu-get-tree): Replace links with their descriptions.
6346         * org-remember.el (org-remember-apply-template): Add a new
6347         expansion for adding properties to remember items.
6349         * org.el (org-add-log-setup): Skip over drawers (properties,
6350         clocks etc) when adding notes.
6352         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6353         items as well as the start and end times.
6355         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6356         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6358         * org-remember.el (org-get-x-clipboard): Use the compat
6359         function to get clipboard values when x-selection-value is
6360         unavailable. Use substring-no-properties instead of
6361         set-text-properties to remove text properties from the clipboard
6362         value.
6364         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6365         modeline clock string, and display the full todo value in the
6366         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6367         the currently clocked task.
6368         (org-clock-string-limit): Add a custom value for the maximum
6369         length of the clock string in the modeline.
6370         (org-clock-mode-map): Add a keymap for the modeline string
6372 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6374         * org-compat.el (org-propertize): New function.
6376 2008-09-20  Bastien Guerry  <bzg@altern.org>
6378         * org-export-latex.el (org-export-latex-tables): protect exported
6379         tables from further special chars conversion.
6380         (org-export-latex-preprocess): Preserve LaTeX environments.
6381         (org-list-parse-list): Parse descriptive lists.
6382         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6383         (org-list-to-texinfo): Export descriptive lists.
6384         (org-quote-chars): Remove.
6385         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6386         (org-export-latex-list-beginning-re): Rename to
6387         `org-list-beginning-re'
6388         (org-list-item-begin): Rename to `org-list-item-beginning'
6390 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6392         * org.el (org-refile): Allow refiling to the last entry in the
6393         buffer.
6394         (org-get-tags-at): Fix bug when inheritance is turned off.
6396 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6398         * org.el (org-indent-line-function): No longer check for src
6399         regions, this is too much overhead.
6401         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6402         matching.
6404         * org.el (org-scan-tags): Make sure that tags matching is not case
6405         sensitive.  TODO keyword matching is case sensitive, however, to
6406         avoid confusion with similar words that are not meant to be
6407         keywords.
6409 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6411         * org.el (org-get-local-tags-at): New function.
6412         (org-get-local-tags): New function.
6414         * org-exp.el (org-export-get-categories): New function.
6416         * org-agenda.el (org-sorting-choice)
6417         (org-agenda-sorting-strategy, org-agenda-get-todos)
6418         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6419         (org-agenda-get-scheduled, org-agenda-get-blocks)
6420         (org-entries-lessp): Implement sorting by TODO state.
6421         (org-cmp-todo-state): New defsubst.
6423         * org-colview.el (org-colview-construct-allowed-dates): New
6424         function.
6425         (org-columns-next-allowed-value): Use
6426         `org-colview-construct-allowed-dates'.
6428         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6429         function.
6430         (org-columns-next-allowed-value): Use
6431         `org-colview-construct-allowed-dates'.
6433 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6435         * org.el (org-protect-slash): New function.
6436         (org-get-refile-targets): Use `org-protect-slash'.
6438         * org-agenda.el (org-global-tags-completion-table): New variable.
6440         * org-exp.el (org-export-handle-export-tags): New function.
6441         (org-export-preprocess-string): Call
6442         `org-export-handle-export-tags'.
6444         * org-plot.el: New file.
6446         * org-publish.el (org-publish-expand-components): Function removed.
6447         (org-publish-expand-projects): Allow components to have components.
6449 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6451         * org.el (org-indent-line-function): Do not indent in regions that
6452         are external source code.
6453         (org-yank-and-fold-if-subtree): New function.
6455         * org-agenda.el (org-agenda-todayp): New function.
6456         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6457         `org-agenda-todayp'.
6459         * org.el (org-insert-heading-respect-content)
6460         (org-insert-todo-heading-respect-content): New commands.
6461         (org-insert-heading-respect-content): New option.
6462         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6464         * org-clock.el (org-clock-find-position): Make sure the note after
6465         the clock line gets moved into the new clock drawer.
6467 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6469         * org-id.el (org-id-new): New option.
6471 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6473         * org-table.el (org-table-copy-down): Avoid overflow during
6474         increment.  Use prefix argument 0 to temporarily disable the
6475         increment.
6477 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6479         * org-exp.el (org-export-as-html): Do not turn on the major mode
6480         if the buffer will be killed anyway.
6481         (org-get-current-options): Exclude the #+TEXT field.
6482         (org-export-as-html): Make sure text before the first headline is
6483         a paragraph.
6485         * org-publish.el (org-publish-org-to): Tell the exporter that this
6486         buffer will be killed, so it is not necessary to do major mode
6487         initialization.
6489         * org-archive.el (org-archive-to-archive-sibling): Show empty
6490         lines after folding the archive sibling.
6492         * org.el (org-log-note-extra): New variable.
6494 2008-09-05  Bastien Guerry  <bzg@altern.org>
6496         * org.el (org-additional-option-like-keywords): Added keywords for
6497         the _QUOTE, _VERSE and _SRC environments.
6499         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6500         exporting _QUOTE and _VERSE environments.
6502 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6504         * org-agenda.el (org-agenda-filter-by-tag): New command.
6506         * org-exp.el (org-get-current-options): Remove angular brackets
6507         from the date entry.
6509         * org.el (org-edit-fixed-width-region): New function.
6510         (org-edit-fixed-width-region): Also try
6511         `org-edit-fixed-width-region'.
6512         (org-edit-fixed-width-region-mode): New option.
6513         (org-activate-code): Only interprete lines starting with colon
6514         plus a space as example lines.
6516         * org-remember.el (org-remember-templates): Add nil instead of
6517         empty strings to fix the length of remember templates.
6519         * org-table.el (org-calc-default-modes): Fix the time format for
6520         calc, from 12 hour to 24 hour clock.
6522 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6524         * org-agenda.el (org-agenda-get-deadlines)
6525         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6526         entries that are pre-warnings of deadlines or reminders.
6528         * org.el (org-sort-entries-or-items): Make numeric and alpha
6529         comparisons ignore any TODO keyword and priority cookie.
6531         * org-remember.el (org-remember-handler): Reinterpretation of the
6532         prefix argument.
6534 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6536         * org-agenda.el (org-agenda-get-scheduled): Use new
6537         `org-scheduled' face.
6539         * org-faces.el (org-scheduled): New face.
6541         * org-wl.el (org-wl-open): Remove incorrect declaration.
6543         * org-gnus.el (org-gnus-store-link): Support for :to information
6544         in gnus links.
6546         * org-exp.el (org-export-as-html): Fixed typo in creator
6547         information.
6548         (org-export-protect-examples): New parameter indent.  Insert extra
6549         spaces only when this parameter is specified.
6550         (org-export-preprocess-string): Call `org-export-protect-examples'
6551         with an indentation parameter when exporting to ASCII.
6553         * org-remember.el (org-remember-templates)
6554         (org-remember-apply-template): Allow the file component to be a
6555         function.
6557         * org.el (org-goto-local-search-headings): Renamed from
6558         `org-goto-local-search-forward-headings'.  Added the possibility
6559         to search backwards.
6561 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6563         * org-export-latex.el (org-export-latex): New customization
6564         group.
6566         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6568 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6570         * org-exp.el (org-html-do-expand): Allow {} to terminate
6571         tex macro
6573 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6575         * org.el (org-buffer-list): Select buffers based on major mode,
6576         not on file name.
6578 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6580         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6581         face property.
6583         * org-colview.el (org-columns-display-here): Use
6584         `org-columns-modify-value-for-display-function'.
6586         * org-colview-xemacs.el (org-columns-display-here): Use
6587         `org-columns-modify-value-for-display-function'.
6589 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6591         * org.el (org-columns-modify-value-for-display-function): New option.
6603         * org-publish.el (org-publish-file): Make sure the directory match
6604         for the publishing directory works correctly.
6606         * org-agenda.el (org-agenda-execute-calendar-command)
6607         (org-agenda-diary-entry): Additional optional argument.
6609 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6611         * org-exp.el (org-export-as-html): Add attributes also in mailto
6612         and ftp links.
6614         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6623 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6625         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6626         sure that calls from `org-export-region-as-html' do not do the
6627         special check for a subtree.
6629 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6631         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6633 2008-07-20  Juri Linkov  <juri@jurta.org>
6635         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6636         new keymap `narrow-map' instead of binding "\C-xns".
6638 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6640         * org.el (org-open-file): Use
6641         `org-open-directory-means-index-dot-org'.
6642         (org-open-directory-means-index-dot-org): New option.
6644 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6646         * org.el (org-make-link-string): Remove link attributes from
6647         description.
6648         (org-open-at-point): Remove link attributes bevore using the path.
6650         * org-exp.el (org-export-as-html): Handle link attributes.
6652         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6654         * org-table.el (org-table-to-lisp): New function.
6656         * org.el (org-narrow-to-subtree): Do not include the final newline
6657         into the narrowed region.
6659         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6660         bug with user-define skipping condition.
6662 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6664         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6666 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6668         * org-exp.el (org-export-html-style-default): Automatic overflow
6669         handling for pre fields.
6670         (org-export-as-ascii, org-export-as-html): Change default format
6671         for time stamp.
6673         * org-table.el (org-table-export): Offer completion for translator
6674         functions, and do not require a heading above the table.
6676         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6677         Cater for the case of a list starting in the first line of the
6678         buffer.
6680 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6682         * org-publish.el (org-publish-find-title): Bug fix.
6683         (org-publish-org-index): Implement new :index-style option.
6685 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6687         * org-publish.el (org-publish-timestamp-filename): Use
6688         SHA1-encoded file names in the timestamp directory.
6690 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6692         * org-publish.el (org-publish-needed-p): Be verbose about files
6693         published and files skipped.
6695         * org-exp.el (org-export-preprocess-string): Swap link
6696         normalization and inernal link targeting.
6698         * org-publish.el (org-publish-needed-p): Create timestamp
6699         directory when it does not exist.
6701 2008-07-04  Bastien Guerry  <bzg@altern.org>
6703         * org-clock.el (org-clock-out-when-done): Doc fix.
6705         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6707         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6708         Ignore case when searching for the COMMENT cookie at export time.
6710 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6712         * org-exp.el (org-get-file-contents)
6713         (org-get-and-remove-property): New functions.
6714         (org-export-handle-include-files): Handle the new prefix options.
6715         (org-export-as-html): Fix the verse environment.
6717 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6719         * org.el (org-time=, org-time<, org-time<=, org-time>)
6720         (org-time>=, org-time<>, org-2ft): New functions.
6721         (org-op-to-function): Also provide for the time testing fucntions.
6723 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6725         * org-exp.el (org-export-html-style-default): New constant.
6727 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6729         * org-exp.el (org-export-html-style-extra): New variable.
6730         (org-export-splice-style): New function.
6732 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6734         * org-exp.el (org-export-plist-vars, org-export-as-html):
6735         Implement `org-export-creator-info'.
6736         (org-export-creator-info): New option.
6738 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6740         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6741         (org-property-drawer-re, org-clock-drawer-re): New constants.
6743 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6745         * org-exp.el (org-icalendar-use-deadline)
6746         (org-icalendar-use-scheduled): New options.
6747         (org-icalendar-include-todo): Default changed to t.
6748         (org-print-icalendar-entries): Implement better utilization of
6749         scheduling and deadline time stamps.
6750         (org-export-target-internal-links, org-export-as-html): Allow file
6751         lines without the "file:" prefix if the file path is an absolute
6752         path or starts with ".".
6754         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6755         lastweek etc.
6756         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6758 2008-06-18  Glenn Morris  <rgm@gnu.org>
6759         * org.el (org-map-entries): Let-bind `file'.
6761 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6763         * org.el (org-agenda-skip-archived-trees): Docstring now
6764         discourages using this.
6765         (org-scan-tags): Check for org-agenda-archives-mode.
6766         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6767         (org-agenda-files): Functionality of second arg changed.
6769         * org-agenda.el (org-agenda-archives-mode): New variable
6770         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6771         (org-search-view, org-todo-list, org-tags-view)
6772         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6773         `ifmode' argument.
6774         (org-agenda-quit): Reset the archives mode.
6775         (org-agenda-archives-mode): New command.
6776         (org-agenda-set-mode-name): Include archives info.
6778 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6780         * org.el (org-paste-subtree): Make sure the yanked headline is
6781         visible if it was yanked at a visible point.
6782         (org-move-item-up): Fix the bug with moving white space at the end
6783         of the item.
6784         (org-show-empty-lines-in-parent): New function.
6786 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6788         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6790         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6792         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6793         agenda prefix as well.
6795         * org-publish.el (org-publish-org-index): Make a properly indented
6796         list.
6798         * org.el (org-calendar-agenda-action-key): New option.
6799         (org-get-cursor-date): New function.
6800         (org-mark-entry-for-agenda-action): New command.
6801         (org-overriding-default-time): New variable.
6802         (org-read-date): Respect `org-overriding-default-time'.
6804         * org-remember.el (org-remember-apply-template): Respect the
6805         ovverriding default time.
6807         * org-agenda.el (org-agenda-action-marker): New variable.
6808         (org-agenda-action): New command.
6809         (org-agenda-do-action): New function.
6811 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6813         * org.el (org-schedule, org-deadline): Protect scheduled and
6814         deadline tasks against changes that accidently remove the
6815         repeater.  Also show a message with the new date when done.
6817 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6819         * org.el (org-beginning-of-line): Cater for the case when there
6820         are tags but no headline text.
6821         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6822         it set.
6824 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6826         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6827         the return value is nil instead of "nil" when there is no match.
6829         * org-exp.el (org-insert-centered): Use fill-column instead of
6830         80.
6831         (org-export-as-ascii): Use string-width to measure the width of
6832         the heading.
6834         * org.el (org-diary-to-ical-string): No longer kill buffer
6835         FROMBUF, this is now done by the caller.
6837         * org-exp.el (org-print-icalendar-entries): Move the call to
6838         `org-diary-to-ical-string' out of the loop, and kill the buffer
6839         afterwords.
6841         * org-remember.el (org-remember-visit-immediately): Position
6842         cursor after moving to the note.
6843         (org-remember-apply-template): Use a text property to record the
6844         cursor position.
6845         (org-remember-handler): Align tags after pasting the note.
6847 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6849         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6851         * org-agenda.el (org-agenda-open-link): If there is an
6852         org-bbdb-name property in the current line, jump to that bbdb
6853         entry.
6855         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6856         text property, so that the agenda knows where this entry comes
6857         from.
6859         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6860         interaction between clocking-in from the agenda, and  automatic
6861         task state switching.
6863         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6865         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6866         zmacs-region stays after this command in XEmacs.
6868 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6870         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6872         * org-remember.el (org-remember-templates): Fix bug in
6873         customization type definition.
6875         * org.el (org-map-entries): New function.
6877 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6879         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6880         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6882 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6884         * org-remember.el (org-jump-to-target-location): New variable.
6885         (org-remember-apply-template): Set
6886         `org-remember-apply-template' if requested by template.
6887         (org-remember-handler): Start an idle timer to jump to
6888         remember location.
6890         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6892         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6893         file tags.
6894         (org-get-tags-at): Add the content of `org-file-tags'.
6896         * org-exp.el (org-export-handle-comments): Fix bug with several
6897         comment lines after each other.
6898         (org-number-to-roman, org-number-to-counter): New functions.
6899         (org-export-section-number-format): New option.
6901 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6903         * org-exp.el (org-export-protect-examples): Catch the case of a
6904         missing end_example line.
6906         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6907         `org-file-tags' to nil.
6909         * org-colview.el (org-columns-next-allowed-value): Handle next
6910         argument NTH to directly select a value.
6912         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6913         argument NTH to directly select a value.
6915 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6917         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6919 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6921         * org.el (org-columns-ellipses): New option.
6923 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6925         * org-colview.el (org-columns-add-ellipses): New function.
6926         (org-columns-compact-links): New function.
6927         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6928         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6929         when in agenda.
6930         (org-columns-edit-value): Fixed bug with editing values from
6931         agenda column view.
6932         (org-columns-redo): Also redo the agenda itself.
6934 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6936         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6937         option.
6939         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6941         * org-exp.el (org-export-ascii-preprocess): Renamed from
6942         `org-export-ascii-clean-string'.
6943         (org-export-kill-licensed-text)
6944         (org-export-define-heading-targets)
6945         (org-export-handle-invisible-targets)
6946         (org-export-target-internal-links)
6947         (org-export-remove-or-extract-drawers)
6948         (org-export-remove-archived-trees)
6949         (org-export-protect-quoted-subtrees)
6950         (org-export-protect-verbatim, org-export-protect-examples)
6951         (org-export-select-backend-specific-text)
6952         (org-export-mark-blockquote-and-verse)
6953         (org-export-remove-comment-blocks-and-subtrees)
6954         (org-export-handle-comments, org-export-mark-radio-links)
6955         (org-export-remove-special-table-lines)
6956         (org-export-normalize-links)
6957         (org-export-concatenate-multiline-links)
6958         (org-export-concatenate-multiline-emphasis): New functions,
6959         obtained from spliiting the export preprocessor.
6961         * org-table.el (org-table-recalculate): Improve error message if
6962         the row number is invalid.
6964 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6966         * org-archive.el (org-archive-save-context-info): Fix bugs in
6967         customization setup and docstring.
6969         * org-exp.el (org-export-html-style): Changed the size of in the
6970         <pre> element to 90%.
6972 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6974         * org.el (org-find-src-example-start): Function removed.
6975         (org-edit-src-find-region-and-lang): New function.
6977 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6979         * org.el (org-edit-src-exit): New function.
6980         (org-exit-edit-mode): New minor mode.
6982         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6983         comment-like lines from protected examples.
6985         * org.el (org-edit-src-example, org-find-src-example-start)
6986         (org-protect-source-example, org-edit-special): New functions.
6988 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6990         * org-publish.el (org-publish-project-alist): Fix typo in
6991         docstring.
6992         (org-publish-project-alist): Handle :index-title property.
6994 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6996         * org-export-latex.el (org-export-as-latex): Make sure region
6997         bounds are correct.  Parse subtree properties relating to export.
6999         * org-exp.el (org-export-add-options-to-plist): New function.
7000         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7002 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7004         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7005         EXPORT_TITLE.
7007         * org-exp.el (org-export-get-title-from-subtree)
7008         (org-export-as-ascii, org-export-as-html): Make sure the original
7009         region-beginning and region-end are used, even after moving
7010         point.
7011         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7012         property.
7014         * org-remember.el (org-remember-last-stored-marker): New variable.
7015         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7016         (org-remember-handler): Also use marker to remember
7017         last-stored position.
7019         * org.el (org-goto-marker-or-bmk): New function.
7021 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7023         * org.el (org-file-properties): Renamed from `org-local-properties'.
7024         (org-scan-tags): Take file tags into account.
7025         (org-tags-match-list-sublevels): Default changed to t.
7027         * org-exp.el (org-export-as-html): Close paragraph after a
7028         footnote.
7030         * org.el (org-update-parent-todo-statistics): New function.
7032         * org-exp.el (org-icalendar-store-UID): New option.
7033         (org-icalendar-force-UID): Option removed.
7034         (org-print-icalendar-entries): IMplement UIDs.
7036 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7038         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7040 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7042         * org-faces.el (org-column): Document how this face is being used
7043         and why sometimes the background faces shine through.
7045         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7047         * org-publish.el (org-publish-attachment): Create publishing
7048         directory if it does not yet exist.
7050         * org-table.el (org-calc-default-modes): Change default number
7051         format to (float 8).
7053         * org.el (org-olpath-completing-read): New function.
7054         (org-time-clocksum-format): New option.
7055         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7057         * org-clock.el (org-clock-display, org-clock-out)
7058         (org-update-mode-line): Use `org-time-clocksum-format'.
7060         * org-colview-xemacs.el (org-columns-number-to-string): Use
7061         `org-time-clocksum-format'.
7063         * org-colview.el (org-columns-number-to-string): Use
7064         `org-time-clocksum-format'.
7066 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7068         * org-id.el: New file, move from contrib to core.
7070         * org-exp.el (org-icalendar-force-UID): New option.
7072 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7074         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7075         shifted by one day if theere is a date range without an end
7076         time.
7078         * org.el (org-try-structure-completion): New function.
7080 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7082         * org.el (org-set-font-lock-defaults): Improve fontification of
7083         description lists.
7084         (org-insert-item): Handle description lists.
7085         (org-adaptive-fill-function): Improve auto indentation in
7086         description lists.
7088         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7089         Implement VERSE environment.
7090         (org-export-preprocess-string): Implement the COMMENT
7091         environment.
7093         * org-export-latex.el (org-export-latex-preprocess): Implement
7094         VERSE environment.
7096 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7098         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7099         option.
7101 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7103         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7105         * org.el (org-quote-csv-field): New functions.
7107         * org-table.el (org-table-export-default-format): Remove :splice
7108         from default format, we get the same effect by not specifying
7109         :tstart and :tend.
7110         (org-table-export): Improve setup, distinguish better between
7111         interactive and non-interactive use, allow specifying the format
7112         on the fly, better protection against wrong file names.
7113         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7114         and :tend when :splice is omitted.
7116 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7118         * org-clock.el (org-clock-select-task): Make sure the selection
7119         letters are 1-9 and A-Z, no special characters.
7121 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7123         * org-exp.el (org-export-htmlize): New group.
7124         (org-export-htmlize-output-type)
7125         (org-export-htmlize-css-font-prefix): New options.
7126         (org-export-htmlize-region-for-paste): New function.
7127         (org-export-htmlize-generate-css): New command.
7129 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7131         * org/org.el (org-modules, org-format-latex-options):
7132         * org/org-archive.el (org-archive-stamp-time)
7133         (org-archive-save-context-info):
7134         * org/org-faces.el (org-hide):
7135         * org/org-irc.el (org-irc-parse-link):
7136         * org/org-macs.el (org-call-with-arg, org-autoload):
7137         * org/org-mew.el (org-mew-store-link):
7138         * org/org-remember.el (org-remember-store-without-prompt)
7139         (org-remember-templates): Fix typos in docstrings.
7141         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7143         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7144         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7145         (org-bbdb-anniv-split): Fix typos in docstrings.
7147         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7148         (org-publish-use-timestamps-flag): Reflow docstring.
7149         (org-publish-files-alist): Fix typos in docstring.
7151 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7153         * org.el (org-set-visibility-according-to-property): New function.
7154         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7155         and compute the regular expressions, and update font-lock.
7156         (org-property-re): Allow a dash in property names.
7158         * org-archive.el (org-extract-archive-file): Insert the file name
7159         without the path into the format, to allow the location format to
7160         contain a subdirectory.
7162         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7163         of buffer, and the `org-agenda-type' property undefined, use the
7164         value from the character before.
7166         * org.el (org-add-planning-info): Don't let indentation for
7167         would-be timestamp become extra whitespace at the end of headline.
7169 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7171         * org.el (org-remove-double-quotes, org-file-contents): New
7172         functions.
7174         * org-exp.el (org-infile-export-plist): Also parse the
7175         contents of #+SETUPFILE files, recursively.
7177         * org.el (org-set-regexps-and-options): Also parse the
7178         contents of #+SETUPFILE files, recursively.
7180         * org-exp.el (org-export-handle-include-files): New function.
7181         (org-export-preprocess-string): Call
7182         `org-export-handle-include-files'.
7184         * org.el (org-delete-property-globally)
7185         (org-delete-property, org-set-property): Ignore case during
7186         completion.
7187         (org-set-property): Use `org-completing-read' instead of
7188         `completing-read'.
7190         * org.el (org-complete-expand-structure-template): New,
7191         experimental function.
7192         (org-structure-template-alist): New, experimental option.
7193         (org-complete): Call `org-complete-expand-structure-template'.
7195 2008-05-06  Bastien Guerry  <bzg@altern.org>
7197         * org-export-latex.el (org-export-latex-preprocess): Added
7198         support for blockquotes.
7200 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7202         * org.el (org-read-date-analyze): Catch the case where only a
7203         weekday is given.
7205 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7207         * org.el (org-set-font-lock-defaults): Make the description
7208         tag bold.
7210         * org-exp.el (org-export-as-html, org-close-li): Implement
7211         description lists.
7213 2008-05-04  Jason Riedy  <jason@acm.org>
7215         * org-table.el (*orgtbl-default-fmt*): New variable.
7216         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7217         when there is no other fmt available.
7219         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7220         :tend to suppress the appropriate string.
7222         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7223         table.
7225 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7227         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7228         read date.
7230         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7231         New function.
7233         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7234         New function.
7236 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7238         * org-clock.el (org-clock-find-position): Don't include notes
7239         into clock drawer.
7241         * org-archive.el (org-archive-subtree): No longer remove an
7242         extra line after cutting the subtree.  `org-cut-subtree' already
7243         takes care of this.
7245         * org-remember.el (org-remember-handler): Only kill the target
7246         buffer if it does not contain the running clock.
7248         * org.el (org-markers-to-move): New variable.
7249         (org-save-markers-in-region, org-check-and-save-marker)
7250         (org-reinstall-markers-in-region): New function.
7251         (org-move-subtree-down, org-copy-subtree): Remember relative
7252         marker positions before cutting.
7253         (org-move-subtree-down, org-paste-subtree): Restore relative
7254         marker positions after pasting.
7256         * org-remember.el (org-remember-clock-out-on-exit): New option.
7257         (org-remember-finalize): Clock out only if the setting in
7258         `org-remember-clock-out-on-exit' requires it.
7259         (org-remember-handler): Do the cleanup in the buffer, to make sure
7260         that the clock marker remains in tact.
7262 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7264         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7265         (org-clock-in): Make sure that also tasks outside the narrowed
7266         region will be clocked in correctly.
7267         (org-clock-insert-selection-line): Widen the buffer so that we can
7268         find the correct task heading.
7270         * org.el (org-base-buffer): New function.
7272         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7273         and ";" are escaped.
7274         (org-print-icalendar-entries): Also apply
7275         `org-icalendar-cleanup-string' to the headline, not only to the
7276         summary property.
7278 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7280         * org-exp.el (org-export-preprocess-hook): New hook.
7281         (org-export-preprocess-string): Call
7282         `org-export-preprocess-hook'.
7284         * org.el (org-font-lock-hook): New variable.
7285         (org-font-lock-hook): New function.
7286         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7288 ;; Local Variables:
7289 ;; coding: utf-8
7290 ;; add-log-time-zone-rule: t
7291 ;; End:
7293     Copyright (C) 2008  Free Software Foundation, Inc.
7295   This file is part of GNU Emacs.
7297   GNU Emacs is free software: you can redistribute it and/or modify
7298   it under the terms of the GNU General Public License as published by
7299   the Free Software Foundation, either version 3 of the License, or
7300   (at your option) any later version.
7302   GNU Emacs is distributed in the hope that it will be useful,
7303   but WITHOUT ANY WARRANTY; without even the implied warranty of
7304   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7305   GNU General Public License for more details.
7307   You should have received a copy of the GNU General Public License
7308   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7310 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c