Improve the logic of the search view.
[org-mode.git] / lisp / ChangeLog
blob2399950885cc2c201b439d12d87d979129a8b869
1 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
4         (org-agenda-search-view-search-words-only): Obsolete variable, is
5         now an alias for `org-agenda-search-view-always-boolean'.
6         (org-agenda-search-view-force-full-words): New option.
7         (org-search-view): Improve docstring, and implement a better logic
8         for Boolean and phrase searches.
10 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
12         * org-latex.el (org-export-as-latex): Do the first letbind in the
13         right moment.
15         * org-agenda.el (org-get-entries-from-diary): Add the new face to
16         these entries.
18         * org-faces.el (org-agenda-diary): New face.
20         * org.el (org-make-link-regexps): Allow regexp-special characters
21         in link types.
22         (org-open-file): When in-emacs is `system', also force system
23         opening, like when the value was `(16)'.
24         (org-update-statistics-cookies): Handle entries without children.
26         * org-exp.el
27         (org-export-preprocess-before-normalizing-links-hook): New hook.
28         (org-export-preprocess-string): Run the new hook.
30         * org.el (org-offer-links-in-entry): Make RET open all links.
32         * org-html.el (org-export-as-html): Remove any left-over display
33         properties in the html file.
35         * org-wl.el (org-wl-store-link): Work-around for format bug with
36         text properties.
38         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
39         invisibility while adding the graphs.
41 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
43         * org-remember.el (org-select-remember-template): Use C letter to
44         customize remember templates.
46         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
47         Move cursor to next visible line.
49 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
51         * org-beamer.el (org-beamer-sectioning): Leave columns environment
52         by specifying 0 or 1 for column width.
53         (org-beamer-column-widths): Make 0 stand for 0.0.
55 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
57         * org-exp.el (org-export-mark-radio-links): Don't match inside
58         <<target>>.
60         * org.el (org-format-latex-header-extra): New variable.
61         (org-format-latex): Set org-format-latex-header-extra from
62         in-buffer stuff.
63         (org-format-latex): Add org-format-latex-header-extra to the
64         variables on which image creation depends.
65         (org-create-formula-image): Add the header stuff from in-buffer
66         settings.
67         (org-read-date-analyze): Base the analysis for future preference
68         on NOW, not on the default date.
70         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
71         for TODO keyword in inline tasks.
73         * org.el (org-log-note-headings): New headings for removing
74         deadline or scheduling date.
75         (org-deadline, org-schedule): Arrange for logging when removing a
76         date.
77         (org-add-log-note): Handle deadline and scheduling removal.
79 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
81         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
83 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
85         * org-agenda.el (org-diary-class): New function.
87 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
89         * org-latex.el (org-export-latex-preprocess): Do process the text
90         of a radio target.
92 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
94         * org.el (org-entry-properties): Add TIMESTAMP properties back
95         in.
97 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
99         * org.el (org-all-time-keywords): New variable.
100         (org-set-regexps-and-options): Set `org-all-time-keywords'.
101         (org-entry-blocked-p): New function.
102         (org-special-properties): Add BLOCKED as a new special property.
103         (org-entry-properties): New optional argument SPECIFIC, only parse
104         for this property when it is specified.
105         (org-entry-get): Pass a SPECIFIC argument to
106         `org-entry-properties'.
108         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
110 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
112         * org-latex.el (org-export-latex-tables): No forced line end if
113         there is no caption.
115 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
117         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
118         package.
120         * org-latex.el (org-export-latex-tables): Only add a caption when
121         macro in in longtable environments if one has been defined.
123         * org-html.el (org-export-as-html): Only take title from buffer if
124         not exporting body-only.
126         * org-latex.el (org-export-latex-preprocess): Better version of
127         the regular expression for protecting LaTeX macros.
128         (org-export-latex-preprocess): Start searching for macros to
129         protect from beginning of buffer.
131         * org-exp.el (org-export-target-internal-links): Check for
132         protectedness earlier in the string.
134         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
135         case sensitively.
137         * org-id.el (org-id-store-link): Match TODO keywords case
138         sensitively.
140         * org.el (org-heading-components, org-get-outline-path)
141         (org-display-outline-path): Match TODO keywords case sensitively.
143         * org-latex.el (org-export-as-latex): Ignore read-only
144         properties.
146         * org-exp.el (org-export-preprocess-string): Remove any
147         `read-only' properties.
149         * org-agenda.el (org-agenda-inactive-leader): New option.
150         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
151         (org-tags-view): Prompt for matcher if MATCH is an empty string.
152         (org-todo-list): Prompt for matcher if ARG is an empty string.
154 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
156         * org.el (org-open-link-functions): New hook.
157         (org-open-at-point): Run `org-open-link-functions'.
159 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
161         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
162         stamps as well.
164         * org.el (org-inhibit-startup-visibility-stuff): New variable.
165         (org-mode): Don't do startup visibility if inhibited.
166         (org-outline-overlay-data, org-set-outline-overlay-data): New
167         functions.
168         (org-save-outline-visibility): New macro.
169         (org-log-note-headings): Document that one should not change the
170         `state' note format.
172 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
174         * org.el (org-make-link-regexps): Capture link path into a group.
176 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
178         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
179         the options plist.
181 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
183         * org.el (org-startup-with-beamer-mode): New option.
184         (org-property-changed-functions)
185         (org-property-allowed-value-functions): New hooks.
186         (org-entry-put, org-property-get-allowed-values): Run the new
187         hooks.
188         (org-property-next-allowed-value): Run the new hooks.
190         * org-exp.el (org-export-select-backend-specific-text): Add the
191         special beamer tags.
193         * org-beamer.el
194         (org-export-preprocess-before-selecting-backend-code-hook): New
195         file.
197         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
198         (org-export-as-latex): Run
199         `org-export-latex-after-initial-vars-hook'.
200         (org-export-latex-format-toc-function)
201         (org-export-latex-make-header): Call
202         `org-export-latex-format-toc-function'.
204         * org.el (org-fill-template): Make template searches case sensitive.
206         * org-exp.el (org-export): Use "1" as a sign to export only the
207         subtree.
209         * org-colview-xemacs.el (org-columns-edit-value): Use
210         org-unrestricted property.
212         * org-colview.el (org-columns-edit-value):  Use
213         org-unrestricted property.
215         * org.el (org-compute-property-at-point): Set org-unrestricted
216         text property if the list contains ":ETC".
217         (org-insert-property-drawer):  Use
218         org-unrestricted property.
220         * org-exp.el
221         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
222         (org-export-preprocess-string): Run
223         `org-export-preprocess-before-selecting-backend-code-hook'.
225         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
227         * org-latex.el (org-export-region-as-latex): Run
228         `org-export-first-hook'.
230         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
232         * org-docbook.el (org-export-as-docbook): Run
233         `org-export-first-hook'.
235         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
237         * org-exp.el (org-export-first-hook): New hook.
239 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
241         * org-list.el (org-previous-item): Exit at the beginning of the
242         buffer.
244         * org-id.el (org-id-locations-save): Only write the id locations
245         if any are defined.
247         * org-archive.el (org-archive-all-done): Make this work in a file
248         with org-odd-levels-only set.
250         * org.el (org-get-refile-targets): Catch the case when a buffer
251         has no file.
253         * org-latex.el (org-export-as-latex): Cleanup forced line ends
254         where they are not needed.
255         (org-export-latex-subcontent): Remove unnecessary newlines.
257 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
259         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
260         (org-export-latex-fontify): Fix regexp bug that takes special
261         care of protecting the right boundary characters in emphasis
262         matches.
263         (org-export-latex-preprocess): Allow multiple arguments to latex
264         macros.
266         * org.el (org-make-link-regexps): Use John Gruber's regexp for
267         urls.
269         * org-macs.el (org-re): Interpret :punct: in regexps.
271         * org-exp.el (org-export-replace-src-segments-and-examples): Also
272         take the final newline after the END line.
274         * org.el (org-clean-visibility-after-subtree-move): Only fix
275         entries that are not entirely invisible already.
276         (org-insert-link): Respect org-link-file-path-type for
277         "docview:" links in addition to "file:" links.
279 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
281         * org-exp.el (org-export-format-source-code-or-example): Avoid
282         additional extra white lines in LaTeX.
284         * org-list.el (org-list-parse-list): Leave empty lines after the
285         list, don't consider them as part of the list.
287         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
288         searches.
290         * org-clock.el (org-clock-select-task): Convert integer to
291         character for XEmacs.
293 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
295         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
296         compatible.
298 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
300         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
301         variable.
302         (org-set-tags): Use it.
304 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
306         * org-list.el (org-empty-line-terminates-plain-lists): Update
307         docstring.
309         * org.el (org-format-latex): Fix link creation for processed latex
310         snippets.
312 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
314         * org-footnote.el (org-footnote-normalize): Protect replacement
315         text.
317         * org.el (org-inside-latex-macro-p): Save match data.
319 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
321         * org-docview.el: New file.
323 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
325         * org-latex.el (org-export-latex-class-options): New variable.
326         (org-export-latex-set-initial-vars): Use the class options.
328         * org.el (org-forward-same-level): Stop at headings that start
329         with an invisible character.
330         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
332 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
334         * org-footnote.el (org-footnote-normalize): Don't take optional
335         arguments in LaTeX macros as footnotes.
337         * org.el (org-inside-latex-macro-p): New function.
339         * org-latex.el (org-latex-to-pdf-process): Change customization
340         group to `org-export-pdf'.
342         * org-agenda.el (org-agenda-get-blocks): Look at time string also
343         on days after the first one.
345         * org.el (org-insert-heading): Also check for item before assuming
346         before-first-heading condition.
348         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
349         (org-export-pdf-logfiles): New option.
350         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
351         (org-export-pdf-logfiles): Fix customization type.
353         * org.el (org-insert-link): Improve error message when there is no
354         default link to select with RET.
356         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
357         parameter list.
359 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
361         * org-latex.el (org-export-latex-parse-global)
362         (org-export-latex-parse-content)
363         (org-export-latex-parse-subcontent): Use
364         `org-re-search-forward-unprotected'.
365         (org-export-as-pdf): Remove log files produced by XeTeX.
367         * org-macs.el (org-re-search-forward-unprotected): New function.
369 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
371         * org-colview.el (org-agenda-colview-summarize): Sort out some
372         confusion between properties and titles, which resulted in
373         agenda summaries not working if a title was set for a column.
375 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
377         * org-mobile.el (org-mobile-agendas): New option.
378         (org-mobile-sumo-agenda-command): Select the right agendas.
380         * org-latex.el (org-export-latex-format-image): Preserve the
381         original-indentation property.
383 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
385         * org-clock.el (org-clock-insert-selection-line): Catch error when
386         an old tasks no longer exists.
388         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
389         (org-export-as-pdf): Don't remove the old PDF file before making
390         the new one.
392         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
393         (org-mouse-context-menu): Use `org-looking-back'.
395         * org.el (org-cycle-level): Use `org-looking-back'.
397         * org-list.el (org-cycle-item-indentation): Use
398         `org-looking-back'.
400         * org-compat.el (org-looking-back): New function.
402         * org.el (org-insert-heading): Catch before-first-headline when
403         inserting a headline.
405 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
407         * org-latex.el (org-export-latex-format-image): Indent figure
408         environment, so that it does not interrupt plain list.
410         * org.el (org-open-at-point): Allow long link descriptions.
412 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
414         * org-html.el (org-export-as-html): Remove empty lines at the
415         beginning of the exported text.
417 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
419         * org-protocol.el (org-protocol-remember): Cater for empty title,
420         region, link.
422         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
423         agenda after adding new entry.
424         (org-agenda-get-represented-tags): New function.
425         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
426         to get a list of tags in the agenda.
428         * org-datetree.el (org-datetree-find-day-create): Fix regular
429         expression.
431         * org.el (org-display-outline-path): Use a format specifier for
432         message, to avoid problems with heading containing `%'.
434         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
435         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
436         (org-agenda-fix-displayed-tags): New function.
437         (org-agenda-do-context-action): Just call
438         `org-display-outline-path', without piping the result through
439         `message'.
441         * org-latex.el (org-export-latex-preprocess): Protect secondary
442         footnote references.
444         * org-indent.el (org-indent-initialize): Avoid empty strings as
445         line prefixes.
447         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
448         hat checking for the mark does not throw an error.
449         (org-agenda-diary-entry-in-org-file): Catch the case that there is
450         not `day' text property in the cursor line.
452         * org.el (org-sort-entries-or-items): Make sure that the final
453         entry has a newline before doing the sorting.
455         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
456         property at the beginning of the line.
458         * org.el (org-make-link-string): Don't allow a description with
459         only white space.
461 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
463         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
464         (org-agenda-insert-diary-as-top-level): New function.
465         (org-agenda-add-entry-to-org-agenda-diary-file): Call
466         `org-agenda-insert-diary-as-top-level'.
468         * org.el (org-occur-in-agenda-files): Make sure none of the
469         buffers is narrowed.
470         (org-activate-plain-links): Add the face property here.
471         (org-set-font-lock-defaults): Do not add the face to plain links,
472         the activator function does this.
474         * org-habit.el (org-is-habit-p): Add doc string.
476 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
478         * org-archive.el (org-archive-subtree-default-with-confirmation):
479         Autoload.
481         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
482         after match optional (happens at the end of a line...).
484         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
485         for special blocks.
487         * org-faces.el (org-copy-face): Set lisp indentation.
488         (org-quote, org-verse): New faces.
490         * org-agenda.el (org-agenda-remove-date): Remove variable.
492 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
494         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
496 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
498         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
499         hash keys to cache and re-use images generated by the
500         org-exp-blocks interface to ditaa and dot.
502 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
504         * org-html.el (org-export-as-html): Move the home/up link into
505         the content div.
507         * org.el (org-export-latex-packages-alist): Option definition
508         moved here from org-latex.el.
510 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
512         * org.el (org-format-latex): Latex images are now saved to files
513         named by the sha1 hash of the latex source text avoiding
514         regeneration of identical images.
516 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
518         * org-html.el (org-export-html-home/up-format): Add an ID to the
519         up/home div.
521 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
523         * org-wl.el (org-wl-store-link): Handle the case that
524         `wl-use-petname' is set.
526         * org.el (org-set-effort): Improve prompt.
527         (org-get-outline-path): Widen to get full path.
528         (org-compact-display-after-subtree-move): Function removed.
530         * org-latex.el (org-export-as-latex): Add the :drawers property.
532 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
534         * org.el (org-speed-commands-user): Allow documentation headlines.
535         (org-speed-commands-default): Organize the value of this constant
536         with descriptive headlines.
537         (org-print-speed-command): Output the headlines.
539 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
541         * org-agenda.el (org-agenda-show-outline-path): New option.
542         (org-agenda-do-context-action): New function.
543         (org-agenda-next-line, org-agenda-previous-line): Use
544         `org-agenda-do-context-action'.
546         * org.el (org-use-speed-commands): Allow function value.
547         (org-speed-commands-default): Make headline motion safe, so that
548         these commands always end on a headline.
549         (org-speed-commands-default): New key `v' for `org-agenda'.
550         (org-speed-move-safe): New function.
551         (org-self-insert-command): Use the function value of
552         `org-use-speed-commands'.
553         (org-get-outline-path): Improve docstring.
554         (org-format-outline-path): New function.
555         (org-display-outline-path): New function.
557 2009-11-12  John Wiegley  <jwiegley@gmail.com>
559         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
560         a string, use that to find the LOGBOOK drawer.
562 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
564         * org.el (org-clone-subtree-with-time-shift): Make it work at the
565         end of the buffer.
567         * org-mobile.el (org-mobile-write-checksums): Specify coding
568         system.
569         (org-mobile-timestamp-buffer): Keep local variable/mode line at
570         beginning of buffer.
572         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
574         * org.el (org-block-todo-from-children-or-siblings-or-parent)
575         (org-block-todo-from-checkboxes): Do not block changes to a nil
576         TODO state.
578 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
580         * org-habit.el (org-habit-parse-todo): Indicate which habit is
581         wrongly set up in the error messages.
583         * org-colview.el (org-columns-display-here): Don't try to
584         calculate values if the underlying property is not set.
585         (org-columns-string-to-number): Convert age strings back into
586         fractional days.
587         (org-agenda-colview-summarize): Handle extended summary types
588         properly.
590         * org-colview-xemacs.el (org-columns-display-here): Don't try to
591         calculate values if the underlying property is not set.
592         (org-columns-string-to-number): Convert age strings back into
593         fractional days.
594         (org-agenda-colview-summarize): Handle extended summary types
595         properly.
597 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
599         * org-exp.el (org-export-format-drawer-function): New variable.
600         (org-export-format-drawer): New function.
601         (org-export-preprocess-string): Pass the backend as a parameter to
602         `org-export-remove-or-extract-drawers'.
603         (org-export-remove-or-extract-drawers): New parameter BACKEND.
605         * org-protocol.el (org-protocol-char-to-string): New defsubst.
607 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
609         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
610         message when no block is selected.
612         * org-latex.el (org-export-latex-links): Check for protectedness
613         in the last matched character, not after the match.
615         * org-datetree.el (org-datetree-find-date-create): Respect
616         restriction when KEEP-RESTRICTION is set.
617         (org-datetree-file-entry-under): New function.
618         (org-datetree-cleanup): New command.
620 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
622         * org-src.el (org-edit-src-code): New optional argument context
623         allows calling functions to avoid altering the saved window
624         configuration.
625         (org-edit-src-exit): Do not restore window configuration when this
626         function is used in the context of saving the edit buffer.
628 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
630         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
631         instances to switching to with-current-buffer, because these seem
632         to cause problems - no idea why.
634         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
635         Require diary-lib for (diary-date-display-form).
637         * org.el (org-log-reschedule, org-log-redeadline): New options.
638         (org-log-note-headings): Add templates for rescheduling and
639         deadline changing.
640         (org-startup-options): Add in-buffer settings for logging changing
641         schedule and deadline time stamps.
642         (org-deadline, org-schedule): Check for existing date and arrange
643         for logging if the user requests it.
644         (org-add-log-note): Prepare proper note buffers for rescheduling
645         and deadline changes.
647 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
649         * org-agenda.el (org-agenda-diary-entry-in-org-file)
650         (org-agenda-add-entry-to-org-agenda-diary-file)
651         (org-agenda-insert-diary-make-new-entry): New functions.
652         (org-agenda-diary-entry): Call
653         `org-agenda-diary-entry-in-org-file' when appropriate.
655         * org.el (org-calendar-insert-diary-entry-key): New option.
656         (org-agenda-diary-file): New option.
657         ("calendar"): Install our insertion function in the calendar.
659         * org-remember.el (org-datetree): Require.
660         (org-remember-templates): Add new positioning option.
661         (org-remember-reference-date): New variable.
662         (org-remember-apply-template): Store the reference date in a local
663         variable.
664         (org-remember-handler): Implement date tree positioning of entries.
666         * org-datetree.el: New file.
668         * org-latex.el (org-export-latex-preprocess): Protect targets in
669         verbatim emphasis.
671         * org-html.el (org-export-as-html): Protect targets in verbatim
672         emphasis.
674         * org-docbook.el (org-export-as-docbook): Protect targets in
675         verbatim emphasis.
677 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
679         * org.el (org-link-display-format): Should be literal replacement.
681 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
683         * org-clock.el (org-show-notification): Handle messages that
684         contain a percent character.
686         * org-remember.el (org-remember-apply-template): Turn of partial
687         completion.
689         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
690         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
692         * org.el (org-indent-mode): Define variable already in org.el.
693         (org-unfontify-region): Remove line-prefix and wrap-prefix
694         properties only if org-indent-mode is active.
696 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
698         * org-icalendar.el (org-print-icalendar-entries): Save match data
699         around call to verify function.
700         (org-print-icalendar-entries): Add a call to the verification
701         function.
703         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
704         save-restrivtion' form.
706 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
708         * org-exp.el (org-export-format-source-code-or-example): restrict
709         scope of preserve-indentp to the let binding.
710         (org-src): require org-src, since org-src-preserve-indentation is used.
712 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
714         * org-timer.el (org-timer-set-timer): Set variables
715         org-timer-timer[123] correctly.
718         * org-mobile.el (org-mobile-files-alist): Make it work when
719         `agenda-archives' is included in
720         `org-agenda-text-search-extra-files'.
721         (org-mobile-push): Restore agenda after mobile push.
723 2009-11-05  John Wiegley  <jwiegley@gmail.com>
725         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
726         way the amount of idle time is presented in the minibuffer.
728 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org-icalendar.el (org-print-icalendar-entries): Use
731         org-icalendar-verify-function only if non-nil.
733         * org.el (org-refile): Refile to clock only if the prefix arg is
734         2.
735         (org-sparse-tree): Fix docstring to be in line with prompt.
736         (org-update-parent-todo-statistics): Call
737         `org-after-todo-statistics-hook' on each level.
739 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
741         * org-remember.el (org-remember-apply-template): Make sure the
742         buffer exists.
744 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
746         * org.el (org-tab-ind-state): New variable.
747         (org-cycle-level): New function.
748         (org-cycle-level-after-item/entry-creation): New option.
749         (org-flag-subtree): New function.
750         (org-hide-archived-subtrees): Call `org-flag-subtree'.
751         (org-set-effort): Indexed access.
753         * org-list.el (org-cycle-item-indentation): New function.
755         * org.el (org-refile): Make prefix argument 2 refile to current
756         clock.
757         (org-priority): Interpret action `remove' as call to remove the
758         priority cookie.
760         * org-remember.el (org-remember-apply-template): Don't depend on
761         buffer name being like file name.
763 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
765         * org-clock.el (org-clock-play-sound): Expand file in
766         org-clock-sound, to allow ~ for home.
768         * org-remember.el (org-remember-handler): Set
769         text-before-node-creation even if this already looks like a node,
770         because the string might be needed on non-org-mode target files.
772         * org-agenda.el (org-agenda-open-link): Make this work in agenda
773         clocktables.
774         (org-agenda-switch-to): Follow a link at point if
775         org-return-follows-link' is set and there is nothing else to do in
776         this line.
778 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
780         * org-colview-xemacs.el: Add in changes from org-colview.el
782 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
784         * org-exp-blocks.el: Modify split separator regexp to avoid empty
785         strings.
787 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
789         * org-colview.el (org-columns-new): Make this work with the new
790         operators.
791         (org-columns-store-format): Make this work with the new operators.
793 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
795         * org-src.el (org-src-preserve-indentation): Document that this
796         variable is also used during export.
798         * org-exp.el (org-export-format-source-code-or-example): Preserve
799         indentation if a block has a -i option, or if
800         `org-src-preserve-indentation' is set.
802         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
803         indentation if a block has a -i option, or if
804         `org-src-preserve-indentation' is set.
806 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
808         * org.el (org-mode-map): Define the new archiving keys.
809         (org-speed-commands-default): Define an archiving key in the speed
810         command map.
811         (org-org-menu): Improve the menu structure concerning archiving.
813         * org-archive.el (org-archive-subtree-default-with-confirmation):
814         New command.
816         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
817         (org-agenda-menu): Add the new archiving commands to the menu.
818         (org-agenda-archive-default)
819         (org-agenda-archive-default-with-confirmation): New commands.
820         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
821         call `org-agenda-archive-with'.
822         (org-agenda-archive-with): New function.
824         * org-table.el (org-table-convert-region): Inert spaces around "|"
825         to avoid line beginnings like "|-1" which will be mistaken as
826         hlines.
828 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
830         * org.el (org-offer-links-in-entry): Return nil if there are no
831         links, t if a link has been selected.
832         (org-open-at-point): Open attachment directory when called in the
833         headline and there are no links in the entry body.
834         (org-speed-commands-default): Add "o" for open-at-point as a speed
835         command.
837         * org-attach.el (org-attach-reveal): Optional prefix arg
838         IF-EXISTS, which avoids creating the attachment directory if it
839         does not yet exist.
841         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
842         MATCH.
844 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
846         * org.el ("abbrev"): Work with abbrev tables only after they have
847         been loaded.
849         * org-list.el (org-list-send-list): Fix bug related to match
850         data.
852         * org-latex.el (org-export-latex-fontify): Apply verbatim
853         emphasis.
854         (org-export-latex-make-header): Insert \obeylines if line breaks
855         should be preserved.
857         * org-exp.el (org-export-protect-verbatim): Add an
858         `org-verbatim-emph' property to such text.
860 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
862         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
863         (org-print-icalendar-entries): Skip entries where the timestamp is
864         not a deadline and not scheduled, if the user requests that.
866         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
867         before an opening quote.
869         * org-archive.el (org-archive-subtree): Keep archive after
870         archiving something.
872         * org-id.el (org-id-update-id-locations): Add archive files if
873         that is required by `org-id-extra-files'.
875 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
877         * org-src.el (org-src-window-setup): New option.
878         (org-src-switch-to-buffer): New function.
879         (org-edit-src-exit): Add optional argument CONTEXT and use it to
880         restore window configuration.
881         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
882         Call `org-src-switch-to-buffer'.
884         * org.el (org-default-properties): Add STYLE property.
885         (org-files-list): Use the function call to get the files.
886         (org-additional-option-like-keywords): Add SETUPFILE to completion
887         list.
889 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
891         * org-table.el (org-table-convert-region): Correctly interpret
892         quoting in csv import.
894         * org.el (org-icompleting-read): Make iswitchb completion work
895         with lists and tables.
897         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
898         while pushing the mobile agenda.
900 2009-10-25  John Wiegley  <jwiegley@gmail.com>
902         * org-clock.el
903         (org-clock-auto-clock-resolution): Now takes three values: nil, t
904         and `when-no-clock-is-running'.
905         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
906         whether or not to resolve Org buffers on clock in.
908 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
910         * org-colview.el (org-format-time-period): Function to format
911         times in fractional days for display.
912         (org-columns-display-here): Add support for showing a calculated
913         value in place of the property.
914         (org-columns): Set `org-columns-time' to the current time so time
915         difference calculations will work.
916         (org-columns-time): Use to store the current time when column view
917         is displayed, so all time differences will use the same reference
918         point.
919         (org-columns-compile-map): There is now an extra position in each
920         entry specifying the function to use to calculate the displayed
921         value for the non-calculated properties in the column,
922         (org-columns-compute-all): Set `org-columns-time' to the current
923         time so time difference calculations will work.
924         (org-columns-compute): Handle column operators where the values
925         used are calculated from the underlying property.
926         (org-columns-number-to-string): Handle the 'age' column format
927         (org-columns-string-to-number): Correct the function name (was
928         org-column...). Add support for the 'age' column format.
929         (org-columns-compile-format): Support the additional parameter in
930         org-columns-compile-map.
932 2009-10-26  Bastien Guerry  <bzg@altern.org>
934         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
935         variable.
937 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
939         * org-clock.el (org-clock-has-been-used): New variable.
940         (org-clock-in): Set `org-clock-has-been-used'.
941         (org-clock-save): Save only if clock data has been used or created
942         during this session.
944 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
946         * org-clock.el (org-clock-persist): New value, to store only the
947         clock history.
948         (org-clock-save): Don't save the clock if only the history should
949         be stored.
950         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
951         when restoring a saved clock.
953 2009-10-24  John Wiegley  <jwiegley@gmail.com>
955         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
956         `org-time-clock-use-fractional'.
958         * org.el (org-time-clocksum-use-fractional)
959         (org-time-clocksum-fractional-format): Two new customizable
960         variables which allow the user to select fractional times (1.25
961         instead of 1:25) in the `org-clock-display' report.
963 2009-10-23  John Wiegley  <jwiegley@gmail.com>
965         * org-habit.el (org-habit-build-graph): None of the arguments
966         should be optional.
967         (org-habit-parse-todo, org-habit-deadline)
968         (org-habit-get-priority, org-habit-get-faces)
969         (org-habit-build-graph): Further simplifications by storing all
970         past, scheduled and deadline dates as a number of days past the
971         epoch, and not as times.
973         * org-habit.el (org-habit-warning-face)
974         (org-habit-warning-future-face): Removed because these are no
975         longer used.
976         (org-habit-deadline, org-habit-deadline-repeat): Now always
977         returns a date; computed if there was a scheduled repeater but no
978         deadline repeater.
979         (org-habit-get-priority): Further improvements to the priority
980         algorithm.  In particular, items past due should always appear
981         before items due or not yet due.
982         (org-habit-get-faces): Greatly simplified the logic, now that
983         `org-habit-deadline' always returns a valid time.
985 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
987         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
988         New option.
990         * org.el (org-tag-alist): Fix customization type.
992 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
994         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
995         Make sure the regexp search can fail without throwing an error.
996         (org-mobile-apply): Save the inbox buffer after removing
997         successfully applied changes.
999 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1001         * org-habit.el (org-habit-build-graph): Fix to the graph building
1002         when last DONE date is earlier than `org-habit-preceding-days'.
1004         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1005         time is reported after the user comes back (but before they
1006         resolve time).
1008         * org.el (org-get-repeat): Change so that this function can be
1009         called with either `org-scheduled-string' or
1010         `org-deadline-string'.
1012         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1013         to find the scheduled date.
1015         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1016         `org-clock-disable-clock-resolution', since negatives don't sound
1017         good in customization variables.
1018         (org-clock-in): Don't use the auto-resolution logic if the user is
1019         clocking into a different task while an active clock is running.
1020         This then allows the default behavior of clocking out of the open
1021         task and then into the new task.
1023         * org-habit.el (org-habit-parse-todo): Generate an error if a
1024         habit has a scheduled repeat period < 1.
1025         (org-habit-get-faces): Fixes to the way that colors are computed.
1026         (org-habit-build-graph): The graph wasn't displaying beyond any
1027         day that had two completions in it.
1029         * org.el (org-modules): Made this variable more consistent, since
1030         it was referring to Org, OrgMode and Org-mode, whereas the docs
1031         for the variable always refer to Org-mode.
1033 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1035         * org.el (org-repeat-re): The changed org-repeat-re no longer
1036         matched simple +2d type repeaters. Fix it so it does.
1038 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1040         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1041         macro in the VERSE environment.
1043 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1045         * org-habit.el (org-habit-get-priority): A new function that
1046         determines the relative priority of a habit, based on how long
1047         past its scheduled date it is, and how near the deadline is.
1049         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1050         using `org-habit-get-priority'.
1052         * org-habit.el (org-habit-build-graph): Start displaying colors
1053         from the first scheduled date, if that date is earlier than the
1054         first completion date.
1056         * org-habit.el: Changed all "color" variables to faces, and made
1057         them appropriate for light and dark backgrounds.
1059         * org-habit.el (org-habit-duration-to-days): Made this function
1060         more general.
1061         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1063         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1064         habits, since they don't use DEADLINE anymore.
1066         * org.el (org-repeat-re, org-display-custom-time)
1067         (org-timestamp-change): Extended to support the new ".+N/N"
1068         syntax, used for habits.
1070         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1071         variable reference.
1073         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1074         modeline when habits are being displayed (if that module is being
1075         loaded).
1077 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1079         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1080         idle time using the xscreensaver extension.
1081         (org-user-idle-seconds): Use X11 idle time if available.
1083 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1085         * org-agenda.el (org-agenda-next-line): New command.
1086         (org-agenda-previous-line): New commands.
1087         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1088         commands.
1089         (org-agenda-follow-mode): Do the follow immediately if the mode is
1090         turned on here.
1091         (previous-line, next-line): Replace keys with the corresponding
1092         org functions.
1093         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1094         command.
1096         * org.el (org-icompleting-read): Turn off partial completion mode
1097         for the duration of this completion round.
1099         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1100         macros in author lines and similar stuff.
1102         * org.el (org-file-tags): Fix docstring.
1103         (org-get-buffer-tags): Add the #+FILETAGS tags.
1104         ("ecb"): Maks ecb show context after jumping into an Org file.
1106 2009-10-20  John Wiegley  <johnw@newartisans.com>
1108         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1109         graphs after everything else in the buffer has been setup.
1111 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1113         * org-mobile.el (org-mobile-apply): Count success and failure.
1115         * org.el (org-indent-line-function): Fix regexp replace problem.
1117 2009-10-19  John Wiegley  <johnw@newartisans.com>
1119         * org-clock.el (org-clock-disable-clock-resolution): New
1120         customization variable that disable automatic clock resolution on
1121         clock in.
1122         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1123         not automatically resolve anything.  This is does not affect
1124         idle-time resolution, however, if `org-clock-idle-time' is set.
1126 2009-10-19  John Wiegley  <johnw@newartisans.com>
1128         * org-habit.el: New file, which implements code to build a "habit
1129         consistency graph".
1131         * org-agenda.el (org-agenda-get-deadlines)
1132         (org-agenda-get-scheduled): Display consistency graphs when
1133         outputting habits into the agenda.  The graphs are always relative
1134         to the current time.
1135         (org-format-agenda-item): Added new parameter `habitp', which
1136         indicates whether we are formatting a habit or not.  Do not
1137         display "extra" leading information if habitp is true.
1139         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1140         leaders for repeat strings.
1141         (org-get-repeat): Now takes a string parameter `tagline', so the
1142         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1144 2009-10-19  John Wiegley  <johnw@newartisans.com>
1146         * org-agenda.el (org-agenda-auto-exclude-function): New
1147         customization variable for allowing the user to create an "auto
1148         exclusion" filter for doing context-aware auto tag filtering.
1149         (org-agenda-filter-by-tag): Changes to support the use of
1150         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1152 2009-10-18  John Wiegley  <johnw@newartisans.com>
1154         * org.el (org-files-list): Don't attempt to return a file name for
1155         Org buffers which have no associated file.
1157         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1159 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1161         * org-mobile.el (org-mobile-locate-entry): Interpret files
1162         relative to org-directory.
1163         (org-mobile-inbox-for-pull): Document the best location for this
1164         file.
1165         (org-mobile-check-setup): Verify `org-directory'.
1166         (org-mobile-create-index-file): Sort the files to be listed in
1167         index.org.
1169 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1171         * org.el (org-fast-tag-selection): Add a way to display a
1172         description for a tag group. This is done by adding a string to
1173         either the startgroup or endgroup cell.
1175 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1177         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1178         (org-emacs-idle-seconds): Use `org-float-time' instead of
1179         `time-to-seconds'
1181 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1183         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1184         type.
1186         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1187         the value of ARG when doing local cycling.
1189 2009-10-17  John Wiegley  <johnw@newartisans.com>
1191         * org-clock.el (org-clock-resolve-clock): If keeping or
1192         subtracting time results in a clock out at a time in the past, and
1193         if the resolution occurred due to idleness or invoking `M-x
1194         org-resolve-clocks', remember that past moment in time.  On the
1195         next clock in, the user will be prompted to see if they want to
1196         back-date their new clock to then.
1197         (org-clock-resolve): Do not jump the user to the location of a
1198         dangling clock if the resolution is occuring due to an idle
1199         timeout.  In that case there is typically only one dangling clock,
1200         the active one, and there is no value gained by shuffling their
1201         windows around to show it to them.  Being prompted to resolve an
1202         idle clock should be as inobtrusive as possible.
1203         (org-resolve-clocks-if-idle): New function that resolves only the
1204         currently active clock if the user has exceeded the time returned
1205         by `org-user-idle-seconds', based on the value of
1206         `org-clock-idle-time'.
1207         (org-clock-in): If, after resolving clocks,
1208         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1210         * org-clock.el (org-clock-resolve-clock): New function that
1211         resolves a clock to a specific time, closing or resuming as need
1212         be, and possibly even starting a new clock.
1213         (org-clock-resolve): New function used by `org-resolve-clocks'
1214         that sets up for the call to `org-clock-resolve-clock'.  It
1215         determines the time to resolve to based on a single-character
1216         selection from the user to either keep time, subtract away time or
1217         cancel the clock.
1218         (org-resolve-clocks): New user command which resolves dangling
1219         clocks -- that is, open but not active -- anywhere in the file
1220         list returned by `org-files-list'.
1221         (org-clock-in): Automatically resolve dangling clocks whenever a
1222         user clocks in.
1223         (org-clock-cancel): If the user cancels the solely clock in a
1224         LOGBOOK, remove the empty drawer.
1226         * org-clock.el (org-clock-idle-time): New user customizable option
1227         for detecting whether the user has left a clock idle.  Note: it is
1228         only used in this commit to test whether it's worthwhile to check
1229         OS X to get the Mac user's current idle time.  If the Emacs idle
1230         time is less than the value, the user hasn't been away long enough
1231         to be worth checking (a more expensive test than just getting
1232         Emacs idle time).
1233         (org-user-idle-seconds, org-mac-idle-seconds)
1234         (org-emacs-idle-seconds): This three functions, in conjunction
1235         with the user customization variable `org-clock-idle-time', return
1236         the number of seconds (as a floating point) that the user has been
1237         away from their Emacs (or, if running on OS X, their computer).
1239         * org-clock.el (org-find-open-clocks): New function that returns a
1240         list of all open clocks in the given FILE.  Note that each clock
1241         it returns is a cons cell of the format (MARKER . START-TIME).
1242         This "clock" value is used by several of the new clock module
1243         utility functions.
1244         (org-is-active-clock): New inline function which tests whether the
1245         given clock value is the same as the currently active clock.
1246         Returns non-nil if this is the case.
1247         (org-with-clock-position): New macro that evaluates FORMS with
1248         point in the buffer and at the position of the given clock.
1249         Changes to the current clock are global.
1250         (org-with-clock): New macro that evaluates FORMS with point in the
1251         buffer and at the position of the given clock.  However, changes
1252         to the current clock are local and have no effect on the user's
1253         active clock.  This allows, for example, far any clock to be
1254         cancelled without cancelling the active clock.
1255         (org-clock-clock-in): New inline function that switches the active
1256         clock to the given clock.  If either the argument RESUME, or the
1257         global `org-clock-in-resume', are non-nil, it will resume a clock
1258         that was previously left open.
1259         (org-clock-clock-out): New inline function that clocks out the
1260         given clock value without affecting the currently active clock.
1261         (org-clock-clock-cancel): New inline function that cancels the
1262         given clock value without affecting the currently active clock.
1264         * org-clock.el (org-clock-in): Before creating
1265         `org-clock-mode-line-timer', check to make sure an older timer is
1266         not currently running.
1267         (org-clock-out): Accept new third parameter `at-time', which
1268         permits a clock to be clocked out at a specific time.  Note that
1269         no attempt is made to verify that the clock out time is later than
1270         the clock in time.
1272         * org.el (org-files-list): New utility function for returning a
1273         list of all open org-mode buffers, plus all files used to build
1274         the agenda buffer.  Note that not all the files will necessarily
1275         be visited by a buffer at time of call.
1276         (org-entry-beginning-position): Like the function
1277         `line-beginning-position', this inline function returns the
1278         beginning position of the current heading/entry.
1279         (org-entry-end-position): Like the function `line-end-position',
1280         this inline function returns the end position of the current
1281         heading/entry.
1283 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1285         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1286         a header line.
1288 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1290         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1292 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1294         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1295         entries that have no tags.
1296         (org-agenda-search-view): New customize group.
1297         (org-agenda-search-view-search-words-only): New option.
1298         (org-search-view): Implement substring search.
1300 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1302         * org.el (org-outline-level): Add doc string.
1304 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1306         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1307         variable.
1308         (org-inlinetask-export-handler): Only export inline task if the
1309         user option calls for it.
1311 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1313         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1314         END if present.
1316 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1318         * org-latex.el (org-export-latex-tables): Don't format in
1319         protected regions.
1321 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1323         * org-src.el (org-edit-src-code)
1324         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1325         macro editing.
1327         * org-agenda.el (org-prefix-category-max-length): New variable.
1328         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1329         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1331 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1333         * org-mobile.el (org-mobile-create-index-file): Improve the
1334         listing of tags and todo keywords.
1336         * org-latex.el (org-export-latex-format-image): New function.
1337         (org-export-latex-links): Use `org-export-latex-format-image'.
1339 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1341         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1342         (org-inlinetask-remove-terminator): New functions.
1343         (org-inlinetask-export-handler): Terminate the description list.
1345         * org-exp.el (org-export-select-backend-specific-text): Remove the
1346         region markers.
1348         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1349         tasks without content.
1351         * org-clock.el: Make sure the clock-in target position does not
1352         move to a different node by widening the buffer.
1354         * org-html.el (org-export-html-format-image): Wrap image into
1355         figure div only when there is a caption.
1357         * org-archive.el (org-archive-mark-done): Change default value to
1358         nil.
1360 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1362         * org.el (org-context): Call `bobp', not `eobp'.
1364         * org-clock.el (org-clock-cancel): Remove quotes from marker
1365         variables.
1367         * org.el (org-read-date-prefer-future): New allowed value `time'.
1368         (org-read-date-analyze): Shift day to tomorrow depending on time
1369         entered and value of `org-read-date-prefer-future'.
1371 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1373         * org.el (org-set-tags-to): New command.
1375         * org-mobile.el (org-mobile-action-alist): Add more options and
1376         update the docstring.
1377         (org-mobile-apply-flags): Parse for and use the data.
1379         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1380         the plist.
1382         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1383         keyword.
1385         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1387 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1389         * org-inlinetask.el (org-inlinetask-export): Option removed.
1390         (org-inlinetask-export-handler): Better export.
1392         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1393         (org-export-as-xoxo): Run the new hook.
1395         * org-html.el (org-export-html-final-hook): New hook.
1396         (org-export-as-html): Run the new hook.
1398         * org-docbook.el (org-export-docbook-final-hook): New hook.
1399         (org-export-as-docbook): Run the new hook.
1401         * org-ascii.el (org-export-ascii-final-hook): New hook.
1402         (org-export-as-ascii): Run the new hook.
1404         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1405         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1407         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1408         space character as the character before the ^/_.
1409         (org-export-latex-final-hook): New hook.
1410         (org-export-as-latex): Run `org-export-latex-final-hook'.
1412 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1414         * org-macs.el (org-if-unprotected-at): Fix docstring.
1416         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1417         text in the prefix (if category is a link).
1419         * org-latex.el (org-export-latex-preprocess): Deal properly with
1420         empty lines in verse environments.
1422         * org.el (org-format-latex-header): Inline fullpage.sty.
1424         * org-footnote.el (org-footnote-create-definition): Reveal context
1425         to add a new footnote definition.
1427         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1428         the index file.
1429         (org-mobile-files): New option.
1430         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1431         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1432         functions.
1433         (org-mobile-push): Start by creating the files lists.
1434         (org-mobile-copy-agenda-files): Move killing the buffer to after
1435         the save-excursion has exited.
1436         (org-mobile-write-checksums): Write checksums also for files in
1437         sub-directories.
1439         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1440         org-table-recalculate when cursor is in TBLFM line.
1442         * org-list.el (org-renumber-ordered-list): Fix cursor position
1443         when bullet length has changed.
1445 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1447         * org.el (org-format-latex): Mention `org-format-latex-options' in
1448         the docstring.
1450 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1452         * org.el (org-agenda-get): New function.
1454         * org-agenda.el (org-agenda-post-command-hook): No longer move
1455         point away from end of line.
1456         (org-agenda-add-entry-text, org-agenda-collect-markers)
1457         (org-finalize-agenda, org-agenda-mark-clocking-task)
1458         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1459         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1460         (org-agenda-compare-effort, org-agenda-filter-apply)
1461         (org-agenda-later, org-agenda-change-time-span)
1462         (org-agenda-post-command-hook, org-agenda-show-priority)
1463         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1464         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1465         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1466         (org-agenda-open-link, org-agenda-copy-local-variable)
1467         (org-agenda-switch-to, org-agenda-check-no-diary)
1468         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1469         (org-agenda-add-note, org-agenda-change-all-lines)
1470         (org-agenda-priority, org-agenda-set-tags)
1471         (org-agenda-set-property, org-agenda-set-effort)
1472         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1473         (org-agenda-show-new-time, org-agenda-date-prompt)
1474         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1475         (org-agenda-clock-in, org-agenda-bulk-mark)
1476         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1477         `org-get-at-bol'.
1479         * org-colview.el (org-columns-display-here)
1480         (org-columns-edit-allowed, org-agenda-columns): Use
1481         `org-get-at-bol'.
1483 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1485         * org.el (org-special-ctrl-a/e): Improve documentation and
1486         customize type.
1487         (org-end-of-line): Don't jump to after the ellipsis.
1488         (org-mode-map): Bind <home> and <end> as well.
1490 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1492         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1493         space after #+ as comments.
1494         (org-open-at-point): Run `org-follow-link-hook' always.
1496         * org-latex.el (org-export-latex-emph-format): Use better commands
1497         to insert special characters in verbatim snippets.
1499 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1501         * org-faces.el (org-copy-face): New function.  Use it to create
1502         various faces formerly created by using `copy-face'.
1504         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1505         window dedicated.
1506         (org-agenda-quit): Kill the frame containing the agenda window if
1507         that frame was created for the agenda.
1509 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1511         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1512         stamp in the agenda.
1514 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1516         * org-mobile.el (org-mobile-create-index-file): Add the list of
1517         TODO keywords, and the list of drawers to the index file.
1519         * org-agenda.el (org-prepare-agenda): Reset
1520         `org-drawers-for-agenda'.
1521         (org-prepare-agenda): Uniquify list of drawers.
1523         * org.el (org-complex-heading-regexp-format): New variable.
1524         (org-set-regexps-and-options): Define
1525         `org-complex-heading-regexp-format'.
1526         (org-drawers-for-agenda): New variable.
1527         (org-map-entries): Bind `org-drawers-for-agenda'.
1528         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1530         * org-remember.el (org-go-to-remember-target)
1531         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1533 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1535         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1536         problem.
1538         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1539         the capture file, and make it non-configurable.
1541         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1542         always with `invisible-ok'.
1543         (org-store-link): No error when there is nothing to link to in the
1544         agenda.
1546         * org-list.el (org-update-checkbox-count): Insert changed cookie
1547         before the old, to avoid problems with invisibility at the end of
1548         the line.
1549         (org-update-checkbox-count): Insert changed cookie before the old,
1550         to avoid problems with invisibility at the end of the line.
1552         * org.el (org-sort-entries-or-items): Include the final newline.
1553         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1554         lines for fontification.
1555         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1556         (org-prepare-dblock): Store the current indentation of the BEGIN
1557         line.
1558         (org-update-dblock): Apply the indentation of the begin line to
1559         the rest of the block.
1560         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1561         (org-startup-folded): New allowed value `showeverything'.
1562         (org-startup-options): Add STARTUP keyword `showeverything'.
1563         (org-set-startup-visibility): Respect value `showeverything' in
1564         org-startup-folded.
1566 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1568         * org.el (org-closest-date): Fix issue with past preference.
1570         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1572         * org-archive.el (org-archive-set-tag)
1573         (org-archive-subtree-default): New commands.
1575         * org-mobile.el (org-mobile-create-index-file): Fix link to
1576         capture file.
1577         (org-mobile-copy-agenda-files): Create the capture file if it does
1578         not exist.
1580         * org-clock.el (org-clock-clocktable-default-properties): New
1581         option.
1582         (org-clock-report): Use
1583         `org-clock-clocktable-default-properties'.
1585 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1587         * org.el (org-iswitchb-completing-read): Fix typo.
1589         * org-crypt.el: New file.
1591         * org.el: Add an entry for org-crypt.
1593 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1595         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1596         consistency.
1597         (org-batch-store-agenda-views): New function.
1598         (org-mobile-force-id-on-agenda-items): Mention variable.
1599         (org-agenda-title-append): Define variable.
1600         (org-write-agenda): New export to Org files.
1601         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1602         (org-agenda): Allow to keep the restricted file list if a special
1603         variable is bound to t.
1604         (org-agenda): Define a special agenda view for working on flagged
1605         entries.
1606         (org-agenda-get-restriction-and-command): List the new agenda
1607         view.
1608         (org-agenda-show-the-flagging-note): New command.
1609         (org-agenda-mode-map): New key `?' for looking at the flagging
1610         note.
1612         * org.el (org-autoload): Autoload org-mobile.el.
1613         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1615         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1617 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1619         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1620         statements.
1621         (org-table-get-remote-range): Match indented #+TBLNAME
1622         statements.
1624         * org.el (org-convert-to-odd-levels)
1625         (org-convert-to-oddeven-levels): Work also correctly if the file
1626         is in outline-mode.
1628 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1630         * org.el (org-store-link): When in agenda buffer, link to
1631         referenced entry.
1632         (org-add-planning-info): Remove spaces at eol.
1634         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1635         property.
1637 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1639         * org-latex.el (org-export-latex-first-lines): Fix problem with
1640         LaTeX export of first line and selected subtree.
1642         * org.el (org-shifttab): Interpret arg differently when using only
1643         odd levels.
1645 2009-09-09  Bastien Guerry  <bzg@altern.org>
1647         * org.el (org-check-agenda-file): Use a more explicit message
1649 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1651         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1652         normal lines.
1654 2009-09-08  Bastien Guerry  <bzg@altern.org>
1656         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1657         prompt in the temporary window.
1659         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1660         prefix for marked entries in the agenda view.
1662 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1664         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1665         a way that prevents any trailing character from being displayed.
1667 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1669         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1670         menu.
1672         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1673         slow regexp match.
1675 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1677         * org-latex.el (org-export-latex-preprocess): Do not protect in
1678         the LaTeX header.
1680         * org-src.el (org-edit-src-save): Save window setup while saving.
1681         (org-edit-src-code): Use new buffer name construction scheme.
1683 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1685         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1686         variable.
1687         (org-agenda-entry-text-cleanup-hook): New hook.
1688         (org-agenda-get-some-entry-text): Remove matches of
1689         `org-agenda-entry-text-exclude-regexps' and run the hook
1690         `org-agenda-entry-text-cleanup-hook'.
1692         * org.el (org-offer-links-in-entry): New argument ZERO to
1693         implement a link with index zero.
1694         (org-cycle-show-empty-lines): Not keep empty line under header
1695         hidden.
1696         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1697         to nil for special completion.
1698         (org-store-link): Don't error before the first heading.
1700         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1701         `org-offer-links-in-entry'.
1703 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1705         * org-agenda.el (org-agenda-quit): Provide the window argument for
1706         `window-dedicated-p', Emacs 22 needs it.
1707         (org-format-agenda-item): If the category is a link, arrange for
1708         invisible text to replaced with spaces.
1709         (org-compile-prefix-format): Add the extra space.
1710         (org-prefix-category-length): New variable.
1712         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1713         references from TOC lines.
1715         * org.el (org-selected-window): New variable.
1717         * org-table.el (org-table-edit-formulas): Remember the selected
1718         window.
1719         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1720         that was originally selected.
1722         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1723         expansion of a macro for more macro definitions.
1725         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1726         invisibility overlay starts on the newline.
1728 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1730         * org-protocol.el (org-protocol-store-link)
1731         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1733         * org-compat.el (org-float-time): New function.
1735         * org.el (org-clock-update-time-maybe)
1736         (org-sort-entries-or-items, org-do-sort)
1737         (org-evaluate-time-range, org-time-string-to-seconds)
1738         (org-closed-in-range): Use `org-float-time'.
1740         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1741         (org-timer-seconds):  Use `org-float-time'.
1743         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1744         (org-clock-sum, org-dblock-write:clocktable)
1745         (org-clocktable-steps):  Use `org-float-time'.
1747         * org-agenda.el (org-agenda-last-marker-time)
1748         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1750         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1751         function.
1753         * org-exp.el (org-get-file-contents): Only protect lines that
1754         really need it.
1756         * org-html.el (require): Require cl for compilation.
1758         * org.el:  Avoid using `default-major-mode'.
1760         * org-plot.el (require): Require CL only at compile time.
1762         * org-exp.el (require): Require CL only at compile time.
1764         * org-agenda.el (org-agenda-quit): When the agenda window is
1765         dedicated, remove other windows before exiting, so that the frame
1766         really will be killed.
1768         * org-exp.el (org-export-handle-include-files): Reset START and
1769         END for each loop cycle.
1771 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1773         * org.el (org-eval-in-calendar): Use
1774         `org-select-frame-set-input-focus'.
1776         * org-compat.el (org-select-frame-set-input-focus): New function.
1778         * org.el (org-update-statistics-cookies): New function.
1779         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1781 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1783         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1784         after the local variables are set.
1786         * org-latex.el (org-export-latex-protect-amp): New function.
1787         (org-export-latex-links): Protect link ampersands in tables.
1789         * org-exp.el (org-export-select-backend-specific-text): Match in
1790         two steps, to avoid regexp problems.
1792         * org.el (org-offer-links-in-entry): Improve working with many and
1793         duplicate links.
1795         * org-agenda.el (org-agenda-show-1): Make more consistent with
1796         normal cycling.
1797         (org-agenda-cycle-show): Make more consistent with normal cycling.
1799         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1800         website.
1802 2009-08-30  Bastien Guerry  <bzg@altern.org>
1804         * org-latex.el (org-export-latex-first-lines): Bugfix.
1806 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1808         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1809         about new effort.
1811         * org.el (org-set-effort): New function.
1812         (org-mode-map): New key for effort setting command.
1814         * org-agenda.el (org-agenda): Keep window setup when calling
1815         agenda from within agenda window.
1816         (org-agenda-mode-map): New keys for effort setting commands.
1817         (org-agenda-menu): Add effort setting commands to menu.
1818         (org-agenda-set-property, org-agenda-set-effort): New functions.
1820         * org-latex.el (org-export-latex-tables): Fix
1821         `org-table-last-alignment' and `org-table-last-column-widths' if
1822         the first column has been removed.
1824 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1826         * org.el (org-remove-timestamp-with-keyword): Only remove in
1827         entry, not in subtree.
1829         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1830         emacs lisp.
1832         * org.el (org-open-at-point): When on headline, offer all strings
1833         in entry.
1835         * org-remember.el (org-remember-templates): Documentation fix.
1837         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1838         `org-get-last-sibling' instead of the outline versions of these
1839         functions.
1840         (org-get-last-sibling): New function.
1841         (org-refile): Use `org-get-next-sibling' instead of the outline
1842         version of this function.
1843         (org-clean-visibility-after-subtree-move): Use
1844         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1845         outline versions of these functions.
1847 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1849         * org-agenda.el (org-prepare-agenda): When creating a new frame
1850         for the agenda, make the window dedicated.
1852         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1854         * org-table.el (org-table-align): Change the order of reinsertion
1855         and deletion, to avoid problems with overlays following the table.
1857         * org.el (org-parse-time-string): Better error message.
1858         (org-show-subtree): Use org-end-of-subtree.
1860         * org-macs.el (org-goto-line): New defsubst.
1862         * org.el (org-open-file, org-change-tag-in-region)
1863         (org-fast-tag-show-exit): Don't use `goto-line'.
1865         * org-table.el (org-table-align, org-table-insert-column)
1866         (org-table-delete-column, org-table-move-column)
1867         (org-table-sort-lines, org-table-copy-region)
1868         (org-table-paste-rectangle, org-table-wrap-region)
1869         (org-table-get-specials, org-table-rotate-recalc-marks)
1870         (org-table-get-range, org-table-recalculate)
1871         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1872         (org-table-show-reference, org-table-highlight-rectangle): Don't
1873         use `goto-line'.
1875         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1876         (org-edit-src-exit): Don't use `goto-line'.
1878         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1880         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1881         Don't use `goto-line'.
1883         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1885         * org-colview.el (org-columns, org-columns-redo)
1886         (org-agenda-columns): Don't use `goto-line'.
1888         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1889         use `goto-line'.
1891         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1892         (org-agenda-add-entry-text-maxlines): Improve docstring.
1893         (org-agenda-start-with-entry-text-mode): New option.
1894         (org-agenda-entry-text-maxlines): New option.
1895         (org-agenda-entry-text-mode): New variable.
1896         (org-agenda-mode): Set initial value of
1897         `org-agenda-entry-text-mode'.
1898         (org-agenda-mode-map): Add the `E' key.
1899         (org-agenda-menu): Add entry text mode to the menu.
1900         (org-agenda-get-some-entry-text): Fix line count bug.
1901         (org-finalize-agenda): Apply entry text mode if appropriate.
1902         (org-agenda-entry-text-show-here): New function.
1903         (org-agenda-entry-text-show): New function.
1904         (org-agenda-entry-text-hide): New function.
1905         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1906         key menu.
1907         (org-agenda-entry-text-mode): New command.
1908         (org-agenda-set-mode-name): Add entry text mode to the mode line
1909         string.
1910         (org-agenda-undo, org-agenda-get-restriction-and-command)
1911         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1912         `goto-line'.
1914 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1916         * org-clock.el (org-notify): Bugfix.
1918 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1920         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1921         check for after-string.
1923         * org-gnus.el (org-gnus-store-link): Simplify.
1925         * org.el (org-latex-regexps): Don't add extra empty lines for
1926         display formulas.
1928 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1930         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1931         (org-agenda-add-entry-text): Use
1932         `org-agenda-get-some-entry-text'.
1934         * org.el (org-cycle-separator-lines): Update docstring.
1935         (org-cycle-show-empty-lines): Handle negative values for
1936         `org-cycle-show-empty-lines'.
1938         * org-exp.el (org-export-protect-sub-super): New function.
1939         (org-export-normalize-links): Protect the url of plain links from
1940         supscript and superscript processing.
1942         * org-remember.el (org-remember-escaped-%): New function.
1943         (org-remember-apply-template): Use `org-remember-escaped-%' to
1944         detect escaped % signs.
1946 2009-08-23  Bastien Guerry  <bzg@altern.org>
1948         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1949         sound when showing the notification.
1951         * org-clock.el (org-notify): New function.
1952         (org-clock-notify-once-if-expired): Use `org-notify'.
1954         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1955         and `gnus-article-mode' separately.
1956         (gnus-summary-article-header): Fix the declare-function.
1958 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1960         * org-exp.el (org-export-format-source-code-or-example): Translate
1961         language.
1963         * org-src.el (org-src-lang-modes): New variable
1964         (org-edit-src-code): Translate language.
1966         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1967         the new structure of the `org-export-latex-listings-langs'
1968         variable.
1970         * org-latex.el (org-export-latex-listings-langs): Change structure
1971         of the variable from plist to alist.
1973 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1975         * org.el (org-in-commented-line): New function.
1977 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1979         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1981 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1983         * org.el (org-flag-drawer): More useful error.
1985 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1987         * org-remember.el (org-remember-apply-template): Use
1988         org-icompleting-read.
1990         * org-publish.el (org-publish): Use org-icompleting-read.
1992         * org-colview.el (org-columns-edit-value, org-columns-new)
1993         (org-insert-columns-dblock): Use org-icompleting-read.
1995         * org-colview-xemacs.el (org-columns-edit-value)
1996         (org-columns-new, org-insert-columns-dblock): Use
1997         org-icompleting-read.
1999         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2000         org-icompleting-read.
2002 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2004         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2005         (org-version): Return the version text.
2006         (org-org-menu): Add a menu entry for the new bug reporter.
2007         (org-submit-bug-report): New command.
2009         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2010         docstring.
2012         * org.el (org-emphasis-regexp-components): Add "`" to set of
2013         pre-emphasis characters.
2015         * org-latex.el (org-export-latex-classes): Always include the soul
2016         package.
2017         (org-export-latex-emphasis-alist): Use \st for strikethough.
2019         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2020         `indent-code-rigidly' to indent.
2022         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2023         properties only if MATCH really is a string.
2025 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2027         * org-latex.el (org-export-latex-packages-alist): Fix
2028         customization type.
2030         * org.el (org-create-formula-image): Also use
2031         `org-export-latex-packages-alist'.
2033         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2034         (org-export-as-html): Format footnotes correctly.
2036 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2038         * org.el (org-fast-tag-selection): Avoid text properties on tags
2039         in the alist.
2041         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2042         text properties on the match element.
2044 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2046         * org.el (org-set-regexps-and-options): Make sure the list of done
2047         keywords is not invalid.
2049         * org-exp.el (org-export-interpolate-newlines): New function.
2051 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2053         * org.el (org-format-latex): Avoid nested overlays.
2055         * org-latex.el (org-export-latex-listings-langs): Add a few more
2056         languages.
2058         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2059         ignore newlines and space before the first macro argument.
2061         * org-latex.el (org-export-latex-tables): Remove save-excursion
2062         around `org-table-align'.
2064 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2066         * org.el (org-export-html-special-string-regexps): Definition
2067         moved into org.el
2069         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2070         in macro calls.
2072 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2074         * org-latex.el (org-export-latex-listings)
2075         (org-export-latex-listings-langs): New options.
2077         * org-exp.el (org-export-format-source-code-or-example): Use
2078         listing package if requested by the user.
2080 2009-08-08  Bastien Guerry  <bzg@altern.org>
2082         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2083         command before actually switching to a buffer.
2085 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2087         * org-exp.el (org-get-file-contents): Only quote org lines when
2088         the markup is src or example.
2090         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2091         New option
2092         (org-agenda-get-day-entries): Remember deadline results and pass
2093         them on into the function getting the scheduling information.
2094         (org-agenda-get-scheduled): Accept deadline results as parameters
2095         and maybe skip some entries.
2096         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2098         * org.el (org-insert-heading): When respecting content, do not
2099         convert current line to headline.
2101         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2102         cheeeeeck the hd marker
2103         (org-clock-in): Also set the hd marker.
2104         (org-clock-out): Also set the hd marker.
2105         (org-clock-cancel): Reset markers.
2107         * org.el (org-clock-hd-marker): New marker.
2109         * org-faces.el (org-agenda-clocking): New face.
2111         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2112         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2114         * org.el (org-modules): Add org-track.el.
2116         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2117         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2118         `org-agenda-bulk-marked-p'.
2119         (org-agenda-bulk-toggle): New command.
2121 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2123         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2124         not just the body.
2126         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2127         messages.
2129 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2131         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2132         before gnuplot can read it.
2134 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2136         * org-latex.el (org-export-latex-first-lines): Fix bug with
2137         finding the end of the first lines.
2139         * org.el (org-create-formula-image): Remove the -E option for
2140         dvipng.
2142         * org-exp.el (org-default-export-plist): Respect #+BIND.
2143         (org-export-confirm-letbind): New function.
2145         * org.el (org-paste-subtree): Test the kill ring entry if it is
2146         going to be used.
2147         (org-copy-subtree): Use `org-forward-same-level'.
2148         (org-forward-same-level): Respect the `invisibe-ok' arg for
2149         back-to-heading.
2151 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2153         * org.el (org-table-map-tables): Make sure cursor is back at table
2154         beginning after funcall.
2156         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2157         handled before children, and do not error if an entry is not
2158         found, probably because it hase been remove when the parent was
2159         archived or refiled.
2161         * org.el (org-ido-completing-read): Accept straight lists for
2162         completion as well as alists.
2164         * org-html.el (org-export-as-html): Fix parenthesis error in
2165         footnore code.
2167         * org-timer.el (org-timer-cancel-timers): Renamed from
2168         `org-timer-cancel-timers'.
2170         * org.el (org-cycle-internal-local): Fix problem with finding next
2171         invisible line.
2173 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2175         * org-list.el (org-list-send-list): Call
2176         `org-list-goto-true-beginning' instead of
2177         `org-list-find-true-beginning', which does not exist.
2179         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2180         (org-timer-set-timer): Do not assign to heading.
2182         * org-id.el (org-id-open): Quote function name.
2184         * org-macs.el (org-unmodified): Turn off recording undo
2185         information while running inside the macro.
2187         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2188         variable.
2189         (org-indent-mode): Remember and restore value of
2190         org-hide-leading-stars before `org-indent-mode'.
2192         * org-table.el (org-table-export): Also work in file-less
2193         buffers.
2195         * org.el (org-startup-indented): New option.
2196         (org-startup-options): Add new options indent and noindent.
2197         (org-unfontify-region): Remove line-prefix and wrap-prefix
2198         properties.
2199         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2200         hooks.
2201         (org-promote, org-demote): Run the new hooks.
2203         * org-table.el (org-table-align): Replace leading \n as well.
2205         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2206         and `line-wrap' text properties.
2208         * org-compat.el (org-kill-new): New function.
2210         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2211         `line-wrap' text properties.
2213         * org-indent.el: New file.
2215 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2217         * org.el (org-provide-todo-statistics): Tweak docstring.
2219         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2221 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2223         * org-exp.el (org-export-as-org): Insert the "-source" string
2224         before the extension.
2226         * org.el (org-read-date): Make sure the calendar is in the current
2227         frame.
2228         (org-set-emph-re): Remove the ? from the post-match.
2229         (org-emphasis-regexp-components): Add backslash to the
2230         postmatch class.
2231         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2232         optional so that also lines at the end of the buffers will still
2233         be matched as headlines.
2235         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2236         Variable made obsolete.
2237         (org-table-relative-ref-may-cross-hline): New option.
2238         (org-table-find-row-type): Honow the new option
2239         `org-table-relative-ref-may-cross-hline'.
2241 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2243         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2244         on single field if no active region.
2246 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2248         * org-latex.el (org-export-latex-make-header): Only insert title
2249         if one is defined.
2251         * org.el (org-make-options-regexp): Allow empty values.
2253         * org-html.el (org-export-as-html): Move hrule detection to after
2254         plain list handling.
2256 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2258         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2260 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2262         * org.el (org-cycle-internal-local): Improved version of finding
2263         next visible line.
2264         (org-cycle-hide-drawers): Only hide drawers if this is really
2265         necessary.
2266         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2267         org-version of this function in Org-mode.  We use advice to
2268         implement this change, so that future changes to this function in
2269         outline.el wil be handled properly.
2270         (org-forward-same-level, org-backward-same-level): New commands.
2272 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2274         * org.el (org-remove-empty-overlays-at)
2275         (org-clean-visibility-after-subtree-move): New functons.
2276         (org-move-subtree-down): Simplify cleanup of display.
2278 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2280         * org-mac-message.el (org-mac-message-get-links): Improve
2281         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2282         "s".  Fix the return value.
2283         (org-mac-message-insert-flagged): Simplify.
2285         * org.el (org-refile-get-location): Tamper with refile history o
2286         that history contains compete matches instead of the entered
2287         string.
2289 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2291         * org.el (org-store-link): Never store a link to an inline task.
2293         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2295         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2296         inline tasks when positioning footnotes.
2298         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2299         function.
2301         * org.el (org-refile): Remove the END line when archiving an
2302         inline task that does have an END line.
2304         * org-archive.el (org-archive-subtree): Remove the END line when
2305         archiving an inline task that does have an END line.
2307         * org-macs.el (org-with-limited-levels): New macro.
2308         (org-get-limited-outline-regexp): New function.
2310         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2311         that did not enumerate first line.
2312         (org-export-mark-radio-links): Skip matches in links.
2314 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2316         * org.el (org-activate-plain-links): Make single-match.
2317         (org-adapt-indentation): Fix docstring.
2319         * org-macs.el (org-unmodified): Turn of modification hooks while
2320         running this macro.
2322 2009-08-02  Bastien Guerry  <bzg@altern.org>
2324         * org.el (org-adapt-indentation): Slightly improve the docstring.
2325         (org-occur): Sends an error when the user inputs an empty string.
2326         (org-priority): Bugfix: the tag alignement should happen within
2327         save-excursion.
2329 2009-07-31  Bastien Guerry  <bzg@altern.org>
2331         * org.el (org-make-link-regexps): Don't exclude parentheses from
2332         `org-plain-link-re'
2333         (org-cycle-internal-local): When locally cycling, switch directly
2334         from CHILDREN to FOLDED if there is no subtree
2335         (org-cycle): Update the docstring to document the new behavior of
2336         `org-cycle-internal-local'.
2338 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2340         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2341         an abbreviated format for days.
2343 2009-07-27  Bastien Guerry  <bzg@altern.org>
2345         * org-protocol.el (org-protocol-default-template-key): New
2346         option.
2348         * org.el (org-refile): Bugfix: save-excursion before reading the
2349         refile target, otherwise cursor moves might confuse `org-refile'.
2351         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2352         footnote reference before the footnote itself.
2354         * org.el (org-toggle-heading): Bugfix: correctly convert list
2355         items before the first headline.
2357         * org-html.el (org-export-html-footnote-format): New option for
2358         formatting the footnote reference.
2359         (org-export-as-html): Use the new option.
2361         * org.el (org-provide-todo-statistics): Allow a list of TODO
2362         keywords to compute statistics against headlines containing a
2363         keyword from this list.
2364         (org-update-parent-todo-statistics): Possibly use the new allowed
2365         value of `org-provide-todo-statistics'.
2367 2009-07-26  Bastien Guerry  <bzg@altern.org>
2369         * org-timer.el: Add autoload cookie.
2371         * org.el (org-occur-link-in-agenda-files): New function.
2373         * org-timer.el (org-timer-last-timer): New variable.
2375         * org-agenda.el (org-agenda-mode-map): New key for
2376         org-timer-set-timer called from the agenda.
2378         * org.el (org-mode-map): New key for org-timer-set-timer.
2380         * org-timer.el (org-timer-reset-timers)
2381         (org-timer-show-remaining-time, org-timer-set-timer): New
2382         functions.
2384         * org-clock.el (org-show-notification): Update the docstring.
2386         * org.el (org-provide-todo-statistics): Allow new value
2387         'all-headlines for this option, which includes entries with no
2388         TODO keywords in the todo statistics.
2389         (org-update-parent-todo-statistics): Possibly use the new
2390         'all-headline value from `org-provide-todo-statistics'.
2392 2009-07-25  Bastien Guerry  <bzg@altern.org>
2394         * org-clock.el (org-dblock-write:clocktable): Add a new option
2395         :timestamp which allows display of timestamps in clock reports.
2397         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2398         list to a subtree, preserving the structure of the list.
2399         (org-set-emph-re): Make the last element optional in the regexp.
2400         This regexp now matches an emphasized string at the end of a line.
2402         * org-list.el (org-list-goto-true-beginning)
2403         (org-list-make-subtree, org-list-make-subtrees): New functions.
2405         * org.el (org-eval-in-calendar): Select the right frame.
2406         (org-save-frame-excursion): Remove this macro.
2408 2009-07-24  Bastien Guerry  <bzg@altern.org>
2410         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2411         trying to find the beginning of a list.
2413         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2414         When present, tell org-get-file-contents not to protect org-like
2415         lines.
2417         * org-id.el (org-id-uuid-program): New option to set the name of
2418         the uuidgen program.
2419         (org-id-method): Use `org-id-uuid-program'.
2420         (org-id-new): Use `org-id-uuid-program'.
2422 2009-07-23  Bastien Guerry  <bzg@altern.org>
2424         * org-exp.el (org-export-number-lines): Allow whitespace in code
2425         references.  Allow the -r switch to remove the references in the
2426         source code even when the lines are not numbered: the labels can
2427         be explicit enough.
2429         * org.el (org-fontify-whole-heading-line): New option.
2430         (org-set-font-lock-defaults): Use the new option.
2432         * org-clock.el (org-show-notification-handler): New option.
2433         (org-show-notification): Use the new option.
2435 2009-07-21  Bastien Guerry  <bzg@altern.org>
2437         * org.el (org-eval-in-calendar): Fix a bug about calendar
2438         navigation when `calendar-setup' value is 'calendar-only.
2440 2009-07-19  Bastien Guerry  <bzg@altern.org>
2442         * org.el (orgstruct++-mode): Fix typo in docstring.
2443         (org-insert-link): Clean up: (or (...)) => (...)
2444         (org-insert-link): Use TAB for stored links completion.
2446 2009-07-18  Bastien Guerry  <bzg@altern.org>
2448         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2449         building the list of targets.
2451         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2452         option.
2453         (org-remember-handler): Use the new option.
2455 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2457         * org.el (org-tags-sort-function): New option for sorting tags.
2458         (org-set-tags): Use the new option to sort tags.
2460         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2461         premature deletion of the data when using org-plot in a script.
2463 2009-07-17  Bastien Guerry  <bzg@altern.org>
2465         * org-clock.el (org-clock-in-prepare-hook): New hook.
2466         (org-clock-in): Use this new hook.
2468 2009-07-16  Bastien Guerry  <bzg@altern.org>
2470         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2471         'reversed for this option to the "true line boundary first"
2472         behavior.
2473         (org-tags-match-list-sublevels): Document the 'indented value for
2474         this variable.
2476         * org-latex.el (org-export-latex-first-lines): Fix problem with
2477         publishing the region.
2479         * org-exp.el (org-export-format-source-code-or-example): Fix
2480         bad line numbering when exporting examples in HTML.
2482         * org-colview.el (org-format-time-period): Formats a time in
2483         fractional days as days, hours, mins, seconds.
2484         (org-columns-display-here): Add special handling for SINCE and
2485         SINCE_IA to format for display.
2487 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2489         * org.el (org-tags-sort-function): Add custom declaration for tags
2490         sorting function.
2491         (org-set-tags): Sort tags if org-tags-sort-function is set
2493 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2495         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2497         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2499         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2500         option.
2502 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2504         * org-publish.el (org-publish-remove-all-timestamps): New function.
2505         (org-publish-all): Remove all timestamp files if `org-publish-all'
2506         is called with a prefix argument.
2508         * org-list.el (org-indent-item): Fix typo.
2509         (org-item-indent-positions): Normalize ordered bullet.
2511         * org-html.el (org-export-html-home/up-format): New option.
2512         (org-export-as-html): Insert the up and HOME links.
2514 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2516         * org-html.el (org-export-as-html): Insert the title into the
2517         option plist.
2518         (org-export-html-insert-plist-item): New function.
2519         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2521         * org-macs.el (org-set-local): Make a local variable, do not make
2522         the variable buffer-local!
2524         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2526         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2528         * org-docbook.el (org-export-as-docbook): Call
2529         `org-install-letbind'.
2531         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2533         * org-exp.el (org-infile-export-plist): Read BIND lines.
2534         (org-install-letbind): New function.
2535         (org-export-as-org, org-export-preprocess-string): Call
2536         `org-install-letbind'.
2538         * org-src.el (org-edit-src-exit): Untabify the example before
2539         returning to Org.
2541         * org-list.el (org-list-demote-modify-bullet): New option.
2542         (org-first-list-item-p): Save point.
2543         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2544         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2545         (org-item-indent-positions): Return bullet types along with
2546         indentation.
2548 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2550         * org.el (org-show-entry): Hide drawers.
2552 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2554         * org-footnote.el (org-footnote-auto-adjust): New option.
2555         (org-footnote-auto-adjust-maybe): New function.
2556         (org-footnote-new, org-footnote-delete): Call
2557         `org-footnote-auto-adjust-maybe'.
2559         * org.el (org-startup-options): Add new footnote-related
2560         keywords.
2562         * org-publish.el (org-publish-timestamp-filename): Additional
2563         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2564         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2565         TRUE-PUB-DIR.  Pass them through to
2566         `org-publish-timestamp-filename'.
2567         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2568         PUB-FUNC, which are included in the hash.
2569         (org-publish-file): Delay timestamp test until the publishing
2570         function is known.
2572 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2574         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2575         setting the deadline.
2577         * org.el (org-read-date-final-answer): New variable.
2578         (org-read-date): Store the final answer string, including the date
2579         from the calendar, for reuse by agenda bulk commands.
2581         * org-publish.el (org-publish-attachment): Fix publishing of
2582         attachments.
2584         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2585         quotation makrs in parenthesis.
2586         (org-remove-initial-hash): New function.
2587         (org-export-latex-preprocess): Fix bug with infinite loop if
2588         environment is not properly closed.
2590         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2591         when indented.
2593         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2594         highlight also when indented.
2596 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2598         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2599         (org-footnote-action): Offer renumbering.
2601         * org.el (org-cycle): Honor the `integrate' value of
2602         org-cycle-include-plain-lists'.
2604         * org-list.el (org-cycle-include-plain-lists): New allowed value
2605         `internal'.  Improve the docstring.
2607         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2608         regexp to work better with LaTeX commands.
2610 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2612         * org-feed.el (org-feed-update): fix problem with non-existing
2613         buffer.
2614         (org-feed-skip-http-headers): New function.
2615         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2616         (org-feed-get-feed): Fix command line arguments for curl.
2618 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2620         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2621         and eps extensions.
2623 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2625         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2626         loaded.
2628         * org.el (org-map-entries): No longer force
2629         `org-tags-match-list-sublevels' to t during a todo-only tags
2630         search.
2632 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2634         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2635         environment.
2636         (org-export-latex-subcontent): Handle user-defined environment.
2638         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2639         the View dispatcher.
2641         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2642         `make-overlay'.
2644         * org-latex.el (org-export-as-pdf): Protect match data during call
2645         to shell-quote-argument.
2647         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2648         (org-agenda-view-mode-dispatch): New function.
2650 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2652         * org-agenda.el (org-agenda-mode): Reset list of marks.
2653         (org-agenda-mode-map): Define new keys for refile and bulk action.
2654         (org-agenda-menu): Add menu itesm for refile and bulk action.
2655         (org-agenda-refile): New function.
2656         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2657         (org-agenda-marked-entries): New variable.
2658         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2659         (org-agenda-remove-all-bulk-action-marks)
2660         (org-agenda-bulk-action): New functions/commands.
2662 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2664         * org-exp.el (org-get-file-contents): Protect org-like lines in
2665         included files.
2666         (org-export-format-source-code-or-example): Remove newlines.
2668         * org-latex.el (org-export-latex-links): Check for no-description
2669         marking.
2671         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2672         argument separator back to comma.
2673         (org-export-normalize-links): Mark links without description.
2675 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2677         * org-exp.el (org-infile-export-plist): Fix bug in macro
2678         processing.
2680         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2681         out.
2682         (org-agenda-highlight-todo): Fix bug with highlighting.
2684 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2686         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2687         new alignment strings.
2689         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2690         command list.
2691         (org-table-align): Check for forced align type.
2693         * org.el (org-self-insert-command): Add yas/expand to command
2694         list.
2696         * org-clock.el (org-clock-in-hook): New hook.
2697         (org-clock-in): Run `org-clock-in-hook.
2698         (org-clock-out-hook): New hook.
2699         (org-clock-out): Run `org-clock-out-hook.
2700         (org-clock-cancel-hook): New hook.
2701         (org-clock-cancel): Run `org-clock-cancel-hook.
2702         (org-clock-goto-hook): New hook.
2703         (org-clock-goto): Run `org-clock-goto-hook.
2705 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2707         * org.el (org-store-link): Better default description for link to
2708         Org-mode headline.
2710         * org-exp.el (org-export-generic): Autoload the generic exporter
2711         function.
2712         (org-export): Implement the `g' key for the generic exporter.
2714 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2716         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2717         and for zbacktab'.
2719         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2721         * org-exp.el (org-infile-export-plist): Get macros also from
2722         #+SETUPFILE.
2724 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2726         * org-colview.el (org-columns-capture-view): Protect vertical bars
2727         in column values.
2728         (org-columns-capture-view): Exclude comment and archived trees.
2730         * org-colview-xemacs.el (org-columns-capture-view): Protect
2731         vertical bars in column values.
2732         (org-columns-capture-view): Exclude comment and archived trees.
2734         * org.el (org-quote-vert): New function.
2736         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2738         * org-exp.el (org-export-format-source-code-or-example): Use
2739         `org-export-latex-verbatim-wrap'.
2741         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2742         time stamps.
2744         * org-html.el (org-export-table-row-tags): New option.
2745         (org-format-org-table-html): Rename `nlines' to `nline', use new
2746         option.
2749 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2751         * org-exp-blocks.el: Declare functions and variables.
2753         * org-remember.el (org-remember-templates): Allow the headline
2754         element to be a function.
2755         (org-remember-apply-template): If the headline is a function, call
2756         it to get the true function.
2758         * org-clock.el (org-clock-menu): New function.
2759         (org-clock-update-mode-line): Update help string.
2760         (org-clock-modify-effort-estimate): New function.
2761         (org-clock-mark-default-task): New function.
2763         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2764         minutes as input.
2765         (org-org-menu): Add new clocking stuff.
2766         (org-clock-is-active): New function.
2768 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2770         * org.el (org-open-non-existing-files): Improve docstring.
2772 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2774         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2775         option.
2776         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2778         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2780         * org-list.el (org-get-checkbox-statistics-face): Use the new
2781         faces.
2783         * org-faces.el (org-checkbox-statistics-todo)
2784         (org-checkbox-statistics-done): New faces.
2786 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2788         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2789         (org-edit-src-exit): Better cursor positioning when returning from
2790         editing.
2792         * org-latex.el (org-export-latex-use-verb): New variable.
2793         (org-export-latex-emph-format): Prefer \texttt over \verb when
2794         org-export-latex-use-verb is set.
2796 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2798         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2799         at normal indentation.
2801         * org-html.el (org-export-html-close-lists-maybe): Also look at
2802         normal indentation.
2804         * org-remember.el (org-remember-handler): Abort remember if the
2805         buffer is empty.
2807         * org-src.el (org-edit-src-content-indentation): New option.
2808         (org-edit-src-exit): Apply extra indentation.
2810         * org-exp.el (org-export-format-source-code-or-example): Run
2811         `org-src-mode-hook'.
2813         * org-src.el (org-src-mode-hook): New variable.
2814         (org-edit-src-code): Run `org-src-mode-hook'.
2816 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2818         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2820         * org-src.el (org-edit-src-get-indentation): New function.
2821         (org-edit-src-code): Base indentation on the begin line.
2823 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2825         * org-gnus.el (org-gnus-store-link): Require message.el in
2826         org-gnus-store-link.
2828 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2830         * org-src.el: New file, split out of org.el
2832         * org-docbook.el (org-export-as-docbook): Better indentation
2833         treatment.
2835         * org-macs.el (org-replace-match-keep-properties): New function.
2837         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2838         preprocessing of center and quote and verse blocks.
2840         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2841         (org-export-as-docbook): Close lists when original indentation
2842         mandates it.
2844         * org-html.el (org-export-html-close-lists-maybe): New function.
2845         (org-export-as-html): Close lists when original indentation
2846         mandates it.
2848         * org-list.el (org-list-end): Respect the stored "original"
2849         indentation when determining the end of the list.
2851         * org-exp.el (org-export-replace-src-segments-and-examples):
2852         Remember indentation correctly.
2854 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2856         * org-clock.el (org-clock-update-mode-line): Apply face
2857         org-mode-line-clock.
2859         * org-faces.el (org-mode-line-clock): New face.
2861 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2863         * org-gnus.el (org-gnus-store-link): Fix bug where
2864         `org-gnus-store-link' used wrong subject when called in an article
2865         buffer.  Patch provided by fengli AT gmail DOT com.
2867 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2869         * org-exp.el (org-export-format-source-code-or-example): Remember
2870         the original indentation of source code snippets and examples.
2872         * org-latex.el (org-export-as-latex): Relocate the table of
2873         contents.
2875         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2877         * org-agenda.el (org-run-agenda-series): Scope global options also
2878         when creating the agenda buffer.
2880 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2882         * org.el (org-adapt-indentation): Improve documentation.
2883         (org-insert-property-drawer): Respect org-adapt-indentation when
2884         inserting the drawer.
2885         (org-remove-flyspell-overlays-in): New function.
2886         (org-do-emphasis-faces, org-activate-plain-links)
2887         (org-activate-code, org-fontify-meta-lines-and-blocks)
2888         (org-activate-angle-links, org-activate-footnote-links)
2889         (org-activate-bracket-links, org-activate-dates)
2890         (org-activate-target-links, org-activate-tags): Remove flyspell
2891         overlays.
2893 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2895         * org.el (org-edit-src-save): New function.
2897         * org-clock.el (org-clock-out-switch-to-state): New option.
2898         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2900         * org-compat.el (org-compatible-face): Improve macro.
2902         * org.el (org-global-properties-fixed): Add default for
2903         CLOCK_MODELINE_TOTAL.
2905         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2906         andd tend.
2907         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2908         org-clock-sum.
2909         (org-clock-get-sum-start): New function.
2911         * org.el (org-startup-options): New keywords blockhide and
2912         blockshow.
2913         (org-mode): Add new invisibility spec.
2914         (org-set-startup-visibility): Hide block on startup if so
2915         desired.
2916         (org-hide-block-startup): New option.
2917         (org-block-regexp): New constant.
2918         (org-hide-block-overlays): New variable.
2919         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2920         (org-show-block-all, org-hide-block-toggle-maybe)
2921         (org-hide-block-toggle): New functions.
2922         (org-edit-src-exit): Do not quote lines starting with # and no +
2923         behind it.
2924         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2925         entry.
2927 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2929         * org.el (org-buffer-property-keys): Add Effort property for
2930         completion.
2932 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2934         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2935         when retrieving total clocked time in the subtree.
2937         * org.el (org-quoting-blocks): New variable.
2939 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2941         * org-table.el (org-table-store-formulas)
2942         (org-table-get-stored-formulas, org-table-fix-formulas)
2943         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2944         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2946         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2947         indented #+TBLFM line.
2949         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2950         indented #+TBLFM line.
2952         * org-colview.el (org-dblock-write:columnview): Allow indented
2953         #+TBLFM line.
2955         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2956         indented #+TBLFM line.
2958         * org-clock.el (org-dblock-write:clocktable): Allow indented
2959         #+TBLFM line.
2961 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2963         * org-exp.el (org-export-format-source-code-or-example): Make
2964         editing indented blocks work correctly.
2966         * org.el (org-edit-src-nindent): New variable.
2967         (org-edit-src-code, org-edit-fixed-width-region)
2968         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2969         editing indented blocks work correctly.
2971 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2973         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2974         indented blocks.
2975         (org-export-format-source-code-or-example): Fix indentation of
2976         blocks.
2977         (org-export-remove-indentation): New function.
2978         (org-export-select-backend-specific-text): Allow backend-specific
2979         code to be indented.
2980         (org-export-mark-blockquote-verse-center): Allow markers to be
2981         indented.
2983         * org.el (org-fontify-meta-lines): New function.
2984         (org-set-font-lock-defaults): Call the new fontification
2985         function.
2987         * org-faces.el (org-meta-line): New face
2988         (org-block):  New face.
2990 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2992         * org.el (org-treat-insert-todo-heading-as-state-change)
2993         (org-treat-S-cursor-todo-selection-as-state-change): New
2994         variables.
2995         (org-insert-todo-heading): Honor
2996         `org-treat-insert-todo-heading-as-state-change'.
2997         (org-shiftright, org-shiftleft): Honor
2998         `org-treat-S-cursor-todo-selection-as-state-change'.
2999         (org-inhibit-logging): New variable.
3001 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3003         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3004         range for marker position checking.
3006         * org-latex.el (org-export-latex-first-lines): Fix bug when
3007         exporting a region.
3009 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3011         * org-exp.el (org-export-push-to-kill-ring): Protect using
3012         x-set-selection, because that does not always work.
3014         * org-agenda.el (org-agenda-list): Apply the new face
3015         `org-agenda-date-today'.
3017         * org-faces.el (org-agenda-date-today): New face.
3019 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3021         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3022         creating appointments.
3024         * org-latex.el (org-export-latex-low-levels): Fix customization
3025         type.
3027         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3028         priority commands.
3030         * org-agenda.el (org-agenda-priority): Disable priority commands.
3032         * org.el (org-enable-priority-commands): New option.
3034         * org-colview-xemacs.el (org-columns-compute)
3035         (org-columns-number-to-string): Fix problems with empty fields.
3037         * org-colview.el (org-columns-compute)
3038         (org-columns-number-to-string): Fix problems with empty fields.
3040         * org-exp.el (org-export-push-to-kill-ring): New function.
3041         (org-export-copy-to-kill-ring): New option.
3043         * org-latex.el (org-export-as-latex): Call
3044         `org-export-push-to-kill-ring'.
3046         * org-html.el (org-export-as-html): Call
3047         `org-export-push-to-kill-ring'.
3049         * org-docbook.el (org-export-as-docbook): Call
3050         `org-export-push-to-kill-ring'.
3052         * org-ascii.el (org-export-as-ascii): Call
3053         `org-export-push-to-kill-ring'.
3055         * org-exp.el (org-export-show-temporary-export-buffer): New
3056         option.
3058         * org-latex.el (org-export-as-latex): Use
3059         `org-export-show-temporary-export-buffer'.
3061         * org-html.el (org-export-as-html): Use
3062         `org-export-show-temporary-export-buffer'.
3064         * org-docbook.el (org-export-as-docbook): Use
3065         `org-export-show-temporary-export-buffer'.
3067         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3068         `org-export-show-temporary-export-buffer'.
3070         * org-exp.el (org-export-show-temporary-export-buffer): New
3071         option.
3072         (org-export-push-to-kill-ring): New function.
3074         * org-colview.el (org-columns-compile-map): New variable.
3075         (org-columns-new, org-columns-compute)
3076         (org-columns-number-to-string, org-columns-uncompile-format)
3077         (org-columns-compile-format): Implement new operators.
3079 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3081         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3083         * org-html.el (org-export-html-xml-declaration): New option.
3084         (org-export-as-html): Use `org-export-html-xml-declaration'.
3086         * org-list.el (org-update-checkbox-count): Make property
3087         dependent.
3089         * org.el (org-hierarchical-todo-statistics): New option.
3090         (org-update-parent-todo-statistics): Modified to handle recursive
3091         statistics.
3093 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3095         * org-publish.el (org-publish): Make this function behave
3096         correctly in interactive use when called with a prefix argument.
3098         * org.el (org-todo-statistics-hook): New hook.
3099         (org-update-parent-todo-statistics): Use new hook.
3100         (org-log-into-drawer): New function.
3101         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3102         determine if we should be logging into a drawer.
3103         (org-log-into-drawer): Update docstring.
3104         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3106         * org-list.el (org-checkbox-statistics-hook): New hook.
3107         (org-update-checkbox-count-maybe): Use new hook.
3109         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3110         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3111         to kill ring.
3113 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3115         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3116         a line.
3118 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3120         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3121         better bufer-generating mechanism.
3122         (org-edit-src-find-buffer): New function.
3124         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3125         archive tag, this is already done by `org-agenda-skip'.
3126         data while constructing lost of tags.
3128 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3130         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3131         as argument separator in macros.
3133         * org-html.el (org-export-as-html): Add xml declaration.
3135 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3137         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3138         (org-sort-entries-or-items): Run the new hook.
3139         (org-after-refile-insert-hook): New hook.
3140         (org-refile): Run `org-after-refile-insert-hook'.
3142         * org-agenda.el (org-agenda-get-progress): Never take time of day
3143         from headline when displaying progress.
3145         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3146         (org-export-as-latex): Force the correct regexp in the
3147         preprocessor buffer.
3148         (org-export-latex-set-initial-vars): Set
3149         `org-export-latex-complex-heading-re'.
3151         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3152         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3154 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3156         * org-latex.el (org-export-latex-tables-centered): New option.
3157         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3159         * org-exp.el (org-export-as-org): New command.
3160         (org-export-as-org): New command.
3162         * org-publish.el (org-publish-org-to-org): New function.
3164 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3166         * org.el (org-yank): Just call `org-yank-generic'.
3167         (org-yank-generic): New function, containing the formaer
3168         functionality of `org-yank'.
3170         * org-latex.el (org-export-latex-not-done-keywords)
3171         (org-export-latex-done-keywords): New variables.
3172         (org-export-latex-todo-keyword-markup): New option.
3173         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3174         (org-export-latex-keywords-maybe): Apply the TODO markup.
3176 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3178         * org-exp.el (org-infile-export-plist): Add more default macros.
3179         (org-export-preprocess-apply-macros): Process macro arguments.
3181 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3183         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3184         `unblocked'.
3185         (org-print-icalendar-entries): Respect the new value of
3186         `org-icalendar-include-todo'.
3188         * org.el (org-link-try-special-completion)
3189         (org-file-complete-link): New functions.
3190         (org-insert-link): Add special completion support for some link
3191         types.
3193         * org-bbdb.el (org-bbdb-complete-link): New function.
3195 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3197         * org-list.el (org-update-checkbox-count): Allow recursive
3198         statistics.
3199         (org-hierarchical-checkbox-statistics): New option.
3201         * org.el (org-cycle): Remove erraneous space character.
3203         * org-icalendar.el (org-icalendar-timezone): Initialize from
3204         environment.
3206         * org-html.el (org-format-org-table-html): Specify the scope.
3207         (org-format-table-table-html): Specify the scope.
3208         (org-export-table-header-tags): Prepare the scope parameter.
3210 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3212         * org-html.el
3213         (org-export-html-table-use-header-tags-for-first-column): New
3214         option.
3216         * org.el (org-autoload): Fix autoloading of ascii export
3217         functions.
3218         (org-modules): Add org-special-blocks.
3220 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3222         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3223         (org-ical-timezone): New option.
3225         * org-exp.el (org-export-get-coderef-format): Use the description
3226         is present.
3228         * org.el (org-sort-entries-or-items): Improve docstring, and make
3229         better implementation for time sorting.
3231 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3233         * org.el (org-edit-src-persistent-message): New option.
3234         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3235         option.
3237         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3238         patch.
3240         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3241         separate buffer instead of indirect buffer to edit source code.
3242         (org-edit-src-exit): Make this function work with the new setup.
3244         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3245         are properly fontified before shown in the selection menu.
3247         * org.el (org-fontify-like-in-org-mode): New function.
3249         * org-latex.el (org-export-latex-links): Use the property list to
3250         retrieve the default image attributes.
3252         * org-exp.el (org-export-plist-vars): Add a new option.
3254 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3256         * org-exp.el (org-export, org-export-visible): Support ASCII
3257         export to buffer
3258         (org-export-normalize-links): Do not protect the description if it
3259         is explicitly given.
3261         * org-ascii.el (org-export-as-ascii-to-buffer)
3262         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3263         commands.
3264         (org-export-as-ascii): Add all the same parameters that are also
3265         supported by the other export functions.
3267         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3268         org-checklist.el.
3269         (org-reset-checkbox-state-subtree): Call
3270         `org-reset-checkbox-state-subtree'.
3272         * org-remember.el (org-select-remember-template): For the
3273         selection of a valid template.
3275         * org-latex.el (org-export-region-as-latex): Supply the
3276         force-no-subtree argument.
3277         (org-export-as-latex): Provide better limits when exporting the
3278         first line.  When exporting to string, we still want the first
3279         lines.
3280         (org-export-latex-first-lines): New argument END, to force the end
3281         of the region.
3282         (org-export-region-as-latex): Use the property list.
3283         (org-export-as-latex):
3285         * org-colview-xemacs.el (org-columns-remove-overlays)
3286         (org-columns): Fix call to `local-variable-p'.
3288 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3290         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3291         (org-export-as-html): Run the new hook.
3293         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3294         (org-export-latex-preprocess): Run the new hook.
3296         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3297         (org-export-preprocess-string): Run the new hook.
3299 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3301         * org-macs.el (org-check-external-command): New defsubst.
3303         * org.el (org-mode-map): New key for reload.
3304         (org-format-latex): Better error message when external programs
3305         are not available.
3307         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3309         * org.el (org-sort-entries-or-items): Explicit sorting function
3310         for priorities, needed for XEmacs compatibility.
3312         * org-remember.el (org-remember-apply-template): Improve auto-save
3313         behavior.
3315 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3317         * org-latex.el (org-export-latex-preprocess): Also protect
3318         environments ending in a star.
3320         * org-list.el (org-at-item-p): Fix regular expression.
3322 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3324         * org.el (org-end-of-subtree): Improve speed.
3326         * org-agenda.el (org-agenda-get-timestamps)
3327         (org-agenda-get-progress, org-agenda-get-deadlines)
3328         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3329         in particular, wait as long as possible to collect the tags.
3330         (org-stuck-projects): Improve docstring.
3332         * org.el (org-store-link): No errors when getting custom id before
3333         first headline.
3334         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3336 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3338         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3340         * org-protocol.el: Remove dependency on url.el.
3341         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3342         dependency on url.el.
3344         * org-latex.el (org-export-as-pdf): Use
3345         `org-latex-to-pdf-process'.
3347 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3349         * org-latex.el (org-latex-to-pdf-process): New option.
3351         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3352         New option.
3353         (org-agenda-get-timestamps): Honor
3354         `org-agenda-skip-additional-timestamps-same-entry'.
3356         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3357         (org-clock-goto): Find recent task only if
3358         `org-clock-goto-may-find-recent-task' allows it.
3360         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3361         drawers, and drawers that are missing the :END: line.
3363 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3365         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3366         clock is running.
3368 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3370         * org.el (org-update-parent-todo-statistics): Check for
3371         STATISTICS_FROM property.
3373         * org-list.el (org-update-checkbox-count): Check for
3374         STATISTICS_FROM property.
3376         * org.el (org-tab-first-hook)
3377         (org-tab-after-check-for-table-hook)
3378         (org-tab-after-check-for-cycling-hook): New hooks.
3379         (org-cycle-internal-global, org-cycle-internal-local): New
3380         functions, split out from `org-cycle'.
3381         (org-cycle): Call the new hooks.
3383 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3385         * org-exp.el (org-export-preprocess-string): Reset the list of
3386         preferred targets for each run of the preprocessor.
3388         * org.el (org-refile-target-verify-function): Improve
3389         documentation.
3390         (org-get-refile-targets): Respect point being moved by the
3391         verification function.
3393         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3394         option.
3395         (org-export-latex-keywords): Use new option.
3397         * org.el (org-rear-nonsticky-at): New defsubst.
3398         (org-activate-plain-links, org-activate-angle-links)
3399         (org-activate-footnote-links, org-activate-bracket-links)
3400         (org-activate-dates, org-activate-target-links)
3401         (org-activate-tags): Place the rear-nonsticky properties at the
3402         correct location.
3404 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3406         * org-protocol.el (server-edit): Declare `server-edit'.
3407         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3408         functions.
3409         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3411         * org.el (org-default-properties): New default properteis for
3412         completion.
3414         * org-exp.el (org-export-add-subtree-options): Add new properties
3415         for subtree export.
3417         * org-docbook.el (org-export-docbook-keywords-markup)
3418         (org-export-docbook-timestamp-markup): New options.
3419         (org-export-docbook-protect-tags): New function.
3421 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3423         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3424         org-refile-target-verify-function for the duration of the command.
3426         * org.el (org-link-to-org-use-id): New possible value
3427         `create-if-interactive-and-no-custom-id'.
3428         (org-store-link): Use custom IDs.
3429         (org-link-search): Find custom ID properties from #link.
3430         (org-default-properties): Add CUSTOM_ID for property completion.
3431         (org-refile-target-verify-function): New option.
3432         (org-goto): Turn off org-refile-target-verify-function
3433         for the duration of the command.
3435 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3437         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3439         * org-exp.el (org-export-preferred-target-alist): New variable.
3440         (org-export-define-heading-targets): Find the new CUSTOM_ID
3441         property.
3442         (org-export-target-internal-links): Target the custom ids when
3443         possible.
3445         * org-latex.el (org-export-latex-preprocess): Better regexp for
3446         matching latex macros with arguments.
3448 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3450         * org-remember.el (org-remember-handler): Allow filing to non-org
3451         files.
3453 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3455         * org-feed.el (org-feed-alist): New keyword options.
3456         (org-feed-update): Use the new options.
3457         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3458         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3459         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3460         functions.
3462         * org-table.el (org-table-fix-formulas): Do not change references
3463         to remote tables.
3464         (org-table-get-remote-range): Convert standard coordinates to RC
3465         format.
3467         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3469 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3471         * org-compat.el (org-sha1-string): Function removed.
3473         * org.el (org-refile-allow-creating-parent-nodes): New option.
3474         (org-refile-get-location): New argument NEW-NODES.
3475         (org-refile): Call `org-refile-get-location' with the new
3476         argument.
3477         (org-refile-get-location): Arrange for adding a new child.
3478         (org-refile-new-child): New function.
3480         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3481         an additional span element.
3483         * org-clock.el: Fix a number of docstrings.
3484         (org-clock-find-position): New argument
3485         FIND-UNCLOSED to make the function find an unclosed clock in the
3486         entry.
3487         (org-clock-in): Call `org-clock-find-position' with the new
3488         argument if we might be resuming a clock.
3490 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3492         * org-latex.el (org-export-latex-display-custom-times): New variable.
3493         (org-export-latex-timestamp-markup): New option.
3494         (org-export-latex-set-initial-vars): Remember the local value of
3495         `org-display-custom-times'.
3496         (org-export-latex-content): Process time stamps.
3497         (org-export-latex-time-stamps): New function.
3499         * org-macs.el (org-maybe-intangible): Add intangible property
3500         again to invisible text.
3502 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3504         * org-exp.el (org-default-export-plist): Handle undefined
3505         variables.
3507 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3509         * org.el (org-sort-entries-or-items): Match TODO keywrds
3510         case-sensitively, when sorting.
3511         (org-priority): Do not match TODO keywords with wrong case.
3513 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3515         * org-feed.el (org-feed-update): Bind the variable
3516         `new-formatted'.
3518         * org-html.el (org-export-as-html): Start paragraphs after literal
3519         examples.
3521         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3522         literal examples.
3524 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3526         * org.el (org-todo): Honor the NOBLOCKING property.
3528         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3529         NOBLOCKING property.
3531         * org.el (org-scan-tags): Fix bug in tag scanner
3533 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3535         * org.el (org-modules): Mark obsolete packages.
3537         * org-html.el: New file, split out from org-exp.el.
3539         * org-icalendar.el: New file, split out from org-exp.el.
3541         * org-xoxo.el: New file, split out from org-exp.el.
3543         * org-ascii.el: New file, split out from org-exp.el.
3545 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3547         * org-compat.el (org-find-library-name): New function.
3549         * org.el (org-pre-cycle-hook): New hook.
3550         (org-cycle): Call the new hook in appropriate places.
3551         (org-reload): Only reload files that have been loaded before.
3553 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3555         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3556         after todo keyword.
3557         (org-todo): When changing TODO state, do matching
3558         case-sensitively.
3559         (org-map-continue-from): New variable.
3560         (org-scan-tags): Respect values in `org-map-continue-from'.
3561         (org-reload): Make XEmacs compatible.
3563 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3565         * org-protocol.el (org-protocol-flatten-greedy): New function.
3566         (org-protocol-flatten): New function.
3568         * org.el (org-open-link-from-string): Pass reference buffer to
3569         `org-open-at-point'.
3570         (org-open-at-point): New optional argument `reference-buffer'.
3572 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3574         * org.el (org-scan-tags): Make tag scan find headline in first
3575         line, 2nd attempt.
3576         (org-get-refile-targets): Add the naked file name.
3577         (org-refile): Store as top-level entry when only file name was
3578         given.
3580         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3582         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3583         Renamed from org-block-todo-from-children-or-siblings, and
3584         enhanced to look for the parent's status as well.
3586         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3587         (org-agenda-get-progress): Add first notes line to log entry if so
3588         desired.
3590 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3592         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3593         (org-agenda-cleanup-fancy-diary): Call the new hook.
3595         * org-remember.el (org-remember-apply-template): Take the default
3596         for the annotation from the :annotation property.
3598         * org-mac-message.el (org-mac-message-get-link): Remove the
3599         quotes.
3600         (org-mac-message-get-link): Return the result.
3602 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3604         * org.el (org-refile-get-location): Add file name only if not
3605         already included in outline path.
3607         * org-faces.el (org-n-level-faces): Fix customization type from
3608         number to integer.
3610         * org-exp.el (org-export-headline-levels): Fix customization type
3611         from number to integer.
3613         * org-agenda.el (org-agenda-confirm-kill)
3614         (org-agenda-custom-commands-local-options)
3615         (org-timeline-show-empty-dates, org-agenda-ndays)
3616         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3617         customization type from number to integer.
3619 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3621         * org-protocol.el: Declare some functions.
3623         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3624         postion before inserting modified headline.
3626         * org-agenda.el (org-agenda-compare-effort): Honor
3627         `org-sort-agenda-noeffort-is-high'.
3628         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3629         (org-agenda-compare-effort): Implement the "?" operator for
3630         finding entries without effort setting.
3632         * org.el (org-extract-attributes-from-string): New function.
3634         * org-exp.el (org-export-splice-attributes): New function.
3636 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3638         * org-mouse.el: XEmacs compatibility fixes
3640         * org-docbook.el (org-export-as-docbook): Process footnotes like
3641         normal text.
3643         * org.el (org-modules): Add org-inlinetasks.el
3644         (org-cycle): Implement limiting level on cycling.
3645         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3646         buffer.
3648         * org-inlinetask.el: New file.
3650         * org.el (org-emphasis-regexp-components): Allow braces in
3651         emphasis pre and post match.
3653         * org-footnote.el (org-footnote-normalize): When only dorting, do
3654         not insert inline notes at the end.
3656         * org-docbook.el (org-id-find-id-file): Add function declaration.
3658         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3660         * org-docbook.el: New file.
3662 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3664         * org.el (org-reftex-citation): New command.
3666 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3668         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3669         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3670         sorting options.
3671         (org-entries-lessp): Apply the new sorting option.
3673         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3674         blocker code, when an older sibling has children.
3676         * org-mac-message.el (org-mac-message-get-link): Improve getting
3677         links from multiple selected messages.
3679 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3681         * org-remember.el (org-remember-finalize): Do not set buffer file
3682         name to nil.
3683         (org-remember-handler): Mark buffer as unmodified.
3684         (org-remember-handler): Delete backup file and show message about
3685         remaining backup files.
3686         (org-remember-auto-remove-backup-files): New option.
3688         * org.el (org-store-link): Use buffer name as link description in
3689         w3-mode buffers.
3690         (org-ido-switchb): Fix argument bug for completion.
3692         * org-remember.el (org-remember-apply-template): Set local
3693         variable `auto-save-visited-file-name' instead of global one.
3695 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3697         * org-feed.el: Re-write.
3699         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3700         (org-agenda-get-todos): Mark file tags as inherited.
3701         (org-agenda-list): Always search diary lines for a time.
3703 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3705         * org-feed.el (org-feed-assume-stable): New option.
3706         (org-feed-before-adding-hook): New hook.
3708         * org-exp.el (org-export-as-html): Close local lists depending on
3709         indentation, also when starting a table.
3711         * org-remember.el (org-remember-backup-directory)
3712         (org-remember-backup-name): New internal variable.
3714 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3716         * org-clock.el (org-clock-out-if-current): Make buffer detection
3717         work in indirect buffers as well.
3719         * org.el (org-emphasis-regexp-components): Add the exxclamation
3720         mark to the post-emphasis characters.
3722 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3724         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3725         (org-read-date): Run the new hook.
3727         * org-mac-message.el (org-mac-flagged-mail): New group.
3728         (org-mac-mail-account): New variable.
3729         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3730         commands.
3732         * org-remember.el (org-remember-backup-directory): New variable.
3733         (org-remember-apply-template): Write file to backup directory.
3735 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3737         * org-mouse.el (org-mouse-todo-menu): New function.
3738         (org-mouse-todo-keywords): Function removed.
3739         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3741         * org-table.el (org-table-beginning-of-field)
3742         (org-table-end-of-field): New commands
3743         (org-table-previous-field, org-table-beginning-of-field): Better
3744         error messages.
3745         (orgtbl-setup): Include `M-a' and `M-e'.
3747         * org.el (org-backward-sentence, org-forward-sentence): New
3748         commands.
3750         * org-colview.el (org-colview-initial-truncate-line-value): New
3751         variable.
3752         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3753         (org-columns): Remember the value of `truncate-lines'.
3755         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3756         New variable.
3757         (org-columns-remove-overlays): Restore the value of
3758         `truncate-lines'.
3759         (org-columns): Remember the value of `truncate-lines'.
3761         * org.el (org-columns-skip-arrchived-trees): New option.
3763         * org-agenda.el (org-agenda-export-html-style): Define color for
3764         org-agenda-done face.
3765         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3766         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3768         * org.el (org-scan-tags): Use the new face.
3770         * org-faces.el (org-agenda-done): New face.
3772         * org.el (org-scan-tags): Test the value org
3773         `org-tags-match-list-sublevels'.
3774         (org-tags-match-list-sublevels): New allowed value: indented.
3776         * org-export-latex.el (org-export-latex-make-header): Apply macros
3777         in header.
3779         * org-exp.el (org-export-apply-macros-in-string): New function.
3781         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3782         with the definition of a checked box.
3784         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3786         * org-export-latex.el (org-export-latex-low-levels): More options
3787         for how to process lower levels in LaTeX.
3788         (org-export-latex-subcontent): Better treatment for lists as a
3789         means of publishing lower levels.
3791 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3793         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3795         * org-faces.el (org-checkbox): New face.
3797         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3798         fragement images if there is an export file.
3800 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3802         * org-agenda.el (org-stuck-projects): Document that the subtree of
3803         projects that are not stuck will now be searched for stuck
3804         sub-projects.
3805         (org-agenda-skip-entry-when-regexp-matches)
3806         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3807         (org-agenda-list-stuck-projects): Use
3808         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3810         * org-export-latex.el (org-export-latex-preprocess): Improve
3811         export of verses.
3813         * org-exp.el (org-export-as-html): Implement centering as a div
3814         rather than a paragraph.  Do a better job with line-end in verse
3815         environments.
3817 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3819         * org.el (org-open-at-point): Fix tags searches by mouse click.
3821 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3823         * org-export-latex.el (org-export-latex-preprocess): Implement the
3824         centering markup.
3826         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3827         from `org-export-mark-blockquote-and-verse'.
3828         (org-export-as-html): Implement the centering markup.
3830         * org-export-latex.el (org-export-latex-tables): Fix vertical
3831         lines in tables.
3833 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3835         * org.el (org-read-date-history): New variable.
3836         (org-read-date): Use new history variable.
3837         (org-toggle-heading): Fix bug when used before first headline.
3838         (org-store-log-note): Remove drawer if empty while note is
3839         aborted.
3840         (org-remove-empty-drawer-at): New function.
3841         (org-check-after-date): New command.
3842         (org-sparse-tree): New sparse tree command "a".
3844         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3846 2009-03-14  Bastien Guerry  <bzg@altern.org>
3848         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3849         column and a space, not only a column.
3851 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3853         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3854         defaults for verbose emphasis.
3855         (org-export-latex-emph-format): New function.
3856         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3858         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3859         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3860         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3861         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3862         commands.
3864         * org.el (org-timestamp-change): Move end-time along with start
3865         time.
3867 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3869         * org-exp.el (org-export-target-internal-links)
3870         (org-export-as-html): Protect links specified as #name.
3872 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3874         * org.el (org-clone-subtree-with-time-shift): New command.
3876         * org-export-latex.el (org-export-latex-special-chars)
3877         (org-export-latex-treat-sub-super-char): Fix subscript export.
3879         * org-exp.el (org-create-multibrace-regexp): Do not add
3880         backslashes to the class.
3882 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3884         * org-colview.el (org-columns-map): Better functions for moving up
3885         and down a row, even if `truncate-line' is nil.
3887         * org.el (org-insert-todo-heading): Make sure the keyword is
3888         inserted at the correct position.
3890         * org-publish.el (org-publish-project-alist)
3891         (org-publish-projects, org-publish-org-index): Change default anme
3892         for the index of file names to "sitemap.org".
3894         * org-export-latex.el (org-export-latex-tables): Use
3895         `org-split-string', for Emacs 21 compatibility.
3897 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3899         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3901 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3903         * org-exp.el (org-export-page-description)
3904         (org-export-page-keywords): New variables.
3905         (org-export-plist-vars): Add entries for :keywords and
3906         :description.
3907         (org-infile-export-plist): Parse for new keywords.
3908         (org-get-current-options): Add new keywords
3909         (org-export-as-html): Publish description and keywords.
3911         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3912         option.
3913         (org-agenda-add-entry-text): Honor
3914         `org-agenda-add-entry-text-descriptive-links'.
3916         * org-export-latex.el (org-export-latex-preprocess): Make all
3917         external preprocess functions use a PARAMETER arg.
3919         * org-exp.el (org-export-preprocess-string)
3920         (org-export-select-backend-specific-text)
3921         (org-export-format-source-code-or-example)
3922         (org-format-org-table-html): Support docbook export.
3923         (org-export-preprocess-string): Make all external preprocess
3924         functions use a PARAMETER arg.
3926 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3928         * org-exp.el (org-export-html-style-include-scripts): New option.
3929         (org-export-plist-vars): Add new option
3930         `org-export-html-style-include-scripts'.
3931         (org-export-as-html): Honor new option
3932         `org-export-html-style-include-scripts'.
3933         (org-export-html-scripts, org-export-html-style-default): Fix
3934         xml issues with the Safari browser.
3936 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3938         * org-publish.el (org-publish-attachment): Only copy file when the
3939         directories differ.
3941 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3943         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3944         for clocktable steps.
3946         * org.el (org-additional-option-like-keywords): Add two more
3947         keywords.
3949 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3951         * org-exp.el (org-export-format-source-code-or-example): Mark
3952         temporary buffer unmodified, so that it will be killed even if
3953         mode like message mode has decided to assign a file name.
3955         * org.el (org-scan-tags): Improve tag inheritance.
3956         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3957         case-sensitive.
3958         (org-scan-tags): Use the internal tags list instead of creating it
3959         from scratch.
3960         (org-trust-scanner-tags, org-scanner-tags): New variables.
3961         (org-scan-tags): Set `org-scanner-tags'.
3962         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3963         (org-map-entries): Document the possible speedup using scanner
3964         tags.
3966 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3968         * org.el (org-add-planning-info): Fix bug with looking for keyword
3969         only at column 0.
3971         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3972         option for tags filter preset.
3973         (org-prepare-agenda): Store filter preset as a property on the
3974         filter variable.
3975         (org-finalize-agenda): Call the filter, if there is a preset.
3976         (org-agenda-filter-by-tag): Filter again after clearing the
3977         filter, when there still is a preset.
3978         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3979         Include the preset filter.
3980         (org-agenda-redo): Apply the filter again, also the preset filter.
3982         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3984         * org.el (org-uuidgen-p): New funtion.
3986         * org-agenda.el (org-agenda-fontify-priorities): New default value
3987         `cookies'.
3988         (org-agenda-fontify-priorities): Renamed from
3989         org-fontify-priorities.
3991         * org.el (org-set-font-lock-defaults): Call
3992         `org-font-lock-add-priority-faces'.
3993         (org-font-lock-add-priority-faces): New function.
3995         * org-faces.el: (org-set-tag-faces): New option.
3996         (org-priority-faces): New variable.
3998         * org-exp.el (org-export-as-html): Add a "content" div around the
3999         entire content of the body tag.
4000         (org-export-html-get-bibliography): New function.
4001         (org-export-html-validation-link): New variable.
4002         (org-export-as-html): Add validation link to exported page.
4004         * org.el (org-match-sparse-tree): Renamed from
4005         `org-tags-sparse-tree'.
4006         (org-tags-sparse-tree): New alias.
4008 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4010         * org.el (org-get-valid-level): Catch the case where the level
4011         change is nil.
4013         * org-clock.el (org-clock-find-position): Better indentation of
4014         new clock drawers.
4016 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4018         * org-agenda.el (org-agenda-quit): Delete window only when the
4019         frame-setup was not `current-window'.
4021         * org.el (org-tag-persistent-alist): New option.
4022         (org-startup-options): Add keyword `noptag'.
4023         (org-fast-todo-selection): Handle :newline correctly.
4024         (org-set-tags): Handle :newline correctly.
4025         (org-fast-tag-selection): Handle :newline correctly.
4027 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4029         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4030         outputting it.
4031         (org-export-ascii-push-links): Fix bug with pussing links into the
4032         export buffer.
4034 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4036         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4037         pasting at top level.
4039         * org-bbdb.el: Improve documentation.
4041 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4043         * org-list.el (org-insert-item): Only consider insert empty lines
4044         is `org-empty-line-terminates-plain-lists' is not nil.
4046         * org.el (org-blank-before-new-entry): Mention the dependence on
4047         `org-empty-line-terminates-plain-lists' in the docstring.
4049         * org-publish.el (org-publish-get-project-from-filename): New
4050         optional argument UP.  Only find the top project if UP is set.
4051         (org-publish-current-project): Find the top encloding project.
4053         * org-agenda.el (org-agenda-before-write-hook)
4054         (org-agenda-add-entry-text-maxlines): New options.
4055         (org-write-agenda): Run the new hook in the temporary buffer.
4056         (org-agenda-add-entry-text): New function.
4057         (org-write-agenda): Implement PDF export, using ps2pdf.
4059         * org.el (org-global-properties-fixed, org-global-properties):
4060         Improve documentation string.
4062         * org-exp.el (org-export-ascii-links-to-notes): New option.
4063         (org-export-as-ascii): Handle links better.
4064         (org-export-ascii-wrap, org-export-ascii-push-links): New
4065         functions.
4067 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4069         * org-agenda.el (org-agenda): Make prefix arg optional.
4070         (org-agenda-search-headline-for-time): New option.
4071         (org-format-agenda-item): Honor
4072         `org-agenda-search-headline-for-time'.
4074         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4075         characters.
4077         * org.el (org-self-insert-cluster-for-undo): New option.
4078         (org-self-insert-command): Cluster undo for 20 characters.
4079         (org-self-insert-command-undo-counter): New variable.
4081 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4083         * org-exp.el (org-export-as-html): Fix problem with closing colone
4084         example.
4086 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4088         * org-export-latex.el (org-export-as-latex)
4089         (org-export-latex-first-lines): Avoid modification flag when
4090         adding or removing text properties.
4091         (org-export-latex-fontify): Catch error when org-emph-alist has
4092         entries that are not defined for LaTeX export.
4094         * org.el (orgstruct++-mode): New function.
4095         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4096         (org-context-p): Allow detecting item context after the first line
4097         of an item.
4098         (orgstruct-make-binding): Detect if item-body context should be
4099         seen.
4100         (orgstruct-is-++): New variable.
4101         (org-add-planning-info): Catch the case when there is no planning
4102         info yet and the call does not want to add anything, only maybe
4103         tries to remove something.
4104         (org-special-ctrl-a/e): All value to be a cons cell with separate
4105         settings for `C-a. and `C-e'.
4106         (org-beginning-of-line, org-end-of-line): Honor separate values
4107         for `C-a' and `C-e'.
4109 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4111         * org.el (org-reload): New command.
4113 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4115         * org-exp.el (org-export-htm-get-tag-class-name)
4116         (org-export-htm-get-todo-kwd-class-name): New functions.
4117         (org-export-html-tag-class-prefix)
4118         (org-export-html-todo-kwd-class-prefix): New options.
4119         (org-export-as-html): Call
4120         `org-export-html-get-todo-kwd-class-name'.
4121         (org-html-level-start): Wrap tags into classes.
4122         (org-export-html-get-tag-class-name)
4123         (org-export-html-get-todo-kwd-class-name): New functions.
4125         * org-export-latex.el (org-export-latex-collect-header-macros):
4126         Remove fields that are used anyway.
4127         (org-export-latex-make-header): Insert the options earlier.
4129         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4130         matching.
4132         * org-list.el (org-indent-item): Allow point to be at the end of
4133         the region.
4135         * org.el (org-metaleft, org-metaright): Be more accurate about
4136         detecting a region where commands apply.
4138         * org-compat.el (org-cursor-to-region-beginning): New function.
4140         * org.el (org-priority): Also find invisible heading.
4142         * org-colview-xemacs.el (org-columns-edit-value): No special
4143         treatment for `org-todo' prefix.
4145         * org-colview.el (org-columns-edit-value): No special treatment
4146         for `org-todo' prefix.
4148         * org-remember.el (org-remember-apply-template): Use
4149         `org-completing-read-no-ido'.
4151         * org.el (org-completing-read-no-ido): New function.
4152         (org-make-tags-matcher, org-set-property): Use
4153         `org-completing-read-no-ido'.
4155         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4156         New option.
4157         (org-export-as-latex): Import in-buffer settings as TeX macros.
4158         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4159         (org-export-latex-collect-header-macros): New function.
4161         * org.el (org-refile-get-location): Turn off
4162         `partial-completion-mode'.
4164 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4166         * org.el (org-block-todo-from-checkboxes): Announce that
4167         checkboxes are the culprit.
4168         (org-block-todo-from-children-or-siblings): Call
4169         `org-up-heading-all instead' of `outline-up-heading'.
4171         * org-agenda.el (org-agenda-show-1): Renamed from
4172         `org-agenda-show'.
4173         (org-agenda-show): Re-install the old version for now.
4174         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4175         variable into the blokker hook, so that the checkbox checker can
4176         anounce that it caused the blocking.
4178         * org.el (org-track-ordered-property-with-tag): New option.
4179         (org-toggle-ordered-property): Honor
4180         `org-track-ordered-property-with-tag'.
4181         (org-tag-alist): Add newline options.
4182         (org-set-regexps-and-options): Separate option lines imply a
4183         newline.
4184         (org-set-regexps-and-options, org-assign-fast-keys)
4185         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4186         option.
4187         (org-indent-line-function): Make sure this works even if there is
4188         not `org-drawer-regexp' defined.  This can happen when
4189         orgstruct-mode is used in a non-org buffer.
4191         * org-list.el (org-checkbox-blocked-p): New function.
4192         (org-toggle-checkbox): Check for blocking.
4194         * org.el (org-modules): Add an entry for org-R.el.
4196         * org-agenda.el (org-agenda-todo-ignore-with-date)
4197         (org-agenda-todo-ignore-scheduled)
4198         (org-agenda-todo-ignore-deadlines): Mention the variable
4199         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4201         * org.el (org-get-wdays): Find the warning period also if it is in
4202         the wrong place.
4203         (org-ido-completing-read): Provide the correct arguments to
4204         ido-completing-read and bind `ido-enter-matching-directory' to
4205         nil.
4207 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4209         * org.el (org-olpath-completing-read): Never use ido for this
4210         one.
4212         * org-exp.el (org-export-normalize-links): Use new macro.
4214         * org-macs.el (org-if-unprotected-at): New macro.
4216         * org-agenda.el (org-agenda-show): Allow numerical prefix
4217         arguments to specify how much context should be shown.
4218         (org-agenda-cycle-show): New command, could be bound to SPC in
4219         org-agenda-mode-map.
4221         * org-exp.el (org-html-level-start): Space after section number.
4223 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4225         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4226         property, for sorting.
4227         (org-cmp-todo-state): Get the applicable TODO keywords directly
4228         from the buffer.
4229         (org-run-agenda-series, org-agenda-list, org-search-view)
4230         (org-todo-list, org-tags-view): Only fit agenda window when the
4231         whole series is done.
4233         * org.el (org-scan-tags): Add todo state as property, for sorting.
4235         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4236         `org-agenda-overriding-header' as an option.
4237         (org-agenda-list): Honor org-agenda-overriding-header'.
4239 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4241         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4242         after removing a checkbox.
4244         * org.el (org-show-entry): Make this work correctly also if it is
4245         the last entry in the file.
4246         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4247         falling back to normal, default command.
4248         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4249         item, call the checkbox toggler to get a box.
4251         * org-list.el (org-toggle-checkbox): Make double prefix set the
4252         checkbox to "[-]".
4253         (org-fix-bullet-type): Only replace bullet if it is changed.
4254         (org-renumber-ordered-list): Handle case when first item does not
4255         have a number.
4257         * org.el (org-add-log-setup): Fix positioning when
4258         `org-log-states-order-reversed' is nil.
4260         * org-clock.el (org-clock-in): Fix positioning when
4261         `org-log-states-order-reversed' is nil.
4262         (org-clock-find-position): Fix positioning when
4263         `org-log-states-order-reversed' is nil.
4265 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4267         * org-clock.el (org-clock-into-drawer): Take default from
4268         `org-log-into-drawer'.
4269         (org-clock-find-position): Look for the correct drawer.
4271         * org.el (org-log-into-drawer): Renamed from
4272         `org-log-state-notes-into-drawer'.
4273         (org-log-state-notes-into-drawer): New variable alias.
4274         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4275         CLOCK.
4276         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4278 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4280         * org-agenda.el (org-agenda): Fix docstring.
4282         * org.el ("org-plot"): Help loading org-plot.
4283         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4284         (org-metadown-hook, org-shiftmetaleft-hook)
4285         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4286         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4287         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4288         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4289         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4291         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4292         for selecting files with any (and even without) extension.
4294         * org.el (org-save-all-org-buffers): Also save id locations.
4295         (org-revert-all-org-buffers): Also load id locations.
4297 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4298         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4299         (org-log-state-notes-into-drawer): New option.
4300         (org-add-log-setup): Place the sate note marker into the drawer,
4301         create drawer when necessary.
4302         (org-refile-targets): Document special interpretation of LEVEL
4303         when odd-levels are used.
4305 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4307         * org.el (org-store-log-note): Fix note indentation when adding
4308         notes to end of list.
4310         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4311         class, so that each keyword can get special colors through CSS.
4313         * org-clock.el (org-clock-out): Add another nil for the previous
4314         state into the call to `org-add-log-setup'.
4316         * org.el (org-log-note-previous-state): New variable.
4317         (org-log-note-headings): New %S escape for old state.
4318         (org-todo): Call the note setup with the old state as an
4319         argument.
4320         (org-add-note): Add another nil for the previous state into the
4321         call to `org-add-log-setup'.
4322         (org-add-log-setup): New argument PREV-STATE.
4323         (org-add-log-note): Handle new %S escape.
4324         (org-store-log-note): Handle new %S escape.
4326 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4328         * org-clock.el (org-clock-find-position): Do not swallow an item
4329         less indented than the CLOCK line itself.
4330         (org-clock-in): Push markers to lin after the clock line.
4331         (org-clock-find-position): Handle values of
4332         `org-clock-into-drawer' smaller than 2.
4334         * org-exp.el (org-html-level-start): Add a CSS class to section
4335         numbers.
4336         (org-export-html-toplevel-hlevel): Better documentation of the
4337         influence of this variables on H levels and css classes in
4338         export.
4340 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4342         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4343         timestamp and nottimestamp to the chooe menu.
4345         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4346         (org-revert-all-org-buffers): New command.
4348 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4350         * org.el (org-return): Implement `org-return-follows-link' in the
4351         function org-return.  This is more robust than using the mouse
4352         map, I think.
4353         (org-set-regexps-and-options): Match more general #+TODO lines.
4354         (org-make-options-regexp): New optional argument EXTRA, for an
4355         extra regexp.
4356         (org-tab-follows-link): Mark as deprecated.
4358 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4360         * org-exp.el (org-export-preprocess-string): Remove clock lines
4361         earlier, so that they cannot cotribute to verbatim snippets.
4363 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4365         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4366         for finding drawers.
4367         (org-export-as-ascii, org-export-as-html): Count levels relative
4368         to the subtree header.
4369         (org-get-min-level): New optional argument OFFSET.
4370         (org-export): Make sure point is restored after popping up that
4371         window.
4373         * org.el (org-do-sort): Also take an inactive timestamp if no
4374         active one is found.
4376         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4377         deleting duplicates.
4379         * org-colview.el (org-columns-capture-view): Copy before
4380         deleting duplicates.
4382         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4383         text before first headline.
4385         * org.el (org-format-latex): Do not convert LaTeX fragments in
4386         protected examples.
4388 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4390         * org-exp.el (org-export-html-style-default): Use color values
4391         instead of names for XHTML validation.
4393         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4394         functions.
4395         (org-return-follows-link): Revert making this the default untile
4396         issues are resolved.
4398         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4399         nottimestamp.
4401 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4403         * org.el (org-mode): Make dependence stuff work more reliably.
4404         (org-update-parent-todo-statistics): Fix bug with updating
4405         statistics cookie.
4407         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4408         ~ as verbatim delimiters.
4410         * org-exp.el (org-export-html-format-image): New argument
4411         PAR-OPEN.
4412         (org-export-as-html): Pass par-open to
4413         `org-export-html-format-image'.
4415 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4417         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4418         (org-use-fast-todo-selection, org-tags-column): New default
4419         setting for variables, based on a poll what typical uses use.
4421         * org-agenda.el (org-agenda-sorting-strategy)
4422         (org-agenda-tags-column): New default setting for variables, based
4423         on a poll what typical uses use.
4425 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4427         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4428         blocked entries from setting the blocked tag.
4430         * org-exp.el (org-export-html-footnotes-section): Use a more
4431         consistent id for footnotes.
4433         * org-export-latex.el (org-export-latex-classes): Remove the
4434         a4paper option from the default styles.
4436 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4438         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4439         (org-block-todo-from-checkboxes): New function.
4440         (org-todo): Make tripple prefix arg circumvent blocking.
4442         * org-timer.el (org-timer): Provide the timer feature.
4444         * org.el (org-require-autoloaded-modules): Add a few more files to
4445         the list of autoloaded modules.
4447         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4449 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4451         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4452         drawers that are unprotected.
4453         (org-export-html-format-image): Make sure inlined LaTeX fragment
4454         images remain inlined.
4456         * org.el (org-toggle-ordered-property): New function.
4457         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4458         (org-org-menu): Add menu entries for TODO dependencies.
4460 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4462         * org.el (org-default-properties): Add ORDERED to the default
4463         properties, to get completion support for it.
4465         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4467         * org.el (org-update-parent-todo-statistics): Update more than one
4468         cookie.
4470         * org-agenda.el (org-agenda-get-todos): Start search from correct
4471         position.
4473         * org.el (org-fast-todo-selection): Make sure TODO selection does
4474         not change buffer position.
4476         * org-list.el (org-toggle-checkbox): Implement adding or removing
4477         checkboxes from line or region when called with a prefix
4478         argument.
4480         * org-rmail.el (org-rmail-store-link): Protect the call to
4481         `rmail-narrow-to-non-pruned-header'.
4483         * org-clock.el (org-clock-special-range): Fix week display in
4484         clock tables.
4486         * org-exp.el (org-get-current-options): Fix bug when in indirect
4487         buffer.
4489 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4491         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4492         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4493         (org-agenda-dim-blocked-tasks): New function.
4495         * org.el (org-enforce-todo-dependencies): New option.
4496         (org-block-todo-from-children-or-siblings): New function.
4498         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4500         * org.el (org-todo): Return correct state type even if the blocker
4501         throws an error.
4502         (org-modifier-cursor-error): Renamed from
4503         `org-shiftcursor-error'.
4504         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4505         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4507         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4508         to get real errors from the blocker hook.
4510         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4511         functions.
4512         (org-set-visibility-according-to-property): Turn off the setting
4513         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4514         property.
4516 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4518         * org.el (org-support-shift-select): New option.
4519         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4520         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4521         selection outside contexts.
4523         * org-list.el (org-at-item-bullet-p): New function.
4525         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4526         variables.
4528         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4529         variable.
4530         (org-insert-footnote-reference-near-definition): Remove
4531         unnecessary let form.
4533         * org-export-latex.el (org-export-latex-first-lines): Add
4534         OPT-PLIST parameter.
4535         (org-export-as-latex): Call `org-export-latex-first-lines' with
4536         opt-plits parameter.
4537         (org-export-latex-preprocess): Remove unnecessary variables.
4539         * org-exp.el (org-infile-export-plist)
4540         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4541         (org-export-remove-headline-metadata)
4542         (org-export-get-title-from-subtree, org-get-min-level)
4543         (org-html-do-expand): Remove innecessary let form.
4545         * org-colview-xemacs.el (org-columns-display-here): Remove
4546         unnecessary variables.
4548         * org-colview.el (org-columns-display-here): Remove unnecessary
4549         variables.
4551         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4552         variables.
4554         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4555         unnecessary variables.
4557         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4558         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4559         variables.
4561         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4562         (org-compact-display-after-subtree-move): Remove unnecessary
4563         variables.
4564         (org-edit-fixed-width-region): Remove unnecessary variables.
4565         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4566         (org-olpath-completing-read): Remove unnecessary variable.
4567         (org-auto-repeat-maybe): Remove unnecessary variable.
4568         (org-map-entries): Remove unnecessary variable.
4569         (org-buffer-property-keys, org-imenu-get-tree)
4570         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4572 -----------------------------------------------------------------
4574 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4575         * org-exp.el (org-export-remove-timestamps): Never remove
4576         timestamps from tables.
4578         * org-export-latex.el (org-export-latex-first-lines): Add more
4579         options to the preprocessing of the text before the first
4580         headline.
4582 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4584         * org-faces.el (org-clock-overlay): Make face compatible with
4585         XEmacs.
4587         * org.el (org-yank): Add property for delete-selection mode.
4589         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4591         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4592         variable.
4594         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4595         to `backward-char'.
4597         * org-exp.el (org-export-as-html): Remove the initial space from
4598         colon examples.
4600         * org.el (org-scan-tags): Call
4601         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4603         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4604         customization groups.
4605         (org-agenda-tags-todo-honor-ignore-options): New option.
4606         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4607         New function.
4608         (org-agenda-get-todos): Use
4609         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4611 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4613         * org-exp.el (org-export-format-source-code-or-example): Escape
4614         HTML characters also in examples that anre not treated with
4615         htmlize.  Also, just switch to EXAMPLE processing if we do not
4616         have a good version of htmlize.
4618         * org-rmail.el: Fix copyright notice.
4620         * org.el (org-activate-footnote-links): Improve footnote link
4621         highlighting.
4623         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4624         a footnote definition at the end of the file.
4626         * org-table.el (org-table-get-specials): Add an imagined hline at
4627         the end of the table.  This can be useful for references that want
4628         to go to the end of the table.  Also fix bug when computing last
4629         row constants, in tables that do not start right at the right
4630         margin.
4631         (org-table-eval-formula): Match and replace remove references.
4632         (org-table-formula-substitute-names): Make sure that names inside
4633         a "remote" call are left alone, the will be replaced later when
4634         the remote call is handled.
4635         (org-table-convert-refs-to-rc): Do not convert things that might
4636         look like a reference, but are really part of an ID or namei n a
4637         remote reference.
4638         (org-table-get-remote-range): New function.
4640 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4642         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4644         * org-clock.el (org-clock-put-overlay): Use new face instead of
4645         `secondary-selection'.
4647         * org-faces.el (org-clock-overlay): New face.
4649 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4651         * org-exp.el (org-get-current-options): Include the option for
4652         publishing time stamps.
4654         * org.el (org-toggle-heading): Renamed from
4655         `org-toggel-region-headings'.
4656         No longer needs a region defined, but will use it if there is one.
4657         (org-ctrl-c-star): Simplified, relying more on the internal
4658         workings of `org-toggle-heading'.
4659         (org-toggle-item): Renamed from `org-toggle-region-items'.
4660         No longer needs a region defined, but will use it if there is one.
4661         (org-ctrl-c-minus): Simplified, relying more on the inernal
4662         workings of `org-toggle-item'.
4664         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4665         environment detection.  Also, do real changes only in unprotected
4666         places.
4668 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4670         * org-export-latex.el (org-export-latex-quotation-marks): Use
4671         `org-if-unprotected-1'.
4672         (org-export-latex-set-initial-vars): Check for class definition in
4673         property.
4675         * org-macs.el (org-if-unprotected-1): New macro.
4677 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4679         * org-compat.el (org-count-lines): New function.
4681         * org-exp.el (org-export-format-source-code-or-example): Handle
4682         switches related to text areas.
4684         * org.el (org-activate-footnote-links): Don't allow match inside a
4685         link.
4687         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4689         * org-export-latex.el (org-export-latex-links): Keep a relative
4690         path relative also after export.
4692         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4694         * org.el (org-make-tags-matcher): Never use IDO for completing the
4695         tags matcher match string.
4696         (org-completing-read): Also remove the special biding for "?".
4698         * org-attach.el (org-attach-allow-inheritance): New option.
4699         (org-attach-inherited): New variable.
4700         (org-attach-dir): Handle properties related to the attachment
4701         directory.
4702         (org-attach-check-absolute-path): New function.
4703         (org-attach-set-directory, org-attach-set-inherit): New commands.
4704         (org-attach): Accommodate the new commands in the dispatcher.
4706 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4708         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4709         `window-full-width-p'.
4711         * org-exp.el (org-export-as-html): Only check for images files
4712         that really can be inlined
4714         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4715         list of extensions to be a parameter.
4717         * org-exp.el (org-export-html-inline-image-extensions): New
4718         variable.
4720         * org-agenda.el (org-prepare-agenda): Use
4721         `org-agenda-block-separator'.
4722         (org-agenda-block-separator): New option.
4724 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4726         * org-export-latex.el (org-export-latex-tables): Call
4727         `org-table-clean-before-export' with the new optional argument.
4729         * org-exp.el (org-table-clean-before-export): New optional
4730         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4731         first column.
4733 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4735         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4736         histograms.
4738         * org-colview.el (org-colview-construct-allowed-dates): Better
4739         error catching when a date/time property does not have allowed
4740         values defined.
4742         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4743         Better error catching when a date/time property does not have
4744         allowed values defined.
4746 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4748         * org.el (org-map-entries): Restore point and restriction after
4749         `org-map-entries'.
4751 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4753         * org.el (org-time=, org-time<, org-time<=, org-time>)
4754         (org-time>=, org-time<>): Make sure both values are dates.
4756 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4758         * org-archive.el (org-extract-archive-heading): Allow %s for file
4759         name also in achive location heading.
4761 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4763         * org-archive.el (org-add-archive-files): Uniquify the list before
4764         returning it.
4766 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4768         * org-compat.el (org-fit-window-to-buffer): Use
4769         `window-full-width-p'.
4771         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4772         space after the colon in short examples.
4774         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4775         enforce a space after the colon.  However, we also allow lines
4776         that are *only* a colon.
4777         (org-export-as-html): Enforce the space after the colon in short
4778         examples.
4779         (org-export-preprocess-string): Do the colon example protection
4780         earlier.
4781         (org-export-remove-timestamps): Do not check for protection at the
4782         end of the line.
4784 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4786         * org.el (org-format-latex-options): Add new matcher for single
4787         letters between dollars.
4788         (org-get-header): Function removed.
4789         (org-heading-components): New function.
4791         * org-exp.el (org-export-define-heading-targets): Record ID's also
4792         as alternative targets.
4793         (org-export-as-html): Interpret "id:" links to other files by
4794         preserving the relative path.
4796         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4797         is nil.
4799         * org-exp.el (org-export-normalize-links): Protect the main link,
4800         to avoid special character processing.
4802         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4803         New variable.
4804         (org-export-latex-special-string-regexps): Variable removed.
4805         (org-export-latex-keywords): Use the new regexp.
4807         * org-exp.el (org-export-handle-include-files): Fetch switches and
4808         put them into the BEGIN statement.
4810         * org-timer.el (org-timer-mode-line-string): New variable.
4812         * org-clock.el (org-clock-mode-line-map): Renamed from
4813         `org-clock-mode-map'.
4814         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4815         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4816         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4817         (org-clock-remove-overlays): Renamed from
4818         `org-remove-clock-overlays'.
4820         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4821         and mode line display.
4822         (org-timer-stop): New command.
4823         (org-timer-seconds): Return correct time when timer is paused.
4824         (org-timer-mode-line-timer): New variable.
4825         (org-timer-set-mode-line, org-timer-update-mode-line): New
4826         functions.
4828         * org.el (org-insert-heading):  Handle new value `auto' for
4829         `org-blank-before-new-entry'.
4830         (org-org-menu): Add new items for timer functions.
4832         * org-list.el (org-insert-item): Handle new value `auto' for
4833         `org-blank-before-new-entry'.
4835         * org.el (org-blank-before-new-entry): New value `auto', made
4836         default.
4838 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4840         * org-exp.el (org-export-normalize-links): If the link is also
4841         used as the description, protect the description.
4843 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4845         * org.el (org-closest-date): Fix bug with yearly repeats, in
4846         combination with preference of the past as it is used for deadline
4847         and scheduling search.
4849         * org-exp.el (org-html-handle-time-stamps): No longer check for
4850         the `org-export-with-timestamps' option, because the preprocesser
4851         has taken care of this already.
4853         * org.el (org-entry-properties): Catch the case when this is
4854         called in a non-org-mode file.
4856         * org-export-latex.el (org-export-latex-remove-from-headlines):
4857         Variable made obsolete, also LaTeX export now uses the standard
4858         variables.
4859         (org-export-as-latex): Add the timestamps parameter to the
4860         preprocessor parameter list.
4861         (org-export-latex-content): Export the remaining keywords without
4862         considering to remove them.
4863         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4864         Use bold font instead of tt font for the keywords.
4865         (org-export-latex-fontify-headline): Format headlines, assuming
4866         that all keywords still present should be published.
4867         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4868         publish what ever remains of the time stamps.
4869         (org-export-latex-list-parameters): New option.
4870         (org-export-latex-lists): Pass additional parameters to the list
4871         converter.
4873         * org-exp.el (org-export-preprocess-string): Remove clock lines
4874         and timestamps already in the preprocesor.
4875         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4876         functions.
4877         (org-export-as-ascii, org-export-as-html): Add the timestamps
4878         parameter to the preprocessor parameter list.
4880         * org-list.el (org-list-parse-list): Parse for checkboxes.
4881         (org-list-to-generic): Introduce and handle new parameters :cbon
4882         and :cboff.
4883         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4884         optional parameter PARAMS.
4886         * org-export-latex.el (org-export-latex-special-chars): Fix
4887         problems with interpreting dollar signs.
4888         (org-inside-latex-math-p): New function.
4889         (org-export-latex-preprocess): Protect all the math fragments.
4891         * org.el (org-latex-regexps): Allow a dash after a dollar.
4893         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4894         mark after copying.
4896         * org-agenda.el (org-run-agenda-series): Have series options set
4897         when finalizing the agenda.
4899         * org-exp.el (org-export-format-source-code-or-example): Protect
4900         the converted examples.
4902         * org.el (org-set-regexps-and-options): Fix the regexp
4903         `org-complex-heading-regexp'.
4905 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4907         * org.el (org-edit-src-get-label-format): New function.
4908         (org-coderef-label-format): New option.
4909         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4910         a label format specification and make sure it is used in the edit
4911         buffer.
4912         (org-edit-src-get-label-format): New function.
4913         (org-store-link): Handle new coderef formats.
4914         (org-link-search): Handle new coderef formats.
4916         * org-footnote.el (org-footnote-create-definition)
4917         (org-footnote-goto-local-insertion-point): Make footnote insertion
4918         work correctly when the "Footnotes" headline is the last line in
4919         the buffer.
4921         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4922         the location.
4924 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4926         * org-w3m.el (org-w3m): New customization group.
4927         (org-w3m-deactivate-mark): New option.
4928         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4929         option say not to.
4931 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4933         * org.el (org-set-font-lock-defaults): Trigger footnote
4934         fontification.
4935         (org-activate-footnote-links): New function.
4936         (org-activate-links): New entry `footnote'.
4938         * org-faces.el (org-footnote): New face.
4940 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4942         * org-macs.el (org-re): Handle the [:word:] class.
4944         * org-exp.el (org-export-preprocess-string): Call
4945         `org-export-protect-colon-examples'.
4946         (org-export-protect-colon-examples): Renamed from
4947         `org-export-protect-examples', and scope limited to lines starting
4948         with a colon.
4950 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4952         * org-exp.el (org-export-preprocess-string): Move the preprocess
4953         hook to after turning on Org-mode.
4954         (org-export-preprocess-after-include-files-hook)
4955         (org-export-preprocess-after-tree-selection-hook)
4956         (org-export-preprocess-before-backend-specifics-hook)
4957         (org-export-preprocess-final-hook): New hooks.
4958         (org-export-preprocess-string): Run the new hooks.
4960         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4962         * org-footnote.el: New file.
4964         * org.el (org-footnote): Require footnote code.
4965         (org-startup-options): Add new footnote options.
4966         (org-mode-map): New keybindig for footnotes.
4967         (org-ctrl-c-ctrl-c): Add function at footnotes.
4968         (org-org-menu): New menu entries for footnotes.
4970         * org-export-latex.el (org-export-as-latex): Pass footnote
4971         variable to preprocessor.
4972         (org-export-latex-preprocess): Treat multiple references to a
4973         footnote.
4975         * org-exp.el (org-export-preprocess-string): Call
4976         `org-footnote-normalize'.
4977         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4978         to preprocessor.
4979         (org-export-as-html): Treat multiple references to a footnote.
4981 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4983         * org-export-latex.el (org-export-latex-links): Handle coderef
4984         links.
4986         * org.el (org-bracket-link-analytic-regexp++): New variable.
4987         (org-make-link-regexps): Initialize
4988         `org-bracket-link-analytic-regexp++'.
4989         (org-store-link): Implement special case in edit-src buffer.
4990         (org-insert-link): No use of ide to insert stored links.
4991         (org-link-search): Implement special case for coderefs.
4993         * org-exp.el (org-export-html-scripts): New constant.
4994         (org-export-html-style-default): Add a new style for highlighted
4995         code.
4996         (org-export-code-refs): New variable.
4997         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4998         Call `org-export-replace-src-segments-and-examples'
4999         No longer call `org-export-protect-examples'.
5000         (org-export-target-internal-links): Take care of coderef targets.
5001         (org-export-last-code-line-counter-value): New variable.
5002         (org-export-replace-src-segments-and-examples): Renamed from
5003         `org-export-replace-src-segments', and modified.
5004         (org-export-format-source-code-or-example): Renamed from
5005         `org-export-format-source-code'.
5006         (org-export-number-lines): New function.
5007         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5009 --------------------------------------------------------------------------
5011 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5013         * org-remember.el (org-remember-handler): Safer way to get a new
5014         buffer accessing the target file.
5016         * org.el (org-refile-get-location): Handle case of current buffer
5017         not having a file associated with it.
5019 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5021         * org-table.el (org-table-get-formula): Only ask to overwrite
5022         field formula if there really is one.
5024         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5025         number, by converting these to a string.
5027         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5028         located in a different file.
5030         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5031         org-colview.el.
5033 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5035         * org.el (org-completion-use-ido): Enhance docstring of
5036         `org-completion-use-ido'.
5038         * org-export-latex.el (org-export-latex-make-header): Double the %
5039         in the time stamp format.
5040         (org-export-latex-special-chars): Handle case where there is no
5041         match group 3.
5043 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5045         * org.el (org-get-refile-targets, org-refile-get-location): Use
5046         expanded file name to improve comparison.
5048 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5050         * org.el (org-scan-tags): Rescan for tags, to get the correct
5051         upcase/downcase stuff.  This slows things down for now, but it
5052         works.
5053         (org-mode): Make sure the tag-faces regexp is initialized.
5055         * org-export-latex.el (org-export-latex-links): Fix bug with
5056         undefined label.
5058         * org-table.el (org-table-get-specials): Set
5059         `org-table-current-last-data-line'.
5060         (org-table-current-last-data-line): New variable.
5061         (org-table-insert-column, org-table-delete-column)
5062         (org-table-move-column, org-table-fix-formulas): Call
5063         `org-table-fix-formulas' a second time to fix the $LR references.
5064         (org-table-get-specials): Add the $LR references to the tables.
5065         (org-table-get-formula): Do not offer last-row names as LHS of
5066         formulas.
5068         * org.el (org-store-link): Capture link description from
5069         `org-id-store-link'.
5071         * org-exp.el (org-export-html-format-image): Add the / to the end
5072         of the <img> tag.
5073         (org-export-format-source-code): Surround example by empty lines,
5074         to make sure it will not be inside a paragraph.
5076         * org.el (org-ido-switchb): New function.
5078 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5080         * org-agenda.el (org-agenda-show): New prefix argument
5081         FULL-ENTRY.
5083         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5084         argument.
5086         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5087         `org-agenda-change-all-lines'.
5088         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5089         tags are now retrieved locally.
5091 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5093         * org.el (org-get-outline-path): Fix bug if level is not given.
5094         (org-org-menu): Do not quote function in menu vector.
5096         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5097         name.
5099 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5101         * org.el (org-refile): Avoid refiling to within the region to be
5102         refiled.
5104         * org-export-latex.el (org-export-latex-special-chars): Replace
5105         special characters also in tables.
5107         * org-agenda.el (org-agenda-change-all-lines): New argument
5108         FORCE-TAGS.
5109         (org-agenda-set-tags): Cet the new tags and pass them to
5110         `org-format-agenda-item'.
5112 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5114         * org-export-latex.el (org-export-latex-classes): Add longable as
5115         a default package to all classes.
5116         (org-export-latex-tables): Handle the longtable attribute and the
5117         align attribute.
5119         * org-table.el (orgtbl-to-generic): Handle tables that start with
5120         a hline.
5122         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5123         \verb for colde-like snippets.
5124         (org-export-as-latex): Fix issues with region export.
5126         * org.el (org-up-heading-safe): Speed up function by using a
5127         direct regexp search.
5128         (org-olpa): New variable.
5129         (org-get-outline-path): Speed-up path constructions in cases where
5130         this is possible because the entire hierarchy is scanned anyway.
5131         (org-refile-get-location): Don't compare the truenames of files,
5132         this is too slow.
5133         (org-goto-max-level): New option.
5134         (org-goto): Use `org-goto-max-level'.
5136 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5138         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5139         Strip angle brackets from message-ids in the former and don't do
5140         it in the latter.
5141         (org-gnus-follow-link): Open summary reliable, even if the last
5142         messages were deleted, and handle empty groups, too.
5144 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5146         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5147         instead of \texttt for the =...= and ~===~ emphasis environments.
5148         (org-export-as-latex): Remove any old :org-license-to-kill text
5149         properties.
5150         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5151         (org-export-latex-make-header): Add some hard space after the
5152         table of contents.
5153         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5154         exported text so that it will be excuded in further steps.
5156         * org-table.el (org-table-get-specials): Make @0 reference the
5157         last line in a table.
5158         (org-table-recalculate): Improve docstring.
5160 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5162         * org.el (org-log-done): Fix docstring.
5164 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5166         * org-exp.el (org-export-html-format-image): Fix bugs.
5168         * org-export-latex.el (org-export-latex-tables)
5169         (org-export-latex-links): Implement attribute, label, and caption
5170         handling.
5172         * org-exp.el (org-export-html-style-default): Add style
5173         definitions for the figure div.
5174         (org-export-preprocess-string, org-export-as-html): Implement
5175         attribute, label, and caption handling.
5176         (org-export-attach-captions-and-attributes): New function.
5177         (org-export-html-format-image): New function.
5178         (org-format-org-table-html): Implement attribute, label, and
5179         caption handling.
5181         * org.el (org-find-text-property-in-string): New function.
5182         (org-extract-attributes): Use the property org-attr instead of
5183         org-attrobutes, because this property is now set with the #+ATTR
5184         lines.
5186 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5188         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5189         the case that FROM is nil.
5191         * org.el (org-before-first-heading-p): New function.
5193 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5195         * org-exp.el (org-export-as-html): Do not add a space before
5196         enforces line breaks.
5197         (org-export-as-html): Close paragraph before blockquote and verse
5198         tags.
5200 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5202         * org-id.el (org-id-locations-file): Wrap file name with
5203         `convert-standard-filename'.
5204         (org-id-files): New variable.
5205         (org-id-use-hash): New option.
5206         (org-id-update-id-locations): Also search in all files current
5207         listed in `org-id-files'.  Convert the resulting alist to a hash
5208         if the user customation says so.
5209         (org-id-locations-save): Handle he case if `org-id-locations' is a
5210         hash.
5211         (org-id-locations-load): Convert the alist to a hash.
5212         (org-id-add-location): Handle the hast case.
5213         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5214         exited.
5215         (org-id-hash-to-alist, org-id-alist-to-hash)
5216         (org-id-paste-tracker): New functions.
5218 -------------------------------------------------------------------------
5220 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5222         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5223         bindings of calendar variables.
5225         * org-table.el (org-table-find-row-type): Renamed from
5226         `org-find-row-type'.
5227         (org-table-rewrite-old-row-references): Renamed from
5228         `org-rewrite-old-row-references'.
5229         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5230         (org-table-cleanup-narrow-column-properties): Renamed from
5231         `org-cleanup-narrow-column-properties'.
5233 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5235         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5236         for better error messages.
5237         (org-table-get-descriptor-line): Supply the new arguments to
5238         `org-find-row-type'.
5239         (org-table-error-on-row-ref-crossing-hline): New option.
5241         * org.el (org-target-link-regexp): Make buffer-local.
5242         (org-move-subtree-down): Fix bug with trees at beginning of
5243         buffer.
5245 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5247         * org-faces.el (org-set-tag-faces): New function.
5248         (org-tags-special-faces-re): New variable.
5250         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5252         * org-faces.el (org-tag-faces): New option.
5253         (org-tag): Mention `org-tag-faces' in the docstring.
5255 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5257         * org-exp.el (org-export-html-style-default): Implement new
5258         quoting.
5260         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5262         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5263         command to the `w3m-minor-mode-map'.
5265         * org-archive.el (org-archive-to-archive-sibling): Protect
5266         `this-command' to avoid appending kills during archiving.
5268         * org-exp.el (org-export-with-priority): New variable.
5269         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5270         instead of internal list of strings and properties.
5271         (org-print-icalendar-entries): Retrieve the location property with
5272         inheritance.
5274 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5276         * org-exp.el (org-export-with-todo-keywords): New option.
5277         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5278         line.
5279         (org-default-export-plist, org-export-add-options-to-plist)
5280         (org-export-as-ascii, org-export-as-html): Use the new structure
5281         of `org-export-plist-vars'.
5283         * org.el (org-map-entries): Return all values.
5285 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5287         * org.el (org-matcher-time): Recognize more special values.
5289         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5291 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5293         * org.el (org-tags-exclude-from-inheritance): New option.
5294         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5295         `org-tags-exclude-from-inheritance'.
5297         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5298         (org-format-agenda-item): Add inherited tags to the agenda line
5299         string, and make sure that properties are kept when downcasing the
5300         tags list.
5301         (org-agenda-add-inherited-tags): New function.
5302         (org-downcase-keep-props): New function.
5304         * org.el (org-scan-tags): Mark inherited tags with a text
5305         property.
5306         (org-get-tags-at): Mark inherited tags with a text property.
5307         (org-add-prop-inherited): New function.
5309         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5310         (org-agenda-show-inherited-tags): New option.
5312 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5314         * org.el (org-modules): Add org-w3m to the default modules.
5316         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5317         orgtbl-mode.
5318         (orgtabl-create-or-convert-from-region): New command.
5320         * org-exp.el (org-export-as-ascii): Remove the handling of
5321         targets.
5322         (org-export-ascii-preprocess): Handle targets already in this
5323         function.
5325 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5327         * org-timer.el (org-timer-start-time): Define this variable.
5328         (org-timer-item): Make argument optional.
5330         * org-list.el (org-insert-item): Automatically insert a timer item
5331         if the current list is a timer list.
5333         * org-timer.el: New file.
5335         * org-publish.el (org-publish-org-index): Only exclude the index
5336         file in the main directory from being added to the site-map.
5337         (org-publish-get-project-from-filename): If the current project is
5338         a component, start publishing from the parent project.
5340 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5342         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5344         * org-publish.el (org-publish-org-index): Improve removal of
5345         temporary buffers.
5347         * org-agenda.el (org-get-closed): Re-apply changes
5348         accidentially overwritten by last commit to Emacs.
5350         * org.el (org-outline-path-complete-in-steps): New option.
5351         (org-refile-get-location): Honor
5352         `org-outline-path-complete-in-steps'.
5353         (org-agenda-change-all-lines, org-tags-sparse-tree)
5354         (org-time-string-to-absolute, org-small-year-to-year)
5355         (org-link-escape): Re-apply changes accidentially overwritten
5356         by last commit to Emacs
5358 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5360         * org-clock.el (org-dblock-write:clocktable): Make sure the
5361         clocktable sees the first line.
5362         (org-clock-in): Warn if the clock cannot be resumed.
5364 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5366         * org.el (org-open-at-point): Fix mixup about interactive and
5367         non-interactive elisp links.
5369 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5371         * org-exp.el (org-export-preprocess-string): Allow one comment
5372         line before the first headline to always be included.  This is
5373         to not miss a commented target.
5375         * org-mouse.el (org-mouse-insert-item): Call
5376         `org-indent-to-column' instead of `indent-to', for XEmacs
5377         compatibility.
5379         * org.el (org-refile-targets): Fix customize definition so
5380         that it works also in XEmacs.
5381         (org-fixup-indentation): Call `org-indent-to-column' instead
5382         of `indent-to', for XEmacs compatibility.
5384 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5386         * org-mew.el (org-mew-store-link): Get the correct case folder
5387         for refiled messages.
5389 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5391         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5392         line break indicators.
5394         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5395         ido-completion propts.
5397 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5399         * org-remember.el (org-remember-apply-template): Use
5400         `org-substring-no-properties'.
5402         * org-compat.el (org-substring-no-properties): New function.
5404         * org-remember.el (org-remember-apply-template): Use
5405         `org-substring-no-properties' for compatibility.
5407         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5408         option.
5409         (org-fix-bullet-type): respect
5410         `org-list-two-spaces-after-bullet-regexp'.
5412         * org-clock.el (org-clock-load): Clean up the code.
5414         * org.el (org-adaptive-fill-function): Allow two spaces after
5415         "1." as a list bullet.
5417 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5419         * org-clock.el (org-clock-save, org-clock-load): Check for
5420         live buffers, existing files, and buffer file names to ensure
5421         consistent information.
5422         (org-clock-persist): Make `clock' a special value of this
5423         variable, and improve docstring.
5425         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5426         (org-get-string-indentation): Adapt indentation when the bullet
5427         width changes.
5429 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5431         * org-remember.el (org-remember-finalize): Make interactive.
5432         (org-remember-kill): New command.
5433         (org-remember-finish-immediately): Call `org-remember-finalize'
5434         directly.
5435         (org-remember-finalize): Make `org-remember-finalize' an interactive
5436         function.
5438 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5440         * org-remember.el (org-remember-apply-template): No ido completion
5441         for free prompts in remember templates.
5442         (org-remember-before-finalize-hook): New hook.
5443         (org-remember-mode): New minor mode.
5444         (org-remember-apply-template): Turn on `org-remember-mode'.
5446         * org-id.el (org-id-add-location): Avoid error when no file is
5447         given.
5449         * org-remember.el (org-remember-apply-template): Fix the way how
5450         the list of allowed properties is retrieved from the target file.
5452         * org.el (org-insert-link): Improve file link matching.
5454 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5456         * org-colview.el (org-columns-display-here): New argument
5457         DATELINE, to trigger using the new face.
5458         (org-agenda-colview-summarize): Call `org-columns-display-here'
5459         with the new argument.
5461         * org-faces.el (org-agenda-column-dateline): New face.
5463         * org-publish.el (org-publish-org-index): Use index-title at page
5464         title, not as section.
5466         * org-exp.el (org-export-html-format-desc): Respect the
5467         org-protect property.
5468         (org-export-as-html): Protect image specifiers that are in the
5469         description part of a link.
5471         * org.el (org-sort-entries-or-items, org-completing-read)
5472         (org-refile-get-location, org-olpath-completing-read, org-todo)
5473         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5474         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5475         (org-set-property, org-delete-property)
5476         (org-delete-property-globally): Use `org-ido-completing-read'.
5478         * org-remember.el (org-remember-apply-template): Use
5479         `org-ido-completing-read'.
5481         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5483         * org-colview.el (org-columns-edit-value, org-columns-new)
5484         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5486         * org-colview-xemacs.el (org-columns-edit-value)
5487         (org-columns-new, org-insert-columns-dblock): Use
5488         `org-ido-completing-read'.
5490         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5491         `org-ido-completing-read'.
5493         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5494         `org-ido-completing-read'.
5496         * org.el (org-time-today): New function.
5497         (org-matcher-time): Use `org-time-today'.  Add special treatment
5498         for "<tomorrow>" and "<yesterday>".
5499         (org-ido-completing-read): New function.
5500         (org-completion-use-ido): New option.
5502         * org-exp.el (org-export-format-source-code): Fix bug in require
5503         htmlize code.
5504         (org-export-target-internal-links): Fix bug in search for text
5505         property.
5507 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5509         * org-export-latex.el (org-export-latex-subcontent): Interprete
5510         target aliases as additonal labels.
5512         * org-exp.el (org-export-target-aliases): New variable.
5513         (org-export-preprocess-string)
5514         (org-export-handle-invisible-targets): Fill the alias alist.
5515         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5516         assign an id.
5517         (org-html-level-start): Insert the target aliases as additonal
5518         anchors.
5520         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5521         picture area.
5523 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5525         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5526         when following a link with the mouse from the agenda.
5528         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5529         headlines are created.
5531 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5533         * org-exp.el (org-export-preprocess-string): Reorder so that we
5534         can still see ID properties when we collect targets.
5535         (org-export-target-internal-links): Also store targets for ID's.
5537         * org.el (org-link-translation-function): New option.
5538         (org-open-at-point): Call `org-link-translation-function' if
5539         non-nil.
5540         (org-translate-link): New function.
5541         (org-translate-link-from-planner): New function.
5542         (org-open-at-point): Allow interactive commands in elisp links.
5544         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5545         iCalendar quoting.  The new one seems to caus problems with
5546         applications.
5548         * org.el (org-yank): Set `this-command' to `yank', so that
5549         `yank-pop' will work.
5551 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5553         * org-id.el (org-id-search-archives): New option.
5555         * org.el (org-link-to-org-use-id): New option.
5556         (org-store-link): Use `org-link-to-org-use-id'.
5557         (org-id): Make org-id.el a standard component.
5559 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5561         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5562         hexified version of the tag.
5564         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5565         compliance as far as quoting is concerned.
5567         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5569         * org.el (org-up-heading-safe, org-forward-same-level): Always
5570         call `org-back-to-heading' instead of `outline-back-to-heading'.
5571         (org-back-to-heading): New wrapper around outline-back-to-heading,
5572         with a useful error message telling where the error happened.
5574         * org-list.el (org-update-checkbox-count): Always call
5575         `org-back-to-heading' instead of `outline-back-to-heading'.
5577         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5578         has an `alt' attribute, to ensure XHTML validation.
5580 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5582         * org-publish.el (org-publish-attachment): Allow publishing to
5583         overwrite attachment files.
5585         * org-agenda.el (org-agenda-timerange-leaders): New option.
5586         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5588         * org.el (org-edit-src-exit): Untabify ASCII image before
5589         returning.
5602 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5604         * org.el (org-yank): Make any prefix force normal yanking.
5605         Suppress folding if text would be swallowed into a folded
5606         subtree.
5607         (org-yank-folded-subtrees, org-yank): Docstring updates.
5609         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5610         defined as 0.
5612         * org-exp.el (org-export-language-setup): Add Catalan and
5613         Esperanto language entries.
5615 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5617         * org.el (org-refile): Allow refiling of entire regions.
5619         * org-clock.el (org-clock-time%): New function.
5621         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5622         retrieve property values.
5624 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5626         * org-agenda.el (org-agenda-list): Handle the value `only' of
5627         org-agenda-show-log'.
5628         (org-agenda-log-mode): Interpret a double prefix arg.
5630 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5632         * org-exp.el (org-export-html-footnotes-section): New variable.
5633         (org-export-as-html): Use `org-export-html-footnotes-section' to
5634         insert the footnotes.
5635         (org-export-language-setup): Add "Footnotes" to language words.
5637 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5639         * org.el (org-yank): Fix bug when not inserting a subtree.
5641 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5643         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5644         instead of `vm-beginning-of-message'.
5646         * org.el (org-make-link-regexps): Make sure that links to gnus can
5647         contain brackets.
5649 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5651         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5652         code.
5654         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5655         shell output.
5657         * org.el (org-link-abbrev-alist): Improve customization type.
5659         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5660         functions.
5662         * org-agenda.el (org-agenda-get-progress): Renamed from
5663         `org-get-closed'.  Implement searching for state changes as well.
5664         (org-agenda-log-mode-items): New option.
5665         (org-agenda-log-mode): New option prefix argument, interpreted as
5666         request to show all possible progress info.
5667         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5668         `org-get-closed'.
5669         (org-agenda-set-mode-name): Handle the more complex log mode
5670         settings.
5671         (org-get-closed): New alias, pointing to `org-get-progress'.
5673 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5675         * org.el (org-file-apps-defaults-gnu)
5676         (org-file-apps-defaults-macosx)
5677         (org-file-apps-defaults-windowsnt): Add an entry defining the
5678         system command.
5679         (org-file-apps): Allow `system' as key and value.
5680         (org-open-at-point): Explain the effect of a double prefix arg.
5681         (org-open-file): If the argument `in-emacs' is (16),
5682         i.e. corresponding to a double prefix argument, try to open the
5683         file externally.
5685 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5687         * org.el (org-insert-link): Abbreviate absolute files names in
5688         links.  Also, fix a bug in which the double C-u prefix would not
5689         be honored.
5691 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5693         * org.el (org-insert-heading): If buffer does not end with a
5694         newline, add one if necessary to insert headline correctly.
5696         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5697         paragraphs, not inside.
5699         * org.el (org-todo): Quote
5700         `org-agenda-headline-snapshot-before-repeat'.
5702         * org-exp.el (org-export-as-html): Fully process link descriptions.
5703         (org-export-html-format-desc): New function.
5704         (org-export-as-html): Collect footnotes into the correct basket.
5705         (org-html-protect): No longer protect quotations marks here, this
5706         goes wrong.
5708         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5709         BEG.
5711         * org-compat.el (org-fit-window-to-buffer): New function (not
5712         really, a preliminary and incomplete version was present earlier,
5713         but not used).
5715         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5716         `org-fit-window-to-buffer'.
5718         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5720         * org-agenda.el (org-agenda-get-restriction-and-command)
5721         (org-fit-agenda-window, org-agenda-convert-date): Use
5722         `org-fit-window-to-buffer'.
5724         * org-exp.el (org-export-as-html): Process href links through
5725         `org-export-html-format-href'.
5726         (org-export-html-format-href): New function.
5728         * org-agenda.el (org-agenda-todo): Update only the current
5729         headline if this is a repeated TODO, marked done for today.
5730         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5731         only the current line.
5733         * org.el (org-todo): Take a snapshot of the headline if the
5734         repeater might change it.
5736 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5738         * org-publish.el (org-publish-find-title): Remove buffers visited
5739         only for extracting the title.
5741         * org-exp.el (org-export-html-style)
5742         (org-export-html-style-default): Mark style definitions as
5743         unparsed CDATA.
5745         * org-publish.el (org-publish-validate-link): Function
5746         re-introduced.
5748 2008-11-02  Charles Sebold  <csebold@gmail.com>
5750         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5751         property.
5752         (org-plot-quote-timestamp-field): New function.
5753         (org-plot-quote-tsv-field): Call timestamp field function when
5754         necessary rather than just quoting as a string.
5755         (org-plot/gnuplot-to-data): Pass in timefmt property.
5756         (org-plot/gnuplot-script): Supports timefmt property.
5757         (org-plot/gnuplot): Checks for timestamp column before checking
5758         for text index column.
5760 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5762         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5764         * org-publish.el (org-publish-org-index): Create a section in the
5765         index file.
5766         (org-publish-org-index): Stop linking to directories.
5768         * org.el (org-emphasis-alist): Use span instead of <u> to
5769         underline text.
5771         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5772         <pre> sections.
5774 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5776         * org-jsinfo.el (org-infojs-template): Remove language attribute
5777         from script tag.
5779 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5781         * org-agenda.el (org-agenda-remove-marked-text): New function.
5782         (org-agenda-mark-filtered-text)
5783         (org-agenda-unmark-filtered-text): New functions.
5784         (org-write-agenda): Remove fltered text.
5786         * org.el (org-make-tags-matcher): Give access to TODO "property"
5787         without speed penalty.
5789 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5791         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5792         option.
5793         (org-store-link-props): Make sure adding to the plist works
5794         correctly.
5796         * org-gnus.el (org-gnus-no-new-news): New function.
5797         (org-gnus-follow-link): Allow the article ID to be a message-id,
5798         in addition to allowing article numbers.  Message IDs make much
5799         more roubust links.
5800         (org-gnus-store-link): Use message-id to create link.
5802 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5804         * org.el (org-emphasize): Reverse the selection array.
5805         (org-emphasis-alist): Set <code> tags for the verbatim
5806         environment.
5808         * org-remember.el (org-remember-handler): Fix bug with
5809         prefix-related changing of the note storage target.
5811         * org-exp.el (org-print-icalendar-entries): Make the exported
5812         priorities compatible with RFC 2445.
5814         * org-clock.el (org-clock-save): Insert time stamp without
5815         dependence on time-stamp.el.
5817 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5819         * org.el ("saveplace"): If saveplace puts point into an invisible
5820         location, make it visible.
5821         (org-make-tags-matcher): Allow inactive time stamps in time
5822         comparisons.
5823         (org-yank-adjusted-subtrees): New option.
5824         (org-yank): Incorporate adjusting trees.
5825         (org-paste-subtree): New argument FOR-YANK which will cause
5826         insertion at point without backing up over white lines, and leave
5827         point at the end of the inserted text.  Also if the cursor is
5828         at the beginning of a headline, use the same level or the inserted
5829         tree.
5831         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5832         with broken symlinks
5834 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5836         * org-exp.el (org-export-select-tags, org-get-current-options):
5837         Fix typo.
5839 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5841         * org-agenda.el (org-format-agenda-item)
5842         (org-agenda-filter-make-matcher): Make sure tags are stored and
5843         compared donwcased.
5845 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5847         * org.el (org-insert-todo-heading): Fix bug with force-heading
5848         argument.
5850 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5852         * org-clock.el (org-clock-in-resume): Add a custom option to
5853         toggle starting the clock from an open clock line.
5854         (org-clock-in): When clocking in to an entry, if
5855         `org-clock-in-resume' is set, check if the first clock line is
5856         open and if so, start the clock from the time in the clock line.
5857         (org-clock-persist): Add a custom option to toggle clock
5858         persistence.
5859         (org-clock-persist-query-save): Add a custom option to toggle
5860         asking the user if they want to save the running clock when
5861         exiting.
5862         (org-clock-persist-query-resume): Add a custom option to toggle
5863         asking the user if they want to resume the saved clock when Emacs
5864         is restarted.
5865         (org-clock-save): Add a function to save clock data.
5866         This includes the contents of `org-clock-history' and the buffer
5867         and position of the currently clocked task, if any.
5868         (org-clock-load): Add a function to load clock data.
5869         This populates `org-clock-history', and resumes the saved clocked
5870         task if there is one.
5871         (org-clock-persistence-insinuate): Add a method to set up the
5872         hooks for clock persistence.
5874 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5876         * org-exp.el (org-export-as-ascii): Handle the case that we are
5877         publishing from an indirect buffer.
5879         * org-table.el (org-table-copy-down): Fix bug with time stamp
5880         increment.
5882         * org-mouse.el (org-mouse-features): New option.
5883         (org-mode-hook): Turn on features depending on
5884         `org-mouse-features'.
5886         * org.el (org-insert-heading-respect-content): Force heading
5887         creation.
5888         (org-insert-heading): keep the folding state of the heading before
5889         the inserted one.
5891 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5893         * org-archive.el (org-archive-to-archive-sibling): Handle top
5894         level headlines better.
5896 2008-10-21  Bastien Guerry  <bzg@altern.org>
5898         * org-export-latex.el (org-export-latex-classes): Added
5899         \usepackage{graphicx} to the default list of packages.
5901 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5903         * org-agenda.el (org-agenda-filter): Renamed from
5904         `org-agenda-filter-tags'.
5906 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5908         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5909         is not defined as a property in this entry.
5910         (org-add-log-note): Mask prefix argument when immediately storing
5911         the note.
5913         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5914         option.
5916 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5918         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5919         after drawers was skipping ahead one line too many, so notes were
5920         inserted after the first note instead of before it.
5922 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5924         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5925         New variables.
5926         (org-prepare-agenda): Reset the filter tags.
5927         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5928         Show filter tags in mode line.
5930         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5931         formatter.
5933         * org-export-latex.el (org-latex-entities-regexp): New constant.
5934         (org-export-as-pdf): Use two calls to `shell-command'.
5936 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5938         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5939         Honor the {} value of the subsuperscript setting.  Make sure that
5940         longer subsuperscripts are typeset in a roman font.
5942         * org.el (org-clock-update-time-maybe): Compute negative clock
5943         intervals correctly.
5945 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5947         * org.el (org-add-log-setup): Respect
5948         `org-log-state-notes-insert-after-drawers'.
5949         (org-log-state-notes-insert-after-drawers): New option.
5950         (org-todo-trigger-tag-changes): New function.
5951         (org-todo): Call `org-todo-trigger-tag-changes'.
5953 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5955         * org.el (org-add-log-setup): Only skip drawers if the are
5956         immediately after the scheduling keywords.
5958         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5959         function
5960         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5961         call it with the current todo state to get the state to switch to
5962         when clocking in.
5963         (org-clock-in): Use org-indent-line-function to indent clock lines.
5964         (org-clock-find-position): Fix indentation of empty clock drawers.
5966 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5968         * org-publish.el (org-publish-org-to): Handle case when
5969         org-export-to-pdf does return a file name, not a buffer.
5970         (org-publish-org-to-pdf): New function.
5972         * org-export-latex.el (org-export-as-pdf)
5973         (org-export-as-pdf-and-open): New commands.
5975         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5976         forms as ranges.
5978         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5979         things in protexted regions.
5981 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5983         * org-export-latex.el (org-export-latex-preprocess): Improve
5984         quoting of LaTeX environments.
5986 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5988         * org.el (org-edit-fixed-width-region): Exclude final newline from
5989         picture area.
5991         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5992         sections, to make internal links work.
5993         (org-export-latex-fontify-headline): Do not remove all text
5994         properties, to make sure that target properties survive this
5995         process.
5997         * org-exp.el (org-export-preprocess-string): Change sequence of
5998         modifications, to make sure links are prepared before the LaTeX
5999         conversions do happen.
6001 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6003         * org-attach.el (org-attach-delete-all): Renamed from
6004         `org-attch-delete'.  Add a security query before deleting the
6005         entire directory.  New optional argument FORCE can overrule the
6006         security query.
6007         (org-attach-delete-one): New command.
6009 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6011         * org-attach.el (org-attach-file-list): Fix bug with directory.
6013 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6015         * org.el (org-apps-regexp-alist): New function.
6016         (org-file-apps): Add auto-mode to the default value.
6017         (org-open-file): Use the new structure of org-file-apps.
6019         * org-attach.el (org-attach): Support the new keys.
6020         (org-attach-method): New option.
6022 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6024         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6025         March.
6027         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6028         of the list value o `org-use-tag-inheritance'.
6030         * org-attach.el (org-attach-auto-tag): New option.
6031         (org-attach-tag, org-attach-untag): New functions.
6032         (org-attach-attach, org-attach-new, org-attach-sync): Call
6033         `org-attach-tag'.
6034         (org-attach-delete): Call `org-attach-untag'.
6036 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6038         * org-table.el (orgtbl-self-insert-command): Make this work for
6039         the keypad as well.
6041 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6043         * org.el (org-add-log-setup): Limit searc for drawers to entry
6044         text, not to subtree.
6046         * org-clock.el (org-clock-heading-for-remember): New variable.
6047         (org-clock-in): Set `org-clock-heading-for-remember'.
6049 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6051         * org-remember.el (org-remember-apply-template): Add new
6052         expansions: %k, %K for currently clocked task and a link to the
6053         currently clocked task, and %< to file notes in the currently
6054         clocked task.
6056 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6058         * org-export-latex.el (org-export-latex-make-header): Also insert
6059         the content of the property :latex-header-extra.
6061         * org-exp.el (org-infile-export-plist): Put the content of
6062         #+LATEX_HEADER: into the property :latex-header-extra.
6064         * org-colview.el (org-columns-get-format-and-top-level): Remove
6065         resetting the marker.
6067         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6068         Remove resetting the marker.
6070         * org.el (org-entry-property-inherited-from): Improve docstring.
6071         (org-entry-get-with-inheritance): Reset marker before starting the
6072         search.
6074         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6076 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6078         * org.el (org-entry-get-multivalued-property)
6079         (org-entry-protect-space, org-entry-restore-space): New
6080         functions.
6081         (org-file-apps-defaults-macosx): Let postscript files be opened by
6082         preview.
6083         (org-time-stamp-inactive): Call `org-time-stamp'.
6084         (org-time-stamp): New argument `inactive'.  Also edit inacive
6085         stamps. Convert time stamp type.
6086         (org-open-file): Interpret the `default' value for the `command'
6087         in `org-file-apps'.
6089         * org-id.el (org-id-int-to-b36-one-digit)
6090         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6091         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6092         b36.
6094 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6096         * org-id.el (org-id-reverse-string): New function.
6097         (org-id-new): Use `org-id-reverse-string' to make sure the
6098         beginning chars of the ID are mutating fast.  This allows to use a
6099         directory structure to spread things better.
6100         (org-id-prefix): Changed default to nil.
6102         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6103         restore the column of the cursor position.
6105         * org-remember.el (org-remember-apply-template): Remove properties
6106         from `initial'.
6108 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6110         * org-wl.el (org-wl-open): Remove useless call to
6111         `wl-thread-open-all'.
6113         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6114         location.
6116 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6118         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6119         `org-bbdb-anniversaries'.
6121         * org.el (org-get-next-sibling, org-forward-same-level): New
6122         functions, similar to the outline versions, but invisible headings
6123         are OK.
6125 2008-09-25  Bastien Guerry  <bzg@altern.org>
6127         * org.el (org-auto-repeat-maybe): Insert a space between
6128         the timestamp's type and the timestamp itself.
6130 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6132         * org-table.el (org-table-sum): Do not format the result with %g,
6133         it does rounding when there are too many digits.
6135         * org.el (org-map-entries): Protect the keyword-selecting variables.
6137 2008-09-23  Bastien Guerry  <bzg@altern.org>
6139         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6140         against all agenda files.
6142 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6144         * org-list.el: New file, aggregating list functions from org.el
6145         and org-export-latex.el.
6147         * org.el (org-edit-src-region-extra): New option.
6149 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6151         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6152         time before 1am.
6154 2008-09-22  Bastien Guerry  <bzg@altern.org>
6156         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6158 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6160         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6161         hline work correctly.
6162         (org-plot/gnuplot-script): Put commas at the end of each script
6163         line.
6165 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6167         * org.el (org-get-refile-targets): Replace links with their
6168         descriptions
6169         (org-imenu-get-tree): Replace links with their descriptions.
6171         * org-remember.el (org-remember-apply-template): Add a new
6172         expansion for adding properties to remember items.
6174         * org.el (org-add-log-setup): Skip over drawers (properties,
6175         clocks etc) when adding notes.
6177         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6178         items as well as the start and end times.
6180         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6181         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6183         * org-remember.el (org-get-x-clipboard): Use the compat
6184         function to get clipboard values when x-selection-value is
6185         unavailable. Use substring-no-properties instead of
6186         set-text-properties to remove text properties from the clipboard
6187         value.
6189         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6190         modeline clock string, and display the full todo value in the
6191         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6192         the currently clocked task.
6193         (org-clock-string-limit): Add a custom value for the maximum
6194         length of the clock string in the modeline.
6195         (org-clock-mode-map): Add a keymap for the modeline string
6197 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6199         * org-compat.el (org-propertize): New function.
6201 2008-09-20  Bastien Guerry  <bzg@altern.org>
6203         * org-export-latex.el (org-export-latex-tables): protect exported
6204         tables from further special chars conversion.
6205         (org-export-latex-preprocess): Preserve LaTeX environments.
6206         (org-list-parse-list): Parse descriptive lists.
6207         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6208         (org-list-to-texinfo): Export descriptive lists.
6209         (org-quote-chars): Remove.
6210         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6211         (org-export-latex-list-beginning-re): Rename to
6212         `org-list-beginning-re'
6213         (org-list-item-begin): Rename to `org-list-item-beginning'
6215 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6217         * org.el (org-refile): Allow refiling to the last entry in the
6218         buffer.
6219         (org-get-tags-at): Fix bug when inheritance is turned off.
6221 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6223         * org.el (org-indent-line-function): No longer check for src
6224         regions, this is too much overhead.
6226         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6227         matching.
6229         * org.el (org-scan-tags): Make sure that tags matching is not case
6230         sensitive.  TODO keyword matching is case sensitive, however, to
6231         avoid confusion with similar words that are not meant to be
6232         keywords.
6234 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6236         * org.el (org-get-local-tags-at): New function.
6237         (org-get-local-tags): New function.
6239         * org-exp.el (org-export-get-categories): New function.
6241         * org-agenda.el (org-sorting-choice)
6242         (org-agenda-sorting-strategy, org-agenda-get-todos)
6243         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6244         (org-agenda-get-scheduled, org-agenda-get-blocks)
6245         (org-entries-lessp): Implement sorting by TODO state.
6246         (org-cmp-todo-state): New defsubst.
6248         * org-colview.el (org-colview-construct-allowed-dates): New
6249         function.
6250         (org-columns-next-allowed-value): Use
6251         `org-colview-construct-allowed-dates'.
6253         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6254         function.
6255         (org-columns-next-allowed-value): Use
6256         `org-colview-construct-allowed-dates'.
6258 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6260         * org.el (org-protect-slash): New function.
6261         (org-get-refile-targets): Use `org-protect-slash'.
6263         * org-agenda.el (org-global-tags-completion-table): New variable.
6265         * org-exp.el (org-export-handle-export-tags): New function.
6266         (org-export-preprocess-string): Call
6267         `org-export-handle-export-tags'.
6269         * org-plot.el: New file.
6271         * org-publish.el (org-publish-expand-components): Function removed.
6272         (org-publish-expand-projects): Allow components to have components.
6274 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6276         * org.el (org-indent-line-function): Do not indent in regions that
6277         are external source code.
6278         (org-yank-and-fold-if-subtree): New function.
6280         * org-agenda.el (org-agenda-todayp): New function.
6281         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6282         `org-agenda-todayp'.
6284         * org.el (org-insert-heading-respect-content)
6285         (org-insert-todo-heading-respect-content): New commands.
6286         (org-insert-heading-respect-content): New option.
6287         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6289         * org-clock.el (org-clock-find-position): Make sure the note after
6290         the clock line gets moved into the new clock drawer.
6292 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6294         * org-id.el (org-id-new): New option.
6296 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6298         * org-table.el (org-table-copy-down): Avoid overflow during
6299         increment.  Use prefix argument 0 to temporarily disable the
6300         increment.
6302 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6304         * org-exp.el (org-export-as-html): Do not turn on the major mode
6305         if the buffer will be killed anyway.
6306         (org-get-current-options): Exclude the #+TEXT field.
6307         (org-export-as-html): Make sure text before the first headline is
6308         a paragraph.
6310         * org-publish.el (org-publish-org-to): Tell the exporter that this
6311         buffer will be killed, so it is not necessary to do major mode
6312         initialization.
6314         * org-archive.el (org-archive-to-archive-sibling): Show empty
6315         lines after folding the archive sibling.
6317         * org.el (org-log-note-extra): New variable.
6319 2008-09-05  Bastien Guerry  <bzg@altern.org>
6321         * org.el (org-additional-option-like-keywords): Added keywords for
6322         the _QUOTE, _VERSE and _SRC environments.
6324         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6325         exporting _QUOTE and _VERSE environments.
6327 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6329         * org-agenda.el (org-agenda-filter-by-tag): New command.
6331         * org-exp.el (org-get-current-options): Remove angular brackets
6332         from the date entry.
6334         * org.el (org-edit-fixed-width-region): New function.
6335         (org-edit-fixed-width-region): Also try
6336         `org-edit-fixed-width-region'.
6337         (org-edit-fixed-width-region-mode): New option.
6338         (org-activate-code): Only interprete lines starting with colon
6339         plus a space as example lines.
6341         * org-remember.el (org-remember-templates): Add nil instead of
6342         empty strings to fix the length of remember templates.
6344         * org-table.el (org-calc-default-modes): Fix the time format for
6345         calc, from 12 hour to 24 hour clock.
6347 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6349         * org-agenda.el (org-agenda-get-deadlines)
6350         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6351         entries that are pre-warnings of deadlines or reminders.
6353         * org.el (org-sort-entries-or-items): Make numeric and alpha
6354         comparisons ignore any TODO keyword and priority cookie.
6356         * org-remember.el (org-remember-handler): Reinterpretation of the
6357         prefix argument.
6359 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6361         * org-agenda.el (org-agenda-get-scheduled): Use new
6362         `org-scheduled' face.
6364         * org-faces.el (org-scheduled): New face.
6366         * org-wl.el (org-wl-open): Remove incorrect declaration.
6368         * org-gnus.el (org-gnus-store-link): Support for :to information
6369         in gnus links.
6371         * org-exp.el (org-export-as-html): Fixed typo in creator
6372         information.
6373         (org-export-protect-examples): New parameter indent.  Insert extra
6374         spaces only when this parameter is specified.
6375         (org-export-preprocess-string): Call `org-export-protect-examples'
6376         with an indentation parameter when exporting to ASCII.
6378         * org-remember.el (org-remember-templates)
6379         (org-remember-apply-template): Allow the file component to be a
6380         function.
6382         * org.el (org-goto-local-search-headings): Renamed from
6383         `org-goto-local-search-forward-headings'.  Added the possibility
6384         to search backwards.
6386 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6388         * org-export-latex.el (org-export-latex): New customization
6389         group.
6391         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6393 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6395         * org-exp.el (org-html-do-expand): Allow {} to terminate
6396         tex macro
6398 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6400         * org.el (org-buffer-list): Select buffers based on major mode,
6401         not on file name.
6403 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6405         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6406         face property.
6408         * org-colview.el (org-columns-display-here): Use
6409         `org-columns-modify-value-for-display-function'.
6411         * org-colview-xemacs.el (org-columns-display-here): Use
6412         `org-columns-modify-value-for-display-function'.
6414 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6416         * org.el (org-columns-modify-value-for-display-function): New option.
6428         * org-publish.el (org-publish-file): Make sure the directory match
6429         for the publishing directory works correctly.
6431         * org-agenda.el (org-agenda-execute-calendar-command)
6432         (org-agenda-diary-entry): Additional optional argument.
6434 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6436         * org-exp.el (org-export-as-html): Add attributes also in mailto
6437         and ftp links.
6439         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6448 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6450         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6451         sure that calls from `org-export-region-as-html' do not do the
6452         special check for a subtree.
6454 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6456         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6458 2008-07-20  Juri Linkov  <juri@jurta.org>
6460         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6461         new keymap `narrow-map' instead of binding "\C-xns".
6463 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6465         * org.el (org-open-file): Use
6466         `org-open-directory-means-index-dot-org'.
6467         (org-open-directory-means-index-dot-org): New option.
6469 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6471         * org.el (org-make-link-string): Remove link attributes from
6472         description.
6473         (org-open-at-point): Remove link attributes bevore using the path.
6475         * org-exp.el (org-export-as-html): Handle link attributes.
6477         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6479         * org-table.el (org-table-to-lisp): New function.
6481         * org.el (org-narrow-to-subtree): Do not include the final newline
6482         into the narrowed region.
6484         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6485         bug with user-define skipping condition.
6487 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6489         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6491 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6493         * org-exp.el (org-export-html-style-default): Automatic overflow
6494         handling for pre fields.
6495         (org-export-as-ascii, org-export-as-html): Change default format
6496         for time stamp.
6498         * org-table.el (org-table-export): Offer completion for translator
6499         functions, and do not require a heading above the table.
6501         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6502         Cater for the case of a list starting in the first line of the
6503         buffer.
6505 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6507         * org-publish.el (org-publish-find-title): Bug fix.
6508         (org-publish-org-index): Implement new :index-style option.
6510 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6512         * org-publish.el (org-publish-timestamp-filename): Use
6513         SHA1-encoded file names in the timestamp directory.
6515 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6517         * org-publish.el (org-publish-needed-p): Be verbose about files
6518         published and files skipped.
6520         * org-exp.el (org-export-preprocess-string): Swap link
6521         normalization and inernal link targeting.
6523         * org-publish.el (org-publish-needed-p): Create timestamp
6524         directory when it does not exist.
6526 2008-07-04  Bastien Guerry  <bzg@altern.org>
6528         * org-clock.el (org-clock-out-when-done): Doc fix.
6530         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6532         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6533         Ignore case when searching for the COMMENT cookie at export time.
6535 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6537         * org-exp.el (org-get-file-contents)
6538         (org-get-and-remove-property): New functions.
6539         (org-export-handle-include-files): Handle the new prefix options.
6540         (org-export-as-html): Fix the verse environment.
6542 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6544         * org.el (org-time=, org-time<, org-time<=, org-time>)
6545         (org-time>=, org-time<>, org-2ft): New functions.
6546         (org-op-to-function): Also provide for the time testing fucntions.
6548 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6550         * org-exp.el (org-export-html-style-default): New constant.
6552 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6554         * org-exp.el (org-export-html-style-extra): New variable.
6555         (org-export-splice-style): New function.
6557 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6559         * org-exp.el (org-export-plist-vars, org-export-as-html):
6560         Implement `org-export-creator-info'.
6561         (org-export-creator-info): New option.
6563 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6565         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6566         (org-property-drawer-re, org-clock-drawer-re): New constants.
6568 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6570         * org-exp.el (org-icalendar-use-deadline)
6571         (org-icalendar-use-scheduled): New options.
6572         (org-icalendar-include-todo): Default changed to t.
6573         (org-print-icalendar-entries): Implement better utilization of
6574         scheduling and deadline time stamps.
6575         (org-export-target-internal-links, org-export-as-html): Allow file
6576         lines without the "file:" prefix if the file path is an absolute
6577         path or starts with ".".
6579         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6580         lastweek etc.
6581         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6583 2008-06-18  Glenn Morris  <rgm@gnu.org>
6584         * org.el (org-map-entries): Let-bind `file'.
6586 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6588         * org.el (org-agenda-skip-archived-trees): Docstring now
6589         discourages using this.
6590         (org-scan-tags): Check for org-agenda-archives-mode.
6591         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6592         (org-agenda-files): Functionality of second arg changed.
6594         * org-agenda.el (org-agenda-archives-mode): New variable
6595         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6596         (org-search-view, org-todo-list, org-tags-view)
6597         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6598         `ifmode' argument.
6599         (org-agenda-quit): Reset the archives mode.
6600         (org-agenda-archives-mode): New command.
6601         (org-agenda-set-mode-name): Include archives info.
6603 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6605         * org.el (org-paste-subtree): Make sure the yanked headline is
6606         visible if it was yanked at a visible point.
6607         (org-move-item-up): Fix the bug with moving white space at the end
6608         of the item.
6609         (org-show-empty-lines-in-parent): New function.
6611 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6613         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6615         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6617         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6618         agenda prefix as well.
6620         * org-publish.el (org-publish-org-index): Make a properly indented
6621         list.
6623         * org.el (org-calendar-agenda-action-key): New option.
6624         (org-get-cursor-date): New function.
6625         (org-mark-entry-for-agenda-action): New command.
6626         (org-overriding-default-time): New variable.
6627         (org-read-date): Respect `org-overriding-default-time'.
6629         * org-remember.el (org-remember-apply-template): Respect the
6630         ovverriding default time.
6632         * org-agenda.el (org-agenda-action-marker): New variable.
6633         (org-agenda-action): New command.
6634         (org-agenda-do-action): New function.
6636 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6638         * org.el (org-schedule, org-deadline): Protect scheduled and
6639         deadline tasks against changes that accidently remove the
6640         repeater.  Also show a message with the new date when done.
6642 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6644         * org.el (org-beginning-of-line): Cater for the case when there
6645         are tags but no headline text.
6646         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6647         it set.
6649 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6651         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6652         the return value is nil instead of "nil" when there is no match.
6654         * org-exp.el (org-insert-centered): Use fill-column instead of
6655         80.
6656         (org-export-as-ascii): Use string-width to measure the width of
6657         the heading.
6659         * org.el (org-diary-to-ical-string): No longer kill buffer
6660         FROMBUF, this is now done by the caller.
6662         * org-exp.el (org-print-icalendar-entries): Move the call to
6663         `org-diary-to-ical-string' out of the loop, and kill the buffer
6664         afterwords.
6666         * org-remember.el (org-remember-visit-immediately): Position
6667         cursor after moving to the note.
6668         (org-remember-apply-template): Use a text property to record the
6669         cursor position.
6670         (org-remember-handler): Align tags after pasting the note.
6672 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6674         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6676         * org-agenda.el (org-agenda-open-link): If there is an
6677         org-bbdb-name property in the current line, jump to that bbdb
6678         entry.
6680         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6681         text property, so that the agenda knows where this entry comes
6682         from.
6684         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6685         interaction between clocking-in from the agenda, and  automatic
6686         task state switching.
6688         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6690         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6691         zmacs-region stays after this command in XEmacs.
6693 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6695         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6697         * org-remember.el (org-remember-templates): Fix bug in
6698         customization type definition.
6700         * org.el (org-map-entries): New function.
6702 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6704         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6705         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6707 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6709         * org-remember.el (org-jump-to-target-location): New variable.
6710         (org-remember-apply-template): Set
6711         `org-remember-apply-template' if requested by template.
6712         (org-remember-handler): Start an idle timer to jump to
6713         remember location.
6715         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6717         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6718         file tags.
6719         (org-get-tags-at): Add the content of `org-file-tags'.
6721         * org-exp.el (org-export-handle-comments): Fix bug with several
6722         comment lines after each other.
6723         (org-number-to-roman, org-number-to-counter): New functions.
6724         (org-export-section-number-format): New option.
6726 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6728         * org-exp.el (org-export-protect-examples): Catch the case of a
6729         missing end_example line.
6731         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6732         `org-file-tags' to nil.
6734         * org-colview.el (org-columns-next-allowed-value): Handle next
6735         argument NTH to directly select a value.
6737         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6738         argument NTH to directly select a value.
6740 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6742         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6744 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6746         * org.el (org-columns-ellipses): New option.
6748 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6750         * org-colview.el (org-columns-add-ellipses): New function.
6751         (org-columns-compact-links): New function.
6752         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6753         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6754         when in agenda.
6755         (org-columns-edit-value): Fixed bug with editing values from
6756         agenda column view.
6757         (org-columns-redo): Also redo the agenda itself.
6759 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6761         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6762         option.
6764         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6766         * org-exp.el (org-export-ascii-preprocess): Renamed from
6767         `org-export-ascii-clean-string'.
6768         (org-export-kill-licensed-text)
6769         (org-export-define-heading-targets)
6770         (org-export-handle-invisible-targets)
6771         (org-export-target-internal-links)
6772         (org-export-remove-or-extract-drawers)
6773         (org-export-remove-archived-trees)
6774         (org-export-protect-quoted-subtrees)
6775         (org-export-protect-verbatim, org-export-protect-examples)
6776         (org-export-select-backend-specific-text)
6777         (org-export-mark-blockquote-and-verse)
6778         (org-export-remove-comment-blocks-and-subtrees)
6779         (org-export-handle-comments, org-export-mark-radio-links)
6780         (org-export-remove-special-table-lines)
6781         (org-export-normalize-links)
6782         (org-export-concatenate-multiline-links)
6783         (org-export-concatenate-multiline-emphasis): New functions,
6784         obtained from spliiting the export preprocessor.
6786         * org-table.el (org-table-recalculate): Improve error message if
6787         the row number is invalid.
6789 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6791         * org-archive.el (org-archive-save-context-info): Fix bugs in
6792         customization setup and docstring.
6794         * org-exp.el (org-export-html-style): Changed the size of in the
6795         <pre> element to 90%.
6797 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6799         * org.el (org-find-src-example-start): Function removed.
6800         (org-edit-src-find-region-and-lang): New function.
6802 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6804         * org.el (org-edit-src-exit): New function.
6805         (org-exit-edit-mode): New minor mode.
6807         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6808         comment-like lines from protected examples.
6810         * org.el (org-edit-src-example, org-find-src-example-start)
6811         (org-protect-source-example, org-edit-special): New functions.
6813 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6815         * org-publish.el (org-publish-project-alist): Fix typo in
6816         docstring.
6817         (org-publish-project-alist): Handle :index-title property.
6819 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6821         * org-export-latex.el (org-export-as-latex): Make sure region
6822         bounds are correct.  Parse subtree properties relating to export.
6824         * org-exp.el (org-export-add-options-to-plist): New function.
6825         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6827 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6829         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6830         EXPORT_TITLE.
6832         * org-exp.el (org-export-get-title-from-subtree)
6833         (org-export-as-ascii, org-export-as-html): Make sure the original
6834         region-beginning and region-end are used, even after moving
6835         point.
6836         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6837         property.
6839         * org-remember.el (org-remember-last-stored-marker): New variable.
6840         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6841         (org-remember-handler): Also use marker to remember
6842         last-stored position.
6844         * org.el (org-goto-marker-or-bmk): New function.
6846 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6848         * org.el (org-file-properties): Renamed from `org-local-properties'.
6849         (org-scan-tags): Take file tags into account.
6850         (org-tags-match-list-sublevels): Default changed to t.
6852         * org-exp.el (org-export-as-html): Close paragraph after a
6853         footnote.
6855         * org.el (org-update-parent-todo-statistics): New function.
6857         * org-exp.el (org-icalendar-store-UID): New option.
6858         (org-icalendar-force-UID): Option removed.
6859         (org-print-icalendar-entries): IMplement UIDs.
6861 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6863         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6865 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6867         * org-faces.el (org-column): Document how this face is being used
6868         and why sometimes the background faces shine through.
6870         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6872         * org-publish.el (org-publish-attachment): Create publishing
6873         directory if it does not yet exist.
6875         * org-table.el (org-calc-default-modes): Change default number
6876         format to (float 8).
6878         * org.el (org-olpath-completing-read): New function.
6879         (org-time-clocksum-format): New option.
6880         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6882         * org-clock.el (org-clock-display, org-clock-out)
6883         (org-update-mode-line): Use `org-time-clocksum-format'.
6885         * org-colview-xemacs.el (org-columns-number-to-string): Use
6886         `org-time-clocksum-format'.
6888         * org-colview.el (org-columns-number-to-string): Use
6889         `org-time-clocksum-format'.
6891 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6893         * org-id.el: New file, move from contrib to core.
6895         * org-exp.el (org-icalendar-force-UID): New option.
6897 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6899         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6900         shifted by one day if theere is a date range without an end
6901         time.
6903         * org.el (org-try-structure-completion): New function.
6905 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6907         * org.el (org-set-font-lock-defaults): Improve fontification of
6908         description lists.
6909         (org-insert-item): Handle description lists.
6910         (org-adaptive-fill-function): Improve auto indentation in
6911         description lists.
6913         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6914         Implement VERSE environment.
6915         (org-export-preprocess-string): Implement the COMMENT
6916         environment.
6918         * org-export-latex.el (org-export-latex-preprocess): Implement
6919         VERSE environment.
6921 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6923         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6924         option.
6926 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6928         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6930         * org.el (org-quote-csv-field): New functions.
6932         * org-table.el (org-table-export-default-format): Remove :splice
6933         from default format, we get the same effect by not specifying
6934         :tstart and :tend.
6935         (org-table-export): Improve setup, distinguish better between
6936         interactive and non-interactive use, allow specifying the format
6937         on the fly, better protection against wrong file names.
6938         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6939         and :tend when :splice is omitted.
6941 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6943         * org-clock.el (org-clock-select-task): Make sure the selection
6944         letters are 1-9 and A-Z, no special characters.
6946 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6948         * org-exp.el (org-export-htmlize): New group.
6949         (org-export-htmlize-output-type)
6950         (org-export-htmlize-css-font-prefix): New options.
6951         (org-export-htmlize-region-for-paste): New function.
6952         (org-export-htmlize-generate-css): New command.
6954 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6956         * org/org.el (org-modules, org-format-latex-options):
6957         * org/org-archive.el (org-archive-stamp-time)
6958         (org-archive-save-context-info):
6959         * org/org-faces.el (org-hide):
6960         * org/org-irc.el (org-irc-parse-link):
6961         * org/org-macs.el (org-call-with-arg, org-autoload):
6962         * org/org-mew.el (org-mew-store-link):
6963         * org/org-remember.el (org-remember-store-without-prompt)
6964         (org-remember-templates): Fix typos in docstrings.
6966         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6968         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6969         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6970         (org-bbdb-anniv-split): Fix typos in docstrings.
6972         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6973         (org-publish-use-timestamps-flag): Reflow docstring.
6974         (org-publish-files-alist): Fix typos in docstring.
6976 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6978         * org.el (org-set-visibility-according-to-property): New function.
6979         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6980         and compute the regular expressions, and update font-lock.
6981         (org-property-re): Allow a dash in property names.
6983         * org-archive.el (org-extract-archive-file): Insert the file name
6984         without the path into the format, to allow the location format to
6985         contain a subdirectory.
6987         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6988         of buffer, and the `org-agenda-type' property undefined, use the
6989         value from the character before.
6991         * org.el (org-add-planning-info): Don't let indentation for
6992         would-be timestamp become extra whitespace at the end of headline.
6994 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6996         * org.el (org-remove-double-quotes, org-file-contents): New
6997         functions.
6999         * org-exp.el (org-infile-export-plist): Also parse the
7000         contents of #+SETUPFILE files, recursively.
7002         * org.el (org-set-regexps-and-options): Also parse the
7003         contents of #+SETUPFILE files, recursively.
7005         * org-exp.el (org-export-handle-include-files): New function.
7006         (org-export-preprocess-string): Call
7007         `org-export-handle-include-files'.
7009         * org.el (org-delete-property-globally)
7010         (org-delete-property, org-set-property): Ignore case during
7011         completion.
7012         (org-set-property): Use `org-completing-read' instead of
7013         `completing-read'.
7015         * org.el (org-complete-expand-structure-template): New,
7016         experimental function.
7017         (org-structure-template-alist): New, experimental option.
7018         (org-complete): Call `org-complete-expand-structure-template'.
7020 2008-05-06  Bastien Guerry  <bzg@altern.org>
7022         * org-export-latex.el (org-export-latex-preprocess): Added
7023         support for blockquotes.
7025 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7027         * org.el (org-read-date-analyze): Catch the case where only a
7028         weekday is given.
7030 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7032         * org.el (org-set-font-lock-defaults): Make the description
7033         tag bold.
7035         * org-exp.el (org-export-as-html, org-close-li): Implement
7036         description lists.
7038 2008-05-04  Jason Riedy  <jason@acm.org>
7040         * org-table.el (*orgtbl-default-fmt*): New variable.
7041         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7042         when there is no other fmt available.
7044         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7045         :tend to suppress the appropriate string.
7047         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7048         table.
7050 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7052         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7053         read date.
7055         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7056         New function.
7058         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7059         New function.
7061 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7063         * org-clock.el (org-clock-find-position): Don't include notes
7064         into clock drawer.
7066         * org-archive.el (org-archive-subtree): No longer remove an
7067         extra line after cutting the subtree.  `org-cut-subtree' already
7068         takes care of this.
7070         * org-remember.el (org-remember-handler): Only kill the target
7071         buffer if it does not contain the running clock.
7073         * org.el (org-markers-to-move): New variable.
7074         (org-save-markers-in-region, org-check-and-save-marker)
7075         (org-reinstall-markers-in-region): New function.
7076         (org-move-subtree-down, org-copy-subtree): Remember relative
7077         marker positions before cutting.
7078         (org-move-subtree-down, org-paste-subtree): Restore relative
7079         marker positions after pasting.
7081         * org-remember.el (org-remember-clock-out-on-exit): New option.
7082         (org-remember-finalize): Clock out only if the setting in
7083         `org-remember-clock-out-on-exit' requires it.
7084         (org-remember-handler): Do the cleanup in the buffer, to make sure
7085         that the clock marker remains in tact.
7087 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7089         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7090         (org-clock-in): Make sure that also tasks outside the narrowed
7091         region will be clocked in correctly.
7092         (org-clock-insert-selection-line): Widen the buffer so that we can
7093         find the correct task heading.
7095         * org.el (org-base-buffer): New function.
7097         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7098         and ";" are escaped.
7099         (org-print-icalendar-entries): Also apply
7100         `org-icalendar-cleanup-string' to the headline, not only to the
7101         summary property.
7103 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7105         * org-exp.el (org-export-preprocess-hook): New hook.
7106         (org-export-preprocess-string): Call
7107         `org-export-preprocess-hook'.
7109         * org.el (org-font-lock-hook): New variable.
7110         (org-font-lock-hook): New function.
7111         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7113 ;; Local Variables:
7114 ;; coding: utf-8
7115 ;; add-log-time-zone-rule: t
7116 ;; End:
7118     Copyright (C) 2008  Free Software Foundation, Inc.
7120   This file is part of GNU Emacs.
7122   GNU Emacs is free software: you can redistribute it and/or modify
7123   it under the terms of the GNU General Public License as published by
7124   the Free Software Foundation, either version 3 of the License, or
7125   (at your option) any later version.
7127   GNU Emacs is distributed in the hope that it will be useful,
7128   but WITHOUT ANY WARRANTY; without even the implied warranty of
7129   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7130   GNU General Public License for more details.
7132   You should have received a copy of the GNU General Public License
7133   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7135 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c