New option to get times in agenda zero padded instead of blank padded
[rgr-org-mode.git] / lisp / ChangeLog
blobd607a07f0bca4d5e196eaeb0bc7a5f12620bace6
1 2010-01-20  Stephen Eglen  <stephen@gnu.org>
3         * org-agenda.el (org-get-time-of-day): Use
4         org-agenda-time-leading-zero to allow leading zero (rather than
5         space) for times.
7 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
9         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
10         org-datetree.el is loaded.
12         * org-datetree.el: autoload `org-datetree-find-day-create'
14         * org-latex.el (org-export-latex-hyperref-format): New option.
15         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
17 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
19         * org-ctags.el (org-ctags-enable): Change order of functions.
20         (org-ctags-create-tags): Add wildcard to file name expansion.
22 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
24         * org.el (org-entry-properties): Fix some important bugs.
26 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
28         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
29         the table is not explicitly given.
31 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
33         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
34         as value.
35         (org-clock-out-if-current): Work with the new list value of
36         `org-clock-out-when-done'.
37         (org-clock-out, org-clock-out-if-current): Avoid circular logic
38         between clocking out and state changes.
40         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
42         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
43         accident protect a character that is before a backslash.
45 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
47         * org-agenda.el (org-diary-class): Use
48         `org-order-calendar-date-args'.
50         * org.el (org-order-calendar-date-args): New function.
52         * org-exp.el (org-export-target-internal-links): Check for
53         protectedness after the first bracket.
55         * org.el (org-entry-properties): Don't match wrong-case TODO
56         keywords.
58         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
59         Document that ARG is passed through to remove the date.
60         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
61         not read a date when the user has given a `C-u' prefix.
63 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
65         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
66         tags are hidden.
68 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
70         * org-latex.el (org-export-latex-fix-inputenc): New function.
71         (org-export-latex-inputenc-alist): New option.
73         * org-exp.el (org-export): New key SPC to publish enclosing
74         subtree.
76 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
78         * org-indent.el (org-indent-add-properties): Catch case when there
79         is no headline in the buffer.
81 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
83         * org-exp.el (org-html-entities): Add checkmark symbol.
85         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
86         verbatim code for ASCII export.
88         * org.el (org-update-statistics-cookies): Also see checkboxes in
89         ordered lists.
91 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
93         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
94         key.
96         * org-beamer.el (org-beamer-amend-header): Change the location
97         where `org-beamer-header-extra' is inserted.
99         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
100         just for computing this regexp.
102 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
104         * org-beamer.el (org-beamer-frame-default-options): New option.
105         (org-beamer-sectioning): Use default options if the user does not
106         have defined any.
107         (org-beamer-fix-toc): Put a frame around the table of contents.
109         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
110         sure case-folding works well when processing comment stuff.
112         * org-latex.el (org-export-latex-after-save-hook): New hook.
113         (org-export-as-latex): Run the new hook.
115 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
117         * org-beamer.el (org-beamer-environments-default): Add the note
118         environments.
119         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
120         lines and collect and combine the content.
121         (org-beamer-after-initial-vars): Check for note tags and make sure
122         they will be seen like a property.
124         * org.el (org-offer-links-in-entry): Fix bug when there is a
125         single link.
127         * org-exp.el (org-export): Make sure the mark is activated, also
128         when `transient-mark-mode' is off.
130         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
131         (org-agenda-search-view-search-words-only): Obsolete variable, is
132         now an alias for `org-agenda-search-view-always-boolean'.
133         (org-agenda-search-view-force-full-words): New option.
134         (org-search-view): Improve docstring, and implement a better logic
135         for Boolean and phrase searches.
136         (org-agenda-last-search-view-search-was-boolean): New variable.
137         (org-agenda-manipulate-query): Consider the type of the last
138         search when modifying the search string.
140 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
142         * org-latex.el (org-export-as-latex): Do the first letbind in the
143         right moment.
145         * org-agenda.el (org-get-entries-from-diary): Add the new face to
146         these entries.
148         * org-faces.el (org-agenda-diary): New face.
150         * org.el (org-make-link-regexps): Allow regexp-special characters
151         in link types.
152         (org-open-file): When in-emacs is `system', also force system
153         opening, like when the value was `(16)'.
154         (org-update-statistics-cookies): Handle entries without children.
156         * org-exp.el
157         (org-export-preprocess-before-normalizing-links-hook): New hook.
158         (org-export-preprocess-string): Run the new hook.
160         * org.el (org-offer-links-in-entry): Make RET open all links.
162         * org-html.el (org-export-as-html): Remove any left-over display
163         properties in the html file.
165         * org-wl.el (org-wl-store-link): Work-around for format bug with
166         text properties.
168         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
169         invisibility while adding the graphs.
171 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
173         * org-remember.el (org-select-remember-template): Use C letter to
174         customize remember templates.
176         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
177         Move cursor to next visible line.
179 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
181         * org-beamer.el (org-beamer-sectioning): Leave columns environment
182         by specifying 0 or 1 for column width.
183         (org-beamer-column-widths): Make 0 stand for 0.0.
185 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
187         * org-exp.el (org-export-mark-radio-links): Don't match inside
188         <<target>>.
190         * org.el (org-format-latex-header-extra): New variable.
191         (org-format-latex): Set org-format-latex-header-extra from
192         in-buffer stuff.
193         (org-format-latex): Add org-format-latex-header-extra to the
194         variables on which image creation depends.
195         (org-create-formula-image): Add the header stuff from in-buffer
196         settings.
197         (org-read-date-analyze): Base the analysis for future preference
198         on NOW, not on the default date.
200         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
201         for TODO keyword in inline tasks.
203         * org.el (org-log-note-headings): New headings for removing
204         deadline or scheduling date.
205         (org-deadline, org-schedule): Arrange for logging when removing a
206         date.
207         (org-add-log-note): Handle deadline and scheduling removal.
209 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
211         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
213 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
215         * org-agenda.el (org-diary-class): New function.
217 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
219         * org-latex.el (org-export-latex-preprocess): Do process the text
220         of a radio target.
222 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
224         * org.el (org-entry-properties): Add TIMESTAMP properties back
225         in.
227 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
229         * org.el (org-all-time-keywords): New variable.
230         (org-set-regexps-and-options): Set `org-all-time-keywords'.
231         (org-entry-blocked-p): New function.
232         (org-special-properties): Add BLOCKED as a new special property.
233         (org-entry-properties): New optional argument SPECIFIC, only parse
234         for this property when it is specified.
235         (org-entry-get): Pass a SPECIFIC argument to
236         `org-entry-properties'.
238         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
240 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
242         * org-latex.el (org-export-latex-tables): No forced line end if
243         there is no caption.
245 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
247         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
248         package.
250         * org-latex.el (org-export-latex-tables): Only add a caption when
251         macro in in longtable environments if one has been defined.
253         * org-html.el (org-export-as-html): Only take title from buffer if
254         not exporting body-only.
256         * org-latex.el (org-export-latex-preprocess): Better version of
257         the regular expression for protecting LaTeX macros.
258         (org-export-latex-preprocess): Start searching for macros to
259         protect from beginning of buffer.
261         * org-exp.el (org-export-target-internal-links): Check for
262         protectedness earlier in the string.
264         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
265         case sensitively.
267         * org-id.el (org-id-store-link): Match TODO keywords case
268         sensitively.
270         * org.el (org-heading-components, org-get-outline-path)
271         (org-display-outline-path): Match TODO keywords case sensitively.
273         * org-latex.el (org-export-as-latex): Ignore read-only
274         properties.
276         * org-exp.el (org-export-preprocess-string): Remove any
277         `read-only' properties.
279         * org-agenda.el (org-agenda-inactive-leader): New option.
280         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
281         (org-tags-view): Prompt for matcher if MATCH is an empty string.
282         (org-todo-list): Prompt for matcher if ARG is an empty string.
284 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
286         * org.el (org-open-link-functions): New hook.
287         (org-open-at-point): Run `org-open-link-functions'.
289 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
291         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
292         stamps as well.
294         * org.el (org-inhibit-startup-visibility-stuff): New variable.
295         (org-mode): Don't do startup visibility if inhibited.
296         (org-outline-overlay-data, org-set-outline-overlay-data): New
297         functions.
298         (org-save-outline-visibility): New macro.
299         (org-log-note-headings): Document that one should not change the
300         `state' note format.
302 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
304         * org.el (org-make-link-regexps): Capture link path into a group.
306 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
308         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
309         the options plist.
311 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
313         * org.el (org-startup-with-beamer-mode): New option.
314         (org-property-changed-functions)
315         (org-property-allowed-value-functions): New hooks.
316         (org-entry-put, org-property-get-allowed-values): Run the new
317         hooks.
318         (org-property-next-allowed-value): Run the new hooks.
320         * org-exp.el (org-export-select-backend-specific-text): Add the
321         special beamer tags.
323         * org-beamer.el
324         (org-export-preprocess-before-selecting-backend-code-hook): New
325         file.
327         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
328         (org-export-as-latex): Run
329         `org-export-latex-after-initial-vars-hook'.
330         (org-export-latex-format-toc-function)
331         (org-export-latex-make-header): Call
332         `org-export-latex-format-toc-function'.
334         * org.el (org-fill-template): Make template searches case sensitive.
336         * org-exp.el (org-export): Use "1" as a sign to export only the
337         subtree.
339         * org-colview-xemacs.el (org-columns-edit-value): Use
340         org-unrestricted property.
342         * org-colview.el (org-columns-edit-value):  Use
343         org-unrestricted property.
345         * org.el (org-compute-property-at-point): Set org-unrestricted
346         text property if the list contains ":ETC".
347         (org-insert-property-drawer):  Use
348         org-unrestricted property.
350         * org-exp.el
351         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
352         (org-export-preprocess-string): Run
353         `org-export-preprocess-before-selecting-backend-code-hook'.
355         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
357         * org-latex.el (org-export-region-as-latex): Run
358         `org-export-first-hook'.
360         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
362         * org-docbook.el (org-export-as-docbook): Run
363         `org-export-first-hook'.
365         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
367         * org-exp.el (org-export-first-hook): New hook.
369 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
371         * org-list.el (org-previous-item): Exit at the beginning of the
372         buffer.
374         * org-id.el (org-id-locations-save): Only write the id locations
375         if any are defined.
377         * org-archive.el (org-archive-all-done): Make this work in a file
378         with org-odd-levels-only set.
380         * org.el (org-get-refile-targets): Catch the case when a buffer
381         has no file.
383         * org-latex.el (org-export-as-latex): Cleanup forced line ends
384         where they are not needed.
385         (org-export-latex-subcontent): Remove unnecessary newlines.
387 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
389         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
390         (org-export-latex-fontify): Fix regexp bug that takes special
391         care of protecting the right boundary characters in emphasis
392         matches.
393         (org-export-latex-preprocess): Allow multiple arguments to latex
394         macros.
396         * org.el (org-make-link-regexps): Use John Gruber's regexp for
397         urls.
399         * org-macs.el (org-re): Interpret :punct: in regexps.
401         * org-exp.el (org-export-replace-src-segments-and-examples): Also
402         take the final newline after the END line.
404         * org.el (org-clean-visibility-after-subtree-move): Only fix
405         entries that are not entirely invisible already.
406         (org-insert-link): Respect org-link-file-path-type for
407         "docview:" links in addition to "file:" links.
409 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
411         * org-exp.el (org-export-format-source-code-or-example): Avoid
412         additional extra white lines in LaTeX.
414         * org-list.el (org-list-parse-list): Leave empty lines after the
415         list, don't consider them as part of the list.
417         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
418         searches.
420         * org-clock.el (org-clock-select-task): Convert integer to
421         character for XEmacs.
423 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
425         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
426         compatible.
428 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
430         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
431         variable.
432         (org-set-tags): Use it.
434 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org-list.el (org-empty-line-terminates-plain-lists): Update
437         docstring.
439         * org.el (org-format-latex): Fix link creation for processed latex
440         snippets.
442 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
444         * org-footnote.el (org-footnote-normalize): Protect replacement
445         text.
447         * org.el (org-inside-latex-macro-p): Save match data.
449 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
451         * org-docview.el: New file.
453 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
455         * org-latex.el (org-export-latex-class-options): New variable.
456         (org-export-latex-set-initial-vars): Use the class options.
458         * org.el (org-forward-same-level): Stop at headings that start
459         with an invisible character.
460         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
462 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
464         * org-footnote.el (org-footnote-normalize): Don't take optional
465         arguments in LaTeX macros as footnotes.
467         * org.el (org-inside-latex-macro-p): New function.
469         * org-latex.el (org-latex-to-pdf-process): Change customization
470         group to `org-export-pdf'.
472         * org-agenda.el (org-agenda-get-blocks): Look at time string also
473         on days after the first one.
475         * org.el (org-insert-heading): Also check for item before assuming
476         before-first-heading condition.
478         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
479         (org-export-pdf-logfiles): New option.
480         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
481         (org-export-pdf-logfiles): Fix customization type.
483         * org.el (org-insert-link): Improve error message when there is no
484         default link to select with RET.
486         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
487         parameter list.
489 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
491         * org-latex.el (org-export-latex-parse-global)
492         (org-export-latex-parse-content)
493         (org-export-latex-parse-subcontent): Use
494         `org-re-search-forward-unprotected'.
495         (org-export-as-pdf): Remove log files produced by XeTeX.
497         * org-macs.el (org-re-search-forward-unprotected): New function.
499 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
501         * org-colview.el (org-agenda-colview-summarize): Sort out some
502         confusion between properties and titles, which resulted in
503         agenda summaries not working if a title was set for a column.
505 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
507         * org-mobile.el (org-mobile-agendas): New option.
508         (org-mobile-sumo-agenda-command): Select the right agendas.
510         * org-latex.el (org-export-latex-format-image): Preserve the
511         original-indentation property.
513 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
515         * org-clock.el (org-clock-insert-selection-line): Catch error when
516         an old tasks no longer exists.
518         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
519         (org-export-as-pdf): Don't remove the old PDF file before making
520         the new one.
522         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
523         (org-mouse-context-menu): Use `org-looking-back'.
525         * org.el (org-cycle-level): Use `org-looking-back'.
527         * org-list.el (org-cycle-item-indentation): Use
528         `org-looking-back'.
530         * org-compat.el (org-looking-back): New function.
532         * org.el (org-insert-heading): Catch before-first-headline when
533         inserting a headline.
535 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
537         * org-latex.el (org-export-latex-format-image): Indent figure
538         environment, so that it does not interrupt plain list.
540         * org.el (org-open-at-point): Allow long link descriptions.
542 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
544         * org-html.el (org-export-as-html): Remove empty lines at the
545         beginning of the exported text.
547 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
549         * org-protocol.el (org-protocol-remember): Cater for empty title,
550         region, link.
552         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
553         agenda after adding new entry.
554         (org-agenda-get-represented-tags): New function.
555         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
556         to get a list of tags in the agenda.
558         * org-datetree.el (org-datetree-find-day-create): Fix regular
559         expression.
561         * org.el (org-display-outline-path): Use a format specifier for
562         message, to avoid problems with heading containing `%'.
564         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
565         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
566         (org-agenda-fix-displayed-tags): New function.
567         (org-agenda-do-context-action): Just call
568         `org-display-outline-path', without piping the result through
569         `message'.
571         * org-latex.el (org-export-latex-preprocess): Protect secondary
572         footnote references.
574         * org-indent.el (org-indent-initialize): Avoid empty strings as
575         line prefixes.
577         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
578         hat checking for the mark does not throw an error.
579         (org-agenda-diary-entry-in-org-file): Catch the case that there is
580         not `day' text property in the cursor line.
582         * org.el (org-sort-entries-or-items): Make sure that the final
583         entry has a newline before doing the sorting.
585         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
586         property at the beginning of the line.
588         * org.el (org-make-link-string): Don't allow a description with
589         only white space.
591 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
593         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
594         (org-agenda-insert-diary-as-top-level): New function.
595         (org-agenda-add-entry-to-org-agenda-diary-file): Call
596         `org-agenda-insert-diary-as-top-level'.
598         * org.el (org-occur-in-agenda-files): Make sure none of the
599         buffers is narrowed.
600         (org-activate-plain-links): Add the face property here.
601         (org-set-font-lock-defaults): Do not add the face to plain links,
602         the activator function does this.
604         * org-habit.el (org-is-habit-p): Add doc string.
606 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
608         * org-archive.el (org-archive-subtree-default-with-confirmation):
609         Autoload.
611         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
612         after match optional (happens at the end of a line...).
614         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
615         for special blocks.
617         * org-faces.el (org-copy-face): Set lisp indentation.
618         (org-quote, org-verse): New faces.
620         * org-agenda.el (org-agenda-remove-date): Remove variable.
622 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
624         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
626 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
628         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
629         hash keys to cache and re-use images generated by the
630         org-exp-blocks interface to ditaa and dot.
632 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
634         * org-html.el (org-export-as-html): Move the home/up link into
635         the content div.
637         * org.el (org-export-latex-packages-alist): Option definition
638         moved here from org-latex.el.
640 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
642         * org.el (org-format-latex): Latex images are now saved to files
643         named by the sha1 hash of the latex source text avoiding
644         regeneration of identical images.
646 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
648         * org-html.el (org-export-html-home/up-format): Add an ID to the
649         up/home div.
651 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
653         * org-wl.el (org-wl-store-link): Handle the case that
654         `wl-use-petname' is set.
656         * org.el (org-set-effort): Improve prompt.
657         (org-get-outline-path): Widen to get full path.
658         (org-compact-display-after-subtree-move): Function removed.
660         * org-latex.el (org-export-as-latex): Add the :drawers property.
662 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
664         * org.el (org-speed-commands-user): Allow documentation headlines.
665         (org-speed-commands-default): Organize the value of this constant
666         with descriptive headlines.
667         (org-print-speed-command): Output the headlines.
669 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
671         * org-agenda.el (org-agenda-show-outline-path): New option.
672         (org-agenda-do-context-action): New function.
673         (org-agenda-next-line, org-agenda-previous-line): Use
674         `org-agenda-do-context-action'.
676         * org.el (org-use-speed-commands): Allow function value.
677         (org-speed-commands-default): Make headline motion safe, so that
678         these commands always end on a headline.
679         (org-speed-commands-default): New key `v' for `org-agenda'.
680         (org-speed-move-safe): New function.
681         (org-self-insert-command): Use the function value of
682         `org-use-speed-commands'.
683         (org-get-outline-path): Improve docstring.
684         (org-format-outline-path): New function.
685         (org-display-outline-path): New function.
687 2009-11-12  John Wiegley  <jwiegley@gmail.com>
689         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
690         a string, use that to find the LOGBOOK drawer.
692 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
694         * org.el (org-clone-subtree-with-time-shift): Make it work at the
695         end of the buffer.
697         * org-mobile.el (org-mobile-write-checksums): Specify coding
698         system.
699         (org-mobile-timestamp-buffer): Keep local variable/mode line at
700         beginning of buffer.
702         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
704         * org.el (org-block-todo-from-children-or-siblings-or-parent)
705         (org-block-todo-from-checkboxes): Do not block changes to a nil
706         TODO state.
708 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
710         * org-habit.el (org-habit-parse-todo): Indicate which habit is
711         wrongly set up in the error messages.
713         * org-colview.el (org-columns-display-here): Don't try to
714         calculate values if the underlying property is not set.
715         (org-columns-string-to-number): Convert age strings back into
716         fractional days.
717         (org-agenda-colview-summarize): Handle extended summary types
718         properly.
720         * org-colview-xemacs.el (org-columns-display-here): Don't try to
721         calculate values if the underlying property is not set.
722         (org-columns-string-to-number): Convert age strings back into
723         fractional days.
724         (org-agenda-colview-summarize): Handle extended summary types
725         properly.
727 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
729         * org-exp.el (org-export-format-drawer-function): New variable.
730         (org-export-format-drawer): New function.
731         (org-export-preprocess-string): Pass the backend as a parameter to
732         `org-export-remove-or-extract-drawers'.
733         (org-export-remove-or-extract-drawers): New parameter BACKEND.
735         * org-protocol.el (org-protocol-char-to-string): New defsubst.
737 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
739         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
740         message when no block is selected.
742         * org-latex.el (org-export-latex-links): Check for protectedness
743         in the last matched character, not after the match.
745         * org-datetree.el (org-datetree-find-date-create): Respect
746         restriction when KEEP-RESTRICTION is set.
747         (org-datetree-file-entry-under): New function.
748         (org-datetree-cleanup): New command.
750 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
752         * org-src.el (org-edit-src-code): New optional argument context
753         allows calling functions to avoid altering the saved window
754         configuration.
755         (org-edit-src-exit): Do not restore window configuration when this
756         function is used in the context of saving the edit buffer.
758 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
760         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
761         instances to switching to with-current-buffer, because these seem
762         to cause problems - no idea why.
764         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
765         Require diary-lib for (diary-date-display-form).
767         * org.el (org-log-reschedule, org-log-redeadline): New options.
768         (org-log-note-headings): Add templates for rescheduling and
769         deadline changing.
770         (org-startup-options): Add in-buffer settings for logging changing
771         schedule and deadline time stamps.
772         (org-deadline, org-schedule): Check for existing date and arrange
773         for logging if the user requests it.
774         (org-add-log-note): Prepare proper note buffers for rescheduling
775         and deadline changes.
777 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
779         * org-agenda.el (org-agenda-diary-entry-in-org-file)
780         (org-agenda-add-entry-to-org-agenda-diary-file)
781         (org-agenda-insert-diary-make-new-entry): New functions.
782         (org-agenda-diary-entry): Call
783         `org-agenda-diary-entry-in-org-file' when appropriate.
785         * org.el (org-calendar-insert-diary-entry-key): New option.
786         (org-agenda-diary-file): New option.
787         ("calendar"): Install our insertion function in the calendar.
789         * org-remember.el (org-datetree): Require.
790         (org-remember-templates): Add new positioning option.
791         (org-remember-reference-date): New variable.
792         (org-remember-apply-template): Store the reference date in a local
793         variable.
794         (org-remember-handler): Implement date tree positioning of entries.
796         * org-datetree.el: New file.
798         * org-latex.el (org-export-latex-preprocess): Protect targets in
799         verbatim emphasis.
801         * org-html.el (org-export-as-html): Protect targets in verbatim
802         emphasis.
804         * org-docbook.el (org-export-as-docbook): Protect targets in
805         verbatim emphasis.
807 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
809         * org.el (org-link-display-format): Should be literal replacement.
811 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
813         * org-clock.el (org-show-notification): Handle messages that
814         contain a percent character.
816         * org-remember.el (org-remember-apply-template): Turn of partial
817         completion.
819         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
820         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
822         * org.el (org-indent-mode): Define variable already in org.el.
823         (org-unfontify-region): Remove line-prefix and wrap-prefix
824         properties only if org-indent-mode is active.
826 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
828         * org-icalendar.el (org-print-icalendar-entries): Save match data
829         around call to verify function.
830         (org-print-icalendar-entries): Add a call to the verification
831         function.
833         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
834         save-restrivtion' form.
836 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
838         * org-exp.el (org-export-format-source-code-or-example): restrict
839         scope of preserve-indentp to the let binding.
840         (org-src): require org-src, since org-src-preserve-indentation is used.
842 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
844         * org-timer.el (org-timer-set-timer): Set variables
845         org-timer-timer[123] correctly.
848         * org-mobile.el (org-mobile-files-alist): Make it work when
849         `agenda-archives' is included in
850         `org-agenda-text-search-extra-files'.
851         (org-mobile-push): Restore agenda after mobile push.
853 2009-11-05  John Wiegley  <jwiegley@gmail.com>
855         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
856         way the amount of idle time is presented in the minibuffer.
858 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
860         * org-icalendar.el (org-print-icalendar-entries): Use
861         org-icalendar-verify-function only if non-nil.
863         * org.el (org-refile): Refile to clock only if the prefix arg is
864         2.
865         (org-sparse-tree): Fix docstring to be in line with prompt.
866         (org-update-parent-todo-statistics): Call
867         `org-after-todo-statistics-hook' on each level.
869 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
871         * org-remember.el (org-remember-apply-template): Make sure the
872         buffer exists.
874 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
876         * org.el (org-tab-ind-state): New variable.
877         (org-cycle-level): New function.
878         (org-cycle-level-after-item/entry-creation): New option.
879         (org-flag-subtree): New function.
880         (org-hide-archived-subtrees): Call `org-flag-subtree'.
881         (org-set-effort): Indexed access.
883         * org-list.el (org-cycle-item-indentation): New function.
885         * org.el (org-refile): Make prefix argument 2 refile to current
886         clock.
887         (org-priority): Interpret action `remove' as call to remove the
888         priority cookie.
890         * org-remember.el (org-remember-apply-template): Don't depend on
891         buffer name being like file name.
893 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
895         * org-clock.el (org-clock-play-sound): Expand file in
896         org-clock-sound, to allow ~ for home.
898         * org-remember.el (org-remember-handler): Set
899         text-before-node-creation even if this already looks like a node,
900         because the string might be needed on non-org-mode target files.
902         * org-agenda.el (org-agenda-open-link): Make this work in agenda
903         clocktables.
904         (org-agenda-switch-to): Follow a link at point if
905         org-return-follows-link' is set and there is nothing else to do in
906         this line.
908 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
910         * org-colview-xemacs.el: Add in changes from org-colview.el
912 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
914         * org-exp-blocks.el: Modify split separator regexp to avoid empty
915         strings.
917 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
919         * org-colview.el (org-columns-new): Make this work with the new
920         operators.
921         (org-columns-store-format): Make this work with the new operators.
923 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
925         * org-src.el (org-src-preserve-indentation): Document that this
926         variable is also used during export.
928         * org-exp.el (org-export-format-source-code-or-example): Preserve
929         indentation if a block has a -i option, or if
930         `org-src-preserve-indentation' is set.
932         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
933         indentation if a block has a -i option, or if
934         `org-src-preserve-indentation' is set.
936 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
938         * org.el (org-mode-map): Define the new archiving keys.
939         (org-speed-commands-default): Define an archiving key in the speed
940         command map.
941         (org-org-menu): Improve the menu structure concerning archiving.
943         * org-archive.el (org-archive-subtree-default-with-confirmation):
944         New command.
946         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
947         (org-agenda-menu): Add the new archiving commands to the menu.
948         (org-agenda-archive-default)
949         (org-agenda-archive-default-with-confirmation): New commands.
950         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
951         call `org-agenda-archive-with'.
952         (org-agenda-archive-with): New function.
954         * org-table.el (org-table-convert-region): Inert spaces around "|"
955         to avoid line beginnings like "|-1" which will be mistaken as
956         hlines.
958 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
960         * org.el (org-offer-links-in-entry): Return nil if there are no
961         links, t if a link has been selected.
962         (org-open-at-point): Open attachment directory when called in the
963         headline and there are no links in the entry body.
964         (org-speed-commands-default): Add "o" for open-at-point as a speed
965         command.
967         * org-attach.el (org-attach-reveal): Optional prefix arg
968         IF-EXISTS, which avoids creating the attachment directory if it
969         does not yet exist.
971         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
972         MATCH.
974 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
976         * org.el ("abbrev"): Work with abbrev tables only after they have
977         been loaded.
979         * org-list.el (org-list-send-list): Fix bug related to match
980         data.
982         * org-latex.el (org-export-latex-fontify): Apply verbatim
983         emphasis.
984         (org-export-latex-make-header): Insert \obeylines if line breaks
985         should be preserved.
987         * org-exp.el (org-export-protect-verbatim): Add an
988         `org-verbatim-emph' property to such text.
990 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
992         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
993         (org-print-icalendar-entries): Skip entries where the timestamp is
994         not a deadline and not scheduled, if the user requests that.
996         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
997         before an opening quote.
999         * org-archive.el (org-archive-subtree): Keep archive after
1000         archiving something.
1002         * org-id.el (org-id-update-id-locations): Add archive files if
1003         that is required by `org-id-extra-files'.
1005 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1007         * org-src.el (org-src-window-setup): New option.
1008         (org-src-switch-to-buffer): New function.
1009         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1010         restore window configuration.
1011         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1012         Call `org-src-switch-to-buffer'.
1014         * org.el (org-default-properties): Add STYLE property.
1015         (org-files-list): Use the function call to get the files.
1016         (org-additional-option-like-keywords): Add SETUPFILE to completion
1017         list.
1019 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1021         * org-table.el (org-table-convert-region): Correctly interpret
1022         quoting in csv import.
1024         * org.el (org-icompleting-read): Make iswitchb completion work
1025         with lists and tables.
1027         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1028         while pushing the mobile agenda.
1030 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1032         * org-clock.el
1033         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1034         and `when-no-clock-is-running'.
1035         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1036         whether or not to resolve Org buffers on clock in.
1038 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1040         * org-colview.el (org-format-time-period): Function to format
1041         times in fractional days for display.
1042         (org-columns-display-here): Add support for showing a calculated
1043         value in place of the property.
1044         (org-columns): Set `org-columns-time' to the current time so time
1045         difference calculations will work.
1046         (org-columns-time): Use to store the current time when column view
1047         is displayed, so all time differences will use the same reference
1048         point.
1049         (org-columns-compile-map): There is now an extra position in each
1050         entry specifying the function to use to calculate the displayed
1051         value for the non-calculated properties in the column,
1052         (org-columns-compute-all): Set `org-columns-time' to the current
1053         time so time difference calculations will work.
1054         (org-columns-compute): Handle column operators where the values
1055         used are calculated from the underlying property.
1056         (org-columns-number-to-string): Handle the 'age' column format
1057         (org-columns-string-to-number): Correct the function name (was
1058         org-column...). Add support for the 'age' column format.
1059         (org-columns-compile-format): Support the additional parameter in
1060         org-columns-compile-map.
1062 2009-10-26  Bastien Guerry  <bzg@altern.org>
1064         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1065         variable.
1067 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1069         * org-clock.el (org-clock-has-been-used): New variable.
1070         (org-clock-in): Set `org-clock-has-been-used'.
1071         (org-clock-save): Save only if clock data has been used or created
1072         during this session.
1074 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1076         * org-clock.el (org-clock-persist): New value, to store only the
1077         clock history.
1078         (org-clock-save): Don't save the clock if only the history should
1079         be stored.
1080         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1081         when restoring a saved clock.
1083 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1085         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1086         `org-time-clock-use-fractional'.
1088         * org.el (org-time-clocksum-use-fractional)
1089         (org-time-clocksum-fractional-format): Two new customizable
1090         variables which allow the user to select fractional times (1.25
1091         instead of 1:25) in the `org-clock-display' report.
1093 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1095         * org-habit.el (org-habit-build-graph): None of the arguments
1096         should be optional.
1097         (org-habit-parse-todo, org-habit-deadline)
1098         (org-habit-get-priority, org-habit-get-faces)
1099         (org-habit-build-graph): Further simplifications by storing all
1100         past, scheduled and deadline dates as a number of days past the
1101         epoch, and not as times.
1103         * org-habit.el (org-habit-warning-face)
1104         (org-habit-warning-future-face): Removed because these are no
1105         longer used.
1106         (org-habit-deadline, org-habit-deadline-repeat): Now always
1107         returns a date; computed if there was a scheduled repeater but no
1108         deadline repeater.
1109         (org-habit-get-priority): Further improvements to the priority
1110         algorithm.  In particular, items past due should always appear
1111         before items due or not yet due.
1112         (org-habit-get-faces): Greatly simplified the logic, now that
1113         `org-habit-deadline' always returns a valid time.
1115 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1117         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1118         New option.
1120         * org.el (org-tag-alist): Fix customization type.
1122 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1124         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1125         Make sure the regexp search can fail without throwing an error.
1126         (org-mobile-apply): Save the inbox buffer after removing
1127         successfully applied changes.
1129 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1131         * org-habit.el (org-habit-build-graph): Fix to the graph building
1132         when last DONE date is earlier than `org-habit-preceding-days'.
1134         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1135         time is reported after the user comes back (but before they
1136         resolve time).
1138         * org.el (org-get-repeat): Change so that this function can be
1139         called with either `org-scheduled-string' or
1140         `org-deadline-string'.
1142         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1143         to find the scheduled date.
1145         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1146         `org-clock-disable-clock-resolution', since negatives don't sound
1147         good in customization variables.
1148         (org-clock-in): Don't use the auto-resolution logic if the user is
1149         clocking into a different task while an active clock is running.
1150         This then allows the default behavior of clocking out of the open
1151         task and then into the new task.
1153         * org-habit.el (org-habit-parse-todo): Generate an error if a
1154         habit has a scheduled repeat period < 1.
1155         (org-habit-get-faces): Fixes to the way that colors are computed.
1156         (org-habit-build-graph): The graph wasn't displaying beyond any
1157         day that had two completions in it.
1159         * org.el (org-modules): Made this variable more consistent, since
1160         it was referring to Org, OrgMode and Org-mode, whereas the docs
1161         for the variable always refer to Org-mode.
1163 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1165         * org.el (org-repeat-re): The changed org-repeat-re no longer
1166         matched simple +2d type repeaters. Fix it so it does.
1168 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1170         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1171         macro in the VERSE environment.
1173 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1175         * org-habit.el (org-habit-get-priority): A new function that
1176         determines the relative priority of a habit, based on how long
1177         past its scheduled date it is, and how near the deadline is.
1179         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1180         using `org-habit-get-priority'.
1182         * org-habit.el (org-habit-build-graph): Start displaying colors
1183         from the first scheduled date, if that date is earlier than the
1184         first completion date.
1186         * org-habit.el: Changed all "color" variables to faces, and made
1187         them appropriate for light and dark backgrounds.
1189         * org-habit.el (org-habit-duration-to-days): Made this function
1190         more general.
1191         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1193         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1194         habits, since they don't use DEADLINE anymore.
1196         * org.el (org-repeat-re, org-display-custom-time)
1197         (org-timestamp-change): Extended to support the new ".+N/N"
1198         syntax, used for habits.
1200         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1201         variable reference.
1203         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1204         modeline when habits are being displayed (if that module is being
1205         loaded).
1207 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1209         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1210         idle time using the xscreensaver extension.
1211         (org-user-idle-seconds): Use X11 idle time if available.
1213 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1215         * org-agenda.el (org-agenda-next-line): New command.
1216         (org-agenda-previous-line): New commands.
1217         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1218         commands.
1219         (org-agenda-follow-mode): Do the follow immediately if the mode is
1220         turned on here.
1221         (previous-line, next-line): Replace keys with the corresponding
1222         org functions.
1223         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1224         command.
1226         * org.el (org-icompleting-read): Turn off partial completion mode
1227         for the duration of this completion round.
1229         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1230         macros in author lines and similar stuff.
1232         * org.el (org-file-tags): Fix docstring.
1233         (org-get-buffer-tags): Add the #+FILETAGS tags.
1234         ("ecb"): Maks ecb show context after jumping into an Org file.
1236 2009-10-20  John Wiegley  <johnw@newartisans.com>
1238         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1239         graphs after everything else in the buffer has been setup.
1241 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1243         * org-mobile.el (org-mobile-apply): Count success and failure.
1245         * org.el (org-indent-line-function): Fix regexp replace problem.
1247 2009-10-19  John Wiegley  <johnw@newartisans.com>
1249         * org-clock.el (org-clock-disable-clock-resolution): New
1250         customization variable that disable automatic clock resolution on
1251         clock in.
1252         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1253         not automatically resolve anything.  This is does not affect
1254         idle-time resolution, however, if `org-clock-idle-time' is set.
1256 2009-10-19  John Wiegley  <johnw@newartisans.com>
1258         * org-habit.el: New file, which implements code to build a "habit
1259         consistency graph".
1261         * org-agenda.el (org-agenda-get-deadlines)
1262         (org-agenda-get-scheduled): Display consistency graphs when
1263         outputting habits into the agenda.  The graphs are always relative
1264         to the current time.
1265         (org-format-agenda-item): Added new parameter `habitp', which
1266         indicates whether we are formatting a habit or not.  Do not
1267         display "extra" leading information if habitp is true.
1269         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1270         leaders for repeat strings.
1271         (org-get-repeat): Now takes a string parameter `tagline', so the
1272         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1274 2009-10-19  John Wiegley  <johnw@newartisans.com>
1276         * org-agenda.el (org-agenda-auto-exclude-function): New
1277         customization variable for allowing the user to create an "auto
1278         exclusion" filter for doing context-aware auto tag filtering.
1279         (org-agenda-filter-by-tag): Changes to support the use of
1280         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1282 2009-10-18  John Wiegley  <johnw@newartisans.com>
1284         * org.el (org-files-list): Don't attempt to return a file name for
1285         Org buffers which have no associated file.
1287         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1289 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1291         * org-mobile.el (org-mobile-locate-entry): Interpret files
1292         relative to org-directory.
1293         (org-mobile-inbox-for-pull): Document the best location for this
1294         file.
1295         (org-mobile-check-setup): Verify `org-directory'.
1296         (org-mobile-create-index-file): Sort the files to be listed in
1297         index.org.
1299 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1301         * org.el (org-fast-tag-selection): Add a way to display a
1302         description for a tag group. This is done by adding a string to
1303         either the startgroup or endgroup cell.
1305 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1307         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1308         (org-emacs-idle-seconds): Use `org-float-time' instead of
1309         `time-to-seconds'
1311 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1313         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1314         type.
1316         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1317         the value of ARG when doing local cycling.
1319 2009-10-17  John Wiegley  <johnw@newartisans.com>
1321         * org-clock.el (org-clock-resolve-clock): If keeping or
1322         subtracting time results in a clock out at a time in the past, and
1323         if the resolution occurred due to idleness or invoking `M-x
1324         org-resolve-clocks', remember that past moment in time.  On the
1325         next clock in, the user will be prompted to see if they want to
1326         back-date their new clock to then.
1327         (org-clock-resolve): Do not jump the user to the location of a
1328         dangling clock if the resolution is occuring due to an idle
1329         timeout.  In that case there is typically only one dangling clock,
1330         the active one, and there is no value gained by shuffling their
1331         windows around to show it to them.  Being prompted to resolve an
1332         idle clock should be as inobtrusive as possible.
1333         (org-resolve-clocks-if-idle): New function that resolves only the
1334         currently active clock if the user has exceeded the time returned
1335         by `org-user-idle-seconds', based on the value of
1336         `org-clock-idle-time'.
1337         (org-clock-in): If, after resolving clocks,
1338         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1340         * org-clock.el (org-clock-resolve-clock): New function that
1341         resolves a clock to a specific time, closing or resuming as need
1342         be, and possibly even starting a new clock.
1343         (org-clock-resolve): New function used by `org-resolve-clocks'
1344         that sets up for the call to `org-clock-resolve-clock'.  It
1345         determines the time to resolve to based on a single-character
1346         selection from the user to either keep time, subtract away time or
1347         cancel the clock.
1348         (org-resolve-clocks): New user command which resolves dangling
1349         clocks -- that is, open but not active -- anywhere in the file
1350         list returned by `org-files-list'.
1351         (org-clock-in): Automatically resolve dangling clocks whenever a
1352         user clocks in.
1353         (org-clock-cancel): If the user cancels the solely clock in a
1354         LOGBOOK, remove the empty drawer.
1356         * org-clock.el (org-clock-idle-time): New user customizable option
1357         for detecting whether the user has left a clock idle.  Note: it is
1358         only used in this commit to test whether it's worthwhile to check
1359         OS X to get the Mac user's current idle time.  If the Emacs idle
1360         time is less than the value, the user hasn't been away long enough
1361         to be worth checking (a more expensive test than just getting
1362         Emacs idle time).
1363         (org-user-idle-seconds, org-mac-idle-seconds)
1364         (org-emacs-idle-seconds): This three functions, in conjunction
1365         with the user customization variable `org-clock-idle-time', return
1366         the number of seconds (as a floating point) that the user has been
1367         away from their Emacs (or, if running on OS X, their computer).
1369         * org-clock.el (org-find-open-clocks): New function that returns a
1370         list of all open clocks in the given FILE.  Note that each clock
1371         it returns is a cons cell of the format (MARKER . START-TIME).
1372         This "clock" value is used by several of the new clock module
1373         utility functions.
1374         (org-is-active-clock): New inline function which tests whether the
1375         given clock value is the same as the currently active clock.
1376         Returns non-nil if this is the case.
1377         (org-with-clock-position): New macro that evaluates FORMS with
1378         point in the buffer and at the position of the given clock.
1379         Changes to the current clock are global.
1380         (org-with-clock): New macro that evaluates FORMS with point in the
1381         buffer and at the position of the given clock.  However, changes
1382         to the current clock are local and have no effect on the user's
1383         active clock.  This allows, for example, far any clock to be
1384         cancelled without cancelling the active clock.
1385         (org-clock-clock-in): New inline function that switches the active
1386         clock to the given clock.  If either the argument RESUME, or the
1387         global `org-clock-in-resume', are non-nil, it will resume a clock
1388         that was previously left open.
1389         (org-clock-clock-out): New inline function that clocks out the
1390         given clock value without affecting the currently active clock.
1391         (org-clock-clock-cancel): New inline function that cancels the
1392         given clock value without affecting the currently active clock.
1394         * org-clock.el (org-clock-in): Before creating
1395         `org-clock-mode-line-timer', check to make sure an older timer is
1396         not currently running.
1397         (org-clock-out): Accept new third parameter `at-time', which
1398         permits a clock to be clocked out at a specific time.  Note that
1399         no attempt is made to verify that the clock out time is later than
1400         the clock in time.
1402         * org.el (org-files-list): New utility function for returning a
1403         list of all open org-mode buffers, plus all files used to build
1404         the agenda buffer.  Note that not all the files will necessarily
1405         be visited by a buffer at time of call.
1406         (org-entry-beginning-position): Like the function
1407         `line-beginning-position', this inline function returns the
1408         beginning position of the current heading/entry.
1409         (org-entry-end-position): Like the function `line-end-position',
1410         this inline function returns the end position of the current
1411         heading/entry.
1413 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1415         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1416         a header line.
1418 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1420         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1422 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1424         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1425         entries that have no tags.
1426         (org-agenda-search-view): New customize group.
1427         (org-agenda-search-view-search-words-only): New option.
1428         (org-search-view): Implement substring search.
1430 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1432         * org.el (org-outline-level): Add doc string.
1434 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1436         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1437         variable.
1438         (org-inlinetask-export-handler): Only export inline task if the
1439         user option calls for it.
1441 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1443         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1444         END if present.
1446 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1448         * org-latex.el (org-export-latex-tables): Don't format in
1449         protected regions.
1451 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1453         * org-src.el (org-edit-src-code)
1454         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1455         macro editing.
1457         * org-agenda.el (org-prefix-category-max-length): New variable.
1458         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1459         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1461 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1463         * org-mobile.el (org-mobile-create-index-file): Improve the
1464         listing of tags and todo keywords.
1466         * org-latex.el (org-export-latex-format-image): New function.
1467         (org-export-latex-links): Use `org-export-latex-format-image'.
1469 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1471         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1472         (org-inlinetask-remove-terminator): New functions.
1473         (org-inlinetask-export-handler): Terminate the description list.
1475         * org-exp.el (org-export-select-backend-specific-text): Remove the
1476         region markers.
1478         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1479         tasks without content.
1481         * org-clock.el: Make sure the clock-in target position does not
1482         move to a different node by widening the buffer.
1484         * org-html.el (org-export-html-format-image): Wrap image into
1485         figure div only when there is a caption.
1487         * org-archive.el (org-archive-mark-done): Change default value to
1488         nil.
1490 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1492         * org.el (org-context): Call `bobp', not `eobp'.
1494         * org-clock.el (org-clock-cancel): Remove quotes from marker
1495         variables.
1497         * org.el (org-read-date-prefer-future): New allowed value `time'.
1498         (org-read-date-analyze): Shift day to tomorrow depending on time
1499         entered and value of `org-read-date-prefer-future'.
1501 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1503         * org.el (org-set-tags-to): New command.
1505         * org-mobile.el (org-mobile-action-alist): Add more options and
1506         update the docstring.
1507         (org-mobile-apply-flags): Parse for and use the data.
1509         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1510         the plist.
1512         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1513         keyword.
1515         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1517 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1519         * org-inlinetask.el (org-inlinetask-export): Option removed.
1520         (org-inlinetask-export-handler): Better export.
1522         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1523         (org-export-as-xoxo): Run the new hook.
1525         * org-html.el (org-export-html-final-hook): New hook.
1526         (org-export-as-html): Run the new hook.
1528         * org-docbook.el (org-export-docbook-final-hook): New hook.
1529         (org-export-as-docbook): Run the new hook.
1531         * org-ascii.el (org-export-ascii-final-hook): New hook.
1532         (org-export-as-ascii): Run the new hook.
1534         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1535         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1537         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1538         space character as the character before the ^/_.
1539         (org-export-latex-final-hook): New hook.
1540         (org-export-as-latex): Run `org-export-latex-final-hook'.
1542 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1544         * org-macs.el (org-if-unprotected-at): Fix docstring.
1546         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1547         text in the prefix (if category is a link).
1549         * org-latex.el (org-export-latex-preprocess): Deal properly with
1550         empty lines in verse environments.
1552         * org.el (org-format-latex-header): Inline fullpage.sty.
1554         * org-footnote.el (org-footnote-create-definition): Reveal context
1555         to add a new footnote definition.
1557         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1558         the index file.
1559         (org-mobile-files): New option.
1560         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1561         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1562         functions.
1563         (org-mobile-push): Start by creating the files lists.
1564         (org-mobile-copy-agenda-files): Move killing the buffer to after
1565         the save-excursion has exited.
1566         (org-mobile-write-checksums): Write checksums also for files in
1567         sub-directories.
1569         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1570         org-table-recalculate when cursor is in TBLFM line.
1572         * org-list.el (org-renumber-ordered-list): Fix cursor position
1573         when bullet length has changed.
1575 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1577         * org.el (org-format-latex): Mention `org-format-latex-options' in
1578         the docstring.
1580 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1582         * org.el (org-agenda-get): New function.
1584         * org-agenda.el (org-agenda-post-command-hook): No longer move
1585         point away from end of line.
1586         (org-agenda-add-entry-text, org-agenda-collect-markers)
1587         (org-finalize-agenda, org-agenda-mark-clocking-task)
1588         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1589         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1590         (org-agenda-compare-effort, org-agenda-filter-apply)
1591         (org-agenda-later, org-agenda-change-time-span)
1592         (org-agenda-post-command-hook, org-agenda-show-priority)
1593         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1594         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1595         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1596         (org-agenda-open-link, org-agenda-copy-local-variable)
1597         (org-agenda-switch-to, org-agenda-check-no-diary)
1598         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1599         (org-agenda-add-note, org-agenda-change-all-lines)
1600         (org-agenda-priority, org-agenda-set-tags)
1601         (org-agenda-set-property, org-agenda-set-effort)
1602         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1603         (org-agenda-show-new-time, org-agenda-date-prompt)
1604         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1605         (org-agenda-clock-in, org-agenda-bulk-mark)
1606         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1607         `org-get-at-bol'.
1609         * org-colview.el (org-columns-display-here)
1610         (org-columns-edit-allowed, org-agenda-columns): Use
1611         `org-get-at-bol'.
1613 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1615         * org.el (org-special-ctrl-a/e): Improve documentation and
1616         customize type.
1617         (org-end-of-line): Don't jump to after the ellipsis.
1618         (org-mode-map): Bind <home> and <end> as well.
1620 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1622         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1623         space after #+ as comments.
1624         (org-open-at-point): Run `org-follow-link-hook' always.
1626         * org-latex.el (org-export-latex-emph-format): Use better commands
1627         to insert special characters in verbatim snippets.
1629 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1631         * org-faces.el (org-copy-face): New function.  Use it to create
1632         various faces formerly created by using `copy-face'.
1634         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1635         window dedicated.
1636         (org-agenda-quit): Kill the frame containing the agenda window if
1637         that frame was created for the agenda.
1639 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1641         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1642         stamp in the agenda.
1644 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1646         * org-mobile.el (org-mobile-create-index-file): Add the list of
1647         TODO keywords, and the list of drawers to the index file.
1649         * org-agenda.el (org-prepare-agenda): Reset
1650         `org-drawers-for-agenda'.
1651         (org-prepare-agenda): Uniquify list of drawers.
1653         * org.el (org-complex-heading-regexp-format): New variable.
1654         (org-set-regexps-and-options): Define
1655         `org-complex-heading-regexp-format'.
1656         (org-drawers-for-agenda): New variable.
1657         (org-map-entries): Bind `org-drawers-for-agenda'.
1658         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1660         * org-remember.el (org-go-to-remember-target)
1661         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1663 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1665         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1666         problem.
1668         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1669         the capture file, and make it non-configurable.
1671         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1672         always with `invisible-ok'.
1673         (org-store-link): No error when there is nothing to link to in the
1674         agenda.
1676         * org-list.el (org-update-checkbox-count): Insert changed cookie
1677         before the old, to avoid problems with invisibility at the end of
1678         the line.
1679         (org-update-checkbox-count): Insert changed cookie before the old,
1680         to avoid problems with invisibility at the end of the line.
1682         * org.el (org-sort-entries-or-items): Include the final newline.
1683         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1684         lines for fontification.
1685         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1686         (org-prepare-dblock): Store the current indentation of the BEGIN
1687         line.
1688         (org-update-dblock): Apply the indentation of the begin line to
1689         the rest of the block.
1690         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1691         (org-startup-folded): New allowed value `showeverything'.
1692         (org-startup-options): Add STARTUP keyword `showeverything'.
1693         (org-set-startup-visibility): Respect value `showeverything' in
1694         org-startup-folded.
1696 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1698         * org.el (org-closest-date): Fix issue with past preference.
1700         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1702         * org-archive.el (org-archive-set-tag)
1703         (org-archive-subtree-default): New commands.
1705         * org-mobile.el (org-mobile-create-index-file): Fix link to
1706         capture file.
1707         (org-mobile-copy-agenda-files): Create the capture file if it does
1708         not exist.
1710         * org-clock.el (org-clock-clocktable-default-properties): New
1711         option.
1712         (org-clock-report): Use
1713         `org-clock-clocktable-default-properties'.
1715 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1717         * org.el (org-iswitchb-completing-read): Fix typo.
1719         * org-crypt.el: New file.
1721         * org.el: Add an entry for org-crypt.
1723 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1725         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1726         consistency.
1727         (org-batch-store-agenda-views): New function.
1728         (org-mobile-force-id-on-agenda-items): Mention variable.
1729         (org-agenda-title-append): Define variable.
1730         (org-write-agenda): New export to Org files.
1731         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1732         (org-agenda): Allow to keep the restricted file list if a special
1733         variable is bound to t.
1734         (org-agenda): Define a special agenda view for working on flagged
1735         entries.
1736         (org-agenda-get-restriction-and-command): List the new agenda
1737         view.
1738         (org-agenda-show-the-flagging-note): New command.
1739         (org-agenda-mode-map): New key `?' for looking at the flagging
1740         note.
1742         * org.el (org-autoload): Autoload org-mobile.el.
1743         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1745         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1747 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1749         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1750         statements.
1751         (org-table-get-remote-range): Match indented #+TBLNAME
1752         statements.
1754         * org.el (org-convert-to-odd-levels)
1755         (org-convert-to-oddeven-levels): Work also correctly if the file
1756         is in outline-mode.
1758 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1760         * org.el (org-store-link): When in agenda buffer, link to
1761         referenced entry.
1762         (org-add-planning-info): Remove spaces at eol.
1764         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1765         property.
1767 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1769         * org-latex.el (org-export-latex-first-lines): Fix problem with
1770         LaTeX export of first line and selected subtree.
1772         * org.el (org-shifttab): Interpret arg differently when using only
1773         odd levels.
1775 2009-09-09  Bastien Guerry  <bzg@altern.org>
1777         * org.el (org-check-agenda-file): Use a more explicit message
1779 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1781         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1782         normal lines.
1784 2009-09-08  Bastien Guerry  <bzg@altern.org>
1786         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1787         prompt in the temporary window.
1789         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1790         prefix for marked entries in the agenda view.
1792 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1794         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1795         a way that prevents any trailing character from being displayed.
1797 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1799         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1800         menu.
1802         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1803         slow regexp match.
1805 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1807         * org-latex.el (org-export-latex-preprocess): Do not protect in
1808         the LaTeX header.
1810         * org-src.el (org-edit-src-save): Save window setup while saving.
1811         (org-edit-src-code): Use new buffer name construction scheme.
1813 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1815         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1816         variable.
1817         (org-agenda-entry-text-cleanup-hook): New hook.
1818         (org-agenda-get-some-entry-text): Remove matches of
1819         `org-agenda-entry-text-exclude-regexps' and run the hook
1820         `org-agenda-entry-text-cleanup-hook'.
1822         * org.el (org-offer-links-in-entry): New argument ZERO to
1823         implement a link with index zero.
1824         (org-cycle-show-empty-lines): Not keep empty line under header
1825         hidden.
1826         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1827         to nil for special completion.
1828         (org-store-link): Don't error before the first heading.
1830         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1831         `org-offer-links-in-entry'.
1833 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1835         * org-agenda.el (org-agenda-quit): Provide the window argument for
1836         `window-dedicated-p', Emacs 22 needs it.
1837         (org-format-agenda-item): If the category is a link, arrange for
1838         invisible text to replaced with spaces.
1839         (org-compile-prefix-format): Add the extra space.
1840         (org-prefix-category-length): New variable.
1842         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1843         references from TOC lines.
1845         * org.el (org-selected-window): New variable.
1847         * org-table.el (org-table-edit-formulas): Remember the selected
1848         window.
1849         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1850         that was originally selected.
1852         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1853         expansion of a macro for more macro definitions.
1855         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1856         invisibility overlay starts on the newline.
1858 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1860         * org-protocol.el (org-protocol-store-link)
1861         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1863         * org-compat.el (org-float-time): New function.
1865         * org.el (org-clock-update-time-maybe)
1866         (org-sort-entries-or-items, org-do-sort)
1867         (org-evaluate-time-range, org-time-string-to-seconds)
1868         (org-closed-in-range): Use `org-float-time'.
1870         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1871         (org-timer-seconds):  Use `org-float-time'.
1873         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1874         (org-clock-sum, org-dblock-write:clocktable)
1875         (org-clocktable-steps):  Use `org-float-time'.
1877         * org-agenda.el (org-agenda-last-marker-time)
1878         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1880         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1881         function.
1883         * org-exp.el (org-get-file-contents): Only protect lines that
1884         really need it.
1886         * org-html.el (require): Require cl for compilation.
1888         * org.el:  Avoid using `default-major-mode'.
1890         * org-plot.el (require): Require CL only at compile time.
1892         * org-exp.el (require): Require CL only at compile time.
1894         * org-agenda.el (org-agenda-quit): When the agenda window is
1895         dedicated, remove other windows before exiting, so that the frame
1896         really will be killed.
1898         * org-exp.el (org-export-handle-include-files): Reset START and
1899         END for each loop cycle.
1901 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1903         * org.el (org-eval-in-calendar): Use
1904         `org-select-frame-set-input-focus'.
1906         * org-compat.el (org-select-frame-set-input-focus): New function.
1908         * org.el (org-update-statistics-cookies): New function.
1909         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1911 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1913         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1914         after the local variables are set.
1916         * org-latex.el (org-export-latex-protect-amp): New function.
1917         (org-export-latex-links): Protect link ampersands in tables.
1919         * org-exp.el (org-export-select-backend-specific-text): Match in
1920         two steps, to avoid regexp problems.
1922         * org.el (org-offer-links-in-entry): Improve working with many and
1923         duplicate links.
1925         * org-agenda.el (org-agenda-show-1): Make more consistent with
1926         normal cycling.
1927         (org-agenda-cycle-show): Make more consistent with normal cycling.
1929         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1930         website.
1932 2009-08-30  Bastien Guerry  <bzg@altern.org>
1934         * org-latex.el (org-export-latex-first-lines): Bugfix.
1936 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1938         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1939         about new effort.
1941         * org.el (org-set-effort): New function.
1942         (org-mode-map): New key for effort setting command.
1944         * org-agenda.el (org-agenda): Keep window setup when calling
1945         agenda from within agenda window.
1946         (org-agenda-mode-map): New keys for effort setting commands.
1947         (org-agenda-menu): Add effort setting commands to menu.
1948         (org-agenda-set-property, org-agenda-set-effort): New functions.
1950         * org-latex.el (org-export-latex-tables): Fix
1951         `org-table-last-alignment' and `org-table-last-column-widths' if
1952         the first column has been removed.
1954 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1956         * org.el (org-remove-timestamp-with-keyword): Only remove in
1957         entry, not in subtree.
1959         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1960         emacs lisp.
1962         * org.el (org-open-at-point): When on headline, offer all strings
1963         in entry.
1965         * org-remember.el (org-remember-templates): Documentation fix.
1967         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1968         `org-get-last-sibling' instead of the outline versions of these
1969         functions.
1970         (org-get-last-sibling): New function.
1971         (org-refile): Use `org-get-next-sibling' instead of the outline
1972         version of this function.
1973         (org-clean-visibility-after-subtree-move): Use
1974         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1975         outline versions of these functions.
1977 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1979         * org-agenda.el (org-prepare-agenda): When creating a new frame
1980         for the agenda, make the window dedicated.
1982         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1984         * org-table.el (org-table-align): Change the order of reinsertion
1985         and deletion, to avoid problems with overlays following the table.
1987         * org.el (org-parse-time-string): Better error message.
1988         (org-show-subtree): Use org-end-of-subtree.
1990         * org-macs.el (org-goto-line): New defsubst.
1992         * org.el (org-open-file, org-change-tag-in-region)
1993         (org-fast-tag-show-exit): Don't use `goto-line'.
1995         * org-table.el (org-table-align, org-table-insert-column)
1996         (org-table-delete-column, org-table-move-column)
1997         (org-table-sort-lines, org-table-copy-region)
1998         (org-table-paste-rectangle, org-table-wrap-region)
1999         (org-table-get-specials, org-table-rotate-recalc-marks)
2000         (org-table-get-range, org-table-recalculate)
2001         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2002         (org-table-show-reference, org-table-highlight-rectangle): Don't
2003         use `goto-line'.
2005         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2006         (org-edit-src-exit): Don't use `goto-line'.
2008         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2010         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2011         Don't use `goto-line'.
2013         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2015         * org-colview.el (org-columns, org-columns-redo)
2016         (org-agenda-columns): Don't use `goto-line'.
2018         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2019         use `goto-line'.
2021         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2022         (org-agenda-add-entry-text-maxlines): Improve docstring.
2023         (org-agenda-start-with-entry-text-mode): New option.
2024         (org-agenda-entry-text-maxlines): New option.
2025         (org-agenda-entry-text-mode): New variable.
2026         (org-agenda-mode): Set initial value of
2027         `org-agenda-entry-text-mode'.
2028         (org-agenda-mode-map): Add the `E' key.
2029         (org-agenda-menu): Add entry text mode to the menu.
2030         (org-agenda-get-some-entry-text): Fix line count bug.
2031         (org-finalize-agenda): Apply entry text mode if appropriate.
2032         (org-agenda-entry-text-show-here): New function.
2033         (org-agenda-entry-text-show): New function.
2034         (org-agenda-entry-text-hide): New function.
2035         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2036         key menu.
2037         (org-agenda-entry-text-mode): New command.
2038         (org-agenda-set-mode-name): Add entry text mode to the mode line
2039         string.
2040         (org-agenda-undo, org-agenda-get-restriction-and-command)
2041         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2042         `goto-line'.
2044 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2046         * org-clock.el (org-notify): Bugfix.
2048 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2050         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2051         check for after-string.
2053         * org-gnus.el (org-gnus-store-link): Simplify.
2055         * org.el (org-latex-regexps): Don't add extra empty lines for
2056         display formulas.
2058 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2060         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2061         (org-agenda-add-entry-text): Use
2062         `org-agenda-get-some-entry-text'.
2064         * org.el (org-cycle-separator-lines): Update docstring.
2065         (org-cycle-show-empty-lines): Handle negative values for
2066         `org-cycle-show-empty-lines'.
2068         * org-exp.el (org-export-protect-sub-super): New function.
2069         (org-export-normalize-links): Protect the url of plain links from
2070         supscript and superscript processing.
2072         * org-remember.el (org-remember-escaped-%): New function.
2073         (org-remember-apply-template): Use `org-remember-escaped-%' to
2074         detect escaped % signs.
2076 2009-08-23  Bastien Guerry  <bzg@altern.org>
2078         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2079         sound when showing the notification.
2081         * org-clock.el (org-notify): New function.
2082         (org-clock-notify-once-if-expired): Use `org-notify'.
2084         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2085         and `gnus-article-mode' separately.
2086         (gnus-summary-article-header): Fix the declare-function.
2088 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2090         * org-exp.el (org-export-format-source-code-or-example): Translate
2091         language.
2093         * org-src.el (org-src-lang-modes): New variable
2094         (org-edit-src-code): Translate language.
2096         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2097         the new structure of the `org-export-latex-listings-langs'
2098         variable.
2100         * org-latex.el (org-export-latex-listings-langs): Change structure
2101         of the variable from plist to alist.
2103 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2105         * org.el (org-in-commented-line): New function.
2107 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2109         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2111 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2113         * org.el (org-flag-drawer): More useful error.
2115 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2117         * org-remember.el (org-remember-apply-template): Use
2118         org-icompleting-read.
2120         * org-publish.el (org-publish): Use org-icompleting-read.
2122         * org-colview.el (org-columns-edit-value, org-columns-new)
2123         (org-insert-columns-dblock): Use org-icompleting-read.
2125         * org-colview-xemacs.el (org-columns-edit-value)
2126         (org-columns-new, org-insert-columns-dblock): Use
2127         org-icompleting-read.
2129         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2130         org-icompleting-read.
2132 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2134         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2135         (org-version): Return the version text.
2136         (org-org-menu): Add a menu entry for the new bug reporter.
2137         (org-submit-bug-report): New command.
2139         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2140         docstring.
2142         * org.el (org-emphasis-regexp-components): Add "`" to set of
2143         pre-emphasis characters.
2145         * org-latex.el (org-export-latex-classes): Always include the soul
2146         package.
2147         (org-export-latex-emphasis-alist): Use \st for strikethough.
2149         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2150         `indent-code-rigidly' to indent.
2152         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2153         properties only if MATCH really is a string.
2155 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2157         * org-latex.el (org-export-latex-packages-alist): Fix
2158         customization type.
2160         * org.el (org-create-formula-image): Also use
2161         `org-export-latex-packages-alist'.
2163         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2164         (org-export-as-html): Format footnotes correctly.
2166 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2168         * org.el (org-fast-tag-selection): Avoid text properties on tags
2169         in the alist.
2171         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2172         text properties on the match element.
2174 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2176         * org.el (org-set-regexps-and-options): Make sure the list of done
2177         keywords is not invalid.
2179         * org-exp.el (org-export-interpolate-newlines): New function.
2181 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2183         * org.el (org-format-latex): Avoid nested overlays.
2185         * org-latex.el (org-export-latex-listings-langs): Add a few more
2186         languages.
2188         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2189         ignore newlines and space before the first macro argument.
2191         * org-latex.el (org-export-latex-tables): Remove save-excursion
2192         around `org-table-align'.
2194 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2196         * org.el (org-export-html-special-string-regexps): Definition
2197         moved into org.el
2199         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2200         in macro calls.
2202 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2204         * org-latex.el (org-export-latex-listings)
2205         (org-export-latex-listings-langs): New options.
2207         * org-exp.el (org-export-format-source-code-or-example): Use
2208         listing package if requested by the user.
2210 2009-08-08  Bastien Guerry  <bzg@altern.org>
2212         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2213         command before actually switching to a buffer.
2215 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2217         * org-exp.el (org-get-file-contents): Only quote org lines when
2218         the markup is src or example.
2220         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2221         New option
2222         (org-agenda-get-day-entries): Remember deadline results and pass
2223         them on into the function getting the scheduling information.
2224         (org-agenda-get-scheduled): Accept deadline results as parameters
2225         and maybe skip some entries.
2226         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2228         * org.el (org-insert-heading): When respecting content, do not
2229         convert current line to headline.
2231         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2232         cheeeeeck the hd marker
2233         (org-clock-in): Also set the hd marker.
2234         (org-clock-out): Also set the hd marker.
2235         (org-clock-cancel): Reset markers.
2237         * org.el (org-clock-hd-marker): New marker.
2239         * org-faces.el (org-agenda-clocking): New face.
2241         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2242         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2244         * org.el (org-modules): Add org-track.el.
2246         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2247         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2248         `org-agenda-bulk-marked-p'.
2249         (org-agenda-bulk-toggle): New command.
2251 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2253         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2254         not just the body.
2256         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2257         messages.
2259 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2261         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2262         before gnuplot can read it.
2264 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2266         * org-latex.el (org-export-latex-first-lines): Fix bug with
2267         finding the end of the first lines.
2269         * org.el (org-create-formula-image): Remove the -E option for
2270         dvipng.
2272         * org-exp.el (org-default-export-plist): Respect #+BIND.
2273         (org-export-confirm-letbind): New function.
2275         * org.el (org-paste-subtree): Test the kill ring entry if it is
2276         going to be used.
2277         (org-copy-subtree): Use `org-forward-same-level'.
2278         (org-forward-same-level): Respect the `invisibe-ok' arg for
2279         back-to-heading.
2281 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2283         * org.el (org-table-map-tables): Make sure cursor is back at table
2284         beginning after funcall.
2286         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2287         handled before children, and do not error if an entry is not
2288         found, probably because it hase been remove when the parent was
2289         archived or refiled.
2291         * org.el (org-ido-completing-read): Accept straight lists for
2292         completion as well as alists.
2294         * org-html.el (org-export-as-html): Fix parenthesis error in
2295         footnore code.
2297         * org-timer.el (org-timer-cancel-timers): Renamed from
2298         `org-timer-cancel-timers'.
2300         * org.el (org-cycle-internal-local): Fix problem with finding next
2301         invisible line.
2303 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2305         * org-list.el (org-list-send-list): Call
2306         `org-list-goto-true-beginning' instead of
2307         `org-list-find-true-beginning', which does not exist.
2309         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2310         (org-timer-set-timer): Do not assign to heading.
2312         * org-id.el (org-id-open): Quote function name.
2314         * org-macs.el (org-unmodified): Turn off recording undo
2315         information while running inside the macro.
2317         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2318         variable.
2319         (org-indent-mode): Remember and restore value of
2320         org-hide-leading-stars before `org-indent-mode'.
2322         * org-table.el (org-table-export): Also work in file-less
2323         buffers.
2325         * org.el (org-startup-indented): New option.
2326         (org-startup-options): Add new options indent and noindent.
2327         (org-unfontify-region): Remove line-prefix and wrap-prefix
2328         properties.
2329         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2330         hooks.
2331         (org-promote, org-demote): Run the new hooks.
2333         * org-table.el (org-table-align): Replace leading \n as well.
2335         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2336         and `line-wrap' text properties.
2338         * org-compat.el (org-kill-new): New function.
2340         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2341         `line-wrap' text properties.
2343         * org-indent.el: New file.
2345 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2347         * org.el (org-provide-todo-statistics): Tweak docstring.
2349         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2351 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2353         * org-exp.el (org-export-as-org): Insert the "-source" string
2354         before the extension.
2356         * org.el (org-read-date): Make sure the calendar is in the current
2357         frame.
2358         (org-set-emph-re): Remove the ? from the post-match.
2359         (org-emphasis-regexp-components): Add backslash to the
2360         postmatch class.
2361         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2362         optional so that also lines at the end of the buffers will still
2363         be matched as headlines.
2365         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2366         Variable made obsolete.
2367         (org-table-relative-ref-may-cross-hline): New option.
2368         (org-table-find-row-type): Honow the new option
2369         `org-table-relative-ref-may-cross-hline'.
2371 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2373         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2374         on single field if no active region.
2376 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2378         * org-latex.el (org-export-latex-make-header): Only insert title
2379         if one is defined.
2381         * org.el (org-make-options-regexp): Allow empty values.
2383         * org-html.el (org-export-as-html): Move hrule detection to after
2384         plain list handling.
2386 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2388         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2390 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2392         * org.el (org-cycle-internal-local): Improved version of finding
2393         next visible line.
2394         (org-cycle-hide-drawers): Only hide drawers if this is really
2395         necessary.
2396         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2397         org-version of this function in Org-mode.  We use advice to
2398         implement this change, so that future changes to this function in
2399         outline.el wil be handled properly.
2400         (org-forward-same-level, org-backward-same-level): New commands.
2402 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2404         * org.el (org-remove-empty-overlays-at)
2405         (org-clean-visibility-after-subtree-move): New functons.
2406         (org-move-subtree-down): Simplify cleanup of display.
2408 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2410         * org-mac-message.el (org-mac-message-get-links): Improve
2411         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2412         "s".  Fix the return value.
2413         (org-mac-message-insert-flagged): Simplify.
2415         * org.el (org-refile-get-location): Tamper with refile history o
2416         that history contains compete matches instead of the entered
2417         string.
2419 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2421         * org.el (org-store-link): Never store a link to an inline task.
2423         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2425         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2426         inline tasks when positioning footnotes.
2428         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2429         function.
2431         * org.el (org-refile): Remove the END line when archiving an
2432         inline task that does have an END line.
2434         * org-archive.el (org-archive-subtree): Remove the END line when
2435         archiving an inline task that does have an END line.
2437         * org-macs.el (org-with-limited-levels): New macro.
2438         (org-get-limited-outline-regexp): New function.
2440         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2441         that did not enumerate first line.
2442         (org-export-mark-radio-links): Skip matches in links.
2444 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2446         * org.el (org-activate-plain-links): Make single-match.
2447         (org-adapt-indentation): Fix docstring.
2449         * org-macs.el (org-unmodified): Turn of modification hooks while
2450         running this macro.
2452 2009-08-02  Bastien Guerry  <bzg@altern.org>
2454         * org.el (org-adapt-indentation): Slightly improve the docstring.
2455         (org-occur): Sends an error when the user inputs an empty string.
2456         (org-priority): Bugfix: the tag alignement should happen within
2457         save-excursion.
2459 2009-07-31  Bastien Guerry  <bzg@altern.org>
2461         * org.el (org-make-link-regexps): Don't exclude parentheses from
2462         `org-plain-link-re'
2463         (org-cycle-internal-local): When locally cycling, switch directly
2464         from CHILDREN to FOLDED if there is no subtree
2465         (org-cycle): Update the docstring to document the new behavior of
2466         `org-cycle-internal-local'.
2468 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2470         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2471         an abbreviated format for days.
2473 2009-07-27  Bastien Guerry  <bzg@altern.org>
2475         * org-protocol.el (org-protocol-default-template-key): New
2476         option.
2478         * org.el (org-refile): Bugfix: save-excursion before reading the
2479         refile target, otherwise cursor moves might confuse `org-refile'.
2481         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2482         footnote reference before the footnote itself.
2484         * org.el (org-toggle-heading): Bugfix: correctly convert list
2485         items before the first headline.
2487         * org-html.el (org-export-html-footnote-format): New option for
2488         formatting the footnote reference.
2489         (org-export-as-html): Use the new option.
2491         * org.el (org-provide-todo-statistics): Allow a list of TODO
2492         keywords to compute statistics against headlines containing a
2493         keyword from this list.
2494         (org-update-parent-todo-statistics): Possibly use the new allowed
2495         value of `org-provide-todo-statistics'.
2497 2009-07-26  Bastien Guerry  <bzg@altern.org>
2499         * org-timer.el: Add autoload cookie.
2501         * org.el (org-occur-link-in-agenda-files): New function.
2503         * org-timer.el (org-timer-last-timer): New variable.
2505         * org-agenda.el (org-agenda-mode-map): New key for
2506         org-timer-set-timer called from the agenda.
2508         * org.el (org-mode-map): New key for org-timer-set-timer.
2510         * org-timer.el (org-timer-reset-timers)
2511         (org-timer-show-remaining-time, org-timer-set-timer): New
2512         functions.
2514         * org-clock.el (org-show-notification): Update the docstring.
2516         * org.el (org-provide-todo-statistics): Allow new value
2517         'all-headlines for this option, which includes entries with no
2518         TODO keywords in the todo statistics.
2519         (org-update-parent-todo-statistics): Possibly use the new
2520         'all-headline value from `org-provide-todo-statistics'.
2522 2009-07-25  Bastien Guerry  <bzg@altern.org>
2524         * org-clock.el (org-dblock-write:clocktable): Add a new option
2525         :timestamp which allows display of timestamps in clock reports.
2527         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2528         list to a subtree, preserving the structure of the list.
2529         (org-set-emph-re): Make the last element optional in the regexp.
2530         This regexp now matches an emphasized string at the end of a line.
2532         * org-list.el (org-list-goto-true-beginning)
2533         (org-list-make-subtree, org-list-make-subtrees): New functions.
2535         * org.el (org-eval-in-calendar): Select the right frame.
2536         (org-save-frame-excursion): Remove this macro.
2538 2009-07-24  Bastien Guerry  <bzg@altern.org>
2540         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2541         trying to find the beginning of a list.
2543         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2544         When present, tell org-get-file-contents not to protect org-like
2545         lines.
2547         * org-id.el (org-id-uuid-program): New option to set the name of
2548         the uuidgen program.
2549         (org-id-method): Use `org-id-uuid-program'.
2550         (org-id-new): Use `org-id-uuid-program'.
2552 2009-07-23  Bastien Guerry  <bzg@altern.org>
2554         * org-exp.el (org-export-number-lines): Allow whitespace in code
2555         references.  Allow the -r switch to remove the references in the
2556         source code even when the lines are not numbered: the labels can
2557         be explicit enough.
2559         * org.el (org-fontify-whole-heading-line): New option.
2560         (org-set-font-lock-defaults): Use the new option.
2562         * org-clock.el (org-show-notification-handler): New option.
2563         (org-show-notification): Use the new option.
2565 2009-07-21  Bastien Guerry  <bzg@altern.org>
2567         * org.el (org-eval-in-calendar): Fix a bug about calendar
2568         navigation when `calendar-setup' value is 'calendar-only.
2570 2009-07-19  Bastien Guerry  <bzg@altern.org>
2572         * org.el (orgstruct++-mode): Fix typo in docstring.
2573         (org-insert-link): Clean up: (or (...)) => (...)
2574         (org-insert-link): Use TAB for stored links completion.
2576 2009-07-18  Bastien Guerry  <bzg@altern.org>
2578         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2579         building the list of targets.
2581         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2582         option.
2583         (org-remember-handler): Use the new option.
2585 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2587         * org.el (org-tags-sort-function): New option for sorting tags.
2588         (org-set-tags): Use the new option to sort tags.
2590         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2591         premature deletion of the data when using org-plot in a script.
2593 2009-07-17  Bastien Guerry  <bzg@altern.org>
2595         * org-clock.el (org-clock-in-prepare-hook): New hook.
2596         (org-clock-in): Use this new hook.
2598 2009-07-16  Bastien Guerry  <bzg@altern.org>
2600         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2601         'reversed for this option to the "true line boundary first"
2602         behavior.
2603         (org-tags-match-list-sublevels): Document the 'indented value for
2604         this variable.
2606         * org-latex.el (org-export-latex-first-lines): Fix problem with
2607         publishing the region.
2609         * org-exp.el (org-export-format-source-code-or-example): Fix
2610         bad line numbering when exporting examples in HTML.
2612         * org-colview.el (org-format-time-period): Formats a time in
2613         fractional days as days, hours, mins, seconds.
2614         (org-columns-display-here): Add special handling for SINCE and
2615         SINCE_IA to format for display.
2617 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2619         * org.el (org-tags-sort-function): Add custom declaration for tags
2620         sorting function.
2621         (org-set-tags): Sort tags if org-tags-sort-function is set
2623 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2625         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2627         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2629         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2630         option.
2632 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2634         * org-publish.el (org-publish-remove-all-timestamps): New function.
2635         (org-publish-all): Remove all timestamp files if `org-publish-all'
2636         is called with a prefix argument.
2638         * org-list.el (org-indent-item): Fix typo.
2639         (org-item-indent-positions): Normalize ordered bullet.
2641         * org-html.el (org-export-html-home/up-format): New option.
2642         (org-export-as-html): Insert the up and HOME links.
2644 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2646         * org-html.el (org-export-as-html): Insert the title into the
2647         option plist.
2648         (org-export-html-insert-plist-item): New function.
2649         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2651         * org-macs.el (org-set-local): Make a local variable, do not make
2652         the variable buffer-local!
2654         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2656         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2658         * org-docbook.el (org-export-as-docbook): Call
2659         `org-install-letbind'.
2661         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2663         * org-exp.el (org-infile-export-plist): Read BIND lines.
2664         (org-install-letbind): New function.
2665         (org-export-as-org, org-export-preprocess-string): Call
2666         `org-install-letbind'.
2668         * org-src.el (org-edit-src-exit): Untabify the example before
2669         returning to Org.
2671         * org-list.el (org-list-demote-modify-bullet): New option.
2672         (org-first-list-item-p): Save point.
2673         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2674         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2675         (org-item-indent-positions): Return bullet types along with
2676         indentation.
2678 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2680         * org.el (org-show-entry): Hide drawers.
2682 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2684         * org-footnote.el (org-footnote-auto-adjust): New option.
2685         (org-footnote-auto-adjust-maybe): New function.
2686         (org-footnote-new, org-footnote-delete): Call
2687         `org-footnote-auto-adjust-maybe'.
2689         * org.el (org-startup-options): Add new footnote-related
2690         keywords.
2692         * org-publish.el (org-publish-timestamp-filename): Additional
2693         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2694         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2695         TRUE-PUB-DIR.  Pass them through to
2696         `org-publish-timestamp-filename'.
2697         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2698         PUB-FUNC, which are included in the hash.
2699         (org-publish-file): Delay timestamp test until the publishing
2700         function is known.
2702 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2704         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2705         setting the deadline.
2707         * org.el (org-read-date-final-answer): New variable.
2708         (org-read-date): Store the final answer string, including the date
2709         from the calendar, for reuse by agenda bulk commands.
2711         * org-publish.el (org-publish-attachment): Fix publishing of
2712         attachments.
2714         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2715         quotation makrs in parenthesis.
2716         (org-remove-initial-hash): New function.
2717         (org-export-latex-preprocess): Fix bug with infinite loop if
2718         environment is not properly closed.
2720         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2721         when indented.
2723         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2724         highlight also when indented.
2726 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2728         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2729         (org-footnote-action): Offer renumbering.
2731         * org.el (org-cycle): Honor the `integrate' value of
2732         org-cycle-include-plain-lists'.
2734         * org-list.el (org-cycle-include-plain-lists): New allowed value
2735         `internal'.  Improve the docstring.
2737         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2738         regexp to work better with LaTeX commands.
2740 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2742         * org-feed.el (org-feed-update): fix problem with non-existing
2743         buffer.
2744         (org-feed-skip-http-headers): New function.
2745         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2746         (org-feed-get-feed): Fix command line arguments for curl.
2748 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2750         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2751         and eps extensions.
2753 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2755         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2756         loaded.
2758         * org.el (org-map-entries): No longer force
2759         `org-tags-match-list-sublevels' to t during a todo-only tags
2760         search.
2762 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2764         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2765         environment.
2766         (org-export-latex-subcontent): Handle user-defined environment.
2768         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2769         the View dispatcher.
2771         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2772         `make-overlay'.
2774         * org-latex.el (org-export-as-pdf): Protect match data during call
2775         to shell-quote-argument.
2777         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2778         (org-agenda-view-mode-dispatch): New function.
2780 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2782         * org-agenda.el (org-agenda-mode): Reset list of marks.
2783         (org-agenda-mode-map): Define new keys for refile and bulk action.
2784         (org-agenda-menu): Add menu itesm for refile and bulk action.
2785         (org-agenda-refile): New function.
2786         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2787         (org-agenda-marked-entries): New variable.
2788         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2789         (org-agenda-remove-all-bulk-action-marks)
2790         (org-agenda-bulk-action): New functions/commands.
2792 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2794         * org-exp.el (org-get-file-contents): Protect org-like lines in
2795         included files.
2796         (org-export-format-source-code-or-example): Remove newlines.
2798         * org-latex.el (org-export-latex-links): Check for no-description
2799         marking.
2801         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2802         argument separator back to comma.
2803         (org-export-normalize-links): Mark links without description.
2805 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2807         * org-exp.el (org-infile-export-plist): Fix bug in macro
2808         processing.
2810         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2811         out.
2812         (org-agenda-highlight-todo): Fix bug with highlighting.
2814 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2816         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2817         new alignment strings.
2819         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2820         command list.
2821         (org-table-align): Check for forced align type.
2823         * org.el (org-self-insert-command): Add yas/expand to command
2824         list.
2826         * org-clock.el (org-clock-in-hook): New hook.
2827         (org-clock-in): Run `org-clock-in-hook.
2828         (org-clock-out-hook): New hook.
2829         (org-clock-out): Run `org-clock-out-hook.
2830         (org-clock-cancel-hook): New hook.
2831         (org-clock-cancel): Run `org-clock-cancel-hook.
2832         (org-clock-goto-hook): New hook.
2833         (org-clock-goto): Run `org-clock-goto-hook.
2835 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2837         * org.el (org-store-link): Better default description for link to
2838         Org-mode headline.
2840         * org-exp.el (org-export-generic): Autoload the generic exporter
2841         function.
2842         (org-export): Implement the `g' key for the generic exporter.
2844 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2846         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2847         and for zbacktab'.
2849         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2851         * org-exp.el (org-infile-export-plist): Get macros also from
2852         #+SETUPFILE.
2854 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2856         * org-colview.el (org-columns-capture-view): Protect vertical bars
2857         in column values.
2858         (org-columns-capture-view): Exclude comment and archived trees.
2860         * org-colview-xemacs.el (org-columns-capture-view): Protect
2861         vertical bars in column values.
2862         (org-columns-capture-view): Exclude comment and archived trees.
2864         * org.el (org-quote-vert): New function.
2866         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2868         * org-exp.el (org-export-format-source-code-or-example): Use
2869         `org-export-latex-verbatim-wrap'.
2871         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2872         time stamps.
2874         * org-html.el (org-export-table-row-tags): New option.
2875         (org-format-org-table-html): Rename `nlines' to `nline', use new
2876         option.
2879 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2881         * org-exp-blocks.el: Declare functions and variables.
2883         * org-remember.el (org-remember-templates): Allow the headline
2884         element to be a function.
2885         (org-remember-apply-template): If the headline is a function, call
2886         it to get the true function.
2888         * org-clock.el (org-clock-menu): New function.
2889         (org-clock-update-mode-line): Update help string.
2890         (org-clock-modify-effort-estimate): New function.
2891         (org-clock-mark-default-task): New function.
2893         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2894         minutes as input.
2895         (org-org-menu): Add new clocking stuff.
2896         (org-clock-is-active): New function.
2898 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2900         * org.el (org-open-non-existing-files): Improve docstring.
2902 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2904         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2905         option.
2906         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2908         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2910         * org-list.el (org-get-checkbox-statistics-face): Use the new
2911         faces.
2913         * org-faces.el (org-checkbox-statistics-todo)
2914         (org-checkbox-statistics-done): New faces.
2916 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2918         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2919         (org-edit-src-exit): Better cursor positioning when returning from
2920         editing.
2922         * org-latex.el (org-export-latex-use-verb): New variable.
2923         (org-export-latex-emph-format): Prefer \texttt over \verb when
2924         org-export-latex-use-verb is set.
2926 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2928         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2929         at normal indentation.
2931         * org-html.el (org-export-html-close-lists-maybe): Also look at
2932         normal indentation.
2934         * org-remember.el (org-remember-handler): Abort remember if the
2935         buffer is empty.
2937         * org-src.el (org-edit-src-content-indentation): New option.
2938         (org-edit-src-exit): Apply extra indentation.
2940         * org-exp.el (org-export-format-source-code-or-example): Run
2941         `org-src-mode-hook'.
2943         * org-src.el (org-src-mode-hook): New variable.
2944         (org-edit-src-code): Run `org-src-mode-hook'.
2946 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2948         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2950         * org-src.el (org-edit-src-get-indentation): New function.
2951         (org-edit-src-code): Base indentation on the begin line.
2953 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2955         * org-gnus.el (org-gnus-store-link): Require message.el in
2956         org-gnus-store-link.
2958 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2960         * org-src.el: New file, split out of org.el
2962         * org-docbook.el (org-export-as-docbook): Better indentation
2963         treatment.
2965         * org-macs.el (org-replace-match-keep-properties): New function.
2967         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2968         preprocessing of center and quote and verse blocks.
2970         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2971         (org-export-as-docbook): Close lists when original indentation
2972         mandates it.
2974         * org-html.el (org-export-html-close-lists-maybe): New function.
2975         (org-export-as-html): Close lists when original indentation
2976         mandates it.
2978         * org-list.el (org-list-end): Respect the stored "original"
2979         indentation when determining the end of the list.
2981         * org-exp.el (org-export-replace-src-segments-and-examples):
2982         Remember indentation correctly.
2984 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2986         * org-clock.el (org-clock-update-mode-line): Apply face
2987         org-mode-line-clock.
2989         * org-faces.el (org-mode-line-clock): New face.
2991 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2993         * org-gnus.el (org-gnus-store-link): Fix bug where
2994         `org-gnus-store-link' used wrong subject when called in an article
2995         buffer.  Patch provided by fengli AT gmail DOT com.
2997 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2999         * org-exp.el (org-export-format-source-code-or-example): Remember
3000         the original indentation of source code snippets and examples.
3002         * org-latex.el (org-export-as-latex): Relocate the table of
3003         contents.
3005         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3007         * org-agenda.el (org-run-agenda-series): Scope global options also
3008         when creating the agenda buffer.
3010 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3012         * org.el (org-adapt-indentation): Improve documentation.
3013         (org-insert-property-drawer): Respect org-adapt-indentation when
3014         inserting the drawer.
3015         (org-remove-flyspell-overlays-in): New function.
3016         (org-do-emphasis-faces, org-activate-plain-links)
3017         (org-activate-code, org-fontify-meta-lines-and-blocks)
3018         (org-activate-angle-links, org-activate-footnote-links)
3019         (org-activate-bracket-links, org-activate-dates)
3020         (org-activate-target-links, org-activate-tags): Remove flyspell
3021         overlays.
3023 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3025         * org.el (org-edit-src-save): New function.
3027         * org-clock.el (org-clock-out-switch-to-state): New option.
3028         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3030         * org-compat.el (org-compatible-face): Improve macro.
3032         * org.el (org-global-properties-fixed): Add default for
3033         CLOCK_MODELINE_TOTAL.
3035         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3036         andd tend.
3037         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3038         org-clock-sum.
3039         (org-clock-get-sum-start): New function.
3041         * org.el (org-startup-options): New keywords blockhide and
3042         blockshow.
3043         (org-mode): Add new invisibility spec.
3044         (org-set-startup-visibility): Hide block on startup if so
3045         desired.
3046         (org-hide-block-startup): New option.
3047         (org-block-regexp): New constant.
3048         (org-hide-block-overlays): New variable.
3049         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3050         (org-show-block-all, org-hide-block-toggle-maybe)
3051         (org-hide-block-toggle): New functions.
3052         (org-edit-src-exit): Do not quote lines starting with # and no +
3053         behind it.
3054         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3055         entry.
3057 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3059         * org.el (org-buffer-property-keys): Add Effort property for
3060         completion.
3062 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3064         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3065         when retrieving total clocked time in the subtree.
3067         * org.el (org-quoting-blocks): New variable.
3069 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3071         * org-table.el (org-table-store-formulas)
3072         (org-table-get-stored-formulas, org-table-fix-formulas)
3073         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3074         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3076         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3077         indented #+TBLFM line.
3079         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3080         indented #+TBLFM line.
3082         * org-colview.el (org-dblock-write:columnview): Allow indented
3083         #+TBLFM line.
3085         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3086         indented #+TBLFM line.
3088         * org-clock.el (org-dblock-write:clocktable): Allow indented
3089         #+TBLFM line.
3091 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3093         * org-exp.el (org-export-format-source-code-or-example): Make
3094         editing indented blocks work correctly.
3096         * org.el (org-edit-src-nindent): New variable.
3097         (org-edit-src-code, org-edit-fixed-width-region)
3098         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3099         editing indented blocks work correctly.
3101 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3103         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3104         indented blocks.
3105         (org-export-format-source-code-or-example): Fix indentation of
3106         blocks.
3107         (org-export-remove-indentation): New function.
3108         (org-export-select-backend-specific-text): Allow backend-specific
3109         code to be indented.
3110         (org-export-mark-blockquote-verse-center): Allow markers to be
3111         indented.
3113         * org.el (org-fontify-meta-lines): New function.
3114         (org-set-font-lock-defaults): Call the new fontification
3115         function.
3117         * org-faces.el (org-meta-line): New face
3118         (org-block):  New face.
3120 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3122         * org.el (org-treat-insert-todo-heading-as-state-change)
3123         (org-treat-S-cursor-todo-selection-as-state-change): New
3124         variables.
3125         (org-insert-todo-heading): Honor
3126         `org-treat-insert-todo-heading-as-state-change'.
3127         (org-shiftright, org-shiftleft): Honor
3128         `org-treat-S-cursor-todo-selection-as-state-change'.
3129         (org-inhibit-logging): New variable.
3131 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3133         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3134         range for marker position checking.
3136         * org-latex.el (org-export-latex-first-lines): Fix bug when
3137         exporting a region.
3139 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3141         * org-exp.el (org-export-push-to-kill-ring): Protect using
3142         x-set-selection, because that does not always work.
3144         * org-agenda.el (org-agenda-list): Apply the new face
3145         `org-agenda-date-today'.
3147         * org-faces.el (org-agenda-date-today): New face.
3149 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3151         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3152         creating appointments.
3154         * org-latex.el (org-export-latex-low-levels): Fix customization
3155         type.
3157         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3158         priority commands.
3160         * org-agenda.el (org-agenda-priority): Disable priority commands.
3162         * org.el (org-enable-priority-commands): New option.
3164         * org-colview-xemacs.el (org-columns-compute)
3165         (org-columns-number-to-string): Fix problems with empty fields.
3167         * org-colview.el (org-columns-compute)
3168         (org-columns-number-to-string): Fix problems with empty fields.
3170         * org-exp.el (org-export-push-to-kill-ring): New function.
3171         (org-export-copy-to-kill-ring): New option.
3173         * org-latex.el (org-export-as-latex): Call
3174         `org-export-push-to-kill-ring'.
3176         * org-html.el (org-export-as-html): Call
3177         `org-export-push-to-kill-ring'.
3179         * org-docbook.el (org-export-as-docbook): Call
3180         `org-export-push-to-kill-ring'.
3182         * org-ascii.el (org-export-as-ascii): Call
3183         `org-export-push-to-kill-ring'.
3185         * org-exp.el (org-export-show-temporary-export-buffer): New
3186         option.
3188         * org-latex.el (org-export-as-latex): Use
3189         `org-export-show-temporary-export-buffer'.
3191         * org-html.el (org-export-as-html): Use
3192         `org-export-show-temporary-export-buffer'.
3194         * org-docbook.el (org-export-as-docbook): Use
3195         `org-export-show-temporary-export-buffer'.
3197         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3198         `org-export-show-temporary-export-buffer'.
3200         * org-exp.el (org-export-show-temporary-export-buffer): New
3201         option.
3202         (org-export-push-to-kill-ring): New function.
3204         * org-colview.el (org-columns-compile-map): New variable.
3205         (org-columns-new, org-columns-compute)
3206         (org-columns-number-to-string, org-columns-uncompile-format)
3207         (org-columns-compile-format): Implement new operators.
3209 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3211         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3213         * org-html.el (org-export-html-xml-declaration): New option.
3214         (org-export-as-html): Use `org-export-html-xml-declaration'.
3216         * org-list.el (org-update-checkbox-count): Make property
3217         dependent.
3219         * org.el (org-hierarchical-todo-statistics): New option.
3220         (org-update-parent-todo-statistics): Modified to handle recursive
3221         statistics.
3223 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3225         * org-publish.el (org-publish): Make this function behave
3226         correctly in interactive use when called with a prefix argument.
3228         * org.el (org-todo-statistics-hook): New hook.
3229         (org-update-parent-todo-statistics): Use new hook.
3230         (org-log-into-drawer): New function.
3231         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3232         determine if we should be logging into a drawer.
3233         (org-log-into-drawer): Update docstring.
3234         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3236         * org-list.el (org-checkbox-statistics-hook): New hook.
3237         (org-update-checkbox-count-maybe): Use new hook.
3239         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3240         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3241         to kill ring.
3243 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3245         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3246         a line.
3248 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3250         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3251         better bufer-generating mechanism.
3252         (org-edit-src-find-buffer): New function.
3254         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3255         archive tag, this is already done by `org-agenda-skip'.
3256         data while constructing lost of tags.
3258 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3260         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3261         as argument separator in macros.
3263         * org-html.el (org-export-as-html): Add xml declaration.
3265 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3267         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3268         (org-sort-entries-or-items): Run the new hook.
3269         (org-after-refile-insert-hook): New hook.
3270         (org-refile): Run `org-after-refile-insert-hook'.
3272         * org-agenda.el (org-agenda-get-progress): Never take time of day
3273         from headline when displaying progress.
3275         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3276         (org-export-as-latex): Force the correct regexp in the
3277         preprocessor buffer.
3278         (org-export-latex-set-initial-vars): Set
3279         `org-export-latex-complex-heading-re'.
3281         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3282         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3284 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3286         * org-latex.el (org-export-latex-tables-centered): New option.
3287         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3289         * org-exp.el (org-export-as-org): New command.
3290         (org-export-as-org): New command.
3292         * org-publish.el (org-publish-org-to-org): New function.
3294 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3296         * org.el (org-yank): Just call `org-yank-generic'.
3297         (org-yank-generic): New function, containing the formaer
3298         functionality of `org-yank'.
3300         * org-latex.el (org-export-latex-not-done-keywords)
3301         (org-export-latex-done-keywords): New variables.
3302         (org-export-latex-todo-keyword-markup): New option.
3303         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3304         (org-export-latex-keywords-maybe): Apply the TODO markup.
3306 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3308         * org-exp.el (org-infile-export-plist): Add more default macros.
3309         (org-export-preprocess-apply-macros): Process macro arguments.
3311 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3313         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3314         `unblocked'.
3315         (org-print-icalendar-entries): Respect the new value of
3316         `org-icalendar-include-todo'.
3318         * org.el (org-link-try-special-completion)
3319         (org-file-complete-link): New functions.
3320         (org-insert-link): Add special completion support for some link
3321         types.
3323         * org-bbdb.el (org-bbdb-complete-link): New function.
3325 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3327         * org-list.el (org-update-checkbox-count): Allow recursive
3328         statistics.
3329         (org-hierarchical-checkbox-statistics): New option.
3331         * org.el (org-cycle): Remove erraneous space character.
3333         * org-icalendar.el (org-icalendar-timezone): Initialize from
3334         environment.
3336         * org-html.el (org-format-org-table-html): Specify the scope.
3337         (org-format-table-table-html): Specify the scope.
3338         (org-export-table-header-tags): Prepare the scope parameter.
3340 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3342         * org-html.el
3343         (org-export-html-table-use-header-tags-for-first-column): New
3344         option.
3346         * org.el (org-autoload): Fix autoloading of ascii export
3347         functions.
3348         (org-modules): Add org-special-blocks.
3350 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3352         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3353         (org-ical-timezone): New option.
3355         * org-exp.el (org-export-get-coderef-format): Use the description
3356         is present.
3358         * org.el (org-sort-entries-or-items): Improve docstring, and make
3359         better implementation for time sorting.
3361 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3363         * org.el (org-edit-src-persistent-message): New option.
3364         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3365         option.
3367         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3368         patch.
3370         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3371         separate buffer instead of indirect buffer to edit source code.
3372         (org-edit-src-exit): Make this function work with the new setup.
3374         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3375         are properly fontified before shown in the selection menu.
3377         * org.el (org-fontify-like-in-org-mode): New function.
3379         * org-latex.el (org-export-latex-links): Use the property list to
3380         retrieve the default image attributes.
3382         * org-exp.el (org-export-plist-vars): Add a new option.
3384 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3386         * org-exp.el (org-export, org-export-visible): Support ASCII
3387         export to buffer
3388         (org-export-normalize-links): Do not protect the description if it
3389         is explicitly given.
3391         * org-ascii.el (org-export-as-ascii-to-buffer)
3392         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3393         commands.
3394         (org-export-as-ascii): Add all the same parameters that are also
3395         supported by the other export functions.
3397         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3398         org-checklist.el.
3399         (org-reset-checkbox-state-subtree): Call
3400         `org-reset-checkbox-state-subtree'.
3402         * org-remember.el (org-select-remember-template): For the
3403         selection of a valid template.
3405         * org-latex.el (org-export-region-as-latex): Supply the
3406         force-no-subtree argument.
3407         (org-export-as-latex): Provide better limits when exporting the
3408         first line.  When exporting to string, we still want the first
3409         lines.
3410         (org-export-latex-first-lines): New argument END, to force the end
3411         of the region.
3412         (org-export-region-as-latex): Use the property list.
3413         (org-export-as-latex):
3415         * org-colview-xemacs.el (org-columns-remove-overlays)
3416         (org-columns): Fix call to `local-variable-p'.
3418 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3420         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3421         (org-export-as-html): Run the new hook.
3423         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3424         (org-export-latex-preprocess): Run the new hook.
3426         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3427         (org-export-preprocess-string): Run the new hook.
3429 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3431         * org-macs.el (org-check-external-command): New defsubst.
3433         * org.el (org-mode-map): New key for reload.
3434         (org-format-latex): Better error message when external programs
3435         are not available.
3437         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3439         * org.el (org-sort-entries-or-items): Explicit sorting function
3440         for priorities, needed for XEmacs compatibility.
3442         * org-remember.el (org-remember-apply-template): Improve auto-save
3443         behavior.
3445 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3447         * org-latex.el (org-export-latex-preprocess): Also protect
3448         environments ending in a star.
3450         * org-list.el (org-at-item-p): Fix regular expression.
3452 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3454         * org.el (org-end-of-subtree): Improve speed.
3456         * org-agenda.el (org-agenda-get-timestamps)
3457         (org-agenda-get-progress, org-agenda-get-deadlines)
3458         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3459         in particular, wait as long as possible to collect the tags.
3460         (org-stuck-projects): Improve docstring.
3462         * org.el (org-store-link): No errors when getting custom id before
3463         first headline.
3464         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3466 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3468         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3470         * org-protocol.el: Remove dependency on url.el.
3471         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3472         dependency on url.el.
3474         * org-latex.el (org-export-as-pdf): Use
3475         `org-latex-to-pdf-process'.
3477 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3479         * org-latex.el (org-latex-to-pdf-process): New option.
3481         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3482         New option.
3483         (org-agenda-get-timestamps): Honor
3484         `org-agenda-skip-additional-timestamps-same-entry'.
3486         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3487         (org-clock-goto): Find recent task only if
3488         `org-clock-goto-may-find-recent-task' allows it.
3490         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3491         drawers, and drawers that are missing the :END: line.
3493 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3495         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3496         clock is running.
3498 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3500         * org.el (org-update-parent-todo-statistics): Check for
3501         STATISTICS_FROM property.
3503         * org-list.el (org-update-checkbox-count): Check for
3504         STATISTICS_FROM property.
3506         * org.el (org-tab-first-hook)
3507         (org-tab-after-check-for-table-hook)
3508         (org-tab-after-check-for-cycling-hook): New hooks.
3509         (org-cycle-internal-global, org-cycle-internal-local): New
3510         functions, split out from `org-cycle'.
3511         (org-cycle): Call the new hooks.
3513 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3515         * org-exp.el (org-export-preprocess-string): Reset the list of
3516         preferred targets for each run of the preprocessor.
3518         * org.el (org-refile-target-verify-function): Improve
3519         documentation.
3520         (org-get-refile-targets): Respect point being moved by the
3521         verification function.
3523         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3524         option.
3525         (org-export-latex-keywords): Use new option.
3527         * org.el (org-rear-nonsticky-at): New defsubst.
3528         (org-activate-plain-links, org-activate-angle-links)
3529         (org-activate-footnote-links, org-activate-bracket-links)
3530         (org-activate-dates, org-activate-target-links)
3531         (org-activate-tags): Place the rear-nonsticky properties at the
3532         correct location.
3534 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3536         * org-protocol.el (server-edit): Declare `server-edit'.
3537         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3538         functions.
3539         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3541         * org.el (org-default-properties): New default properteis for
3542         completion.
3544         * org-exp.el (org-export-add-subtree-options): Add new properties
3545         for subtree export.
3547         * org-docbook.el (org-export-docbook-keywords-markup)
3548         (org-export-docbook-timestamp-markup): New options.
3549         (org-export-docbook-protect-tags): New function.
3551 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3553         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3554         org-refile-target-verify-function for the duration of the command.
3556         * org.el (org-link-to-org-use-id): New possible value
3557         `create-if-interactive-and-no-custom-id'.
3558         (org-store-link): Use custom IDs.
3559         (org-link-search): Find custom ID properties from #link.
3560         (org-default-properties): Add CUSTOM_ID for property completion.
3561         (org-refile-target-verify-function): New option.
3562         (org-goto): Turn off org-refile-target-verify-function
3563         for the duration of the command.
3565 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3567         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3569         * org-exp.el (org-export-preferred-target-alist): New variable.
3570         (org-export-define-heading-targets): Find the new CUSTOM_ID
3571         property.
3572         (org-export-target-internal-links): Target the custom ids when
3573         possible.
3575         * org-latex.el (org-export-latex-preprocess): Better regexp for
3576         matching latex macros with arguments.
3578 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3580         * org-remember.el (org-remember-handler): Allow filing to non-org
3581         files.
3583 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3585         * org-feed.el (org-feed-alist): New keyword options.
3586         (org-feed-update): Use the new options.
3587         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3588         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3589         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3590         functions.
3592         * org-table.el (org-table-fix-formulas): Do not change references
3593         to remote tables.
3594         (org-table-get-remote-range): Convert standard coordinates to RC
3595         format.
3597         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3599 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3601         * org-compat.el (org-sha1-string): Function removed.
3603         * org.el (org-refile-allow-creating-parent-nodes): New option.
3604         (org-refile-get-location): New argument NEW-NODES.
3605         (org-refile): Call `org-refile-get-location' with the new
3606         argument.
3607         (org-refile-get-location): Arrange for adding a new child.
3608         (org-refile-new-child): New function.
3610         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3611         an additional span element.
3613         * org-clock.el: Fix a number of docstrings.
3614         (org-clock-find-position): New argument
3615         FIND-UNCLOSED to make the function find an unclosed clock in the
3616         entry.
3617         (org-clock-in): Call `org-clock-find-position' with the new
3618         argument if we might be resuming a clock.
3620 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3622         * org-latex.el (org-export-latex-display-custom-times): New variable.
3623         (org-export-latex-timestamp-markup): New option.
3624         (org-export-latex-set-initial-vars): Remember the local value of
3625         `org-display-custom-times'.
3626         (org-export-latex-content): Process time stamps.
3627         (org-export-latex-time-stamps): New function.
3629         * org-macs.el (org-maybe-intangible): Add intangible property
3630         again to invisible text.
3632 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3634         * org-exp.el (org-default-export-plist): Handle undefined
3635         variables.
3637 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3639         * org.el (org-sort-entries-or-items): Match TODO keywrds
3640         case-sensitively, when sorting.
3641         (org-priority): Do not match TODO keywords with wrong case.
3643 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3645         * org-feed.el (org-feed-update): Bind the variable
3646         `new-formatted'.
3648         * org-html.el (org-export-as-html): Start paragraphs after literal
3649         examples.
3651         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3652         literal examples.
3654 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3656         * org.el (org-todo): Honor the NOBLOCKING property.
3658         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3659         NOBLOCKING property.
3661         * org.el (org-scan-tags): Fix bug in tag scanner
3663 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3665         * org.el (org-modules): Mark obsolete packages.
3667         * org-html.el: New file, split out from org-exp.el.
3669         * org-icalendar.el: New file, split out from org-exp.el.
3671         * org-xoxo.el: New file, split out from org-exp.el.
3673         * org-ascii.el: New file, split out from org-exp.el.
3675 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3677         * org-compat.el (org-find-library-name): New function.
3679         * org.el (org-pre-cycle-hook): New hook.
3680         (org-cycle): Call the new hook in appropriate places.
3681         (org-reload): Only reload files that have been loaded before.
3683 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3685         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3686         after todo keyword.
3687         (org-todo): When changing TODO state, do matching
3688         case-sensitively.
3689         (org-map-continue-from): New variable.
3690         (org-scan-tags): Respect values in `org-map-continue-from'.
3691         (org-reload): Make XEmacs compatible.
3693 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3695         * org-protocol.el (org-protocol-flatten-greedy): New function.
3696         (org-protocol-flatten): New function.
3698         * org.el (org-open-link-from-string): Pass reference buffer to
3699         `org-open-at-point'.
3700         (org-open-at-point): New optional argument `reference-buffer'.
3702 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3704         * org.el (org-scan-tags): Make tag scan find headline in first
3705         line, 2nd attempt.
3706         (org-get-refile-targets): Add the naked file name.
3707         (org-refile): Store as top-level entry when only file name was
3708         given.
3710         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3712         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3713         Renamed from org-block-todo-from-children-or-siblings, and
3714         enhanced to look for the parent's status as well.
3716         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3717         (org-agenda-get-progress): Add first notes line to log entry if so
3718         desired.
3720 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3722         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3723         (org-agenda-cleanup-fancy-diary): Call the new hook.
3725         * org-remember.el (org-remember-apply-template): Take the default
3726         for the annotation from the :annotation property.
3728         * org-mac-message.el (org-mac-message-get-link): Remove the
3729         quotes.
3730         (org-mac-message-get-link): Return the result.
3732 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3734         * org.el (org-refile-get-location): Add file name only if not
3735         already included in outline path.
3737         * org-faces.el (org-n-level-faces): Fix customization type from
3738         number to integer.
3740         * org-exp.el (org-export-headline-levels): Fix customization type
3741         from number to integer.
3743         * org-agenda.el (org-agenda-confirm-kill)
3744         (org-agenda-custom-commands-local-options)
3745         (org-timeline-show-empty-dates, org-agenda-ndays)
3746         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3747         customization type from number to integer.
3749 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3751         * org-protocol.el: Declare some functions.
3753         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3754         postion before inserting modified headline.
3756         * org-agenda.el (org-agenda-compare-effort): Honor
3757         `org-sort-agenda-noeffort-is-high'.
3758         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3759         (org-agenda-compare-effort): Implement the "?" operator for
3760         finding entries without effort setting.
3762         * org.el (org-extract-attributes-from-string): New function.
3764         * org-exp.el (org-export-splice-attributes): New function.
3766 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3768         * org-mouse.el: XEmacs compatibility fixes
3770         * org-docbook.el (org-export-as-docbook): Process footnotes like
3771         normal text.
3773         * org.el (org-modules): Add org-inlinetasks.el
3774         (org-cycle): Implement limiting level on cycling.
3775         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3776         buffer.
3778         * org-inlinetask.el: New file.
3780         * org.el (org-emphasis-regexp-components): Allow braces in
3781         emphasis pre and post match.
3783         * org-footnote.el (org-footnote-normalize): When only dorting, do
3784         not insert inline notes at the end.
3786         * org-docbook.el (org-id-find-id-file): Add function declaration.
3788         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3790         * org-docbook.el: New file.
3792 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3794         * org.el (org-reftex-citation): New command.
3796 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3798         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3799         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3800         sorting options.
3801         (org-entries-lessp): Apply the new sorting option.
3803         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3804         blocker code, when an older sibling has children.
3806         * org-mac-message.el (org-mac-message-get-link): Improve getting
3807         links from multiple selected messages.
3809 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3811         * org-remember.el (org-remember-finalize): Do not set buffer file
3812         name to nil.
3813         (org-remember-handler): Mark buffer as unmodified.
3814         (org-remember-handler): Delete backup file and show message about
3815         remaining backup files.
3816         (org-remember-auto-remove-backup-files): New option.
3818         * org.el (org-store-link): Use buffer name as link description in
3819         w3-mode buffers.
3820         (org-ido-switchb): Fix argument bug for completion.
3822         * org-remember.el (org-remember-apply-template): Set local
3823         variable `auto-save-visited-file-name' instead of global one.
3825 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3827         * org-feed.el: Re-write.
3829         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3830         (org-agenda-get-todos): Mark file tags as inherited.
3831         (org-agenda-list): Always search diary lines for a time.
3833 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3835         * org-feed.el (org-feed-assume-stable): New option.
3836         (org-feed-before-adding-hook): New hook.
3838         * org-exp.el (org-export-as-html): Close local lists depending on
3839         indentation, also when starting a table.
3841         * org-remember.el (org-remember-backup-directory)
3842         (org-remember-backup-name): New internal variable.
3844 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3846         * org-clock.el (org-clock-out-if-current): Make buffer detection
3847         work in indirect buffers as well.
3849         * org.el (org-emphasis-regexp-components): Add the exxclamation
3850         mark to the post-emphasis characters.
3852 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3854         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3855         (org-read-date): Run the new hook.
3857         * org-mac-message.el (org-mac-flagged-mail): New group.
3858         (org-mac-mail-account): New variable.
3859         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3860         commands.
3862         * org-remember.el (org-remember-backup-directory): New variable.
3863         (org-remember-apply-template): Write file to backup directory.
3865 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3867         * org-mouse.el (org-mouse-todo-menu): New function.
3868         (org-mouse-todo-keywords): Function removed.
3869         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3871         * org-table.el (org-table-beginning-of-field)
3872         (org-table-end-of-field): New commands
3873         (org-table-previous-field, org-table-beginning-of-field): Better
3874         error messages.
3875         (orgtbl-setup): Include `M-a' and `M-e'.
3877         * org.el (org-backward-sentence, org-forward-sentence): New
3878         commands.
3880         * org-colview.el (org-colview-initial-truncate-line-value): New
3881         variable.
3882         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3883         (org-columns): Remember the value of `truncate-lines'.
3885         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3886         New variable.
3887         (org-columns-remove-overlays): Restore the value of
3888         `truncate-lines'.
3889         (org-columns): Remember the value of `truncate-lines'.
3891         * org.el (org-columns-skip-arrchived-trees): New option.
3893         * org-agenda.el (org-agenda-export-html-style): Define color for
3894         org-agenda-done face.
3895         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3896         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3898         * org.el (org-scan-tags): Use the new face.
3900         * org-faces.el (org-agenda-done): New face.
3902         * org.el (org-scan-tags): Test the value org
3903         `org-tags-match-list-sublevels'.
3904         (org-tags-match-list-sublevels): New allowed value: indented.
3906         * org-export-latex.el (org-export-latex-make-header): Apply macros
3907         in header.
3909         * org-exp.el (org-export-apply-macros-in-string): New function.
3911         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3912         with the definition of a checked box.
3914         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3916         * org-export-latex.el (org-export-latex-low-levels): More options
3917         for how to process lower levels in LaTeX.
3918         (org-export-latex-subcontent): Better treatment for lists as a
3919         means of publishing lower levels.
3921 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3923         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3925         * org-faces.el (org-checkbox): New face.
3927         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3928         fragement images if there is an export file.
3930 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3932         * org-agenda.el (org-stuck-projects): Document that the subtree of
3933         projects that are not stuck will now be searched for stuck
3934         sub-projects.
3935         (org-agenda-skip-entry-when-regexp-matches)
3936         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3937         (org-agenda-list-stuck-projects): Use
3938         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3940         * org-export-latex.el (org-export-latex-preprocess): Improve
3941         export of verses.
3943         * org-exp.el (org-export-as-html): Implement centering as a div
3944         rather than a paragraph.  Do a better job with line-end in verse
3945         environments.
3947 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3949         * org.el (org-open-at-point): Fix tags searches by mouse click.
3951 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3953         * org-export-latex.el (org-export-latex-preprocess): Implement the
3954         centering markup.
3956         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3957         from `org-export-mark-blockquote-and-verse'.
3958         (org-export-as-html): Implement the centering markup.
3960         * org-export-latex.el (org-export-latex-tables): Fix vertical
3961         lines in tables.
3963 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3965         * org.el (org-read-date-history): New variable.
3966         (org-read-date): Use new history variable.
3967         (org-toggle-heading): Fix bug when used before first headline.
3968         (org-store-log-note): Remove drawer if empty while note is
3969         aborted.
3970         (org-remove-empty-drawer-at): New function.
3971         (org-check-after-date): New command.
3972         (org-sparse-tree): New sparse tree command "a".
3974         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3976 2009-03-14  Bastien Guerry  <bzg@altern.org>
3978         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3979         column and a space, not only a column.
3981 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3983         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3984         defaults for verbose emphasis.
3985         (org-export-latex-emph-format): New function.
3986         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3988         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3989         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3990         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3991         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3992         commands.
3994         * org.el (org-timestamp-change): Move end-time along with start
3995         time.
3997 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3999         * org-exp.el (org-export-target-internal-links)
4000         (org-export-as-html): Protect links specified as #name.
4002 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4004         * org.el (org-clone-subtree-with-time-shift): New command.
4006         * org-export-latex.el (org-export-latex-special-chars)
4007         (org-export-latex-treat-sub-super-char): Fix subscript export.
4009         * org-exp.el (org-create-multibrace-regexp): Do not add
4010         backslashes to the class.
4012 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4014         * org-colview.el (org-columns-map): Better functions for moving up
4015         and down a row, even if `truncate-line' is nil.
4017         * org.el (org-insert-todo-heading): Make sure the keyword is
4018         inserted at the correct position.
4020         * org-publish.el (org-publish-project-alist)
4021         (org-publish-projects, org-publish-org-index): Change default anme
4022         for the index of file names to "sitemap.org".
4024         * org-export-latex.el (org-export-latex-tables): Use
4025         `org-split-string', for Emacs 21 compatibility.
4027 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4029         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4031 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4033         * org-exp.el (org-export-page-description)
4034         (org-export-page-keywords): New variables.
4035         (org-export-plist-vars): Add entries for :keywords and
4036         :description.
4037         (org-infile-export-plist): Parse for new keywords.
4038         (org-get-current-options): Add new keywords
4039         (org-export-as-html): Publish description and keywords.
4041         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4042         option.
4043         (org-agenda-add-entry-text): Honor
4044         `org-agenda-add-entry-text-descriptive-links'.
4046         * org-export-latex.el (org-export-latex-preprocess): Make all
4047         external preprocess functions use a PARAMETER arg.
4049         * org-exp.el (org-export-preprocess-string)
4050         (org-export-select-backend-specific-text)
4051         (org-export-format-source-code-or-example)
4052         (org-format-org-table-html): Support docbook export.
4053         (org-export-preprocess-string): Make all external preprocess
4054         functions use a PARAMETER arg.
4056 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4058         * org-exp.el (org-export-html-style-include-scripts): New option.
4059         (org-export-plist-vars): Add new option
4060         `org-export-html-style-include-scripts'.
4061         (org-export-as-html): Honor new option
4062         `org-export-html-style-include-scripts'.
4063         (org-export-html-scripts, org-export-html-style-default): Fix
4064         xml issues with the Safari browser.
4066 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4068         * org-publish.el (org-publish-attachment): Only copy file when the
4069         directories differ.
4071 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4073         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4074         for clocktable steps.
4076         * org.el (org-additional-option-like-keywords): Add two more
4077         keywords.
4079 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4081         * org-exp.el (org-export-format-source-code-or-example): Mark
4082         temporary buffer unmodified, so that it will be killed even if
4083         mode like message mode has decided to assign a file name.
4085         * org.el (org-scan-tags): Improve tag inheritance.
4086         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4087         case-sensitive.
4088         (org-scan-tags): Use the internal tags list instead of creating it
4089         from scratch.
4090         (org-trust-scanner-tags, org-scanner-tags): New variables.
4091         (org-scan-tags): Set `org-scanner-tags'.
4092         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4093         (org-map-entries): Document the possible speedup using scanner
4094         tags.
4096 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4098         * org.el (org-add-planning-info): Fix bug with looking for keyword
4099         only at column 0.
4101         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4102         option for tags filter preset.
4103         (org-prepare-agenda): Store filter preset as a property on the
4104         filter variable.
4105         (org-finalize-agenda): Call the filter, if there is a preset.
4106         (org-agenda-filter-by-tag): Filter again after clearing the
4107         filter, when there still is a preset.
4108         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4109         Include the preset filter.
4110         (org-agenda-redo): Apply the filter again, also the preset filter.
4112         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4114         * org.el (org-uuidgen-p): New funtion.
4116         * org-agenda.el (org-agenda-fontify-priorities): New default value
4117         `cookies'.
4118         (org-agenda-fontify-priorities): Renamed from
4119         org-fontify-priorities.
4121         * org.el (org-set-font-lock-defaults): Call
4122         `org-font-lock-add-priority-faces'.
4123         (org-font-lock-add-priority-faces): New function.
4125         * org-faces.el: (org-set-tag-faces): New option.
4126         (org-priority-faces): New variable.
4128         * org-exp.el (org-export-as-html): Add a "content" div around the
4129         entire content of the body tag.
4130         (org-export-html-get-bibliography): New function.
4131         (org-export-html-validation-link): New variable.
4132         (org-export-as-html): Add validation link to exported page.
4134         * org.el (org-match-sparse-tree): Renamed from
4135         `org-tags-sparse-tree'.
4136         (org-tags-sparse-tree): New alias.
4138 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4140         * org.el (org-get-valid-level): Catch the case where the level
4141         change is nil.
4143         * org-clock.el (org-clock-find-position): Better indentation of
4144         new clock drawers.
4146 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4148         * org-agenda.el (org-agenda-quit): Delete window only when the
4149         frame-setup was not `current-window'.
4151         * org.el (org-tag-persistent-alist): New option.
4152         (org-startup-options): Add keyword `noptag'.
4153         (org-fast-todo-selection): Handle :newline correctly.
4154         (org-set-tags): Handle :newline correctly.
4155         (org-fast-tag-selection): Handle :newline correctly.
4157 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4159         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4160         outputting it.
4161         (org-export-ascii-push-links): Fix bug with pussing links into the
4162         export buffer.
4164 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4166         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4167         pasting at top level.
4169         * org-bbdb.el: Improve documentation.
4171 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4173         * org-list.el (org-insert-item): Only consider insert empty lines
4174         is `org-empty-line-terminates-plain-lists' is not nil.
4176         * org.el (org-blank-before-new-entry): Mention the dependence on
4177         `org-empty-line-terminates-plain-lists' in the docstring.
4179         * org-publish.el (org-publish-get-project-from-filename): New
4180         optional argument UP.  Only find the top project if UP is set.
4181         (org-publish-current-project): Find the top encloding project.
4183         * org-agenda.el (org-agenda-before-write-hook)
4184         (org-agenda-add-entry-text-maxlines): New options.
4185         (org-write-agenda): Run the new hook in the temporary buffer.
4186         (org-agenda-add-entry-text): New function.
4187         (org-write-agenda): Implement PDF export, using ps2pdf.
4189         * org.el (org-global-properties-fixed, org-global-properties):
4190         Improve documentation string.
4192         * org-exp.el (org-export-ascii-links-to-notes): New option.
4193         (org-export-as-ascii): Handle links better.
4194         (org-export-ascii-wrap, org-export-ascii-push-links): New
4195         functions.
4197 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4199         * org-agenda.el (org-agenda): Make prefix arg optional.
4200         (org-agenda-search-headline-for-time): New option.
4201         (org-format-agenda-item): Honor
4202         `org-agenda-search-headline-for-time'.
4204         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4205         characters.
4207         * org.el (org-self-insert-cluster-for-undo): New option.
4208         (org-self-insert-command): Cluster undo for 20 characters.
4209         (org-self-insert-command-undo-counter): New variable.
4211 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4213         * org-exp.el (org-export-as-html): Fix problem with closing colone
4214         example.
4216 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4218         * org-export-latex.el (org-export-as-latex)
4219         (org-export-latex-first-lines): Avoid modification flag when
4220         adding or removing text properties.
4221         (org-export-latex-fontify): Catch error when org-emph-alist has
4222         entries that are not defined for LaTeX export.
4224         * org.el (orgstruct++-mode): New function.
4225         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4226         (org-context-p): Allow detecting item context after the first line
4227         of an item.
4228         (orgstruct-make-binding): Detect if item-body context should be
4229         seen.
4230         (orgstruct-is-++): New variable.
4231         (org-add-planning-info): Catch the case when there is no planning
4232         info yet and the call does not want to add anything, only maybe
4233         tries to remove something.
4234         (org-special-ctrl-a/e): All value to be a cons cell with separate
4235         settings for `C-a. and `C-e'.
4236         (org-beginning-of-line, org-end-of-line): Honor separate values
4237         for `C-a' and `C-e'.
4239 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4241         * org.el (org-reload): New command.
4243 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4245         * org-exp.el (org-export-htm-get-tag-class-name)
4246         (org-export-htm-get-todo-kwd-class-name): New functions.
4247         (org-export-html-tag-class-prefix)
4248         (org-export-html-todo-kwd-class-prefix): New options.
4249         (org-export-as-html): Call
4250         `org-export-html-get-todo-kwd-class-name'.
4251         (org-html-level-start): Wrap tags into classes.
4252         (org-export-html-get-tag-class-name)
4253         (org-export-html-get-todo-kwd-class-name): New functions.
4255         * org-export-latex.el (org-export-latex-collect-header-macros):
4256         Remove fields that are used anyway.
4257         (org-export-latex-make-header): Insert the options earlier.
4259         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4260         matching.
4262         * org-list.el (org-indent-item): Allow point to be at the end of
4263         the region.
4265         * org.el (org-metaleft, org-metaright): Be more accurate about
4266         detecting a region where commands apply.
4268         * org-compat.el (org-cursor-to-region-beginning): New function.
4270         * org.el (org-priority): Also find invisible heading.
4272         * org-colview-xemacs.el (org-columns-edit-value): No special
4273         treatment for `org-todo' prefix.
4275         * org-colview.el (org-columns-edit-value): No special treatment
4276         for `org-todo' prefix.
4278         * org-remember.el (org-remember-apply-template): Use
4279         `org-completing-read-no-ido'.
4281         * org.el (org-completing-read-no-ido): New function.
4282         (org-make-tags-matcher, org-set-property): Use
4283         `org-completing-read-no-ido'.
4285         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4286         New option.
4287         (org-export-as-latex): Import in-buffer settings as TeX macros.
4288         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4289         (org-export-latex-collect-header-macros): New function.
4291         * org.el (org-refile-get-location): Turn off
4292         `partial-completion-mode'.
4294 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4296         * org.el (org-block-todo-from-checkboxes): Announce that
4297         checkboxes are the culprit.
4298         (org-block-todo-from-children-or-siblings): Call
4299         `org-up-heading-all instead' of `outline-up-heading'.
4301         * org-agenda.el (org-agenda-show-1): Renamed from
4302         `org-agenda-show'.
4303         (org-agenda-show): Re-install the old version for now.
4304         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4305         variable into the blokker hook, so that the checkbox checker can
4306         anounce that it caused the blocking.
4308         * org.el (org-track-ordered-property-with-tag): New option.
4309         (org-toggle-ordered-property): Honor
4310         `org-track-ordered-property-with-tag'.
4311         (org-tag-alist): Add newline options.
4312         (org-set-regexps-and-options): Separate option lines imply a
4313         newline.
4314         (org-set-regexps-and-options, org-assign-fast-keys)
4315         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4316         option.
4317         (org-indent-line-function): Make sure this works even if there is
4318         not `org-drawer-regexp' defined.  This can happen when
4319         orgstruct-mode is used in a non-org buffer.
4321         * org-list.el (org-checkbox-blocked-p): New function.
4322         (org-toggle-checkbox): Check for blocking.
4324         * org.el (org-modules): Add an entry for org-R.el.
4326         * org-agenda.el (org-agenda-todo-ignore-with-date)
4327         (org-agenda-todo-ignore-scheduled)
4328         (org-agenda-todo-ignore-deadlines): Mention the variable
4329         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4331         * org.el (org-get-wdays): Find the warning period also if it is in
4332         the wrong place.
4333         (org-ido-completing-read): Provide the correct arguments to
4334         ido-completing-read and bind `ido-enter-matching-directory' to
4335         nil.
4337 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4339         * org.el (org-olpath-completing-read): Never use ido for this
4340         one.
4342         * org-exp.el (org-export-normalize-links): Use new macro.
4344         * org-macs.el (org-if-unprotected-at): New macro.
4346         * org-agenda.el (org-agenda-show): Allow numerical prefix
4347         arguments to specify how much context should be shown.
4348         (org-agenda-cycle-show): New command, could be bound to SPC in
4349         org-agenda-mode-map.
4351         * org-exp.el (org-html-level-start): Space after section number.
4353 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4355         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4356         property, for sorting.
4357         (org-cmp-todo-state): Get the applicable TODO keywords directly
4358         from the buffer.
4359         (org-run-agenda-series, org-agenda-list, org-search-view)
4360         (org-todo-list, org-tags-view): Only fit agenda window when the
4361         whole series is done.
4363         * org.el (org-scan-tags): Add todo state as property, for sorting.
4365         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4366         `org-agenda-overriding-header' as an option.
4367         (org-agenda-list): Honor org-agenda-overriding-header'.
4369 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4371         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4372         after removing a checkbox.
4374         * org.el (org-show-entry): Make this work correctly also if it is
4375         the last entry in the file.
4376         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4377         falling back to normal, default command.
4378         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4379         item, call the checkbox toggler to get a box.
4381         * org-list.el (org-toggle-checkbox): Make double prefix set the
4382         checkbox to "[-]".
4383         (org-fix-bullet-type): Only replace bullet if it is changed.
4384         (org-renumber-ordered-list): Handle case when first item does not
4385         have a number.
4387         * org.el (org-add-log-setup): Fix positioning when
4388         `org-log-states-order-reversed' is nil.
4390         * org-clock.el (org-clock-in): Fix positioning when
4391         `org-log-states-order-reversed' is nil.
4392         (org-clock-find-position): Fix positioning when
4393         `org-log-states-order-reversed' is nil.
4395 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4397         * org-clock.el (org-clock-into-drawer): Take default from
4398         `org-log-into-drawer'.
4399         (org-clock-find-position): Look for the correct drawer.
4401         * org.el (org-log-into-drawer): Renamed from
4402         `org-log-state-notes-into-drawer'.
4403         (org-log-state-notes-into-drawer): New variable alias.
4404         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4405         CLOCK.
4406         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4408 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4410         * org-agenda.el (org-agenda): Fix docstring.
4412         * org.el ("org-plot"): Help loading org-plot.
4413         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4414         (org-metadown-hook, org-shiftmetaleft-hook)
4415         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4416         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4417         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4418         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4419         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4421         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4422         for selecting files with any (and even without) extension.
4424         * org.el (org-save-all-org-buffers): Also save id locations.
4425         (org-revert-all-org-buffers): Also load id locations.
4427 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4428         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4429         (org-log-state-notes-into-drawer): New option.
4430         (org-add-log-setup): Place the sate note marker into the drawer,
4431         create drawer when necessary.
4432         (org-refile-targets): Document special interpretation of LEVEL
4433         when odd-levels are used.
4435 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4437         * org.el (org-store-log-note): Fix note indentation when adding
4438         notes to end of list.
4440         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4441         class, so that each keyword can get special colors through CSS.
4443         * org-clock.el (org-clock-out): Add another nil for the previous
4444         state into the call to `org-add-log-setup'.
4446         * org.el (org-log-note-previous-state): New variable.
4447         (org-log-note-headings): New %S escape for old state.
4448         (org-todo): Call the note setup with the old state as an
4449         argument.
4450         (org-add-note): Add another nil for the previous state into the
4451         call to `org-add-log-setup'.
4452         (org-add-log-setup): New argument PREV-STATE.
4453         (org-add-log-note): Handle new %S escape.
4454         (org-store-log-note): Handle new %S escape.
4456 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4458         * org-clock.el (org-clock-find-position): Do not swallow an item
4459         less indented than the CLOCK line itself.
4460         (org-clock-in): Push markers to lin after the clock line.
4461         (org-clock-find-position): Handle values of
4462         `org-clock-into-drawer' smaller than 2.
4464         * org-exp.el (org-html-level-start): Add a CSS class to section
4465         numbers.
4466         (org-export-html-toplevel-hlevel): Better documentation of the
4467         influence of this variables on H levels and css classes in
4468         export.
4470 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4472         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4473         timestamp and nottimestamp to the chooe menu.
4475         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4476         (org-revert-all-org-buffers): New command.
4478 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4480         * org.el (org-return): Implement `org-return-follows-link' in the
4481         function org-return.  This is more robust than using the mouse
4482         map, I think.
4483         (org-set-regexps-and-options): Match more general #+TODO lines.
4484         (org-make-options-regexp): New optional argument EXTRA, for an
4485         extra regexp.
4486         (org-tab-follows-link): Mark as deprecated.
4488 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4490         * org-exp.el (org-export-preprocess-string): Remove clock lines
4491         earlier, so that they cannot cotribute to verbatim snippets.
4493 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4495         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4496         for finding drawers.
4497         (org-export-as-ascii, org-export-as-html): Count levels relative
4498         to the subtree header.
4499         (org-get-min-level): New optional argument OFFSET.
4500         (org-export): Make sure point is restored after popping up that
4501         window.
4503         * org.el (org-do-sort): Also take an inactive timestamp if no
4504         active one is found.
4506         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4507         deleting duplicates.
4509         * org-colview.el (org-columns-capture-view): Copy before
4510         deleting duplicates.
4512         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4513         text before first headline.
4515         * org.el (org-format-latex): Do not convert LaTeX fragments in
4516         protected examples.
4518 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4520         * org-exp.el (org-export-html-style-default): Use color values
4521         instead of names for XHTML validation.
4523         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4524         functions.
4525         (org-return-follows-link): Revert making this the default untile
4526         issues are resolved.
4528         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4529         nottimestamp.
4531 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4533         * org.el (org-mode): Make dependence stuff work more reliably.
4534         (org-update-parent-todo-statistics): Fix bug with updating
4535         statistics cookie.
4537         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4538         ~ as verbatim delimiters.
4540         * org-exp.el (org-export-html-format-image): New argument
4541         PAR-OPEN.
4542         (org-export-as-html): Pass par-open to
4543         `org-export-html-format-image'.
4545 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4547         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4548         (org-use-fast-todo-selection, org-tags-column): New default
4549         setting for variables, based on a poll what typical uses use.
4551         * org-agenda.el (org-agenda-sorting-strategy)
4552         (org-agenda-tags-column): New default setting for variables, based
4553         on a poll what typical uses use.
4555 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4557         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4558         blocked entries from setting the blocked tag.
4560         * org-exp.el (org-export-html-footnotes-section): Use a more
4561         consistent id for footnotes.
4563         * org-export-latex.el (org-export-latex-classes): Remove the
4564         a4paper option from the default styles.
4566 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4568         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4569         (org-block-todo-from-checkboxes): New function.
4570         (org-todo): Make tripple prefix arg circumvent blocking.
4572         * org-timer.el (org-timer): Provide the timer feature.
4574         * org.el (org-require-autoloaded-modules): Add a few more files to
4575         the list of autoloaded modules.
4577         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4579 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4581         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4582         drawers that are unprotected.
4583         (org-export-html-format-image): Make sure inlined LaTeX fragment
4584         images remain inlined.
4586         * org.el (org-toggle-ordered-property): New function.
4587         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4588         (org-org-menu): Add menu entries for TODO dependencies.
4590 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4592         * org.el (org-default-properties): Add ORDERED to the default
4593         properties, to get completion support for it.
4595         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4597         * org.el (org-update-parent-todo-statistics): Update more than one
4598         cookie.
4600         * org-agenda.el (org-agenda-get-todos): Start search from correct
4601         position.
4603         * org.el (org-fast-todo-selection): Make sure TODO selection does
4604         not change buffer position.
4606         * org-list.el (org-toggle-checkbox): Implement adding or removing
4607         checkboxes from line or region when called with a prefix
4608         argument.
4610         * org-rmail.el (org-rmail-store-link): Protect the call to
4611         `rmail-narrow-to-non-pruned-header'.
4613         * org-clock.el (org-clock-special-range): Fix week display in
4614         clock tables.
4616         * org-exp.el (org-get-current-options): Fix bug when in indirect
4617         buffer.
4619 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4621         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4622         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4623         (org-agenda-dim-blocked-tasks): New function.
4625         * org.el (org-enforce-todo-dependencies): New option.
4626         (org-block-todo-from-children-or-siblings): New function.
4628         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4630         * org.el (org-todo): Return correct state type even if the blocker
4631         throws an error.
4632         (org-modifier-cursor-error): Renamed from
4633         `org-shiftcursor-error'.
4634         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4635         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4637         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4638         to get real errors from the blocker hook.
4640         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4641         functions.
4642         (org-set-visibility-according-to-property): Turn off the setting
4643         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4644         property.
4646 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4648         * org.el (org-support-shift-select): New option.
4649         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4650         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4651         selection outside contexts.
4653         * org-list.el (org-at-item-bullet-p): New function.
4655         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4656         variables.
4658         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4659         variable.
4660         (org-insert-footnote-reference-near-definition): Remove
4661         unnecessary let form.
4663         * org-export-latex.el (org-export-latex-first-lines): Add
4664         OPT-PLIST parameter.
4665         (org-export-as-latex): Call `org-export-latex-first-lines' with
4666         opt-plits parameter.
4667         (org-export-latex-preprocess): Remove unnecessary variables.
4669         * org-exp.el (org-infile-export-plist)
4670         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4671         (org-export-remove-headline-metadata)
4672         (org-export-get-title-from-subtree, org-get-min-level)
4673         (org-html-do-expand): Remove innecessary let form.
4675         * org-colview-xemacs.el (org-columns-display-here): Remove
4676         unnecessary variables.
4678         * org-colview.el (org-columns-display-here): Remove unnecessary
4679         variables.
4681         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4682         variables.
4684         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4685         unnecessary variables.
4687         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4688         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4689         variables.
4691         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4692         (org-compact-display-after-subtree-move): Remove unnecessary
4693         variables.
4694         (org-edit-fixed-width-region): Remove unnecessary variables.
4695         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4696         (org-olpath-completing-read): Remove unnecessary variable.
4697         (org-auto-repeat-maybe): Remove unnecessary variable.
4698         (org-map-entries): Remove unnecessary variable.
4699         (org-buffer-property-keys, org-imenu-get-tree)
4700         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4702 -----------------------------------------------------------------
4704 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4705         * org-exp.el (org-export-remove-timestamps): Never remove
4706         timestamps from tables.
4708         * org-export-latex.el (org-export-latex-first-lines): Add more
4709         options to the preprocessing of the text before the first
4710         headline.
4712 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4714         * org-faces.el (org-clock-overlay): Make face compatible with
4715         XEmacs.
4717         * org.el (org-yank): Add property for delete-selection mode.
4719         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4721         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4722         variable.
4724         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4725         to `backward-char'.
4727         * org-exp.el (org-export-as-html): Remove the initial space from
4728         colon examples.
4730         * org.el (org-scan-tags): Call
4731         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4733         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4734         customization groups.
4735         (org-agenda-tags-todo-honor-ignore-options): New option.
4736         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4737         New function.
4738         (org-agenda-get-todos): Use
4739         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4741 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4743         * org-exp.el (org-export-format-source-code-or-example): Escape
4744         HTML characters also in examples that anre not treated with
4745         htmlize.  Also, just switch to EXAMPLE processing if we do not
4746         have a good version of htmlize.
4748         * org-rmail.el: Fix copyright notice.
4750         * org.el (org-activate-footnote-links): Improve footnote link
4751         highlighting.
4753         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4754         a footnote definition at the end of the file.
4756         * org-table.el (org-table-get-specials): Add an imagined hline at
4757         the end of the table.  This can be useful for references that want
4758         to go to the end of the table.  Also fix bug when computing last
4759         row constants, in tables that do not start right at the right
4760         margin.
4761         (org-table-eval-formula): Match and replace remove references.
4762         (org-table-formula-substitute-names): Make sure that names inside
4763         a "remote" call are left alone, the will be replaced later when
4764         the remote call is handled.
4765         (org-table-convert-refs-to-rc): Do not convert things that might
4766         look like a reference, but are really part of an ID or namei n a
4767         remote reference.
4768         (org-table-get-remote-range): New function.
4770 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4772         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4774         * org-clock.el (org-clock-put-overlay): Use new face instead of
4775         `secondary-selection'.
4777         * org-faces.el (org-clock-overlay): New face.
4779 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4781         * org-exp.el (org-get-current-options): Include the option for
4782         publishing time stamps.
4784         * org.el (org-toggle-heading): Renamed from
4785         `org-toggel-region-headings'.
4786         No longer needs a region defined, but will use it if there is one.
4787         (org-ctrl-c-star): Simplified, relying more on the internal
4788         workings of `org-toggle-heading'.
4789         (org-toggle-item): Renamed from `org-toggle-region-items'.
4790         No longer needs a region defined, but will use it if there is one.
4791         (org-ctrl-c-minus): Simplified, relying more on the inernal
4792         workings of `org-toggle-item'.
4794         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4795         environment detection.  Also, do real changes only in unprotected
4796         places.
4798 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4800         * org-export-latex.el (org-export-latex-quotation-marks): Use
4801         `org-if-unprotected-1'.
4802         (org-export-latex-set-initial-vars): Check for class definition in
4803         property.
4805         * org-macs.el (org-if-unprotected-1): New macro.
4807 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4809         * org-compat.el (org-count-lines): New function.
4811         * org-exp.el (org-export-format-source-code-or-example): Handle
4812         switches related to text areas.
4814         * org.el (org-activate-footnote-links): Don't allow match inside a
4815         link.
4817         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4819         * org-export-latex.el (org-export-latex-links): Keep a relative
4820         path relative also after export.
4822         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4824         * org.el (org-make-tags-matcher): Never use IDO for completing the
4825         tags matcher match string.
4826         (org-completing-read): Also remove the special biding for "?".
4828         * org-attach.el (org-attach-allow-inheritance): New option.
4829         (org-attach-inherited): New variable.
4830         (org-attach-dir): Handle properties related to the attachment
4831         directory.
4832         (org-attach-check-absolute-path): New function.
4833         (org-attach-set-directory, org-attach-set-inherit): New commands.
4834         (org-attach): Accommodate the new commands in the dispatcher.
4836 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4838         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4839         `window-full-width-p'.
4841         * org-exp.el (org-export-as-html): Only check for images files
4842         that really can be inlined
4844         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4845         list of extensions to be a parameter.
4847         * org-exp.el (org-export-html-inline-image-extensions): New
4848         variable.
4850         * org-agenda.el (org-prepare-agenda): Use
4851         `org-agenda-block-separator'.
4852         (org-agenda-block-separator): New option.
4854 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4856         * org-export-latex.el (org-export-latex-tables): Call
4857         `org-table-clean-before-export' with the new optional argument.
4859         * org-exp.el (org-table-clean-before-export): New optional
4860         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4861         first column.
4863 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4865         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4866         histograms.
4868         * org-colview.el (org-colview-construct-allowed-dates): Better
4869         error catching when a date/time property does not have allowed
4870         values defined.
4872         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4873         Better error catching when a date/time property does not have
4874         allowed values defined.
4876 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4878         * org.el (org-map-entries): Restore point and restriction after
4879         `org-map-entries'.
4881 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4883         * org.el (org-time=, org-time<, org-time<=, org-time>)
4884         (org-time>=, org-time<>): Make sure both values are dates.
4886 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4888         * org-archive.el (org-extract-archive-heading): Allow %s for file
4889         name also in achive location heading.
4891 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4893         * org-archive.el (org-add-archive-files): Uniquify the list before
4894         returning it.
4896 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4898         * org-compat.el (org-fit-window-to-buffer): Use
4899         `window-full-width-p'.
4901         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4902         space after the colon in short examples.
4904         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4905         enforce a space after the colon.  However, we also allow lines
4906         that are *only* a colon.
4907         (org-export-as-html): Enforce the space after the colon in short
4908         examples.
4909         (org-export-preprocess-string): Do the colon example protection
4910         earlier.
4911         (org-export-remove-timestamps): Do not check for protection at the
4912         end of the line.
4914 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4916         * org.el (org-format-latex-options): Add new matcher for single
4917         letters between dollars.
4918         (org-get-header): Function removed.
4919         (org-heading-components): New function.
4921         * org-exp.el (org-export-define-heading-targets): Record ID's also
4922         as alternative targets.
4923         (org-export-as-html): Interpret "id:" links to other files by
4924         preserving the relative path.
4926         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4927         is nil.
4929         * org-exp.el (org-export-normalize-links): Protect the main link,
4930         to avoid special character processing.
4932         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4933         New variable.
4934         (org-export-latex-special-string-regexps): Variable removed.
4935         (org-export-latex-keywords): Use the new regexp.
4937         * org-exp.el (org-export-handle-include-files): Fetch switches and
4938         put them into the BEGIN statement.
4940         * org-timer.el (org-timer-mode-line-string): New variable.
4942         * org-clock.el (org-clock-mode-line-map): Renamed from
4943         `org-clock-mode-map'.
4944         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4945         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4946         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4947         (org-clock-remove-overlays): Renamed from
4948         `org-remove-clock-overlays'.
4950         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4951         and mode line display.
4952         (org-timer-stop): New command.
4953         (org-timer-seconds): Return correct time when timer is paused.
4954         (org-timer-mode-line-timer): New variable.
4955         (org-timer-set-mode-line, org-timer-update-mode-line): New
4956         functions.
4958         * org.el (org-insert-heading):  Handle new value `auto' for
4959         `org-blank-before-new-entry'.
4960         (org-org-menu): Add new items for timer functions.
4962         * org-list.el (org-insert-item): Handle new value `auto' for
4963         `org-blank-before-new-entry'.
4965         * org.el (org-blank-before-new-entry): New value `auto', made
4966         default.
4968 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4970         * org-exp.el (org-export-normalize-links): If the link is also
4971         used as the description, protect the description.
4973 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4975         * org.el (org-closest-date): Fix bug with yearly repeats, in
4976         combination with preference of the past as it is used for deadline
4977         and scheduling search.
4979         * org-exp.el (org-html-handle-time-stamps): No longer check for
4980         the `org-export-with-timestamps' option, because the preprocesser
4981         has taken care of this already.
4983         * org.el (org-entry-properties): Catch the case when this is
4984         called in a non-org-mode file.
4986         * org-export-latex.el (org-export-latex-remove-from-headlines):
4987         Variable made obsolete, also LaTeX export now uses the standard
4988         variables.
4989         (org-export-as-latex): Add the timestamps parameter to the
4990         preprocessor parameter list.
4991         (org-export-latex-content): Export the remaining keywords without
4992         considering to remove them.
4993         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4994         Use bold font instead of tt font for the keywords.
4995         (org-export-latex-fontify-headline): Format headlines, assuming
4996         that all keywords still present should be published.
4997         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4998         publish what ever remains of the time stamps.
4999         (org-export-latex-list-parameters): New option.
5000         (org-export-latex-lists): Pass additional parameters to the list
5001         converter.
5003         * org-exp.el (org-export-preprocess-string): Remove clock lines
5004         and timestamps already in the preprocesor.
5005         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5006         functions.
5007         (org-export-as-ascii, org-export-as-html): Add the timestamps
5008         parameter to the preprocessor parameter list.
5010         * org-list.el (org-list-parse-list): Parse for checkboxes.
5011         (org-list-to-generic): Introduce and handle new parameters :cbon
5012         and :cboff.
5013         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5014         optional parameter PARAMS.
5016         * org-export-latex.el (org-export-latex-special-chars): Fix
5017         problems with interpreting dollar signs.
5018         (org-inside-latex-math-p): New function.
5019         (org-export-latex-preprocess): Protect all the math fragments.
5021         * org.el (org-latex-regexps): Allow a dash after a dollar.
5023         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5024         mark after copying.
5026         * org-agenda.el (org-run-agenda-series): Have series options set
5027         when finalizing the agenda.
5029         * org-exp.el (org-export-format-source-code-or-example): Protect
5030         the converted examples.
5032         * org.el (org-set-regexps-and-options): Fix the regexp
5033         `org-complex-heading-regexp'.
5035 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5037         * org.el (org-edit-src-get-label-format): New function.
5038         (org-coderef-label-format): New option.
5039         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5040         a label format specification and make sure it is used in the edit
5041         buffer.
5042         (org-edit-src-get-label-format): New function.
5043         (org-store-link): Handle new coderef formats.
5044         (org-link-search): Handle new coderef formats.
5046         * org-footnote.el (org-footnote-create-definition)
5047         (org-footnote-goto-local-insertion-point): Make footnote insertion
5048         work correctly when the "Footnotes" headline is the last line in
5049         the buffer.
5051         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5052         the location.
5054 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5056         * org-w3m.el (org-w3m): New customization group.
5057         (org-w3m-deactivate-mark): New option.
5058         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5059         option say not to.
5061 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5063         * org.el (org-set-font-lock-defaults): Trigger footnote
5064         fontification.
5065         (org-activate-footnote-links): New function.
5066         (org-activate-links): New entry `footnote'.
5068         * org-faces.el (org-footnote): New face.
5070 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5072         * org-macs.el (org-re): Handle the [:word:] class.
5074         * org-exp.el (org-export-preprocess-string): Call
5075         `org-export-protect-colon-examples'.
5076         (org-export-protect-colon-examples): Renamed from
5077         `org-export-protect-examples', and scope limited to lines starting
5078         with a colon.
5080 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5082         * org-exp.el (org-export-preprocess-string): Move the preprocess
5083         hook to after turning on Org-mode.
5084         (org-export-preprocess-after-include-files-hook)
5085         (org-export-preprocess-after-tree-selection-hook)
5086         (org-export-preprocess-before-backend-specifics-hook)
5087         (org-export-preprocess-final-hook): New hooks.
5088         (org-export-preprocess-string): Run the new hooks.
5090         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5092         * org-footnote.el: New file.
5094         * org.el (org-footnote): Require footnote code.
5095         (org-startup-options): Add new footnote options.
5096         (org-mode-map): New keybindig for footnotes.
5097         (org-ctrl-c-ctrl-c): Add function at footnotes.
5098         (org-org-menu): New menu entries for footnotes.
5100         * org-export-latex.el (org-export-as-latex): Pass footnote
5101         variable to preprocessor.
5102         (org-export-latex-preprocess): Treat multiple references to a
5103         footnote.
5105         * org-exp.el (org-export-preprocess-string): Call
5106         `org-footnote-normalize'.
5107         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5108         to preprocessor.
5109         (org-export-as-html): Treat multiple references to a footnote.
5111 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5113         * org-export-latex.el (org-export-latex-links): Handle coderef
5114         links.
5116         * org.el (org-bracket-link-analytic-regexp++): New variable.
5117         (org-make-link-regexps): Initialize
5118         `org-bracket-link-analytic-regexp++'.
5119         (org-store-link): Implement special case in edit-src buffer.
5120         (org-insert-link): No use of ide to insert stored links.
5121         (org-link-search): Implement special case for coderefs.
5123         * org-exp.el (org-export-html-scripts): New constant.
5124         (org-export-html-style-default): Add a new style for highlighted
5125         code.
5126         (org-export-code-refs): New variable.
5127         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5128         Call `org-export-replace-src-segments-and-examples'
5129         No longer call `org-export-protect-examples'.
5130         (org-export-target-internal-links): Take care of coderef targets.
5131         (org-export-last-code-line-counter-value): New variable.
5132         (org-export-replace-src-segments-and-examples): Renamed from
5133         `org-export-replace-src-segments', and modified.
5134         (org-export-format-source-code-or-example): Renamed from
5135         `org-export-format-source-code'.
5136         (org-export-number-lines): New function.
5137         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5139 --------------------------------------------------------------------------
5141 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5143         * org-remember.el (org-remember-handler): Safer way to get a new
5144         buffer accessing the target file.
5146         * org.el (org-refile-get-location): Handle case of current buffer
5147         not having a file associated with it.
5149 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5151         * org-table.el (org-table-get-formula): Only ask to overwrite
5152         field formula if there really is one.
5154         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5155         number, by converting these to a string.
5157         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5158         located in a different file.
5160         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5161         org-colview.el.
5163 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5165         * org.el (org-completion-use-ido): Enhance docstring of
5166         `org-completion-use-ido'.
5168         * org-export-latex.el (org-export-latex-make-header): Double the %
5169         in the time stamp format.
5170         (org-export-latex-special-chars): Handle case where there is no
5171         match group 3.
5173 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5175         * org.el (org-get-refile-targets, org-refile-get-location): Use
5176         expanded file name to improve comparison.
5178 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5180         * org.el (org-scan-tags): Rescan for tags, to get the correct
5181         upcase/downcase stuff.  This slows things down for now, but it
5182         works.
5183         (org-mode): Make sure the tag-faces regexp is initialized.
5185         * org-export-latex.el (org-export-latex-links): Fix bug with
5186         undefined label.
5188         * org-table.el (org-table-get-specials): Set
5189         `org-table-current-last-data-line'.
5190         (org-table-current-last-data-line): New variable.
5191         (org-table-insert-column, org-table-delete-column)
5192         (org-table-move-column, org-table-fix-formulas): Call
5193         `org-table-fix-formulas' a second time to fix the $LR references.
5194         (org-table-get-specials): Add the $LR references to the tables.
5195         (org-table-get-formula): Do not offer last-row names as LHS of
5196         formulas.
5198         * org.el (org-store-link): Capture link description from
5199         `org-id-store-link'.
5201         * org-exp.el (org-export-html-format-image): Add the / to the end
5202         of the <img> tag.
5203         (org-export-format-source-code): Surround example by empty lines,
5204         to make sure it will not be inside a paragraph.
5206         * org.el (org-ido-switchb): New function.
5208 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5210         * org-agenda.el (org-agenda-show): New prefix argument
5211         FULL-ENTRY.
5213         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5214         argument.
5216         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5217         `org-agenda-change-all-lines'.
5218         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5219         tags are now retrieved locally.
5221 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5223         * org.el (org-get-outline-path): Fix bug if level is not given.
5224         (org-org-menu): Do not quote function in menu vector.
5226         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5227         name.
5229 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5231         * org.el (org-refile): Avoid refiling to within the region to be
5232         refiled.
5234         * org-export-latex.el (org-export-latex-special-chars): Replace
5235         special characters also in tables.
5237         * org-agenda.el (org-agenda-change-all-lines): New argument
5238         FORCE-TAGS.
5239         (org-agenda-set-tags): Cet the new tags and pass them to
5240         `org-format-agenda-item'.
5242 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5244         * org-export-latex.el (org-export-latex-classes): Add longable as
5245         a default package to all classes.
5246         (org-export-latex-tables): Handle the longtable attribute and the
5247         align attribute.
5249         * org-table.el (orgtbl-to-generic): Handle tables that start with
5250         a hline.
5252         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5253         \verb for colde-like snippets.
5254         (org-export-as-latex): Fix issues with region export.
5256         * org.el (org-up-heading-safe): Speed up function by using a
5257         direct regexp search.
5258         (org-olpa): New variable.
5259         (org-get-outline-path): Speed-up path constructions in cases where
5260         this is possible because the entire hierarchy is scanned anyway.
5261         (org-refile-get-location): Don't compare the truenames of files,
5262         this is too slow.
5263         (org-goto-max-level): New option.
5264         (org-goto): Use `org-goto-max-level'.
5266 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5268         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5269         Strip angle brackets from message-ids in the former and don't do
5270         it in the latter.
5271         (org-gnus-follow-link): Open summary reliable, even if the last
5272         messages were deleted, and handle empty groups, too.
5274 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5276         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5277         instead of \texttt for the =...= and ~===~ emphasis environments.
5278         (org-export-as-latex): Remove any old :org-license-to-kill text
5279         properties.
5280         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5281         (org-export-latex-make-header): Add some hard space after the
5282         table of contents.
5283         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5284         exported text so that it will be excuded in further steps.
5286         * org-table.el (org-table-get-specials): Make @0 reference the
5287         last line in a table.
5288         (org-table-recalculate): Improve docstring.
5290 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5292         * org.el (org-log-done): Fix docstring.
5294 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5296         * org-exp.el (org-export-html-format-image): Fix bugs.
5298         * org-export-latex.el (org-export-latex-tables)
5299         (org-export-latex-links): Implement attribute, label, and caption
5300         handling.
5302         * org-exp.el (org-export-html-style-default): Add style
5303         definitions for the figure div.
5304         (org-export-preprocess-string, org-export-as-html): Implement
5305         attribute, label, and caption handling.
5306         (org-export-attach-captions-and-attributes): New function.
5307         (org-export-html-format-image): New function.
5308         (org-format-org-table-html): Implement attribute, label, and
5309         caption handling.
5311         * org.el (org-find-text-property-in-string): New function.
5312         (org-extract-attributes): Use the property org-attr instead of
5313         org-attrobutes, because this property is now set with the #+ATTR
5314         lines.
5316 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5318         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5319         the case that FROM is nil.
5321         * org.el (org-before-first-heading-p): New function.
5323 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5325         * org-exp.el (org-export-as-html): Do not add a space before
5326         enforces line breaks.
5327         (org-export-as-html): Close paragraph before blockquote and verse
5328         tags.
5330 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5332         * org-id.el (org-id-locations-file): Wrap file name with
5333         `convert-standard-filename'.
5334         (org-id-files): New variable.
5335         (org-id-use-hash): New option.
5336         (org-id-update-id-locations): Also search in all files current
5337         listed in `org-id-files'.  Convert the resulting alist to a hash
5338         if the user customation says so.
5339         (org-id-locations-save): Handle he case if `org-id-locations' is a
5340         hash.
5341         (org-id-locations-load): Convert the alist to a hash.
5342         (org-id-add-location): Handle the hast case.
5343         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5344         exited.
5345         (org-id-hash-to-alist, org-id-alist-to-hash)
5346         (org-id-paste-tracker): New functions.
5348 -------------------------------------------------------------------------
5350 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5352         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5353         bindings of calendar variables.
5355         * org-table.el (org-table-find-row-type): Renamed from
5356         `org-find-row-type'.
5357         (org-table-rewrite-old-row-references): Renamed from
5358         `org-rewrite-old-row-references'.
5359         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5360         (org-table-cleanup-narrow-column-properties): Renamed from
5361         `org-cleanup-narrow-column-properties'.
5363 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5365         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5366         for better error messages.
5367         (org-table-get-descriptor-line): Supply the new arguments to
5368         `org-find-row-type'.
5369         (org-table-error-on-row-ref-crossing-hline): New option.
5371         * org.el (org-target-link-regexp): Make buffer-local.
5372         (org-move-subtree-down): Fix bug with trees at beginning of
5373         buffer.
5375 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5377         * org-faces.el (org-set-tag-faces): New function.
5378         (org-tags-special-faces-re): New variable.
5380         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5382         * org-faces.el (org-tag-faces): New option.
5383         (org-tag): Mention `org-tag-faces' in the docstring.
5385 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5387         * org-exp.el (org-export-html-style-default): Implement new
5388         quoting.
5390         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5392         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5393         command to the `w3m-minor-mode-map'.
5395         * org-archive.el (org-archive-to-archive-sibling): Protect
5396         `this-command' to avoid appending kills during archiving.
5398         * org-exp.el (org-export-with-priority): New variable.
5399         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5400         instead of internal list of strings and properties.
5401         (org-print-icalendar-entries): Retrieve the location property with
5402         inheritance.
5404 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5406         * org-exp.el (org-export-with-todo-keywords): New option.
5407         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5408         line.
5409         (org-default-export-plist, org-export-add-options-to-plist)
5410         (org-export-as-ascii, org-export-as-html): Use the new structure
5411         of `org-export-plist-vars'.
5413         * org.el (org-map-entries): Return all values.
5415 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5417         * org.el (org-matcher-time): Recognize more special values.
5419         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5421 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5423         * org.el (org-tags-exclude-from-inheritance): New option.
5424         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5425         `org-tags-exclude-from-inheritance'.
5427         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5428         (org-format-agenda-item): Add inherited tags to the agenda line
5429         string, and make sure that properties are kept when downcasing the
5430         tags list.
5431         (org-agenda-add-inherited-tags): New function.
5432         (org-downcase-keep-props): New function.
5434         * org.el (org-scan-tags): Mark inherited tags with a text
5435         property.
5436         (org-get-tags-at): Mark inherited tags with a text property.
5437         (org-add-prop-inherited): New function.
5439         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5440         (org-agenda-show-inherited-tags): New option.
5442 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5444         * org.el (org-modules): Add org-w3m to the default modules.
5446         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5447         orgtbl-mode.
5448         (orgtabl-create-or-convert-from-region): New command.
5450         * org-exp.el (org-export-as-ascii): Remove the handling of
5451         targets.
5452         (org-export-ascii-preprocess): Handle targets already in this
5453         function.
5455 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5457         * org-timer.el (org-timer-start-time): Define this variable.
5458         (org-timer-item): Make argument optional.
5460         * org-list.el (org-insert-item): Automatically insert a timer item
5461         if the current list is a timer list.
5463         * org-timer.el: New file.
5465         * org-publish.el (org-publish-org-index): Only exclude the index
5466         file in the main directory from being added to the site-map.
5467         (org-publish-get-project-from-filename): If the current project is
5468         a component, start publishing from the parent project.
5470 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5472         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5474         * org-publish.el (org-publish-org-index): Improve removal of
5475         temporary buffers.
5477         * org-agenda.el (org-get-closed): Re-apply changes
5478         accidentially overwritten by last commit to Emacs.
5480         * org.el (org-outline-path-complete-in-steps): New option.
5481         (org-refile-get-location): Honor
5482         `org-outline-path-complete-in-steps'.
5483         (org-agenda-change-all-lines, org-tags-sparse-tree)
5484         (org-time-string-to-absolute, org-small-year-to-year)
5485         (org-link-escape): Re-apply changes accidentially overwritten
5486         by last commit to Emacs
5488 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5490         * org-clock.el (org-dblock-write:clocktable): Make sure the
5491         clocktable sees the first line.
5492         (org-clock-in): Warn if the clock cannot be resumed.
5494 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5496         * org.el (org-open-at-point): Fix mixup about interactive and
5497         non-interactive elisp links.
5499 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5501         * org-exp.el (org-export-preprocess-string): Allow one comment
5502         line before the first headline to always be included.  This is
5503         to not miss a commented target.
5505         * org-mouse.el (org-mouse-insert-item): Call
5506         `org-indent-to-column' instead of `indent-to', for XEmacs
5507         compatibility.
5509         * org.el (org-refile-targets): Fix customize definition so
5510         that it works also in XEmacs.
5511         (org-fixup-indentation): Call `org-indent-to-column' instead
5512         of `indent-to', for XEmacs compatibility.
5514 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5516         * org-mew.el (org-mew-store-link): Get the correct case folder
5517         for refiled messages.
5519 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5521         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5522         line break indicators.
5524         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5525         ido-completion propts.
5527 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5529         * org-remember.el (org-remember-apply-template): Use
5530         `org-substring-no-properties'.
5532         * org-compat.el (org-substring-no-properties): New function.
5534         * org-remember.el (org-remember-apply-template): Use
5535         `org-substring-no-properties' for compatibility.
5537         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5538         option.
5539         (org-fix-bullet-type): respect
5540         `org-list-two-spaces-after-bullet-regexp'.
5542         * org-clock.el (org-clock-load): Clean up the code.
5544         * org.el (org-adaptive-fill-function): Allow two spaces after
5545         "1." as a list bullet.
5547 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5549         * org-clock.el (org-clock-save, org-clock-load): Check for
5550         live buffers, existing files, and buffer file names to ensure
5551         consistent information.
5552         (org-clock-persist): Make `clock' a special value of this
5553         variable, and improve docstring.
5555         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5556         (org-get-string-indentation): Adapt indentation when the bullet
5557         width changes.
5559 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5561         * org-remember.el (org-remember-finalize): Make interactive.
5562         (org-remember-kill): New command.
5563         (org-remember-finish-immediately): Call `org-remember-finalize'
5564         directly.
5565         (org-remember-finalize): Make `org-remember-finalize' an interactive
5566         function.
5568 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5570         * org-remember.el (org-remember-apply-template): No ido completion
5571         for free prompts in remember templates.
5572         (org-remember-before-finalize-hook): New hook.
5573         (org-remember-mode): New minor mode.
5574         (org-remember-apply-template): Turn on `org-remember-mode'.
5576         * org-id.el (org-id-add-location): Avoid error when no file is
5577         given.
5579         * org-remember.el (org-remember-apply-template): Fix the way how
5580         the list of allowed properties is retrieved from the target file.
5582         * org.el (org-insert-link): Improve file link matching.
5584 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5586         * org-colview.el (org-columns-display-here): New argument
5587         DATELINE, to trigger using the new face.
5588         (org-agenda-colview-summarize): Call `org-columns-display-here'
5589         with the new argument.
5591         * org-faces.el (org-agenda-column-dateline): New face.
5593         * org-publish.el (org-publish-org-index): Use index-title at page
5594         title, not as section.
5596         * org-exp.el (org-export-html-format-desc): Respect the
5597         org-protect property.
5598         (org-export-as-html): Protect image specifiers that are in the
5599         description part of a link.
5601         * org.el (org-sort-entries-or-items, org-completing-read)
5602         (org-refile-get-location, org-olpath-completing-read, org-todo)
5603         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5604         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5605         (org-set-property, org-delete-property)
5606         (org-delete-property-globally): Use `org-ido-completing-read'.
5608         * org-remember.el (org-remember-apply-template): Use
5609         `org-ido-completing-read'.
5611         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5613         * org-colview.el (org-columns-edit-value, org-columns-new)
5614         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5616         * org-colview-xemacs.el (org-columns-edit-value)
5617         (org-columns-new, org-insert-columns-dblock): Use
5618         `org-ido-completing-read'.
5620         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5621         `org-ido-completing-read'.
5623         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5624         `org-ido-completing-read'.
5626         * org.el (org-time-today): New function.
5627         (org-matcher-time): Use `org-time-today'.  Add special treatment
5628         for "<tomorrow>" and "<yesterday>".
5629         (org-ido-completing-read): New function.
5630         (org-completion-use-ido): New option.
5632         * org-exp.el (org-export-format-source-code): Fix bug in require
5633         htmlize code.
5634         (org-export-target-internal-links): Fix bug in search for text
5635         property.
5637 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5639         * org-export-latex.el (org-export-latex-subcontent): Interprete
5640         target aliases as additonal labels.
5642         * org-exp.el (org-export-target-aliases): New variable.
5643         (org-export-preprocess-string)
5644         (org-export-handle-invisible-targets): Fill the alias alist.
5645         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5646         assign an id.
5647         (org-html-level-start): Insert the target aliases as additonal
5648         anchors.
5650         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5651         picture area.
5653 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5655         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5656         when following a link with the mouse from the agenda.
5658         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5659         headlines are created.
5661 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5663         * org-exp.el (org-export-preprocess-string): Reorder so that we
5664         can still see ID properties when we collect targets.
5665         (org-export-target-internal-links): Also store targets for ID's.
5667         * org.el (org-link-translation-function): New option.
5668         (org-open-at-point): Call `org-link-translation-function' if
5669         non-nil.
5670         (org-translate-link): New function.
5671         (org-translate-link-from-planner): New function.
5672         (org-open-at-point): Allow interactive commands in elisp links.
5674         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5675         iCalendar quoting.  The new one seems to caus problems with
5676         applications.
5678         * org.el (org-yank): Set `this-command' to `yank', so that
5679         `yank-pop' will work.
5681 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5683         * org-id.el (org-id-search-archives): New option.
5685         * org.el (org-link-to-org-use-id): New option.
5686         (org-store-link): Use `org-link-to-org-use-id'.
5687         (org-id): Make org-id.el a standard component.
5689 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5691         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5692         hexified version of the tag.
5694         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5695         compliance as far as quoting is concerned.
5697         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5699         * org.el (org-up-heading-safe, org-forward-same-level): Always
5700         call `org-back-to-heading' instead of `outline-back-to-heading'.
5701         (org-back-to-heading): New wrapper around outline-back-to-heading,
5702         with a useful error message telling where the error happened.
5704         * org-list.el (org-update-checkbox-count): Always call
5705         `org-back-to-heading' instead of `outline-back-to-heading'.
5707         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5708         has an `alt' attribute, to ensure XHTML validation.
5710 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5712         * org-publish.el (org-publish-attachment): Allow publishing to
5713         overwrite attachment files.
5715         * org-agenda.el (org-agenda-timerange-leaders): New option.
5716         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5718         * org.el (org-edit-src-exit): Untabify ASCII image before
5719         returning.
5732 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5734         * org.el (org-yank): Make any prefix force normal yanking.
5735         Suppress folding if text would be swallowed into a folded
5736         subtree.
5737         (org-yank-folded-subtrees, org-yank): Docstring updates.
5739         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5740         defined as 0.
5742         * org-exp.el (org-export-language-setup): Add Catalan and
5743         Esperanto language entries.
5745 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5747         * org.el (org-refile): Allow refiling of entire regions.
5749         * org-clock.el (org-clock-time%): New function.
5751         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5752         retrieve property values.
5754 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5756         * org-agenda.el (org-agenda-list): Handle the value `only' of
5757         org-agenda-show-log'.
5758         (org-agenda-log-mode): Interpret a double prefix arg.
5760 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5762         * org-exp.el (org-export-html-footnotes-section): New variable.
5763         (org-export-as-html): Use `org-export-html-footnotes-section' to
5764         insert the footnotes.
5765         (org-export-language-setup): Add "Footnotes" to language words.
5767 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5769         * org.el (org-yank): Fix bug when not inserting a subtree.
5771 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5773         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5774         instead of `vm-beginning-of-message'.
5776         * org.el (org-make-link-regexps): Make sure that links to gnus can
5777         contain brackets.
5779 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5781         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5782         code.
5784         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5785         shell output.
5787         * org.el (org-link-abbrev-alist): Improve customization type.
5789         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5790         functions.
5792         * org-agenda.el (org-agenda-get-progress): Renamed from
5793         `org-get-closed'.  Implement searching for state changes as well.
5794         (org-agenda-log-mode-items): New option.
5795         (org-agenda-log-mode): New option prefix argument, interpreted as
5796         request to show all possible progress info.
5797         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5798         `org-get-closed'.
5799         (org-agenda-set-mode-name): Handle the more complex log mode
5800         settings.
5801         (org-get-closed): New alias, pointing to `org-get-progress'.
5803 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5805         * org.el (org-file-apps-defaults-gnu)
5806         (org-file-apps-defaults-macosx)
5807         (org-file-apps-defaults-windowsnt): Add an entry defining the
5808         system command.
5809         (org-file-apps): Allow `system' as key and value.
5810         (org-open-at-point): Explain the effect of a double prefix arg.
5811         (org-open-file): If the argument `in-emacs' is (16),
5812         i.e. corresponding to a double prefix argument, try to open the
5813         file externally.
5815 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5817         * org.el (org-insert-link): Abbreviate absolute files names in
5818         links.  Also, fix a bug in which the double C-u prefix would not
5819         be honored.
5821 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5823         * org.el (org-insert-heading): If buffer does not end with a
5824         newline, add one if necessary to insert headline correctly.
5826         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5827         paragraphs, not inside.
5829         * org.el (org-todo): Quote
5830         `org-agenda-headline-snapshot-before-repeat'.
5832         * org-exp.el (org-export-as-html): Fully process link descriptions.
5833         (org-export-html-format-desc): New function.
5834         (org-export-as-html): Collect footnotes into the correct basket.
5835         (org-html-protect): No longer protect quotations marks here, this
5836         goes wrong.
5838         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5839         BEG.
5841         * org-compat.el (org-fit-window-to-buffer): New function (not
5842         really, a preliminary and incomplete version was present earlier,
5843         but not used).
5845         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5846         `org-fit-window-to-buffer'.
5848         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5850         * org-agenda.el (org-agenda-get-restriction-and-command)
5851         (org-fit-agenda-window, org-agenda-convert-date): Use
5852         `org-fit-window-to-buffer'.
5854         * org-exp.el (org-export-as-html): Process href links through
5855         `org-export-html-format-href'.
5856         (org-export-html-format-href): New function.
5858         * org-agenda.el (org-agenda-todo): Update only the current
5859         headline if this is a repeated TODO, marked done for today.
5860         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5861         only the current line.
5863         * org.el (org-todo): Take a snapshot of the headline if the
5864         repeater might change it.
5866 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5868         * org-publish.el (org-publish-find-title): Remove buffers visited
5869         only for extracting the title.
5871         * org-exp.el (org-export-html-style)
5872         (org-export-html-style-default): Mark style definitions as
5873         unparsed CDATA.
5875         * org-publish.el (org-publish-validate-link): Function
5876         re-introduced.
5878 2008-11-02  Charles Sebold  <csebold@gmail.com>
5880         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5881         property.
5882         (org-plot-quote-timestamp-field): New function.
5883         (org-plot-quote-tsv-field): Call timestamp field function when
5884         necessary rather than just quoting as a string.
5885         (org-plot/gnuplot-to-data): Pass in timefmt property.
5886         (org-plot/gnuplot-script): Supports timefmt property.
5887         (org-plot/gnuplot): Checks for timestamp column before checking
5888         for text index column.
5890 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5892         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5894         * org-publish.el (org-publish-org-index): Create a section in the
5895         index file.
5896         (org-publish-org-index): Stop linking to directories.
5898         * org.el (org-emphasis-alist): Use span instead of <u> to
5899         underline text.
5901         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5902         <pre> sections.
5904 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5906         * org-jsinfo.el (org-infojs-template): Remove language attribute
5907         from script tag.
5909 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5911         * org-agenda.el (org-agenda-remove-marked-text): New function.
5912         (org-agenda-mark-filtered-text)
5913         (org-agenda-unmark-filtered-text): New functions.
5914         (org-write-agenda): Remove fltered text.
5916         * org.el (org-make-tags-matcher): Give access to TODO "property"
5917         without speed penalty.
5919 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5921         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5922         option.
5923         (org-store-link-props): Make sure adding to the plist works
5924         correctly.
5926         * org-gnus.el (org-gnus-no-new-news): New function.
5927         (org-gnus-follow-link): Allow the article ID to be a message-id,
5928         in addition to allowing article numbers.  Message IDs make much
5929         more roubust links.
5930         (org-gnus-store-link): Use message-id to create link.
5932 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5934         * org.el (org-emphasize): Reverse the selection array.
5935         (org-emphasis-alist): Set <code> tags for the verbatim
5936         environment.
5938         * org-remember.el (org-remember-handler): Fix bug with
5939         prefix-related changing of the note storage target.
5941         * org-exp.el (org-print-icalendar-entries): Make the exported
5942         priorities compatible with RFC 2445.
5944         * org-clock.el (org-clock-save): Insert time stamp without
5945         dependence on time-stamp.el.
5947 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5949         * org.el ("saveplace"): If saveplace puts point into an invisible
5950         location, make it visible.
5951         (org-make-tags-matcher): Allow inactive time stamps in time
5952         comparisons.
5953         (org-yank-adjusted-subtrees): New option.
5954         (org-yank): Incorporate adjusting trees.
5955         (org-paste-subtree): New argument FOR-YANK which will cause
5956         insertion at point without backing up over white lines, and leave
5957         point at the end of the inserted text.  Also if the cursor is
5958         at the beginning of a headline, use the same level or the inserted
5959         tree.
5961         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5962         with broken symlinks
5964 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5966         * org-exp.el (org-export-select-tags, org-get-current-options):
5967         Fix typo.
5969 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5971         * org-agenda.el (org-format-agenda-item)
5972         (org-agenda-filter-make-matcher): Make sure tags are stored and
5973         compared donwcased.
5975 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5977         * org.el (org-insert-todo-heading): Fix bug with force-heading
5978         argument.
5980 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5982         * org-clock.el (org-clock-in-resume): Add a custom option to
5983         toggle starting the clock from an open clock line.
5984         (org-clock-in): When clocking in to an entry, if
5985         `org-clock-in-resume' is set, check if the first clock line is
5986         open and if so, start the clock from the time in the clock line.
5987         (org-clock-persist): Add a custom option to toggle clock
5988         persistence.
5989         (org-clock-persist-query-save): Add a custom option to toggle
5990         asking the user if they want to save the running clock when
5991         exiting.
5992         (org-clock-persist-query-resume): Add a custom option to toggle
5993         asking the user if they want to resume the saved clock when Emacs
5994         is restarted.
5995         (org-clock-save): Add a function to save clock data.
5996         This includes the contents of `org-clock-history' and the buffer
5997         and position of the currently clocked task, if any.
5998         (org-clock-load): Add a function to load clock data.
5999         This populates `org-clock-history', and resumes the saved clocked
6000         task if there is one.
6001         (org-clock-persistence-insinuate): Add a method to set up the
6002         hooks for clock persistence.
6004 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6006         * org-exp.el (org-export-as-ascii): Handle the case that we are
6007         publishing from an indirect buffer.
6009         * org-table.el (org-table-copy-down): Fix bug with time stamp
6010         increment.
6012         * org-mouse.el (org-mouse-features): New option.
6013         (org-mode-hook): Turn on features depending on
6014         `org-mouse-features'.
6016         * org.el (org-insert-heading-respect-content): Force heading
6017         creation.
6018         (org-insert-heading): keep the folding state of the heading before
6019         the inserted one.
6021 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6023         * org-archive.el (org-archive-to-archive-sibling): Handle top
6024         level headlines better.
6026 2008-10-21  Bastien Guerry  <bzg@altern.org>
6028         * org-export-latex.el (org-export-latex-classes): Added
6029         \usepackage{graphicx} to the default list of packages.
6031 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6033         * org-agenda.el (org-agenda-filter): Renamed from
6034         `org-agenda-filter-tags'.
6036 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6038         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6039         is not defined as a property in this entry.
6040         (org-add-log-note): Mask prefix argument when immediately storing
6041         the note.
6043         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6044         option.
6046 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6048         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6049         after drawers was skipping ahead one line too many, so notes were
6050         inserted after the first note instead of before it.
6052 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6054         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6055         New variables.
6056         (org-prepare-agenda): Reset the filter tags.
6057         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6058         Show filter tags in mode line.
6060         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6061         formatter.
6063         * org-export-latex.el (org-latex-entities-regexp): New constant.
6064         (org-export-as-pdf): Use two calls to `shell-command'.
6066 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6068         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6069         Honor the {} value of the subsuperscript setting.  Make sure that
6070         longer subsuperscripts are typeset in a roman font.
6072         * org.el (org-clock-update-time-maybe): Compute negative clock
6073         intervals correctly.
6075 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6077         * org.el (org-add-log-setup): Respect
6078         `org-log-state-notes-insert-after-drawers'.
6079         (org-log-state-notes-insert-after-drawers): New option.
6080         (org-todo-trigger-tag-changes): New function.
6081         (org-todo): Call `org-todo-trigger-tag-changes'.
6083 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6085         * org.el (org-add-log-setup): Only skip drawers if the are
6086         immediately after the scheduling keywords.
6088         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6089         function
6090         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6091         call it with the current todo state to get the state to switch to
6092         when clocking in.
6093         (org-clock-in): Use org-indent-line-function to indent clock lines.
6094         (org-clock-find-position): Fix indentation of empty clock drawers.
6096 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6098         * org-publish.el (org-publish-org-to): Handle case when
6099         org-export-to-pdf does return a file name, not a buffer.
6100         (org-publish-org-to-pdf): New function.
6102         * org-export-latex.el (org-export-as-pdf)
6103         (org-export-as-pdf-and-open): New commands.
6105         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6106         forms as ranges.
6108         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6109         things in protexted regions.
6111 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6113         * org-export-latex.el (org-export-latex-preprocess): Improve
6114         quoting of LaTeX environments.
6116 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6118         * org.el (org-edit-fixed-width-region): Exclude final newline from
6119         picture area.
6121         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6122         sections, to make internal links work.
6123         (org-export-latex-fontify-headline): Do not remove all text
6124         properties, to make sure that target properties survive this
6125         process.
6127         * org-exp.el (org-export-preprocess-string): Change sequence of
6128         modifications, to make sure links are prepared before the LaTeX
6129         conversions do happen.
6131 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6133         * org-attach.el (org-attach-delete-all): Renamed from
6134         `org-attch-delete'.  Add a security query before deleting the
6135         entire directory.  New optional argument FORCE can overrule the
6136         security query.
6137         (org-attach-delete-one): New command.
6139 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6141         * org-attach.el (org-attach-file-list): Fix bug with directory.
6143 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6145         * org.el (org-apps-regexp-alist): New function.
6146         (org-file-apps): Add auto-mode to the default value.
6147         (org-open-file): Use the new structure of org-file-apps.
6149         * org-attach.el (org-attach): Support the new keys.
6150         (org-attach-method): New option.
6152 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6154         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6155         March.
6157         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6158         of the list value o `org-use-tag-inheritance'.
6160         * org-attach.el (org-attach-auto-tag): New option.
6161         (org-attach-tag, org-attach-untag): New functions.
6162         (org-attach-attach, org-attach-new, org-attach-sync): Call
6163         `org-attach-tag'.
6164         (org-attach-delete): Call `org-attach-untag'.
6166 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6168         * org-table.el (orgtbl-self-insert-command): Make this work for
6169         the keypad as well.
6171 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6173         * org.el (org-add-log-setup): Limit searc for drawers to entry
6174         text, not to subtree.
6176         * org-clock.el (org-clock-heading-for-remember): New variable.
6177         (org-clock-in): Set `org-clock-heading-for-remember'.
6179 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6181         * org-remember.el (org-remember-apply-template): Add new
6182         expansions: %k, %K for currently clocked task and a link to the
6183         currently clocked task, and %< to file notes in the currently
6184         clocked task.
6186 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6188         * org-export-latex.el (org-export-latex-make-header): Also insert
6189         the content of the property :latex-header-extra.
6191         * org-exp.el (org-infile-export-plist): Put the content of
6192         #+LATEX_HEADER: into the property :latex-header-extra.
6194         * org-colview.el (org-columns-get-format-and-top-level): Remove
6195         resetting the marker.
6197         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6198         Remove resetting the marker.
6200         * org.el (org-entry-property-inherited-from): Improve docstring.
6201         (org-entry-get-with-inheritance): Reset marker before starting the
6202         search.
6204         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6206 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6208         * org.el (org-entry-get-multivalued-property)
6209         (org-entry-protect-space, org-entry-restore-space): New
6210         functions.
6211         (org-file-apps-defaults-macosx): Let postscript files be opened by
6212         preview.
6213         (org-time-stamp-inactive): Call `org-time-stamp'.
6214         (org-time-stamp): New argument `inactive'.  Also edit inacive
6215         stamps. Convert time stamp type.
6216         (org-open-file): Interpret the `default' value for the `command'
6217         in `org-file-apps'.
6219         * org-id.el (org-id-int-to-b36-one-digit)
6220         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6221         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6222         b36.
6224 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6226         * org-id.el (org-id-reverse-string): New function.
6227         (org-id-new): Use `org-id-reverse-string' to make sure the
6228         beginning chars of the ID are mutating fast.  This allows to use a
6229         directory structure to spread things better.
6230         (org-id-prefix): Changed default to nil.
6232         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6233         restore the column of the cursor position.
6235         * org-remember.el (org-remember-apply-template): Remove properties
6236         from `initial'.
6238 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6240         * org-wl.el (org-wl-open): Remove useless call to
6241         `wl-thread-open-all'.
6243         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6244         location.
6246 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6248         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6249         `org-bbdb-anniversaries'.
6251         * org.el (org-get-next-sibling, org-forward-same-level): New
6252         functions, similar to the outline versions, but invisible headings
6253         are OK.
6255 2008-09-25  Bastien Guerry  <bzg@altern.org>
6257         * org.el (org-auto-repeat-maybe): Insert a space between
6258         the timestamp's type and the timestamp itself.
6260 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6262         * org-table.el (org-table-sum): Do not format the result with %g,
6263         it does rounding when there are too many digits.
6265         * org.el (org-map-entries): Protect the keyword-selecting variables.
6267 2008-09-23  Bastien Guerry  <bzg@altern.org>
6269         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6270         against all agenda files.
6272 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6274         * org-list.el: New file, aggregating list functions from org.el
6275         and org-export-latex.el.
6277         * org.el (org-edit-src-region-extra): New option.
6279 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6281         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6282         time before 1am.
6284 2008-09-22  Bastien Guerry  <bzg@altern.org>
6286         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6288 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6290         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6291         hline work correctly.
6292         (org-plot/gnuplot-script): Put commas at the end of each script
6293         line.
6295 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6297         * org.el (org-get-refile-targets): Replace links with their
6298         descriptions
6299         (org-imenu-get-tree): Replace links with their descriptions.
6301         * org-remember.el (org-remember-apply-template): Add a new
6302         expansion for adding properties to remember items.
6304         * org.el (org-add-log-setup): Skip over drawers (properties,
6305         clocks etc) when adding notes.
6307         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6308         items as well as the start and end times.
6310         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6311         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6313         * org-remember.el (org-get-x-clipboard): Use the compat
6314         function to get clipboard values when x-selection-value is
6315         unavailable. Use substring-no-properties instead of
6316         set-text-properties to remove text properties from the clipboard
6317         value.
6319         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6320         modeline clock string, and display the full todo value in the
6321         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6322         the currently clocked task.
6323         (org-clock-string-limit): Add a custom value for the maximum
6324         length of the clock string in the modeline.
6325         (org-clock-mode-map): Add a keymap for the modeline string
6327 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6329         * org-compat.el (org-propertize): New function.
6331 2008-09-20  Bastien Guerry  <bzg@altern.org>
6333         * org-export-latex.el (org-export-latex-tables): protect exported
6334         tables from further special chars conversion.
6335         (org-export-latex-preprocess): Preserve LaTeX environments.
6336         (org-list-parse-list): Parse descriptive lists.
6337         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6338         (org-list-to-texinfo): Export descriptive lists.
6339         (org-quote-chars): Remove.
6340         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6341         (org-export-latex-list-beginning-re): Rename to
6342         `org-list-beginning-re'
6343         (org-list-item-begin): Rename to `org-list-item-beginning'
6345 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6347         * org.el (org-refile): Allow refiling to the last entry in the
6348         buffer.
6349         (org-get-tags-at): Fix bug when inheritance is turned off.
6351 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6353         * org.el (org-indent-line-function): No longer check for src
6354         regions, this is too much overhead.
6356         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6357         matching.
6359         * org.el (org-scan-tags): Make sure that tags matching is not case
6360         sensitive.  TODO keyword matching is case sensitive, however, to
6361         avoid confusion with similar words that are not meant to be
6362         keywords.
6364 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6366         * org.el (org-get-local-tags-at): New function.
6367         (org-get-local-tags): New function.
6369         * org-exp.el (org-export-get-categories): New function.
6371         * org-agenda.el (org-sorting-choice)
6372         (org-agenda-sorting-strategy, org-agenda-get-todos)
6373         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6374         (org-agenda-get-scheduled, org-agenda-get-blocks)
6375         (org-entries-lessp): Implement sorting by TODO state.
6376         (org-cmp-todo-state): New defsubst.
6378         * org-colview.el (org-colview-construct-allowed-dates): New
6379         function.
6380         (org-columns-next-allowed-value): Use
6381         `org-colview-construct-allowed-dates'.
6383         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6384         function.
6385         (org-columns-next-allowed-value): Use
6386         `org-colview-construct-allowed-dates'.
6388 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6390         * org.el (org-protect-slash): New function.
6391         (org-get-refile-targets): Use `org-protect-slash'.
6393         * org-agenda.el (org-global-tags-completion-table): New variable.
6395         * org-exp.el (org-export-handle-export-tags): New function.
6396         (org-export-preprocess-string): Call
6397         `org-export-handle-export-tags'.
6399         * org-plot.el: New file.
6401         * org-publish.el (org-publish-expand-components): Function removed.
6402         (org-publish-expand-projects): Allow components to have components.
6404 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6406         * org.el (org-indent-line-function): Do not indent in regions that
6407         are external source code.
6408         (org-yank-and-fold-if-subtree): New function.
6410         * org-agenda.el (org-agenda-todayp): New function.
6411         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6412         `org-agenda-todayp'.
6414         * org.el (org-insert-heading-respect-content)
6415         (org-insert-todo-heading-respect-content): New commands.
6416         (org-insert-heading-respect-content): New option.
6417         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6419         * org-clock.el (org-clock-find-position): Make sure the note after
6420         the clock line gets moved into the new clock drawer.
6422 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6424         * org-id.el (org-id-new): New option.
6426 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6428         * org-table.el (org-table-copy-down): Avoid overflow during
6429         increment.  Use prefix argument 0 to temporarily disable the
6430         increment.
6432 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6434         * org-exp.el (org-export-as-html): Do not turn on the major mode
6435         if the buffer will be killed anyway.
6436         (org-get-current-options): Exclude the #+TEXT field.
6437         (org-export-as-html): Make sure text before the first headline is
6438         a paragraph.
6440         * org-publish.el (org-publish-org-to): Tell the exporter that this
6441         buffer will be killed, so it is not necessary to do major mode
6442         initialization.
6444         * org-archive.el (org-archive-to-archive-sibling): Show empty
6445         lines after folding the archive sibling.
6447         * org.el (org-log-note-extra): New variable.
6449 2008-09-05  Bastien Guerry  <bzg@altern.org>
6451         * org.el (org-additional-option-like-keywords): Added keywords for
6452         the _QUOTE, _VERSE and _SRC environments.
6454         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6455         exporting _QUOTE and _VERSE environments.
6457 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6459         * org-agenda.el (org-agenda-filter-by-tag): New command.
6461         * org-exp.el (org-get-current-options): Remove angular brackets
6462         from the date entry.
6464         * org.el (org-edit-fixed-width-region): New function.
6465         (org-edit-fixed-width-region): Also try
6466         `org-edit-fixed-width-region'.
6467         (org-edit-fixed-width-region-mode): New option.
6468         (org-activate-code): Only interprete lines starting with colon
6469         plus a space as example lines.
6471         * org-remember.el (org-remember-templates): Add nil instead of
6472         empty strings to fix the length of remember templates.
6474         * org-table.el (org-calc-default-modes): Fix the time format for
6475         calc, from 12 hour to 24 hour clock.
6477 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6479         * org-agenda.el (org-agenda-get-deadlines)
6480         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6481         entries that are pre-warnings of deadlines or reminders.
6483         * org.el (org-sort-entries-or-items): Make numeric and alpha
6484         comparisons ignore any TODO keyword and priority cookie.
6486         * org-remember.el (org-remember-handler): Reinterpretation of the
6487         prefix argument.
6489 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6491         * org-agenda.el (org-agenda-get-scheduled): Use new
6492         `org-scheduled' face.
6494         * org-faces.el (org-scheduled): New face.
6496         * org-wl.el (org-wl-open): Remove incorrect declaration.
6498         * org-gnus.el (org-gnus-store-link): Support for :to information
6499         in gnus links.
6501         * org-exp.el (org-export-as-html): Fixed typo in creator
6502         information.
6503         (org-export-protect-examples): New parameter indent.  Insert extra
6504         spaces only when this parameter is specified.
6505         (org-export-preprocess-string): Call `org-export-protect-examples'
6506         with an indentation parameter when exporting to ASCII.
6508         * org-remember.el (org-remember-templates)
6509         (org-remember-apply-template): Allow the file component to be a
6510         function.
6512         * org.el (org-goto-local-search-headings): Renamed from
6513         `org-goto-local-search-forward-headings'.  Added the possibility
6514         to search backwards.
6516 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6518         * org-export-latex.el (org-export-latex): New customization
6519         group.
6521         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6523 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6525         * org-exp.el (org-html-do-expand): Allow {} to terminate
6526         tex macro
6528 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6530         * org.el (org-buffer-list): Select buffers based on major mode,
6531         not on file name.
6533 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6535         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6536         face property.
6538         * org-colview.el (org-columns-display-here): Use
6539         `org-columns-modify-value-for-display-function'.
6541         * org-colview-xemacs.el (org-columns-display-here): Use
6542         `org-columns-modify-value-for-display-function'.
6544 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6546         * org.el (org-columns-modify-value-for-display-function): New option.
6558         * org-publish.el (org-publish-file): Make sure the directory match
6559         for the publishing directory works correctly.
6561         * org-agenda.el (org-agenda-execute-calendar-command)
6562         (org-agenda-diary-entry): Additional optional argument.
6564 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6566         * org-exp.el (org-export-as-html): Add attributes also in mailto
6567         and ftp links.
6569         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6578 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6580         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6581         sure that calls from `org-export-region-as-html' do not do the
6582         special check for a subtree.
6584 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6586         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6588 2008-07-20  Juri Linkov  <juri@jurta.org>
6590         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6591         new keymap `narrow-map' instead of binding "\C-xns".
6593 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6595         * org.el (org-open-file): Use
6596         `org-open-directory-means-index-dot-org'.
6597         (org-open-directory-means-index-dot-org): New option.
6599 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6601         * org.el (org-make-link-string): Remove link attributes from
6602         description.
6603         (org-open-at-point): Remove link attributes bevore using the path.
6605         * org-exp.el (org-export-as-html): Handle link attributes.
6607         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6609         * org-table.el (org-table-to-lisp): New function.
6611         * org.el (org-narrow-to-subtree): Do not include the final newline
6612         into the narrowed region.
6614         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6615         bug with user-define skipping condition.
6617 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6619         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6621 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6623         * org-exp.el (org-export-html-style-default): Automatic overflow
6624         handling for pre fields.
6625         (org-export-as-ascii, org-export-as-html): Change default format
6626         for time stamp.
6628         * org-table.el (org-table-export): Offer completion for translator
6629         functions, and do not require a heading above the table.
6631         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6632         Cater for the case of a list starting in the first line of the
6633         buffer.
6635 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6637         * org-publish.el (org-publish-find-title): Bug fix.
6638         (org-publish-org-index): Implement new :index-style option.
6640 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6642         * org-publish.el (org-publish-timestamp-filename): Use
6643         SHA1-encoded file names in the timestamp directory.
6645 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6647         * org-publish.el (org-publish-needed-p): Be verbose about files
6648         published and files skipped.
6650         * org-exp.el (org-export-preprocess-string): Swap link
6651         normalization and inernal link targeting.
6653         * org-publish.el (org-publish-needed-p): Create timestamp
6654         directory when it does not exist.
6656 2008-07-04  Bastien Guerry  <bzg@altern.org>
6658         * org-clock.el (org-clock-out-when-done): Doc fix.
6660         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6662         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6663         Ignore case when searching for the COMMENT cookie at export time.
6665 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6667         * org-exp.el (org-get-file-contents)
6668         (org-get-and-remove-property): New functions.
6669         (org-export-handle-include-files): Handle the new prefix options.
6670         (org-export-as-html): Fix the verse environment.
6672 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6674         * org.el (org-time=, org-time<, org-time<=, org-time>)
6675         (org-time>=, org-time<>, org-2ft): New functions.
6676         (org-op-to-function): Also provide for the time testing fucntions.
6678 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6680         * org-exp.el (org-export-html-style-default): New constant.
6682 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6684         * org-exp.el (org-export-html-style-extra): New variable.
6685         (org-export-splice-style): New function.
6687 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6689         * org-exp.el (org-export-plist-vars, org-export-as-html):
6690         Implement `org-export-creator-info'.
6691         (org-export-creator-info): New option.
6693 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6695         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6696         (org-property-drawer-re, org-clock-drawer-re): New constants.
6698 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6700         * org-exp.el (org-icalendar-use-deadline)
6701         (org-icalendar-use-scheduled): New options.
6702         (org-icalendar-include-todo): Default changed to t.
6703         (org-print-icalendar-entries): Implement better utilization of
6704         scheduling and deadline time stamps.
6705         (org-export-target-internal-links, org-export-as-html): Allow file
6706         lines without the "file:" prefix if the file path is an absolute
6707         path or starts with ".".
6709         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6710         lastweek etc.
6711         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6713 2008-06-18  Glenn Morris  <rgm@gnu.org>
6714         * org.el (org-map-entries): Let-bind `file'.
6716 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6718         * org.el (org-agenda-skip-archived-trees): Docstring now
6719         discourages using this.
6720         (org-scan-tags): Check for org-agenda-archives-mode.
6721         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6722         (org-agenda-files): Functionality of second arg changed.
6724         * org-agenda.el (org-agenda-archives-mode): New variable
6725         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6726         (org-search-view, org-todo-list, org-tags-view)
6727         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6728         `ifmode' argument.
6729         (org-agenda-quit): Reset the archives mode.
6730         (org-agenda-archives-mode): New command.
6731         (org-agenda-set-mode-name): Include archives info.
6733 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6735         * org.el (org-paste-subtree): Make sure the yanked headline is
6736         visible if it was yanked at a visible point.
6737         (org-move-item-up): Fix the bug with moving white space at the end
6738         of the item.
6739         (org-show-empty-lines-in-parent): New function.
6741 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6743         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6745         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6747         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6748         agenda prefix as well.
6750         * org-publish.el (org-publish-org-index): Make a properly indented
6751         list.
6753         * org.el (org-calendar-agenda-action-key): New option.
6754         (org-get-cursor-date): New function.
6755         (org-mark-entry-for-agenda-action): New command.
6756         (org-overriding-default-time): New variable.
6757         (org-read-date): Respect `org-overriding-default-time'.
6759         * org-remember.el (org-remember-apply-template): Respect the
6760         ovverriding default time.
6762         * org-agenda.el (org-agenda-action-marker): New variable.
6763         (org-agenda-action): New command.
6764         (org-agenda-do-action): New function.
6766 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6768         * org.el (org-schedule, org-deadline): Protect scheduled and
6769         deadline tasks against changes that accidently remove the
6770         repeater.  Also show a message with the new date when done.
6772 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6774         * org.el (org-beginning-of-line): Cater for the case when there
6775         are tags but no headline text.
6776         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6777         it set.
6779 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6781         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6782         the return value is nil instead of "nil" when there is no match.
6784         * org-exp.el (org-insert-centered): Use fill-column instead of
6785         80.
6786         (org-export-as-ascii): Use string-width to measure the width of
6787         the heading.
6789         * org.el (org-diary-to-ical-string): No longer kill buffer
6790         FROMBUF, this is now done by the caller.
6792         * org-exp.el (org-print-icalendar-entries): Move the call to
6793         `org-diary-to-ical-string' out of the loop, and kill the buffer
6794         afterwords.
6796         * org-remember.el (org-remember-visit-immediately): Position
6797         cursor after moving to the note.
6798         (org-remember-apply-template): Use a text property to record the
6799         cursor position.
6800         (org-remember-handler): Align tags after pasting the note.
6802 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6804         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6806         * org-agenda.el (org-agenda-open-link): If there is an
6807         org-bbdb-name property in the current line, jump to that bbdb
6808         entry.
6810         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6811         text property, so that the agenda knows where this entry comes
6812         from.
6814         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6815         interaction between clocking-in from the agenda, and  automatic
6816         task state switching.
6818         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6820         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6821         zmacs-region stays after this command in XEmacs.
6823 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6825         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6827         * org-remember.el (org-remember-templates): Fix bug in
6828         customization type definition.
6830         * org.el (org-map-entries): New function.
6832 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6834         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6835         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6837 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6839         * org-remember.el (org-jump-to-target-location): New variable.
6840         (org-remember-apply-template): Set
6841         `org-remember-apply-template' if requested by template.
6842         (org-remember-handler): Start an idle timer to jump to
6843         remember location.
6845         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6847         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6848         file tags.
6849         (org-get-tags-at): Add the content of `org-file-tags'.
6851         * org-exp.el (org-export-handle-comments): Fix bug with several
6852         comment lines after each other.
6853         (org-number-to-roman, org-number-to-counter): New functions.
6854         (org-export-section-number-format): New option.
6856 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6858         * org-exp.el (org-export-protect-examples): Catch the case of a
6859         missing end_example line.
6861         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6862         `org-file-tags' to nil.
6864         * org-colview.el (org-columns-next-allowed-value): Handle next
6865         argument NTH to directly select a value.
6867         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6868         argument NTH to directly select a value.
6870 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6872         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6874 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6876         * org.el (org-columns-ellipses): New option.
6878 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6880         * org-colview.el (org-columns-add-ellipses): New function.
6881         (org-columns-compact-links): New function.
6882         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6883         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6884         when in agenda.
6885         (org-columns-edit-value): Fixed bug with editing values from
6886         agenda column view.
6887         (org-columns-redo): Also redo the agenda itself.
6889 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6891         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6892         option.
6894         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6896         * org-exp.el (org-export-ascii-preprocess): Renamed from
6897         `org-export-ascii-clean-string'.
6898         (org-export-kill-licensed-text)
6899         (org-export-define-heading-targets)
6900         (org-export-handle-invisible-targets)
6901         (org-export-target-internal-links)
6902         (org-export-remove-or-extract-drawers)
6903         (org-export-remove-archived-trees)
6904         (org-export-protect-quoted-subtrees)
6905         (org-export-protect-verbatim, org-export-protect-examples)
6906         (org-export-select-backend-specific-text)
6907         (org-export-mark-blockquote-and-verse)
6908         (org-export-remove-comment-blocks-and-subtrees)
6909         (org-export-handle-comments, org-export-mark-radio-links)
6910         (org-export-remove-special-table-lines)
6911         (org-export-normalize-links)
6912         (org-export-concatenate-multiline-links)
6913         (org-export-concatenate-multiline-emphasis): New functions,
6914         obtained from spliiting the export preprocessor.
6916         * org-table.el (org-table-recalculate): Improve error message if
6917         the row number is invalid.
6919 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6921         * org-archive.el (org-archive-save-context-info): Fix bugs in
6922         customization setup and docstring.
6924         * org-exp.el (org-export-html-style): Changed the size of in the
6925         <pre> element to 90%.
6927 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6929         * org.el (org-find-src-example-start): Function removed.
6930         (org-edit-src-find-region-and-lang): New function.
6932 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6934         * org.el (org-edit-src-exit): New function.
6935         (org-exit-edit-mode): New minor mode.
6937         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6938         comment-like lines from protected examples.
6940         * org.el (org-edit-src-example, org-find-src-example-start)
6941         (org-protect-source-example, org-edit-special): New functions.
6943 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6945         * org-publish.el (org-publish-project-alist): Fix typo in
6946         docstring.
6947         (org-publish-project-alist): Handle :index-title property.
6949 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6951         * org-export-latex.el (org-export-as-latex): Make sure region
6952         bounds are correct.  Parse subtree properties relating to export.
6954         * org-exp.el (org-export-add-options-to-plist): New function.
6955         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6957 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6959         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6960         EXPORT_TITLE.
6962         * org-exp.el (org-export-get-title-from-subtree)
6963         (org-export-as-ascii, org-export-as-html): Make sure the original
6964         region-beginning and region-end are used, even after moving
6965         point.
6966         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6967         property.
6969         * org-remember.el (org-remember-last-stored-marker): New variable.
6970         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6971         (org-remember-handler): Also use marker to remember
6972         last-stored position.
6974         * org.el (org-goto-marker-or-bmk): New function.
6976 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6978         * org.el (org-file-properties): Renamed from `org-local-properties'.
6979         (org-scan-tags): Take file tags into account.
6980         (org-tags-match-list-sublevels): Default changed to t.
6982         * org-exp.el (org-export-as-html): Close paragraph after a
6983         footnote.
6985         * org.el (org-update-parent-todo-statistics): New function.
6987         * org-exp.el (org-icalendar-store-UID): New option.
6988         (org-icalendar-force-UID): Option removed.
6989         (org-print-icalendar-entries): IMplement UIDs.
6991 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6993         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6995 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6997         * org-faces.el (org-column): Document how this face is being used
6998         and why sometimes the background faces shine through.
7000         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7002         * org-publish.el (org-publish-attachment): Create publishing
7003         directory if it does not yet exist.
7005         * org-table.el (org-calc-default-modes): Change default number
7006         format to (float 8).
7008         * org.el (org-olpath-completing-read): New function.
7009         (org-time-clocksum-format): New option.
7010         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7012         * org-clock.el (org-clock-display, org-clock-out)
7013         (org-update-mode-line): Use `org-time-clocksum-format'.
7015         * org-colview-xemacs.el (org-columns-number-to-string): Use
7016         `org-time-clocksum-format'.
7018         * org-colview.el (org-columns-number-to-string): Use
7019         `org-time-clocksum-format'.
7021 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7023         * org-id.el: New file, move from contrib to core.
7025         * org-exp.el (org-icalendar-force-UID): New option.
7027 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7029         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7030         shifted by one day if theere is a date range without an end
7031         time.
7033         * org.el (org-try-structure-completion): New function.
7035 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7037         * org.el (org-set-font-lock-defaults): Improve fontification of
7038         description lists.
7039         (org-insert-item): Handle description lists.
7040         (org-adaptive-fill-function): Improve auto indentation in
7041         description lists.
7043         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7044         Implement VERSE environment.
7045         (org-export-preprocess-string): Implement the COMMENT
7046         environment.
7048         * org-export-latex.el (org-export-latex-preprocess): Implement
7049         VERSE environment.
7051 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7053         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7054         option.
7056 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7058         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7060         * org.el (org-quote-csv-field): New functions.
7062         * org-table.el (org-table-export-default-format): Remove :splice
7063         from default format, we get the same effect by not specifying
7064         :tstart and :tend.
7065         (org-table-export): Improve setup, distinguish better between
7066         interactive and non-interactive use, allow specifying the format
7067         on the fly, better protection against wrong file names.
7068         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7069         and :tend when :splice is omitted.
7071 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7073         * org-clock.el (org-clock-select-task): Make sure the selection
7074         letters are 1-9 and A-Z, no special characters.
7076 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7078         * org-exp.el (org-export-htmlize): New group.
7079         (org-export-htmlize-output-type)
7080         (org-export-htmlize-css-font-prefix): New options.
7081         (org-export-htmlize-region-for-paste): New function.
7082         (org-export-htmlize-generate-css): New command.
7084 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7086         * org/org.el (org-modules, org-format-latex-options):
7087         * org/org-archive.el (org-archive-stamp-time)
7088         (org-archive-save-context-info):
7089         * org/org-faces.el (org-hide):
7090         * org/org-irc.el (org-irc-parse-link):
7091         * org/org-macs.el (org-call-with-arg, org-autoload):
7092         * org/org-mew.el (org-mew-store-link):
7093         * org/org-remember.el (org-remember-store-without-prompt)
7094         (org-remember-templates): Fix typos in docstrings.
7096         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7098         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7099         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7100         (org-bbdb-anniv-split): Fix typos in docstrings.
7102         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7103         (org-publish-use-timestamps-flag): Reflow docstring.
7104         (org-publish-files-alist): Fix typos in docstring.
7106 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7108         * org.el (org-set-visibility-according-to-property): New function.
7109         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7110         and compute the regular expressions, and update font-lock.
7111         (org-property-re): Allow a dash in property names.
7113         * org-archive.el (org-extract-archive-file): Insert the file name
7114         without the path into the format, to allow the location format to
7115         contain a subdirectory.
7117         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7118         of buffer, and the `org-agenda-type' property undefined, use the
7119         value from the character before.
7121         * org.el (org-add-planning-info): Don't let indentation for
7122         would-be timestamp become extra whitespace at the end of headline.
7124 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7126         * org.el (org-remove-double-quotes, org-file-contents): New
7127         functions.
7129         * org-exp.el (org-infile-export-plist): Also parse the
7130         contents of #+SETUPFILE files, recursively.
7132         * org.el (org-set-regexps-and-options): Also parse the
7133         contents of #+SETUPFILE files, recursively.
7135         * org-exp.el (org-export-handle-include-files): New function.
7136         (org-export-preprocess-string): Call
7137         `org-export-handle-include-files'.
7139         * org.el (org-delete-property-globally)
7140         (org-delete-property, org-set-property): Ignore case during
7141         completion.
7142         (org-set-property): Use `org-completing-read' instead of
7143         `completing-read'.
7145         * org.el (org-complete-expand-structure-template): New,
7146         experimental function.
7147         (org-structure-template-alist): New, experimental option.
7148         (org-complete): Call `org-complete-expand-structure-template'.
7150 2008-05-06  Bastien Guerry  <bzg@altern.org>
7152         * org-export-latex.el (org-export-latex-preprocess): Added
7153         support for blockquotes.
7155 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7157         * org.el (org-read-date-analyze): Catch the case where only a
7158         weekday is given.
7160 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7162         * org.el (org-set-font-lock-defaults): Make the description
7163         tag bold.
7165         * org-exp.el (org-export-as-html, org-close-li): Implement
7166         description lists.
7168 2008-05-04  Jason Riedy  <jason@acm.org>
7170         * org-table.el (*orgtbl-default-fmt*): New variable.
7171         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7172         when there is no other fmt available.
7174         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7175         :tend to suppress the appropriate string.
7177         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7178         table.
7180 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7182         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7183         read date.
7185         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7186         New function.
7188         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7189         New function.
7191 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7193         * org-clock.el (org-clock-find-position): Don't include notes
7194         into clock drawer.
7196         * org-archive.el (org-archive-subtree): No longer remove an
7197         extra line after cutting the subtree.  `org-cut-subtree' already
7198         takes care of this.
7200         * org-remember.el (org-remember-handler): Only kill the target
7201         buffer if it does not contain the running clock.
7203         * org.el (org-markers-to-move): New variable.
7204         (org-save-markers-in-region, org-check-and-save-marker)
7205         (org-reinstall-markers-in-region): New function.
7206         (org-move-subtree-down, org-copy-subtree): Remember relative
7207         marker positions before cutting.
7208         (org-move-subtree-down, org-paste-subtree): Restore relative
7209         marker positions after pasting.
7211         * org-remember.el (org-remember-clock-out-on-exit): New option.
7212         (org-remember-finalize): Clock out only if the setting in
7213         `org-remember-clock-out-on-exit' requires it.
7214         (org-remember-handler): Do the cleanup in the buffer, to make sure
7215         that the clock marker remains in tact.
7217 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7219         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7220         (org-clock-in): Make sure that also tasks outside the narrowed
7221         region will be clocked in correctly.
7222         (org-clock-insert-selection-line): Widen the buffer so that we can
7223         find the correct task heading.
7225         * org.el (org-base-buffer): New function.
7227         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7228         and ";" are escaped.
7229         (org-print-icalendar-entries): Also apply
7230         `org-icalendar-cleanup-string' to the headline, not only to the
7231         summary property.
7233 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7235         * org-exp.el (org-export-preprocess-hook): New hook.
7236         (org-export-preprocess-string): Call
7237         `org-export-preprocess-hook'.
7239         * org.el (org-font-lock-hook): New variable.
7240         (org-font-lock-hook): New function.
7241         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7243 ;; Local Variables:
7244 ;; coding: utf-8
7245 ;; add-log-time-zone-rule: t
7246 ;; End:
7248     Copyright (C) 2008  Free Software Foundation, Inc.
7250   This file is part of GNU Emacs.
7252   GNU Emacs is free software: you can redistribute it and/or modify
7253   it under the terms of the GNU General Public License as published by
7254   the Free Software Foundation, either version 3 of the License, or
7255   (at your option) any later version.
7257   GNU Emacs is distributed in the hope that it will be useful,
7258   but WITHOUT ANY WARRANTY; without even the implied warranty of
7259   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7260   GNU General Public License for more details.
7262   You should have received a copy of the GNU General Public License
7263   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7265 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c