New function `org-diary-schedule' to schedule classes with skipped weeks.
[org-mode.git] / lisp / ChangeLog
blob8da500c15ab1c7d66fdc2d0917a2b8f8111705ca
1 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-agenda.el (org-diary-class): New function.
5 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
7         * org-latex.el (org-export-latex-preprocess): Do process the text
8         of a radio target.
10 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
12         * org.el (org-entry-properties): Add TIMESTAMP properties back
13         in.
15 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
17         * org.el (org-all-time-keywords): New variable.
18         (org-set-regexps-and-options): Set `org-all-time-keywords'.
19         (org-entry-blocked-p): New function.
20         (org-special-properties): Add BLOCKED as a new special property.
21         (org-entry-properties): New optional argument SPECIFIC, only parse
22         for this property when it is specified.
23         (org-entry-get): Pass a SPECIFIC argument to
24         `org-entry-properties'.
26         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
28 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
30         * org-latex.el (org-export-latex-tables): No forced line end if
31         there is no caption.
33 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
35         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
36         package.
38         * org-latex.el (org-export-latex-tables): Only add a caption when
39         macro in in longtable environments if one has been defined.
41         * org-html.el (org-export-as-html): Only take title from buffer if
42         not exporting body-only.
44         * org-latex.el (org-export-latex-preprocess): Better version of
45         the regular expression for protecting LaTeX macros.
46         (org-export-latex-preprocess): Start searching for macros to
47         protect from beginning of buffer.
49         * org-exp.el (org-export-target-internal-links): Check for
50         protectedness earlier in the string.
52         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
53         case sensitively.
55         * org-id.el (org-id-store-link): Match TODO keywords case
56         sensitively.
58         * org.el (org-heading-components, org-get-outline-path)
59         (org-display-outline-path): Match TODO keywords case sensitively.
61         * org-latex.el (org-export-as-latex): Ignore read-only
62         properties.
64         * org-exp.el (org-export-preprocess-string): Remove any
65         `read-only' properties.
67         * org-agenda.el (org-agenda-inactive-leader): New option.
68         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
69         (org-tags-view): Prompt for matcher if MATCH is an empty string.
70         (org-todo-list): Prompt for matcher if ARG is an empty string.
72 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
74         * org.el (org-open-link-functions): New hook.
75         (org-open-at-point): Run `org-open-link-functions'.
77 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
79         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
80         stamps as well.
82         * org.el (org-inhibit-startup-visibility-stuff): New variable.
83         (org-mode): Don't do startup visibility if inhibited.
84         (org-outline-overlay-data, org-set-outline-overlay-data): New
85         functions.
86         (org-save-outline-visibility): New macro.
87         (org-log-note-headings): Document that one should not change the
88         `state' note format.
90 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
92         * org.el (org-make-link-regexps): Capture link path into a group.
94 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
96         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
97         the options plist.
99 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
101         * org.el (org-startup-with-beamer-mode): New option.
102         (org-property-changed-functions)
103         (org-property-allowed-value-functions): New hooks.
104         (org-entry-put, org-property-get-allowed-values): Run the new
105         hooks.
106         (org-property-next-allowed-value): Run the new hooks.
108         * org-exp.el (org-export-select-backend-specific-text): Add the
109         special beamer tags.
111         * org-beamer.el
112         (org-export-preprocess-before-selecting-backend-code-hook): New
113         file.
115         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
116         (org-export-as-latex): Run
117         `org-export-latex-after-initial-vars-hook'.
118         (org-export-latex-format-toc-function)
119         (org-export-latex-make-header): Call
120         `org-export-latex-format-toc-function'.
122         * org.el (org-fill-template): Make template searches case sensitive.
124         * org-exp.el (org-export): Use "1" as a sign to export only the
125         subtree.
127         * org-colview-xemacs.el (org-columns-edit-value): Use
128         org-unrestricted property.
130         * org-colview.el (org-columns-edit-value):  Use
131         org-unrestricted property.
133         * org.el (org-compute-property-at-point): Set org-unrestricted
134         text property if the list contains ":ETC".
135         (org-insert-property-drawer):  Use
136         org-unrestricted property.
138         * org-exp.el
139         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
140         (org-export-preprocess-string): Run
141         `org-export-preprocess-before-selecting-backend-code-hook'.
143         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
145         * org-latex.el (org-export-region-as-latex): Run
146         `org-export-first-hook'.
148         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
150         * org-docbook.el (org-export-as-docbook): Run
151         `org-export-first-hook'.
153         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
155         * org-exp.el (org-export-first-hook): New hook.
157 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
159         * org-list.el (org-previous-item): Exit at the beginning of the
160         buffer.
162         * org-id.el (org-id-locations-save): Only write the id locations
163         if any are defined.
165         * org-archive.el (org-archive-all-done): Make this work in a file
166         with org-odd-levels-only set.
168         * org.el (org-get-refile-targets): Catch the case when a buffer
169         has no file.
171         * org-latex.el (org-export-as-latex): Cleanup forced line ends
172         where they are not needed.
173         (org-export-latex-subcontent): Remove unnecessary newlines.
175 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
177         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
178         (org-export-latex-fontify): Fix regexp bug that takes special
179         care of protecting the right boundary characters in emphasis
180         matches.
181         (org-export-latex-preprocess): Allow multiple arguments to latex
182         macros.
184         * org.el (org-make-link-regexps): Use John Gruber's regexp for
185         urls.
187         * org-macs.el (org-re): Interpret :punct: in regexps.
189         * org-exp.el (org-export-replace-src-segments-and-examples): Also
190         take the final newline after the END line.
192         * org.el (org-clean-visibility-after-subtree-move): Only fix
193         entries that are not entirely invisible already.
194         (org-insert-link): Respect org-link-file-path-type for
195         "docview:" links in addition to "file:" links.
197 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
199         * org-exp.el (org-export-format-source-code-or-example): Avoid
200         additional extra white lines in LaTeX.
202         * org-list.el (org-list-parse-list): Leave empty lines after the
203         list, don't consider them as part of the list.
205         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
206         searches.
208         * org-clock.el (org-clock-select-task): Convert integer to
209         character for XEmacs.
211 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
213         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
214         compatible.
216 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
218         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
219         variable.
220         (org-set-tags): Use it.
222 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
224         * org-list.el (org-empty-line-terminates-plain-lists): Update
225         docstring.
227         * org.el (org-format-latex): Fix link creation for processed latex
228         snippets.
230 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
232         * org-footnote.el (org-footnote-normalize): Protect replacement
233         text.
235         * org.el (org-inside-latex-macro-p): Save match data.
237 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
239         * org-docview.el: New file.
241 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
243         * org-latex.el (org-export-latex-class-options): New variable.
244         (org-export-latex-set-initial-vars): Use the class options.
246         * org.el (org-forward-same-level): Stop at headings that start
247         with an invisible character.
248         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
250 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
252         * org-footnote.el (org-footnote-normalize): Don't take optional
253         arguments in LaTeX macros as footnotes.
255         * org.el (org-inside-latex-macro-p): New function.
257         * org-latex.el (org-latex-to-pdf-process): Change customization
258         group to `org-export-pdf'.
260         * org-agenda.el (org-agenda-get-blocks): Look at time string also
261         on days after the first one.
263         * org.el (org-insert-heading): Also check for item before assuming
264         before-first-heading condition.
266         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
267         (org-export-pdf-logfiles): New option.
268         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
269         (org-export-pdf-logfiles): Fix customization type.
271         * org.el (org-insert-link): Improve error message when there is no
272         default link to select with RET.
274         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
275         parameter list.
277 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
279         * org-latex.el (org-export-latex-parse-global)
280         (org-export-latex-parse-content)
281         (org-export-latex-parse-subcontent): Use
282         `org-re-search-forward-unprotected'.
283         (org-export-as-pdf): Remove log files produced by XeTeX.
285         * org-macs.el (org-re-search-forward-unprotected): New function.
287 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
289         * org-colview.el (org-agenda-colview-summarize): Sort out some
290         confusion between properties and titles, which resulted in
291         agenda summaries not working if a title was set for a column.
293 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
295         * org-mobile.el (org-mobile-agendas): New option.
296         (org-mobile-sumo-agenda-command): Select the right agendas.
298         * org-latex.el (org-export-latex-format-image): Preserve the
299         original-indentation property.
301 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
303         * org-clock.el (org-clock-insert-selection-line): Catch error when
304         an old tasks no longer exists.
306         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
307         (org-export-as-pdf): Don't remove the old PDF file before making
308         the new one.
310         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
311         (org-mouse-context-menu): Use `org-looking-back'.
313         * org.el (org-cycle-level): Use `org-looking-back'.
315         * org-list.el (org-cycle-item-indentation): Use
316         `org-looking-back'.
318         * org-compat.el (org-looking-back): New function.
320         * org.el (org-insert-heading): Catch before-first-headline when
321         inserting a headline.
323 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
325         * org-latex.el (org-export-latex-format-image): Indent figure
326         environment, so that it does not interrupt plain list.
328         * org.el (org-open-at-point): Allow long link descriptions.
330 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
332         * org-html.el (org-export-as-html): Remove empty lines at the
333         beginning of the exported text.
335 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
337         * org-protocol.el (org-protocol-remember): Cater for empty title,
338         region, link.
340         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
341         agenda after adding new entry.
342         (org-agenda-get-represented-tags): New function.
343         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
344         to get a list of tags in the agenda.
346         * org-datetree.el (org-datetree-find-day-create): Fix regular
347         expression.
349         * org.el (org-display-outline-path): Use a format specifier for
350         message, to avoid problems with heading containing `%'.
352         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
353         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
354         (org-agenda-fix-displayed-tags): New function.
355         (org-agenda-do-context-action): Just call
356         `org-display-outline-path', without piping the result through
357         `message'.
359         * org-latex.el (org-export-latex-preprocess): Protect secondary
360         footnote references.
362         * org-indent.el (org-indent-initialize): Avoid empty strings as
363         line prefixes.
365         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
366         hat checking for the mark does not throw an error.
367         (org-agenda-diary-entry-in-org-file): Catch the case that there is
368         not `day' text property in the cursor line.
370         * org.el (org-sort-entries-or-items): Make sure that the final
371         entry has a newline before doing the sorting.
373         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
374         property at the beginning of the line.
376         * org.el (org-make-link-string): Don't allow a description with
377         only white space.
379 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
381         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
382         (org-agenda-insert-diary-as-top-level): New function.
383         (org-agenda-add-entry-to-org-agenda-diary-file): Call
384         `org-agenda-insert-diary-as-top-level'.
386         * org.el (org-occur-in-agenda-files): Make sure none of the
387         buffers is narrowed.
388         (org-activate-plain-links): Add the face property here.
389         (org-set-font-lock-defaults): Do not add the face to plain links,
390         the activator function does this.
392         * org-habit.el (org-is-habit-p): Add doc string.
394 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
396         * org-archive.el (org-archive-subtree-default-with-confirmation):
397         Autoload.
399         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
400         after match optional (happens at the end of a line...).
402         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
403         for special blocks.
405         * org-faces.el (org-copy-face): Set lisp indentation.
406         (org-quote, org-verse): New faces.
408         * org-agenda.el (org-agenda-remove-date): Remove variable.
410 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
412         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
414 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
416         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
417         hash keys to cache and re-use images generated by the
418         org-exp-blocks interface to ditaa and dot.
420 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
422         * org-html.el (org-export-as-html): Move the home/up link into
423         the content div.
425         * org.el (org-export-latex-packages-alist): Option definition
426         moved here from org-latex.el.
428 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
430         * org.el (org-format-latex): Latex images are now saved to files
431         named by the sha1 hash of the latex source text avoiding
432         regeneration of identical images.
434 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org-html.el (org-export-html-home/up-format): Add an ID to the
437         up/home div.
439 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
441         * org-wl.el (org-wl-store-link): Handle the case that
442         `wl-use-petname' is set.
444         * org.el (org-set-effort): Improve prompt.
445         (org-get-outline-path): Widen to get full path.
446         (org-compact-display-after-subtree-move): Function removed.
448         * org-latex.el (org-export-as-latex): Add the :drawers property.
450 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
452         * org.el (org-speed-commands-user): Allow documentation headlines.
453         (org-speed-commands-default): Organize the value of this constant
454         with descriptive headlines.
455         (org-print-speed-command): Output the headlines.
457 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
459         * org-agenda.el (org-agenda-show-outline-path): New option.
460         (org-agenda-do-context-action): New function.
461         (org-agenda-next-line, org-agenda-previous-line): Use
462         `org-agenda-do-context-action'.
464         * org.el (org-use-speed-commands): Allow function value.
465         (org-speed-commands-default): Make headline motion safe, so that
466         these commands always end on a headline.
467         (org-speed-commands-default): New key `v' for `org-agenda'.
468         (org-speed-move-safe): New function.
469         (org-self-insert-command): Use the function value of
470         `org-use-speed-commands'.
471         (org-get-outline-path): Improve docstring.
472         (org-format-outline-path): New function.
473         (org-display-outline-path): New function.
475 2009-11-12  John Wiegley  <jwiegley@gmail.com>
477         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
478         a string, use that to find the LOGBOOK drawer.
480 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
482         * org.el (org-clone-subtree-with-time-shift): Make it work at the
483         end of the buffer.
485         * org-mobile.el (org-mobile-write-checksums): Specify coding
486         system.
487         (org-mobile-timestamp-buffer): Keep local variable/mode line at
488         beginning of buffer.
490         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
492         * org.el (org-block-todo-from-children-or-siblings-or-parent)
493         (org-block-todo-from-checkboxes): Do not block changes to a nil
494         TODO state.
496 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
498         * org-habit.el (org-habit-parse-todo): Indicate which habit is
499         wrongly set up in the error messages.
501         * org-colview.el (org-columns-display-here): Don't try to
502         calculate values if the underlying property is not set.
503         (org-columns-string-to-number): Convert age strings back into
504         fractional days.
505         (org-agenda-colview-summarize): Handle extended summary types
506         properly.
508         * org-colview-xemacs.el (org-columns-display-here): Don't try to
509         calculate values if the underlying property is not set.
510         (org-columns-string-to-number): Convert age strings back into
511         fractional days.
512         (org-agenda-colview-summarize): Handle extended summary types
513         properly.
515 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
517         * org-exp.el (org-export-format-drawer-function): New variable.
518         (org-export-format-drawer): New function.
519         (org-export-preprocess-string): Pass the backend as a parameter to
520         `org-export-remove-or-extract-drawers'.
521         (org-export-remove-or-extract-drawers): New parameter BACKEND.
523         * org-protocol.el (org-protocol-char-to-string): New defsubst.
525 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
527         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
528         message when no block is selected.
530         * org-latex.el (org-export-latex-links): Check for protectedness
531         in the last matched character, not after the match.
533         * org-datetree.el (org-datetree-find-date-create): Respect
534         restriction when KEEP-RESTRICTION is set.
535         (org-datetree-file-entry-under): New function.
536         (org-datetree-cleanup): New command.
538 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
540         * org-src.el (org-edit-src-code): New optional argument context
541         allows calling functions to avoid altering the saved window
542         configuration.
543         (org-edit-src-exit): Do not restore window configuration when this
544         function is used in the context of saving the edit buffer.
546 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
548         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
549         instances to switching to with-current-buffer, because these seem
550         to cause problems - no idea why.
552         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
553         Require diary-lib for (diary-date-display-form).
555         * org.el (org-log-reschedule, org-log-redeadline): New options.
556         (org-log-note-headings): Add templates for rescheduling and
557         deadline changing.
558         (org-startup-options): Add in-buffer settings for logging changing
559         schedule and deadline time stamps.
560         (org-deadline, org-schedule): Check for existing date and arrange
561         for logging if the user requests it.
562         (org-add-log-note): Prepare proper note buffers for rescheduling
563         and deadline changes.
565 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
567         * org-agenda.el (org-agenda-diary-entry-in-org-file)
568         (org-agenda-add-entry-to-org-agenda-diary-file)
569         (org-agenda-insert-diary-make-new-entry): New functions.
570         (org-agenda-diary-entry): Call
571         `org-agenda-diary-entry-in-org-file' when appropriate.
573         * org.el (org-calendar-insert-diary-entry-key): New option.
574         (org-agenda-diary-file): New option.
575         ("calendar"): Install our insertion function in the calendar.
577         * org-remember.el (org-datetree): Require.
578         (org-remember-templates): Add new positioning option.
579         (org-remember-reference-date): New variable.
580         (org-remember-apply-template): Store the reference date in a local
581         variable.
582         (org-remember-handler): Implement date tree positioning of entries.
584         * org-datetree.el: New file.
586         * org-latex.el (org-export-latex-preprocess): Protect targets in
587         verbatim emphasis.
589         * org-html.el (org-export-as-html): Protect targets in verbatim
590         emphasis.
592         * org-docbook.el (org-export-as-docbook): Protect targets in
593         verbatim emphasis.
595 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
597         * org.el (org-link-display-format): Should be literal replacement.
599 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
601         * org-clock.el (org-show-notification): Handle messages that
602         contain a percent character.
604         * org-remember.el (org-remember-apply-template): Turn of partial
605         completion.
607         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
608         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
610         * org.el (org-indent-mode): Define variable already in org.el.
611         (org-unfontify-region): Remove line-prefix and wrap-prefix
612         properties only if org-indent-mode is active.
614 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
616         * org-icalendar.el (org-print-icalendar-entries): Save match data
617         around call to verify function.
618         (org-print-icalendar-entries): Add a call to the verification
619         function.
621         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
622         save-restrivtion' form.
624 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
626         * org-exp.el (org-export-format-source-code-or-example): restrict
627         scope of preserve-indentp to the let binding.
628         (org-src): require org-src, since org-src-preserve-indentation is used.
630 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
632         * org-timer.el (org-timer-set-timer): Set variables
633         org-timer-timer[123] correctly.
636         * org-mobile.el (org-mobile-files-alist): Make it work when
637         `agenda-archives' is included in
638         `org-agenda-text-search-extra-files'.
639         (org-mobile-push): Restore agenda after mobile push.
641 2009-11-05  John Wiegley  <jwiegley@gmail.com>
643         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
644         way the amount of idle time is presented in the minibuffer.
646 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
648         * org-icalendar.el (org-print-icalendar-entries): Use
649         org-icalendar-verify-function only if non-nil.
651         * org.el (org-refile): Refile to clock only if the prefix arg is
652         2.
653         (org-sparse-tree): Fix docstring to be in line with prompt.
654         (org-update-parent-todo-statistics): Call
655         `org-after-todo-statistics-hook' on each level.
657 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
659         * org-remember.el (org-remember-apply-template): Make sure the
660         buffer exists.
662 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
664         * org.el (org-tab-ind-state): New variable.
665         (org-cycle-level): New function.
666         (org-cycle-level-after-item/entry-creation): New option.
667         (org-flag-subtree): New function.
668         (org-hide-archived-subtrees): Call `org-flag-subtree'.
669         (org-set-effort): Indexed access.
671         * org-list.el (org-cycle-item-indentation): New function.
673         * org.el (org-refile): Make prefix argument 2 refile to current
674         clock.
675         (org-priority): Interpret action `remove' as call to remove the
676         priority cookie.
678         * org-remember.el (org-remember-apply-template): Don't depend on
679         buffer name being like file name.
681 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
683         * org-clock.el (org-clock-play-sound): Expand file in
684         org-clock-sound, to allow ~ for home.
686         * org-remember.el (org-remember-handler): Set
687         text-before-node-creation even if this already looks like a node,
688         because the string might be needed on non-org-mode target files.
690         * org-agenda.el (org-agenda-open-link): Make this work in agenda
691         clocktables.
692         (org-agenda-switch-to): Follow a link at point if
693         org-return-follows-link' is set and there is nothing else to do in
694         this line.
696 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
698         * org-colview-xemacs.el: Add in changes from org-colview.el
700 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
702         * org-exp-blocks.el: Modify split separator regexp to avoid empty
703         strings.
705 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
707         * org-colview.el (org-columns-new): Make this work with the new
708         operators.
709         (org-columns-store-format): Make this work with the new operators.
711 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
713         * org-src.el (org-src-preserve-indentation): Document that this
714         variable is also used during export.
716         * org-exp.el (org-export-format-source-code-or-example): Preserve
717         indentation if a block has a -i option, or if
718         `org-src-preserve-indentation' is set.
720         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
721         indentation if a block has a -i option, or if
722         `org-src-preserve-indentation' is set.
724 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
726         * org.el (org-mode-map): Define the new archiving keys.
727         (org-speed-commands-default): Define an archiving key in the speed
728         command map.
729         (org-org-menu): Improve the menu structure concerning archiving.
731         * org-archive.el (org-archive-subtree-default-with-confirmation):
732         New command.
734         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
735         (org-agenda-menu): Add the new archiving commands to the menu.
736         (org-agenda-archive-default)
737         (org-agenda-archive-default-with-confirmation): New commands.
738         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
739         call `org-agenda-archive-with'.
740         (org-agenda-archive-with): New function.
742         * org-table.el (org-table-convert-region): Inert spaces around "|"
743         to avoid line beginnings like "|-1" which will be mistaken as
744         hlines.
746 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
748         * org.el (org-offer-links-in-entry): Return nil if there are no
749         links, t if a link has been selected.
750         (org-open-at-point): Open attachment directory when called in the
751         headline and there are no links in the entry body.
752         (org-speed-commands-default): Add "o" for open-at-point as a speed
753         command.
755         * org-attach.el (org-attach-reveal): Optional prefix arg
756         IF-EXISTS, which avoids creating the attachment directory if it
757         does not yet exist.
759         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
760         MATCH.
762 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
764         * org.el ("abbrev"): Work with abbrev tables only after they have
765         been loaded.
767         * org-list.el (org-list-send-list): Fix bug related to match
768         data.
770         * org-latex.el (org-export-latex-fontify): Apply verbatim
771         emphasis.
772         (org-export-latex-make-header): Insert \obeylines if line breaks
773         should be preserved.
775         * org-exp.el (org-export-protect-verbatim): Add an
776         `org-verbatim-emph' property to such text.
778 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
780         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
781         (org-print-icalendar-entries): Skip entries where the timestamp is
782         not a deadline and not scheduled, if the user requests that.
784         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
785         before an opening quote.
787         * org-archive.el (org-archive-subtree): Keep archive after
788         archiving something.
790         * org-id.el (org-id-update-id-locations): Add archive files if
791         that is required by `org-id-extra-files'.
793 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
795         * org-src.el (org-src-window-setup): New option.
796         (org-src-switch-to-buffer): New function.
797         (org-edit-src-exit): Add optional argument CONTEXT and use it to
798         restore window configuration.
799         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
800         Call `org-src-switch-to-buffer'.
802         * org.el (org-default-properties): Add STYLE property.
803         (org-files-list): Use the function call to get the files.
804         (org-additional-option-like-keywords): Add SETUPFILE to completion
805         list.
807 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
809         * org-table.el (org-table-convert-region): Correctly interpret
810         quoting in csv import.
812         * org.el (org-icompleting-read): Make iswitchb completion work
813         with lists and tables.
815         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
816         while pushing the mobile agenda.
818 2009-10-25  John Wiegley  <jwiegley@gmail.com>
820         * org-clock.el
821         (org-clock-auto-clock-resolution): Now takes three values: nil, t
822         and `when-no-clock-is-running'.
823         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
824         whether or not to resolve Org buffers on clock in.
826 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
828         * org-colview.el (org-format-time-period): Function to format
829         times in fractional days for display.
830         (org-columns-display-here): Add support for showing a calculated
831         value in place of the property.
832         (org-columns): Set `org-columns-time' to the current time so time
833         difference calculations will work.
834         (org-columns-time): Use to store the current time when column view
835         is displayed, so all time differences will use the same reference
836         point.
837         (org-columns-compile-map): There is now an extra position in each
838         entry specifying the function to use to calculate the displayed
839         value for the non-calculated properties in the column,
840         (org-columns-compute-all): Set `org-columns-time' to the current
841         time so time difference calculations will work.
842         (org-columns-compute): Handle column operators where the values
843         used are calculated from the underlying property.
844         (org-columns-number-to-string): Handle the 'age' column format
845         (org-columns-string-to-number): Correct the function name (was
846         org-column...). Add support for the 'age' column format.
847         (org-columns-compile-format): Support the additional parameter in
848         org-columns-compile-map.
850 2009-10-26  Bastien Guerry  <bzg@altern.org>
852         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
853         variable.
855 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
857         * org-clock.el (org-clock-has-been-used): New variable.
858         (org-clock-in): Set `org-clock-has-been-used'.
859         (org-clock-save): Save only if clock data has been used or created
860         during this session.
862 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
864         * org-clock.el (org-clock-persist): New value, to store only the
865         clock history.
866         (org-clock-save): Don't save the clock if only the history should
867         be stored.
868         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
869         when restoring a saved clock.
871 2009-10-24  John Wiegley  <jwiegley@gmail.com>
873         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
874         `org-time-clock-use-fractional'.
876         * org.el (org-time-clocksum-use-fractional)
877         (org-time-clocksum-fractional-format): Two new customizable
878         variables which allow the user to select fractional times (1.25
879         instead of 1:25) in the `org-clock-display' report.
881 2009-10-23  John Wiegley  <jwiegley@gmail.com>
883         * org-habit.el (org-habit-build-graph): None of the arguments
884         should be optional.
885         (org-habit-parse-todo, org-habit-deadline)
886         (org-habit-get-priority, org-habit-get-faces)
887         (org-habit-build-graph): Further simplifications by storing all
888         past, scheduled and deadline dates as a number of days past the
889         epoch, and not as times.
891         * org-habit.el (org-habit-warning-face)
892         (org-habit-warning-future-face): Removed because these are no
893         longer used.
894         (org-habit-deadline, org-habit-deadline-repeat): Now always
895         returns a date; computed if there was a scheduled repeater but no
896         deadline repeater.
897         (org-habit-get-priority): Further improvements to the priority
898         algorithm.  In particular, items past due should always appear
899         before items due or not yet due.
900         (org-habit-get-faces): Greatly simplified the logic, now that
901         `org-habit-deadline' always returns a valid time.
903 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
905         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
906         New option.
908         * org.el (org-tag-alist): Fix customization type.
910 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
912         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
913         Make sure the regexp search can fail without throwing an error.
914         (org-mobile-apply): Save the inbox buffer after removing
915         successfully applied changes.
917 2009-10-22  John Wiegley  <jwiegley@gmail.com>
919         * org-habit.el (org-habit-build-graph): Fix to the graph building
920         when last DONE date is earlier than `org-habit-preceding-days'.
922         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
923         time is reported after the user comes back (but before they
924         resolve time).
926         * org.el (org-get-repeat): Change so that this function can be
927         called with either `org-scheduled-string' or
928         `org-deadline-string'.
930         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
931         to find the scheduled date.
933         * org-clock.el (org-clock-auto-clock-resolution): Renamed
934         `org-clock-disable-clock-resolution', since negatives don't sound
935         good in customization variables.
936         (org-clock-in): Don't use the auto-resolution logic if the user is
937         clocking into a different task while an active clock is running.
938         This then allows the default behavior of clocking out of the open
939         task and then into the new task.
941         * org-habit.el (org-habit-parse-todo): Generate an error if a
942         habit has a scheduled repeat period < 1.
943         (org-habit-get-faces): Fixes to the way that colors are computed.
944         (org-habit-build-graph): The graph wasn't displaying beyond any
945         day that had two completions in it.
947         * org.el (org-modules): Made this variable more consistent, since
948         it was referring to Org, OrgMode and Org-mode, whereas the docs
949         for the variable always refer to Org-mode.
951 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
953         * org.el (org-repeat-re): The changed org-repeat-re no longer
954         matched simple +2d type repeaters. Fix it so it does.
956 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
958         * org-latex.el (org-export-latex-preprocess): Protect the vspace
959         macro in the VERSE environment.
961 2009-10-20  John Wiegley  <jwiegley@gmail.com>
963         * org-habit.el (org-habit-get-priority): A new function that
964         determines the relative priority of a habit, based on how long
965         past its scheduled date it is, and how near the deadline is.
967         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
968         using `org-habit-get-priority'.
970         * org-habit.el (org-habit-build-graph): Start displaying colors
971         from the first scheduled date, if that date is earlier than the
972         first completion date.
974         * org-habit.el: Changed all "color" variables to faces, and made
975         them appropriate for light and dark backgrounds.
977         * org-habit.el (org-habit-duration-to-days): Made this function
978         more general.
979         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
981         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
982         habits, since they don't use DEADLINE anymore.
984         * org.el (org-repeat-re, org-display-custom-time)
985         (org-timestamp-change): Extended to support the new ".+N/N"
986         syntax, used for habits.
988         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
989         variable reference.
991         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
992         modeline when habits are being displayed (if that module is being
993         loaded).
995 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
997         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
998         idle time using the xscreensaver extension.
999         (org-user-idle-seconds): Use X11 idle time if available.
1001 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1003         * org-agenda.el (org-agenda-next-line): New command.
1004         (org-agenda-previous-line): New commands.
1005         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1006         commands.
1007         (org-agenda-follow-mode): Do the follow immediately if the mode is
1008         turned on here.
1009         (previous-line, next-line): Replace keys with the corresponding
1010         org functions.
1011         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1012         command.
1014         * org.el (org-icompleting-read): Turn off partial completion mode
1015         for the duration of this completion round.
1017         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1018         macros in author lines and similar stuff.
1020         * org.el (org-file-tags): Fix docstring.
1021         (org-get-buffer-tags): Add the #+FILETAGS tags.
1022         ("ecb"): Maks ecb show context after jumping into an Org file.
1024 2009-10-20  John Wiegley  <johnw@newartisans.com>
1026         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1027         graphs after everything else in the buffer has been setup.
1029 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1031         * org-mobile.el (org-mobile-apply): Count success and failure.
1033         * org.el (org-indent-line-function): Fix regexp replace problem.
1035 2009-10-19  John Wiegley  <johnw@newartisans.com>
1037         * org-clock.el (org-clock-disable-clock-resolution): New
1038         customization variable that disable automatic clock resolution on
1039         clock in.
1040         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1041         not automatically resolve anything.  This is does not affect
1042         idle-time resolution, however, if `org-clock-idle-time' is set.
1044 2009-10-19  John Wiegley  <johnw@newartisans.com>
1046         * org-habit.el: New file, which implements code to build a "habit
1047         consistency graph".
1049         * org-agenda.el (org-agenda-get-deadlines)
1050         (org-agenda-get-scheduled): Display consistency graphs when
1051         outputting habits into the agenda.  The graphs are always relative
1052         to the current time.
1053         (org-format-agenda-item): Added new parameter `habitp', which
1054         indicates whether we are formatting a habit or not.  Do not
1055         display "extra" leading information if habitp is true.
1057         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1058         leaders for repeat strings.
1059         (org-get-repeat): Now takes a string parameter `tagline', so the
1060         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1062 2009-10-19  John Wiegley  <johnw@newartisans.com>
1064         * org-agenda.el (org-agenda-auto-exclude-function): New
1065         customization variable for allowing the user to create an "auto
1066         exclusion" filter for doing context-aware auto tag filtering.
1067         (org-agenda-filter-by-tag): Changes to support the use of
1068         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1070 2009-10-18  John Wiegley  <johnw@newartisans.com>
1072         * org.el (org-files-list): Don't attempt to return a file name for
1073         Org buffers which have no associated file.
1075         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1077 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1079         * org-mobile.el (org-mobile-locate-entry): Interpret files
1080         relative to org-directory.
1081         (org-mobile-inbox-for-pull): Document the best location for this
1082         file.
1083         (org-mobile-check-setup): Verify `org-directory'.
1084         (org-mobile-create-index-file): Sort the files to be listed in
1085         index.org.
1087 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1089         * org.el (org-fast-tag-selection): Add a way to display a
1090         description for a tag group. This is done by adding a string to
1091         either the startgroup or endgroup cell.
1093 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1095         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1096         (org-emacs-idle-seconds): Use `org-float-time' instead of
1097         `time-to-seconds'
1099 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1101         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1102         type.
1104         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1105         the value of ARG when doing local cycling.
1107 2009-10-17  John Wiegley  <johnw@newartisans.com>
1109         * org-clock.el (org-clock-resolve-clock): If keeping or
1110         subtracting time results in a clock out at a time in the past, and
1111         if the resolution occurred due to idleness or invoking `M-x
1112         org-resolve-clocks', remember that past moment in time.  On the
1113         next clock in, the user will be prompted to see if they want to
1114         back-date their new clock to then.
1115         (org-clock-resolve): Do not jump the user to the location of a
1116         dangling clock if the resolution is occuring due to an idle
1117         timeout.  In that case there is typically only one dangling clock,
1118         the active one, and there is no value gained by shuffling their
1119         windows around to show it to them.  Being prompted to resolve an
1120         idle clock should be as inobtrusive as possible.
1121         (org-resolve-clocks-if-idle): New function that resolves only the
1122         currently active clock if the user has exceeded the time returned
1123         by `org-user-idle-seconds', based on the value of
1124         `org-clock-idle-time'.
1125         (org-clock-in): If, after resolving clocks,
1126         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1128         * org-clock.el (org-clock-resolve-clock): New function that
1129         resolves a clock to a specific time, closing or resuming as need
1130         be, and possibly even starting a new clock.
1131         (org-clock-resolve): New function used by `org-resolve-clocks'
1132         that sets up for the call to `org-clock-resolve-clock'.  It
1133         determines the time to resolve to based on a single-character
1134         selection from the user to either keep time, subtract away time or
1135         cancel the clock.
1136         (org-resolve-clocks): New user command which resolves dangling
1137         clocks -- that is, open but not active -- anywhere in the file
1138         list returned by `org-files-list'.
1139         (org-clock-in): Automatically resolve dangling clocks whenever a
1140         user clocks in.
1141         (org-clock-cancel): If the user cancels the solely clock in a
1142         LOGBOOK, remove the empty drawer.
1144         * org-clock.el (org-clock-idle-time): New user customizable option
1145         for detecting whether the user has left a clock idle.  Note: it is
1146         only used in this commit to test whether it's worthwhile to check
1147         OS X to get the Mac user's current idle time.  If the Emacs idle
1148         time is less than the value, the user hasn't been away long enough
1149         to be worth checking (a more expensive test than just getting
1150         Emacs idle time).
1151         (org-user-idle-seconds, org-mac-idle-seconds)
1152         (org-emacs-idle-seconds): This three functions, in conjunction
1153         with the user customization variable `org-clock-idle-time', return
1154         the number of seconds (as a floating point) that the user has been
1155         away from their Emacs (or, if running on OS X, their computer).
1157         * org-clock.el (org-find-open-clocks): New function that returns a
1158         list of all open clocks in the given FILE.  Note that each clock
1159         it returns is a cons cell of the format (MARKER . START-TIME).
1160         This "clock" value is used by several of the new clock module
1161         utility functions.
1162         (org-is-active-clock): New inline function which tests whether the
1163         given clock value is the same as the currently active clock.
1164         Returns non-nil if this is the case.
1165         (org-with-clock-position): New macro that evaluates FORMS with
1166         point in the buffer and at the position of the given clock.
1167         Changes to the current clock are global.
1168         (org-with-clock): New macro that evaluates FORMS with point in the
1169         buffer and at the position of the given clock.  However, changes
1170         to the current clock are local and have no effect on the user's
1171         active clock.  This allows, for example, far any clock to be
1172         cancelled without cancelling the active clock.
1173         (org-clock-clock-in): New inline function that switches the active
1174         clock to the given clock.  If either the argument RESUME, or the
1175         global `org-clock-in-resume', are non-nil, it will resume a clock
1176         that was previously left open.
1177         (org-clock-clock-out): New inline function that clocks out the
1178         given clock value without affecting the currently active clock.
1179         (org-clock-clock-cancel): New inline function that cancels the
1180         given clock value without affecting the currently active clock.
1182         * org-clock.el (org-clock-in): Before creating
1183         `org-clock-mode-line-timer', check to make sure an older timer is
1184         not currently running.
1185         (org-clock-out): Accept new third parameter `at-time', which
1186         permits a clock to be clocked out at a specific time.  Note that
1187         no attempt is made to verify that the clock out time is later than
1188         the clock in time.
1190         * org.el (org-files-list): New utility function for returning a
1191         list of all open org-mode buffers, plus all files used to build
1192         the agenda buffer.  Note that not all the files will necessarily
1193         be visited by a buffer at time of call.
1194         (org-entry-beginning-position): Like the function
1195         `line-beginning-position', this inline function returns the
1196         beginning position of the current heading/entry.
1197         (org-entry-end-position): Like the function `line-end-position',
1198         this inline function returns the end position of the current
1199         heading/entry.
1201 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1203         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1204         a header line.
1206 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1208         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1210 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1212         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1213         entries that have no tags.
1214         (org-agenda-search-view): New customize group.
1215         (org-agenda-search-view-search-words-only): New option.
1216         (org-search-view): Implement substring search.
1218 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1220         * org.el (org-outline-level): Add doc string.
1222 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1224         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1225         variable.
1226         (org-inlinetask-export-handler): Only export inline task if the
1227         user option calls for it.
1229 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1231         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1232         END if present.
1234 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1236         * org-latex.el (org-export-latex-tables): Don't format in
1237         protected regions.
1239 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1241         * org-src.el (org-edit-src-code)
1242         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1243         macro editing.
1245         * org-agenda.el (org-prefix-category-max-length): New variable.
1246         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1247         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1249 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1251         * org-mobile.el (org-mobile-create-index-file): Improve the
1252         listing of tags and todo keywords.
1254         * org-latex.el (org-export-latex-format-image): New function.
1255         (org-export-latex-links): Use `org-export-latex-format-image'.
1257 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1259         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1260         (org-inlinetask-remove-terminator): New functions.
1261         (org-inlinetask-export-handler): Terminate the description list.
1263         * org-exp.el (org-export-select-backend-specific-text): Remove the
1264         region markers.
1266         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1267         tasks without content.
1269         * org-clock.el: Make sure the clock-in target position does not
1270         move to a different node by widening the buffer.
1272         * org-html.el (org-export-html-format-image): Wrap image into
1273         figure div only when there is a caption.
1275         * org-archive.el (org-archive-mark-done): Change default value to
1276         nil.
1278 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1280         * org.el (org-context): Call `bobp', not `eobp'.
1282         * org-clock.el (org-clock-cancel): Remove quotes from marker
1283         variables.
1285         * org.el (org-read-date-prefer-future): New allowed value `time'.
1286         (org-read-date-analyze): Shift day to tomorrow depending on time
1287         entered and value of `org-read-date-prefer-future'.
1289 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1291         * org.el (org-set-tags-to): New command.
1293         * org-mobile.el (org-mobile-action-alist): Add more options and
1294         update the docstring.
1295         (org-mobile-apply-flags): Parse for and use the data.
1297         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1298         the plist.
1300         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1301         keyword.
1303         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1305 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1307         * org-inlinetask.el (org-inlinetask-export): Option removed.
1308         (org-inlinetask-export-handler): Better export.
1310         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1311         (org-export-as-xoxo): Run the new hook.
1313         * org-html.el (org-export-html-final-hook): New hook.
1314         (org-export-as-html): Run the new hook.
1316         * org-docbook.el (org-export-docbook-final-hook): New hook.
1317         (org-export-as-docbook): Run the new hook.
1319         * org-ascii.el (org-export-ascii-final-hook): New hook.
1320         (org-export-as-ascii): Run the new hook.
1322         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1323         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1325         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1326         space character as the character before the ^/_.
1327         (org-export-latex-final-hook): New hook.
1328         (org-export-as-latex): Run `org-export-latex-final-hook'.
1330 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1332         * org-macs.el (org-if-unprotected-at): Fix docstring.
1334         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1335         text in the prefix (if category is a link).
1337         * org-latex.el (org-export-latex-preprocess): Deal properly with
1338         empty lines in verse environments.
1340         * org.el (org-format-latex-header): Inline fullpage.sty.
1342         * org-footnote.el (org-footnote-create-definition): Reveal context
1343         to add a new footnote definition.
1345         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1346         the index file.
1347         (org-mobile-files): New option.
1348         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1349         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1350         functions.
1351         (org-mobile-push): Start by creating the files lists.
1352         (org-mobile-copy-agenda-files): Move killing the buffer to after
1353         the save-excursion has exited.
1354         (org-mobile-write-checksums): Write checksums also for files in
1355         sub-directories.
1357         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1358         org-table-recalculate when cursor is in TBLFM line.
1360         * org-list.el (org-renumber-ordered-list): Fix cursor position
1361         when bullet length has changed.
1363 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1365         * org.el (org-format-latex): Mention `org-format-latex-options' in
1366         the docstring.
1368 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1370         * org.el (org-agenda-get): New function.
1372         * org-agenda.el (org-agenda-post-command-hook): No longer move
1373         point away from end of line.
1374         (org-agenda-add-entry-text, org-agenda-collect-markers)
1375         (org-finalize-agenda, org-agenda-mark-clocking-task)
1376         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1377         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1378         (org-agenda-compare-effort, org-agenda-filter-apply)
1379         (org-agenda-later, org-agenda-change-time-span)
1380         (org-agenda-post-command-hook, org-agenda-show-priority)
1381         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1382         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1383         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1384         (org-agenda-open-link, org-agenda-copy-local-variable)
1385         (org-agenda-switch-to, org-agenda-check-no-diary)
1386         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1387         (org-agenda-add-note, org-agenda-change-all-lines)
1388         (org-agenda-priority, org-agenda-set-tags)
1389         (org-agenda-set-property, org-agenda-set-effort)
1390         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1391         (org-agenda-show-new-time, org-agenda-date-prompt)
1392         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1393         (org-agenda-clock-in, org-agenda-bulk-mark)
1394         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1395         `org-get-at-bol'.
1397         * org-colview.el (org-columns-display-here)
1398         (org-columns-edit-allowed, org-agenda-columns): Use
1399         `org-get-at-bol'.
1401 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1403         * org.el (org-special-ctrl-a/e): Improve documentation and
1404         customize type.
1405         (org-end-of-line): Don't jump to after the ellipsis.
1406         (org-mode-map): Bind <home> and <end> as well.
1408 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1410         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1411         space after #+ as comments.
1412         (org-open-at-point): Run `org-follow-link-hook' always.
1414         * org-latex.el (org-export-latex-emph-format): Use better commands
1415         to insert special characters in verbatim snippets.
1417 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1419         * org-faces.el (org-copy-face): New function.  Use it to create
1420         various faces formerly created by using `copy-face'.
1422         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1423         window dedicated.
1424         (org-agenda-quit): Kill the frame containing the agenda window if
1425         that frame was created for the agenda.
1427 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1429         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1430         stamp in the agenda.
1432 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1434         * org-mobile.el (org-mobile-create-index-file): Add the list of
1435         TODO keywords, and the list of drawers to the index file.
1437         * org-agenda.el (org-prepare-agenda): Reset
1438         `org-drawers-for-agenda'.
1439         (org-prepare-agenda): Uniquify list of drawers.
1441         * org.el (org-complex-heading-regexp-format): New variable.
1442         (org-set-regexps-and-options): Define
1443         `org-complex-heading-regexp-format'.
1444         (org-drawers-for-agenda): New variable.
1445         (org-map-entries): Bind `org-drawers-for-agenda'.
1446         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1448         * org-remember.el (org-go-to-remember-target)
1449         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1451 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1453         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1454         problem.
1456         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1457         the capture file, and make it non-configurable.
1459         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1460         always with `invisible-ok'.
1461         (org-store-link): No error when there is nothing to link to in the
1462         agenda.
1464         * org-list.el (org-update-checkbox-count): Insert changed cookie
1465         before the old, to avoid problems with invisibility at the end of
1466         the line.
1467         (org-update-checkbox-count): Insert changed cookie before the old,
1468         to avoid problems with invisibility at the end of the line.
1470         * org.el (org-sort-entries-or-items): Include the final newline.
1471         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1472         lines for fontification.
1473         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1474         (org-prepare-dblock): Store the current indentation of the BEGIN
1475         line.
1476         (org-update-dblock): Apply the indentation of the begin line to
1477         the rest of the block.
1478         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1479         (org-startup-folded): New allowed value `showeverything'.
1480         (org-startup-options): Add STARTUP keyword `showeverything'.
1481         (org-set-startup-visibility): Respect value `showeverything' in
1482         org-startup-folded.
1484 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1486         * org.el (org-closest-date): Fix issue with past preference.
1488         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1490         * org-archive.el (org-archive-set-tag)
1491         (org-archive-subtree-default): New commands.
1493         * org-mobile.el (org-mobile-create-index-file): Fix link to
1494         capture file.
1495         (org-mobile-copy-agenda-files): Create the capture file if it does
1496         not exist.
1498         * org-clock.el (org-clock-clocktable-default-properties): New
1499         option.
1500         (org-clock-report): Use
1501         `org-clock-clocktable-default-properties'.
1503 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1505         * org.el (org-iswitchb-completing-read): Fix typo.
1507         * org-crypt.el: New file.
1509         * org.el: Add an entry for org-crypt.
1511 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1513         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1514         consistency.
1515         (org-batch-store-agenda-views): New function.
1516         (org-mobile-force-id-on-agenda-items): Mention variable.
1517         (org-agenda-title-append): Define variable.
1518         (org-write-agenda): New export to Org files.
1519         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1520         (org-agenda): Allow to keep the restricted file list if a special
1521         variable is bound to t.
1522         (org-agenda): Define a special agenda view for working on flagged
1523         entries.
1524         (org-agenda-get-restriction-and-command): List the new agenda
1525         view.
1526         (org-agenda-show-the-flagging-note): New command.
1527         (org-agenda-mode-map): New key `?' for looking at the flagging
1528         note.
1530         * org.el (org-autoload): Autoload org-mobile.el.
1531         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1533         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1535 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1537         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1538         statements.
1539         (org-table-get-remote-range): Match indented #+TBLNAME
1540         statements.
1542         * org.el (org-convert-to-odd-levels)
1543         (org-convert-to-oddeven-levels): Work also correctly if the file
1544         is in outline-mode.
1546 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1548         * org.el (org-store-link): When in agenda buffer, link to
1549         referenced entry.
1550         (org-add-planning-info): Remove spaces at eol.
1552         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1553         property.
1555 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1557         * org-latex.el (org-export-latex-first-lines): Fix problem with
1558         LaTeX export of first line and selected subtree.
1560         * org.el (org-shifttab): Interpret arg differently when using only
1561         odd levels.
1563 2009-09-09  Bastien Guerry  <bzg@altern.org>
1565         * org.el (org-check-agenda-file): Use a more explicit message
1567 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1569         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1570         normal lines.
1572 2009-09-08  Bastien Guerry  <bzg@altern.org>
1574         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1575         prompt in the temporary window.
1577         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1578         prefix for marked entries in the agenda view.
1580 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1582         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1583         a way that prevents any trailing character from being displayed.
1585 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1587         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1588         menu.
1590         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1591         slow regexp match.
1593 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1595         * org-latex.el (org-export-latex-preprocess): Do not protect in
1596         the LaTeX header.
1598         * org-src.el (org-edit-src-save): Save window setup while saving.
1599         (org-edit-src-code): Use new buffer name construction scheme.
1601 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1603         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1604         variable.
1605         (org-agenda-entry-text-cleanup-hook): New hook.
1606         (org-agenda-get-some-entry-text): Remove matches of
1607         `org-agenda-entry-text-exclude-regexps' and run the hook
1608         `org-agenda-entry-text-cleanup-hook'.
1610         * org.el (org-offer-links-in-entry): New argument ZERO to
1611         implement a link with index zero.
1612         (org-cycle-show-empty-lines): Not keep empty line under header
1613         hidden.
1614         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1615         to nil for special completion.
1616         (org-store-link): Don't error before the first heading.
1618         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1619         `org-offer-links-in-entry'.
1621 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1623         * org-agenda.el (org-agenda-quit): Provide the window argument for
1624         `window-dedicated-p', Emacs 22 needs it.
1625         (org-format-agenda-item): If the category is a link, arrange for
1626         invisible text to replaced with spaces.
1627         (org-compile-prefix-format): Add the extra space.
1628         (org-prefix-category-length): New variable.
1630         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1631         references from TOC lines.
1633         * org.el (org-selected-window): New variable.
1635         * org-table.el (org-table-edit-formulas): Remember the selected
1636         window.
1637         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1638         that was originally selected.
1640         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1641         expansion of a macro for more macro definitions.
1643         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1644         invisibility overlay starts on the newline.
1646 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1648         * org-protocol.el (org-protocol-store-link)
1649         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1651         * org-compat.el (org-float-time): New function.
1653         * org.el (org-clock-update-time-maybe)
1654         (org-sort-entries-or-items, org-do-sort)
1655         (org-evaluate-time-range, org-time-string-to-seconds)
1656         (org-closed-in-range): Use `org-float-time'.
1658         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1659         (org-timer-seconds):  Use `org-float-time'.
1661         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1662         (org-clock-sum, org-dblock-write:clocktable)
1663         (org-clocktable-steps):  Use `org-float-time'.
1665         * org-agenda.el (org-agenda-last-marker-time)
1666         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1668         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1669         function.
1671         * org-exp.el (org-get-file-contents): Only protect lines that
1672         really need it.
1674         * org-html.el (require): Require cl for compilation.
1676         * org.el:  Avoid using `default-major-mode'.
1678         * org-plot.el (require): Require CL only at compile time.
1680         * org-exp.el (require): Require CL only at compile time.
1682         * org-agenda.el (org-agenda-quit): When the agenda window is
1683         dedicated, remove other windows before exiting, so that the frame
1684         really will be killed.
1686         * org-exp.el (org-export-handle-include-files): Reset START and
1687         END for each loop cycle.
1689 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1691         * org.el (org-eval-in-calendar): Use
1692         `org-select-frame-set-input-focus'.
1694         * org-compat.el (org-select-frame-set-input-focus): New function.
1696         * org.el (org-update-statistics-cookies): New function.
1697         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1699 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1701         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1702         after the local variables are set.
1704         * org-latex.el (org-export-latex-protect-amp): New function.
1705         (org-export-latex-links): Protect link ampersands in tables.
1707         * org-exp.el (org-export-select-backend-specific-text): Match in
1708         two steps, to avoid regexp problems.
1710         * org.el (org-offer-links-in-entry): Improve working with many and
1711         duplicate links.
1713         * org-agenda.el (org-agenda-show-1): Make more consistent with
1714         normal cycling.
1715         (org-agenda-cycle-show): Make more consistent with normal cycling.
1717         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1718         website.
1720 2009-08-30  Bastien Guerry  <bzg@altern.org>
1722         * org-latex.el (org-export-latex-first-lines): Bugfix.
1724 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1726         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1727         about new effort.
1729         * org.el (org-set-effort): New function.
1730         (org-mode-map): New key for effort setting command.
1732         * org-agenda.el (org-agenda): Keep window setup when calling
1733         agenda from within agenda window.
1734         (org-agenda-mode-map): New keys for effort setting commands.
1735         (org-agenda-menu): Add effort setting commands to menu.
1736         (org-agenda-set-property, org-agenda-set-effort): New functions.
1738         * org-latex.el (org-export-latex-tables): Fix
1739         `org-table-last-alignment' and `org-table-last-column-widths' if
1740         the first column has been removed.
1742 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1744         * org.el (org-remove-timestamp-with-keyword): Only remove in
1745         entry, not in subtree.
1747         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1748         emacs lisp.
1750         * org.el (org-open-at-point): When on headline, offer all strings
1751         in entry.
1753         * org-remember.el (org-remember-templates): Documentation fix.
1755         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1756         `org-get-last-sibling' instead of the outline versions of these
1757         functions.
1758         (org-get-last-sibling): New function.
1759         (org-refile): Use `org-get-next-sibling' instead of the outline
1760         version of this function.
1761         (org-clean-visibility-after-subtree-move): Use
1762         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1763         outline versions of these functions.
1765 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1767         * org-agenda.el (org-prepare-agenda): When creating a new frame
1768         for the agenda, make the window dedicated.
1770         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1772         * org-table.el (org-table-align): Change the order of reinsertion
1773         and deletion, to avoid problems with overlays following the table.
1775         * org.el (org-parse-time-string): Better error message.
1776         (org-show-subtree): Use org-end-of-subtree.
1778         * org-macs.el (org-goto-line): New defsubst.
1780         * org.el (org-open-file, org-change-tag-in-region)
1781         (org-fast-tag-show-exit): Don't use `goto-line'.
1783         * org-table.el (org-table-align, org-table-insert-column)
1784         (org-table-delete-column, org-table-move-column)
1785         (org-table-sort-lines, org-table-copy-region)
1786         (org-table-paste-rectangle, org-table-wrap-region)
1787         (org-table-get-specials, org-table-rotate-recalc-marks)
1788         (org-table-get-range, org-table-recalculate)
1789         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1790         (org-table-show-reference, org-table-highlight-rectangle): Don't
1791         use `goto-line'.
1793         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1794         (org-edit-src-exit): Don't use `goto-line'.
1796         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1798         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1799         Don't use `goto-line'.
1801         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1803         * org-colview.el (org-columns, org-columns-redo)
1804         (org-agenda-columns): Don't use `goto-line'.
1806         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1807         use `goto-line'.
1809         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1810         (org-agenda-add-entry-text-maxlines): Improve docstring.
1811         (org-agenda-start-with-entry-text-mode): New option.
1812         (org-agenda-entry-text-maxlines): New option.
1813         (org-agenda-entry-text-mode): New variable.
1814         (org-agenda-mode): Set initial value of
1815         `org-agenda-entry-text-mode'.
1816         (org-agenda-mode-map): Add the `E' key.
1817         (org-agenda-menu): Add entry text mode to the menu.
1818         (org-agenda-get-some-entry-text): Fix line count bug.
1819         (org-finalize-agenda): Apply entry text mode if appropriate.
1820         (org-agenda-entry-text-show-here): New function.
1821         (org-agenda-entry-text-show): New function.
1822         (org-agenda-entry-text-hide): New function.
1823         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1824         key menu.
1825         (org-agenda-entry-text-mode): New command.
1826         (org-agenda-set-mode-name): Add entry text mode to the mode line
1827         string.
1828         (org-agenda-undo, org-agenda-get-restriction-and-command)
1829         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1830         `goto-line'.
1832 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1834         * org-clock.el (org-notify): Bugfix.
1836 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1838         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1839         check for after-string.
1841         * org-gnus.el (org-gnus-store-link): Simplify.
1843         * org.el (org-latex-regexps): Don't add extra empty lines for
1844         display formulas.
1846 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1848         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1849         (org-agenda-add-entry-text): Use
1850         `org-agenda-get-some-entry-text'.
1852         * org.el (org-cycle-separator-lines): Update docstring.
1853         (org-cycle-show-empty-lines): Handle negative values for
1854         `org-cycle-show-empty-lines'.
1856         * org-exp.el (org-export-protect-sub-super): New function.
1857         (org-export-normalize-links): Protect the url of plain links from
1858         supscript and superscript processing.
1860         * org-remember.el (org-remember-escaped-%): New function.
1861         (org-remember-apply-template): Use `org-remember-escaped-%' to
1862         detect escaped % signs.
1864 2009-08-23  Bastien Guerry  <bzg@altern.org>
1866         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1867         sound when showing the notification.
1869         * org-clock.el (org-notify): New function.
1870         (org-clock-notify-once-if-expired): Use `org-notify'.
1872         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1873         and `gnus-article-mode' separately.
1874         (gnus-summary-article-header): Fix the declare-function.
1876 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1878         * org-exp.el (org-export-format-source-code-or-example): Translate
1879         language.
1881         * org-src.el (org-src-lang-modes): New variable
1882         (org-edit-src-code): Translate language.
1884         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1885         the new structure of the `org-export-latex-listings-langs'
1886         variable.
1888         * org-latex.el (org-export-latex-listings-langs): Change structure
1889         of the variable from plist to alist.
1891 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1893         * org.el (org-in-commented-line): New function.
1895 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1897         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1899 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1901         * org.el (org-flag-drawer): More useful error.
1903 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1905         * org-remember.el (org-remember-apply-template): Use
1906         org-icompleting-read.
1908         * org-publish.el (org-publish): Use org-icompleting-read.
1910         * org-colview.el (org-columns-edit-value, org-columns-new)
1911         (org-insert-columns-dblock): Use org-icompleting-read.
1913         * org-colview-xemacs.el (org-columns-edit-value)
1914         (org-columns-new, org-insert-columns-dblock): Use
1915         org-icompleting-read.
1917         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1918         org-icompleting-read.
1920 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
1922         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1923         (org-version): Return the version text.
1924         (org-org-menu): Add a menu entry for the new bug reporter.
1925         (org-submit-bug-report): New command.
1927         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1928         docstring.
1930         * org.el (org-emphasis-regexp-components): Add "`" to set of
1931         pre-emphasis characters.
1933         * org-latex.el (org-export-latex-classes): Always include the soul
1934         package.
1935         (org-export-latex-emphasis-alist): Use \st for strikethough.
1937         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1938         `indent-code-rigidly' to indent.
1940         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1941         properties only if MATCH really is a string.
1943 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
1945         * org-latex.el (org-export-latex-packages-alist): Fix
1946         customization type.
1948         * org.el (org-create-formula-image): Also use
1949         `org-export-latex-packages-alist'.
1951         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1952         (org-export-as-html): Format footnotes correctly.
1954 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
1956         * org.el (org-fast-tag-selection): Avoid text properties on tags
1957         in the alist.
1959         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1960         text properties on the match element.
1962 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
1964         * org.el (org-set-regexps-and-options): Make sure the list of done
1965         keywords is not invalid.
1967         * org-exp.el (org-export-interpolate-newlines): New function.
1969 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
1971         * org.el (org-format-latex): Avoid nested overlays.
1973         * org-latex.el (org-export-latex-listings-langs): Add a few more
1974         languages.
1976         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1977         ignore newlines and space before the first macro argument.
1979         * org-latex.el (org-export-latex-tables): Remove save-excursion
1980         around `org-table-align'.
1982 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
1984         * org.el (org-export-html-special-string-regexps): Definition
1985         moved into org.el
1987         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1988         in macro calls.
1990 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
1992         * org-latex.el (org-export-latex-listings)
1993         (org-export-latex-listings-langs): New options.
1995         * org-exp.el (org-export-format-source-code-or-example): Use
1996         listing package if requested by the user.
1998 2009-08-08  Bastien Guerry  <bzg@altern.org>
2000         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2001         command before actually switching to a buffer.
2003 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2005         * org-exp.el (org-get-file-contents): Only quote org lines when
2006         the markup is src or example.
2008         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2009         New option
2010         (org-agenda-get-day-entries): Remember deadline results and pass
2011         them on into the function getting the scheduling information.
2012         (org-agenda-get-scheduled): Accept deadline results as parameters
2013         and maybe skip some entries.
2014         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2016         * org.el (org-insert-heading): When respecting content, do not
2017         convert current line to headline.
2019         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2020         cheeeeeck the hd marker
2021         (org-clock-in): Also set the hd marker.
2022         (org-clock-out): Also set the hd marker.
2023         (org-clock-cancel): Reset markers.
2025         * org.el (org-clock-hd-marker): New marker.
2027         * org-faces.el (org-agenda-clocking): New face.
2029         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2030         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2032         * org.el (org-modules): Add org-track.el.
2034         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2035         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2036         `org-agenda-bulk-marked-p'.
2037         (org-agenda-bulk-toggle): New command.
2039 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2041         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2042         not just the body.
2044         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2045         messages.
2047 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2049         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2050         before gnuplot can read it.
2052 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2054         * org-latex.el (org-export-latex-first-lines): Fix bug with
2055         finding the end of the first lines.
2057         * org.el (org-create-formula-image): Remove the -E option for
2058         dvipng.
2060         * org-exp.el (org-default-export-plist): Respect #+BIND.
2061         (org-export-confirm-letbind): New function.
2063         * org.el (org-paste-subtree): Test the kill ring entry if it is
2064         going to be used.
2065         (org-copy-subtree): Use `org-forward-same-level'.
2066         (org-forward-same-level): Respect the `invisibe-ok' arg for
2067         back-to-heading.
2069 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2071         * org.el (org-table-map-tables): Make sure cursor is back at table
2072         beginning after funcall.
2074         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2075         handled before children, and do not error if an entry is not
2076         found, probably because it hase been remove when the parent was
2077         archived or refiled.
2079         * org.el (org-ido-completing-read): Accept straight lists for
2080         completion as well as alists.
2082         * org-html.el (org-export-as-html): Fix parenthesis error in
2083         footnore code.
2085         * org-timer.el (org-timer-cancel-timers): Renamed from
2086         `org-timer-cancel-timers'.
2088         * org.el (org-cycle-internal-local): Fix problem with finding next
2089         invisible line.
2091 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2093         * org-list.el (org-list-send-list): Call
2094         `org-list-goto-true-beginning' instead of
2095         `org-list-find-true-beginning', which does not exist.
2097         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2098         (org-timer-set-timer): Do not assign to heading.
2100         * org-id.el (org-id-open): Quote function name.
2102         * org-macs.el (org-unmodified): Turn off recording undo
2103         information while running inside the macro.
2105         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2106         variable.
2107         (org-indent-mode): Remember and restore value of
2108         org-hide-leading-stars before `org-indent-mode'.
2110         * org-table.el (org-table-export): Also work in file-less
2111         buffers.
2113         * org.el (org-startup-indented): New option.
2114         (org-startup-options): Add new options indent and noindent.
2115         (org-unfontify-region): Remove line-prefix and wrap-prefix
2116         properties.
2117         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2118         hooks.
2119         (org-promote, org-demote): Run the new hooks.
2121         * org-table.el (org-table-align): Replace leading \n as well.
2123         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2124         and `line-wrap' text properties.
2126         * org-compat.el (org-kill-new): New function.
2128         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2129         `line-wrap' text properties.
2131         * org-indent.el: New file.
2133 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2135         * org.el (org-provide-todo-statistics): Tweak docstring.
2137         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2139 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2141         * org-exp.el (org-export-as-org): Insert the "-source" string
2142         before the extension.
2144         * org.el (org-read-date): Make sure the calendar is in the current
2145         frame.
2146         (org-set-emph-re): Remove the ? from the post-match.
2147         (org-emphasis-regexp-components): Add backslash to the
2148         postmatch class.
2149         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2150         optional so that also lines at the end of the buffers will still
2151         be matched as headlines.
2153         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2154         Variable made obsolete.
2155         (org-table-relative-ref-may-cross-hline): New option.
2156         (org-table-find-row-type): Honow the new option
2157         `org-table-relative-ref-may-cross-hline'.
2159 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2161         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2162         on single field if no active region.
2164 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2166         * org-latex.el (org-export-latex-make-header): Only insert title
2167         if one is defined.
2169         * org.el (org-make-options-regexp): Allow empty values.
2171         * org-html.el (org-export-as-html): Move hrule detection to after
2172         plain list handling.
2174 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2176         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2178 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2180         * org.el (org-cycle-internal-local): Improved version of finding
2181         next visible line.
2182         (org-cycle-hide-drawers): Only hide drawers if this is really
2183         necessary.
2184         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2185         org-version of this function in Org-mode.  We use advice to
2186         implement this change, so that future changes to this function in
2187         outline.el wil be handled properly.
2188         (org-forward-same-level, org-backward-same-level): New commands.
2190 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2192         * org.el (org-remove-empty-overlays-at)
2193         (org-clean-visibility-after-subtree-move): New functons.
2194         (org-move-subtree-down): Simplify cleanup of display.
2196 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2198         * org-mac-message.el (org-mac-message-get-links): Improve
2199         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2200         "s".  Fix the return value.
2201         (org-mac-message-insert-flagged): Simplify.
2203         * org.el (org-refile-get-location): Tamper with refile history o
2204         that history contains compete matches instead of the entered
2205         string.
2207 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2209         * org.el (org-store-link): Never store a link to an inline task.
2211         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2213         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2214         inline tasks when positioning footnotes.
2216         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2217         function.
2219         * org.el (org-refile): Remove the END line when archiving an
2220         inline task that does have an END line.
2222         * org-archive.el (org-archive-subtree): Remove the END line when
2223         archiving an inline task that does have an END line.
2225         * org-macs.el (org-with-limited-levels): New macro.
2226         (org-get-limited-outline-regexp): New function.
2228         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2229         that did not enumerate first line.
2230         (org-export-mark-radio-links): Skip matches in links.
2232 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2234         * org.el (org-activate-plain-links): Make single-match.
2235         (org-adapt-indentation): Fix docstring.
2237         * org-macs.el (org-unmodified): Turn of modification hooks while
2238         running this macro.
2240 2009-08-02  Bastien Guerry  <bzg@altern.org>
2242         * org.el (org-adapt-indentation): Slightly improve the docstring.
2243         (org-occur): Sends an error when the user inputs an empty string.
2244         (org-priority): Bugfix: the tag alignement should happen within
2245         save-excursion.
2247 2009-07-31  Bastien Guerry  <bzg@altern.org>
2249         * org.el (org-make-link-regexps): Don't exclude parentheses from
2250         `org-plain-link-re'
2251         (org-cycle-internal-local): When locally cycling, switch directly
2252         from CHILDREN to FOLDED if there is no subtree
2253         (org-cycle): Update the docstring to document the new behavior of
2254         `org-cycle-internal-local'.
2256 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2258         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2259         an abbreviated format for days.
2261 2009-07-27  Bastien Guerry  <bzg@altern.org>
2263         * org-protocol.el (org-protocol-default-template-key): New
2264         option.
2266         * org.el (org-refile): Bugfix: save-excursion before reading the
2267         refile target, otherwise cursor moves might confuse `org-refile'.
2269         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2270         footnote reference before the footnote itself.
2272         * org.el (org-toggle-heading): Bugfix: correctly convert list
2273         items before the first headline.
2275         * org-html.el (org-export-html-footnote-format): New option for
2276         formatting the footnote reference.
2277         (org-export-as-html): Use the new option.
2279         * org.el (org-provide-todo-statistics): Allow a list of TODO
2280         keywords to compute statistics against headlines containing a
2281         keyword from this list.
2282         (org-update-parent-todo-statistics): Possibly use the new allowed
2283         value of `org-provide-todo-statistics'.
2285 2009-07-26  Bastien Guerry  <bzg@altern.org>
2287         * org-timer.el: Add autoload cookie.
2289         * org.el (org-occur-link-in-agenda-files): New function.
2291         * org-timer.el (org-timer-last-timer): New variable.
2293         * org-agenda.el (org-agenda-mode-map): New key for
2294         org-timer-set-timer called from the agenda.
2296         * org.el (org-mode-map): New key for org-timer-set-timer.
2298         * org-timer.el (org-timer-reset-timers)
2299         (org-timer-show-remaining-time, org-timer-set-timer): New
2300         functions.
2302         * org-clock.el (org-show-notification): Update the docstring.
2304         * org.el (org-provide-todo-statistics): Allow new value
2305         'all-headlines for this option, which includes entries with no
2306         TODO keywords in the todo statistics.
2307         (org-update-parent-todo-statistics): Possibly use the new
2308         'all-headline value from `org-provide-todo-statistics'.
2310 2009-07-25  Bastien Guerry  <bzg@altern.org>
2312         * org-clock.el (org-dblock-write:clocktable): Add a new option
2313         :timestamp which allows display of timestamps in clock reports.
2315         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2316         list to a subtree, preserving the structure of the list.
2317         (org-set-emph-re): Make the last element optional in the regexp.
2318         This regexp now matches an emphasized string at the end of a line.
2320         * org-list.el (org-list-goto-true-beginning)
2321         (org-list-make-subtree, org-list-make-subtrees): New functions.
2323         * org.el (org-eval-in-calendar): Select the right frame.
2324         (org-save-frame-excursion): Remove this macro.
2326 2009-07-24  Bastien Guerry  <bzg@altern.org>
2328         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2329         trying to find the beginning of a list.
2331         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2332         When present, tell org-get-file-contents not to protect org-like
2333         lines.
2335         * org-id.el (org-id-uuid-program): New option to set the name of
2336         the uuidgen program.
2337         (org-id-method): Use `org-id-uuid-program'.
2338         (org-id-new): Use `org-id-uuid-program'.
2340 2009-07-23  Bastien Guerry  <bzg@altern.org>
2342         * org-exp.el (org-export-number-lines): Allow whitespace in code
2343         references.  Allow the -r switch to remove the references in the
2344         source code even when the lines are not numbered: the labels can
2345         be explicit enough.
2347         * org.el (org-fontify-whole-heading-line): New option.
2348         (org-set-font-lock-defaults): Use the new option.
2350         * org-clock.el (org-show-notification-handler): New option.
2351         (org-show-notification): Use the new option.
2353 2009-07-21  Bastien Guerry  <bzg@altern.org>
2355         * org.el (org-eval-in-calendar): Fix a bug about calendar
2356         navigation when `calendar-setup' value is 'calendar-only.
2358 2009-07-19  Bastien Guerry  <bzg@altern.org>
2360         * org.el (orgstruct++-mode): Fix typo in docstring.
2361         (org-insert-link): Clean up: (or (...)) => (...)
2362         (org-insert-link): Use TAB for stored links completion.
2364 2009-07-18  Bastien Guerry  <bzg@altern.org>
2366         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2367         building the list of targets.
2369         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2370         option.
2371         (org-remember-handler): Use the new option.
2373 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2375         * org.el (org-tags-sort-function): New option for sorting tags.
2376         (org-set-tags): Use the new option to sort tags.
2378         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2379         premature deletion of the data when using org-plot in a script.
2381 2009-07-17  Bastien Guerry  <bzg@altern.org>
2383         * org-clock.el (org-clock-in-prepare-hook): New hook.
2384         (org-clock-in): Use this new hook.
2386 2009-07-16  Bastien Guerry  <bzg@altern.org>
2388         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2389         'reversed for this option to the "true line boundary first"
2390         behavior.
2391         (org-tags-match-list-sublevels): Document the 'indented value for
2392         this variable.
2394         * org-latex.el (org-export-latex-first-lines): Fix problem with
2395         publishing the region.
2397         * org-exp.el (org-export-format-source-code-or-example): Fix
2398         bad line numbering when exporting examples in HTML.
2400         * org-colview.el (org-format-time-period): Formats a time in
2401         fractional days as days, hours, mins, seconds.
2402         (org-columns-display-here): Add special handling for SINCE and
2403         SINCE_IA to format for display.
2405 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2407         * org.el (org-tags-sort-function): Add custom declaration for tags
2408         sorting function.
2409         (org-set-tags): Sort tags if org-tags-sort-function is set
2411 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2413         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2415         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2417         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2418         option.
2420 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2422         * org-publish.el (org-publish-remove-all-timestamps): New function.
2423         (org-publish-all): Remove all timestamp files if `org-publish-all'
2424         is called with a prefix argument.
2426         * org-list.el (org-indent-item): Fix typo.
2427         (org-item-indent-positions): Normalize ordered bullet.
2429         * org-html.el (org-export-html-home/up-format): New option.
2430         (org-export-as-html): Insert the up and HOME links.
2432 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2434         * org-html.el (org-export-as-html): Insert the title into the
2435         option plist.
2436         (org-export-html-insert-plist-item): New function.
2437         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2439         * org-macs.el (org-set-local): Make a local variable, do not make
2440         the variable buffer-local!
2442         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2444         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2446         * org-docbook.el (org-export-as-docbook): Call
2447         `org-install-letbind'.
2449         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2451         * org-exp.el (org-infile-export-plist): Read BIND lines.
2452         (org-install-letbind): New function.
2453         (org-export-as-org, org-export-preprocess-string): Call
2454         `org-install-letbind'.
2456         * org-src.el (org-edit-src-exit): Untabify the example before
2457         returning to Org.
2459         * org-list.el (org-list-demote-modify-bullet): New option.
2460         (org-first-list-item-p): Save point.
2461         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2462         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2463         (org-item-indent-positions): Return bullet types along with
2464         indentation.
2466 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2468         * org.el (org-show-entry): Hide drawers.
2470 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2472         * org-footnote.el (org-footnote-auto-adjust): New option.
2473         (org-footnote-auto-adjust-maybe): New function.
2474         (org-footnote-new, org-footnote-delete): Call
2475         `org-footnote-auto-adjust-maybe'.
2477         * org.el (org-startup-options): Add new footnote-related
2478         keywords.
2480         * org-publish.el (org-publish-timestamp-filename): Additional
2481         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2482         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2483         TRUE-PUB-DIR.  Pass them through to
2484         `org-publish-timestamp-filename'.
2485         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2486         PUB-FUNC, which are included in the hash.
2487         (org-publish-file): Delay timestamp test until the publishing
2488         function is known.
2490 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2492         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2493         setting the deadline.
2495         * org.el (org-read-date-final-answer): New variable.
2496         (org-read-date): Store the final answer string, including the date
2497         from the calendar, for reuse by agenda bulk commands.
2499         * org-publish.el (org-publish-attachment): Fix publishing of
2500         attachments.
2502         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2503         quotation makrs in parenthesis.
2504         (org-remove-initial-hash): New function.
2505         (org-export-latex-preprocess): Fix bug with infinite loop if
2506         environment is not properly closed.
2508         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2509         when indented.
2511         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2512         highlight also when indented.
2514 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2516         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2517         (org-footnote-action): Offer renumbering.
2519         * org.el (org-cycle): Honor the `integrate' value of
2520         org-cycle-include-plain-lists'.
2522         * org-list.el (org-cycle-include-plain-lists): New allowed value
2523         `internal'.  Improve the docstring.
2525         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2526         regexp to work better with LaTeX commands.
2528 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2530         * org-feed.el (org-feed-update): fix problem with non-existing
2531         buffer.
2532         (org-feed-skip-http-headers): New function.
2533         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2534         (org-feed-get-feed): Fix command line arguments for curl.
2536 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2538         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2539         and eps extensions.
2541 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2543         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2544         loaded.
2546         * org.el (org-map-entries): No longer force
2547         `org-tags-match-list-sublevels' to t during a todo-only tags
2548         search.
2550 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2552         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2553         environment.
2554         (org-export-latex-subcontent): Handle user-defined environment.
2556         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2557         the View dispatcher.
2559         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2560         `make-overlay'.
2562         * org-latex.el (org-export-as-pdf): Protect match data during call
2563         to shell-quote-argument.
2565         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2566         (org-agenda-view-mode-dispatch): New function.
2568 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2570         * org-agenda.el (org-agenda-mode): Reset list of marks.
2571         (org-agenda-mode-map): Define new keys for refile and bulk action.
2572         (org-agenda-menu): Add menu itesm for refile and bulk action.
2573         (org-agenda-refile): New function.
2574         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2575         (org-agenda-marked-entries): New variable.
2576         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2577         (org-agenda-remove-all-bulk-action-marks)
2578         (org-agenda-bulk-action): New functions/commands.
2580 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2582         * org-exp.el (org-get-file-contents): Protect org-like lines in
2583         included files.
2584         (org-export-format-source-code-or-example): Remove newlines.
2586         * org-latex.el (org-export-latex-links): Check for no-description
2587         marking.
2589         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2590         argument separator back to comma.
2591         (org-export-normalize-links): Mark links without description.
2593 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2595         * org-exp.el (org-infile-export-plist): Fix bug in macro
2596         processing.
2598         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2599         out.
2600         (org-agenda-highlight-todo): Fix bug with highlighting.
2602 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2604         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2605         new alignment strings.
2607         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2608         command list.
2609         (org-table-align): Check for forced align type.
2611         * org.el (org-self-insert-command): Add yas/expand to command
2612         list.
2614         * org-clock.el (org-clock-in-hook): New hook.
2615         (org-clock-in): Run `org-clock-in-hook.
2616         (org-clock-out-hook): New hook.
2617         (org-clock-out): Run `org-clock-out-hook.
2618         (org-clock-cancel-hook): New hook.
2619         (org-clock-cancel): Run `org-clock-cancel-hook.
2620         (org-clock-goto-hook): New hook.
2621         (org-clock-goto): Run `org-clock-goto-hook.
2623 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2625         * org.el (org-store-link): Better default description for link to
2626         Org-mode headline.
2628         * org-exp.el (org-export-generic): Autoload the generic exporter
2629         function.
2630         (org-export): Implement the `g' key for the generic exporter.
2632 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2634         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2635         and for zbacktab'.
2637         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2639         * org-exp.el (org-infile-export-plist): Get macros also from
2640         #+SETUPFILE.
2642 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2644         * org-colview.el (org-columns-capture-view): Protect vertical bars
2645         in column values.
2646         (org-columns-capture-view): Exclude comment and archived trees.
2648         * org-colview-xemacs.el (org-columns-capture-view): Protect
2649         vertical bars in column values.
2650         (org-columns-capture-view): Exclude comment and archived trees.
2652         * org.el (org-quote-vert): New function.
2654         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2656         * org-exp.el (org-export-format-source-code-or-example): Use
2657         `org-export-latex-verbatim-wrap'.
2659         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2660         time stamps.
2662         * org-html.el (org-export-table-row-tags): New option.
2663         (org-format-org-table-html): Rename `nlines' to `nline', use new
2664         option.
2667 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2669         * org-exp-blocks.el: Declare functions and variables.
2671         * org-remember.el (org-remember-templates): Allow the headline
2672         element to be a function.
2673         (org-remember-apply-template): If the headline is a function, call
2674         it to get the true function.
2676         * org-clock.el (org-clock-menu): New function.
2677         (org-clock-update-mode-line): Update help string.
2678         (org-clock-modify-effort-estimate): New function.
2679         (org-clock-mark-default-task): New function.
2681         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2682         minutes as input.
2683         (org-org-menu): Add new clocking stuff.
2684         (org-clock-is-active): New function.
2686 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2688         * org.el (org-open-non-existing-files): Improve docstring.
2690 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2692         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2693         option.
2694         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2696         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2698         * org-list.el (org-get-checkbox-statistics-face): Use the new
2699         faces.
2701         * org-faces.el (org-checkbox-statistics-todo)
2702         (org-checkbox-statistics-done): New faces.
2704 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2706         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2707         (org-edit-src-exit): Better cursor positioning when returning from
2708         editing.
2710         * org-latex.el (org-export-latex-use-verb): New variable.
2711         (org-export-latex-emph-format): Prefer \texttt over \verb when
2712         org-export-latex-use-verb is set.
2714 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2716         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2717         at normal indentation.
2719         * org-html.el (org-export-html-close-lists-maybe): Also look at
2720         normal indentation.
2722         * org-remember.el (org-remember-handler): Abort remember if the
2723         buffer is empty.
2725         * org-src.el (org-edit-src-content-indentation): New option.
2726         (org-edit-src-exit): Apply extra indentation.
2728         * org-exp.el (org-export-format-source-code-or-example): Run
2729         `org-src-mode-hook'.
2731         * org-src.el (org-src-mode-hook): New variable.
2732         (org-edit-src-code): Run `org-src-mode-hook'.
2734 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2736         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2738         * org-src.el (org-edit-src-get-indentation): New function.
2739         (org-edit-src-code): Base indentation on the begin line.
2741 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2743         * org-gnus.el (org-gnus-store-link): Require message.el in
2744         org-gnus-store-link.
2746 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2748         * org-src.el: New file, split out of org.el
2750         * org-docbook.el (org-export-as-docbook): Better indentation
2751         treatment.
2753         * org-macs.el (org-replace-match-keep-properties): New function.
2755         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2756         preprocessing of center and quote and verse blocks.
2758         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2759         (org-export-as-docbook): Close lists when original indentation
2760         mandates it.
2762         * org-html.el (org-export-html-close-lists-maybe): New function.
2763         (org-export-as-html): Close lists when original indentation
2764         mandates it.
2766         * org-list.el (org-list-end): Respect the stored "original"
2767         indentation when determining the end of the list.
2769         * org-exp.el (org-export-replace-src-segments-and-examples):
2770         Remember indentation correctly.
2772 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2774         * org-clock.el (org-clock-update-mode-line): Apply face
2775         org-mode-line-clock.
2777         * org-faces.el (org-mode-line-clock): New face.
2779 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2781         * org-gnus.el (org-gnus-store-link): Fix bug where
2782         `org-gnus-store-link' used wrong subject when called in an article
2783         buffer.  Patch provided by fengli AT gmail DOT com.
2785 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2787         * org-exp.el (org-export-format-source-code-or-example): Remember
2788         the original indentation of source code snippets and examples.
2790         * org-latex.el (org-export-as-latex): Relocate the table of
2791         contents.
2793         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2795         * org-agenda.el (org-run-agenda-series): Scope global options also
2796         when creating the agenda buffer.
2798 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2800         * org.el (org-adapt-indentation): Improve documentation.
2801         (org-insert-property-drawer): Respect org-adapt-indentation when
2802         inserting the drawer.
2803         (org-remove-flyspell-overlays-in): New function.
2804         (org-do-emphasis-faces, org-activate-plain-links)
2805         (org-activate-code, org-fontify-meta-lines-and-blocks)
2806         (org-activate-angle-links, org-activate-footnote-links)
2807         (org-activate-bracket-links, org-activate-dates)
2808         (org-activate-target-links, org-activate-tags): Remove flyspell
2809         overlays.
2811 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2813         * org.el (org-edit-src-save): New function.
2815         * org-clock.el (org-clock-out-switch-to-state): New option.
2816         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2818         * org-compat.el (org-compatible-face): Improve macro.
2820         * org.el (org-global-properties-fixed): Add default for
2821         CLOCK_MODELINE_TOTAL.
2823         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2824         andd tend.
2825         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2826         org-clock-sum.
2827         (org-clock-get-sum-start): New function.
2829         * org.el (org-startup-options): New keywords blockhide and
2830         blockshow.
2831         (org-mode): Add new invisibility spec.
2832         (org-set-startup-visibility): Hide block on startup if so
2833         desired.
2834         (org-hide-block-startup): New option.
2835         (org-block-regexp): New constant.
2836         (org-hide-block-overlays): New variable.
2837         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2838         (org-show-block-all, org-hide-block-toggle-maybe)
2839         (org-hide-block-toggle): New functions.
2840         (org-edit-src-exit): Do not quote lines starting with # and no +
2841         behind it.
2842         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2843         entry.
2845 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2847         * org.el (org-buffer-property-keys): Add Effort property for
2848         completion.
2850 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2852         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2853         when retrieving total clocked time in the subtree.
2855         * org.el (org-quoting-blocks): New variable.
2857 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2859         * org-table.el (org-table-store-formulas)
2860         (org-table-get-stored-formulas, org-table-fix-formulas)
2861         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2862         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2864         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2865         indented #+TBLFM line.
2867         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2868         indented #+TBLFM line.
2870         * org-colview.el (org-dblock-write:columnview): Allow indented
2871         #+TBLFM line.
2873         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2874         indented #+TBLFM line.
2876         * org-clock.el (org-dblock-write:clocktable): Allow indented
2877         #+TBLFM line.
2879 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2881         * org-exp.el (org-export-format-source-code-or-example): Make
2882         editing indented blocks work correctly.
2884         * org.el (org-edit-src-nindent): New variable.
2885         (org-edit-src-code, org-edit-fixed-width-region)
2886         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2887         editing indented blocks work correctly.
2889 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2891         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2892         indented blocks.
2893         (org-export-format-source-code-or-example): Fix indentation of
2894         blocks.
2895         (org-export-remove-indentation): New function.
2896         (org-export-select-backend-specific-text): Allow backend-specific
2897         code to be indented.
2898         (org-export-mark-blockquote-verse-center): Allow markers to be
2899         indented.
2901         * org.el (org-fontify-meta-lines): New function.
2902         (org-set-font-lock-defaults): Call the new fontification
2903         function.
2905         * org-faces.el (org-meta-line): New face
2906         (org-block):  New face.
2908 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2910         * org.el (org-treat-insert-todo-heading-as-state-change)
2911         (org-treat-S-cursor-todo-selection-as-state-change): New
2912         variables.
2913         (org-insert-todo-heading): Honor
2914         `org-treat-insert-todo-heading-as-state-change'.
2915         (org-shiftright, org-shiftleft): Honor
2916         `org-treat-S-cursor-todo-selection-as-state-change'.
2917         (org-inhibit-logging): New variable.
2919 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
2921         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2922         range for marker position checking.
2924         * org-latex.el (org-export-latex-first-lines): Fix bug when
2925         exporting a region.
2927 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
2929         * org-exp.el (org-export-push-to-kill-ring): Protect using
2930         x-set-selection, because that does not always work.
2932         * org-agenda.el (org-agenda-list): Apply the new face
2933         `org-agenda-date-today'.
2935         * org-faces.el (org-agenda-date-today): New face.
2937 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
2939         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2940         creating appointments.
2942         * org-latex.el (org-export-latex-low-levels): Fix customization
2943         type.
2945         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2946         priority commands.
2948         * org-agenda.el (org-agenda-priority): Disable priority commands.
2950         * org.el (org-enable-priority-commands): New option.
2952         * org-colview-xemacs.el (org-columns-compute)
2953         (org-columns-number-to-string): Fix problems with empty fields.
2955         * org-colview.el (org-columns-compute)
2956         (org-columns-number-to-string): Fix problems with empty fields.
2958         * org-exp.el (org-export-push-to-kill-ring): New function.
2959         (org-export-copy-to-kill-ring): New option.
2961         * org-latex.el (org-export-as-latex): Call
2962         `org-export-push-to-kill-ring'.
2964         * org-html.el (org-export-as-html): Call
2965         `org-export-push-to-kill-ring'.
2967         * org-docbook.el (org-export-as-docbook): Call
2968         `org-export-push-to-kill-ring'.
2970         * org-ascii.el (org-export-as-ascii): Call
2971         `org-export-push-to-kill-ring'.
2973         * org-exp.el (org-export-show-temporary-export-buffer): New
2974         option.
2976         * org-latex.el (org-export-as-latex): Use
2977         `org-export-show-temporary-export-buffer'.
2979         * org-html.el (org-export-as-html): Use
2980         `org-export-show-temporary-export-buffer'.
2982         * org-docbook.el (org-export-as-docbook): Use
2983         `org-export-show-temporary-export-buffer'.
2985         * org-ascii.el (org-export-as-ascii-to-buffer): Use
2986         `org-export-show-temporary-export-buffer'.
2988         * org-exp.el (org-export-show-temporary-export-buffer): New
2989         option.
2990         (org-export-push-to-kill-ring): New function.
2992         * org-colview.el (org-columns-compile-map): New variable.
2993         (org-columns-new, org-columns-compute)
2994         (org-columns-number-to-string, org-columns-uncompile-format)
2995         (org-columns-compile-format): Implement new operators.
2997 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
2999         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3001         * org-html.el (org-export-html-xml-declaration): New option.
3002         (org-export-as-html): Use `org-export-html-xml-declaration'.
3004         * org-list.el (org-update-checkbox-count): Make property
3005         dependent.
3007         * org.el (org-hierarchical-todo-statistics): New option.
3008         (org-update-parent-todo-statistics): Modified to handle recursive
3009         statistics.
3011 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3013         * org-publish.el (org-publish): Make this function behave
3014         correctly in interactive use when called with a prefix argument.
3016         * org.el (org-todo-statistics-hook): New hook.
3017         (org-update-parent-todo-statistics): Use new hook.
3018         (org-log-into-drawer): New function.
3019         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3020         determine if we should be logging into a drawer.
3021         (org-log-into-drawer): Update docstring.
3022         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3024         * org-list.el (org-checkbox-statistics-hook): New hook.
3025         (org-update-checkbox-count-maybe): Use new hook.
3027         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3028         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3029         to kill ring.
3031 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3033         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3034         a line.
3036 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3038         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3039         better bufer-generating mechanism.
3040         (org-edit-src-find-buffer): New function.
3042         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3043         archive tag, this is already done by `org-agenda-skip'.
3044         data while constructing lost of tags.
3046 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3048         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3049         as argument separator in macros.
3051         * org-html.el (org-export-as-html): Add xml declaration.
3053 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3055         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3056         (org-sort-entries-or-items): Run the new hook.
3057         (org-after-refile-insert-hook): New hook.
3058         (org-refile): Run `org-after-refile-insert-hook'.
3060         * org-agenda.el (org-agenda-get-progress): Never take time of day
3061         from headline when displaying progress.
3063         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3064         (org-export-as-latex): Force the correct regexp in the
3065         preprocessor buffer.
3066         (org-export-latex-set-initial-vars): Set
3067         `org-export-latex-complex-heading-re'.
3069         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3070         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3072 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3074         * org-latex.el (org-export-latex-tables-centered): New option.
3075         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3077         * org-exp.el (org-export-as-org): New command.
3078         (org-export-as-org): New command.
3080         * org-publish.el (org-publish-org-to-org): New function.
3082 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3084         * org.el (org-yank): Just call `org-yank-generic'.
3085         (org-yank-generic): New function, containing the formaer
3086         functionality of `org-yank'.
3088         * org-latex.el (org-export-latex-not-done-keywords)
3089         (org-export-latex-done-keywords): New variables.
3090         (org-export-latex-todo-keyword-markup): New option.
3091         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3092         (org-export-latex-keywords-maybe): Apply the TODO markup.
3094 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3096         * org-exp.el (org-infile-export-plist): Add more default macros.
3097         (org-export-preprocess-apply-macros): Process macro arguments.
3099 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3101         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3102         `unblocked'.
3103         (org-print-icalendar-entries): Respect the new value of
3104         `org-icalendar-include-todo'.
3106         * org.el (org-link-try-special-completion)
3107         (org-file-complete-link): New functions.
3108         (org-insert-link): Add special completion support for some link
3109         types.
3111         * org-bbdb.el (org-bbdb-complete-link): New function.
3113 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3115         * org-list.el (org-update-checkbox-count): Allow recursive
3116         statistics.
3117         (org-hierarchical-checkbox-statistics): New option.
3119         * org.el (org-cycle): Remove erraneous space character.
3121         * org-icalendar.el (org-icalendar-timezone): Initialize from
3122         environment.
3124         * org-html.el (org-format-org-table-html): Specify the scope.
3125         (org-format-table-table-html): Specify the scope.
3126         (org-export-table-header-tags): Prepare the scope parameter.
3128 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3130         * org-html.el
3131         (org-export-html-table-use-header-tags-for-first-column): New
3132         option.
3134         * org.el (org-autoload): Fix autoloading of ascii export
3135         functions.
3136         (org-modules): Add org-special-blocks.
3138 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3140         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3141         (org-ical-timezone): New option.
3143         * org-exp.el (org-export-get-coderef-format): Use the description
3144         is present.
3146         * org.el (org-sort-entries-or-items): Improve docstring, and make
3147         better implementation for time sorting.
3149 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3151         * org.el (org-edit-src-persistent-message): New option.
3152         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3153         option.
3155         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3156         patch.
3158         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3159         separate buffer instead of indirect buffer to edit source code.
3160         (org-edit-src-exit): Make this function work with the new setup.
3162         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3163         are properly fontified before shown in the selection menu.
3165         * org.el (org-fontify-like-in-org-mode): New function.
3167         * org-latex.el (org-export-latex-links): Use the property list to
3168         retrieve the default image attributes.
3170         * org-exp.el (org-export-plist-vars): Add a new option.
3172 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3174         * org-exp.el (org-export, org-export-visible): Support ASCII
3175         export to buffer
3176         (org-export-normalize-links): Do not protect the description if it
3177         is explicitly given.
3179         * org-ascii.el (org-export-as-ascii-to-buffer)
3180         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3181         commands.
3182         (org-export-as-ascii): Add all the same parameters that are also
3183         supported by the other export functions.
3185         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3186         org-checklist.el.
3187         (org-reset-checkbox-state-subtree): Call
3188         `org-reset-checkbox-state-subtree'.
3190         * org-remember.el (org-select-remember-template): For the
3191         selection of a valid template.
3193         * org-latex.el (org-export-region-as-latex): Supply the
3194         force-no-subtree argument.
3195         (org-export-as-latex): Provide better limits when exporting the
3196         first line.  When exporting to string, we still want the first
3197         lines.
3198         (org-export-latex-first-lines): New argument END, to force the end
3199         of the region.
3200         (org-export-region-as-latex): Use the property list.
3201         (org-export-as-latex):
3203         * org-colview-xemacs.el (org-columns-remove-overlays)
3204         (org-columns): Fix call to `local-variable-p'.
3206 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3208         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3209         (org-export-as-html): Run the new hook.
3211         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3212         (org-export-latex-preprocess): Run the new hook.
3214         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3215         (org-export-preprocess-string): Run the new hook.
3217 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3219         * org-macs.el (org-check-external-command): New defsubst.
3221         * org.el (org-mode-map): New key for reload.
3222         (org-format-latex): Better error message when external programs
3223         are not available.
3225         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3227         * org.el (org-sort-entries-or-items): Explicit sorting function
3228         for priorities, needed for XEmacs compatibility.
3230         * org-remember.el (org-remember-apply-template): Improve auto-save
3231         behavior.
3233 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3235         * org-latex.el (org-export-latex-preprocess): Also protect
3236         environments ending in a star.
3238         * org-list.el (org-at-item-p): Fix regular expression.
3240 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3242         * org.el (org-end-of-subtree): Improve speed.
3244         * org-agenda.el (org-agenda-get-timestamps)
3245         (org-agenda-get-progress, org-agenda-get-deadlines)
3246         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3247         in particular, wait as long as possible to collect the tags.
3248         (org-stuck-projects): Improve docstring.
3250         * org.el (org-store-link): No errors when getting custom id before
3251         first headline.
3252         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3254 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3256         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3258         * org-protocol.el: Remove dependency on url.el.
3259         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3260         dependency on url.el.
3262         * org-latex.el (org-export-as-pdf): Use
3263         `org-latex-to-pdf-process'.
3265 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3267         * org-latex.el (org-latex-to-pdf-process): New option.
3269         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3270         New option.
3271         (org-agenda-get-timestamps): Honor
3272         `org-agenda-skip-additional-timestamps-same-entry'.
3274         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3275         (org-clock-goto): Find recent task only if
3276         `org-clock-goto-may-find-recent-task' allows it.
3278         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3279         drawers, and drawers that are missing the :END: line.
3281 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3283         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3284         clock is running.
3286 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3288         * org.el (org-update-parent-todo-statistics): Check for
3289         STATISTICS_FROM property.
3291         * org-list.el (org-update-checkbox-count): Check for
3292         STATISTICS_FROM property.
3294         * org.el (org-tab-first-hook)
3295         (org-tab-after-check-for-table-hook)
3296         (org-tab-after-check-for-cycling-hook): New hooks.
3297         (org-cycle-internal-global, org-cycle-internal-local): New
3298         functions, split out from `org-cycle'.
3299         (org-cycle): Call the new hooks.
3301 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3303         * org-exp.el (org-export-preprocess-string): Reset the list of
3304         preferred targets for each run of the preprocessor.
3306         * org.el (org-refile-target-verify-function): Improve
3307         documentation.
3308         (org-get-refile-targets): Respect point being moved by the
3309         verification function.
3311         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3312         option.
3313         (org-export-latex-keywords): Use new option.
3315         * org.el (org-rear-nonsticky-at): New defsubst.
3316         (org-activate-plain-links, org-activate-angle-links)
3317         (org-activate-footnote-links, org-activate-bracket-links)
3318         (org-activate-dates, org-activate-target-links)
3319         (org-activate-tags): Place the rear-nonsticky properties at the
3320         correct location.
3322 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3324         * org-protocol.el (server-edit): Declare `server-edit'.
3325         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3326         functions.
3327         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3329         * org.el (org-default-properties): New default properteis for
3330         completion.
3332         * org-exp.el (org-export-add-subtree-options): Add new properties
3333         for subtree export.
3335         * org-docbook.el (org-export-docbook-keywords-markup)
3336         (org-export-docbook-timestamp-markup): New options.
3337         (org-export-docbook-protect-tags): New function.
3339 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3341         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3342         org-refile-target-verify-function for the duration of the command.
3344         * org.el (org-link-to-org-use-id): New possible value
3345         `create-if-interactive-and-no-custom-id'.
3346         (org-store-link): Use custom IDs.
3347         (org-link-search): Find custom ID properties from #link.
3348         (org-default-properties): Add CUSTOM_ID for property completion.
3349         (org-refile-target-verify-function): New option.
3350         (org-goto): Turn off org-refile-target-verify-function
3351         for the duration of the command.
3353 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3355         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3357         * org-exp.el (org-export-preferred-target-alist): New variable.
3358         (org-export-define-heading-targets): Find the new CUSTOM_ID
3359         property.
3360         (org-export-target-internal-links): Target the custom ids when
3361         possible.
3363         * org-latex.el (org-export-latex-preprocess): Better regexp for
3364         matching latex macros with arguments.
3366 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3368         * org-remember.el (org-remember-handler): Allow filing to non-org
3369         files.
3371 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3373         * org-feed.el (org-feed-alist): New keyword options.
3374         (org-feed-update): Use the new options.
3375         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3376         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3377         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3378         functions.
3380         * org-table.el (org-table-fix-formulas): Do not change references
3381         to remote tables.
3382         (org-table-get-remote-range): Convert standard coordinates to RC
3383         format.
3385         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3387 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3389         * org-compat.el (org-sha1-string): Function removed.
3391         * org.el (org-refile-allow-creating-parent-nodes): New option.
3392         (org-refile-get-location): New argument NEW-NODES.
3393         (org-refile): Call `org-refile-get-location' with the new
3394         argument.
3395         (org-refile-get-location): Arrange for adding a new child.
3396         (org-refile-new-child): New function.
3398         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3399         an additional span element.
3401         * org-clock.el: Fix a number of docstrings.
3402         (org-clock-find-position): New argument
3403         FIND-UNCLOSED to make the function find an unclosed clock in the
3404         entry.
3405         (org-clock-in): Call `org-clock-find-position' with the new
3406         argument if we might be resuming a clock.
3408 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3410         * org-latex.el (org-export-latex-display-custom-times): New variable.
3411         (org-export-latex-timestamp-markup): New option.
3412         (org-export-latex-set-initial-vars): Remember the local value of
3413         `org-display-custom-times'.
3414         (org-export-latex-content): Process time stamps.
3415         (org-export-latex-time-stamps): New function.
3417         * org-macs.el (org-maybe-intangible): Add intangible property
3418         again to invisible text.
3420 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3422         * org-exp.el (org-default-export-plist): Handle undefined
3423         variables.
3425 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3427         * org.el (org-sort-entries-or-items): Match TODO keywrds
3428         case-sensitively, when sorting.
3429         (org-priority): Do not match TODO keywords with wrong case.
3431 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3433         * org-feed.el (org-feed-update): Bind the variable
3434         `new-formatted'.
3436         * org-html.el (org-export-as-html): Start paragraphs after literal
3437         examples.
3439         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3440         literal examples.
3442 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3444         * org.el (org-todo): Honor the NOBLOCKING property.
3446         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3447         NOBLOCKING property.
3449         * org.el (org-scan-tags): Fix bug in tag scanner
3451 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3453         * org.el (org-modules): Mark obsolete packages.
3455         * org-html.el: New file, split out from org-exp.el.
3457         * org-icalendar.el: New file, split out from org-exp.el.
3459         * org-xoxo.el: New file, split out from org-exp.el.
3461         * org-ascii.el: New file, split out from org-exp.el.
3463 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3465         * org-compat.el (org-find-library-name): New function.
3467         * org.el (org-pre-cycle-hook): New hook.
3468         (org-cycle): Call the new hook in appropriate places.
3469         (org-reload): Only reload files that have been loaded before.
3471 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3473         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3474         after todo keyword.
3475         (org-todo): When changing TODO state, do matching
3476         case-sensitively.
3477         (org-map-continue-from): New variable.
3478         (org-scan-tags): Respect values in `org-map-continue-from'.
3479         (org-reload): Make XEmacs compatible.
3481 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3483         * org-protocol.el (org-protocol-flatten-greedy): New function.
3484         (org-protocol-flatten): New function.
3486         * org.el (org-open-link-from-string): Pass reference buffer to
3487         `org-open-at-point'.
3488         (org-open-at-point): New optional argument `reference-buffer'.
3490 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3492         * org.el (org-scan-tags): Make tag scan find headline in first
3493         line, 2nd attempt.
3494         (org-get-refile-targets): Add the naked file name.
3495         (org-refile): Store as top-level entry when only file name was
3496         given.
3498         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3500         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3501         Renamed from org-block-todo-from-children-or-siblings, and
3502         enhanced to look for the parent's status as well.
3504         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3505         (org-agenda-get-progress): Add first notes line to log entry if so
3506         desired.
3508 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3510         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3511         (org-agenda-cleanup-fancy-diary): Call the new hook.
3513         * org-remember.el (org-remember-apply-template): Take the default
3514         for the annotation from the :annotation property.
3516         * org-mac-message.el (org-mac-message-get-link): Remove the
3517         quotes.
3518         (org-mac-message-get-link): Return the result.
3520 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3522         * org.el (org-refile-get-location): Add file name only if not
3523         already included in outline path.
3525         * org-faces.el (org-n-level-faces): Fix customization type from
3526         number to integer.
3528         * org-exp.el (org-export-headline-levels): Fix customization type
3529         from number to integer.
3531         * org-agenda.el (org-agenda-confirm-kill)
3532         (org-agenda-custom-commands-local-options)
3533         (org-timeline-show-empty-dates, org-agenda-ndays)
3534         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3535         customization type from number to integer.
3537 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3539         * org-protocol.el: Declare some functions.
3541         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3542         postion before inserting modified headline.
3544         * org-agenda.el (org-agenda-compare-effort): Honor
3545         `org-sort-agenda-noeffort-is-high'.
3546         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3547         (org-agenda-compare-effort): Implement the "?" operator for
3548         finding entries without effort setting.
3550         * org.el (org-extract-attributes-from-string): New function.
3552         * org-exp.el (org-export-splice-attributes): New function.
3554 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3556         * org-mouse.el: XEmacs compatibility fixes
3558         * org-docbook.el (org-export-as-docbook): Process footnotes like
3559         normal text.
3561         * org.el (org-modules): Add org-inlinetasks.el
3562         (org-cycle): Implement limiting level on cycling.
3563         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3564         buffer.
3566         * org-inlinetask.el: New file.
3568         * org.el (org-emphasis-regexp-components): Allow braces in
3569         emphasis pre and post match.
3571         * org-footnote.el (org-footnote-normalize): When only dorting, do
3572         not insert inline notes at the end.
3574         * org-docbook.el (org-id-find-id-file): Add function declaration.
3576         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3578         * org-docbook.el: New file.
3580 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3582         * org.el (org-reftex-citation): New command.
3584 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3586         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3587         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3588         sorting options.
3589         (org-entries-lessp): Apply the new sorting option.
3591         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3592         blocker code, when an older sibling has children.
3594         * org-mac-message.el (org-mac-message-get-link): Improve getting
3595         links from multiple selected messages.
3597 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3599         * org-remember.el (org-remember-finalize): Do not set buffer file
3600         name to nil.
3601         (org-remember-handler): Mark buffer as unmodified.
3602         (org-remember-handler): Delete backup file and show message about
3603         remaining backup files.
3604         (org-remember-auto-remove-backup-files): New option.
3606         * org.el (org-store-link): Use buffer name as link description in
3607         w3-mode buffers.
3608         (org-ido-switchb): Fix argument bug for completion.
3610         * org-remember.el (org-remember-apply-template): Set local
3611         variable `auto-save-visited-file-name' instead of global one.
3613 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3615         * org-feed.el: Re-write.
3617         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3618         (org-agenda-get-todos): Mark file tags as inherited.
3619         (org-agenda-list): Always search diary lines for a time.
3621 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3623         * org-feed.el (org-feed-assume-stable): New option.
3624         (org-feed-before-adding-hook): New hook.
3626         * org-exp.el (org-export-as-html): Close local lists depending on
3627         indentation, also when starting a table.
3629         * org-remember.el (org-remember-backup-directory)
3630         (org-remember-backup-name): New internal variable.
3632 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3634         * org-clock.el (org-clock-out-if-current): Make buffer detection
3635         work in indirect buffers as well.
3637         * org.el (org-emphasis-regexp-components): Add the exxclamation
3638         mark to the post-emphasis characters.
3640 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3642         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3643         (org-read-date): Run the new hook.
3645         * org-mac-message.el (org-mac-flagged-mail): New group.
3646         (org-mac-mail-account): New variable.
3647         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3648         commands.
3650         * org-remember.el (org-remember-backup-directory): New variable.
3651         (org-remember-apply-template): Write file to backup directory.
3653 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3655         * org-mouse.el (org-mouse-todo-menu): New function.
3656         (org-mouse-todo-keywords): Function removed.
3657         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3659         * org-table.el (org-table-beginning-of-field)
3660         (org-table-end-of-field): New commands
3661         (org-table-previous-field, org-table-beginning-of-field): Better
3662         error messages.
3663         (orgtbl-setup): Include `M-a' and `M-e'.
3665         * org.el (org-backward-sentence, org-forward-sentence): New
3666         commands.
3668         * org-colview.el (org-colview-initial-truncate-line-value): New
3669         variable.
3670         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3671         (org-columns): Remember the value of `truncate-lines'.
3673         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3674         New variable.
3675         (org-columns-remove-overlays): Restore the value of
3676         `truncate-lines'.
3677         (org-columns): Remember the value of `truncate-lines'.
3679         * org.el (org-columns-skip-arrchived-trees): New option.
3681         * org-agenda.el (org-agenda-export-html-style): Define color for
3682         org-agenda-done face.
3683         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3684         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3686         * org.el (org-scan-tags): Use the new face.
3688         * org-faces.el (org-agenda-done): New face.
3690         * org.el (org-scan-tags): Test the value org
3691         `org-tags-match-list-sublevels'.
3692         (org-tags-match-list-sublevels): New allowed value: indented.
3694         * org-export-latex.el (org-export-latex-make-header): Apply macros
3695         in header.
3697         * org-exp.el (org-export-apply-macros-in-string): New function.
3699         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3700         with the definition of a checked box.
3702         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3704         * org-export-latex.el (org-export-latex-low-levels): More options
3705         for how to process lower levels in LaTeX.
3706         (org-export-latex-subcontent): Better treatment for lists as a
3707         means of publishing lower levels.
3709 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3711         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3713         * org-faces.el (org-checkbox): New face.
3715         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3716         fragement images if there is an export file.
3718 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3720         * org-agenda.el (org-stuck-projects): Document that the subtree of
3721         projects that are not stuck will now be searched for stuck
3722         sub-projects.
3723         (org-agenda-skip-entry-when-regexp-matches)
3724         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3725         (org-agenda-list-stuck-projects): Use
3726         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3728         * org-export-latex.el (org-export-latex-preprocess): Improve
3729         export of verses.
3731         * org-exp.el (org-export-as-html): Implement centering as a div
3732         rather than a paragraph.  Do a better job with line-end in verse
3733         environments.
3735 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3737         * org.el (org-open-at-point): Fix tags searches by mouse click.
3739 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3741         * org-export-latex.el (org-export-latex-preprocess): Implement the
3742         centering markup.
3744         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3745         from `org-export-mark-blockquote-and-verse'.
3746         (org-export-as-html): Implement the centering markup.
3748         * org-export-latex.el (org-export-latex-tables): Fix vertical
3749         lines in tables.
3751 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3753         * org.el (org-read-date-history): New variable.
3754         (org-read-date): Use new history variable.
3755         (org-toggle-heading): Fix bug when used before first headline.
3756         (org-store-log-note): Remove drawer if empty while note is
3757         aborted.
3758         (org-remove-empty-drawer-at): New function.
3759         (org-check-after-date): New command.
3760         (org-sparse-tree): New sparse tree command "a".
3762         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3764 2009-03-14  Bastien Guerry  <bzg@altern.org>
3766         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3767         column and a space, not only a column.
3769 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3771         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3772         defaults for verbose emphasis.
3773         (org-export-latex-emph-format): New function.
3774         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3776         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3777         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3778         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3779         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3780         commands.
3782         * org.el (org-timestamp-change): Move end-time along with start
3783         time.
3785 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3787         * org-exp.el (org-export-target-internal-links)
3788         (org-export-as-html): Protect links specified as #name.
3790 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3792         * org.el (org-clone-subtree-with-time-shift): New command.
3794         * org-export-latex.el (org-export-latex-special-chars)
3795         (org-export-latex-treat-sub-super-char): Fix subscript export.
3797         * org-exp.el (org-create-multibrace-regexp): Do not add
3798         backslashes to the class.
3800 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3802         * org-colview.el (org-columns-map): Better functions for moving up
3803         and down a row, even if `truncate-line' is nil.
3805         * org.el (org-insert-todo-heading): Make sure the keyword is
3806         inserted at the correct position.
3808         * org-publish.el (org-publish-project-alist)
3809         (org-publish-projects, org-publish-org-index): Change default anme
3810         for the index of file names to "sitemap.org".
3812         * org-export-latex.el (org-export-latex-tables): Use
3813         `org-split-string', for Emacs 21 compatibility.
3815 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3817         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3819 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3821         * org-exp.el (org-export-page-description)
3822         (org-export-page-keywords): New variables.
3823         (org-export-plist-vars): Add entries for :keywords and
3824         :description.
3825         (org-infile-export-plist): Parse for new keywords.
3826         (org-get-current-options): Add new keywords
3827         (org-export-as-html): Publish description and keywords.
3829         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3830         option.
3831         (org-agenda-add-entry-text): Honor
3832         `org-agenda-add-entry-text-descriptive-links'.
3834         * org-export-latex.el (org-export-latex-preprocess): Make all
3835         external preprocess functions use a PARAMETER arg.
3837         * org-exp.el (org-export-preprocess-string)
3838         (org-export-select-backend-specific-text)
3839         (org-export-format-source-code-or-example)
3840         (org-format-org-table-html): Support docbook export.
3841         (org-export-preprocess-string): Make all external preprocess
3842         functions use a PARAMETER arg.
3844 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3846         * org-exp.el (org-export-html-style-include-scripts): New option.
3847         (org-export-plist-vars): Add new option
3848         `org-export-html-style-include-scripts'.
3849         (org-export-as-html): Honor new option
3850         `org-export-html-style-include-scripts'.
3851         (org-export-html-scripts, org-export-html-style-default): Fix
3852         xml issues with the Safari browser.
3854 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3856         * org-publish.el (org-publish-attachment): Only copy file when the
3857         directories differ.
3859 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3861         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3862         for clocktable steps.
3864         * org.el (org-additional-option-like-keywords): Add two more
3865         keywords.
3867 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3869         * org-exp.el (org-export-format-source-code-or-example): Mark
3870         temporary buffer unmodified, so that it will be killed even if
3871         mode like message mode has decided to assign a file name.
3873         * org.el (org-scan-tags): Improve tag inheritance.
3874         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3875         case-sensitive.
3876         (org-scan-tags): Use the internal tags list instead of creating it
3877         from scratch.
3878         (org-trust-scanner-tags, org-scanner-tags): New variables.
3879         (org-scan-tags): Set `org-scanner-tags'.
3880         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3881         (org-map-entries): Document the possible speedup using scanner
3882         tags.
3884 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3886         * org.el (org-add-planning-info): Fix bug with looking for keyword
3887         only at column 0.
3889         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3890         option for tags filter preset.
3891         (org-prepare-agenda): Store filter preset as a property on the
3892         filter variable.
3893         (org-finalize-agenda): Call the filter, if there is a preset.
3894         (org-agenda-filter-by-tag): Filter again after clearing the
3895         filter, when there still is a preset.
3896         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3897         Include the preset filter.
3898         (org-agenda-redo): Apply the filter again, also the preset filter.
3900         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3902         * org.el (org-uuidgen-p): New funtion.
3904         * org-agenda.el (org-agenda-fontify-priorities): New default value
3905         `cookies'.
3906         (org-agenda-fontify-priorities): Renamed from
3907         org-fontify-priorities.
3909         * org.el (org-set-font-lock-defaults): Call
3910         `org-font-lock-add-priority-faces'.
3911         (org-font-lock-add-priority-faces): New function.
3913         * org-faces.el: (org-set-tag-faces): New option.
3914         (org-priority-faces): New variable.
3916         * org-exp.el (org-export-as-html): Add a "content" div around the
3917         entire content of the body tag.
3918         (org-export-html-get-bibliography): New function.
3919         (org-export-html-validation-link): New variable.
3920         (org-export-as-html): Add validation link to exported page.
3922         * org.el (org-match-sparse-tree): Renamed from
3923         `org-tags-sparse-tree'.
3924         (org-tags-sparse-tree): New alias.
3926 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
3928         * org.el (org-get-valid-level): Catch the case where the level
3929         change is nil.
3931         * org-clock.el (org-clock-find-position): Better indentation of
3932         new clock drawers.
3934 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
3936         * org-agenda.el (org-agenda-quit): Delete window only when the
3937         frame-setup was not `current-window'.
3939         * org.el (org-tag-persistent-alist): New option.
3940         (org-startup-options): Add keyword `noptag'.
3941         (org-fast-todo-selection): Handle :newline correctly.
3942         (org-set-tags): Handle :newline correctly.
3943         (org-fast-tag-selection): Handle :newline correctly.
3945 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
3947         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3948         outputting it.
3949         (org-export-ascii-push-links): Fix bug with pussing links into the
3950         export buffer.
3952 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
3954         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3955         pasting at top level.
3957         * org-bbdb.el: Improve documentation.
3959 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
3961         * org-list.el (org-insert-item): Only consider insert empty lines
3962         is `org-empty-line-terminates-plain-lists' is not nil.
3964         * org.el (org-blank-before-new-entry): Mention the dependence on
3965         `org-empty-line-terminates-plain-lists' in the docstring.
3967         * org-publish.el (org-publish-get-project-from-filename): New
3968         optional argument UP.  Only find the top project if UP is set.
3969         (org-publish-current-project): Find the top encloding project.
3971         * org-agenda.el (org-agenda-before-write-hook)
3972         (org-agenda-add-entry-text-maxlines): New options.
3973         (org-write-agenda): Run the new hook in the temporary buffer.
3974         (org-agenda-add-entry-text): New function.
3975         (org-write-agenda): Implement PDF export, using ps2pdf.
3977         * org.el (org-global-properties-fixed, org-global-properties):
3978         Improve documentation string.
3980         * org-exp.el (org-export-ascii-links-to-notes): New option.
3981         (org-export-as-ascii): Handle links better.
3982         (org-export-ascii-wrap, org-export-ascii-push-links): New
3983         functions.
3985 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
3987         * org-agenda.el (org-agenda): Make prefix arg optional.
3988         (org-agenda-search-headline-for-time): New option.
3989         (org-format-agenda-item): Honor
3990         `org-agenda-search-headline-for-time'.
3992         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3993         characters.
3995         * org.el (org-self-insert-cluster-for-undo): New option.
3996         (org-self-insert-command): Cluster undo for 20 characters.
3997         (org-self-insert-command-undo-counter): New variable.
3999 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4001         * org-exp.el (org-export-as-html): Fix problem with closing colone
4002         example.
4004 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4006         * org-export-latex.el (org-export-as-latex)
4007         (org-export-latex-first-lines): Avoid modification flag when
4008         adding or removing text properties.
4009         (org-export-latex-fontify): Catch error when org-emph-alist has
4010         entries that are not defined for LaTeX export.
4012         * org.el (orgstruct++-mode): New function.
4013         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4014         (org-context-p): Allow detecting item context after the first line
4015         of an item.
4016         (orgstruct-make-binding): Detect if item-body context should be
4017         seen.
4018         (orgstruct-is-++): New variable.
4019         (org-add-planning-info): Catch the case when there is no planning
4020         info yet and the call does not want to add anything, only maybe
4021         tries to remove something.
4022         (org-special-ctrl-a/e): All value to be a cons cell with separate
4023         settings for `C-a. and `C-e'.
4024         (org-beginning-of-line, org-end-of-line): Honor separate values
4025         for `C-a' and `C-e'.
4027 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4029         * org.el (org-reload): New command.
4031 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4033         * org-exp.el (org-export-htm-get-tag-class-name)
4034         (org-export-htm-get-todo-kwd-class-name): New functions.
4035         (org-export-html-tag-class-prefix)
4036         (org-export-html-todo-kwd-class-prefix): New options.
4037         (org-export-as-html): Call
4038         `org-export-html-get-todo-kwd-class-name'.
4039         (org-html-level-start): Wrap tags into classes.
4040         (org-export-html-get-tag-class-name)
4041         (org-export-html-get-todo-kwd-class-name): New functions.
4043         * org-export-latex.el (org-export-latex-collect-header-macros):
4044         Remove fields that are used anyway.
4045         (org-export-latex-make-header): Insert the options earlier.
4047         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4048         matching.
4050         * org-list.el (org-indent-item): Allow point to be at the end of
4051         the region.
4053         * org.el (org-metaleft, org-metaright): Be more accurate about
4054         detecting a region where commands apply.
4056         * org-compat.el (org-cursor-to-region-beginning): New function.
4058         * org.el (org-priority): Also find invisible heading.
4060         * org-colview-xemacs.el (org-columns-edit-value): No special
4061         treatment for `org-todo' prefix.
4063         * org-colview.el (org-columns-edit-value): No special treatment
4064         for `org-todo' prefix.
4066         * org-remember.el (org-remember-apply-template): Use
4067         `org-completing-read-no-ido'.
4069         * org.el (org-completing-read-no-ido): New function.
4070         (org-make-tags-matcher, org-set-property): Use
4071         `org-completing-read-no-ido'.
4073         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4074         New option.
4075         (org-export-as-latex): Import in-buffer settings as TeX macros.
4076         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4077         (org-export-latex-collect-header-macros): New function.
4079         * org.el (org-refile-get-location): Turn off
4080         `partial-completion-mode'.
4082 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4084         * org.el (org-block-todo-from-checkboxes): Announce that
4085         checkboxes are the culprit.
4086         (org-block-todo-from-children-or-siblings): Call
4087         `org-up-heading-all instead' of `outline-up-heading'.
4089         * org-agenda.el (org-agenda-show-1): Renamed from
4090         `org-agenda-show'.
4091         (org-agenda-show): Re-install the old version for now.
4092         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4093         variable into the blokker hook, so that the checkbox checker can
4094         anounce that it caused the blocking.
4096         * org.el (org-track-ordered-property-with-tag): New option.
4097         (org-toggle-ordered-property): Honor
4098         `org-track-ordered-property-with-tag'.
4099         (org-tag-alist): Add newline options.
4100         (org-set-regexps-and-options): Separate option lines imply a
4101         newline.
4102         (org-set-regexps-and-options, org-assign-fast-keys)
4103         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4104         option.
4105         (org-indent-line-function): Make sure this works even if there is
4106         not `org-drawer-regexp' defined.  This can happen when
4107         orgstruct-mode is used in a non-org buffer.
4109         * org-list.el (org-checkbox-blocked-p): New function.
4110         (org-toggle-checkbox): Check for blocking.
4112         * org.el (org-modules): Add an entry for org-R.el.
4114         * org-agenda.el (org-agenda-todo-ignore-with-date)
4115         (org-agenda-todo-ignore-scheduled)
4116         (org-agenda-todo-ignore-deadlines): Mention the variable
4117         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4119         * org.el (org-get-wdays): Find the warning period also if it is in
4120         the wrong place.
4121         (org-ido-completing-read): Provide the correct arguments to
4122         ido-completing-read and bind `ido-enter-matching-directory' to
4123         nil.
4125 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4127         * org.el (org-olpath-completing-read): Never use ido for this
4128         one.
4130         * org-exp.el (org-export-normalize-links): Use new macro.
4132         * org-macs.el (org-if-unprotected-at): New macro.
4134         * org-agenda.el (org-agenda-show): Allow numerical prefix
4135         arguments to specify how much context should be shown.
4136         (org-agenda-cycle-show): New command, could be bound to SPC in
4137         org-agenda-mode-map.
4139         * org-exp.el (org-html-level-start): Space after section number.
4141 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4143         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4144         property, for sorting.
4145         (org-cmp-todo-state): Get the applicable TODO keywords directly
4146         from the buffer.
4147         (org-run-agenda-series, org-agenda-list, org-search-view)
4148         (org-todo-list, org-tags-view): Only fit agenda window when the
4149         whole series is done.
4151         * org.el (org-scan-tags): Add todo state as property, for sorting.
4153         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4154         `org-agenda-overriding-header' as an option.
4155         (org-agenda-list): Honor org-agenda-overriding-header'.
4157 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4159         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4160         after removing a checkbox.
4162         * org.el (org-show-entry): Make this work correctly also if it is
4163         the last entry in the file.
4164         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4165         falling back to normal, default command.
4166         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4167         item, call the checkbox toggler to get a box.
4169         * org-list.el (org-toggle-checkbox): Make double prefix set the
4170         checkbox to "[-]".
4171         (org-fix-bullet-type): Only replace bullet if it is changed.
4172         (org-renumber-ordered-list): Handle case when first item does not
4173         have a number.
4175         * org.el (org-add-log-setup): Fix positioning when
4176         `org-log-states-order-reversed' is nil.
4178         * org-clock.el (org-clock-in): Fix positioning when
4179         `org-log-states-order-reversed' is nil.
4180         (org-clock-find-position): Fix positioning when
4181         `org-log-states-order-reversed' is nil.
4183 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4185         * org-clock.el (org-clock-into-drawer): Take default from
4186         `org-log-into-drawer'.
4187         (org-clock-find-position): Look for the correct drawer.
4189         * org.el (org-log-into-drawer): Renamed from
4190         `org-log-state-notes-into-drawer'.
4191         (org-log-state-notes-into-drawer): New variable alias.
4192         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4193         CLOCK.
4194         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4196 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4198         * org-agenda.el (org-agenda): Fix docstring.
4200         * org.el ("org-plot"): Help loading org-plot.
4201         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4202         (org-metadown-hook, org-shiftmetaleft-hook)
4203         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4204         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4205         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4206         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4207         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4209         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4210         for selecting files with any (and even without) extension.
4212         * org.el (org-save-all-org-buffers): Also save id locations.
4213         (org-revert-all-org-buffers): Also load id locations.
4215 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4216         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4217         (org-log-state-notes-into-drawer): New option.
4218         (org-add-log-setup): Place the sate note marker into the drawer,
4219         create drawer when necessary.
4220         (org-refile-targets): Document special interpretation of LEVEL
4221         when odd-levels are used.
4223 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4225         * org.el (org-store-log-note): Fix note indentation when adding
4226         notes to end of list.
4228         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4229         class, so that each keyword can get special colors through CSS.
4231         * org-clock.el (org-clock-out): Add another nil for the previous
4232         state into the call to `org-add-log-setup'.
4234         * org.el (org-log-note-previous-state): New variable.
4235         (org-log-note-headings): New %S escape for old state.
4236         (org-todo): Call the note setup with the old state as an
4237         argument.
4238         (org-add-note): Add another nil for the previous state into the
4239         call to `org-add-log-setup'.
4240         (org-add-log-setup): New argument PREV-STATE.
4241         (org-add-log-note): Handle new %S escape.
4242         (org-store-log-note): Handle new %S escape.
4244 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4246         * org-clock.el (org-clock-find-position): Do not swallow an item
4247         less indented than the CLOCK line itself.
4248         (org-clock-in): Push markers to lin after the clock line.
4249         (org-clock-find-position): Handle values of
4250         `org-clock-into-drawer' smaller than 2.
4252         * org-exp.el (org-html-level-start): Add a CSS class to section
4253         numbers.
4254         (org-export-html-toplevel-hlevel): Better documentation of the
4255         influence of this variables on H levels and css classes in
4256         export.
4258 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4260         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4261         timestamp and nottimestamp to the chooe menu.
4263         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4264         (org-revert-all-org-buffers): New command.
4266 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4268         * org.el (org-return): Implement `org-return-follows-link' in the
4269         function org-return.  This is more robust than using the mouse
4270         map, I think.
4271         (org-set-regexps-and-options): Match more general #+TODO lines.
4272         (org-make-options-regexp): New optional argument EXTRA, for an
4273         extra regexp.
4274         (org-tab-follows-link): Mark as deprecated.
4276 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4278         * org-exp.el (org-export-preprocess-string): Remove clock lines
4279         earlier, so that they cannot cotribute to verbatim snippets.
4281 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4283         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4284         for finding drawers.
4285         (org-export-as-ascii, org-export-as-html): Count levels relative
4286         to the subtree header.
4287         (org-get-min-level): New optional argument OFFSET.
4288         (org-export): Make sure point is restored after popping up that
4289         window.
4291         * org.el (org-do-sort): Also take an inactive timestamp if no
4292         active one is found.
4294         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4295         deleting duplicates.
4297         * org-colview.el (org-columns-capture-view): Copy before
4298         deleting duplicates.
4300         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4301         text before first headline.
4303         * org.el (org-format-latex): Do not convert LaTeX fragments in
4304         protected examples.
4306 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4308         * org-exp.el (org-export-html-style-default): Use color values
4309         instead of names for XHTML validation.
4311         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4312         functions.
4313         (org-return-follows-link): Revert making this the default untile
4314         issues are resolved.
4316         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4317         nottimestamp.
4319 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4321         * org.el (org-mode): Make dependence stuff work more reliably.
4322         (org-update-parent-todo-statistics): Fix bug with updating
4323         statistics cookie.
4325         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4326         ~ as verbatim delimiters.
4328         * org-exp.el (org-export-html-format-image): New argument
4329         PAR-OPEN.
4330         (org-export-as-html): Pass par-open to
4331         `org-export-html-format-image'.
4333 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4335         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4336         (org-use-fast-todo-selection, org-tags-column): New default
4337         setting for variables, based on a poll what typical uses use.
4339         * org-agenda.el (org-agenda-sorting-strategy)
4340         (org-agenda-tags-column): New default setting for variables, based
4341         on a poll what typical uses use.
4343 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4345         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4346         blocked entries from setting the blocked tag.
4348         * org-exp.el (org-export-html-footnotes-section): Use a more
4349         consistent id for footnotes.
4351         * org-export-latex.el (org-export-latex-classes): Remove the
4352         a4paper option from the default styles.
4354 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4356         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4357         (org-block-todo-from-checkboxes): New function.
4358         (org-todo): Make tripple prefix arg circumvent blocking.
4360         * org-timer.el (org-timer): Provide the timer feature.
4362         * org.el (org-require-autoloaded-modules): Add a few more files to
4363         the list of autoloaded modules.
4365         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4367 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4369         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4370         drawers that are unprotected.
4371         (org-export-html-format-image): Make sure inlined LaTeX fragment
4372         images remain inlined.
4374         * org.el (org-toggle-ordered-property): New function.
4375         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4376         (org-org-menu): Add menu entries for TODO dependencies.
4378 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4380         * org.el (org-default-properties): Add ORDERED to the default
4381         properties, to get completion support for it.
4383         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4385         * org.el (org-update-parent-todo-statistics): Update more than one
4386         cookie.
4388         * org-agenda.el (org-agenda-get-todos): Start search from correct
4389         position.
4391         * org.el (org-fast-todo-selection): Make sure TODO selection does
4392         not change buffer position.
4394         * org-list.el (org-toggle-checkbox): Implement adding or removing
4395         checkboxes from line or region when called with a prefix
4396         argument.
4398         * org-rmail.el (org-rmail-store-link): Protect the call to
4399         `rmail-narrow-to-non-pruned-header'.
4401         * org-clock.el (org-clock-special-range): Fix week display in
4402         clock tables.
4404         * org-exp.el (org-get-current-options): Fix bug when in indirect
4405         buffer.
4407 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4409         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4410         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4411         (org-agenda-dim-blocked-tasks): New function.
4413         * org.el (org-enforce-todo-dependencies): New option.
4414         (org-block-todo-from-children-or-siblings): New function.
4416         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4418         * org.el (org-todo): Return correct state type even if the blocker
4419         throws an error.
4420         (org-modifier-cursor-error): Renamed from
4421         `org-shiftcursor-error'.
4422         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4423         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4425         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4426         to get real errors from the blocker hook.
4428         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4429         functions.
4430         (org-set-visibility-according-to-property): Turn off the setting
4431         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4432         property.
4434 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4436         * org.el (org-support-shift-select): New option.
4437         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4438         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4439         selection outside contexts.
4441         * org-list.el (org-at-item-bullet-p): New function.
4443         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4444         variables.
4446         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4447         variable.
4448         (org-insert-footnote-reference-near-definition): Remove
4449         unnecessary let form.
4451         * org-export-latex.el (org-export-latex-first-lines): Add
4452         OPT-PLIST parameter.
4453         (org-export-as-latex): Call `org-export-latex-first-lines' with
4454         opt-plits parameter.
4455         (org-export-latex-preprocess): Remove unnecessary variables.
4457         * org-exp.el (org-infile-export-plist)
4458         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4459         (org-export-remove-headline-metadata)
4460         (org-export-get-title-from-subtree, org-get-min-level)
4461         (org-html-do-expand): Remove innecessary let form.
4463         * org-colview-xemacs.el (org-columns-display-here): Remove
4464         unnecessary variables.
4466         * org-colview.el (org-columns-display-here): Remove unnecessary
4467         variables.
4469         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4470         variables.
4472         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4473         unnecessary variables.
4475         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4476         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4477         variables.
4479         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4480         (org-compact-display-after-subtree-move): Remove unnecessary
4481         variables.
4482         (org-edit-fixed-width-region): Remove unnecessary variables.
4483         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4484         (org-olpath-completing-read): Remove unnecessary variable.
4485         (org-auto-repeat-maybe): Remove unnecessary variable.
4486         (org-map-entries): Remove unnecessary variable.
4487         (org-buffer-property-keys, org-imenu-get-tree)
4488         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4490 -----------------------------------------------------------------
4492 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4493         * org-exp.el (org-export-remove-timestamps): Never remove
4494         timestamps from tables.
4496         * org-export-latex.el (org-export-latex-first-lines): Add more
4497         options to the preprocessing of the text before the first
4498         headline.
4500 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4502         * org-faces.el (org-clock-overlay): Make face compatible with
4503         XEmacs.
4505         * org.el (org-yank): Add property for delete-selection mode.
4507         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4509         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4510         variable.
4512         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4513         to `backward-char'.
4515         * org-exp.el (org-export-as-html): Remove the initial space from
4516         colon examples.
4518         * org.el (org-scan-tags): Call
4519         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4521         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4522         customization groups.
4523         (org-agenda-tags-todo-honor-ignore-options): New option.
4524         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4525         New function.
4526         (org-agenda-get-todos): Use
4527         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4529 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4531         * org-exp.el (org-export-format-source-code-or-example): Escape
4532         HTML characters also in examples that anre not treated with
4533         htmlize.  Also, just switch to EXAMPLE processing if we do not
4534         have a good version of htmlize.
4536         * org-rmail.el: Fix copyright notice.
4538         * org.el (org-activate-footnote-links): Improve footnote link
4539         highlighting.
4541         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4542         a footnote definition at the end of the file.
4544         * org-table.el (org-table-get-specials): Add an imagined hline at
4545         the end of the table.  This can be useful for references that want
4546         to go to the end of the table.  Also fix bug when computing last
4547         row constants, in tables that do not start right at the right
4548         margin.
4549         (org-table-eval-formula): Match and replace remove references.
4550         (org-table-formula-substitute-names): Make sure that names inside
4551         a "remote" call are left alone, the will be replaced later when
4552         the remote call is handled.
4553         (org-table-convert-refs-to-rc): Do not convert things that might
4554         look like a reference, but are really part of an ID or namei n a
4555         remote reference.
4556         (org-table-get-remote-range): New function.
4558 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4560         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4562         * org-clock.el (org-clock-put-overlay): Use new face instead of
4563         `secondary-selection'.
4565         * org-faces.el (org-clock-overlay): New face.
4567 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4569         * org-exp.el (org-get-current-options): Include the option for
4570         publishing time stamps.
4572         * org.el (org-toggle-heading): Renamed from
4573         `org-toggel-region-headings'.
4574         No longer needs a region defined, but will use it if there is one.
4575         (org-ctrl-c-star): Simplified, relying more on the internal
4576         workings of `org-toggle-heading'.
4577         (org-toggle-item): Renamed from `org-toggle-region-items'.
4578         No longer needs a region defined, but will use it if there is one.
4579         (org-ctrl-c-minus): Simplified, relying more on the inernal
4580         workings of `org-toggle-item'.
4582         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4583         environment detection.  Also, do real changes only in unprotected
4584         places.
4586 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4588         * org-export-latex.el (org-export-latex-quotation-marks): Use
4589         `org-if-unprotected-1'.
4590         (org-export-latex-set-initial-vars): Check for class definition in
4591         property.
4593         * org-macs.el (org-if-unprotected-1): New macro.
4595 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4597         * org-compat.el (org-count-lines): New function.
4599         * org-exp.el (org-export-format-source-code-or-example): Handle
4600         switches related to text areas.
4602         * org.el (org-activate-footnote-links): Don't allow match inside a
4603         link.
4605         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4607         * org-export-latex.el (org-export-latex-links): Keep a relative
4608         path relative also after export.
4610         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4612         * org.el (org-make-tags-matcher): Never use IDO for completing the
4613         tags matcher match string.
4614         (org-completing-read): Also remove the special biding for "?".
4616         * org-attach.el (org-attach-allow-inheritance): New option.
4617         (org-attach-inherited): New variable.
4618         (org-attach-dir): Handle properties related to the attachment
4619         directory.
4620         (org-attach-check-absolute-path): New function.
4621         (org-attach-set-directory, org-attach-set-inherit): New commands.
4622         (org-attach): Accommodate the new commands in the dispatcher.
4624 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4626         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4627         `window-full-width-p'.
4629         * org-exp.el (org-export-as-html): Only check for images files
4630         that really can be inlined
4632         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4633         list of extensions to be a parameter.
4635         * org-exp.el (org-export-html-inline-image-extensions): New
4636         variable.
4638         * org-agenda.el (org-prepare-agenda): Use
4639         `org-agenda-block-separator'.
4640         (org-agenda-block-separator): New option.
4642 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4644         * org-export-latex.el (org-export-latex-tables): Call
4645         `org-table-clean-before-export' with the new optional argument.
4647         * org-exp.el (org-table-clean-before-export): New optional
4648         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4649         first column.
4651 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4653         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4654         histograms.
4656         * org-colview.el (org-colview-construct-allowed-dates): Better
4657         error catching when a date/time property does not have allowed
4658         values defined.
4660         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4661         Better error catching when a date/time property does not have
4662         allowed values defined.
4664 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4666         * org.el (org-map-entries): Restore point and restriction after
4667         `org-map-entries'.
4669 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4671         * org.el (org-time=, org-time<, org-time<=, org-time>)
4672         (org-time>=, org-time<>): Make sure both values are dates.
4674 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4676         * org-archive.el (org-extract-archive-heading): Allow %s for file
4677         name also in achive location heading.
4679 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4681         * org-archive.el (org-add-archive-files): Uniquify the list before
4682         returning it.
4684 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4686         * org-compat.el (org-fit-window-to-buffer): Use
4687         `window-full-width-p'.
4689         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4690         space after the colon in short examples.
4692         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4693         enforce a space after the colon.  However, we also allow lines
4694         that are *only* a colon.
4695         (org-export-as-html): Enforce the space after the colon in short
4696         examples.
4697         (org-export-preprocess-string): Do the colon example protection
4698         earlier.
4699         (org-export-remove-timestamps): Do not check for protection at the
4700         end of the line.
4702 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4704         * org.el (org-format-latex-options): Add new matcher for single
4705         letters between dollars.
4706         (org-get-header): Function removed.
4707         (org-heading-components): New function.
4709         * org-exp.el (org-export-define-heading-targets): Record ID's also
4710         as alternative targets.
4711         (org-export-as-html): Interpret "id:" links to other files by
4712         preserving the relative path.
4714         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4715         is nil.
4717         * org-exp.el (org-export-normalize-links): Protect the main link,
4718         to avoid special character processing.
4720         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4721         New variable.
4722         (org-export-latex-special-string-regexps): Variable removed.
4723         (org-export-latex-keywords): Use the new regexp.
4725         * org-exp.el (org-export-handle-include-files): Fetch switches and
4726         put them into the BEGIN statement.
4728         * org-timer.el (org-timer-mode-line-string): New variable.
4730         * org-clock.el (org-clock-mode-line-map): Renamed from
4731         `org-clock-mode-map'.
4732         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4733         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4734         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4735         (org-clock-remove-overlays): Renamed from
4736         `org-remove-clock-overlays'.
4738         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4739         and mode line display.
4740         (org-timer-stop): New command.
4741         (org-timer-seconds): Return correct time when timer is paused.
4742         (org-timer-mode-line-timer): New variable.
4743         (org-timer-set-mode-line, org-timer-update-mode-line): New
4744         functions.
4746         * org.el (org-insert-heading):  Handle new value `auto' for
4747         `org-blank-before-new-entry'.
4748         (org-org-menu): Add new items for timer functions.
4750         * org-list.el (org-insert-item): Handle new value `auto' for
4751         `org-blank-before-new-entry'.
4753         * org.el (org-blank-before-new-entry): New value `auto', made
4754         default.
4756 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4758         * org-exp.el (org-export-normalize-links): If the link is also
4759         used as the description, protect the description.
4761 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4763         * org.el (org-closest-date): Fix bug with yearly repeats, in
4764         combination with preference of the past as it is used for deadline
4765         and scheduling search.
4767         * org-exp.el (org-html-handle-time-stamps): No longer check for
4768         the `org-export-with-timestamps' option, because the preprocesser
4769         has taken care of this already.
4771         * org.el (org-entry-properties): Catch the case when this is
4772         called in a non-org-mode file.
4774         * org-export-latex.el (org-export-latex-remove-from-headlines):
4775         Variable made obsolete, also LaTeX export now uses the standard
4776         variables.
4777         (org-export-as-latex): Add the timestamps parameter to the
4778         preprocessor parameter list.
4779         (org-export-latex-content): Export the remaining keywords without
4780         considering to remove them.
4781         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4782         Use bold font instead of tt font for the keywords.
4783         (org-export-latex-fontify-headline): Format headlines, assuming
4784         that all keywords still present should be published.
4785         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4786         publish what ever remains of the time stamps.
4787         (org-export-latex-list-parameters): New option.
4788         (org-export-latex-lists): Pass additional parameters to the list
4789         converter.
4791         * org-exp.el (org-export-preprocess-string): Remove clock lines
4792         and timestamps already in the preprocesor.
4793         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4794         functions.
4795         (org-export-as-ascii, org-export-as-html): Add the timestamps
4796         parameter to the preprocessor parameter list.
4798         * org-list.el (org-list-parse-list): Parse for checkboxes.
4799         (org-list-to-generic): Introduce and handle new parameters :cbon
4800         and :cboff.
4801         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4802         optional parameter PARAMS.
4804         * org-export-latex.el (org-export-latex-special-chars): Fix
4805         problems with interpreting dollar signs.
4806         (org-inside-latex-math-p): New function.
4807         (org-export-latex-preprocess): Protect all the math fragments.
4809         * org.el (org-latex-regexps): Allow a dash after a dollar.
4811         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4812         mark after copying.
4814         * org-agenda.el (org-run-agenda-series): Have series options set
4815         when finalizing the agenda.
4817         * org-exp.el (org-export-format-source-code-or-example): Protect
4818         the converted examples.
4820         * org.el (org-set-regexps-and-options): Fix the regexp
4821         `org-complex-heading-regexp'.
4823 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4825         * org.el (org-edit-src-get-label-format): New function.
4826         (org-coderef-label-format): New option.
4827         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4828         a label format specification and make sure it is used in the edit
4829         buffer.
4830         (org-edit-src-get-label-format): New function.
4831         (org-store-link): Handle new coderef formats.
4832         (org-link-search): Handle new coderef formats.
4834         * org-footnote.el (org-footnote-create-definition)
4835         (org-footnote-goto-local-insertion-point): Make footnote insertion
4836         work correctly when the "Footnotes" headline is the last line in
4837         the buffer.
4839         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4840         the location.
4842 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4844         * org-w3m.el (org-w3m): New customization group.
4845         (org-w3m-deactivate-mark): New option.
4846         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4847         option say not to.
4849 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4851         * org.el (org-set-font-lock-defaults): Trigger footnote
4852         fontification.
4853         (org-activate-footnote-links): New function.
4854         (org-activate-links): New entry `footnote'.
4856         * org-faces.el (org-footnote): New face.
4858 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4860         * org-macs.el (org-re): Handle the [:word:] class.
4862         * org-exp.el (org-export-preprocess-string): Call
4863         `org-export-protect-colon-examples'.
4864         (org-export-protect-colon-examples): Renamed from
4865         `org-export-protect-examples', and scope limited to lines starting
4866         with a colon.
4868 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4870         * org-exp.el (org-export-preprocess-string): Move the preprocess
4871         hook to after turning on Org-mode.
4872         (org-export-preprocess-after-include-files-hook)
4873         (org-export-preprocess-after-tree-selection-hook)
4874         (org-export-preprocess-before-backend-specifics-hook)
4875         (org-export-preprocess-final-hook): New hooks.
4876         (org-export-preprocess-string): Run the new hooks.
4878         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4880         * org-footnote.el: New file.
4882         * org.el (org-footnote): Require footnote code.
4883         (org-startup-options): Add new footnote options.
4884         (org-mode-map): New keybindig for footnotes.
4885         (org-ctrl-c-ctrl-c): Add function at footnotes.
4886         (org-org-menu): New menu entries for footnotes.
4888         * org-export-latex.el (org-export-as-latex): Pass footnote
4889         variable to preprocessor.
4890         (org-export-latex-preprocess): Treat multiple references to a
4891         footnote.
4893         * org-exp.el (org-export-preprocess-string): Call
4894         `org-footnote-normalize'.
4895         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4896         to preprocessor.
4897         (org-export-as-html): Treat multiple references to a footnote.
4899 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4901         * org-export-latex.el (org-export-latex-links): Handle coderef
4902         links.
4904         * org.el (org-bracket-link-analytic-regexp++): New variable.
4905         (org-make-link-regexps): Initialize
4906         `org-bracket-link-analytic-regexp++'.
4907         (org-store-link): Implement special case in edit-src buffer.
4908         (org-insert-link): No use of ide to insert stored links.
4909         (org-link-search): Implement special case for coderefs.
4911         * org-exp.el (org-export-html-scripts): New constant.
4912         (org-export-html-style-default): Add a new style for highlighted
4913         code.
4914         (org-export-code-refs): New variable.
4915         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4916         Call `org-export-replace-src-segments-and-examples'
4917         No longer call `org-export-protect-examples'.
4918         (org-export-target-internal-links): Take care of coderef targets.
4919         (org-export-last-code-line-counter-value): New variable.
4920         (org-export-replace-src-segments-and-examples): Renamed from
4921         `org-export-replace-src-segments', and modified.
4922         (org-export-format-source-code-or-example): Renamed from
4923         `org-export-format-source-code'.
4924         (org-export-number-lines): New function.
4925         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4927 --------------------------------------------------------------------------
4929 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
4931         * org-remember.el (org-remember-handler): Safer way to get a new
4932         buffer accessing the target file.
4934         * org.el (org-refile-get-location): Handle case of current buffer
4935         not having a file associated with it.
4937 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
4939         * org-table.el (org-table-get-formula): Only ask to overwrite
4940         field formula if there really is one.
4942         * org-id.el (org-id-find): Allow the ID to be a symbol or a
4943         number, by converting these to a string.
4945         * org-colview.el (org-dblock-write:columnview): Allow ID to be
4946         located in a different file.
4948         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4949         org-colview.el.
4951 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
4953         * org.el (org-completion-use-ido): Enhance docstring of
4954         `org-completion-use-ido'.
4956         * org-export-latex.el (org-export-latex-make-header): Double the %
4957         in the time stamp format.
4958         (org-export-latex-special-chars): Handle case where there is no
4959         match group 3.
4961 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4963         * org.el (org-get-refile-targets, org-refile-get-location): Use
4964         expanded file name to improve comparison.
4966 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
4968         * org.el (org-scan-tags): Rescan for tags, to get the correct
4969         upcase/downcase stuff.  This slows things down for now, but it
4970         works.
4971         (org-mode): Make sure the tag-faces regexp is initialized.
4973         * org-export-latex.el (org-export-latex-links): Fix bug with
4974         undefined label.
4976         * org-table.el (org-table-get-specials): Set
4977         `org-table-current-last-data-line'.
4978         (org-table-current-last-data-line): New variable.
4979         (org-table-insert-column, org-table-delete-column)
4980         (org-table-move-column, org-table-fix-formulas): Call
4981         `org-table-fix-formulas' a second time to fix the $LR references.
4982         (org-table-get-specials): Add the $LR references to the tables.
4983         (org-table-get-formula): Do not offer last-row names as LHS of
4984         formulas.
4986         * org.el (org-store-link): Capture link description from
4987         `org-id-store-link'.
4989         * org-exp.el (org-export-html-format-image): Add the / to the end
4990         of the <img> tag.
4991         (org-export-format-source-code): Surround example by empty lines,
4992         to make sure it will not be inside a paragraph.
4994         * org.el (org-ido-switchb): New function.
4996 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
4998         * org-agenda.el (org-agenda-show): New prefix argument
4999         FULL-ENTRY.
5001         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5002         argument.
5004         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5005         `org-agenda-change-all-lines'.
5006         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5007         tags are now retrieved locally.
5009 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5011         * org.el (org-get-outline-path): Fix bug if level is not given.
5012         (org-org-menu): Do not quote function in menu vector.
5014         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5015         name.
5017 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5019         * org.el (org-refile): Avoid refiling to within the region to be
5020         refiled.
5022         * org-export-latex.el (org-export-latex-special-chars): Replace
5023         special characters also in tables.
5025         * org-agenda.el (org-agenda-change-all-lines): New argument
5026         FORCE-TAGS.
5027         (org-agenda-set-tags): Cet the new tags and pass them to
5028         `org-format-agenda-item'.
5030 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5032         * org-export-latex.el (org-export-latex-classes): Add longable as
5033         a default package to all classes.
5034         (org-export-latex-tables): Handle the longtable attribute and the
5035         align attribute.
5037         * org-table.el (orgtbl-to-generic): Handle tables that start with
5038         a hline.
5040         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5041         \verb for colde-like snippets.
5042         (org-export-as-latex): Fix issues with region export.
5044         * org.el (org-up-heading-safe): Speed up function by using a
5045         direct regexp search.
5046         (org-olpa): New variable.
5047         (org-get-outline-path): Speed-up path constructions in cases where
5048         this is possible because the entire hierarchy is scanned anyway.
5049         (org-refile-get-location): Don't compare the truenames of files,
5050         this is too slow.
5051         (org-goto-max-level): New option.
5052         (org-goto): Use `org-goto-max-level'.
5054 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5056         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5057         Strip angle brackets from message-ids in the former and don't do
5058         it in the latter.
5059         (org-gnus-follow-link): Open summary reliable, even if the last
5060         messages were deleted, and handle empty groups, too.
5062 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5064         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5065         instead of \texttt for the =...= and ~===~ emphasis environments.
5066         (org-export-as-latex): Remove any old :org-license-to-kill text
5067         properties.
5068         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5069         (org-export-latex-make-header): Add some hard space after the
5070         table of contents.
5071         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5072         exported text so that it will be excuded in further steps.
5074         * org-table.el (org-table-get-specials): Make @0 reference the
5075         last line in a table.
5076         (org-table-recalculate): Improve docstring.
5078 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5080         * org.el (org-log-done): Fix docstring.
5082 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5084         * org-exp.el (org-export-html-format-image): Fix bugs.
5086         * org-export-latex.el (org-export-latex-tables)
5087         (org-export-latex-links): Implement attribute, label, and caption
5088         handling.
5090         * org-exp.el (org-export-html-style-default): Add style
5091         definitions for the figure div.
5092         (org-export-preprocess-string, org-export-as-html): Implement
5093         attribute, label, and caption handling.
5094         (org-export-attach-captions-and-attributes): New function.
5095         (org-export-html-format-image): New function.
5096         (org-format-org-table-html): Implement attribute, label, and
5097         caption handling.
5099         * org.el (org-find-text-property-in-string): New function.
5100         (org-extract-attributes): Use the property org-attr instead of
5101         org-attrobutes, because this property is now set with the #+ATTR
5102         lines.
5104 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5106         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5107         the case that FROM is nil.
5109         * org.el (org-before-first-heading-p): New function.
5111 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5113         * org-exp.el (org-export-as-html): Do not add a space before
5114         enforces line breaks.
5115         (org-export-as-html): Close paragraph before blockquote and verse
5116         tags.
5118 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5120         * org-id.el (org-id-locations-file): Wrap file name with
5121         `convert-standard-filename'.
5122         (org-id-files): New variable.
5123         (org-id-use-hash): New option.
5124         (org-id-update-id-locations): Also search in all files current
5125         listed in `org-id-files'.  Convert the resulting alist to a hash
5126         if the user customation says so.
5127         (org-id-locations-save): Handle he case if `org-id-locations' is a
5128         hash.
5129         (org-id-locations-load): Convert the alist to a hash.
5130         (org-id-add-location): Handle the hast case.
5131         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5132         exited.
5133         (org-id-hash-to-alist, org-id-alist-to-hash)
5134         (org-id-paste-tracker): New functions.
5136 -------------------------------------------------------------------------
5138 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5140         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5141         bindings of calendar variables.
5143         * org-table.el (org-table-find-row-type): Renamed from
5144         `org-find-row-type'.
5145         (org-table-rewrite-old-row-references): Renamed from
5146         `org-rewrite-old-row-references'.
5147         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5148         (org-table-cleanup-narrow-column-properties): Renamed from
5149         `org-cleanup-narrow-column-properties'.
5151 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5153         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5154         for better error messages.
5155         (org-table-get-descriptor-line): Supply the new arguments to
5156         `org-find-row-type'.
5157         (org-table-error-on-row-ref-crossing-hline): New option.
5159         * org.el (org-target-link-regexp): Make buffer-local.
5160         (org-move-subtree-down): Fix bug with trees at beginning of
5161         buffer.
5163 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5165         * org-faces.el (org-set-tag-faces): New function.
5166         (org-tags-special-faces-re): New variable.
5168         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5170         * org-faces.el (org-tag-faces): New option.
5171         (org-tag): Mention `org-tag-faces' in the docstring.
5173 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5175         * org-exp.el (org-export-html-style-default): Implement new
5176         quoting.
5178         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5180         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5181         command to the `w3m-minor-mode-map'.
5183         * org-archive.el (org-archive-to-archive-sibling): Protect
5184         `this-command' to avoid appending kills during archiving.
5186         * org-exp.el (org-export-with-priority): New variable.
5187         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5188         instead of internal list of strings and properties.
5189         (org-print-icalendar-entries): Retrieve the location property with
5190         inheritance.
5192 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5194         * org-exp.el (org-export-with-todo-keywords): New option.
5195         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5196         line.
5197         (org-default-export-plist, org-export-add-options-to-plist)
5198         (org-export-as-ascii, org-export-as-html): Use the new structure
5199         of `org-export-plist-vars'.
5201         * org.el (org-map-entries): Return all values.
5203 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5205         * org.el (org-matcher-time): Recognize more special values.
5207         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5209 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5211         * org.el (org-tags-exclude-from-inheritance): New option.
5212         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5213         `org-tags-exclude-from-inheritance'.
5215         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5216         (org-format-agenda-item): Add inherited tags to the agenda line
5217         string, and make sure that properties are kept when downcasing the
5218         tags list.
5219         (org-agenda-add-inherited-tags): New function.
5220         (org-downcase-keep-props): New function.
5222         * org.el (org-scan-tags): Mark inherited tags with a text
5223         property.
5224         (org-get-tags-at): Mark inherited tags with a text property.
5225         (org-add-prop-inherited): New function.
5227         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5228         (org-agenda-show-inherited-tags): New option.
5230 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5232         * org.el (org-modules): Add org-w3m to the default modules.
5234         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5235         orgtbl-mode.
5236         (orgtabl-create-or-convert-from-region): New command.
5238         * org-exp.el (org-export-as-ascii): Remove the handling of
5239         targets.
5240         (org-export-ascii-preprocess): Handle targets already in this
5241         function.
5243 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5245         * org-timer.el (org-timer-start-time): Define this variable.
5246         (org-timer-item): Make argument optional.
5248         * org-list.el (org-insert-item): Automatically insert a timer item
5249         if the current list is a timer list.
5251         * org-timer.el: New file.
5253         * org-publish.el (org-publish-org-index): Only exclude the index
5254         file in the main directory from being added to the site-map.
5255         (org-publish-get-project-from-filename): If the current project is
5256         a component, start publishing from the parent project.
5258 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5260         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5262         * org-publish.el (org-publish-org-index): Improve removal of
5263         temporary buffers.
5265         * org-agenda.el (org-get-closed): Re-apply changes
5266         accidentially overwritten by last commit to Emacs.
5268         * org.el (org-outline-path-complete-in-steps): New option.
5269         (org-refile-get-location): Honor
5270         `org-outline-path-complete-in-steps'.
5271         (org-agenda-change-all-lines, org-tags-sparse-tree)
5272         (org-time-string-to-absolute, org-small-year-to-year)
5273         (org-link-escape): Re-apply changes accidentially overwritten
5274         by last commit to Emacs
5276 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5278         * org-clock.el (org-dblock-write:clocktable): Make sure the
5279         clocktable sees the first line.
5280         (org-clock-in): Warn if the clock cannot be resumed.
5282 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5284         * org.el (org-open-at-point): Fix mixup about interactive and
5285         non-interactive elisp links.
5287 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5289         * org-exp.el (org-export-preprocess-string): Allow one comment
5290         line before the first headline to always be included.  This is
5291         to not miss a commented target.
5293         * org-mouse.el (org-mouse-insert-item): Call
5294         `org-indent-to-column' instead of `indent-to', for XEmacs
5295         compatibility.
5297         * org.el (org-refile-targets): Fix customize definition so
5298         that it works also in XEmacs.
5299         (org-fixup-indentation): Call `org-indent-to-column' instead
5300         of `indent-to', for XEmacs compatibility.
5302 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5304         * org-mew.el (org-mew-store-link): Get the correct case folder
5305         for refiled messages.
5307 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5309         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5310         line break indicators.
5312         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5313         ido-completion propts.
5315 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5317         * org-remember.el (org-remember-apply-template): Use
5318         `org-substring-no-properties'.
5320         * org-compat.el (org-substring-no-properties): New function.
5322         * org-remember.el (org-remember-apply-template): Use
5323         `org-substring-no-properties' for compatibility.
5325         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5326         option.
5327         (org-fix-bullet-type): respect
5328         `org-list-two-spaces-after-bullet-regexp'.
5330         * org-clock.el (org-clock-load): Clean up the code.
5332         * org.el (org-adaptive-fill-function): Allow two spaces after
5333         "1." as a list bullet.
5335 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5337         * org-clock.el (org-clock-save, org-clock-load): Check for
5338         live buffers, existing files, and buffer file names to ensure
5339         consistent information.
5340         (org-clock-persist): Make `clock' a special value of this
5341         variable, and improve docstring.
5343         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5344         (org-get-string-indentation): Adapt indentation when the bullet
5345         width changes.
5347 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5349         * org-remember.el (org-remember-finalize): Make interactive.
5350         (org-remember-kill): New command.
5351         (org-remember-finish-immediately): Call `org-remember-finalize'
5352         directly.
5353         (org-remember-finalize): Make `org-remember-finalize' an interactive
5354         function.
5356 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5358         * org-remember.el (org-remember-apply-template): No ido completion
5359         for free prompts in remember templates.
5360         (org-remember-before-finalize-hook): New hook.
5361         (org-remember-mode): New minor mode.
5362         (org-remember-apply-template): Turn on `org-remember-mode'.
5364         * org-id.el (org-id-add-location): Avoid error when no file is
5365         given.
5367         * org-remember.el (org-remember-apply-template): Fix the way how
5368         the list of allowed properties is retrieved from the target file.
5370         * org.el (org-insert-link): Improve file link matching.
5372 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5374         * org-colview.el (org-columns-display-here): New argument
5375         DATELINE, to trigger using the new face.
5376         (org-agenda-colview-summarize): Call `org-columns-display-here'
5377         with the new argument.
5379         * org-faces.el (org-agenda-column-dateline): New face.
5381         * org-publish.el (org-publish-org-index): Use index-title at page
5382         title, not as section.
5384         * org-exp.el (org-export-html-format-desc): Respect the
5385         org-protect property.
5386         (org-export-as-html): Protect image specifiers that are in the
5387         description part of a link.
5389         * org.el (org-sort-entries-or-items, org-completing-read)
5390         (org-refile-get-location, org-olpath-completing-read, org-todo)
5391         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5392         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5393         (org-set-property, org-delete-property)
5394         (org-delete-property-globally): Use `org-ido-completing-read'.
5396         * org-remember.el (org-remember-apply-template): Use
5397         `org-ido-completing-read'.
5399         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5401         * org-colview.el (org-columns-edit-value, org-columns-new)
5402         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5404         * org-colview-xemacs.el (org-columns-edit-value)
5405         (org-columns-new, org-insert-columns-dblock): Use
5406         `org-ido-completing-read'.
5408         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5409         `org-ido-completing-read'.
5411         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5412         `org-ido-completing-read'.
5414         * org.el (org-time-today): New function.
5415         (org-matcher-time): Use `org-time-today'.  Add special treatment
5416         for "<tomorrow>" and "<yesterday>".
5417         (org-ido-completing-read): New function.
5418         (org-completion-use-ido): New option.
5420         * org-exp.el (org-export-format-source-code): Fix bug in require
5421         htmlize code.
5422         (org-export-target-internal-links): Fix bug in search for text
5423         property.
5425 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5427         * org-export-latex.el (org-export-latex-subcontent): Interprete
5428         target aliases as additonal labels.
5430         * org-exp.el (org-export-target-aliases): New variable.
5431         (org-export-preprocess-string)
5432         (org-export-handle-invisible-targets): Fill the alias alist.
5433         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5434         assign an id.
5435         (org-html-level-start): Insert the target aliases as additonal
5436         anchors.
5438         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5439         picture area.
5441 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5443         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5444         when following a link with the mouse from the agenda.
5446         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5447         headlines are created.
5449 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5451         * org-exp.el (org-export-preprocess-string): Reorder so that we
5452         can still see ID properties when we collect targets.
5453         (org-export-target-internal-links): Also store targets for ID's.
5455         * org.el (org-link-translation-function): New option.
5456         (org-open-at-point): Call `org-link-translation-function' if
5457         non-nil.
5458         (org-translate-link): New function.
5459         (org-translate-link-from-planner): New function.
5460         (org-open-at-point): Allow interactive commands in elisp links.
5462         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5463         iCalendar quoting.  The new one seems to caus problems with
5464         applications.
5466         * org.el (org-yank): Set `this-command' to `yank', so that
5467         `yank-pop' will work.
5469 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5471         * org-id.el (org-id-search-archives): New option.
5473         * org.el (org-link-to-org-use-id): New option.
5474         (org-store-link): Use `org-link-to-org-use-id'.
5475         (org-id): Make org-id.el a standard component.
5477 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5479         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5480         hexified version of the tag.
5482         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5483         compliance as far as quoting is concerned.
5485         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5487         * org.el (org-up-heading-safe, org-forward-same-level): Always
5488         call `org-back-to-heading' instead of `outline-back-to-heading'.
5489         (org-back-to-heading): New wrapper around outline-back-to-heading,
5490         with a useful error message telling where the error happened.
5492         * org-list.el (org-update-checkbox-count): Always call
5493         `org-back-to-heading' instead of `outline-back-to-heading'.
5495         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5496         has an `alt' attribute, to ensure XHTML validation.
5498 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5500         * org-publish.el (org-publish-attachment): Allow publishing to
5501         overwrite attachment files.
5503         * org-agenda.el (org-agenda-timerange-leaders): New option.
5504         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5506         * org.el (org-edit-src-exit): Untabify ASCII image before
5507         returning.
5520 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5522         * org.el (org-yank): Make any prefix force normal yanking.
5523         Suppress folding if text would be swallowed into a folded
5524         subtree.
5525         (org-yank-folded-subtrees, org-yank): Docstring updates.
5527         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5528         defined as 0.
5530         * org-exp.el (org-export-language-setup): Add Catalan and
5531         Esperanto language entries.
5533 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5535         * org.el (org-refile): Allow refiling of entire regions.
5537         * org-clock.el (org-clock-time%): New function.
5539         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5540         retrieve property values.
5542 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5544         * org-agenda.el (org-agenda-list): Handle the value `only' of
5545         org-agenda-show-log'.
5546         (org-agenda-log-mode): Interpret a double prefix arg.
5548 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5550         * org-exp.el (org-export-html-footnotes-section): New variable.
5551         (org-export-as-html): Use `org-export-html-footnotes-section' to
5552         insert the footnotes.
5553         (org-export-language-setup): Add "Footnotes" to language words.
5555 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5557         * org.el (org-yank): Fix bug when not inserting a subtree.
5559 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5561         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5562         instead of `vm-beginning-of-message'.
5564         * org.el (org-make-link-regexps): Make sure that links to gnus can
5565         contain brackets.
5567 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5569         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5570         code.
5572         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5573         shell output.
5575         * org.el (org-link-abbrev-alist): Improve customization type.
5577         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5578         functions.
5580         * org-agenda.el (org-agenda-get-progress): Renamed from
5581         `org-get-closed'.  Implement searching for state changes as well.
5582         (org-agenda-log-mode-items): New option.
5583         (org-agenda-log-mode): New option prefix argument, interpreted as
5584         request to show all possible progress info.
5585         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5586         `org-get-closed'.
5587         (org-agenda-set-mode-name): Handle the more complex log mode
5588         settings.
5589         (org-get-closed): New alias, pointing to `org-get-progress'.
5591 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5593         * org.el (org-file-apps-defaults-gnu)
5594         (org-file-apps-defaults-macosx)
5595         (org-file-apps-defaults-windowsnt): Add an entry defining the
5596         system command.
5597         (org-file-apps): Allow `system' as key and value.
5598         (org-open-at-point): Explain the effect of a double prefix arg.
5599         (org-open-file): If the argument `in-emacs' is (16),
5600         i.e. corresponding to a double prefix argument, try to open the
5601         file externally.
5603 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5605         * org.el (org-insert-link): Abbreviate absolute files names in
5606         links.  Also, fix a bug in which the double C-u prefix would not
5607         be honored.
5609 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5611         * org.el (org-insert-heading): If buffer does not end with a
5612         newline, add one if necessary to insert headline correctly.
5614         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5615         paragraphs, not inside.
5617         * org.el (org-todo): Quote
5618         `org-agenda-headline-snapshot-before-repeat'.
5620         * org-exp.el (org-export-as-html): Fully process link descriptions.
5621         (org-export-html-format-desc): New function.
5622         (org-export-as-html): Collect footnotes into the correct basket.
5623         (org-html-protect): No longer protect quotations marks here, this
5624         goes wrong.
5626         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5627         BEG.
5629         * org-compat.el (org-fit-window-to-buffer): New function (not
5630         really, a preliminary and incomplete version was present earlier,
5631         but not used).
5633         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5634         `org-fit-window-to-buffer'.
5636         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5638         * org-agenda.el (org-agenda-get-restriction-and-command)
5639         (org-fit-agenda-window, org-agenda-convert-date): Use
5640         `org-fit-window-to-buffer'.
5642         * org-exp.el (org-export-as-html): Process href links through
5643         `org-export-html-format-href'.
5644         (org-export-html-format-href): New function.
5646         * org-agenda.el (org-agenda-todo): Update only the current
5647         headline if this is a repeated TODO, marked done for today.
5648         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5649         only the current line.
5651         * org.el (org-todo): Take a snapshot of the headline if the
5652         repeater might change it.
5654 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5656         * org-publish.el (org-publish-find-title): Remove buffers visited
5657         only for extracting the title.
5659         * org-exp.el (org-export-html-style)
5660         (org-export-html-style-default): Mark style definitions as
5661         unparsed CDATA.
5663         * org-publish.el (org-publish-validate-link): Function
5664         re-introduced.
5666 2008-11-02  Charles Sebold  <csebold@gmail.com>
5668         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5669         property.
5670         (org-plot-quote-timestamp-field): New function.
5671         (org-plot-quote-tsv-field): Call timestamp field function when
5672         necessary rather than just quoting as a string.
5673         (org-plot/gnuplot-to-data): Pass in timefmt property.
5674         (org-plot/gnuplot-script): Supports timefmt property.
5675         (org-plot/gnuplot): Checks for timestamp column before checking
5676         for text index column.
5678 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5680         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5682         * org-publish.el (org-publish-org-index): Create a section in the
5683         index file.
5684         (org-publish-org-index): Stop linking to directories.
5686         * org.el (org-emphasis-alist): Use span instead of <u> to
5687         underline text.
5689         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5690         <pre> sections.
5692 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5694         * org-jsinfo.el (org-infojs-template): Remove language attribute
5695         from script tag.
5697 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5699         * org-agenda.el (org-agenda-remove-marked-text): New function.
5700         (org-agenda-mark-filtered-text)
5701         (org-agenda-unmark-filtered-text): New functions.
5702         (org-write-agenda): Remove fltered text.
5704         * org.el (org-make-tags-matcher): Give access to TODO "property"
5705         without speed penalty.
5707 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5709         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5710         option.
5711         (org-store-link-props): Make sure adding to the plist works
5712         correctly.
5714         * org-gnus.el (org-gnus-no-new-news): New function.
5715         (org-gnus-follow-link): Allow the article ID to be a message-id,
5716         in addition to allowing article numbers.  Message IDs make much
5717         more roubust links.
5718         (org-gnus-store-link): Use message-id to create link.
5720 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5722         * org.el (org-emphasize): Reverse the selection array.
5723         (org-emphasis-alist): Set <code> tags for the verbatim
5724         environment.
5726         * org-remember.el (org-remember-handler): Fix bug with
5727         prefix-related changing of the note storage target.
5729         * org-exp.el (org-print-icalendar-entries): Make the exported
5730         priorities compatible with RFC 2445.
5732         * org-clock.el (org-clock-save): Insert time stamp without
5733         dependence on time-stamp.el.
5735 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5737         * org.el ("saveplace"): If saveplace puts point into an invisible
5738         location, make it visible.
5739         (org-make-tags-matcher): Allow inactive time stamps in time
5740         comparisons.
5741         (org-yank-adjusted-subtrees): New option.
5742         (org-yank): Incorporate adjusting trees.
5743         (org-paste-subtree): New argument FOR-YANK which will cause
5744         insertion at point without backing up over white lines, and leave
5745         point at the end of the inserted text.  Also if the cursor is
5746         at the beginning of a headline, use the same level or the inserted
5747         tree.
5749         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5750         with broken symlinks
5752 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5754         * org-exp.el (org-export-select-tags, org-get-current-options):
5755         Fix typo.
5757 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5759         * org-agenda.el (org-format-agenda-item)
5760         (org-agenda-filter-make-matcher): Make sure tags are stored and
5761         compared donwcased.
5763 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5765         * org.el (org-insert-todo-heading): Fix bug with force-heading
5766         argument.
5768 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5770         * org-clock.el (org-clock-in-resume): Add a custom option to
5771         toggle starting the clock from an open clock line.
5772         (org-clock-in): When clocking in to an entry, if
5773         `org-clock-in-resume' is set, check if the first clock line is
5774         open and if so, start the clock from the time in the clock line.
5775         (org-clock-persist): Add a custom option to toggle clock
5776         persistence.
5777         (org-clock-persist-query-save): Add a custom option to toggle
5778         asking the user if they want to save the running clock when
5779         exiting.
5780         (org-clock-persist-query-resume): Add a custom option to toggle
5781         asking the user if they want to resume the saved clock when Emacs
5782         is restarted.
5783         (org-clock-save): Add a function to save clock data.
5784         This includes the contents of `org-clock-history' and the buffer
5785         and position of the currently clocked task, if any.
5786         (org-clock-load): Add a function to load clock data.
5787         This populates `org-clock-history', and resumes the saved clocked
5788         task if there is one.
5789         (org-clock-persistence-insinuate): Add a method to set up the
5790         hooks for clock persistence.
5792 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5794         * org-exp.el (org-export-as-ascii): Handle the case that we are
5795         publishing from an indirect buffer.
5797         * org-table.el (org-table-copy-down): Fix bug with time stamp
5798         increment.
5800         * org-mouse.el (org-mouse-features): New option.
5801         (org-mode-hook): Turn on features depending on
5802         `org-mouse-features'.
5804         * org.el (org-insert-heading-respect-content): Force heading
5805         creation.
5806         (org-insert-heading): keep the folding state of the heading before
5807         the inserted one.
5809 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5811         * org-archive.el (org-archive-to-archive-sibling): Handle top
5812         level headlines better.
5814 2008-10-21  Bastien Guerry  <bzg@altern.org>
5816         * org-export-latex.el (org-export-latex-classes): Added
5817         \usepackage{graphicx} to the default list of packages.
5819 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5821         * org-agenda.el (org-agenda-filter): Renamed from
5822         `org-agenda-filter-tags'.
5824 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5826         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5827         is not defined as a property in this entry.
5828         (org-add-log-note): Mask prefix argument when immediately storing
5829         the note.
5831         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5832         option.
5834 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5836         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5837         after drawers was skipping ahead one line too many, so notes were
5838         inserted after the first note instead of before it.
5840 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5842         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5843         New variables.
5844         (org-prepare-agenda): Reset the filter tags.
5845         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5846         Show filter tags in mode line.
5848         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5849         formatter.
5851         * org-export-latex.el (org-latex-entities-regexp): New constant.
5852         (org-export-as-pdf): Use two calls to `shell-command'.
5854 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5856         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5857         Honor the {} value of the subsuperscript setting.  Make sure that
5858         longer subsuperscripts are typeset in a roman font.
5860         * org.el (org-clock-update-time-maybe): Compute negative clock
5861         intervals correctly.
5863 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5865         * org.el (org-add-log-setup): Respect
5866         `org-log-state-notes-insert-after-drawers'.
5867         (org-log-state-notes-insert-after-drawers): New option.
5868         (org-todo-trigger-tag-changes): New function.
5869         (org-todo): Call `org-todo-trigger-tag-changes'.
5871 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5873         * org.el (org-add-log-setup): Only skip drawers if the are
5874         immediately after the scheduling keywords.
5876         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5877         function
5878         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5879         call it with the current todo state to get the state to switch to
5880         when clocking in.
5881         (org-clock-in): Use org-indent-line-function to indent clock lines.
5882         (org-clock-find-position): Fix indentation of empty clock drawers.
5884 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5886         * org-publish.el (org-publish-org-to): Handle case when
5887         org-export-to-pdf does return a file name, not a buffer.
5888         (org-publish-org-to-pdf): New function.
5890         * org-export-latex.el (org-export-as-pdf)
5891         (org-export-as-pdf-and-open): New commands.
5893         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5894         forms as ranges.
5896         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5897         things in protexted regions.
5899 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5901         * org-export-latex.el (org-export-latex-preprocess): Improve
5902         quoting of LaTeX environments.
5904 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5906         * org.el (org-edit-fixed-width-region): Exclude final newline from
5907         picture area.
5909         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5910         sections, to make internal links work.
5911         (org-export-latex-fontify-headline): Do not remove all text
5912         properties, to make sure that target properties survive this
5913         process.
5915         * org-exp.el (org-export-preprocess-string): Change sequence of
5916         modifications, to make sure links are prepared before the LaTeX
5917         conversions do happen.
5919 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
5921         * org-attach.el (org-attach-delete-all): Renamed from
5922         `org-attch-delete'.  Add a security query before deleting the
5923         entire directory.  New optional argument FORCE can overrule the
5924         security query.
5925         (org-attach-delete-one): New command.
5927 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
5929         * org-attach.el (org-attach-file-list): Fix bug with directory.
5931 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
5933         * org.el (org-apps-regexp-alist): New function.
5934         (org-file-apps): Add auto-mode to the default value.
5935         (org-open-file): Use the new structure of org-file-apps.
5937         * org-attach.el (org-attach): Support the new keys.
5938         (org-attach-method): New option.
5940 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
5942         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5943         March.
5945         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5946         of the list value o `org-use-tag-inheritance'.
5948         * org-attach.el (org-attach-auto-tag): New option.
5949         (org-attach-tag, org-attach-untag): New functions.
5950         (org-attach-attach, org-attach-new, org-attach-sync): Call
5951         `org-attach-tag'.
5952         (org-attach-delete): Call `org-attach-untag'.
5954 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
5956         * org-table.el (orgtbl-self-insert-command): Make this work for
5957         the keypad as well.
5959 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
5961         * org.el (org-add-log-setup): Limit searc for drawers to entry
5962         text, not to subtree.
5964         * org-clock.el (org-clock-heading-for-remember): New variable.
5965         (org-clock-in): Set `org-clock-heading-for-remember'.
5967 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
5969         * org-remember.el (org-remember-apply-template): Add new
5970         expansions: %k, %K for currently clocked task and a link to the
5971         currently clocked task, and %< to file notes in the currently
5972         clocked task.
5974 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
5976         * org-export-latex.el (org-export-latex-make-header): Also insert
5977         the content of the property :latex-header-extra.
5979         * org-exp.el (org-infile-export-plist): Put the content of
5980         #+LATEX_HEADER: into the property :latex-header-extra.
5982         * org-colview.el (org-columns-get-format-and-top-level): Remove
5983         resetting the marker.
5985         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5986         Remove resetting the marker.
5988         * org.el (org-entry-property-inherited-from): Improve docstring.
5989         (org-entry-get-with-inheritance): Reset marker before starting the
5990         search.
5992         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5994 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
5996         * org.el (org-entry-get-multivalued-property)
5997         (org-entry-protect-space, org-entry-restore-space): New
5998         functions.
5999         (org-file-apps-defaults-macosx): Let postscript files be opened by
6000         preview.
6001         (org-time-stamp-inactive): Call `org-time-stamp'.
6002         (org-time-stamp): New argument `inactive'.  Also edit inacive
6003         stamps. Convert time stamp type.
6004         (org-open-file): Interpret the `default' value for the `command'
6005         in `org-file-apps'.
6007         * org-id.el (org-id-int-to-b36-one-digit)
6008         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6009         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6010         b36.
6012 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6014         * org-id.el (org-id-reverse-string): New function.
6015         (org-id-new): Use `org-id-reverse-string' to make sure the
6016         beginning chars of the ID are mutating fast.  This allows to use a
6017         directory structure to spread things better.
6018         (org-id-prefix): Changed default to nil.
6020         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6021         restore the column of the cursor position.
6023         * org-remember.el (org-remember-apply-template): Remove properties
6024         from `initial'.
6026 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6028         * org-wl.el (org-wl-open): Remove useless call to
6029         `wl-thread-open-all'.
6031         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6032         location.
6034 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6036         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6037         `org-bbdb-anniversaries'.
6039         * org.el (org-get-next-sibling, org-forward-same-level): New
6040         functions, similar to the outline versions, but invisible headings
6041         are OK.
6043 2008-09-25  Bastien Guerry  <bzg@altern.org>
6045         * org.el (org-auto-repeat-maybe): Insert a space between
6046         the timestamp's type and the timestamp itself.
6048 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6050         * org-table.el (org-table-sum): Do not format the result with %g,
6051         it does rounding when there are too many digits.
6053         * org.el (org-map-entries): Protect the keyword-selecting variables.
6055 2008-09-23  Bastien Guerry  <bzg@altern.org>
6057         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6058         against all agenda files.
6060 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6062         * org-list.el: New file, aggregating list functions from org.el
6063         and org-export-latex.el.
6065         * org.el (org-edit-src-region-extra): New option.
6067 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6069         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6070         time before 1am.
6072 2008-09-22  Bastien Guerry  <bzg@altern.org>
6074         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6076 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6078         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6079         hline work correctly.
6080         (org-plot/gnuplot-script): Put commas at the end of each script
6081         line.
6083 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6085         * org.el (org-get-refile-targets): Replace links with their
6086         descriptions
6087         (org-imenu-get-tree): Replace links with their descriptions.
6089         * org-remember.el (org-remember-apply-template): Add a new
6090         expansion for adding properties to remember items.
6092         * org.el (org-add-log-setup): Skip over drawers (properties,
6093         clocks etc) when adding notes.
6095         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6096         items as well as the start and end times.
6098         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6099         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6101         * org-remember.el (org-get-x-clipboard): Use the compat
6102         function to get clipboard values when x-selection-value is
6103         unavailable. Use substring-no-properties instead of
6104         set-text-properties to remove text properties from the clipboard
6105         value.
6107         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6108         modeline clock string, and display the full todo value in the
6109         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6110         the currently clocked task.
6111         (org-clock-string-limit): Add a custom value for the maximum
6112         length of the clock string in the modeline.
6113         (org-clock-mode-map): Add a keymap for the modeline string
6115 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6117         * org-compat.el (org-propertize): New function.
6119 2008-09-20  Bastien Guerry  <bzg@altern.org>
6121         * org-export-latex.el (org-export-latex-tables): protect exported
6122         tables from further special chars conversion.
6123         (org-export-latex-preprocess): Preserve LaTeX environments.
6124         (org-list-parse-list): Parse descriptive lists.
6125         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6126         (org-list-to-texinfo): Export descriptive lists.
6127         (org-quote-chars): Remove.
6128         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6129         (org-export-latex-list-beginning-re): Rename to
6130         `org-list-beginning-re'
6131         (org-list-item-begin): Rename to `org-list-item-beginning'
6133 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6135         * org.el (org-refile): Allow refiling to the last entry in the
6136         buffer.
6137         (org-get-tags-at): Fix bug when inheritance is turned off.
6139 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6141         * org.el (org-indent-line-function): No longer check for src
6142         regions, this is too much overhead.
6144         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6145         matching.
6147         * org.el (org-scan-tags): Make sure that tags matching is not case
6148         sensitive.  TODO keyword matching is case sensitive, however, to
6149         avoid confusion with similar words that are not meant to be
6150         keywords.
6152 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6154         * org.el (org-get-local-tags-at): New function.
6155         (org-get-local-tags): New function.
6157         * org-exp.el (org-export-get-categories): New function.
6159         * org-agenda.el (org-sorting-choice)
6160         (org-agenda-sorting-strategy, org-agenda-get-todos)
6161         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6162         (org-agenda-get-scheduled, org-agenda-get-blocks)
6163         (org-entries-lessp): Implement sorting by TODO state.
6164         (org-cmp-todo-state): New defsubst.
6166         * org-colview.el (org-colview-construct-allowed-dates): New
6167         function.
6168         (org-columns-next-allowed-value): Use
6169         `org-colview-construct-allowed-dates'.
6171         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6172         function.
6173         (org-columns-next-allowed-value): Use
6174         `org-colview-construct-allowed-dates'.
6176 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6178         * org.el (org-protect-slash): New function.
6179         (org-get-refile-targets): Use `org-protect-slash'.
6181         * org-agenda.el (org-global-tags-completion-table): New variable.
6183         * org-exp.el (org-export-handle-export-tags): New function.
6184         (org-export-preprocess-string): Call
6185         `org-export-handle-export-tags'.
6187         * org-plot.el: New file.
6189         * org-publish.el (org-publish-expand-components): Function removed.
6190         (org-publish-expand-projects): Allow components to have components.
6192 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6194         * org.el (org-indent-line-function): Do not indent in regions that
6195         are external source code.
6196         (org-yank-and-fold-if-subtree): New function.
6198         * org-agenda.el (org-agenda-todayp): New function.
6199         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6200         `org-agenda-todayp'.
6202         * org.el (org-insert-heading-respect-content)
6203         (org-insert-todo-heading-respect-content): New commands.
6204         (org-insert-heading-respect-content): New option.
6205         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6207         * org-clock.el (org-clock-find-position): Make sure the note after
6208         the clock line gets moved into the new clock drawer.
6210 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6212         * org-id.el (org-id-new): New option.
6214 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6216         * org-table.el (org-table-copy-down): Avoid overflow during
6217         increment.  Use prefix argument 0 to temporarily disable the
6218         increment.
6220 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6222         * org-exp.el (org-export-as-html): Do not turn on the major mode
6223         if the buffer will be killed anyway.
6224         (org-get-current-options): Exclude the #+TEXT field.
6225         (org-export-as-html): Make sure text before the first headline is
6226         a paragraph.
6228         * org-publish.el (org-publish-org-to): Tell the exporter that this
6229         buffer will be killed, so it is not necessary to do major mode
6230         initialization.
6232         * org-archive.el (org-archive-to-archive-sibling): Show empty
6233         lines after folding the archive sibling.
6235         * org.el (org-log-note-extra): New variable.
6237 2008-09-05  Bastien Guerry  <bzg@altern.org>
6239         * org.el (org-additional-option-like-keywords): Added keywords for
6240         the _QUOTE, _VERSE and _SRC environments.
6242         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6243         exporting _QUOTE and _VERSE environments.
6245 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6247         * org-agenda.el (org-agenda-filter-by-tag): New command.
6249         * org-exp.el (org-get-current-options): Remove angular brackets
6250         from the date entry.
6252         * org.el (org-edit-fixed-width-region): New function.
6253         (org-edit-fixed-width-region): Also try
6254         `org-edit-fixed-width-region'.
6255         (org-edit-fixed-width-region-mode): New option.
6256         (org-activate-code): Only interprete lines starting with colon
6257         plus a space as example lines.
6259         * org-remember.el (org-remember-templates): Add nil instead of
6260         empty strings to fix the length of remember templates.
6262         * org-table.el (org-calc-default-modes): Fix the time format for
6263         calc, from 12 hour to 24 hour clock.
6265 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6267         * org-agenda.el (org-agenda-get-deadlines)
6268         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6269         entries that are pre-warnings of deadlines or reminders.
6271         * org.el (org-sort-entries-or-items): Make numeric and alpha
6272         comparisons ignore any TODO keyword and priority cookie.
6274         * org-remember.el (org-remember-handler): Reinterpretation of the
6275         prefix argument.
6277 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6279         * org-agenda.el (org-agenda-get-scheduled): Use new
6280         `org-scheduled' face.
6282         * org-faces.el (org-scheduled): New face.
6284         * org-wl.el (org-wl-open): Remove incorrect declaration.
6286         * org-gnus.el (org-gnus-store-link): Support for :to information
6287         in gnus links.
6289         * org-exp.el (org-export-as-html): Fixed typo in creator
6290         information.
6291         (org-export-protect-examples): New parameter indent.  Insert extra
6292         spaces only when this parameter is specified.
6293         (org-export-preprocess-string): Call `org-export-protect-examples'
6294         with an indentation parameter when exporting to ASCII.
6296         * org-remember.el (org-remember-templates)
6297         (org-remember-apply-template): Allow the file component to be a
6298         function.
6300         * org.el (org-goto-local-search-headings): Renamed from
6301         `org-goto-local-search-forward-headings'.  Added the possibility
6302         to search backwards.
6304 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6306         * org-export-latex.el (org-export-latex): New customization
6307         group.
6309         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6311 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6313         * org-exp.el (org-html-do-expand): Allow {} to terminate
6314         tex macro
6316 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6318         * org.el (org-buffer-list): Select buffers based on major mode,
6319         not on file name.
6321 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6323         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6324         face property.
6326         * org-colview.el (org-columns-display-here): Use
6327         `org-columns-modify-value-for-display-function'.
6329         * org-colview-xemacs.el (org-columns-display-here): Use
6330         `org-columns-modify-value-for-display-function'.
6332 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6334         * org.el (org-columns-modify-value-for-display-function): New option.
6346         * org-publish.el (org-publish-file): Make sure the directory match
6347         for the publishing directory works correctly.
6349         * org-agenda.el (org-agenda-execute-calendar-command)
6350         (org-agenda-diary-entry): Additional optional argument.
6352 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6354         * org-exp.el (org-export-as-html): Add attributes also in mailto
6355         and ftp links.
6357         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6366 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6368         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6369         sure that calls from `org-export-region-as-html' do not do the
6370         special check for a subtree.
6372 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6374         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6376 2008-07-20  Juri Linkov  <juri@jurta.org>
6378         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6379         new keymap `narrow-map' instead of binding "\C-xns".
6381 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6383         * org.el (org-open-file): Use
6384         `org-open-directory-means-index-dot-org'.
6385         (org-open-directory-means-index-dot-org): New option.
6387 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6389         * org.el (org-make-link-string): Remove link attributes from
6390         description.
6391         (org-open-at-point): Remove link attributes bevore using the path.
6393         * org-exp.el (org-export-as-html): Handle link attributes.
6395         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6397         * org-table.el (org-table-to-lisp): New function.
6399         * org.el (org-narrow-to-subtree): Do not include the final newline
6400         into the narrowed region.
6402         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6403         bug with user-define skipping condition.
6405 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6407         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6409 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6411         * org-exp.el (org-export-html-style-default): Automatic overflow
6412         handling for pre fields.
6413         (org-export-as-ascii, org-export-as-html): Change default format
6414         for time stamp.
6416         * org-table.el (org-table-export): Offer completion for translator
6417         functions, and do not require a heading above the table.
6419         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6420         Cater for the case of a list starting in the first line of the
6421         buffer.
6423 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6425         * org-publish.el (org-publish-find-title): Bug fix.
6426         (org-publish-org-index): Implement new :index-style option.
6428 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6430         * org-publish.el (org-publish-timestamp-filename): Use
6431         SHA1-encoded file names in the timestamp directory.
6433 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6435         * org-publish.el (org-publish-needed-p): Be verbose about files
6436         published and files skipped.
6438         * org-exp.el (org-export-preprocess-string): Swap link
6439         normalization and inernal link targeting.
6441         * org-publish.el (org-publish-needed-p): Create timestamp
6442         directory when it does not exist.
6444 2008-07-04  Bastien Guerry  <bzg@altern.org>
6446         * org-clock.el (org-clock-out-when-done): Doc fix.
6448         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6450         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6451         Ignore case when searching for the COMMENT cookie at export time.
6453 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6455         * org-exp.el (org-get-file-contents)
6456         (org-get-and-remove-property): New functions.
6457         (org-export-handle-include-files): Handle the new prefix options.
6458         (org-export-as-html): Fix the verse environment.
6460 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6462         * org.el (org-time=, org-time<, org-time<=, org-time>)
6463         (org-time>=, org-time<>, org-2ft): New functions.
6464         (org-op-to-function): Also provide for the time testing fucntions.
6466 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6468         * org-exp.el (org-export-html-style-default): New constant.
6470 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6472         * org-exp.el (org-export-html-style-extra): New variable.
6473         (org-export-splice-style): New function.
6475 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6477         * org-exp.el (org-export-plist-vars, org-export-as-html):
6478         Implement `org-export-creator-info'.
6479         (org-export-creator-info): New option.
6481 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6483         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6484         (org-property-drawer-re, org-clock-drawer-re): New constants.
6486 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6488         * org-exp.el (org-icalendar-use-deadline)
6489         (org-icalendar-use-scheduled): New options.
6490         (org-icalendar-include-todo): Default changed to t.
6491         (org-print-icalendar-entries): Implement better utilization of
6492         scheduling and deadline time stamps.
6493         (org-export-target-internal-links, org-export-as-html): Allow file
6494         lines without the "file:" prefix if the file path is an absolute
6495         path or starts with ".".
6497         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6498         lastweek etc.
6499         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6501 2008-06-18  Glenn Morris  <rgm@gnu.org>
6502         * org.el (org-map-entries): Let-bind `file'.
6504 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6506         * org.el (org-agenda-skip-archived-trees): Docstring now
6507         discourages using this.
6508         (org-scan-tags): Check for org-agenda-archives-mode.
6509         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6510         (org-agenda-files): Functionality of second arg changed.
6512         * org-agenda.el (org-agenda-archives-mode): New variable
6513         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6514         (org-search-view, org-todo-list, org-tags-view)
6515         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6516         `ifmode' argument.
6517         (org-agenda-quit): Reset the archives mode.
6518         (org-agenda-archives-mode): New command.
6519         (org-agenda-set-mode-name): Include archives info.
6521 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6523         * org.el (org-paste-subtree): Make sure the yanked headline is
6524         visible if it was yanked at a visible point.
6525         (org-move-item-up): Fix the bug with moving white space at the end
6526         of the item.
6527         (org-show-empty-lines-in-parent): New function.
6529 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6531         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6533         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6535         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6536         agenda prefix as well.
6538         * org-publish.el (org-publish-org-index): Make a properly indented
6539         list.
6541         * org.el (org-calendar-agenda-action-key): New option.
6542         (org-get-cursor-date): New function.
6543         (org-mark-entry-for-agenda-action): New command.
6544         (org-overriding-default-time): New variable.
6545         (org-read-date): Respect `org-overriding-default-time'.
6547         * org-remember.el (org-remember-apply-template): Respect the
6548         ovverriding default time.
6550         * org-agenda.el (org-agenda-action-marker): New variable.
6551         (org-agenda-action): New command.
6552         (org-agenda-do-action): New function.
6554 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6556         * org.el (org-schedule, org-deadline): Protect scheduled and
6557         deadline tasks against changes that accidently remove the
6558         repeater.  Also show a message with the new date when done.
6560 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6562         * org.el (org-beginning-of-line): Cater for the case when there
6563         are tags but no headline text.
6564         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6565         it set.
6567 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6569         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6570         the return value is nil instead of "nil" when there is no match.
6572         * org-exp.el (org-insert-centered): Use fill-column instead of
6573         80.
6574         (org-export-as-ascii): Use string-width to measure the width of
6575         the heading.
6577         * org.el (org-diary-to-ical-string): No longer kill buffer
6578         FROMBUF, this is now done by the caller.
6580         * org-exp.el (org-print-icalendar-entries): Move the call to
6581         `org-diary-to-ical-string' out of the loop, and kill the buffer
6582         afterwords.
6584         * org-remember.el (org-remember-visit-immediately): Position
6585         cursor after moving to the note.
6586         (org-remember-apply-template): Use a text property to record the
6587         cursor position.
6588         (org-remember-handler): Align tags after pasting the note.
6590 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6592         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6594         * org-agenda.el (org-agenda-open-link): If there is an
6595         org-bbdb-name property in the current line, jump to that bbdb
6596         entry.
6598         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6599         text property, so that the agenda knows where this entry comes
6600         from.
6602         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6603         interaction between clocking-in from the agenda, and  automatic
6604         task state switching.
6606         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6608         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6609         zmacs-region stays after this command in XEmacs.
6611 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6613         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6615         * org-remember.el (org-remember-templates): Fix bug in
6616         customization type definition.
6618         * org.el (org-map-entries): New function.
6620 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6622         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6623         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6625 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6627         * org-remember.el (org-jump-to-target-location): New variable.
6628         (org-remember-apply-template): Set
6629         `org-remember-apply-template' if requested by template.
6630         (org-remember-handler): Start an idle timer to jump to
6631         remember location.
6633         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6635         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6636         file tags.
6637         (org-get-tags-at): Add the content of `org-file-tags'.
6639         * org-exp.el (org-export-handle-comments): Fix bug with several
6640         comment lines after each other.
6641         (org-number-to-roman, org-number-to-counter): New functions.
6642         (org-export-section-number-format): New option.
6644 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6646         * org-exp.el (org-export-protect-examples): Catch the case of a
6647         missing end_example line.
6649         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6650         `org-file-tags' to nil.
6652         * org-colview.el (org-columns-next-allowed-value): Handle next
6653         argument NTH to directly select a value.
6655         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6656         argument NTH to directly select a value.
6658 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6660         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6662 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6664         * org.el (org-columns-ellipses): New option.
6666 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6668         * org-colview.el (org-columns-add-ellipses): New function.
6669         (org-columns-compact-links): New function.
6670         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6671         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6672         when in agenda.
6673         (org-columns-edit-value): Fixed bug with editing values from
6674         agenda column view.
6675         (org-columns-redo): Also redo the agenda itself.
6677 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6679         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6680         option.
6682         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6684         * org-exp.el (org-export-ascii-preprocess): Renamed from
6685         `org-export-ascii-clean-string'.
6686         (org-export-kill-licensed-text)
6687         (org-export-define-heading-targets)
6688         (org-export-handle-invisible-targets)
6689         (org-export-target-internal-links)
6690         (org-export-remove-or-extract-drawers)
6691         (org-export-remove-archived-trees)
6692         (org-export-protect-quoted-subtrees)
6693         (org-export-protect-verbatim, org-export-protect-examples)
6694         (org-export-select-backend-specific-text)
6695         (org-export-mark-blockquote-and-verse)
6696         (org-export-remove-comment-blocks-and-subtrees)
6697         (org-export-handle-comments, org-export-mark-radio-links)
6698         (org-export-remove-special-table-lines)
6699         (org-export-normalize-links)
6700         (org-export-concatenate-multiline-links)
6701         (org-export-concatenate-multiline-emphasis): New functions,
6702         obtained from spliiting the export preprocessor.
6704         * org-table.el (org-table-recalculate): Improve error message if
6705         the row number is invalid.
6707 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6709         * org-archive.el (org-archive-save-context-info): Fix bugs in
6710         customization setup and docstring.
6712         * org-exp.el (org-export-html-style): Changed the size of in the
6713         <pre> element to 90%.
6715 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6717         * org.el (org-find-src-example-start): Function removed.
6718         (org-edit-src-find-region-and-lang): New function.
6720 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6722         * org.el (org-edit-src-exit): New function.
6723         (org-exit-edit-mode): New minor mode.
6725         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6726         comment-like lines from protected examples.
6728         * org.el (org-edit-src-example, org-find-src-example-start)
6729         (org-protect-source-example, org-edit-special): New functions.
6731 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6733         * org-publish.el (org-publish-project-alist): Fix typo in
6734         docstring.
6735         (org-publish-project-alist): Handle :index-title property.
6737 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6739         * org-export-latex.el (org-export-as-latex): Make sure region
6740         bounds are correct.  Parse subtree properties relating to export.
6742         * org-exp.el (org-export-add-options-to-plist): New function.
6743         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6745 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6747         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6748         EXPORT_TITLE.
6750         * org-exp.el (org-export-get-title-from-subtree)
6751         (org-export-as-ascii, org-export-as-html): Make sure the original
6752         region-beginning and region-end are used, even after moving
6753         point.
6754         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6755         property.
6757         * org-remember.el (org-remember-last-stored-marker): New variable.
6758         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6759         (org-remember-handler): Also use marker to remember
6760         last-stored position.
6762         * org.el (org-goto-marker-or-bmk): New function.
6764 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6766         * org.el (org-file-properties): Renamed from `org-local-properties'.
6767         (org-scan-tags): Take file tags into account.
6768         (org-tags-match-list-sublevels): Default changed to t.
6770         * org-exp.el (org-export-as-html): Close paragraph after a
6771         footnote.
6773         * org.el (org-update-parent-todo-statistics): New function.
6775         * org-exp.el (org-icalendar-store-UID): New option.
6776         (org-icalendar-force-UID): Option removed.
6777         (org-print-icalendar-entries): IMplement UIDs.
6779 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6781         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6783 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6785         * org-faces.el (org-column): Document how this face is being used
6786         and why sometimes the background faces shine through.
6788         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6790         * org-publish.el (org-publish-attachment): Create publishing
6791         directory if it does not yet exist.
6793         * org-table.el (org-calc-default-modes): Change default number
6794         format to (float 8).
6796         * org.el (org-olpath-completing-read): New function.
6797         (org-time-clocksum-format): New option.
6798         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6800         * org-clock.el (org-clock-display, org-clock-out)
6801         (org-update-mode-line): Use `org-time-clocksum-format'.
6803         * org-colview-xemacs.el (org-columns-number-to-string): Use
6804         `org-time-clocksum-format'.
6806         * org-colview.el (org-columns-number-to-string): Use
6807         `org-time-clocksum-format'.
6809 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6811         * org-id.el: New file, move from contrib to core.
6813         * org-exp.el (org-icalendar-force-UID): New option.
6815 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6817         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6818         shifted by one day if theere is a date range without an end
6819         time.
6821         * org.el (org-try-structure-completion): New function.
6823 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6825         * org.el (org-set-font-lock-defaults): Improve fontification of
6826         description lists.
6827         (org-insert-item): Handle description lists.
6828         (org-adaptive-fill-function): Improve auto indentation in
6829         description lists.
6831         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6832         Implement VERSE environment.
6833         (org-export-preprocess-string): Implement the COMMENT
6834         environment.
6836         * org-export-latex.el (org-export-latex-preprocess): Implement
6837         VERSE environment.
6839 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6841         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6842         option.
6844 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6846         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6848         * org.el (org-quote-csv-field): New functions.
6850         * org-table.el (org-table-export-default-format): Remove :splice
6851         from default format, we get the same effect by not specifying
6852         :tstart and :tend.
6853         (org-table-export): Improve setup, distinguish better between
6854         interactive and non-interactive use, allow specifying the format
6855         on the fly, better protection against wrong file names.
6856         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6857         and :tend when :splice is omitted.
6859 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6861         * org-clock.el (org-clock-select-task): Make sure the selection
6862         letters are 1-9 and A-Z, no special characters.
6864 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6866         * org-exp.el (org-export-htmlize): New group.
6867         (org-export-htmlize-output-type)
6868         (org-export-htmlize-css-font-prefix): New options.
6869         (org-export-htmlize-region-for-paste): New function.
6870         (org-export-htmlize-generate-css): New command.
6872 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6874         * org/org.el (org-modules, org-format-latex-options):
6875         * org/org-archive.el (org-archive-stamp-time)
6876         (org-archive-save-context-info):
6877         * org/org-faces.el (org-hide):
6878         * org/org-irc.el (org-irc-parse-link):
6879         * org/org-macs.el (org-call-with-arg, org-autoload):
6880         * org/org-mew.el (org-mew-store-link):
6881         * org/org-remember.el (org-remember-store-without-prompt)
6882         (org-remember-templates): Fix typos in docstrings.
6884         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6886         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6887         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6888         (org-bbdb-anniv-split): Fix typos in docstrings.
6890         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6891         (org-publish-use-timestamps-flag): Reflow docstring.
6892         (org-publish-files-alist): Fix typos in docstring.
6894 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6896         * org.el (org-set-visibility-according-to-property): New function.
6897         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6898         and compute the regular expressions, and update font-lock.
6899         (org-property-re): Allow a dash in property names.
6901         * org-archive.el (org-extract-archive-file): Insert the file name
6902         without the path into the format, to allow the location format to
6903         contain a subdirectory.
6905         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6906         of buffer, and the `org-agenda-type' property undefined, use the
6907         value from the character before.
6909         * org.el (org-add-planning-info): Don't let indentation for
6910         would-be timestamp become extra whitespace at the end of headline.
6912 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6914         * org.el (org-remove-double-quotes, org-file-contents): New
6915         functions.
6917         * org-exp.el (org-infile-export-plist): Also parse the
6918         contents of #+SETUPFILE files, recursively.
6920         * org.el (org-set-regexps-and-options): Also parse the
6921         contents of #+SETUPFILE files, recursively.
6923         * org-exp.el (org-export-handle-include-files): New function.
6924         (org-export-preprocess-string): Call
6925         `org-export-handle-include-files'.
6927         * org.el (org-delete-property-globally)
6928         (org-delete-property, org-set-property): Ignore case during
6929         completion.
6930         (org-set-property): Use `org-completing-read' instead of
6931         `completing-read'.
6933         * org.el (org-complete-expand-structure-template): New,
6934         experimental function.
6935         (org-structure-template-alist): New, experimental option.
6936         (org-complete): Call `org-complete-expand-structure-template'.
6938 2008-05-06  Bastien Guerry  <bzg@altern.org>
6940         * org-export-latex.el (org-export-latex-preprocess): Added
6941         support for blockquotes.
6943 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
6945         * org.el (org-read-date-analyze): Catch the case where only a
6946         weekday is given.
6948 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
6950         * org.el (org-set-font-lock-defaults): Make the description
6951         tag bold.
6953         * org-exp.el (org-export-as-html, org-close-li): Implement
6954         description lists.
6956 2008-05-04  Jason Riedy  <jason@acm.org>
6958         * org-table.el (*orgtbl-default-fmt*): New variable.
6959         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6960         when there is no other fmt available.
6962         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6963         :tend to suppress the appropriate string.
6965         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6966         table.
6968 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
6970         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6971         read date.
6973         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6974         New function.
6976         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6977         New function.
6979 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
6981         * org-clock.el (org-clock-find-position): Don't include notes
6982         into clock drawer.
6984         * org-archive.el (org-archive-subtree): No longer remove an
6985         extra line after cutting the subtree.  `org-cut-subtree' already
6986         takes care of this.
6988         * org-remember.el (org-remember-handler): Only kill the target
6989         buffer if it does not contain the running clock.
6991         * org.el (org-markers-to-move): New variable.
6992         (org-save-markers-in-region, org-check-and-save-marker)
6993         (org-reinstall-markers-in-region): New function.
6994         (org-move-subtree-down, org-copy-subtree): Remember relative
6995         marker positions before cutting.
6996         (org-move-subtree-down, org-paste-subtree): Restore relative
6997         marker positions after pasting.
6999         * org-remember.el (org-remember-clock-out-on-exit): New option.
7000         (org-remember-finalize): Clock out only if the setting in
7001         `org-remember-clock-out-on-exit' requires it.
7002         (org-remember-handler): Do the cleanup in the buffer, to make sure
7003         that the clock marker remains in tact.
7005 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7007         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7008         (org-clock-in): Make sure that also tasks outside the narrowed
7009         region will be clocked in correctly.
7010         (org-clock-insert-selection-line): Widen the buffer so that we can
7011         find the correct task heading.
7013         * org.el (org-base-buffer): New function.
7015         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7016         and ";" are escaped.
7017         (org-print-icalendar-entries): Also apply
7018         `org-icalendar-cleanup-string' to the headline, not only to the
7019         summary property.
7021 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7023         * org-exp.el (org-export-preprocess-hook): New hook.
7024         (org-export-preprocess-string): Call
7025         `org-export-preprocess-hook'.
7027         * org.el (org-font-lock-hook): New variable.
7028         (org-font-lock-hook): New function.
7029         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7031 ;; Local Variables:
7032 ;; coding: utf-8
7033 ;; add-log-time-zone-rule: t
7034 ;; End:
7036     Copyright (C) 2008  Free Software Foundation, Inc.
7038   This file is part of GNU Emacs.
7040   GNU Emacs is free software: you can redistribute it and/or modify
7041   it under the terms of the GNU General Public License as published by
7042   the Free Software Foundation, either version 3 of the License, or
7043   (at your option) any later version.
7045   GNU Emacs is distributed in the hope that it will be useful,
7046   but WITHOUT ANY WARRANTY; without even the implied warranty of
7047   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7048   GNU General Public License for more details.
7050   You should have received a copy of the GNU General Public License
7051   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7053 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c