Add support for BEAMER notes.
[org-mode.git] / lisp / ChangeLog
bloba1cf85d038a73be55d2ec47c7a6dee2530617927
1 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-beamer.el (org-beamer-environments-default): Add the note
4         environments.
5         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
6         lines and collect and combine the content.
7         (org-beamer-after-initial-vars): Check for note tags and make sure
8         they will be seen like a property.
10         * org.el (org-offer-links-in-entry): Fix bug when there is a
11         single link.
13         * org-exp.el (org-export): Make sure the mark is activated, also
14         when `transient-mark-mode' is off.
16         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
17         (org-agenda-search-view-search-words-only): Obsolete variable, is
18         now an alias for `org-agenda-search-view-always-boolean'.
19         (org-agenda-search-view-force-full-words): New option.
20         (org-search-view): Improve docstring, and implement a better logic
21         for Boolean and phrase searches.
22         (org-agenda-last-search-view-search-was-boolean): New variable.
23         (org-agenda-manipulate-query): Consider the type of the last
24         search when modifying the search string.
26 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
28         * org-latex.el (org-export-as-latex): Do the first letbind in the
29         right moment.
31         * org-agenda.el (org-get-entries-from-diary): Add the new face to
32         these entries.
34         * org-faces.el (org-agenda-diary): New face.
36         * org.el (org-make-link-regexps): Allow regexp-special characters
37         in link types.
38         (org-open-file): When in-emacs is `system', also force system
39         opening, like when the value was `(16)'.
40         (org-update-statistics-cookies): Handle entries without children.
42         * org-exp.el
43         (org-export-preprocess-before-normalizing-links-hook): New hook.
44         (org-export-preprocess-string): Run the new hook.
46         * org.el (org-offer-links-in-entry): Make RET open all links.
48         * org-html.el (org-export-as-html): Remove any left-over display
49         properties in the html file.
51         * org-wl.el (org-wl-store-link): Work-around for format bug with
52         text properties.
54         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
55         invisibility while adding the graphs.
57 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
59         * org-remember.el (org-select-remember-template): Use C letter to
60         customize remember templates.
62         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
63         Move cursor to next visible line.
65 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
67         * org-beamer.el (org-beamer-sectioning): Leave columns environment
68         by specifying 0 or 1 for column width.
69         (org-beamer-column-widths): Make 0 stand for 0.0.
71 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
73         * org-exp.el (org-export-mark-radio-links): Don't match inside
74         <<target>>.
76         * org.el (org-format-latex-header-extra): New variable.
77         (org-format-latex): Set org-format-latex-header-extra from
78         in-buffer stuff.
79         (org-format-latex): Add org-format-latex-header-extra to the
80         variables on which image creation depends.
81         (org-create-formula-image): Add the header stuff from in-buffer
82         settings.
83         (org-read-date-analyze): Base the analysis for future preference
84         on NOW, not on the default date.
86         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
87         for TODO keyword in inline tasks.
89         * org.el (org-log-note-headings): New headings for removing
90         deadline or scheduling date.
91         (org-deadline, org-schedule): Arrange for logging when removing a
92         date.
93         (org-add-log-note): Handle deadline and scheduling removal.
95 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
97         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
99 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
101         * org-agenda.el (org-diary-class): New function.
103 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
105         * org-latex.el (org-export-latex-preprocess): Do process the text
106         of a radio target.
108 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
110         * org.el (org-entry-properties): Add TIMESTAMP properties back
111         in.
113 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
115         * org.el (org-all-time-keywords): New variable.
116         (org-set-regexps-and-options): Set `org-all-time-keywords'.
117         (org-entry-blocked-p): New function.
118         (org-special-properties): Add BLOCKED as a new special property.
119         (org-entry-properties): New optional argument SPECIFIC, only parse
120         for this property when it is specified.
121         (org-entry-get): Pass a SPECIFIC argument to
122         `org-entry-properties'.
124         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
126 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
128         * org-latex.el (org-export-latex-tables): No forced line end if
129         there is no caption.
131 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
133         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
134         package.
136         * org-latex.el (org-export-latex-tables): Only add a caption when
137         macro in in longtable environments if one has been defined.
139         * org-html.el (org-export-as-html): Only take title from buffer if
140         not exporting body-only.
142         * org-latex.el (org-export-latex-preprocess): Better version of
143         the regular expression for protecting LaTeX macros.
144         (org-export-latex-preprocess): Start searching for macros to
145         protect from beginning of buffer.
147         * org-exp.el (org-export-target-internal-links): Check for
148         protectedness earlier in the string.
150         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
151         case sensitively.
153         * org-id.el (org-id-store-link): Match TODO keywords case
154         sensitively.
156         * org.el (org-heading-components, org-get-outline-path)
157         (org-display-outline-path): Match TODO keywords case sensitively.
159         * org-latex.el (org-export-as-latex): Ignore read-only
160         properties.
162         * org-exp.el (org-export-preprocess-string): Remove any
163         `read-only' properties.
165         * org-agenda.el (org-agenda-inactive-leader): New option.
166         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
167         (org-tags-view): Prompt for matcher if MATCH is an empty string.
168         (org-todo-list): Prompt for matcher if ARG is an empty string.
170 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
172         * org.el (org-open-link-functions): New hook.
173         (org-open-at-point): Run `org-open-link-functions'.
175 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
177         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
178         stamps as well.
180         * org.el (org-inhibit-startup-visibility-stuff): New variable.
181         (org-mode): Don't do startup visibility if inhibited.
182         (org-outline-overlay-data, org-set-outline-overlay-data): New
183         functions.
184         (org-save-outline-visibility): New macro.
185         (org-log-note-headings): Document that one should not change the
186         `state' note format.
188 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
190         * org.el (org-make-link-regexps): Capture link path into a group.
192 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
194         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
195         the options plist.
197 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
199         * org.el (org-startup-with-beamer-mode): New option.
200         (org-property-changed-functions)
201         (org-property-allowed-value-functions): New hooks.
202         (org-entry-put, org-property-get-allowed-values): Run the new
203         hooks.
204         (org-property-next-allowed-value): Run the new hooks.
206         * org-exp.el (org-export-select-backend-specific-text): Add the
207         special beamer tags.
209         * org-beamer.el
210         (org-export-preprocess-before-selecting-backend-code-hook): New
211         file.
213         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
214         (org-export-as-latex): Run
215         `org-export-latex-after-initial-vars-hook'.
216         (org-export-latex-format-toc-function)
217         (org-export-latex-make-header): Call
218         `org-export-latex-format-toc-function'.
220         * org.el (org-fill-template): Make template searches case sensitive.
222         * org-exp.el (org-export): Use "1" as a sign to export only the
223         subtree.
225         * org-colview-xemacs.el (org-columns-edit-value): Use
226         org-unrestricted property.
228         * org-colview.el (org-columns-edit-value):  Use
229         org-unrestricted property.
231         * org.el (org-compute-property-at-point): Set org-unrestricted
232         text property if the list contains ":ETC".
233         (org-insert-property-drawer):  Use
234         org-unrestricted property.
236         * org-exp.el
237         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
238         (org-export-preprocess-string): Run
239         `org-export-preprocess-before-selecting-backend-code-hook'.
241         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
243         * org-latex.el (org-export-region-as-latex): Run
244         `org-export-first-hook'.
246         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
248         * org-docbook.el (org-export-as-docbook): Run
249         `org-export-first-hook'.
251         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
253         * org-exp.el (org-export-first-hook): New hook.
255 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
257         * org-list.el (org-previous-item): Exit at the beginning of the
258         buffer.
260         * org-id.el (org-id-locations-save): Only write the id locations
261         if any are defined.
263         * org-archive.el (org-archive-all-done): Make this work in a file
264         with org-odd-levels-only set.
266         * org.el (org-get-refile-targets): Catch the case when a buffer
267         has no file.
269         * org-latex.el (org-export-as-latex): Cleanup forced line ends
270         where they are not needed.
271         (org-export-latex-subcontent): Remove unnecessary newlines.
273 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
275         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
276         (org-export-latex-fontify): Fix regexp bug that takes special
277         care of protecting the right boundary characters in emphasis
278         matches.
279         (org-export-latex-preprocess): Allow multiple arguments to latex
280         macros.
282         * org.el (org-make-link-regexps): Use John Gruber's regexp for
283         urls.
285         * org-macs.el (org-re): Interpret :punct: in regexps.
287         * org-exp.el (org-export-replace-src-segments-and-examples): Also
288         take the final newline after the END line.
290         * org.el (org-clean-visibility-after-subtree-move): Only fix
291         entries that are not entirely invisible already.
292         (org-insert-link): Respect org-link-file-path-type for
293         "docview:" links in addition to "file:" links.
295 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
297         * org-exp.el (org-export-format-source-code-or-example): Avoid
298         additional extra white lines in LaTeX.
300         * org-list.el (org-list-parse-list): Leave empty lines after the
301         list, don't consider them as part of the list.
303         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
304         searches.
306         * org-clock.el (org-clock-select-task): Convert integer to
307         character for XEmacs.
309 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
311         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
312         compatible.
314 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
316         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
317         variable.
318         (org-set-tags): Use it.
320 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
322         * org-list.el (org-empty-line-terminates-plain-lists): Update
323         docstring.
325         * org.el (org-format-latex): Fix link creation for processed latex
326         snippets.
328 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
330         * org-footnote.el (org-footnote-normalize): Protect replacement
331         text.
333         * org.el (org-inside-latex-macro-p): Save match data.
335 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
337         * org-docview.el: New file.
339 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
341         * org-latex.el (org-export-latex-class-options): New variable.
342         (org-export-latex-set-initial-vars): Use the class options.
344         * org.el (org-forward-same-level): Stop at headings that start
345         with an invisible character.
346         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
348 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
350         * org-footnote.el (org-footnote-normalize): Don't take optional
351         arguments in LaTeX macros as footnotes.
353         * org.el (org-inside-latex-macro-p): New function.
355         * org-latex.el (org-latex-to-pdf-process): Change customization
356         group to `org-export-pdf'.
358         * org-agenda.el (org-agenda-get-blocks): Look at time string also
359         on days after the first one.
361         * org.el (org-insert-heading): Also check for item before assuming
362         before-first-heading condition.
364         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
365         (org-export-pdf-logfiles): New option.
366         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
367         (org-export-pdf-logfiles): Fix customization type.
369         * org.el (org-insert-link): Improve error message when there is no
370         default link to select with RET.
372         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
373         parameter list.
375 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
377         * org-latex.el (org-export-latex-parse-global)
378         (org-export-latex-parse-content)
379         (org-export-latex-parse-subcontent): Use
380         `org-re-search-forward-unprotected'.
381         (org-export-as-pdf): Remove log files produced by XeTeX.
383         * org-macs.el (org-re-search-forward-unprotected): New function.
385 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
387         * org-colview.el (org-agenda-colview-summarize): Sort out some
388         confusion between properties and titles, which resulted in
389         agenda summaries not working if a title was set for a column.
391 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
393         * org-mobile.el (org-mobile-agendas): New option.
394         (org-mobile-sumo-agenda-command): Select the right agendas.
396         * org-latex.el (org-export-latex-format-image): Preserve the
397         original-indentation property.
399 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
401         * org-clock.el (org-clock-insert-selection-line): Catch error when
402         an old tasks no longer exists.
404         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
405         (org-export-as-pdf): Don't remove the old PDF file before making
406         the new one.
408         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
409         (org-mouse-context-menu): Use `org-looking-back'.
411         * org.el (org-cycle-level): Use `org-looking-back'.
413         * org-list.el (org-cycle-item-indentation): Use
414         `org-looking-back'.
416         * org-compat.el (org-looking-back): New function.
418         * org.el (org-insert-heading): Catch before-first-headline when
419         inserting a headline.
421 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
423         * org-latex.el (org-export-latex-format-image): Indent figure
424         environment, so that it does not interrupt plain list.
426         * org.el (org-open-at-point): Allow long link descriptions.
428 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
430         * org-html.el (org-export-as-html): Remove empty lines at the
431         beginning of the exported text.
433 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
435         * org-protocol.el (org-protocol-remember): Cater for empty title,
436         region, link.
438         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
439         agenda after adding new entry.
440         (org-agenda-get-represented-tags): New function.
441         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
442         to get a list of tags in the agenda.
444         * org-datetree.el (org-datetree-find-day-create): Fix regular
445         expression.
447         * org.el (org-display-outline-path): Use a format specifier for
448         message, to avoid problems with heading containing `%'.
450         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
451         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
452         (org-agenda-fix-displayed-tags): New function.
453         (org-agenda-do-context-action): Just call
454         `org-display-outline-path', without piping the result through
455         `message'.
457         * org-latex.el (org-export-latex-preprocess): Protect secondary
458         footnote references.
460         * org-indent.el (org-indent-initialize): Avoid empty strings as
461         line prefixes.
463         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
464         hat checking for the mark does not throw an error.
465         (org-agenda-diary-entry-in-org-file): Catch the case that there is
466         not `day' text property in the cursor line.
468         * org.el (org-sort-entries-or-items): Make sure that the final
469         entry has a newline before doing the sorting.
471         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
472         property at the beginning of the line.
474         * org.el (org-make-link-string): Don't allow a description with
475         only white space.
477 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
479         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
480         (org-agenda-insert-diary-as-top-level): New function.
481         (org-agenda-add-entry-to-org-agenda-diary-file): Call
482         `org-agenda-insert-diary-as-top-level'.
484         * org.el (org-occur-in-agenda-files): Make sure none of the
485         buffers is narrowed.
486         (org-activate-plain-links): Add the face property here.
487         (org-set-font-lock-defaults): Do not add the face to plain links,
488         the activator function does this.
490         * org-habit.el (org-is-habit-p): Add doc string.
492 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
494         * org-archive.el (org-archive-subtree-default-with-confirmation):
495         Autoload.
497         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
498         after match optional (happens at the end of a line...).
500         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
501         for special blocks.
503         * org-faces.el (org-copy-face): Set lisp indentation.
504         (org-quote, org-verse): New faces.
506         * org-agenda.el (org-agenda-remove-date): Remove variable.
508 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
510         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
512 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
514         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
515         hash keys to cache and re-use images generated by the
516         org-exp-blocks interface to ditaa and dot.
518 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
520         * org-html.el (org-export-as-html): Move the home/up link into
521         the content div.
523         * org.el (org-export-latex-packages-alist): Option definition
524         moved here from org-latex.el.
526 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
528         * org.el (org-format-latex): Latex images are now saved to files
529         named by the sha1 hash of the latex source text avoiding
530         regeneration of identical images.
532 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
534         * org-html.el (org-export-html-home/up-format): Add an ID to the
535         up/home div.
537 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
539         * org-wl.el (org-wl-store-link): Handle the case that
540         `wl-use-petname' is set.
542         * org.el (org-set-effort): Improve prompt.
543         (org-get-outline-path): Widen to get full path.
544         (org-compact-display-after-subtree-move): Function removed.
546         * org-latex.el (org-export-as-latex): Add the :drawers property.
548 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
550         * org.el (org-speed-commands-user): Allow documentation headlines.
551         (org-speed-commands-default): Organize the value of this constant
552         with descriptive headlines.
553         (org-print-speed-command): Output the headlines.
555 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
557         * org-agenda.el (org-agenda-show-outline-path): New option.
558         (org-agenda-do-context-action): New function.
559         (org-agenda-next-line, org-agenda-previous-line): Use
560         `org-agenda-do-context-action'.
562         * org.el (org-use-speed-commands): Allow function value.
563         (org-speed-commands-default): Make headline motion safe, so that
564         these commands always end on a headline.
565         (org-speed-commands-default): New key `v' for `org-agenda'.
566         (org-speed-move-safe): New function.
567         (org-self-insert-command): Use the function value of
568         `org-use-speed-commands'.
569         (org-get-outline-path): Improve docstring.
570         (org-format-outline-path): New function.
571         (org-display-outline-path): New function.
573 2009-11-12  John Wiegley  <jwiegley@gmail.com>
575         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
576         a string, use that to find the LOGBOOK drawer.
578 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
580         * org.el (org-clone-subtree-with-time-shift): Make it work at the
581         end of the buffer.
583         * org-mobile.el (org-mobile-write-checksums): Specify coding
584         system.
585         (org-mobile-timestamp-buffer): Keep local variable/mode line at
586         beginning of buffer.
588         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
590         * org.el (org-block-todo-from-children-or-siblings-or-parent)
591         (org-block-todo-from-checkboxes): Do not block changes to a nil
592         TODO state.
594 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
596         * org-habit.el (org-habit-parse-todo): Indicate which habit is
597         wrongly set up in the error messages.
599         * org-colview.el (org-columns-display-here): Don't try to
600         calculate values if the underlying property is not set.
601         (org-columns-string-to-number): Convert age strings back into
602         fractional days.
603         (org-agenda-colview-summarize): Handle extended summary types
604         properly.
606         * org-colview-xemacs.el (org-columns-display-here): Don't try to
607         calculate values if the underlying property is not set.
608         (org-columns-string-to-number): Convert age strings back into
609         fractional days.
610         (org-agenda-colview-summarize): Handle extended summary types
611         properly.
613 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
615         * org-exp.el (org-export-format-drawer-function): New variable.
616         (org-export-format-drawer): New function.
617         (org-export-preprocess-string): Pass the backend as a parameter to
618         `org-export-remove-or-extract-drawers'.
619         (org-export-remove-or-extract-drawers): New parameter BACKEND.
621         * org-protocol.el (org-protocol-char-to-string): New defsubst.
623 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
625         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
626         message when no block is selected.
628         * org-latex.el (org-export-latex-links): Check for protectedness
629         in the last matched character, not after the match.
631         * org-datetree.el (org-datetree-find-date-create): Respect
632         restriction when KEEP-RESTRICTION is set.
633         (org-datetree-file-entry-under): New function.
634         (org-datetree-cleanup): New command.
636 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
638         * org-src.el (org-edit-src-code): New optional argument context
639         allows calling functions to avoid altering the saved window
640         configuration.
641         (org-edit-src-exit): Do not restore window configuration when this
642         function is used in the context of saving the edit buffer.
644 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
646         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
647         instances to switching to with-current-buffer, because these seem
648         to cause problems - no idea why.
650         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
651         Require diary-lib for (diary-date-display-form).
653         * org.el (org-log-reschedule, org-log-redeadline): New options.
654         (org-log-note-headings): Add templates for rescheduling and
655         deadline changing.
656         (org-startup-options): Add in-buffer settings for logging changing
657         schedule and deadline time stamps.
658         (org-deadline, org-schedule): Check for existing date and arrange
659         for logging if the user requests it.
660         (org-add-log-note): Prepare proper note buffers for rescheduling
661         and deadline changes.
663 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
665         * org-agenda.el (org-agenda-diary-entry-in-org-file)
666         (org-agenda-add-entry-to-org-agenda-diary-file)
667         (org-agenda-insert-diary-make-new-entry): New functions.
668         (org-agenda-diary-entry): Call
669         `org-agenda-diary-entry-in-org-file' when appropriate.
671         * org.el (org-calendar-insert-diary-entry-key): New option.
672         (org-agenda-diary-file): New option.
673         ("calendar"): Install our insertion function in the calendar.
675         * org-remember.el (org-datetree): Require.
676         (org-remember-templates): Add new positioning option.
677         (org-remember-reference-date): New variable.
678         (org-remember-apply-template): Store the reference date in a local
679         variable.
680         (org-remember-handler): Implement date tree positioning of entries.
682         * org-datetree.el: New file.
684         * org-latex.el (org-export-latex-preprocess): Protect targets in
685         verbatim emphasis.
687         * org-html.el (org-export-as-html): Protect targets in verbatim
688         emphasis.
690         * org-docbook.el (org-export-as-docbook): Protect targets in
691         verbatim emphasis.
693 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
695         * org.el (org-link-display-format): Should be literal replacement.
697 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
699         * org-clock.el (org-show-notification): Handle messages that
700         contain a percent character.
702         * org-remember.el (org-remember-apply-template): Turn of partial
703         completion.
705         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
706         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
708         * org.el (org-indent-mode): Define variable already in org.el.
709         (org-unfontify-region): Remove line-prefix and wrap-prefix
710         properties only if org-indent-mode is active.
712 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
714         * org-icalendar.el (org-print-icalendar-entries): Save match data
715         around call to verify function.
716         (org-print-icalendar-entries): Add a call to the verification
717         function.
719         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
720         save-restrivtion' form.
722 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
724         * org-exp.el (org-export-format-source-code-or-example): restrict
725         scope of preserve-indentp to the let binding.
726         (org-src): require org-src, since org-src-preserve-indentation is used.
728 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org-timer.el (org-timer-set-timer): Set variables
731         org-timer-timer[123] correctly.
734         * org-mobile.el (org-mobile-files-alist): Make it work when
735         `agenda-archives' is included in
736         `org-agenda-text-search-extra-files'.
737         (org-mobile-push): Restore agenda after mobile push.
739 2009-11-05  John Wiegley  <jwiegley@gmail.com>
741         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
742         way the amount of idle time is presented in the minibuffer.
744 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
746         * org-icalendar.el (org-print-icalendar-entries): Use
747         org-icalendar-verify-function only if non-nil.
749         * org.el (org-refile): Refile to clock only if the prefix arg is
750         2.
751         (org-sparse-tree): Fix docstring to be in line with prompt.
752         (org-update-parent-todo-statistics): Call
753         `org-after-todo-statistics-hook' on each level.
755 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
757         * org-remember.el (org-remember-apply-template): Make sure the
758         buffer exists.
760 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
762         * org.el (org-tab-ind-state): New variable.
763         (org-cycle-level): New function.
764         (org-cycle-level-after-item/entry-creation): New option.
765         (org-flag-subtree): New function.
766         (org-hide-archived-subtrees): Call `org-flag-subtree'.
767         (org-set-effort): Indexed access.
769         * org-list.el (org-cycle-item-indentation): New function.
771         * org.el (org-refile): Make prefix argument 2 refile to current
772         clock.
773         (org-priority): Interpret action `remove' as call to remove the
774         priority cookie.
776         * org-remember.el (org-remember-apply-template): Don't depend on
777         buffer name being like file name.
779 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
781         * org-clock.el (org-clock-play-sound): Expand file in
782         org-clock-sound, to allow ~ for home.
784         * org-remember.el (org-remember-handler): Set
785         text-before-node-creation even if this already looks like a node,
786         because the string might be needed on non-org-mode target files.
788         * org-agenda.el (org-agenda-open-link): Make this work in agenda
789         clocktables.
790         (org-agenda-switch-to): Follow a link at point if
791         org-return-follows-link' is set and there is nothing else to do in
792         this line.
794 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
796         * org-colview-xemacs.el: Add in changes from org-colview.el
798 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
800         * org-exp-blocks.el: Modify split separator regexp to avoid empty
801         strings.
803 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
805         * org-colview.el (org-columns-new): Make this work with the new
806         operators.
807         (org-columns-store-format): Make this work with the new operators.
809 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
811         * org-src.el (org-src-preserve-indentation): Document that this
812         variable is also used during export.
814         * org-exp.el (org-export-format-source-code-or-example): Preserve
815         indentation if a block has a -i option, or if
816         `org-src-preserve-indentation' is set.
818         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
819         indentation if a block has a -i option, or if
820         `org-src-preserve-indentation' is set.
822 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
824         * org.el (org-mode-map): Define the new archiving keys.
825         (org-speed-commands-default): Define an archiving key in the speed
826         command map.
827         (org-org-menu): Improve the menu structure concerning archiving.
829         * org-archive.el (org-archive-subtree-default-with-confirmation):
830         New command.
832         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
833         (org-agenda-menu): Add the new archiving commands to the menu.
834         (org-agenda-archive-default)
835         (org-agenda-archive-default-with-confirmation): New commands.
836         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
837         call `org-agenda-archive-with'.
838         (org-agenda-archive-with): New function.
840         * org-table.el (org-table-convert-region): Inert spaces around "|"
841         to avoid line beginnings like "|-1" which will be mistaken as
842         hlines.
844 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
846         * org.el (org-offer-links-in-entry): Return nil if there are no
847         links, t if a link has been selected.
848         (org-open-at-point): Open attachment directory when called in the
849         headline and there are no links in the entry body.
850         (org-speed-commands-default): Add "o" for open-at-point as a speed
851         command.
853         * org-attach.el (org-attach-reveal): Optional prefix arg
854         IF-EXISTS, which avoids creating the attachment directory if it
855         does not yet exist.
857         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
858         MATCH.
860 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
862         * org.el ("abbrev"): Work with abbrev tables only after they have
863         been loaded.
865         * org-list.el (org-list-send-list): Fix bug related to match
866         data.
868         * org-latex.el (org-export-latex-fontify): Apply verbatim
869         emphasis.
870         (org-export-latex-make-header): Insert \obeylines if line breaks
871         should be preserved.
873         * org-exp.el (org-export-protect-verbatim): Add an
874         `org-verbatim-emph' property to such text.
876 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
878         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
879         (org-print-icalendar-entries): Skip entries where the timestamp is
880         not a deadline and not scheduled, if the user requests that.
882         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
883         before an opening quote.
885         * org-archive.el (org-archive-subtree): Keep archive after
886         archiving something.
888         * org-id.el (org-id-update-id-locations): Add archive files if
889         that is required by `org-id-extra-files'.
891 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
893         * org-src.el (org-src-window-setup): New option.
894         (org-src-switch-to-buffer): New function.
895         (org-edit-src-exit): Add optional argument CONTEXT and use it to
896         restore window configuration.
897         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
898         Call `org-src-switch-to-buffer'.
900         * org.el (org-default-properties): Add STYLE property.
901         (org-files-list): Use the function call to get the files.
902         (org-additional-option-like-keywords): Add SETUPFILE to completion
903         list.
905 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
907         * org-table.el (org-table-convert-region): Correctly interpret
908         quoting in csv import.
910         * org.el (org-icompleting-read): Make iswitchb completion work
911         with lists and tables.
913         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
914         while pushing the mobile agenda.
916 2009-10-25  John Wiegley  <jwiegley@gmail.com>
918         * org-clock.el
919         (org-clock-auto-clock-resolution): Now takes three values: nil, t
920         and `when-no-clock-is-running'.
921         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
922         whether or not to resolve Org buffers on clock in.
924 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
926         * org-colview.el (org-format-time-period): Function to format
927         times in fractional days for display.
928         (org-columns-display-here): Add support for showing a calculated
929         value in place of the property.
930         (org-columns): Set `org-columns-time' to the current time so time
931         difference calculations will work.
932         (org-columns-time): Use to store the current time when column view
933         is displayed, so all time differences will use the same reference
934         point.
935         (org-columns-compile-map): There is now an extra position in each
936         entry specifying the function to use to calculate the displayed
937         value for the non-calculated properties in the column,
938         (org-columns-compute-all): Set `org-columns-time' to the current
939         time so time difference calculations will work.
940         (org-columns-compute): Handle column operators where the values
941         used are calculated from the underlying property.
942         (org-columns-number-to-string): Handle the 'age' column format
943         (org-columns-string-to-number): Correct the function name (was
944         org-column...). Add support for the 'age' column format.
945         (org-columns-compile-format): Support the additional parameter in
946         org-columns-compile-map.
948 2009-10-26  Bastien Guerry  <bzg@altern.org>
950         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
951         variable.
953 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
955         * org-clock.el (org-clock-has-been-used): New variable.
956         (org-clock-in): Set `org-clock-has-been-used'.
957         (org-clock-save): Save only if clock data has been used or created
958         during this session.
960 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
962         * org-clock.el (org-clock-persist): New value, to store only the
963         clock history.
964         (org-clock-save): Don't save the clock if only the history should
965         be stored.
966         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
967         when restoring a saved clock.
969 2009-10-24  John Wiegley  <jwiegley@gmail.com>
971         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
972         `org-time-clock-use-fractional'.
974         * org.el (org-time-clocksum-use-fractional)
975         (org-time-clocksum-fractional-format): Two new customizable
976         variables which allow the user to select fractional times (1.25
977         instead of 1:25) in the `org-clock-display' report.
979 2009-10-23  John Wiegley  <jwiegley@gmail.com>
981         * org-habit.el (org-habit-build-graph): None of the arguments
982         should be optional.
983         (org-habit-parse-todo, org-habit-deadline)
984         (org-habit-get-priority, org-habit-get-faces)
985         (org-habit-build-graph): Further simplifications by storing all
986         past, scheduled and deadline dates as a number of days past the
987         epoch, and not as times.
989         * org-habit.el (org-habit-warning-face)
990         (org-habit-warning-future-face): Removed because these are no
991         longer used.
992         (org-habit-deadline, org-habit-deadline-repeat): Now always
993         returns a date; computed if there was a scheduled repeater but no
994         deadline repeater.
995         (org-habit-get-priority): Further improvements to the priority
996         algorithm.  In particular, items past due should always appear
997         before items due or not yet due.
998         (org-habit-get-faces): Greatly simplified the logic, now that
999         `org-habit-deadline' always returns a valid time.
1001 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1003         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1004         New option.
1006         * org.el (org-tag-alist): Fix customization type.
1008 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1010         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1011         Make sure the regexp search can fail without throwing an error.
1012         (org-mobile-apply): Save the inbox buffer after removing
1013         successfully applied changes.
1015 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1017         * org-habit.el (org-habit-build-graph): Fix to the graph building
1018         when last DONE date is earlier than `org-habit-preceding-days'.
1020         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1021         time is reported after the user comes back (but before they
1022         resolve time).
1024         * org.el (org-get-repeat): Change so that this function can be
1025         called with either `org-scheduled-string' or
1026         `org-deadline-string'.
1028         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1029         to find the scheduled date.
1031         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1032         `org-clock-disable-clock-resolution', since negatives don't sound
1033         good in customization variables.
1034         (org-clock-in): Don't use the auto-resolution logic if the user is
1035         clocking into a different task while an active clock is running.
1036         This then allows the default behavior of clocking out of the open
1037         task and then into the new task.
1039         * org-habit.el (org-habit-parse-todo): Generate an error if a
1040         habit has a scheduled repeat period < 1.
1041         (org-habit-get-faces): Fixes to the way that colors are computed.
1042         (org-habit-build-graph): The graph wasn't displaying beyond any
1043         day that had two completions in it.
1045         * org.el (org-modules): Made this variable more consistent, since
1046         it was referring to Org, OrgMode and Org-mode, whereas the docs
1047         for the variable always refer to Org-mode.
1049 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1051         * org.el (org-repeat-re): The changed org-repeat-re no longer
1052         matched simple +2d type repeaters. Fix it so it does.
1054 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1056         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1057         macro in the VERSE environment.
1059 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1061         * org-habit.el (org-habit-get-priority): A new function that
1062         determines the relative priority of a habit, based on how long
1063         past its scheduled date it is, and how near the deadline is.
1065         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1066         using `org-habit-get-priority'.
1068         * org-habit.el (org-habit-build-graph): Start displaying colors
1069         from the first scheduled date, if that date is earlier than the
1070         first completion date.
1072         * org-habit.el: Changed all "color" variables to faces, and made
1073         them appropriate for light and dark backgrounds.
1075         * org-habit.el (org-habit-duration-to-days): Made this function
1076         more general.
1077         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1079         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1080         habits, since they don't use DEADLINE anymore.
1082         * org.el (org-repeat-re, org-display-custom-time)
1083         (org-timestamp-change): Extended to support the new ".+N/N"
1084         syntax, used for habits.
1086         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1087         variable reference.
1089         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1090         modeline when habits are being displayed (if that module is being
1091         loaded).
1093 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1095         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1096         idle time using the xscreensaver extension.
1097         (org-user-idle-seconds): Use X11 idle time if available.
1099 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1101         * org-agenda.el (org-agenda-next-line): New command.
1102         (org-agenda-previous-line): New commands.
1103         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1104         commands.
1105         (org-agenda-follow-mode): Do the follow immediately if the mode is
1106         turned on here.
1107         (previous-line, next-line): Replace keys with the corresponding
1108         org functions.
1109         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1110         command.
1112         * org.el (org-icompleting-read): Turn off partial completion mode
1113         for the duration of this completion round.
1115         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1116         macros in author lines and similar stuff.
1118         * org.el (org-file-tags): Fix docstring.
1119         (org-get-buffer-tags): Add the #+FILETAGS tags.
1120         ("ecb"): Maks ecb show context after jumping into an Org file.
1122 2009-10-20  John Wiegley  <johnw@newartisans.com>
1124         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1125         graphs after everything else in the buffer has been setup.
1127 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1129         * org-mobile.el (org-mobile-apply): Count success and failure.
1131         * org.el (org-indent-line-function): Fix regexp replace problem.
1133 2009-10-19  John Wiegley  <johnw@newartisans.com>
1135         * org-clock.el (org-clock-disable-clock-resolution): New
1136         customization variable that disable automatic clock resolution on
1137         clock in.
1138         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1139         not automatically resolve anything.  This is does not affect
1140         idle-time resolution, however, if `org-clock-idle-time' is set.
1142 2009-10-19  John Wiegley  <johnw@newartisans.com>
1144         * org-habit.el: New file, which implements code to build a "habit
1145         consistency graph".
1147         * org-agenda.el (org-agenda-get-deadlines)
1148         (org-agenda-get-scheduled): Display consistency graphs when
1149         outputting habits into the agenda.  The graphs are always relative
1150         to the current time.
1151         (org-format-agenda-item): Added new parameter `habitp', which
1152         indicates whether we are formatting a habit or not.  Do not
1153         display "extra" leading information if habitp is true.
1155         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1156         leaders for repeat strings.
1157         (org-get-repeat): Now takes a string parameter `tagline', so the
1158         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1160 2009-10-19  John Wiegley  <johnw@newartisans.com>
1162         * org-agenda.el (org-agenda-auto-exclude-function): New
1163         customization variable for allowing the user to create an "auto
1164         exclusion" filter for doing context-aware auto tag filtering.
1165         (org-agenda-filter-by-tag): Changes to support the use of
1166         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1168 2009-10-18  John Wiegley  <johnw@newartisans.com>
1170         * org.el (org-files-list): Don't attempt to return a file name for
1171         Org buffers which have no associated file.
1173         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1175 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1177         * org-mobile.el (org-mobile-locate-entry): Interpret files
1178         relative to org-directory.
1179         (org-mobile-inbox-for-pull): Document the best location for this
1180         file.
1181         (org-mobile-check-setup): Verify `org-directory'.
1182         (org-mobile-create-index-file): Sort the files to be listed in
1183         index.org.
1185 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1187         * org.el (org-fast-tag-selection): Add a way to display a
1188         description for a tag group. This is done by adding a string to
1189         either the startgroup or endgroup cell.
1191 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1193         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1194         (org-emacs-idle-seconds): Use `org-float-time' instead of
1195         `time-to-seconds'
1197 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1199         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1200         type.
1202         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1203         the value of ARG when doing local cycling.
1205 2009-10-17  John Wiegley  <johnw@newartisans.com>
1207         * org-clock.el (org-clock-resolve-clock): If keeping or
1208         subtracting time results in a clock out at a time in the past, and
1209         if the resolution occurred due to idleness or invoking `M-x
1210         org-resolve-clocks', remember that past moment in time.  On the
1211         next clock in, the user will be prompted to see if they want to
1212         back-date their new clock to then.
1213         (org-clock-resolve): Do not jump the user to the location of a
1214         dangling clock if the resolution is occuring due to an idle
1215         timeout.  In that case there is typically only one dangling clock,
1216         the active one, and there is no value gained by shuffling their
1217         windows around to show it to them.  Being prompted to resolve an
1218         idle clock should be as inobtrusive as possible.
1219         (org-resolve-clocks-if-idle): New function that resolves only the
1220         currently active clock if the user has exceeded the time returned
1221         by `org-user-idle-seconds', based on the value of
1222         `org-clock-idle-time'.
1223         (org-clock-in): If, after resolving clocks,
1224         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1226         * org-clock.el (org-clock-resolve-clock): New function that
1227         resolves a clock to a specific time, closing or resuming as need
1228         be, and possibly even starting a new clock.
1229         (org-clock-resolve): New function used by `org-resolve-clocks'
1230         that sets up for the call to `org-clock-resolve-clock'.  It
1231         determines the time to resolve to based on a single-character
1232         selection from the user to either keep time, subtract away time or
1233         cancel the clock.
1234         (org-resolve-clocks): New user command which resolves dangling
1235         clocks -- that is, open but not active -- anywhere in the file
1236         list returned by `org-files-list'.
1237         (org-clock-in): Automatically resolve dangling clocks whenever a
1238         user clocks in.
1239         (org-clock-cancel): If the user cancels the solely clock in a
1240         LOGBOOK, remove the empty drawer.
1242         * org-clock.el (org-clock-idle-time): New user customizable option
1243         for detecting whether the user has left a clock idle.  Note: it is
1244         only used in this commit to test whether it's worthwhile to check
1245         OS X to get the Mac user's current idle time.  If the Emacs idle
1246         time is less than the value, the user hasn't been away long enough
1247         to be worth checking (a more expensive test than just getting
1248         Emacs idle time).
1249         (org-user-idle-seconds, org-mac-idle-seconds)
1250         (org-emacs-idle-seconds): This three functions, in conjunction
1251         with the user customization variable `org-clock-idle-time', return
1252         the number of seconds (as a floating point) that the user has been
1253         away from their Emacs (or, if running on OS X, their computer).
1255         * org-clock.el (org-find-open-clocks): New function that returns a
1256         list of all open clocks in the given FILE.  Note that each clock
1257         it returns is a cons cell of the format (MARKER . START-TIME).
1258         This "clock" value is used by several of the new clock module
1259         utility functions.
1260         (org-is-active-clock): New inline function which tests whether the
1261         given clock value is the same as the currently active clock.
1262         Returns non-nil if this is the case.
1263         (org-with-clock-position): New macro that evaluates FORMS with
1264         point in the buffer and at the position of the given clock.
1265         Changes to the current clock are global.
1266         (org-with-clock): New macro that evaluates FORMS with point in the
1267         buffer and at the position of the given clock.  However, changes
1268         to the current clock are local and have no effect on the user's
1269         active clock.  This allows, for example, far any clock to be
1270         cancelled without cancelling the active clock.
1271         (org-clock-clock-in): New inline function that switches the active
1272         clock to the given clock.  If either the argument RESUME, or the
1273         global `org-clock-in-resume', are non-nil, it will resume a clock
1274         that was previously left open.
1275         (org-clock-clock-out): New inline function that clocks out the
1276         given clock value without affecting the currently active clock.
1277         (org-clock-clock-cancel): New inline function that cancels the
1278         given clock value without affecting the currently active clock.
1280         * org-clock.el (org-clock-in): Before creating
1281         `org-clock-mode-line-timer', check to make sure an older timer is
1282         not currently running.
1283         (org-clock-out): Accept new third parameter `at-time', which
1284         permits a clock to be clocked out at a specific time.  Note that
1285         no attempt is made to verify that the clock out time is later than
1286         the clock in time.
1288         * org.el (org-files-list): New utility function for returning a
1289         list of all open org-mode buffers, plus all files used to build
1290         the agenda buffer.  Note that not all the files will necessarily
1291         be visited by a buffer at time of call.
1292         (org-entry-beginning-position): Like the function
1293         `line-beginning-position', this inline function returns the
1294         beginning position of the current heading/entry.
1295         (org-entry-end-position): Like the function `line-end-position',
1296         this inline function returns the end position of the current
1297         heading/entry.
1299 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1301         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1302         a header line.
1304 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1306         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1308 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1310         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1311         entries that have no tags.
1312         (org-agenda-search-view): New customize group.
1313         (org-agenda-search-view-search-words-only): New option.
1314         (org-search-view): Implement substring search.
1316 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1318         * org.el (org-outline-level): Add doc string.
1320 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1322         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1323         variable.
1324         (org-inlinetask-export-handler): Only export inline task if the
1325         user option calls for it.
1327 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1329         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1330         END if present.
1332 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1334         * org-latex.el (org-export-latex-tables): Don't format in
1335         protected regions.
1337 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1339         * org-src.el (org-edit-src-code)
1340         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1341         macro editing.
1343         * org-agenda.el (org-prefix-category-max-length): New variable.
1344         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1345         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1347 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1349         * org-mobile.el (org-mobile-create-index-file): Improve the
1350         listing of tags and todo keywords.
1352         * org-latex.el (org-export-latex-format-image): New function.
1353         (org-export-latex-links): Use `org-export-latex-format-image'.
1355 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1357         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1358         (org-inlinetask-remove-terminator): New functions.
1359         (org-inlinetask-export-handler): Terminate the description list.
1361         * org-exp.el (org-export-select-backend-specific-text): Remove the
1362         region markers.
1364         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1365         tasks without content.
1367         * org-clock.el: Make sure the clock-in target position does not
1368         move to a different node by widening the buffer.
1370         * org-html.el (org-export-html-format-image): Wrap image into
1371         figure div only when there is a caption.
1373         * org-archive.el (org-archive-mark-done): Change default value to
1374         nil.
1376 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1378         * org.el (org-context): Call `bobp', not `eobp'.
1380         * org-clock.el (org-clock-cancel): Remove quotes from marker
1381         variables.
1383         * org.el (org-read-date-prefer-future): New allowed value `time'.
1384         (org-read-date-analyze): Shift day to tomorrow depending on time
1385         entered and value of `org-read-date-prefer-future'.
1387 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1389         * org.el (org-set-tags-to): New command.
1391         * org-mobile.el (org-mobile-action-alist): Add more options and
1392         update the docstring.
1393         (org-mobile-apply-flags): Parse for and use the data.
1395         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1396         the plist.
1398         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1399         keyword.
1401         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1403 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1405         * org-inlinetask.el (org-inlinetask-export): Option removed.
1406         (org-inlinetask-export-handler): Better export.
1408         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1409         (org-export-as-xoxo): Run the new hook.
1411         * org-html.el (org-export-html-final-hook): New hook.
1412         (org-export-as-html): Run the new hook.
1414         * org-docbook.el (org-export-docbook-final-hook): New hook.
1415         (org-export-as-docbook): Run the new hook.
1417         * org-ascii.el (org-export-ascii-final-hook): New hook.
1418         (org-export-as-ascii): Run the new hook.
1420         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1421         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1423         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1424         space character as the character before the ^/_.
1425         (org-export-latex-final-hook): New hook.
1426         (org-export-as-latex): Run `org-export-latex-final-hook'.
1428 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1430         * org-macs.el (org-if-unprotected-at): Fix docstring.
1432         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1433         text in the prefix (if category is a link).
1435         * org-latex.el (org-export-latex-preprocess): Deal properly with
1436         empty lines in verse environments.
1438         * org.el (org-format-latex-header): Inline fullpage.sty.
1440         * org-footnote.el (org-footnote-create-definition): Reveal context
1441         to add a new footnote definition.
1443         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1444         the index file.
1445         (org-mobile-files): New option.
1446         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1447         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1448         functions.
1449         (org-mobile-push): Start by creating the files lists.
1450         (org-mobile-copy-agenda-files): Move killing the buffer to after
1451         the save-excursion has exited.
1452         (org-mobile-write-checksums): Write checksums also for files in
1453         sub-directories.
1455         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1456         org-table-recalculate when cursor is in TBLFM line.
1458         * org-list.el (org-renumber-ordered-list): Fix cursor position
1459         when bullet length has changed.
1461 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1463         * org.el (org-format-latex): Mention `org-format-latex-options' in
1464         the docstring.
1466 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1468         * org.el (org-agenda-get): New function.
1470         * org-agenda.el (org-agenda-post-command-hook): No longer move
1471         point away from end of line.
1472         (org-agenda-add-entry-text, org-agenda-collect-markers)
1473         (org-finalize-agenda, org-agenda-mark-clocking-task)
1474         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1475         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1476         (org-agenda-compare-effort, org-agenda-filter-apply)
1477         (org-agenda-later, org-agenda-change-time-span)
1478         (org-agenda-post-command-hook, org-agenda-show-priority)
1479         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1480         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1481         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1482         (org-agenda-open-link, org-agenda-copy-local-variable)
1483         (org-agenda-switch-to, org-agenda-check-no-diary)
1484         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1485         (org-agenda-add-note, org-agenda-change-all-lines)
1486         (org-agenda-priority, org-agenda-set-tags)
1487         (org-agenda-set-property, org-agenda-set-effort)
1488         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1489         (org-agenda-show-new-time, org-agenda-date-prompt)
1490         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1491         (org-agenda-clock-in, org-agenda-bulk-mark)
1492         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1493         `org-get-at-bol'.
1495         * org-colview.el (org-columns-display-here)
1496         (org-columns-edit-allowed, org-agenda-columns): Use
1497         `org-get-at-bol'.
1499 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1501         * org.el (org-special-ctrl-a/e): Improve documentation and
1502         customize type.
1503         (org-end-of-line): Don't jump to after the ellipsis.
1504         (org-mode-map): Bind <home> and <end> as well.
1506 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1508         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1509         space after #+ as comments.
1510         (org-open-at-point): Run `org-follow-link-hook' always.
1512         * org-latex.el (org-export-latex-emph-format): Use better commands
1513         to insert special characters in verbatim snippets.
1515 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1517         * org-faces.el (org-copy-face): New function.  Use it to create
1518         various faces formerly created by using `copy-face'.
1520         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1521         window dedicated.
1522         (org-agenda-quit): Kill the frame containing the agenda window if
1523         that frame was created for the agenda.
1525 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1527         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1528         stamp in the agenda.
1530 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1532         * org-mobile.el (org-mobile-create-index-file): Add the list of
1533         TODO keywords, and the list of drawers to the index file.
1535         * org-agenda.el (org-prepare-agenda): Reset
1536         `org-drawers-for-agenda'.
1537         (org-prepare-agenda): Uniquify list of drawers.
1539         * org.el (org-complex-heading-regexp-format): New variable.
1540         (org-set-regexps-and-options): Define
1541         `org-complex-heading-regexp-format'.
1542         (org-drawers-for-agenda): New variable.
1543         (org-map-entries): Bind `org-drawers-for-agenda'.
1544         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1546         * org-remember.el (org-go-to-remember-target)
1547         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1549 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1551         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1552         problem.
1554         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1555         the capture file, and make it non-configurable.
1557         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1558         always with `invisible-ok'.
1559         (org-store-link): No error when there is nothing to link to in the
1560         agenda.
1562         * org-list.el (org-update-checkbox-count): Insert changed cookie
1563         before the old, to avoid problems with invisibility at the end of
1564         the line.
1565         (org-update-checkbox-count): Insert changed cookie before the old,
1566         to avoid problems with invisibility at the end of the line.
1568         * org.el (org-sort-entries-or-items): Include the final newline.
1569         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1570         lines for fontification.
1571         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1572         (org-prepare-dblock): Store the current indentation of the BEGIN
1573         line.
1574         (org-update-dblock): Apply the indentation of the begin line to
1575         the rest of the block.
1576         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1577         (org-startup-folded): New allowed value `showeverything'.
1578         (org-startup-options): Add STARTUP keyword `showeverything'.
1579         (org-set-startup-visibility): Respect value `showeverything' in
1580         org-startup-folded.
1582 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1584         * org.el (org-closest-date): Fix issue with past preference.
1586         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1588         * org-archive.el (org-archive-set-tag)
1589         (org-archive-subtree-default): New commands.
1591         * org-mobile.el (org-mobile-create-index-file): Fix link to
1592         capture file.
1593         (org-mobile-copy-agenda-files): Create the capture file if it does
1594         not exist.
1596         * org-clock.el (org-clock-clocktable-default-properties): New
1597         option.
1598         (org-clock-report): Use
1599         `org-clock-clocktable-default-properties'.
1601 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1603         * org.el (org-iswitchb-completing-read): Fix typo.
1605         * org-crypt.el: New file.
1607         * org.el: Add an entry for org-crypt.
1609 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1611         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1612         consistency.
1613         (org-batch-store-agenda-views): New function.
1614         (org-mobile-force-id-on-agenda-items): Mention variable.
1615         (org-agenda-title-append): Define variable.
1616         (org-write-agenda): New export to Org files.
1617         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1618         (org-agenda): Allow to keep the restricted file list if a special
1619         variable is bound to t.
1620         (org-agenda): Define a special agenda view for working on flagged
1621         entries.
1622         (org-agenda-get-restriction-and-command): List the new agenda
1623         view.
1624         (org-agenda-show-the-flagging-note): New command.
1625         (org-agenda-mode-map): New key `?' for looking at the flagging
1626         note.
1628         * org.el (org-autoload): Autoload org-mobile.el.
1629         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1631         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1633 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1635         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1636         statements.
1637         (org-table-get-remote-range): Match indented #+TBLNAME
1638         statements.
1640         * org.el (org-convert-to-odd-levels)
1641         (org-convert-to-oddeven-levels): Work also correctly if the file
1642         is in outline-mode.
1644 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1646         * org.el (org-store-link): When in agenda buffer, link to
1647         referenced entry.
1648         (org-add-planning-info): Remove spaces at eol.
1650         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1651         property.
1653 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1655         * org-latex.el (org-export-latex-first-lines): Fix problem with
1656         LaTeX export of first line and selected subtree.
1658         * org.el (org-shifttab): Interpret arg differently when using only
1659         odd levels.
1661 2009-09-09  Bastien Guerry  <bzg@altern.org>
1663         * org.el (org-check-agenda-file): Use a more explicit message
1665 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1667         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1668         normal lines.
1670 2009-09-08  Bastien Guerry  <bzg@altern.org>
1672         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1673         prompt in the temporary window.
1675         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1676         prefix for marked entries in the agenda view.
1678 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1680         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1681         a way that prevents any trailing character from being displayed.
1683 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1685         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1686         menu.
1688         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1689         slow regexp match.
1691 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1693         * org-latex.el (org-export-latex-preprocess): Do not protect in
1694         the LaTeX header.
1696         * org-src.el (org-edit-src-save): Save window setup while saving.
1697         (org-edit-src-code): Use new buffer name construction scheme.
1699 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1701         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1702         variable.
1703         (org-agenda-entry-text-cleanup-hook): New hook.
1704         (org-agenda-get-some-entry-text): Remove matches of
1705         `org-agenda-entry-text-exclude-regexps' and run the hook
1706         `org-agenda-entry-text-cleanup-hook'.
1708         * org.el (org-offer-links-in-entry): New argument ZERO to
1709         implement a link with index zero.
1710         (org-cycle-show-empty-lines): Not keep empty line under header
1711         hidden.
1712         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1713         to nil for special completion.
1714         (org-store-link): Don't error before the first heading.
1716         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1717         `org-offer-links-in-entry'.
1719 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1721         * org-agenda.el (org-agenda-quit): Provide the window argument for
1722         `window-dedicated-p', Emacs 22 needs it.
1723         (org-format-agenda-item): If the category is a link, arrange for
1724         invisible text to replaced with spaces.
1725         (org-compile-prefix-format): Add the extra space.
1726         (org-prefix-category-length): New variable.
1728         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1729         references from TOC lines.
1731         * org.el (org-selected-window): New variable.
1733         * org-table.el (org-table-edit-formulas): Remember the selected
1734         window.
1735         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1736         that was originally selected.
1738         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1739         expansion of a macro for more macro definitions.
1741         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1742         invisibility overlay starts on the newline.
1744 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1746         * org-protocol.el (org-protocol-store-link)
1747         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1749         * org-compat.el (org-float-time): New function.
1751         * org.el (org-clock-update-time-maybe)
1752         (org-sort-entries-or-items, org-do-sort)
1753         (org-evaluate-time-range, org-time-string-to-seconds)
1754         (org-closed-in-range): Use `org-float-time'.
1756         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1757         (org-timer-seconds):  Use `org-float-time'.
1759         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1760         (org-clock-sum, org-dblock-write:clocktable)
1761         (org-clocktable-steps):  Use `org-float-time'.
1763         * org-agenda.el (org-agenda-last-marker-time)
1764         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1766         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1767         function.
1769         * org-exp.el (org-get-file-contents): Only protect lines that
1770         really need it.
1772         * org-html.el (require): Require cl for compilation.
1774         * org.el:  Avoid using `default-major-mode'.
1776         * org-plot.el (require): Require CL only at compile time.
1778         * org-exp.el (require): Require CL only at compile time.
1780         * org-agenda.el (org-agenda-quit): When the agenda window is
1781         dedicated, remove other windows before exiting, so that the frame
1782         really will be killed.
1784         * org-exp.el (org-export-handle-include-files): Reset START and
1785         END for each loop cycle.
1787 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1789         * org.el (org-eval-in-calendar): Use
1790         `org-select-frame-set-input-focus'.
1792         * org-compat.el (org-select-frame-set-input-focus): New function.
1794         * org.el (org-update-statistics-cookies): New function.
1795         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1797 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1799         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1800         after the local variables are set.
1802         * org-latex.el (org-export-latex-protect-amp): New function.
1803         (org-export-latex-links): Protect link ampersands in tables.
1805         * org-exp.el (org-export-select-backend-specific-text): Match in
1806         two steps, to avoid regexp problems.
1808         * org.el (org-offer-links-in-entry): Improve working with many and
1809         duplicate links.
1811         * org-agenda.el (org-agenda-show-1): Make more consistent with
1812         normal cycling.
1813         (org-agenda-cycle-show): Make more consistent with normal cycling.
1815         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1816         website.
1818 2009-08-30  Bastien Guerry  <bzg@altern.org>
1820         * org-latex.el (org-export-latex-first-lines): Bugfix.
1822 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1824         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1825         about new effort.
1827         * org.el (org-set-effort): New function.
1828         (org-mode-map): New key for effort setting command.
1830         * org-agenda.el (org-agenda): Keep window setup when calling
1831         agenda from within agenda window.
1832         (org-agenda-mode-map): New keys for effort setting commands.
1833         (org-agenda-menu): Add effort setting commands to menu.
1834         (org-agenda-set-property, org-agenda-set-effort): New functions.
1836         * org-latex.el (org-export-latex-tables): Fix
1837         `org-table-last-alignment' and `org-table-last-column-widths' if
1838         the first column has been removed.
1840 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1842         * org.el (org-remove-timestamp-with-keyword): Only remove in
1843         entry, not in subtree.
1845         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1846         emacs lisp.
1848         * org.el (org-open-at-point): When on headline, offer all strings
1849         in entry.
1851         * org-remember.el (org-remember-templates): Documentation fix.
1853         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1854         `org-get-last-sibling' instead of the outline versions of these
1855         functions.
1856         (org-get-last-sibling): New function.
1857         (org-refile): Use `org-get-next-sibling' instead of the outline
1858         version of this function.
1859         (org-clean-visibility-after-subtree-move): Use
1860         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1861         outline versions of these functions.
1863 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1865         * org-agenda.el (org-prepare-agenda): When creating a new frame
1866         for the agenda, make the window dedicated.
1868         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1870         * org-table.el (org-table-align): Change the order of reinsertion
1871         and deletion, to avoid problems with overlays following the table.
1873         * org.el (org-parse-time-string): Better error message.
1874         (org-show-subtree): Use org-end-of-subtree.
1876         * org-macs.el (org-goto-line): New defsubst.
1878         * org.el (org-open-file, org-change-tag-in-region)
1879         (org-fast-tag-show-exit): Don't use `goto-line'.
1881         * org-table.el (org-table-align, org-table-insert-column)
1882         (org-table-delete-column, org-table-move-column)
1883         (org-table-sort-lines, org-table-copy-region)
1884         (org-table-paste-rectangle, org-table-wrap-region)
1885         (org-table-get-specials, org-table-rotate-recalc-marks)
1886         (org-table-get-range, org-table-recalculate)
1887         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1888         (org-table-show-reference, org-table-highlight-rectangle): Don't
1889         use `goto-line'.
1891         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1892         (org-edit-src-exit): Don't use `goto-line'.
1894         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1896         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1897         Don't use `goto-line'.
1899         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1901         * org-colview.el (org-columns, org-columns-redo)
1902         (org-agenda-columns): Don't use `goto-line'.
1904         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1905         use `goto-line'.
1907         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1908         (org-agenda-add-entry-text-maxlines): Improve docstring.
1909         (org-agenda-start-with-entry-text-mode): New option.
1910         (org-agenda-entry-text-maxlines): New option.
1911         (org-agenda-entry-text-mode): New variable.
1912         (org-agenda-mode): Set initial value of
1913         `org-agenda-entry-text-mode'.
1914         (org-agenda-mode-map): Add the `E' key.
1915         (org-agenda-menu): Add entry text mode to the menu.
1916         (org-agenda-get-some-entry-text): Fix line count bug.
1917         (org-finalize-agenda): Apply entry text mode if appropriate.
1918         (org-agenda-entry-text-show-here): New function.
1919         (org-agenda-entry-text-show): New function.
1920         (org-agenda-entry-text-hide): New function.
1921         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1922         key menu.
1923         (org-agenda-entry-text-mode): New command.
1924         (org-agenda-set-mode-name): Add entry text mode to the mode line
1925         string.
1926         (org-agenda-undo, org-agenda-get-restriction-and-command)
1927         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1928         `goto-line'.
1930 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1932         * org-clock.el (org-notify): Bugfix.
1934 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1936         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1937         check for after-string.
1939         * org-gnus.el (org-gnus-store-link): Simplify.
1941         * org.el (org-latex-regexps): Don't add extra empty lines for
1942         display formulas.
1944 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1946         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1947         (org-agenda-add-entry-text): Use
1948         `org-agenda-get-some-entry-text'.
1950         * org.el (org-cycle-separator-lines): Update docstring.
1951         (org-cycle-show-empty-lines): Handle negative values for
1952         `org-cycle-show-empty-lines'.
1954         * org-exp.el (org-export-protect-sub-super): New function.
1955         (org-export-normalize-links): Protect the url of plain links from
1956         supscript and superscript processing.
1958         * org-remember.el (org-remember-escaped-%): New function.
1959         (org-remember-apply-template): Use `org-remember-escaped-%' to
1960         detect escaped % signs.
1962 2009-08-23  Bastien Guerry  <bzg@altern.org>
1964         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1965         sound when showing the notification.
1967         * org-clock.el (org-notify): New function.
1968         (org-clock-notify-once-if-expired): Use `org-notify'.
1970         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1971         and `gnus-article-mode' separately.
1972         (gnus-summary-article-header): Fix the declare-function.
1974 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1976         * org-exp.el (org-export-format-source-code-or-example): Translate
1977         language.
1979         * org-src.el (org-src-lang-modes): New variable
1980         (org-edit-src-code): Translate language.
1982         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1983         the new structure of the `org-export-latex-listings-langs'
1984         variable.
1986         * org-latex.el (org-export-latex-listings-langs): Change structure
1987         of the variable from plist to alist.
1989 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1991         * org.el (org-in-commented-line): New function.
1993 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1995         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1997 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1999         * org.el (org-flag-drawer): More useful error.
2001 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2003         * org-remember.el (org-remember-apply-template): Use
2004         org-icompleting-read.
2006         * org-publish.el (org-publish): Use org-icompleting-read.
2008         * org-colview.el (org-columns-edit-value, org-columns-new)
2009         (org-insert-columns-dblock): Use org-icompleting-read.
2011         * org-colview-xemacs.el (org-columns-edit-value)
2012         (org-columns-new, org-insert-columns-dblock): Use
2013         org-icompleting-read.
2015         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2016         org-icompleting-read.
2018 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2020         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2021         (org-version): Return the version text.
2022         (org-org-menu): Add a menu entry for the new bug reporter.
2023         (org-submit-bug-report): New command.
2025         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2026         docstring.
2028         * org.el (org-emphasis-regexp-components): Add "`" to set of
2029         pre-emphasis characters.
2031         * org-latex.el (org-export-latex-classes): Always include the soul
2032         package.
2033         (org-export-latex-emphasis-alist): Use \st for strikethough.
2035         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2036         `indent-code-rigidly' to indent.
2038         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2039         properties only if MATCH really is a string.
2041 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2043         * org-latex.el (org-export-latex-packages-alist): Fix
2044         customization type.
2046         * org.el (org-create-formula-image): Also use
2047         `org-export-latex-packages-alist'.
2049         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2050         (org-export-as-html): Format footnotes correctly.
2052 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2054         * org.el (org-fast-tag-selection): Avoid text properties on tags
2055         in the alist.
2057         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2058         text properties on the match element.
2060 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2062         * org.el (org-set-regexps-and-options): Make sure the list of done
2063         keywords is not invalid.
2065         * org-exp.el (org-export-interpolate-newlines): New function.
2067 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2069         * org.el (org-format-latex): Avoid nested overlays.
2071         * org-latex.el (org-export-latex-listings-langs): Add a few more
2072         languages.
2074         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2075         ignore newlines and space before the first macro argument.
2077         * org-latex.el (org-export-latex-tables): Remove save-excursion
2078         around `org-table-align'.
2080 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2082         * org.el (org-export-html-special-string-regexps): Definition
2083         moved into org.el
2085         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2086         in macro calls.
2088 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2090         * org-latex.el (org-export-latex-listings)
2091         (org-export-latex-listings-langs): New options.
2093         * org-exp.el (org-export-format-source-code-or-example): Use
2094         listing package if requested by the user.
2096 2009-08-08  Bastien Guerry  <bzg@altern.org>
2098         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2099         command before actually switching to a buffer.
2101 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2103         * org-exp.el (org-get-file-contents): Only quote org lines when
2104         the markup is src or example.
2106         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2107         New option
2108         (org-agenda-get-day-entries): Remember deadline results and pass
2109         them on into the function getting the scheduling information.
2110         (org-agenda-get-scheduled): Accept deadline results as parameters
2111         and maybe skip some entries.
2112         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2114         * org.el (org-insert-heading): When respecting content, do not
2115         convert current line to headline.
2117         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2118         cheeeeeck the hd marker
2119         (org-clock-in): Also set the hd marker.
2120         (org-clock-out): Also set the hd marker.
2121         (org-clock-cancel): Reset markers.
2123         * org.el (org-clock-hd-marker): New marker.
2125         * org-faces.el (org-agenda-clocking): New face.
2127         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2128         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2130         * org.el (org-modules): Add org-track.el.
2132         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2133         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2134         `org-agenda-bulk-marked-p'.
2135         (org-agenda-bulk-toggle): New command.
2137 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2139         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2140         not just the body.
2142         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2143         messages.
2145 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2147         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2148         before gnuplot can read it.
2150 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2152         * org-latex.el (org-export-latex-first-lines): Fix bug with
2153         finding the end of the first lines.
2155         * org.el (org-create-formula-image): Remove the -E option for
2156         dvipng.
2158         * org-exp.el (org-default-export-plist): Respect #+BIND.
2159         (org-export-confirm-letbind): New function.
2161         * org.el (org-paste-subtree): Test the kill ring entry if it is
2162         going to be used.
2163         (org-copy-subtree): Use `org-forward-same-level'.
2164         (org-forward-same-level): Respect the `invisibe-ok' arg for
2165         back-to-heading.
2167 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2169         * org.el (org-table-map-tables): Make sure cursor is back at table
2170         beginning after funcall.
2172         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2173         handled before children, and do not error if an entry is not
2174         found, probably because it hase been remove when the parent was
2175         archived or refiled.
2177         * org.el (org-ido-completing-read): Accept straight lists for
2178         completion as well as alists.
2180         * org-html.el (org-export-as-html): Fix parenthesis error in
2181         footnore code.
2183         * org-timer.el (org-timer-cancel-timers): Renamed from
2184         `org-timer-cancel-timers'.
2186         * org.el (org-cycle-internal-local): Fix problem with finding next
2187         invisible line.
2189 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2191         * org-list.el (org-list-send-list): Call
2192         `org-list-goto-true-beginning' instead of
2193         `org-list-find-true-beginning', which does not exist.
2195         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2196         (org-timer-set-timer): Do not assign to heading.
2198         * org-id.el (org-id-open): Quote function name.
2200         * org-macs.el (org-unmodified): Turn off recording undo
2201         information while running inside the macro.
2203         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2204         variable.
2205         (org-indent-mode): Remember and restore value of
2206         org-hide-leading-stars before `org-indent-mode'.
2208         * org-table.el (org-table-export): Also work in file-less
2209         buffers.
2211         * org.el (org-startup-indented): New option.
2212         (org-startup-options): Add new options indent and noindent.
2213         (org-unfontify-region): Remove line-prefix and wrap-prefix
2214         properties.
2215         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2216         hooks.
2217         (org-promote, org-demote): Run the new hooks.
2219         * org-table.el (org-table-align): Replace leading \n as well.
2221         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2222         and `line-wrap' text properties.
2224         * org-compat.el (org-kill-new): New function.
2226         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2227         `line-wrap' text properties.
2229         * org-indent.el: New file.
2231 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2233         * org.el (org-provide-todo-statistics): Tweak docstring.
2235         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2237 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2239         * org-exp.el (org-export-as-org): Insert the "-source" string
2240         before the extension.
2242         * org.el (org-read-date): Make sure the calendar is in the current
2243         frame.
2244         (org-set-emph-re): Remove the ? from the post-match.
2245         (org-emphasis-regexp-components): Add backslash to the
2246         postmatch class.
2247         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2248         optional so that also lines at the end of the buffers will still
2249         be matched as headlines.
2251         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2252         Variable made obsolete.
2253         (org-table-relative-ref-may-cross-hline): New option.
2254         (org-table-find-row-type): Honow the new option
2255         `org-table-relative-ref-may-cross-hline'.
2257 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2259         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2260         on single field if no active region.
2262 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2264         * org-latex.el (org-export-latex-make-header): Only insert title
2265         if one is defined.
2267         * org.el (org-make-options-regexp): Allow empty values.
2269         * org-html.el (org-export-as-html): Move hrule detection to after
2270         plain list handling.
2272 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2274         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2276 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2278         * org.el (org-cycle-internal-local): Improved version of finding
2279         next visible line.
2280         (org-cycle-hide-drawers): Only hide drawers if this is really
2281         necessary.
2282         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2283         org-version of this function in Org-mode.  We use advice to
2284         implement this change, so that future changes to this function in
2285         outline.el wil be handled properly.
2286         (org-forward-same-level, org-backward-same-level): New commands.
2288 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2290         * org.el (org-remove-empty-overlays-at)
2291         (org-clean-visibility-after-subtree-move): New functons.
2292         (org-move-subtree-down): Simplify cleanup of display.
2294 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2296         * org-mac-message.el (org-mac-message-get-links): Improve
2297         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2298         "s".  Fix the return value.
2299         (org-mac-message-insert-flagged): Simplify.
2301         * org.el (org-refile-get-location): Tamper with refile history o
2302         that history contains compete matches instead of the entered
2303         string.
2305 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2307         * org.el (org-store-link): Never store a link to an inline task.
2309         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2311         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2312         inline tasks when positioning footnotes.
2314         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2315         function.
2317         * org.el (org-refile): Remove the END line when archiving an
2318         inline task that does have an END line.
2320         * org-archive.el (org-archive-subtree): Remove the END line when
2321         archiving an inline task that does have an END line.
2323         * org-macs.el (org-with-limited-levels): New macro.
2324         (org-get-limited-outline-regexp): New function.
2326         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2327         that did not enumerate first line.
2328         (org-export-mark-radio-links): Skip matches in links.
2330 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2332         * org.el (org-activate-plain-links): Make single-match.
2333         (org-adapt-indentation): Fix docstring.
2335         * org-macs.el (org-unmodified): Turn of modification hooks while
2336         running this macro.
2338 2009-08-02  Bastien Guerry  <bzg@altern.org>
2340         * org.el (org-adapt-indentation): Slightly improve the docstring.
2341         (org-occur): Sends an error when the user inputs an empty string.
2342         (org-priority): Bugfix: the tag alignement should happen within
2343         save-excursion.
2345 2009-07-31  Bastien Guerry  <bzg@altern.org>
2347         * org.el (org-make-link-regexps): Don't exclude parentheses from
2348         `org-plain-link-re'
2349         (org-cycle-internal-local): When locally cycling, switch directly
2350         from CHILDREN to FOLDED if there is no subtree
2351         (org-cycle): Update the docstring to document the new behavior of
2352         `org-cycle-internal-local'.
2354 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2356         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2357         an abbreviated format for days.
2359 2009-07-27  Bastien Guerry  <bzg@altern.org>
2361         * org-protocol.el (org-protocol-default-template-key): New
2362         option.
2364         * org.el (org-refile): Bugfix: save-excursion before reading the
2365         refile target, otherwise cursor moves might confuse `org-refile'.
2367         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2368         footnote reference before the footnote itself.
2370         * org.el (org-toggle-heading): Bugfix: correctly convert list
2371         items before the first headline.
2373         * org-html.el (org-export-html-footnote-format): New option for
2374         formatting the footnote reference.
2375         (org-export-as-html): Use the new option.
2377         * org.el (org-provide-todo-statistics): Allow a list of TODO
2378         keywords to compute statistics against headlines containing a
2379         keyword from this list.
2380         (org-update-parent-todo-statistics): Possibly use the new allowed
2381         value of `org-provide-todo-statistics'.
2383 2009-07-26  Bastien Guerry  <bzg@altern.org>
2385         * org-timer.el: Add autoload cookie.
2387         * org.el (org-occur-link-in-agenda-files): New function.
2389         * org-timer.el (org-timer-last-timer): New variable.
2391         * org-agenda.el (org-agenda-mode-map): New key for
2392         org-timer-set-timer called from the agenda.
2394         * org.el (org-mode-map): New key for org-timer-set-timer.
2396         * org-timer.el (org-timer-reset-timers)
2397         (org-timer-show-remaining-time, org-timer-set-timer): New
2398         functions.
2400         * org-clock.el (org-show-notification): Update the docstring.
2402         * org.el (org-provide-todo-statistics): Allow new value
2403         'all-headlines for this option, which includes entries with no
2404         TODO keywords in the todo statistics.
2405         (org-update-parent-todo-statistics): Possibly use the new
2406         'all-headline value from `org-provide-todo-statistics'.
2408 2009-07-25  Bastien Guerry  <bzg@altern.org>
2410         * org-clock.el (org-dblock-write:clocktable): Add a new option
2411         :timestamp which allows display of timestamps in clock reports.
2413         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2414         list to a subtree, preserving the structure of the list.
2415         (org-set-emph-re): Make the last element optional in the regexp.
2416         This regexp now matches an emphasized string at the end of a line.
2418         * org-list.el (org-list-goto-true-beginning)
2419         (org-list-make-subtree, org-list-make-subtrees): New functions.
2421         * org.el (org-eval-in-calendar): Select the right frame.
2422         (org-save-frame-excursion): Remove this macro.
2424 2009-07-24  Bastien Guerry  <bzg@altern.org>
2426         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2427         trying to find the beginning of a list.
2429         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2430         When present, tell org-get-file-contents not to protect org-like
2431         lines.
2433         * org-id.el (org-id-uuid-program): New option to set the name of
2434         the uuidgen program.
2435         (org-id-method): Use `org-id-uuid-program'.
2436         (org-id-new): Use `org-id-uuid-program'.
2438 2009-07-23  Bastien Guerry  <bzg@altern.org>
2440         * org-exp.el (org-export-number-lines): Allow whitespace in code
2441         references.  Allow the -r switch to remove the references in the
2442         source code even when the lines are not numbered: the labels can
2443         be explicit enough.
2445         * org.el (org-fontify-whole-heading-line): New option.
2446         (org-set-font-lock-defaults): Use the new option.
2448         * org-clock.el (org-show-notification-handler): New option.
2449         (org-show-notification): Use the new option.
2451 2009-07-21  Bastien Guerry  <bzg@altern.org>
2453         * org.el (org-eval-in-calendar): Fix a bug about calendar
2454         navigation when `calendar-setup' value is 'calendar-only.
2456 2009-07-19  Bastien Guerry  <bzg@altern.org>
2458         * org.el (orgstruct++-mode): Fix typo in docstring.
2459         (org-insert-link): Clean up: (or (...)) => (...)
2460         (org-insert-link): Use TAB for stored links completion.
2462 2009-07-18  Bastien Guerry  <bzg@altern.org>
2464         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2465         building the list of targets.
2467         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2468         option.
2469         (org-remember-handler): Use the new option.
2471 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2473         * org.el (org-tags-sort-function): New option for sorting tags.
2474         (org-set-tags): Use the new option to sort tags.
2476         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2477         premature deletion of the data when using org-plot in a script.
2479 2009-07-17  Bastien Guerry  <bzg@altern.org>
2481         * org-clock.el (org-clock-in-prepare-hook): New hook.
2482         (org-clock-in): Use this new hook.
2484 2009-07-16  Bastien Guerry  <bzg@altern.org>
2486         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2487         'reversed for this option to the "true line boundary first"
2488         behavior.
2489         (org-tags-match-list-sublevels): Document the 'indented value for
2490         this variable.
2492         * org-latex.el (org-export-latex-first-lines): Fix problem with
2493         publishing the region.
2495         * org-exp.el (org-export-format-source-code-or-example): Fix
2496         bad line numbering when exporting examples in HTML.
2498         * org-colview.el (org-format-time-period): Formats a time in
2499         fractional days as days, hours, mins, seconds.
2500         (org-columns-display-here): Add special handling for SINCE and
2501         SINCE_IA to format for display.
2503 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2505         * org.el (org-tags-sort-function): Add custom declaration for tags
2506         sorting function.
2507         (org-set-tags): Sort tags if org-tags-sort-function is set
2509 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2511         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2513         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2515         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2516         option.
2518 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2520         * org-publish.el (org-publish-remove-all-timestamps): New function.
2521         (org-publish-all): Remove all timestamp files if `org-publish-all'
2522         is called with a prefix argument.
2524         * org-list.el (org-indent-item): Fix typo.
2525         (org-item-indent-positions): Normalize ordered bullet.
2527         * org-html.el (org-export-html-home/up-format): New option.
2528         (org-export-as-html): Insert the up and HOME links.
2530 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2532         * org-html.el (org-export-as-html): Insert the title into the
2533         option plist.
2534         (org-export-html-insert-plist-item): New function.
2535         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2537         * org-macs.el (org-set-local): Make a local variable, do not make
2538         the variable buffer-local!
2540         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2542         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2544         * org-docbook.el (org-export-as-docbook): Call
2545         `org-install-letbind'.
2547         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2549         * org-exp.el (org-infile-export-plist): Read BIND lines.
2550         (org-install-letbind): New function.
2551         (org-export-as-org, org-export-preprocess-string): Call
2552         `org-install-letbind'.
2554         * org-src.el (org-edit-src-exit): Untabify the example before
2555         returning to Org.
2557         * org-list.el (org-list-demote-modify-bullet): New option.
2558         (org-first-list-item-p): Save point.
2559         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2560         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2561         (org-item-indent-positions): Return bullet types along with
2562         indentation.
2564 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2566         * org.el (org-show-entry): Hide drawers.
2568 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2570         * org-footnote.el (org-footnote-auto-adjust): New option.
2571         (org-footnote-auto-adjust-maybe): New function.
2572         (org-footnote-new, org-footnote-delete): Call
2573         `org-footnote-auto-adjust-maybe'.
2575         * org.el (org-startup-options): Add new footnote-related
2576         keywords.
2578         * org-publish.el (org-publish-timestamp-filename): Additional
2579         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2580         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2581         TRUE-PUB-DIR.  Pass them through to
2582         `org-publish-timestamp-filename'.
2583         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2584         PUB-FUNC, which are included in the hash.
2585         (org-publish-file): Delay timestamp test until the publishing
2586         function is known.
2588 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2590         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2591         setting the deadline.
2593         * org.el (org-read-date-final-answer): New variable.
2594         (org-read-date): Store the final answer string, including the date
2595         from the calendar, for reuse by agenda bulk commands.
2597         * org-publish.el (org-publish-attachment): Fix publishing of
2598         attachments.
2600         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2601         quotation makrs in parenthesis.
2602         (org-remove-initial-hash): New function.
2603         (org-export-latex-preprocess): Fix bug with infinite loop if
2604         environment is not properly closed.
2606         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2607         when indented.
2609         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2610         highlight also when indented.
2612 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2614         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2615         (org-footnote-action): Offer renumbering.
2617         * org.el (org-cycle): Honor the `integrate' value of
2618         org-cycle-include-plain-lists'.
2620         * org-list.el (org-cycle-include-plain-lists): New allowed value
2621         `internal'.  Improve the docstring.
2623         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2624         regexp to work better with LaTeX commands.
2626 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2628         * org-feed.el (org-feed-update): fix problem with non-existing
2629         buffer.
2630         (org-feed-skip-http-headers): New function.
2631         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2632         (org-feed-get-feed): Fix command line arguments for curl.
2634 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2636         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2637         and eps extensions.
2639 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2641         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2642         loaded.
2644         * org.el (org-map-entries): No longer force
2645         `org-tags-match-list-sublevels' to t during a todo-only tags
2646         search.
2648 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2650         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2651         environment.
2652         (org-export-latex-subcontent): Handle user-defined environment.
2654         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2655         the View dispatcher.
2657         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2658         `make-overlay'.
2660         * org-latex.el (org-export-as-pdf): Protect match data during call
2661         to shell-quote-argument.
2663         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2664         (org-agenda-view-mode-dispatch): New function.
2666 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2668         * org-agenda.el (org-agenda-mode): Reset list of marks.
2669         (org-agenda-mode-map): Define new keys for refile and bulk action.
2670         (org-agenda-menu): Add menu itesm for refile and bulk action.
2671         (org-agenda-refile): New function.
2672         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2673         (org-agenda-marked-entries): New variable.
2674         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2675         (org-agenda-remove-all-bulk-action-marks)
2676         (org-agenda-bulk-action): New functions/commands.
2678 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2680         * org-exp.el (org-get-file-contents): Protect org-like lines in
2681         included files.
2682         (org-export-format-source-code-or-example): Remove newlines.
2684         * org-latex.el (org-export-latex-links): Check for no-description
2685         marking.
2687         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2688         argument separator back to comma.
2689         (org-export-normalize-links): Mark links without description.
2691 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2693         * org-exp.el (org-infile-export-plist): Fix bug in macro
2694         processing.
2696         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2697         out.
2698         (org-agenda-highlight-todo): Fix bug with highlighting.
2700 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2702         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2703         new alignment strings.
2705         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2706         command list.
2707         (org-table-align): Check for forced align type.
2709         * org.el (org-self-insert-command): Add yas/expand to command
2710         list.
2712         * org-clock.el (org-clock-in-hook): New hook.
2713         (org-clock-in): Run `org-clock-in-hook.
2714         (org-clock-out-hook): New hook.
2715         (org-clock-out): Run `org-clock-out-hook.
2716         (org-clock-cancel-hook): New hook.
2717         (org-clock-cancel): Run `org-clock-cancel-hook.
2718         (org-clock-goto-hook): New hook.
2719         (org-clock-goto): Run `org-clock-goto-hook.
2721 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2723         * org.el (org-store-link): Better default description for link to
2724         Org-mode headline.
2726         * org-exp.el (org-export-generic): Autoload the generic exporter
2727         function.
2728         (org-export): Implement the `g' key for the generic exporter.
2730 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2732         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2733         and for zbacktab'.
2735         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2737         * org-exp.el (org-infile-export-plist): Get macros also from
2738         #+SETUPFILE.
2740 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2742         * org-colview.el (org-columns-capture-view): Protect vertical bars
2743         in column values.
2744         (org-columns-capture-view): Exclude comment and archived trees.
2746         * org-colview-xemacs.el (org-columns-capture-view): Protect
2747         vertical bars in column values.
2748         (org-columns-capture-view): Exclude comment and archived trees.
2750         * org.el (org-quote-vert): New function.
2752         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2754         * org-exp.el (org-export-format-source-code-or-example): Use
2755         `org-export-latex-verbatim-wrap'.
2757         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2758         time stamps.
2760         * org-html.el (org-export-table-row-tags): New option.
2761         (org-format-org-table-html): Rename `nlines' to `nline', use new
2762         option.
2765 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2767         * org-exp-blocks.el: Declare functions and variables.
2769         * org-remember.el (org-remember-templates): Allow the headline
2770         element to be a function.
2771         (org-remember-apply-template): If the headline is a function, call
2772         it to get the true function.
2774         * org-clock.el (org-clock-menu): New function.
2775         (org-clock-update-mode-line): Update help string.
2776         (org-clock-modify-effort-estimate): New function.
2777         (org-clock-mark-default-task): New function.
2779         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2780         minutes as input.
2781         (org-org-menu): Add new clocking stuff.
2782         (org-clock-is-active): New function.
2784 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2786         * org.el (org-open-non-existing-files): Improve docstring.
2788 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2790         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2791         option.
2792         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2794         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2796         * org-list.el (org-get-checkbox-statistics-face): Use the new
2797         faces.
2799         * org-faces.el (org-checkbox-statistics-todo)
2800         (org-checkbox-statistics-done): New faces.
2802 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2804         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2805         (org-edit-src-exit): Better cursor positioning when returning from
2806         editing.
2808         * org-latex.el (org-export-latex-use-verb): New variable.
2809         (org-export-latex-emph-format): Prefer \texttt over \verb when
2810         org-export-latex-use-verb is set.
2812 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2814         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2815         at normal indentation.
2817         * org-html.el (org-export-html-close-lists-maybe): Also look at
2818         normal indentation.
2820         * org-remember.el (org-remember-handler): Abort remember if the
2821         buffer is empty.
2823         * org-src.el (org-edit-src-content-indentation): New option.
2824         (org-edit-src-exit): Apply extra indentation.
2826         * org-exp.el (org-export-format-source-code-or-example): Run
2827         `org-src-mode-hook'.
2829         * org-src.el (org-src-mode-hook): New variable.
2830         (org-edit-src-code): Run `org-src-mode-hook'.
2832 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2834         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2836         * org-src.el (org-edit-src-get-indentation): New function.
2837         (org-edit-src-code): Base indentation on the begin line.
2839 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2841         * org-gnus.el (org-gnus-store-link): Require message.el in
2842         org-gnus-store-link.
2844 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2846         * org-src.el: New file, split out of org.el
2848         * org-docbook.el (org-export-as-docbook): Better indentation
2849         treatment.
2851         * org-macs.el (org-replace-match-keep-properties): New function.
2853         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2854         preprocessing of center and quote and verse blocks.
2856         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2857         (org-export-as-docbook): Close lists when original indentation
2858         mandates it.
2860         * org-html.el (org-export-html-close-lists-maybe): New function.
2861         (org-export-as-html): Close lists when original indentation
2862         mandates it.
2864         * org-list.el (org-list-end): Respect the stored "original"
2865         indentation when determining the end of the list.
2867         * org-exp.el (org-export-replace-src-segments-and-examples):
2868         Remember indentation correctly.
2870 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2872         * org-clock.el (org-clock-update-mode-line): Apply face
2873         org-mode-line-clock.
2875         * org-faces.el (org-mode-line-clock): New face.
2877 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2879         * org-gnus.el (org-gnus-store-link): Fix bug where
2880         `org-gnus-store-link' used wrong subject when called in an article
2881         buffer.  Patch provided by fengli AT gmail DOT com.
2883 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2885         * org-exp.el (org-export-format-source-code-or-example): Remember
2886         the original indentation of source code snippets and examples.
2888         * org-latex.el (org-export-as-latex): Relocate the table of
2889         contents.
2891         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2893         * org-agenda.el (org-run-agenda-series): Scope global options also
2894         when creating the agenda buffer.
2896 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org.el (org-adapt-indentation): Improve documentation.
2899         (org-insert-property-drawer): Respect org-adapt-indentation when
2900         inserting the drawer.
2901         (org-remove-flyspell-overlays-in): New function.
2902         (org-do-emphasis-faces, org-activate-plain-links)
2903         (org-activate-code, org-fontify-meta-lines-and-blocks)
2904         (org-activate-angle-links, org-activate-footnote-links)
2905         (org-activate-bracket-links, org-activate-dates)
2906         (org-activate-target-links, org-activate-tags): Remove flyspell
2907         overlays.
2909 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2911         * org.el (org-edit-src-save): New function.
2913         * org-clock.el (org-clock-out-switch-to-state): New option.
2914         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2916         * org-compat.el (org-compatible-face): Improve macro.
2918         * org.el (org-global-properties-fixed): Add default for
2919         CLOCK_MODELINE_TOTAL.
2921         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2922         andd tend.
2923         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2924         org-clock-sum.
2925         (org-clock-get-sum-start): New function.
2927         * org.el (org-startup-options): New keywords blockhide and
2928         blockshow.
2929         (org-mode): Add new invisibility spec.
2930         (org-set-startup-visibility): Hide block on startup if so
2931         desired.
2932         (org-hide-block-startup): New option.
2933         (org-block-regexp): New constant.
2934         (org-hide-block-overlays): New variable.
2935         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2936         (org-show-block-all, org-hide-block-toggle-maybe)
2937         (org-hide-block-toggle): New functions.
2938         (org-edit-src-exit): Do not quote lines starting with # and no +
2939         behind it.
2940         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2941         entry.
2943 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2945         * org.el (org-buffer-property-keys): Add Effort property for
2946         completion.
2948 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2950         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2951         when retrieving total clocked time in the subtree.
2953         * org.el (org-quoting-blocks): New variable.
2955 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2957         * org-table.el (org-table-store-formulas)
2958         (org-table-get-stored-formulas, org-table-fix-formulas)
2959         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2960         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2962         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2963         indented #+TBLFM line.
2965         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2966         indented #+TBLFM line.
2968         * org-colview.el (org-dblock-write:columnview): Allow indented
2969         #+TBLFM line.
2971         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2972         indented #+TBLFM line.
2974         * org-clock.el (org-dblock-write:clocktable): Allow indented
2975         #+TBLFM line.
2977 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2979         * org-exp.el (org-export-format-source-code-or-example): Make
2980         editing indented blocks work correctly.
2982         * org.el (org-edit-src-nindent): New variable.
2983         (org-edit-src-code, org-edit-fixed-width-region)
2984         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2985         editing indented blocks work correctly.
2987 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2989         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2990         indented blocks.
2991         (org-export-format-source-code-or-example): Fix indentation of
2992         blocks.
2993         (org-export-remove-indentation): New function.
2994         (org-export-select-backend-specific-text): Allow backend-specific
2995         code to be indented.
2996         (org-export-mark-blockquote-verse-center): Allow markers to be
2997         indented.
2999         * org.el (org-fontify-meta-lines): New function.
3000         (org-set-font-lock-defaults): Call the new fontification
3001         function.
3003         * org-faces.el (org-meta-line): New face
3004         (org-block):  New face.
3006 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3008         * org.el (org-treat-insert-todo-heading-as-state-change)
3009         (org-treat-S-cursor-todo-selection-as-state-change): New
3010         variables.
3011         (org-insert-todo-heading): Honor
3012         `org-treat-insert-todo-heading-as-state-change'.
3013         (org-shiftright, org-shiftleft): Honor
3014         `org-treat-S-cursor-todo-selection-as-state-change'.
3015         (org-inhibit-logging): New variable.
3017 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3019         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3020         range for marker position checking.
3022         * org-latex.el (org-export-latex-first-lines): Fix bug when
3023         exporting a region.
3025 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3027         * org-exp.el (org-export-push-to-kill-ring): Protect using
3028         x-set-selection, because that does not always work.
3030         * org-agenda.el (org-agenda-list): Apply the new face
3031         `org-agenda-date-today'.
3033         * org-faces.el (org-agenda-date-today): New face.
3035 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3037         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3038         creating appointments.
3040         * org-latex.el (org-export-latex-low-levels): Fix customization
3041         type.
3043         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3044         priority commands.
3046         * org-agenda.el (org-agenda-priority): Disable priority commands.
3048         * org.el (org-enable-priority-commands): New option.
3050         * org-colview-xemacs.el (org-columns-compute)
3051         (org-columns-number-to-string): Fix problems with empty fields.
3053         * org-colview.el (org-columns-compute)
3054         (org-columns-number-to-string): Fix problems with empty fields.
3056         * org-exp.el (org-export-push-to-kill-ring): New function.
3057         (org-export-copy-to-kill-ring): New option.
3059         * org-latex.el (org-export-as-latex): Call
3060         `org-export-push-to-kill-ring'.
3062         * org-html.el (org-export-as-html): Call
3063         `org-export-push-to-kill-ring'.
3065         * org-docbook.el (org-export-as-docbook): Call
3066         `org-export-push-to-kill-ring'.
3068         * org-ascii.el (org-export-as-ascii): Call
3069         `org-export-push-to-kill-ring'.
3071         * org-exp.el (org-export-show-temporary-export-buffer): New
3072         option.
3074         * org-latex.el (org-export-as-latex): Use
3075         `org-export-show-temporary-export-buffer'.
3077         * org-html.el (org-export-as-html): Use
3078         `org-export-show-temporary-export-buffer'.
3080         * org-docbook.el (org-export-as-docbook): Use
3081         `org-export-show-temporary-export-buffer'.
3083         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3084         `org-export-show-temporary-export-buffer'.
3086         * org-exp.el (org-export-show-temporary-export-buffer): New
3087         option.
3088         (org-export-push-to-kill-ring): New function.
3090         * org-colview.el (org-columns-compile-map): New variable.
3091         (org-columns-new, org-columns-compute)
3092         (org-columns-number-to-string, org-columns-uncompile-format)
3093         (org-columns-compile-format): Implement new operators.
3095 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3097         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3099         * org-html.el (org-export-html-xml-declaration): New option.
3100         (org-export-as-html): Use `org-export-html-xml-declaration'.
3102         * org-list.el (org-update-checkbox-count): Make property
3103         dependent.
3105         * org.el (org-hierarchical-todo-statistics): New option.
3106         (org-update-parent-todo-statistics): Modified to handle recursive
3107         statistics.
3109 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3111         * org-publish.el (org-publish): Make this function behave
3112         correctly in interactive use when called with a prefix argument.
3114         * org.el (org-todo-statistics-hook): New hook.
3115         (org-update-parent-todo-statistics): Use new hook.
3116         (org-log-into-drawer): New function.
3117         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3118         determine if we should be logging into a drawer.
3119         (org-log-into-drawer): Update docstring.
3120         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3122         * org-list.el (org-checkbox-statistics-hook): New hook.
3123         (org-update-checkbox-count-maybe): Use new hook.
3125         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3126         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3127         to kill ring.
3129 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3131         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3132         a line.
3134 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3136         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3137         better bufer-generating mechanism.
3138         (org-edit-src-find-buffer): New function.
3140         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3141         archive tag, this is already done by `org-agenda-skip'.
3142         data while constructing lost of tags.
3144 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3146         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3147         as argument separator in macros.
3149         * org-html.el (org-export-as-html): Add xml declaration.
3151 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3153         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3154         (org-sort-entries-or-items): Run the new hook.
3155         (org-after-refile-insert-hook): New hook.
3156         (org-refile): Run `org-after-refile-insert-hook'.
3158         * org-agenda.el (org-agenda-get-progress): Never take time of day
3159         from headline when displaying progress.
3161         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3162         (org-export-as-latex): Force the correct regexp in the
3163         preprocessor buffer.
3164         (org-export-latex-set-initial-vars): Set
3165         `org-export-latex-complex-heading-re'.
3167         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3168         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3170 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3172         * org-latex.el (org-export-latex-tables-centered): New option.
3173         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3175         * org-exp.el (org-export-as-org): New command.
3176         (org-export-as-org): New command.
3178         * org-publish.el (org-publish-org-to-org): New function.
3180 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3182         * org.el (org-yank): Just call `org-yank-generic'.
3183         (org-yank-generic): New function, containing the formaer
3184         functionality of `org-yank'.
3186         * org-latex.el (org-export-latex-not-done-keywords)
3187         (org-export-latex-done-keywords): New variables.
3188         (org-export-latex-todo-keyword-markup): New option.
3189         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3190         (org-export-latex-keywords-maybe): Apply the TODO markup.
3192 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3194         * org-exp.el (org-infile-export-plist): Add more default macros.
3195         (org-export-preprocess-apply-macros): Process macro arguments.
3197 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3199         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3200         `unblocked'.
3201         (org-print-icalendar-entries): Respect the new value of
3202         `org-icalendar-include-todo'.
3204         * org.el (org-link-try-special-completion)
3205         (org-file-complete-link): New functions.
3206         (org-insert-link): Add special completion support for some link
3207         types.
3209         * org-bbdb.el (org-bbdb-complete-link): New function.
3211 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3213         * org-list.el (org-update-checkbox-count): Allow recursive
3214         statistics.
3215         (org-hierarchical-checkbox-statistics): New option.
3217         * org.el (org-cycle): Remove erraneous space character.
3219         * org-icalendar.el (org-icalendar-timezone): Initialize from
3220         environment.
3222         * org-html.el (org-format-org-table-html): Specify the scope.
3223         (org-format-table-table-html): Specify the scope.
3224         (org-export-table-header-tags): Prepare the scope parameter.
3226 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3228         * org-html.el
3229         (org-export-html-table-use-header-tags-for-first-column): New
3230         option.
3232         * org.el (org-autoload): Fix autoloading of ascii export
3233         functions.
3234         (org-modules): Add org-special-blocks.
3236 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3238         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3239         (org-ical-timezone): New option.
3241         * org-exp.el (org-export-get-coderef-format): Use the description
3242         is present.
3244         * org.el (org-sort-entries-or-items): Improve docstring, and make
3245         better implementation for time sorting.
3247 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3249         * org.el (org-edit-src-persistent-message): New option.
3250         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3251         option.
3253         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3254         patch.
3256         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3257         separate buffer instead of indirect buffer to edit source code.
3258         (org-edit-src-exit): Make this function work with the new setup.
3260         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3261         are properly fontified before shown in the selection menu.
3263         * org.el (org-fontify-like-in-org-mode): New function.
3265         * org-latex.el (org-export-latex-links): Use the property list to
3266         retrieve the default image attributes.
3268         * org-exp.el (org-export-plist-vars): Add a new option.
3270 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3272         * org-exp.el (org-export, org-export-visible): Support ASCII
3273         export to buffer
3274         (org-export-normalize-links): Do not protect the description if it
3275         is explicitly given.
3277         * org-ascii.el (org-export-as-ascii-to-buffer)
3278         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3279         commands.
3280         (org-export-as-ascii): Add all the same parameters that are also
3281         supported by the other export functions.
3283         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3284         org-checklist.el.
3285         (org-reset-checkbox-state-subtree): Call
3286         `org-reset-checkbox-state-subtree'.
3288         * org-remember.el (org-select-remember-template): For the
3289         selection of a valid template.
3291         * org-latex.el (org-export-region-as-latex): Supply the
3292         force-no-subtree argument.
3293         (org-export-as-latex): Provide better limits when exporting the
3294         first line.  When exporting to string, we still want the first
3295         lines.
3296         (org-export-latex-first-lines): New argument END, to force the end
3297         of the region.
3298         (org-export-region-as-latex): Use the property list.
3299         (org-export-as-latex):
3301         * org-colview-xemacs.el (org-columns-remove-overlays)
3302         (org-columns): Fix call to `local-variable-p'.
3304 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3306         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3307         (org-export-as-html): Run the new hook.
3309         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3310         (org-export-latex-preprocess): Run the new hook.
3312         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3313         (org-export-preprocess-string): Run the new hook.
3315 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3317         * org-macs.el (org-check-external-command): New defsubst.
3319         * org.el (org-mode-map): New key for reload.
3320         (org-format-latex): Better error message when external programs
3321         are not available.
3323         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3325         * org.el (org-sort-entries-or-items): Explicit sorting function
3326         for priorities, needed for XEmacs compatibility.
3328         * org-remember.el (org-remember-apply-template): Improve auto-save
3329         behavior.
3331 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3333         * org-latex.el (org-export-latex-preprocess): Also protect
3334         environments ending in a star.
3336         * org-list.el (org-at-item-p): Fix regular expression.
3338 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3340         * org.el (org-end-of-subtree): Improve speed.
3342         * org-agenda.el (org-agenda-get-timestamps)
3343         (org-agenda-get-progress, org-agenda-get-deadlines)
3344         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3345         in particular, wait as long as possible to collect the tags.
3346         (org-stuck-projects): Improve docstring.
3348         * org.el (org-store-link): No errors when getting custom id before
3349         first headline.
3350         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3352 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3354         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3356         * org-protocol.el: Remove dependency on url.el.
3357         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3358         dependency on url.el.
3360         * org-latex.el (org-export-as-pdf): Use
3361         `org-latex-to-pdf-process'.
3363 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3365         * org-latex.el (org-latex-to-pdf-process): New option.
3367         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3368         New option.
3369         (org-agenda-get-timestamps): Honor
3370         `org-agenda-skip-additional-timestamps-same-entry'.
3372         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3373         (org-clock-goto): Find recent task only if
3374         `org-clock-goto-may-find-recent-task' allows it.
3376         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3377         drawers, and drawers that are missing the :END: line.
3379 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3381         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3382         clock is running.
3384 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3386         * org.el (org-update-parent-todo-statistics): Check for
3387         STATISTICS_FROM property.
3389         * org-list.el (org-update-checkbox-count): Check for
3390         STATISTICS_FROM property.
3392         * org.el (org-tab-first-hook)
3393         (org-tab-after-check-for-table-hook)
3394         (org-tab-after-check-for-cycling-hook): New hooks.
3395         (org-cycle-internal-global, org-cycle-internal-local): New
3396         functions, split out from `org-cycle'.
3397         (org-cycle): Call the new hooks.
3399 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org-exp.el (org-export-preprocess-string): Reset the list of
3402         preferred targets for each run of the preprocessor.
3404         * org.el (org-refile-target-verify-function): Improve
3405         documentation.
3406         (org-get-refile-targets): Respect point being moved by the
3407         verification function.
3409         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3410         option.
3411         (org-export-latex-keywords): Use new option.
3413         * org.el (org-rear-nonsticky-at): New defsubst.
3414         (org-activate-plain-links, org-activate-angle-links)
3415         (org-activate-footnote-links, org-activate-bracket-links)
3416         (org-activate-dates, org-activate-target-links)
3417         (org-activate-tags): Place the rear-nonsticky properties at the
3418         correct location.
3420 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3422         * org-protocol.el (server-edit): Declare `server-edit'.
3423         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3424         functions.
3425         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3427         * org.el (org-default-properties): New default properteis for
3428         completion.
3430         * org-exp.el (org-export-add-subtree-options): Add new properties
3431         for subtree export.
3433         * org-docbook.el (org-export-docbook-keywords-markup)
3434         (org-export-docbook-timestamp-markup): New options.
3435         (org-export-docbook-protect-tags): New function.
3437 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3439         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3440         org-refile-target-verify-function for the duration of the command.
3442         * org.el (org-link-to-org-use-id): New possible value
3443         `create-if-interactive-and-no-custom-id'.
3444         (org-store-link): Use custom IDs.
3445         (org-link-search): Find custom ID properties from #link.
3446         (org-default-properties): Add CUSTOM_ID for property completion.
3447         (org-refile-target-verify-function): New option.
3448         (org-goto): Turn off org-refile-target-verify-function
3449         for the duration of the command.
3451 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3453         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3455         * org-exp.el (org-export-preferred-target-alist): New variable.
3456         (org-export-define-heading-targets): Find the new CUSTOM_ID
3457         property.
3458         (org-export-target-internal-links): Target the custom ids when
3459         possible.
3461         * org-latex.el (org-export-latex-preprocess): Better regexp for
3462         matching latex macros with arguments.
3464 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3466         * org-remember.el (org-remember-handler): Allow filing to non-org
3467         files.
3469 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3471         * org-feed.el (org-feed-alist): New keyword options.
3472         (org-feed-update): Use the new options.
3473         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3474         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3475         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3476         functions.
3478         * org-table.el (org-table-fix-formulas): Do not change references
3479         to remote tables.
3480         (org-table-get-remote-range): Convert standard coordinates to RC
3481         format.
3483         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3485 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3487         * org-compat.el (org-sha1-string): Function removed.
3489         * org.el (org-refile-allow-creating-parent-nodes): New option.
3490         (org-refile-get-location): New argument NEW-NODES.
3491         (org-refile): Call `org-refile-get-location' with the new
3492         argument.
3493         (org-refile-get-location): Arrange for adding a new child.
3494         (org-refile-new-child): New function.
3496         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3497         an additional span element.
3499         * org-clock.el: Fix a number of docstrings.
3500         (org-clock-find-position): New argument
3501         FIND-UNCLOSED to make the function find an unclosed clock in the
3502         entry.
3503         (org-clock-in): Call `org-clock-find-position' with the new
3504         argument if we might be resuming a clock.
3506 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3508         * org-latex.el (org-export-latex-display-custom-times): New variable.
3509         (org-export-latex-timestamp-markup): New option.
3510         (org-export-latex-set-initial-vars): Remember the local value of
3511         `org-display-custom-times'.
3512         (org-export-latex-content): Process time stamps.
3513         (org-export-latex-time-stamps): New function.
3515         * org-macs.el (org-maybe-intangible): Add intangible property
3516         again to invisible text.
3518 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3520         * org-exp.el (org-default-export-plist): Handle undefined
3521         variables.
3523 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3525         * org.el (org-sort-entries-or-items): Match TODO keywrds
3526         case-sensitively, when sorting.
3527         (org-priority): Do not match TODO keywords with wrong case.
3529 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3531         * org-feed.el (org-feed-update): Bind the variable
3532         `new-formatted'.
3534         * org-html.el (org-export-as-html): Start paragraphs after literal
3535         examples.
3537         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3538         literal examples.
3540 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3542         * org.el (org-todo): Honor the NOBLOCKING property.
3544         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3545         NOBLOCKING property.
3547         * org.el (org-scan-tags): Fix bug in tag scanner
3549 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3551         * org.el (org-modules): Mark obsolete packages.
3553         * org-html.el: New file, split out from org-exp.el.
3555         * org-icalendar.el: New file, split out from org-exp.el.
3557         * org-xoxo.el: New file, split out from org-exp.el.
3559         * org-ascii.el: New file, split out from org-exp.el.
3561 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3563         * org-compat.el (org-find-library-name): New function.
3565         * org.el (org-pre-cycle-hook): New hook.
3566         (org-cycle): Call the new hook in appropriate places.
3567         (org-reload): Only reload files that have been loaded before.
3569 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3571         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3572         after todo keyword.
3573         (org-todo): When changing TODO state, do matching
3574         case-sensitively.
3575         (org-map-continue-from): New variable.
3576         (org-scan-tags): Respect values in `org-map-continue-from'.
3577         (org-reload): Make XEmacs compatible.
3579 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3581         * org-protocol.el (org-protocol-flatten-greedy): New function.
3582         (org-protocol-flatten): New function.
3584         * org.el (org-open-link-from-string): Pass reference buffer to
3585         `org-open-at-point'.
3586         (org-open-at-point): New optional argument `reference-buffer'.
3588 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3590         * org.el (org-scan-tags): Make tag scan find headline in first
3591         line, 2nd attempt.
3592         (org-get-refile-targets): Add the naked file name.
3593         (org-refile): Store as top-level entry when only file name was
3594         given.
3596         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3598         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3599         Renamed from org-block-todo-from-children-or-siblings, and
3600         enhanced to look for the parent's status as well.
3602         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3603         (org-agenda-get-progress): Add first notes line to log entry if so
3604         desired.
3606 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3608         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3609         (org-agenda-cleanup-fancy-diary): Call the new hook.
3611         * org-remember.el (org-remember-apply-template): Take the default
3612         for the annotation from the :annotation property.
3614         * org-mac-message.el (org-mac-message-get-link): Remove the
3615         quotes.
3616         (org-mac-message-get-link): Return the result.
3618 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3620         * org.el (org-refile-get-location): Add file name only if not
3621         already included in outline path.
3623         * org-faces.el (org-n-level-faces): Fix customization type from
3624         number to integer.
3626         * org-exp.el (org-export-headline-levels): Fix customization type
3627         from number to integer.
3629         * org-agenda.el (org-agenda-confirm-kill)
3630         (org-agenda-custom-commands-local-options)
3631         (org-timeline-show-empty-dates, org-agenda-ndays)
3632         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3633         customization type from number to integer.
3635 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3637         * org-protocol.el: Declare some functions.
3639         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3640         postion before inserting modified headline.
3642         * org-agenda.el (org-agenda-compare-effort): Honor
3643         `org-sort-agenda-noeffort-is-high'.
3644         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3645         (org-agenda-compare-effort): Implement the "?" operator for
3646         finding entries without effort setting.
3648         * org.el (org-extract-attributes-from-string): New function.
3650         * org-exp.el (org-export-splice-attributes): New function.
3652 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3654         * org-mouse.el: XEmacs compatibility fixes
3656         * org-docbook.el (org-export-as-docbook): Process footnotes like
3657         normal text.
3659         * org.el (org-modules): Add org-inlinetasks.el
3660         (org-cycle): Implement limiting level on cycling.
3661         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3662         buffer.
3664         * org-inlinetask.el: New file.
3666         * org.el (org-emphasis-regexp-components): Allow braces in
3667         emphasis pre and post match.
3669         * org-footnote.el (org-footnote-normalize): When only dorting, do
3670         not insert inline notes at the end.
3672         * org-docbook.el (org-id-find-id-file): Add function declaration.
3674         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3676         * org-docbook.el: New file.
3678 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3680         * org.el (org-reftex-citation): New command.
3682 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3684         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3685         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3686         sorting options.
3687         (org-entries-lessp): Apply the new sorting option.
3689         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3690         blocker code, when an older sibling has children.
3692         * org-mac-message.el (org-mac-message-get-link): Improve getting
3693         links from multiple selected messages.
3695 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3697         * org-remember.el (org-remember-finalize): Do not set buffer file
3698         name to nil.
3699         (org-remember-handler): Mark buffer as unmodified.
3700         (org-remember-handler): Delete backup file and show message about
3701         remaining backup files.
3702         (org-remember-auto-remove-backup-files): New option.
3704         * org.el (org-store-link): Use buffer name as link description in
3705         w3-mode buffers.
3706         (org-ido-switchb): Fix argument bug for completion.
3708         * org-remember.el (org-remember-apply-template): Set local
3709         variable `auto-save-visited-file-name' instead of global one.
3711 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3713         * org-feed.el: Re-write.
3715         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3716         (org-agenda-get-todos): Mark file tags as inherited.
3717         (org-agenda-list): Always search diary lines for a time.
3719 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3721         * org-feed.el (org-feed-assume-stable): New option.
3722         (org-feed-before-adding-hook): New hook.
3724         * org-exp.el (org-export-as-html): Close local lists depending on
3725         indentation, also when starting a table.
3727         * org-remember.el (org-remember-backup-directory)
3728         (org-remember-backup-name): New internal variable.
3730 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3732         * org-clock.el (org-clock-out-if-current): Make buffer detection
3733         work in indirect buffers as well.
3735         * org.el (org-emphasis-regexp-components): Add the exxclamation
3736         mark to the post-emphasis characters.
3738 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3740         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3741         (org-read-date): Run the new hook.
3743         * org-mac-message.el (org-mac-flagged-mail): New group.
3744         (org-mac-mail-account): New variable.
3745         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3746         commands.
3748         * org-remember.el (org-remember-backup-directory): New variable.
3749         (org-remember-apply-template): Write file to backup directory.
3751 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3753         * org-mouse.el (org-mouse-todo-menu): New function.
3754         (org-mouse-todo-keywords): Function removed.
3755         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3757         * org-table.el (org-table-beginning-of-field)
3758         (org-table-end-of-field): New commands
3759         (org-table-previous-field, org-table-beginning-of-field): Better
3760         error messages.
3761         (orgtbl-setup): Include `M-a' and `M-e'.
3763         * org.el (org-backward-sentence, org-forward-sentence): New
3764         commands.
3766         * org-colview.el (org-colview-initial-truncate-line-value): New
3767         variable.
3768         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3769         (org-columns): Remember the value of `truncate-lines'.
3771         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3772         New variable.
3773         (org-columns-remove-overlays): Restore the value of
3774         `truncate-lines'.
3775         (org-columns): Remember the value of `truncate-lines'.
3777         * org.el (org-columns-skip-arrchived-trees): New option.
3779         * org-agenda.el (org-agenda-export-html-style): Define color for
3780         org-agenda-done face.
3781         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3782         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3784         * org.el (org-scan-tags): Use the new face.
3786         * org-faces.el (org-agenda-done): New face.
3788         * org.el (org-scan-tags): Test the value org
3789         `org-tags-match-list-sublevels'.
3790         (org-tags-match-list-sublevels): New allowed value: indented.
3792         * org-export-latex.el (org-export-latex-make-header): Apply macros
3793         in header.
3795         * org-exp.el (org-export-apply-macros-in-string): New function.
3797         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3798         with the definition of a checked box.
3800         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3802         * org-export-latex.el (org-export-latex-low-levels): More options
3803         for how to process lower levels in LaTeX.
3804         (org-export-latex-subcontent): Better treatment for lists as a
3805         means of publishing lower levels.
3807 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3809         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3811         * org-faces.el (org-checkbox): New face.
3813         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3814         fragement images if there is an export file.
3816 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3818         * org-agenda.el (org-stuck-projects): Document that the subtree of
3819         projects that are not stuck will now be searched for stuck
3820         sub-projects.
3821         (org-agenda-skip-entry-when-regexp-matches)
3822         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3823         (org-agenda-list-stuck-projects): Use
3824         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3826         * org-export-latex.el (org-export-latex-preprocess): Improve
3827         export of verses.
3829         * org-exp.el (org-export-as-html): Implement centering as a div
3830         rather than a paragraph.  Do a better job with line-end in verse
3831         environments.
3833 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3835         * org.el (org-open-at-point): Fix tags searches by mouse click.
3837 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3839         * org-export-latex.el (org-export-latex-preprocess): Implement the
3840         centering markup.
3842         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3843         from `org-export-mark-blockquote-and-verse'.
3844         (org-export-as-html): Implement the centering markup.
3846         * org-export-latex.el (org-export-latex-tables): Fix vertical
3847         lines in tables.
3849 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3851         * org.el (org-read-date-history): New variable.
3852         (org-read-date): Use new history variable.
3853         (org-toggle-heading): Fix bug when used before first headline.
3854         (org-store-log-note): Remove drawer if empty while note is
3855         aborted.
3856         (org-remove-empty-drawer-at): New function.
3857         (org-check-after-date): New command.
3858         (org-sparse-tree): New sparse tree command "a".
3860         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3862 2009-03-14  Bastien Guerry  <bzg@altern.org>
3864         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3865         column and a space, not only a column.
3867 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3869         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3870         defaults for verbose emphasis.
3871         (org-export-latex-emph-format): New function.
3872         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3874         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3875         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3876         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3877         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3878         commands.
3880         * org.el (org-timestamp-change): Move end-time along with start
3881         time.
3883 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3885         * org-exp.el (org-export-target-internal-links)
3886         (org-export-as-html): Protect links specified as #name.
3888 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3890         * org.el (org-clone-subtree-with-time-shift): New command.
3892         * org-export-latex.el (org-export-latex-special-chars)
3893         (org-export-latex-treat-sub-super-char): Fix subscript export.
3895         * org-exp.el (org-create-multibrace-regexp): Do not add
3896         backslashes to the class.
3898 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3900         * org-colview.el (org-columns-map): Better functions for moving up
3901         and down a row, even if `truncate-line' is nil.
3903         * org.el (org-insert-todo-heading): Make sure the keyword is
3904         inserted at the correct position.
3906         * org-publish.el (org-publish-project-alist)
3907         (org-publish-projects, org-publish-org-index): Change default anme
3908         for the index of file names to "sitemap.org".
3910         * org-export-latex.el (org-export-latex-tables): Use
3911         `org-split-string', for Emacs 21 compatibility.
3913 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3915         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3917 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3919         * org-exp.el (org-export-page-description)
3920         (org-export-page-keywords): New variables.
3921         (org-export-plist-vars): Add entries for :keywords and
3922         :description.
3923         (org-infile-export-plist): Parse for new keywords.
3924         (org-get-current-options): Add new keywords
3925         (org-export-as-html): Publish description and keywords.
3927         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3928         option.
3929         (org-agenda-add-entry-text): Honor
3930         `org-agenda-add-entry-text-descriptive-links'.
3932         * org-export-latex.el (org-export-latex-preprocess): Make all
3933         external preprocess functions use a PARAMETER arg.
3935         * org-exp.el (org-export-preprocess-string)
3936         (org-export-select-backend-specific-text)
3937         (org-export-format-source-code-or-example)
3938         (org-format-org-table-html): Support docbook export.
3939         (org-export-preprocess-string): Make all external preprocess
3940         functions use a PARAMETER arg.
3942 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3944         * org-exp.el (org-export-html-style-include-scripts): New option.
3945         (org-export-plist-vars): Add new option
3946         `org-export-html-style-include-scripts'.
3947         (org-export-as-html): Honor new option
3948         `org-export-html-style-include-scripts'.
3949         (org-export-html-scripts, org-export-html-style-default): Fix
3950         xml issues with the Safari browser.
3952 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3954         * org-publish.el (org-publish-attachment): Only copy file when the
3955         directories differ.
3957 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3959         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3960         for clocktable steps.
3962         * org.el (org-additional-option-like-keywords): Add two more
3963         keywords.
3965 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3967         * org-exp.el (org-export-format-source-code-or-example): Mark
3968         temporary buffer unmodified, so that it will be killed even if
3969         mode like message mode has decided to assign a file name.
3971         * org.el (org-scan-tags): Improve tag inheritance.
3972         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3973         case-sensitive.
3974         (org-scan-tags): Use the internal tags list instead of creating it
3975         from scratch.
3976         (org-trust-scanner-tags, org-scanner-tags): New variables.
3977         (org-scan-tags): Set `org-scanner-tags'.
3978         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3979         (org-map-entries): Document the possible speedup using scanner
3980         tags.
3982 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3984         * org.el (org-add-planning-info): Fix bug with looking for keyword
3985         only at column 0.
3987         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3988         option for tags filter preset.
3989         (org-prepare-agenda): Store filter preset as a property on the
3990         filter variable.
3991         (org-finalize-agenda): Call the filter, if there is a preset.
3992         (org-agenda-filter-by-tag): Filter again after clearing the
3993         filter, when there still is a preset.
3994         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3995         Include the preset filter.
3996         (org-agenda-redo): Apply the filter again, also the preset filter.
3998         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4000         * org.el (org-uuidgen-p): New funtion.
4002         * org-agenda.el (org-agenda-fontify-priorities): New default value
4003         `cookies'.
4004         (org-agenda-fontify-priorities): Renamed from
4005         org-fontify-priorities.
4007         * org.el (org-set-font-lock-defaults): Call
4008         `org-font-lock-add-priority-faces'.
4009         (org-font-lock-add-priority-faces): New function.
4011         * org-faces.el: (org-set-tag-faces): New option.
4012         (org-priority-faces): New variable.
4014         * org-exp.el (org-export-as-html): Add a "content" div around the
4015         entire content of the body tag.
4016         (org-export-html-get-bibliography): New function.
4017         (org-export-html-validation-link): New variable.
4018         (org-export-as-html): Add validation link to exported page.
4020         * org.el (org-match-sparse-tree): Renamed from
4021         `org-tags-sparse-tree'.
4022         (org-tags-sparse-tree): New alias.
4024 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4026         * org.el (org-get-valid-level): Catch the case where the level
4027         change is nil.
4029         * org-clock.el (org-clock-find-position): Better indentation of
4030         new clock drawers.
4032 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4034         * org-agenda.el (org-agenda-quit): Delete window only when the
4035         frame-setup was not `current-window'.
4037         * org.el (org-tag-persistent-alist): New option.
4038         (org-startup-options): Add keyword `noptag'.
4039         (org-fast-todo-selection): Handle :newline correctly.
4040         (org-set-tags): Handle :newline correctly.
4041         (org-fast-tag-selection): Handle :newline correctly.
4043 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4045         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4046         outputting it.
4047         (org-export-ascii-push-links): Fix bug with pussing links into the
4048         export buffer.
4050 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4052         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4053         pasting at top level.
4055         * org-bbdb.el: Improve documentation.
4057 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4059         * org-list.el (org-insert-item): Only consider insert empty lines
4060         is `org-empty-line-terminates-plain-lists' is not nil.
4062         * org.el (org-blank-before-new-entry): Mention the dependence on
4063         `org-empty-line-terminates-plain-lists' in the docstring.
4065         * org-publish.el (org-publish-get-project-from-filename): New
4066         optional argument UP.  Only find the top project if UP is set.
4067         (org-publish-current-project): Find the top encloding project.
4069         * org-agenda.el (org-agenda-before-write-hook)
4070         (org-agenda-add-entry-text-maxlines): New options.
4071         (org-write-agenda): Run the new hook in the temporary buffer.
4072         (org-agenda-add-entry-text): New function.
4073         (org-write-agenda): Implement PDF export, using ps2pdf.
4075         * org.el (org-global-properties-fixed, org-global-properties):
4076         Improve documentation string.
4078         * org-exp.el (org-export-ascii-links-to-notes): New option.
4079         (org-export-as-ascii): Handle links better.
4080         (org-export-ascii-wrap, org-export-ascii-push-links): New
4081         functions.
4083 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4085         * org-agenda.el (org-agenda): Make prefix arg optional.
4086         (org-agenda-search-headline-for-time): New option.
4087         (org-format-agenda-item): Honor
4088         `org-agenda-search-headline-for-time'.
4090         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4091         characters.
4093         * org.el (org-self-insert-cluster-for-undo): New option.
4094         (org-self-insert-command): Cluster undo for 20 characters.
4095         (org-self-insert-command-undo-counter): New variable.
4097 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4099         * org-exp.el (org-export-as-html): Fix problem with closing colone
4100         example.
4102 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4104         * org-export-latex.el (org-export-as-latex)
4105         (org-export-latex-first-lines): Avoid modification flag when
4106         adding or removing text properties.
4107         (org-export-latex-fontify): Catch error when org-emph-alist has
4108         entries that are not defined for LaTeX export.
4110         * org.el (orgstruct++-mode): New function.
4111         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4112         (org-context-p): Allow detecting item context after the first line
4113         of an item.
4114         (orgstruct-make-binding): Detect if item-body context should be
4115         seen.
4116         (orgstruct-is-++): New variable.
4117         (org-add-planning-info): Catch the case when there is no planning
4118         info yet and the call does not want to add anything, only maybe
4119         tries to remove something.
4120         (org-special-ctrl-a/e): All value to be a cons cell with separate
4121         settings for `C-a. and `C-e'.
4122         (org-beginning-of-line, org-end-of-line): Honor separate values
4123         for `C-a' and `C-e'.
4125 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4127         * org.el (org-reload): New command.
4129 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4131         * org-exp.el (org-export-htm-get-tag-class-name)
4132         (org-export-htm-get-todo-kwd-class-name): New functions.
4133         (org-export-html-tag-class-prefix)
4134         (org-export-html-todo-kwd-class-prefix): New options.
4135         (org-export-as-html): Call
4136         `org-export-html-get-todo-kwd-class-name'.
4137         (org-html-level-start): Wrap tags into classes.
4138         (org-export-html-get-tag-class-name)
4139         (org-export-html-get-todo-kwd-class-name): New functions.
4141         * org-export-latex.el (org-export-latex-collect-header-macros):
4142         Remove fields that are used anyway.
4143         (org-export-latex-make-header): Insert the options earlier.
4145         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4146         matching.
4148         * org-list.el (org-indent-item): Allow point to be at the end of
4149         the region.
4151         * org.el (org-metaleft, org-metaright): Be more accurate about
4152         detecting a region where commands apply.
4154         * org-compat.el (org-cursor-to-region-beginning): New function.
4156         * org.el (org-priority): Also find invisible heading.
4158         * org-colview-xemacs.el (org-columns-edit-value): No special
4159         treatment for `org-todo' prefix.
4161         * org-colview.el (org-columns-edit-value): No special treatment
4162         for `org-todo' prefix.
4164         * org-remember.el (org-remember-apply-template): Use
4165         `org-completing-read-no-ido'.
4167         * org.el (org-completing-read-no-ido): New function.
4168         (org-make-tags-matcher, org-set-property): Use
4169         `org-completing-read-no-ido'.
4171         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4172         New option.
4173         (org-export-as-latex): Import in-buffer settings as TeX macros.
4174         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4175         (org-export-latex-collect-header-macros): New function.
4177         * org.el (org-refile-get-location): Turn off
4178         `partial-completion-mode'.
4180 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4182         * org.el (org-block-todo-from-checkboxes): Announce that
4183         checkboxes are the culprit.
4184         (org-block-todo-from-children-or-siblings): Call
4185         `org-up-heading-all instead' of `outline-up-heading'.
4187         * org-agenda.el (org-agenda-show-1): Renamed from
4188         `org-agenda-show'.
4189         (org-agenda-show): Re-install the old version for now.
4190         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4191         variable into the blokker hook, so that the checkbox checker can
4192         anounce that it caused the blocking.
4194         * org.el (org-track-ordered-property-with-tag): New option.
4195         (org-toggle-ordered-property): Honor
4196         `org-track-ordered-property-with-tag'.
4197         (org-tag-alist): Add newline options.
4198         (org-set-regexps-and-options): Separate option lines imply a
4199         newline.
4200         (org-set-regexps-and-options, org-assign-fast-keys)
4201         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4202         option.
4203         (org-indent-line-function): Make sure this works even if there is
4204         not `org-drawer-regexp' defined.  This can happen when
4205         orgstruct-mode is used in a non-org buffer.
4207         * org-list.el (org-checkbox-blocked-p): New function.
4208         (org-toggle-checkbox): Check for blocking.
4210         * org.el (org-modules): Add an entry for org-R.el.
4212         * org-agenda.el (org-agenda-todo-ignore-with-date)
4213         (org-agenda-todo-ignore-scheduled)
4214         (org-agenda-todo-ignore-deadlines): Mention the variable
4215         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4217         * org.el (org-get-wdays): Find the warning period also if it is in
4218         the wrong place.
4219         (org-ido-completing-read): Provide the correct arguments to
4220         ido-completing-read and bind `ido-enter-matching-directory' to
4221         nil.
4223 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4225         * org.el (org-olpath-completing-read): Never use ido for this
4226         one.
4228         * org-exp.el (org-export-normalize-links): Use new macro.
4230         * org-macs.el (org-if-unprotected-at): New macro.
4232         * org-agenda.el (org-agenda-show): Allow numerical prefix
4233         arguments to specify how much context should be shown.
4234         (org-agenda-cycle-show): New command, could be bound to SPC in
4235         org-agenda-mode-map.
4237         * org-exp.el (org-html-level-start): Space after section number.
4239 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4241         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4242         property, for sorting.
4243         (org-cmp-todo-state): Get the applicable TODO keywords directly
4244         from the buffer.
4245         (org-run-agenda-series, org-agenda-list, org-search-view)
4246         (org-todo-list, org-tags-view): Only fit agenda window when the
4247         whole series is done.
4249         * org.el (org-scan-tags): Add todo state as property, for sorting.
4251         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4252         `org-agenda-overriding-header' as an option.
4253         (org-agenda-list): Honor org-agenda-overriding-header'.
4255 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4257         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4258         after removing a checkbox.
4260         * org.el (org-show-entry): Make this work correctly also if it is
4261         the last entry in the file.
4262         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4263         falling back to normal, default command.
4264         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4265         item, call the checkbox toggler to get a box.
4267         * org-list.el (org-toggle-checkbox): Make double prefix set the
4268         checkbox to "[-]".
4269         (org-fix-bullet-type): Only replace bullet if it is changed.
4270         (org-renumber-ordered-list): Handle case when first item does not
4271         have a number.
4273         * org.el (org-add-log-setup): Fix positioning when
4274         `org-log-states-order-reversed' is nil.
4276         * org-clock.el (org-clock-in): Fix positioning when
4277         `org-log-states-order-reversed' is nil.
4278         (org-clock-find-position): Fix positioning when
4279         `org-log-states-order-reversed' is nil.
4281 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4283         * org-clock.el (org-clock-into-drawer): Take default from
4284         `org-log-into-drawer'.
4285         (org-clock-find-position): Look for the correct drawer.
4287         * org.el (org-log-into-drawer): Renamed from
4288         `org-log-state-notes-into-drawer'.
4289         (org-log-state-notes-into-drawer): New variable alias.
4290         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4291         CLOCK.
4292         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4294 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4296         * org-agenda.el (org-agenda): Fix docstring.
4298         * org.el ("org-plot"): Help loading org-plot.
4299         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4300         (org-metadown-hook, org-shiftmetaleft-hook)
4301         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4302         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4303         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4304         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4305         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4307         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4308         for selecting files with any (and even without) extension.
4310         * org.el (org-save-all-org-buffers): Also save id locations.
4311         (org-revert-all-org-buffers): Also load id locations.
4313 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4314         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4315         (org-log-state-notes-into-drawer): New option.
4316         (org-add-log-setup): Place the sate note marker into the drawer,
4317         create drawer when necessary.
4318         (org-refile-targets): Document special interpretation of LEVEL
4319         when odd-levels are used.
4321 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4323         * org.el (org-store-log-note): Fix note indentation when adding
4324         notes to end of list.
4326         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4327         class, so that each keyword can get special colors through CSS.
4329         * org-clock.el (org-clock-out): Add another nil for the previous
4330         state into the call to `org-add-log-setup'.
4332         * org.el (org-log-note-previous-state): New variable.
4333         (org-log-note-headings): New %S escape for old state.
4334         (org-todo): Call the note setup with the old state as an
4335         argument.
4336         (org-add-note): Add another nil for the previous state into the
4337         call to `org-add-log-setup'.
4338         (org-add-log-setup): New argument PREV-STATE.
4339         (org-add-log-note): Handle new %S escape.
4340         (org-store-log-note): Handle new %S escape.
4342 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4344         * org-clock.el (org-clock-find-position): Do not swallow an item
4345         less indented than the CLOCK line itself.
4346         (org-clock-in): Push markers to lin after the clock line.
4347         (org-clock-find-position): Handle values of
4348         `org-clock-into-drawer' smaller than 2.
4350         * org-exp.el (org-html-level-start): Add a CSS class to section
4351         numbers.
4352         (org-export-html-toplevel-hlevel): Better documentation of the
4353         influence of this variables on H levels and css classes in
4354         export.
4356 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4358         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4359         timestamp and nottimestamp to the chooe menu.
4361         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4362         (org-revert-all-org-buffers): New command.
4364 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4366         * org.el (org-return): Implement `org-return-follows-link' in the
4367         function org-return.  This is more robust than using the mouse
4368         map, I think.
4369         (org-set-regexps-and-options): Match more general #+TODO lines.
4370         (org-make-options-regexp): New optional argument EXTRA, for an
4371         extra regexp.
4372         (org-tab-follows-link): Mark as deprecated.
4374 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4376         * org-exp.el (org-export-preprocess-string): Remove clock lines
4377         earlier, so that they cannot cotribute to verbatim snippets.
4379 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4381         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4382         for finding drawers.
4383         (org-export-as-ascii, org-export-as-html): Count levels relative
4384         to the subtree header.
4385         (org-get-min-level): New optional argument OFFSET.
4386         (org-export): Make sure point is restored after popping up that
4387         window.
4389         * org.el (org-do-sort): Also take an inactive timestamp if no
4390         active one is found.
4392         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4393         deleting duplicates.
4395         * org-colview.el (org-columns-capture-view): Copy before
4396         deleting duplicates.
4398         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4399         text before first headline.
4401         * org.el (org-format-latex): Do not convert LaTeX fragments in
4402         protected examples.
4404 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4406         * org-exp.el (org-export-html-style-default): Use color values
4407         instead of names for XHTML validation.
4409         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4410         functions.
4411         (org-return-follows-link): Revert making this the default untile
4412         issues are resolved.
4414         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4415         nottimestamp.
4417 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4419         * org.el (org-mode): Make dependence stuff work more reliably.
4420         (org-update-parent-todo-statistics): Fix bug with updating
4421         statistics cookie.
4423         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4424         ~ as verbatim delimiters.
4426         * org-exp.el (org-export-html-format-image): New argument
4427         PAR-OPEN.
4428         (org-export-as-html): Pass par-open to
4429         `org-export-html-format-image'.
4431 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4433         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4434         (org-use-fast-todo-selection, org-tags-column): New default
4435         setting for variables, based on a poll what typical uses use.
4437         * org-agenda.el (org-agenda-sorting-strategy)
4438         (org-agenda-tags-column): New default setting for variables, based
4439         on a poll what typical uses use.
4441 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4443         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4444         blocked entries from setting the blocked tag.
4446         * org-exp.el (org-export-html-footnotes-section): Use a more
4447         consistent id for footnotes.
4449         * org-export-latex.el (org-export-latex-classes): Remove the
4450         a4paper option from the default styles.
4452 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4454         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4455         (org-block-todo-from-checkboxes): New function.
4456         (org-todo): Make tripple prefix arg circumvent blocking.
4458         * org-timer.el (org-timer): Provide the timer feature.
4460         * org.el (org-require-autoloaded-modules): Add a few more files to
4461         the list of autoloaded modules.
4463         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4465 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4467         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4468         drawers that are unprotected.
4469         (org-export-html-format-image): Make sure inlined LaTeX fragment
4470         images remain inlined.
4472         * org.el (org-toggle-ordered-property): New function.
4473         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4474         (org-org-menu): Add menu entries for TODO dependencies.
4476 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4478         * org.el (org-default-properties): Add ORDERED to the default
4479         properties, to get completion support for it.
4481         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4483         * org.el (org-update-parent-todo-statistics): Update more than one
4484         cookie.
4486         * org-agenda.el (org-agenda-get-todos): Start search from correct
4487         position.
4489         * org.el (org-fast-todo-selection): Make sure TODO selection does
4490         not change buffer position.
4492         * org-list.el (org-toggle-checkbox): Implement adding or removing
4493         checkboxes from line or region when called with a prefix
4494         argument.
4496         * org-rmail.el (org-rmail-store-link): Protect the call to
4497         `rmail-narrow-to-non-pruned-header'.
4499         * org-clock.el (org-clock-special-range): Fix week display in
4500         clock tables.
4502         * org-exp.el (org-get-current-options): Fix bug when in indirect
4503         buffer.
4505 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4507         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4508         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4509         (org-agenda-dim-blocked-tasks): New function.
4511         * org.el (org-enforce-todo-dependencies): New option.
4512         (org-block-todo-from-children-or-siblings): New function.
4514         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4516         * org.el (org-todo): Return correct state type even if the blocker
4517         throws an error.
4518         (org-modifier-cursor-error): Renamed from
4519         `org-shiftcursor-error'.
4520         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4521         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4523         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4524         to get real errors from the blocker hook.
4526         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4527         functions.
4528         (org-set-visibility-according-to-property): Turn off the setting
4529         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4530         property.
4532 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4534         * org.el (org-support-shift-select): New option.
4535         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4536         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4537         selection outside contexts.
4539         * org-list.el (org-at-item-bullet-p): New function.
4541         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4542         variables.
4544         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4545         variable.
4546         (org-insert-footnote-reference-near-definition): Remove
4547         unnecessary let form.
4549         * org-export-latex.el (org-export-latex-first-lines): Add
4550         OPT-PLIST parameter.
4551         (org-export-as-latex): Call `org-export-latex-first-lines' with
4552         opt-plits parameter.
4553         (org-export-latex-preprocess): Remove unnecessary variables.
4555         * org-exp.el (org-infile-export-plist)
4556         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4557         (org-export-remove-headline-metadata)
4558         (org-export-get-title-from-subtree, org-get-min-level)
4559         (org-html-do-expand): Remove innecessary let form.
4561         * org-colview-xemacs.el (org-columns-display-here): Remove
4562         unnecessary variables.
4564         * org-colview.el (org-columns-display-here): Remove unnecessary
4565         variables.
4567         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4568         variables.
4570         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4571         unnecessary variables.
4573         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4574         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4575         variables.
4577         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4578         (org-compact-display-after-subtree-move): Remove unnecessary
4579         variables.
4580         (org-edit-fixed-width-region): Remove unnecessary variables.
4581         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4582         (org-olpath-completing-read): Remove unnecessary variable.
4583         (org-auto-repeat-maybe): Remove unnecessary variable.
4584         (org-map-entries): Remove unnecessary variable.
4585         (org-buffer-property-keys, org-imenu-get-tree)
4586         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4588 -----------------------------------------------------------------
4590 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4591         * org-exp.el (org-export-remove-timestamps): Never remove
4592         timestamps from tables.
4594         * org-export-latex.el (org-export-latex-first-lines): Add more
4595         options to the preprocessing of the text before the first
4596         headline.
4598 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4600         * org-faces.el (org-clock-overlay): Make face compatible with
4601         XEmacs.
4603         * org.el (org-yank): Add property for delete-selection mode.
4605         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4607         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4608         variable.
4610         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4611         to `backward-char'.
4613         * org-exp.el (org-export-as-html): Remove the initial space from
4614         colon examples.
4616         * org.el (org-scan-tags): Call
4617         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4619         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4620         customization groups.
4621         (org-agenda-tags-todo-honor-ignore-options): New option.
4622         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4623         New function.
4624         (org-agenda-get-todos): Use
4625         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4627 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4629         * org-exp.el (org-export-format-source-code-or-example): Escape
4630         HTML characters also in examples that anre not treated with
4631         htmlize.  Also, just switch to EXAMPLE processing if we do not
4632         have a good version of htmlize.
4634         * org-rmail.el: Fix copyright notice.
4636         * org.el (org-activate-footnote-links): Improve footnote link
4637         highlighting.
4639         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4640         a footnote definition at the end of the file.
4642         * org-table.el (org-table-get-specials): Add an imagined hline at
4643         the end of the table.  This can be useful for references that want
4644         to go to the end of the table.  Also fix bug when computing last
4645         row constants, in tables that do not start right at the right
4646         margin.
4647         (org-table-eval-formula): Match and replace remove references.
4648         (org-table-formula-substitute-names): Make sure that names inside
4649         a "remote" call are left alone, the will be replaced later when
4650         the remote call is handled.
4651         (org-table-convert-refs-to-rc): Do not convert things that might
4652         look like a reference, but are really part of an ID or namei n a
4653         remote reference.
4654         (org-table-get-remote-range): New function.
4656 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4658         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4660         * org-clock.el (org-clock-put-overlay): Use new face instead of
4661         `secondary-selection'.
4663         * org-faces.el (org-clock-overlay): New face.
4665 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4667         * org-exp.el (org-get-current-options): Include the option for
4668         publishing time stamps.
4670         * org.el (org-toggle-heading): Renamed from
4671         `org-toggel-region-headings'.
4672         No longer needs a region defined, but will use it if there is one.
4673         (org-ctrl-c-star): Simplified, relying more on the internal
4674         workings of `org-toggle-heading'.
4675         (org-toggle-item): Renamed from `org-toggle-region-items'.
4676         No longer needs a region defined, but will use it if there is one.
4677         (org-ctrl-c-minus): Simplified, relying more on the inernal
4678         workings of `org-toggle-item'.
4680         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4681         environment detection.  Also, do real changes only in unprotected
4682         places.
4684 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4686         * org-export-latex.el (org-export-latex-quotation-marks): Use
4687         `org-if-unprotected-1'.
4688         (org-export-latex-set-initial-vars): Check for class definition in
4689         property.
4691         * org-macs.el (org-if-unprotected-1): New macro.
4693 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4695         * org-compat.el (org-count-lines): New function.
4697         * org-exp.el (org-export-format-source-code-or-example): Handle
4698         switches related to text areas.
4700         * org.el (org-activate-footnote-links): Don't allow match inside a
4701         link.
4703         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4705         * org-export-latex.el (org-export-latex-links): Keep a relative
4706         path relative also after export.
4708         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4710         * org.el (org-make-tags-matcher): Never use IDO for completing the
4711         tags matcher match string.
4712         (org-completing-read): Also remove the special biding for "?".
4714         * org-attach.el (org-attach-allow-inheritance): New option.
4715         (org-attach-inherited): New variable.
4716         (org-attach-dir): Handle properties related to the attachment
4717         directory.
4718         (org-attach-check-absolute-path): New function.
4719         (org-attach-set-directory, org-attach-set-inherit): New commands.
4720         (org-attach): Accommodate the new commands in the dispatcher.
4722 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4724         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4725         `window-full-width-p'.
4727         * org-exp.el (org-export-as-html): Only check for images files
4728         that really can be inlined
4730         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4731         list of extensions to be a parameter.
4733         * org-exp.el (org-export-html-inline-image-extensions): New
4734         variable.
4736         * org-agenda.el (org-prepare-agenda): Use
4737         `org-agenda-block-separator'.
4738         (org-agenda-block-separator): New option.
4740 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4742         * org-export-latex.el (org-export-latex-tables): Call
4743         `org-table-clean-before-export' with the new optional argument.
4745         * org-exp.el (org-table-clean-before-export): New optional
4746         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4747         first column.
4749 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4751         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4752         histograms.
4754         * org-colview.el (org-colview-construct-allowed-dates): Better
4755         error catching when a date/time property does not have allowed
4756         values defined.
4758         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4759         Better error catching when a date/time property does not have
4760         allowed values defined.
4762 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4764         * org.el (org-map-entries): Restore point and restriction after
4765         `org-map-entries'.
4767 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4769         * org.el (org-time=, org-time<, org-time<=, org-time>)
4770         (org-time>=, org-time<>): Make sure both values are dates.
4772 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4774         * org-archive.el (org-extract-archive-heading): Allow %s for file
4775         name also in achive location heading.
4777 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4779         * org-archive.el (org-add-archive-files): Uniquify the list before
4780         returning it.
4782 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4784         * org-compat.el (org-fit-window-to-buffer): Use
4785         `window-full-width-p'.
4787         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4788         space after the colon in short examples.
4790         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4791         enforce a space after the colon.  However, we also allow lines
4792         that are *only* a colon.
4793         (org-export-as-html): Enforce the space after the colon in short
4794         examples.
4795         (org-export-preprocess-string): Do the colon example protection
4796         earlier.
4797         (org-export-remove-timestamps): Do not check for protection at the
4798         end of the line.
4800 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4802         * org.el (org-format-latex-options): Add new matcher for single
4803         letters between dollars.
4804         (org-get-header): Function removed.
4805         (org-heading-components): New function.
4807         * org-exp.el (org-export-define-heading-targets): Record ID's also
4808         as alternative targets.
4809         (org-export-as-html): Interpret "id:" links to other files by
4810         preserving the relative path.
4812         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4813         is nil.
4815         * org-exp.el (org-export-normalize-links): Protect the main link,
4816         to avoid special character processing.
4818         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4819         New variable.
4820         (org-export-latex-special-string-regexps): Variable removed.
4821         (org-export-latex-keywords): Use the new regexp.
4823         * org-exp.el (org-export-handle-include-files): Fetch switches and
4824         put them into the BEGIN statement.
4826         * org-timer.el (org-timer-mode-line-string): New variable.
4828         * org-clock.el (org-clock-mode-line-map): Renamed from
4829         `org-clock-mode-map'.
4830         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4831         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4832         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4833         (org-clock-remove-overlays): Renamed from
4834         `org-remove-clock-overlays'.
4836         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4837         and mode line display.
4838         (org-timer-stop): New command.
4839         (org-timer-seconds): Return correct time when timer is paused.
4840         (org-timer-mode-line-timer): New variable.
4841         (org-timer-set-mode-line, org-timer-update-mode-line): New
4842         functions.
4844         * org.el (org-insert-heading):  Handle new value `auto' for
4845         `org-blank-before-new-entry'.
4846         (org-org-menu): Add new items for timer functions.
4848         * org-list.el (org-insert-item): Handle new value `auto' for
4849         `org-blank-before-new-entry'.
4851         * org.el (org-blank-before-new-entry): New value `auto', made
4852         default.
4854 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4856         * org-exp.el (org-export-normalize-links): If the link is also
4857         used as the description, protect the description.
4859 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4861         * org.el (org-closest-date): Fix bug with yearly repeats, in
4862         combination with preference of the past as it is used for deadline
4863         and scheduling search.
4865         * org-exp.el (org-html-handle-time-stamps): No longer check for
4866         the `org-export-with-timestamps' option, because the preprocesser
4867         has taken care of this already.
4869         * org.el (org-entry-properties): Catch the case when this is
4870         called in a non-org-mode file.
4872         * org-export-latex.el (org-export-latex-remove-from-headlines):
4873         Variable made obsolete, also LaTeX export now uses the standard
4874         variables.
4875         (org-export-as-latex): Add the timestamps parameter to the
4876         preprocessor parameter list.
4877         (org-export-latex-content): Export the remaining keywords without
4878         considering to remove them.
4879         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4880         Use bold font instead of tt font for the keywords.
4881         (org-export-latex-fontify-headline): Format headlines, assuming
4882         that all keywords still present should be published.
4883         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4884         publish what ever remains of the time stamps.
4885         (org-export-latex-list-parameters): New option.
4886         (org-export-latex-lists): Pass additional parameters to the list
4887         converter.
4889         * org-exp.el (org-export-preprocess-string): Remove clock lines
4890         and timestamps already in the preprocesor.
4891         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4892         functions.
4893         (org-export-as-ascii, org-export-as-html): Add the timestamps
4894         parameter to the preprocessor parameter list.
4896         * org-list.el (org-list-parse-list): Parse for checkboxes.
4897         (org-list-to-generic): Introduce and handle new parameters :cbon
4898         and :cboff.
4899         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4900         optional parameter PARAMS.
4902         * org-export-latex.el (org-export-latex-special-chars): Fix
4903         problems with interpreting dollar signs.
4904         (org-inside-latex-math-p): New function.
4905         (org-export-latex-preprocess): Protect all the math fragments.
4907         * org.el (org-latex-regexps): Allow a dash after a dollar.
4909         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4910         mark after copying.
4912         * org-agenda.el (org-run-agenda-series): Have series options set
4913         when finalizing the agenda.
4915         * org-exp.el (org-export-format-source-code-or-example): Protect
4916         the converted examples.
4918         * org.el (org-set-regexps-and-options): Fix the regexp
4919         `org-complex-heading-regexp'.
4921 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4923         * org.el (org-edit-src-get-label-format): New function.
4924         (org-coderef-label-format): New option.
4925         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4926         a label format specification and make sure it is used in the edit
4927         buffer.
4928         (org-edit-src-get-label-format): New function.
4929         (org-store-link): Handle new coderef formats.
4930         (org-link-search): Handle new coderef formats.
4932         * org-footnote.el (org-footnote-create-definition)
4933         (org-footnote-goto-local-insertion-point): Make footnote insertion
4934         work correctly when the "Footnotes" headline is the last line in
4935         the buffer.
4937         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4938         the location.
4940 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4942         * org-w3m.el (org-w3m): New customization group.
4943         (org-w3m-deactivate-mark): New option.
4944         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4945         option say not to.
4947 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4949         * org.el (org-set-font-lock-defaults): Trigger footnote
4950         fontification.
4951         (org-activate-footnote-links): New function.
4952         (org-activate-links): New entry `footnote'.
4954         * org-faces.el (org-footnote): New face.
4956 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4958         * org-macs.el (org-re): Handle the [:word:] class.
4960         * org-exp.el (org-export-preprocess-string): Call
4961         `org-export-protect-colon-examples'.
4962         (org-export-protect-colon-examples): Renamed from
4963         `org-export-protect-examples', and scope limited to lines starting
4964         with a colon.
4966 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4968         * org-exp.el (org-export-preprocess-string): Move the preprocess
4969         hook to after turning on Org-mode.
4970         (org-export-preprocess-after-include-files-hook)
4971         (org-export-preprocess-after-tree-selection-hook)
4972         (org-export-preprocess-before-backend-specifics-hook)
4973         (org-export-preprocess-final-hook): New hooks.
4974         (org-export-preprocess-string): Run the new hooks.
4976         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4978         * org-footnote.el: New file.
4980         * org.el (org-footnote): Require footnote code.
4981         (org-startup-options): Add new footnote options.
4982         (org-mode-map): New keybindig for footnotes.
4983         (org-ctrl-c-ctrl-c): Add function at footnotes.
4984         (org-org-menu): New menu entries for footnotes.
4986         * org-export-latex.el (org-export-as-latex): Pass footnote
4987         variable to preprocessor.
4988         (org-export-latex-preprocess): Treat multiple references to a
4989         footnote.
4991         * org-exp.el (org-export-preprocess-string): Call
4992         `org-footnote-normalize'.
4993         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4994         to preprocessor.
4995         (org-export-as-html): Treat multiple references to a footnote.
4997 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4999         * org-export-latex.el (org-export-latex-links): Handle coderef
5000         links.
5002         * org.el (org-bracket-link-analytic-regexp++): New variable.
5003         (org-make-link-regexps): Initialize
5004         `org-bracket-link-analytic-regexp++'.
5005         (org-store-link): Implement special case in edit-src buffer.
5006         (org-insert-link): No use of ide to insert stored links.
5007         (org-link-search): Implement special case for coderefs.
5009         * org-exp.el (org-export-html-scripts): New constant.
5010         (org-export-html-style-default): Add a new style for highlighted
5011         code.
5012         (org-export-code-refs): New variable.
5013         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5014         Call `org-export-replace-src-segments-and-examples'
5015         No longer call `org-export-protect-examples'.
5016         (org-export-target-internal-links): Take care of coderef targets.
5017         (org-export-last-code-line-counter-value): New variable.
5018         (org-export-replace-src-segments-and-examples): Renamed from
5019         `org-export-replace-src-segments', and modified.
5020         (org-export-format-source-code-or-example): Renamed from
5021         `org-export-format-source-code'.
5022         (org-export-number-lines): New function.
5023         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5025 --------------------------------------------------------------------------
5027 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5029         * org-remember.el (org-remember-handler): Safer way to get a new
5030         buffer accessing the target file.
5032         * org.el (org-refile-get-location): Handle case of current buffer
5033         not having a file associated with it.
5035 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5037         * org-table.el (org-table-get-formula): Only ask to overwrite
5038         field formula if there really is one.
5040         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5041         number, by converting these to a string.
5043         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5044         located in a different file.
5046         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5047         org-colview.el.
5049 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5051         * org.el (org-completion-use-ido): Enhance docstring of
5052         `org-completion-use-ido'.
5054         * org-export-latex.el (org-export-latex-make-header): Double the %
5055         in the time stamp format.
5056         (org-export-latex-special-chars): Handle case where there is no
5057         match group 3.
5059 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5061         * org.el (org-get-refile-targets, org-refile-get-location): Use
5062         expanded file name to improve comparison.
5064 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5066         * org.el (org-scan-tags): Rescan for tags, to get the correct
5067         upcase/downcase stuff.  This slows things down for now, but it
5068         works.
5069         (org-mode): Make sure the tag-faces regexp is initialized.
5071         * org-export-latex.el (org-export-latex-links): Fix bug with
5072         undefined label.
5074         * org-table.el (org-table-get-specials): Set
5075         `org-table-current-last-data-line'.
5076         (org-table-current-last-data-line): New variable.
5077         (org-table-insert-column, org-table-delete-column)
5078         (org-table-move-column, org-table-fix-formulas): Call
5079         `org-table-fix-formulas' a second time to fix the $LR references.
5080         (org-table-get-specials): Add the $LR references to the tables.
5081         (org-table-get-formula): Do not offer last-row names as LHS of
5082         formulas.
5084         * org.el (org-store-link): Capture link description from
5085         `org-id-store-link'.
5087         * org-exp.el (org-export-html-format-image): Add the / to the end
5088         of the <img> tag.
5089         (org-export-format-source-code): Surround example by empty lines,
5090         to make sure it will not be inside a paragraph.
5092         * org.el (org-ido-switchb): New function.
5094 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5096         * org-agenda.el (org-agenda-show): New prefix argument
5097         FULL-ENTRY.
5099         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5100         argument.
5102         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5103         `org-agenda-change-all-lines'.
5104         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5105         tags are now retrieved locally.
5107 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5109         * org.el (org-get-outline-path): Fix bug if level is not given.
5110         (org-org-menu): Do not quote function in menu vector.
5112         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5113         name.
5115 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5117         * org.el (org-refile): Avoid refiling to within the region to be
5118         refiled.
5120         * org-export-latex.el (org-export-latex-special-chars): Replace
5121         special characters also in tables.
5123         * org-agenda.el (org-agenda-change-all-lines): New argument
5124         FORCE-TAGS.
5125         (org-agenda-set-tags): Cet the new tags and pass them to
5126         `org-format-agenda-item'.
5128 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5130         * org-export-latex.el (org-export-latex-classes): Add longable as
5131         a default package to all classes.
5132         (org-export-latex-tables): Handle the longtable attribute and the
5133         align attribute.
5135         * org-table.el (orgtbl-to-generic): Handle tables that start with
5136         a hline.
5138         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5139         \verb for colde-like snippets.
5140         (org-export-as-latex): Fix issues with region export.
5142         * org.el (org-up-heading-safe): Speed up function by using a
5143         direct regexp search.
5144         (org-olpa): New variable.
5145         (org-get-outline-path): Speed-up path constructions in cases where
5146         this is possible because the entire hierarchy is scanned anyway.
5147         (org-refile-get-location): Don't compare the truenames of files,
5148         this is too slow.
5149         (org-goto-max-level): New option.
5150         (org-goto): Use `org-goto-max-level'.
5152 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5154         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5155         Strip angle brackets from message-ids in the former and don't do
5156         it in the latter.
5157         (org-gnus-follow-link): Open summary reliable, even if the last
5158         messages were deleted, and handle empty groups, too.
5160 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5162         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5163         instead of \texttt for the =...= and ~===~ emphasis environments.
5164         (org-export-as-latex): Remove any old :org-license-to-kill text
5165         properties.
5166         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5167         (org-export-latex-make-header): Add some hard space after the
5168         table of contents.
5169         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5170         exported text so that it will be excuded in further steps.
5172         * org-table.el (org-table-get-specials): Make @0 reference the
5173         last line in a table.
5174         (org-table-recalculate): Improve docstring.
5176 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5178         * org.el (org-log-done): Fix docstring.
5180 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5182         * org-exp.el (org-export-html-format-image): Fix bugs.
5184         * org-export-latex.el (org-export-latex-tables)
5185         (org-export-latex-links): Implement attribute, label, and caption
5186         handling.
5188         * org-exp.el (org-export-html-style-default): Add style
5189         definitions for the figure div.
5190         (org-export-preprocess-string, org-export-as-html): Implement
5191         attribute, label, and caption handling.
5192         (org-export-attach-captions-and-attributes): New function.
5193         (org-export-html-format-image): New function.
5194         (org-format-org-table-html): Implement attribute, label, and
5195         caption handling.
5197         * org.el (org-find-text-property-in-string): New function.
5198         (org-extract-attributes): Use the property org-attr instead of
5199         org-attrobutes, because this property is now set with the #+ATTR
5200         lines.
5202 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5204         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5205         the case that FROM is nil.
5207         * org.el (org-before-first-heading-p): New function.
5209 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5211         * org-exp.el (org-export-as-html): Do not add a space before
5212         enforces line breaks.
5213         (org-export-as-html): Close paragraph before blockquote and verse
5214         tags.
5216 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5218         * org-id.el (org-id-locations-file): Wrap file name with
5219         `convert-standard-filename'.
5220         (org-id-files): New variable.
5221         (org-id-use-hash): New option.
5222         (org-id-update-id-locations): Also search in all files current
5223         listed in `org-id-files'.  Convert the resulting alist to a hash
5224         if the user customation says so.
5225         (org-id-locations-save): Handle he case if `org-id-locations' is a
5226         hash.
5227         (org-id-locations-load): Convert the alist to a hash.
5228         (org-id-add-location): Handle the hast case.
5229         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5230         exited.
5231         (org-id-hash-to-alist, org-id-alist-to-hash)
5232         (org-id-paste-tracker): New functions.
5234 -------------------------------------------------------------------------
5236 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5238         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5239         bindings of calendar variables.
5241         * org-table.el (org-table-find-row-type): Renamed from
5242         `org-find-row-type'.
5243         (org-table-rewrite-old-row-references): Renamed from
5244         `org-rewrite-old-row-references'.
5245         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5246         (org-table-cleanup-narrow-column-properties): Renamed from
5247         `org-cleanup-narrow-column-properties'.
5249 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5251         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5252         for better error messages.
5253         (org-table-get-descriptor-line): Supply the new arguments to
5254         `org-find-row-type'.
5255         (org-table-error-on-row-ref-crossing-hline): New option.
5257         * org.el (org-target-link-regexp): Make buffer-local.
5258         (org-move-subtree-down): Fix bug with trees at beginning of
5259         buffer.
5261 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5263         * org-faces.el (org-set-tag-faces): New function.
5264         (org-tags-special-faces-re): New variable.
5266         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5268         * org-faces.el (org-tag-faces): New option.
5269         (org-tag): Mention `org-tag-faces' in the docstring.
5271 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5273         * org-exp.el (org-export-html-style-default): Implement new
5274         quoting.
5276         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5278         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5279         command to the `w3m-minor-mode-map'.
5281         * org-archive.el (org-archive-to-archive-sibling): Protect
5282         `this-command' to avoid appending kills during archiving.
5284         * org-exp.el (org-export-with-priority): New variable.
5285         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5286         instead of internal list of strings and properties.
5287         (org-print-icalendar-entries): Retrieve the location property with
5288         inheritance.
5290 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5292         * org-exp.el (org-export-with-todo-keywords): New option.
5293         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5294         line.
5295         (org-default-export-plist, org-export-add-options-to-plist)
5296         (org-export-as-ascii, org-export-as-html): Use the new structure
5297         of `org-export-plist-vars'.
5299         * org.el (org-map-entries): Return all values.
5301 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5303         * org.el (org-matcher-time): Recognize more special values.
5305         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5307 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5309         * org.el (org-tags-exclude-from-inheritance): New option.
5310         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5311         `org-tags-exclude-from-inheritance'.
5313         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5314         (org-format-agenda-item): Add inherited tags to the agenda line
5315         string, and make sure that properties are kept when downcasing the
5316         tags list.
5317         (org-agenda-add-inherited-tags): New function.
5318         (org-downcase-keep-props): New function.
5320         * org.el (org-scan-tags): Mark inherited tags with a text
5321         property.
5322         (org-get-tags-at): Mark inherited tags with a text property.
5323         (org-add-prop-inherited): New function.
5325         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5326         (org-agenda-show-inherited-tags): New option.
5328 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5330         * org.el (org-modules): Add org-w3m to the default modules.
5332         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5333         orgtbl-mode.
5334         (orgtabl-create-or-convert-from-region): New command.
5336         * org-exp.el (org-export-as-ascii): Remove the handling of
5337         targets.
5338         (org-export-ascii-preprocess): Handle targets already in this
5339         function.
5341 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5343         * org-timer.el (org-timer-start-time): Define this variable.
5344         (org-timer-item): Make argument optional.
5346         * org-list.el (org-insert-item): Automatically insert a timer item
5347         if the current list is a timer list.
5349         * org-timer.el: New file.
5351         * org-publish.el (org-publish-org-index): Only exclude the index
5352         file in the main directory from being added to the site-map.
5353         (org-publish-get-project-from-filename): If the current project is
5354         a component, start publishing from the parent project.
5356 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5358         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5360         * org-publish.el (org-publish-org-index): Improve removal of
5361         temporary buffers.
5363         * org-agenda.el (org-get-closed): Re-apply changes
5364         accidentially overwritten by last commit to Emacs.
5366         * org.el (org-outline-path-complete-in-steps): New option.
5367         (org-refile-get-location): Honor
5368         `org-outline-path-complete-in-steps'.
5369         (org-agenda-change-all-lines, org-tags-sparse-tree)
5370         (org-time-string-to-absolute, org-small-year-to-year)
5371         (org-link-escape): Re-apply changes accidentially overwritten
5372         by last commit to Emacs
5374 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5376         * org-clock.el (org-dblock-write:clocktable): Make sure the
5377         clocktable sees the first line.
5378         (org-clock-in): Warn if the clock cannot be resumed.
5380 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5382         * org.el (org-open-at-point): Fix mixup about interactive and
5383         non-interactive elisp links.
5385 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5387         * org-exp.el (org-export-preprocess-string): Allow one comment
5388         line before the first headline to always be included.  This is
5389         to not miss a commented target.
5391         * org-mouse.el (org-mouse-insert-item): Call
5392         `org-indent-to-column' instead of `indent-to', for XEmacs
5393         compatibility.
5395         * org.el (org-refile-targets): Fix customize definition so
5396         that it works also in XEmacs.
5397         (org-fixup-indentation): Call `org-indent-to-column' instead
5398         of `indent-to', for XEmacs compatibility.
5400 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5402         * org-mew.el (org-mew-store-link): Get the correct case folder
5403         for refiled messages.
5405 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5407         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5408         line break indicators.
5410         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5411         ido-completion propts.
5413 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5415         * org-remember.el (org-remember-apply-template): Use
5416         `org-substring-no-properties'.
5418         * org-compat.el (org-substring-no-properties): New function.
5420         * org-remember.el (org-remember-apply-template): Use
5421         `org-substring-no-properties' for compatibility.
5423         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5424         option.
5425         (org-fix-bullet-type): respect
5426         `org-list-two-spaces-after-bullet-regexp'.
5428         * org-clock.el (org-clock-load): Clean up the code.
5430         * org.el (org-adaptive-fill-function): Allow two spaces after
5431         "1." as a list bullet.
5433 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5435         * org-clock.el (org-clock-save, org-clock-load): Check for
5436         live buffers, existing files, and buffer file names to ensure
5437         consistent information.
5438         (org-clock-persist): Make `clock' a special value of this
5439         variable, and improve docstring.
5441         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5442         (org-get-string-indentation): Adapt indentation when the bullet
5443         width changes.
5445 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5447         * org-remember.el (org-remember-finalize): Make interactive.
5448         (org-remember-kill): New command.
5449         (org-remember-finish-immediately): Call `org-remember-finalize'
5450         directly.
5451         (org-remember-finalize): Make `org-remember-finalize' an interactive
5452         function.
5454 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5456         * org-remember.el (org-remember-apply-template): No ido completion
5457         for free prompts in remember templates.
5458         (org-remember-before-finalize-hook): New hook.
5459         (org-remember-mode): New minor mode.
5460         (org-remember-apply-template): Turn on `org-remember-mode'.
5462         * org-id.el (org-id-add-location): Avoid error when no file is
5463         given.
5465         * org-remember.el (org-remember-apply-template): Fix the way how
5466         the list of allowed properties is retrieved from the target file.
5468         * org.el (org-insert-link): Improve file link matching.
5470 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5472         * org-colview.el (org-columns-display-here): New argument
5473         DATELINE, to trigger using the new face.
5474         (org-agenda-colview-summarize): Call `org-columns-display-here'
5475         with the new argument.
5477         * org-faces.el (org-agenda-column-dateline): New face.
5479         * org-publish.el (org-publish-org-index): Use index-title at page
5480         title, not as section.
5482         * org-exp.el (org-export-html-format-desc): Respect the
5483         org-protect property.
5484         (org-export-as-html): Protect image specifiers that are in the
5485         description part of a link.
5487         * org.el (org-sort-entries-or-items, org-completing-read)
5488         (org-refile-get-location, org-olpath-completing-read, org-todo)
5489         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5490         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5491         (org-set-property, org-delete-property)
5492         (org-delete-property-globally): Use `org-ido-completing-read'.
5494         * org-remember.el (org-remember-apply-template): Use
5495         `org-ido-completing-read'.
5497         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5499         * org-colview.el (org-columns-edit-value, org-columns-new)
5500         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5502         * org-colview-xemacs.el (org-columns-edit-value)
5503         (org-columns-new, org-insert-columns-dblock): Use
5504         `org-ido-completing-read'.
5506         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5507         `org-ido-completing-read'.
5509         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5510         `org-ido-completing-read'.
5512         * org.el (org-time-today): New function.
5513         (org-matcher-time): Use `org-time-today'.  Add special treatment
5514         for "<tomorrow>" and "<yesterday>".
5515         (org-ido-completing-read): New function.
5516         (org-completion-use-ido): New option.
5518         * org-exp.el (org-export-format-source-code): Fix bug in require
5519         htmlize code.
5520         (org-export-target-internal-links): Fix bug in search for text
5521         property.
5523 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5525         * org-export-latex.el (org-export-latex-subcontent): Interprete
5526         target aliases as additonal labels.
5528         * org-exp.el (org-export-target-aliases): New variable.
5529         (org-export-preprocess-string)
5530         (org-export-handle-invisible-targets): Fill the alias alist.
5531         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5532         assign an id.
5533         (org-html-level-start): Insert the target aliases as additonal
5534         anchors.
5536         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5537         picture area.
5539 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5541         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5542         when following a link with the mouse from the agenda.
5544         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5545         headlines are created.
5547 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5549         * org-exp.el (org-export-preprocess-string): Reorder so that we
5550         can still see ID properties when we collect targets.
5551         (org-export-target-internal-links): Also store targets for ID's.
5553         * org.el (org-link-translation-function): New option.
5554         (org-open-at-point): Call `org-link-translation-function' if
5555         non-nil.
5556         (org-translate-link): New function.
5557         (org-translate-link-from-planner): New function.
5558         (org-open-at-point): Allow interactive commands in elisp links.
5560         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5561         iCalendar quoting.  The new one seems to caus problems with
5562         applications.
5564         * org.el (org-yank): Set `this-command' to `yank', so that
5565         `yank-pop' will work.
5567 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5569         * org-id.el (org-id-search-archives): New option.
5571         * org.el (org-link-to-org-use-id): New option.
5572         (org-store-link): Use `org-link-to-org-use-id'.
5573         (org-id): Make org-id.el a standard component.
5575 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5577         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5578         hexified version of the tag.
5580         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5581         compliance as far as quoting is concerned.
5583         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5585         * org.el (org-up-heading-safe, org-forward-same-level): Always
5586         call `org-back-to-heading' instead of `outline-back-to-heading'.
5587         (org-back-to-heading): New wrapper around outline-back-to-heading,
5588         with a useful error message telling where the error happened.
5590         * org-list.el (org-update-checkbox-count): Always call
5591         `org-back-to-heading' instead of `outline-back-to-heading'.
5593         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5594         has an `alt' attribute, to ensure XHTML validation.
5596 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5598         * org-publish.el (org-publish-attachment): Allow publishing to
5599         overwrite attachment files.
5601         * org-agenda.el (org-agenda-timerange-leaders): New option.
5602         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5604         * org.el (org-edit-src-exit): Untabify ASCII image before
5605         returning.
5618 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5620         * org.el (org-yank): Make any prefix force normal yanking.
5621         Suppress folding if text would be swallowed into a folded
5622         subtree.
5623         (org-yank-folded-subtrees, org-yank): Docstring updates.
5625         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5626         defined as 0.
5628         * org-exp.el (org-export-language-setup): Add Catalan and
5629         Esperanto language entries.
5631 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5633         * org.el (org-refile): Allow refiling of entire regions.
5635         * org-clock.el (org-clock-time%): New function.
5637         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5638         retrieve property values.
5640 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5642         * org-agenda.el (org-agenda-list): Handle the value `only' of
5643         org-agenda-show-log'.
5644         (org-agenda-log-mode): Interpret a double prefix arg.
5646 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5648         * org-exp.el (org-export-html-footnotes-section): New variable.
5649         (org-export-as-html): Use `org-export-html-footnotes-section' to
5650         insert the footnotes.
5651         (org-export-language-setup): Add "Footnotes" to language words.
5653 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5655         * org.el (org-yank): Fix bug when not inserting a subtree.
5657 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5659         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5660         instead of `vm-beginning-of-message'.
5662         * org.el (org-make-link-regexps): Make sure that links to gnus can
5663         contain brackets.
5665 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5667         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5668         code.
5670         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5671         shell output.
5673         * org.el (org-link-abbrev-alist): Improve customization type.
5675         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5676         functions.
5678         * org-agenda.el (org-agenda-get-progress): Renamed from
5679         `org-get-closed'.  Implement searching for state changes as well.
5680         (org-agenda-log-mode-items): New option.
5681         (org-agenda-log-mode): New option prefix argument, interpreted as
5682         request to show all possible progress info.
5683         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5684         `org-get-closed'.
5685         (org-agenda-set-mode-name): Handle the more complex log mode
5686         settings.
5687         (org-get-closed): New alias, pointing to `org-get-progress'.
5689 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5691         * org.el (org-file-apps-defaults-gnu)
5692         (org-file-apps-defaults-macosx)
5693         (org-file-apps-defaults-windowsnt): Add an entry defining the
5694         system command.
5695         (org-file-apps): Allow `system' as key and value.
5696         (org-open-at-point): Explain the effect of a double prefix arg.
5697         (org-open-file): If the argument `in-emacs' is (16),
5698         i.e. corresponding to a double prefix argument, try to open the
5699         file externally.
5701 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5703         * org.el (org-insert-link): Abbreviate absolute files names in
5704         links.  Also, fix a bug in which the double C-u prefix would not
5705         be honored.
5707 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5709         * org.el (org-insert-heading): If buffer does not end with a
5710         newline, add one if necessary to insert headline correctly.
5712         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5713         paragraphs, not inside.
5715         * org.el (org-todo): Quote
5716         `org-agenda-headline-snapshot-before-repeat'.
5718         * org-exp.el (org-export-as-html): Fully process link descriptions.
5719         (org-export-html-format-desc): New function.
5720         (org-export-as-html): Collect footnotes into the correct basket.
5721         (org-html-protect): No longer protect quotations marks here, this
5722         goes wrong.
5724         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5725         BEG.
5727         * org-compat.el (org-fit-window-to-buffer): New function (not
5728         really, a preliminary and incomplete version was present earlier,
5729         but not used).
5731         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5732         `org-fit-window-to-buffer'.
5734         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5736         * org-agenda.el (org-agenda-get-restriction-and-command)
5737         (org-fit-agenda-window, org-agenda-convert-date): Use
5738         `org-fit-window-to-buffer'.
5740         * org-exp.el (org-export-as-html): Process href links through
5741         `org-export-html-format-href'.
5742         (org-export-html-format-href): New function.
5744         * org-agenda.el (org-agenda-todo): Update only the current
5745         headline if this is a repeated TODO, marked done for today.
5746         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5747         only the current line.
5749         * org.el (org-todo): Take a snapshot of the headline if the
5750         repeater might change it.
5752 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5754         * org-publish.el (org-publish-find-title): Remove buffers visited
5755         only for extracting the title.
5757         * org-exp.el (org-export-html-style)
5758         (org-export-html-style-default): Mark style definitions as
5759         unparsed CDATA.
5761         * org-publish.el (org-publish-validate-link): Function
5762         re-introduced.
5764 2008-11-02  Charles Sebold  <csebold@gmail.com>
5766         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5767         property.
5768         (org-plot-quote-timestamp-field): New function.
5769         (org-plot-quote-tsv-field): Call timestamp field function when
5770         necessary rather than just quoting as a string.
5771         (org-plot/gnuplot-to-data): Pass in timefmt property.
5772         (org-plot/gnuplot-script): Supports timefmt property.
5773         (org-plot/gnuplot): Checks for timestamp column before checking
5774         for text index column.
5776 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5778         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5780         * org-publish.el (org-publish-org-index): Create a section in the
5781         index file.
5782         (org-publish-org-index): Stop linking to directories.
5784         * org.el (org-emphasis-alist): Use span instead of <u> to
5785         underline text.
5787         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5788         <pre> sections.
5790 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5792         * org-jsinfo.el (org-infojs-template): Remove language attribute
5793         from script tag.
5795 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5797         * org-agenda.el (org-agenda-remove-marked-text): New function.
5798         (org-agenda-mark-filtered-text)
5799         (org-agenda-unmark-filtered-text): New functions.
5800         (org-write-agenda): Remove fltered text.
5802         * org.el (org-make-tags-matcher): Give access to TODO "property"
5803         without speed penalty.
5805 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5807         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5808         option.
5809         (org-store-link-props): Make sure adding to the plist works
5810         correctly.
5812         * org-gnus.el (org-gnus-no-new-news): New function.
5813         (org-gnus-follow-link): Allow the article ID to be a message-id,
5814         in addition to allowing article numbers.  Message IDs make much
5815         more roubust links.
5816         (org-gnus-store-link): Use message-id to create link.
5818 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5820         * org.el (org-emphasize): Reverse the selection array.
5821         (org-emphasis-alist): Set <code> tags for the verbatim
5822         environment.
5824         * org-remember.el (org-remember-handler): Fix bug with
5825         prefix-related changing of the note storage target.
5827         * org-exp.el (org-print-icalendar-entries): Make the exported
5828         priorities compatible with RFC 2445.
5830         * org-clock.el (org-clock-save): Insert time stamp without
5831         dependence on time-stamp.el.
5833 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5835         * org.el ("saveplace"): If saveplace puts point into an invisible
5836         location, make it visible.
5837         (org-make-tags-matcher): Allow inactive time stamps in time
5838         comparisons.
5839         (org-yank-adjusted-subtrees): New option.
5840         (org-yank): Incorporate adjusting trees.
5841         (org-paste-subtree): New argument FOR-YANK which will cause
5842         insertion at point without backing up over white lines, and leave
5843         point at the end of the inserted text.  Also if the cursor is
5844         at the beginning of a headline, use the same level or the inserted
5845         tree.
5847         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5848         with broken symlinks
5850 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5852         * org-exp.el (org-export-select-tags, org-get-current-options):
5853         Fix typo.
5855 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5857         * org-agenda.el (org-format-agenda-item)
5858         (org-agenda-filter-make-matcher): Make sure tags are stored and
5859         compared donwcased.
5861 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5863         * org.el (org-insert-todo-heading): Fix bug with force-heading
5864         argument.
5866 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5868         * org-clock.el (org-clock-in-resume): Add a custom option to
5869         toggle starting the clock from an open clock line.
5870         (org-clock-in): When clocking in to an entry, if
5871         `org-clock-in-resume' is set, check if the first clock line is
5872         open and if so, start the clock from the time in the clock line.
5873         (org-clock-persist): Add a custom option to toggle clock
5874         persistence.
5875         (org-clock-persist-query-save): Add a custom option to toggle
5876         asking the user if they want to save the running clock when
5877         exiting.
5878         (org-clock-persist-query-resume): Add a custom option to toggle
5879         asking the user if they want to resume the saved clock when Emacs
5880         is restarted.
5881         (org-clock-save): Add a function to save clock data.
5882         This includes the contents of `org-clock-history' and the buffer
5883         and position of the currently clocked task, if any.
5884         (org-clock-load): Add a function to load clock data.
5885         This populates `org-clock-history', and resumes the saved clocked
5886         task if there is one.
5887         (org-clock-persistence-insinuate): Add a method to set up the
5888         hooks for clock persistence.
5890 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5892         * org-exp.el (org-export-as-ascii): Handle the case that we are
5893         publishing from an indirect buffer.
5895         * org-table.el (org-table-copy-down): Fix bug with time stamp
5896         increment.
5898         * org-mouse.el (org-mouse-features): New option.
5899         (org-mode-hook): Turn on features depending on
5900         `org-mouse-features'.
5902         * org.el (org-insert-heading-respect-content): Force heading
5903         creation.
5904         (org-insert-heading): keep the folding state of the heading before
5905         the inserted one.
5907 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5909         * org-archive.el (org-archive-to-archive-sibling): Handle top
5910         level headlines better.
5912 2008-10-21  Bastien Guerry  <bzg@altern.org>
5914         * org-export-latex.el (org-export-latex-classes): Added
5915         \usepackage{graphicx} to the default list of packages.
5917 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5919         * org-agenda.el (org-agenda-filter): Renamed from
5920         `org-agenda-filter-tags'.
5922 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5924         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5925         is not defined as a property in this entry.
5926         (org-add-log-note): Mask prefix argument when immediately storing
5927         the note.
5929         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5930         option.
5932 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5934         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5935         after drawers was skipping ahead one line too many, so notes were
5936         inserted after the first note instead of before it.
5938 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5940         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5941         New variables.
5942         (org-prepare-agenda): Reset the filter tags.
5943         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5944         Show filter tags in mode line.
5946         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5947         formatter.
5949         * org-export-latex.el (org-latex-entities-regexp): New constant.
5950         (org-export-as-pdf): Use two calls to `shell-command'.
5952 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5954         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5955         Honor the {} value of the subsuperscript setting.  Make sure that
5956         longer subsuperscripts are typeset in a roman font.
5958         * org.el (org-clock-update-time-maybe): Compute negative clock
5959         intervals correctly.
5961 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5963         * org.el (org-add-log-setup): Respect
5964         `org-log-state-notes-insert-after-drawers'.
5965         (org-log-state-notes-insert-after-drawers): New option.
5966         (org-todo-trigger-tag-changes): New function.
5967         (org-todo): Call `org-todo-trigger-tag-changes'.
5969 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5971         * org.el (org-add-log-setup): Only skip drawers if the are
5972         immediately after the scheduling keywords.
5974         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5975         function
5976         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5977         call it with the current todo state to get the state to switch to
5978         when clocking in.
5979         (org-clock-in): Use org-indent-line-function to indent clock lines.
5980         (org-clock-find-position): Fix indentation of empty clock drawers.
5982 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5984         * org-publish.el (org-publish-org-to): Handle case when
5985         org-export-to-pdf does return a file name, not a buffer.
5986         (org-publish-org-to-pdf): New function.
5988         * org-export-latex.el (org-export-as-pdf)
5989         (org-export-as-pdf-and-open): New commands.
5991         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5992         forms as ranges.
5994         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5995         things in protexted regions.
5997 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5999         * org-export-latex.el (org-export-latex-preprocess): Improve
6000         quoting of LaTeX environments.
6002 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6004         * org.el (org-edit-fixed-width-region): Exclude final newline from
6005         picture area.
6007         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6008         sections, to make internal links work.
6009         (org-export-latex-fontify-headline): Do not remove all text
6010         properties, to make sure that target properties survive this
6011         process.
6013         * org-exp.el (org-export-preprocess-string): Change sequence of
6014         modifications, to make sure links are prepared before the LaTeX
6015         conversions do happen.
6017 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6019         * org-attach.el (org-attach-delete-all): Renamed from
6020         `org-attch-delete'.  Add a security query before deleting the
6021         entire directory.  New optional argument FORCE can overrule the
6022         security query.
6023         (org-attach-delete-one): New command.
6025 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6027         * org-attach.el (org-attach-file-list): Fix bug with directory.
6029 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6031         * org.el (org-apps-regexp-alist): New function.
6032         (org-file-apps): Add auto-mode to the default value.
6033         (org-open-file): Use the new structure of org-file-apps.
6035         * org-attach.el (org-attach): Support the new keys.
6036         (org-attach-method): New option.
6038 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6040         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6041         March.
6043         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6044         of the list value o `org-use-tag-inheritance'.
6046         * org-attach.el (org-attach-auto-tag): New option.
6047         (org-attach-tag, org-attach-untag): New functions.
6048         (org-attach-attach, org-attach-new, org-attach-sync): Call
6049         `org-attach-tag'.
6050         (org-attach-delete): Call `org-attach-untag'.
6052 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6054         * org-table.el (orgtbl-self-insert-command): Make this work for
6055         the keypad as well.
6057 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6059         * org.el (org-add-log-setup): Limit searc for drawers to entry
6060         text, not to subtree.
6062         * org-clock.el (org-clock-heading-for-remember): New variable.
6063         (org-clock-in): Set `org-clock-heading-for-remember'.
6065 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6067         * org-remember.el (org-remember-apply-template): Add new
6068         expansions: %k, %K for currently clocked task and a link to the
6069         currently clocked task, and %< to file notes in the currently
6070         clocked task.
6072 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6074         * org-export-latex.el (org-export-latex-make-header): Also insert
6075         the content of the property :latex-header-extra.
6077         * org-exp.el (org-infile-export-plist): Put the content of
6078         #+LATEX_HEADER: into the property :latex-header-extra.
6080         * org-colview.el (org-columns-get-format-and-top-level): Remove
6081         resetting the marker.
6083         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6084         Remove resetting the marker.
6086         * org.el (org-entry-property-inherited-from): Improve docstring.
6087         (org-entry-get-with-inheritance): Reset marker before starting the
6088         search.
6090         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6092 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6094         * org.el (org-entry-get-multivalued-property)
6095         (org-entry-protect-space, org-entry-restore-space): New
6096         functions.
6097         (org-file-apps-defaults-macosx): Let postscript files be opened by
6098         preview.
6099         (org-time-stamp-inactive): Call `org-time-stamp'.
6100         (org-time-stamp): New argument `inactive'.  Also edit inacive
6101         stamps. Convert time stamp type.
6102         (org-open-file): Interpret the `default' value for the `command'
6103         in `org-file-apps'.
6105         * org-id.el (org-id-int-to-b36-one-digit)
6106         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6107         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6108         b36.
6110 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6112         * org-id.el (org-id-reverse-string): New function.
6113         (org-id-new): Use `org-id-reverse-string' to make sure the
6114         beginning chars of the ID are mutating fast.  This allows to use a
6115         directory structure to spread things better.
6116         (org-id-prefix): Changed default to nil.
6118         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6119         restore the column of the cursor position.
6121         * org-remember.el (org-remember-apply-template): Remove properties
6122         from `initial'.
6124 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6126         * org-wl.el (org-wl-open): Remove useless call to
6127         `wl-thread-open-all'.
6129         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6130         location.
6132 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6134         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6135         `org-bbdb-anniversaries'.
6137         * org.el (org-get-next-sibling, org-forward-same-level): New
6138         functions, similar to the outline versions, but invisible headings
6139         are OK.
6141 2008-09-25  Bastien Guerry  <bzg@altern.org>
6143         * org.el (org-auto-repeat-maybe): Insert a space between
6144         the timestamp's type and the timestamp itself.
6146 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6148         * org-table.el (org-table-sum): Do not format the result with %g,
6149         it does rounding when there are too many digits.
6151         * org.el (org-map-entries): Protect the keyword-selecting variables.
6153 2008-09-23  Bastien Guerry  <bzg@altern.org>
6155         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6156         against all agenda files.
6158 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6160         * org-list.el: New file, aggregating list functions from org.el
6161         and org-export-latex.el.
6163         * org.el (org-edit-src-region-extra): New option.
6165 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6167         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6168         time before 1am.
6170 2008-09-22  Bastien Guerry  <bzg@altern.org>
6172         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6174 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6176         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6177         hline work correctly.
6178         (org-plot/gnuplot-script): Put commas at the end of each script
6179         line.
6181 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6183         * org.el (org-get-refile-targets): Replace links with their
6184         descriptions
6185         (org-imenu-get-tree): Replace links with their descriptions.
6187         * org-remember.el (org-remember-apply-template): Add a new
6188         expansion for adding properties to remember items.
6190         * org.el (org-add-log-setup): Skip over drawers (properties,
6191         clocks etc) when adding notes.
6193         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6194         items as well as the start and end times.
6196         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6197         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6199         * org-remember.el (org-get-x-clipboard): Use the compat
6200         function to get clipboard values when x-selection-value is
6201         unavailable. Use substring-no-properties instead of
6202         set-text-properties to remove text properties from the clipboard
6203         value.
6205         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6206         modeline clock string, and display the full todo value in the
6207         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6208         the currently clocked task.
6209         (org-clock-string-limit): Add a custom value for the maximum
6210         length of the clock string in the modeline.
6211         (org-clock-mode-map): Add a keymap for the modeline string
6213 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6215         * org-compat.el (org-propertize): New function.
6217 2008-09-20  Bastien Guerry  <bzg@altern.org>
6219         * org-export-latex.el (org-export-latex-tables): protect exported
6220         tables from further special chars conversion.
6221         (org-export-latex-preprocess): Preserve LaTeX environments.
6222         (org-list-parse-list): Parse descriptive lists.
6223         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6224         (org-list-to-texinfo): Export descriptive lists.
6225         (org-quote-chars): Remove.
6226         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6227         (org-export-latex-list-beginning-re): Rename to
6228         `org-list-beginning-re'
6229         (org-list-item-begin): Rename to `org-list-item-beginning'
6231 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6233         * org.el (org-refile): Allow refiling to the last entry in the
6234         buffer.
6235         (org-get-tags-at): Fix bug when inheritance is turned off.
6237 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6239         * org.el (org-indent-line-function): No longer check for src
6240         regions, this is too much overhead.
6242         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6243         matching.
6245         * org.el (org-scan-tags): Make sure that tags matching is not case
6246         sensitive.  TODO keyword matching is case sensitive, however, to
6247         avoid confusion with similar words that are not meant to be
6248         keywords.
6250 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6252         * org.el (org-get-local-tags-at): New function.
6253         (org-get-local-tags): New function.
6255         * org-exp.el (org-export-get-categories): New function.
6257         * org-agenda.el (org-sorting-choice)
6258         (org-agenda-sorting-strategy, org-agenda-get-todos)
6259         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6260         (org-agenda-get-scheduled, org-agenda-get-blocks)
6261         (org-entries-lessp): Implement sorting by TODO state.
6262         (org-cmp-todo-state): New defsubst.
6264         * org-colview.el (org-colview-construct-allowed-dates): New
6265         function.
6266         (org-columns-next-allowed-value): Use
6267         `org-colview-construct-allowed-dates'.
6269         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6270         function.
6271         (org-columns-next-allowed-value): Use
6272         `org-colview-construct-allowed-dates'.
6274 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6276         * org.el (org-protect-slash): New function.
6277         (org-get-refile-targets): Use `org-protect-slash'.
6279         * org-agenda.el (org-global-tags-completion-table): New variable.
6281         * org-exp.el (org-export-handle-export-tags): New function.
6282         (org-export-preprocess-string): Call
6283         `org-export-handle-export-tags'.
6285         * org-plot.el: New file.
6287         * org-publish.el (org-publish-expand-components): Function removed.
6288         (org-publish-expand-projects): Allow components to have components.
6290 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6292         * org.el (org-indent-line-function): Do not indent in regions that
6293         are external source code.
6294         (org-yank-and-fold-if-subtree): New function.
6296         * org-agenda.el (org-agenda-todayp): New function.
6297         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6298         `org-agenda-todayp'.
6300         * org.el (org-insert-heading-respect-content)
6301         (org-insert-todo-heading-respect-content): New commands.
6302         (org-insert-heading-respect-content): New option.
6303         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6305         * org-clock.el (org-clock-find-position): Make sure the note after
6306         the clock line gets moved into the new clock drawer.
6308 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6310         * org-id.el (org-id-new): New option.
6312 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6314         * org-table.el (org-table-copy-down): Avoid overflow during
6315         increment.  Use prefix argument 0 to temporarily disable the
6316         increment.
6318 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6320         * org-exp.el (org-export-as-html): Do not turn on the major mode
6321         if the buffer will be killed anyway.
6322         (org-get-current-options): Exclude the #+TEXT field.
6323         (org-export-as-html): Make sure text before the first headline is
6324         a paragraph.
6326         * org-publish.el (org-publish-org-to): Tell the exporter that this
6327         buffer will be killed, so it is not necessary to do major mode
6328         initialization.
6330         * org-archive.el (org-archive-to-archive-sibling): Show empty
6331         lines after folding the archive sibling.
6333         * org.el (org-log-note-extra): New variable.
6335 2008-09-05  Bastien Guerry  <bzg@altern.org>
6337         * org.el (org-additional-option-like-keywords): Added keywords for
6338         the _QUOTE, _VERSE and _SRC environments.
6340         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6341         exporting _QUOTE and _VERSE environments.
6343 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6345         * org-agenda.el (org-agenda-filter-by-tag): New command.
6347         * org-exp.el (org-get-current-options): Remove angular brackets
6348         from the date entry.
6350         * org.el (org-edit-fixed-width-region): New function.
6351         (org-edit-fixed-width-region): Also try
6352         `org-edit-fixed-width-region'.
6353         (org-edit-fixed-width-region-mode): New option.
6354         (org-activate-code): Only interprete lines starting with colon
6355         plus a space as example lines.
6357         * org-remember.el (org-remember-templates): Add nil instead of
6358         empty strings to fix the length of remember templates.
6360         * org-table.el (org-calc-default-modes): Fix the time format for
6361         calc, from 12 hour to 24 hour clock.
6363 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6365         * org-agenda.el (org-agenda-get-deadlines)
6366         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6367         entries that are pre-warnings of deadlines or reminders.
6369         * org.el (org-sort-entries-or-items): Make numeric and alpha
6370         comparisons ignore any TODO keyword and priority cookie.
6372         * org-remember.el (org-remember-handler): Reinterpretation of the
6373         prefix argument.
6375 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6377         * org-agenda.el (org-agenda-get-scheduled): Use new
6378         `org-scheduled' face.
6380         * org-faces.el (org-scheduled): New face.
6382         * org-wl.el (org-wl-open): Remove incorrect declaration.
6384         * org-gnus.el (org-gnus-store-link): Support for :to information
6385         in gnus links.
6387         * org-exp.el (org-export-as-html): Fixed typo in creator
6388         information.
6389         (org-export-protect-examples): New parameter indent.  Insert extra
6390         spaces only when this parameter is specified.
6391         (org-export-preprocess-string): Call `org-export-protect-examples'
6392         with an indentation parameter when exporting to ASCII.
6394         * org-remember.el (org-remember-templates)
6395         (org-remember-apply-template): Allow the file component to be a
6396         function.
6398         * org.el (org-goto-local-search-headings): Renamed from
6399         `org-goto-local-search-forward-headings'.  Added the possibility
6400         to search backwards.
6402 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6404         * org-export-latex.el (org-export-latex): New customization
6405         group.
6407         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6409 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6411         * org-exp.el (org-html-do-expand): Allow {} to terminate
6412         tex macro
6414 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6416         * org.el (org-buffer-list): Select buffers based on major mode,
6417         not on file name.
6419 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6421         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6422         face property.
6424         * org-colview.el (org-columns-display-here): Use
6425         `org-columns-modify-value-for-display-function'.
6427         * org-colview-xemacs.el (org-columns-display-here): Use
6428         `org-columns-modify-value-for-display-function'.
6430 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6432         * org.el (org-columns-modify-value-for-display-function): New option.
6444         * org-publish.el (org-publish-file): Make sure the directory match
6445         for the publishing directory works correctly.
6447         * org-agenda.el (org-agenda-execute-calendar-command)
6448         (org-agenda-diary-entry): Additional optional argument.
6450 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6452         * org-exp.el (org-export-as-html): Add attributes also in mailto
6453         and ftp links.
6455         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6464 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6466         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6467         sure that calls from `org-export-region-as-html' do not do the
6468         special check for a subtree.
6470 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6472         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6474 2008-07-20  Juri Linkov  <juri@jurta.org>
6476         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6477         new keymap `narrow-map' instead of binding "\C-xns".
6479 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6481         * org.el (org-open-file): Use
6482         `org-open-directory-means-index-dot-org'.
6483         (org-open-directory-means-index-dot-org): New option.
6485 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6487         * org.el (org-make-link-string): Remove link attributes from
6488         description.
6489         (org-open-at-point): Remove link attributes bevore using the path.
6491         * org-exp.el (org-export-as-html): Handle link attributes.
6493         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6495         * org-table.el (org-table-to-lisp): New function.
6497         * org.el (org-narrow-to-subtree): Do not include the final newline
6498         into the narrowed region.
6500         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6501         bug with user-define skipping condition.
6503 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6505         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6507 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6509         * org-exp.el (org-export-html-style-default): Automatic overflow
6510         handling for pre fields.
6511         (org-export-as-ascii, org-export-as-html): Change default format
6512         for time stamp.
6514         * org-table.el (org-table-export): Offer completion for translator
6515         functions, and do not require a heading above the table.
6517         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6518         Cater for the case of a list starting in the first line of the
6519         buffer.
6521 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6523         * org-publish.el (org-publish-find-title): Bug fix.
6524         (org-publish-org-index): Implement new :index-style option.
6526 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6528         * org-publish.el (org-publish-timestamp-filename): Use
6529         SHA1-encoded file names in the timestamp directory.
6531 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6533         * org-publish.el (org-publish-needed-p): Be verbose about files
6534         published and files skipped.
6536         * org-exp.el (org-export-preprocess-string): Swap link
6537         normalization and inernal link targeting.
6539         * org-publish.el (org-publish-needed-p): Create timestamp
6540         directory when it does not exist.
6542 2008-07-04  Bastien Guerry  <bzg@altern.org>
6544         * org-clock.el (org-clock-out-when-done): Doc fix.
6546         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6548         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6549         Ignore case when searching for the COMMENT cookie at export time.
6551 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6553         * org-exp.el (org-get-file-contents)
6554         (org-get-and-remove-property): New functions.
6555         (org-export-handle-include-files): Handle the new prefix options.
6556         (org-export-as-html): Fix the verse environment.
6558 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6560         * org.el (org-time=, org-time<, org-time<=, org-time>)
6561         (org-time>=, org-time<>, org-2ft): New functions.
6562         (org-op-to-function): Also provide for the time testing fucntions.
6564 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6566         * org-exp.el (org-export-html-style-default): New constant.
6568 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6570         * org-exp.el (org-export-html-style-extra): New variable.
6571         (org-export-splice-style): New function.
6573 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6575         * org-exp.el (org-export-plist-vars, org-export-as-html):
6576         Implement `org-export-creator-info'.
6577         (org-export-creator-info): New option.
6579 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6581         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6582         (org-property-drawer-re, org-clock-drawer-re): New constants.
6584 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6586         * org-exp.el (org-icalendar-use-deadline)
6587         (org-icalendar-use-scheduled): New options.
6588         (org-icalendar-include-todo): Default changed to t.
6589         (org-print-icalendar-entries): Implement better utilization of
6590         scheduling and deadline time stamps.
6591         (org-export-target-internal-links, org-export-as-html): Allow file
6592         lines without the "file:" prefix if the file path is an absolute
6593         path or starts with ".".
6595         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6596         lastweek etc.
6597         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6599 2008-06-18  Glenn Morris  <rgm@gnu.org>
6600         * org.el (org-map-entries): Let-bind `file'.
6602 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6604         * org.el (org-agenda-skip-archived-trees): Docstring now
6605         discourages using this.
6606         (org-scan-tags): Check for org-agenda-archives-mode.
6607         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6608         (org-agenda-files): Functionality of second arg changed.
6610         * org-agenda.el (org-agenda-archives-mode): New variable
6611         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6612         (org-search-view, org-todo-list, org-tags-view)
6613         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6614         `ifmode' argument.
6615         (org-agenda-quit): Reset the archives mode.
6616         (org-agenda-archives-mode): New command.
6617         (org-agenda-set-mode-name): Include archives info.
6619 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6621         * org.el (org-paste-subtree): Make sure the yanked headline is
6622         visible if it was yanked at a visible point.
6623         (org-move-item-up): Fix the bug with moving white space at the end
6624         of the item.
6625         (org-show-empty-lines-in-parent): New function.
6627 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6629         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6631         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6633         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6634         agenda prefix as well.
6636         * org-publish.el (org-publish-org-index): Make a properly indented
6637         list.
6639         * org.el (org-calendar-agenda-action-key): New option.
6640         (org-get-cursor-date): New function.
6641         (org-mark-entry-for-agenda-action): New command.
6642         (org-overriding-default-time): New variable.
6643         (org-read-date): Respect `org-overriding-default-time'.
6645         * org-remember.el (org-remember-apply-template): Respect the
6646         ovverriding default time.
6648         * org-agenda.el (org-agenda-action-marker): New variable.
6649         (org-agenda-action): New command.
6650         (org-agenda-do-action): New function.
6652 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6654         * org.el (org-schedule, org-deadline): Protect scheduled and
6655         deadline tasks against changes that accidently remove the
6656         repeater.  Also show a message with the new date when done.
6658 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6660         * org.el (org-beginning-of-line): Cater for the case when there
6661         are tags but no headline text.
6662         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6663         it set.
6665 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6667         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6668         the return value is nil instead of "nil" when there is no match.
6670         * org-exp.el (org-insert-centered): Use fill-column instead of
6671         80.
6672         (org-export-as-ascii): Use string-width to measure the width of
6673         the heading.
6675         * org.el (org-diary-to-ical-string): No longer kill buffer
6676         FROMBUF, this is now done by the caller.
6678         * org-exp.el (org-print-icalendar-entries): Move the call to
6679         `org-diary-to-ical-string' out of the loop, and kill the buffer
6680         afterwords.
6682         * org-remember.el (org-remember-visit-immediately): Position
6683         cursor after moving to the note.
6684         (org-remember-apply-template): Use a text property to record the
6685         cursor position.
6686         (org-remember-handler): Align tags after pasting the note.
6688 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6690         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6692         * org-agenda.el (org-agenda-open-link): If there is an
6693         org-bbdb-name property in the current line, jump to that bbdb
6694         entry.
6696         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6697         text property, so that the agenda knows where this entry comes
6698         from.
6700         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6701         interaction between clocking-in from the agenda, and  automatic
6702         task state switching.
6704         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6706         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6707         zmacs-region stays after this command in XEmacs.
6709 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6711         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6713         * org-remember.el (org-remember-templates): Fix bug in
6714         customization type definition.
6716         * org.el (org-map-entries): New function.
6718 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6720         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6721         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6723 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6725         * org-remember.el (org-jump-to-target-location): New variable.
6726         (org-remember-apply-template): Set
6727         `org-remember-apply-template' if requested by template.
6728         (org-remember-handler): Start an idle timer to jump to
6729         remember location.
6731         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6733         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6734         file tags.
6735         (org-get-tags-at): Add the content of `org-file-tags'.
6737         * org-exp.el (org-export-handle-comments): Fix bug with several
6738         comment lines after each other.
6739         (org-number-to-roman, org-number-to-counter): New functions.
6740         (org-export-section-number-format): New option.
6742 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6744         * org-exp.el (org-export-protect-examples): Catch the case of a
6745         missing end_example line.
6747         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6748         `org-file-tags' to nil.
6750         * org-colview.el (org-columns-next-allowed-value): Handle next
6751         argument NTH to directly select a value.
6753         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6754         argument NTH to directly select a value.
6756 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6758         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6760 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6762         * org.el (org-columns-ellipses): New option.
6764 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6766         * org-colview.el (org-columns-add-ellipses): New function.
6767         (org-columns-compact-links): New function.
6768         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6769         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6770         when in agenda.
6771         (org-columns-edit-value): Fixed bug with editing values from
6772         agenda column view.
6773         (org-columns-redo): Also redo the agenda itself.
6775 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6777         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6778         option.
6780         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6782         * org-exp.el (org-export-ascii-preprocess): Renamed from
6783         `org-export-ascii-clean-string'.
6784         (org-export-kill-licensed-text)
6785         (org-export-define-heading-targets)
6786         (org-export-handle-invisible-targets)
6787         (org-export-target-internal-links)
6788         (org-export-remove-or-extract-drawers)
6789         (org-export-remove-archived-trees)
6790         (org-export-protect-quoted-subtrees)
6791         (org-export-protect-verbatim, org-export-protect-examples)
6792         (org-export-select-backend-specific-text)
6793         (org-export-mark-blockquote-and-verse)
6794         (org-export-remove-comment-blocks-and-subtrees)
6795         (org-export-handle-comments, org-export-mark-radio-links)
6796         (org-export-remove-special-table-lines)
6797         (org-export-normalize-links)
6798         (org-export-concatenate-multiline-links)
6799         (org-export-concatenate-multiline-emphasis): New functions,
6800         obtained from spliiting the export preprocessor.
6802         * org-table.el (org-table-recalculate): Improve error message if
6803         the row number is invalid.
6805 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6807         * org-archive.el (org-archive-save-context-info): Fix bugs in
6808         customization setup and docstring.
6810         * org-exp.el (org-export-html-style): Changed the size of in the
6811         <pre> element to 90%.
6813 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6815         * org.el (org-find-src-example-start): Function removed.
6816         (org-edit-src-find-region-and-lang): New function.
6818 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6820         * org.el (org-edit-src-exit): New function.
6821         (org-exit-edit-mode): New minor mode.
6823         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6824         comment-like lines from protected examples.
6826         * org.el (org-edit-src-example, org-find-src-example-start)
6827         (org-protect-source-example, org-edit-special): New functions.
6829 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6831         * org-publish.el (org-publish-project-alist): Fix typo in
6832         docstring.
6833         (org-publish-project-alist): Handle :index-title property.
6835 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6837         * org-export-latex.el (org-export-as-latex): Make sure region
6838         bounds are correct.  Parse subtree properties relating to export.
6840         * org-exp.el (org-export-add-options-to-plist): New function.
6841         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6843 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6845         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6846         EXPORT_TITLE.
6848         * org-exp.el (org-export-get-title-from-subtree)
6849         (org-export-as-ascii, org-export-as-html): Make sure the original
6850         region-beginning and region-end are used, even after moving
6851         point.
6852         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6853         property.
6855         * org-remember.el (org-remember-last-stored-marker): New variable.
6856         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6857         (org-remember-handler): Also use marker to remember
6858         last-stored position.
6860         * org.el (org-goto-marker-or-bmk): New function.
6862 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6864         * org.el (org-file-properties): Renamed from `org-local-properties'.
6865         (org-scan-tags): Take file tags into account.
6866         (org-tags-match-list-sublevels): Default changed to t.
6868         * org-exp.el (org-export-as-html): Close paragraph after a
6869         footnote.
6871         * org.el (org-update-parent-todo-statistics): New function.
6873         * org-exp.el (org-icalendar-store-UID): New option.
6874         (org-icalendar-force-UID): Option removed.
6875         (org-print-icalendar-entries): IMplement UIDs.
6877 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6879         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6881 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6883         * org-faces.el (org-column): Document how this face is being used
6884         and why sometimes the background faces shine through.
6886         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6888         * org-publish.el (org-publish-attachment): Create publishing
6889         directory if it does not yet exist.
6891         * org-table.el (org-calc-default-modes): Change default number
6892         format to (float 8).
6894         * org.el (org-olpath-completing-read): New function.
6895         (org-time-clocksum-format): New option.
6896         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6898         * org-clock.el (org-clock-display, org-clock-out)
6899         (org-update-mode-line): Use `org-time-clocksum-format'.
6901         * org-colview-xemacs.el (org-columns-number-to-string): Use
6902         `org-time-clocksum-format'.
6904         * org-colview.el (org-columns-number-to-string): Use
6905         `org-time-clocksum-format'.
6907 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6909         * org-id.el: New file, move from contrib to core.
6911         * org-exp.el (org-icalendar-force-UID): New option.
6913 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6915         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6916         shifted by one day if theere is a date range without an end
6917         time.
6919         * org.el (org-try-structure-completion): New function.
6921 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6923         * org.el (org-set-font-lock-defaults): Improve fontification of
6924         description lists.
6925         (org-insert-item): Handle description lists.
6926         (org-adaptive-fill-function): Improve auto indentation in
6927         description lists.
6929         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6930         Implement VERSE environment.
6931         (org-export-preprocess-string): Implement the COMMENT
6932         environment.
6934         * org-export-latex.el (org-export-latex-preprocess): Implement
6935         VERSE environment.
6937 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6939         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6940         option.
6942 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6944         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6946         * org.el (org-quote-csv-field): New functions.
6948         * org-table.el (org-table-export-default-format): Remove :splice
6949         from default format, we get the same effect by not specifying
6950         :tstart and :tend.
6951         (org-table-export): Improve setup, distinguish better between
6952         interactive and non-interactive use, allow specifying the format
6953         on the fly, better protection against wrong file names.
6954         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6955         and :tend when :splice is omitted.
6957 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6959         * org-clock.el (org-clock-select-task): Make sure the selection
6960         letters are 1-9 and A-Z, no special characters.
6962 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6964         * org-exp.el (org-export-htmlize): New group.
6965         (org-export-htmlize-output-type)
6966         (org-export-htmlize-css-font-prefix): New options.
6967         (org-export-htmlize-region-for-paste): New function.
6968         (org-export-htmlize-generate-css): New command.
6970 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6972         * org/org.el (org-modules, org-format-latex-options):
6973         * org/org-archive.el (org-archive-stamp-time)
6974         (org-archive-save-context-info):
6975         * org/org-faces.el (org-hide):
6976         * org/org-irc.el (org-irc-parse-link):
6977         * org/org-macs.el (org-call-with-arg, org-autoload):
6978         * org/org-mew.el (org-mew-store-link):
6979         * org/org-remember.el (org-remember-store-without-prompt)
6980         (org-remember-templates): Fix typos in docstrings.
6982         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6984         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6985         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6986         (org-bbdb-anniv-split): Fix typos in docstrings.
6988         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6989         (org-publish-use-timestamps-flag): Reflow docstring.
6990         (org-publish-files-alist): Fix typos in docstring.
6992 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6994         * org.el (org-set-visibility-according-to-property): New function.
6995         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6996         and compute the regular expressions, and update font-lock.
6997         (org-property-re): Allow a dash in property names.
6999         * org-archive.el (org-extract-archive-file): Insert the file name
7000         without the path into the format, to allow the location format to
7001         contain a subdirectory.
7003         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7004         of buffer, and the `org-agenda-type' property undefined, use the
7005         value from the character before.
7007         * org.el (org-add-planning-info): Don't let indentation for
7008         would-be timestamp become extra whitespace at the end of headline.
7010 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7012         * org.el (org-remove-double-quotes, org-file-contents): New
7013         functions.
7015         * org-exp.el (org-infile-export-plist): Also parse the
7016         contents of #+SETUPFILE files, recursively.
7018         * org.el (org-set-regexps-and-options): Also parse the
7019         contents of #+SETUPFILE files, recursively.
7021         * org-exp.el (org-export-handle-include-files): New function.
7022         (org-export-preprocess-string): Call
7023         `org-export-handle-include-files'.
7025         * org.el (org-delete-property-globally)
7026         (org-delete-property, org-set-property): Ignore case during
7027         completion.
7028         (org-set-property): Use `org-completing-read' instead of
7029         `completing-read'.
7031         * org.el (org-complete-expand-structure-template): New,
7032         experimental function.
7033         (org-structure-template-alist): New, experimental option.
7034         (org-complete): Call `org-complete-expand-structure-template'.
7036 2008-05-06  Bastien Guerry  <bzg@altern.org>
7038         * org-export-latex.el (org-export-latex-preprocess): Added
7039         support for blockquotes.
7041 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7043         * org.el (org-read-date-analyze): Catch the case where only a
7044         weekday is given.
7046 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7048         * org.el (org-set-font-lock-defaults): Make the description
7049         tag bold.
7051         * org-exp.el (org-export-as-html, org-close-li): Implement
7052         description lists.
7054 2008-05-04  Jason Riedy  <jason@acm.org>
7056         * org-table.el (*orgtbl-default-fmt*): New variable.
7057         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7058         when there is no other fmt available.
7060         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7061         :tend to suppress the appropriate string.
7063         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7064         table.
7066 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7068         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7069         read date.
7071         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7072         New function.
7074         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7075         New function.
7077 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7079         * org-clock.el (org-clock-find-position): Don't include notes
7080         into clock drawer.
7082         * org-archive.el (org-archive-subtree): No longer remove an
7083         extra line after cutting the subtree.  `org-cut-subtree' already
7084         takes care of this.
7086         * org-remember.el (org-remember-handler): Only kill the target
7087         buffer if it does not contain the running clock.
7089         * org.el (org-markers-to-move): New variable.
7090         (org-save-markers-in-region, org-check-and-save-marker)
7091         (org-reinstall-markers-in-region): New function.
7092         (org-move-subtree-down, org-copy-subtree): Remember relative
7093         marker positions before cutting.
7094         (org-move-subtree-down, org-paste-subtree): Restore relative
7095         marker positions after pasting.
7097         * org-remember.el (org-remember-clock-out-on-exit): New option.
7098         (org-remember-finalize): Clock out only if the setting in
7099         `org-remember-clock-out-on-exit' requires it.
7100         (org-remember-handler): Do the cleanup in the buffer, to make sure
7101         that the clock marker remains in tact.
7103 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7105         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7106         (org-clock-in): Make sure that also tasks outside the narrowed
7107         region will be clocked in correctly.
7108         (org-clock-insert-selection-line): Widen the buffer so that we can
7109         find the correct task heading.
7111         * org.el (org-base-buffer): New function.
7113         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7114         and ";" are escaped.
7115         (org-print-icalendar-entries): Also apply
7116         `org-icalendar-cleanup-string' to the headline, not only to the
7117         summary property.
7119 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7121         * org-exp.el (org-export-preprocess-hook): New hook.
7122         (org-export-preprocess-string): Call
7123         `org-export-preprocess-hook'.
7125         * org.el (org-font-lock-hook): New variable.
7126         (org-font-lock-hook): New function.
7127         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7129 ;; Local Variables:
7130 ;; coding: utf-8
7131 ;; add-log-time-zone-rule: t
7132 ;; End:
7134     Copyright (C) 2008  Free Software Foundation, Inc.
7136   This file is part of GNU Emacs.
7138   GNU Emacs is free software: you can redistribute it and/or modify
7139   it under the terms of the GNU General Public License as published by
7140   the Free Software Foundation, either version 3 of the License, or
7141   (at your option) any later version.
7143   GNU Emacs is distributed in the hope that it will be useful,
7144   but WITHOUT ANY WARRANTY; without even the implied warranty of
7145   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7146   GNU General Public License for more details.
7148   You should have received a copy of the GNU General Public License
7149   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7151 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c