Fix deadline/scheduled updating if there is a repeater in *another* stamp
[rgr-org-mode.git] / lisp / ChangeLog
blob6a7b9205a2b9a52552e69118287ccd2c6ad2f4c5
1 2010-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-deadline, org-schedule): Allow updating if the
4         relevant time stamp does not have a repeater, i.e. do not require
5         that no time stamp has a repeater.
7         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
8         new white space before the tags.
10         * org-latex.el (org-export-as-latex): Do nit require the buffer to
11         be visiting a file when only exporting to a buffer or string.
12         (org-export-latex-fix-inputenc): Only save the buffer is there is
13         a file name attached to it.
15 2010-02-09  Dan Davison  <davison@stats.ox.ac.uk>
17         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
19 2010-02-08  Carsten Dominik  <carsten.dominik@gmail.com>
21         * org.el (org-fontify-meta-lines-and-blocks): Honor
22         `org-fontify-quote-and-verse-blocks'.
24         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
26 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
28         * org.el (org-open-at-point): Also check for text property
29         org-linked-text before offering collected links.
31 2010-02-03  Stephen Eglen  <stephen@gnu.org>
33         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
34         Optionally extract time specification from text and add to the
35         timestamp.
37 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
39         * org-exp.el (org-html-entities): Fix typo.
41         * org-latex.el (org-export-latex-make-header): Use \providecommand
42         to make sure the \alert macro is defined.
44         * org.el (org-format-latex-signal-error)
45         (org-create-formula-image): Use `org-format-latex-signal-error'.
47 2010-02-02  Stephen Eglen  <stephen@gnu.org>
49         * org.el (org-store-link): For dired buffers, use
50         default-directory as link name if dired-get-filename returns
51         nil.
53 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
55         * org-exp.el (org-export-concatenate-multiline-links): The for
56         protectedness at beginning of match.
58         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
59         AUTO as a coding system, instead default to utf8.
61 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
63         * org.el (org-block-todo-from-children-or-siblings-or-parent)
64         (org-block-todo-from-checkboxes): Respect the local variable
65         value when deciding if blocking should be active.
67         * org-latex.el (org-export-latex-make-header): Define the align
68         macro if it is not yet defined.
70         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
71         `org-insert-heading' with the INVISIBLE-OK argument.
73         * org-mac-message.el (org-mac-message-insert-flagged): Call
74         `org-insert-heading' with the INVISIBLE-OK argument.
76         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
78         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
79         prompt message.
81         * org-html.el (org-html-level-start): Use the
82         `html-container-class' text property to set an additional class
83         for an outline container.
85         * org-exp.el (org-export-remember-html-container-classes): New
86         function.
87         (org-export-preprocess-string): Call
88         `org-export-remember-html-container-classes'.
90         * org.el (org-cycle): Mention level cycling in the docstring.
91         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
93         * org-remember.el (org-remember-apply-template): Do file insertion
94         first.
96 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
98         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
99         problem with mis-aligned graphs when showing habits.
101 2010-01-28  Mikael Fornius  <mfo@abc.se>
103         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
104         when assigning. Begin using numerical characters when all in name
105         is used up. This is to spare alphanumeric characters for better
106         match with other keywords.
108 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
110         * org-exp.el (org-export-preprocess-hook): Improve documentation.
112         * org-latex.el (org-export-latex-preprocess): More consistent
113         conversion and protection of the words LaTeX and TeX.
114         (org-export-latex-fontify-headline, org-export-latex-preprocess):
115         Allow angle brackets in commands, for beamer.
117 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
119         * org-clock.el (org-clock-in): Improve the look of the clock line
120         by formatting links.
122 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
124         * org-latex.el (org-export-latex-classes): Use AUTO as the place
125         holder string for the coding system.  And improve the
126         documentation.
127         (org-export-latex-fix-inputenc): Only modify the coding system if
128         it is given by the placeholder AUTO.
130 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
132         * org-clock.el (org-task-overrun-text): New option.
133         (org-task-overrun, org-clock-update-period): New variables.
134         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
135         overrun clock.
136         (org-clock-notify-once-if-expired): Check if clock is overrun.
138         * org-faces.el: New face `org-mode-line-clock-overrun'.
140 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
142         * org.el (org-narrow-to-subtree): Position the end of the narrowed
143         region before the line with the next heading, to prevent the user
144         from prepending text to the next headline.
146 2010-01-20  Stephen Eglen  <stephen@gnu.org>
148         * org-agenda.el (org-get-time-of-day): Use
149         org-agenda-time-leading-zero to allow leading zero (rather than
150         space) for times.
152 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
154         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
155         org-datetree.el is loaded.
157         * org-datetree.el: autoload `org-datetree-find-day-create'
159         * org-latex.el (org-export-latex-hyperref-format): New option.
160         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
162 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
164         * org-ctags.el (org-ctags-enable): Change order of functions.
165         (org-ctags-create-tags): Add wildcard to file name expansion.
167 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
169         * org.el (org-entry-properties): Fix some important bugs.
171 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
173         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
174         the table is not explicitly given.
176 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
178         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
179         as value.
180         (org-clock-out-if-current): Work with the new list value of
181         `org-clock-out-when-done'.
182         (org-clock-out, org-clock-out-if-current): Avoid circular logic
183         between clocking out and state changes.
185         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
187         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
188         accident protect a character that is before a backslash.
190 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
192         * org-agenda.el (org-diary-class): Use
193         `org-order-calendar-date-args'.
195         * org.el (org-order-calendar-date-args): New function.
197         * org-exp.el (org-export-target-internal-links): Check for
198         protectedness after the first bracket.
200         * org.el (org-entry-properties): Don't match wrong-case TODO
201         keywords.
203         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
204         Document that ARG is passed through to remove the date.
205         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
206         not read a date when the user has given a `C-u' prefix.
208 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
210         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
211         tags are hidden.
213 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
215         * org-latex.el (org-export-latex-fix-inputenc): New function.
216         (org-export-latex-inputenc-alist): New option.
218         * org-exp.el (org-export): New key SPC to publish enclosing
219         subtree.
221 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
223         * org-indent.el (org-indent-add-properties): Catch case when there
224         is no headline in the buffer.
226 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
228         * org-exp.el (org-html-entities): Add checkmark symbol.
230         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
231         verbatim code for ASCII export.
233         * org.el (org-update-statistics-cookies): Also see checkboxes in
234         ordered lists.
236 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
238         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
239         key.
241         * org-beamer.el (org-beamer-amend-header): Change the location
242         where `org-beamer-header-extra' is inserted.
244         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
245         just for computing this regexp.
247 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
249         * org-beamer.el (org-beamer-frame-default-options): New option.
250         (org-beamer-sectioning): Use default options if the user does not
251         have defined any.
252         (org-beamer-fix-toc): Put a frame around the table of contents.
254         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
255         sure case-folding works well when processing comment stuff.
257         * org-latex.el (org-export-latex-after-save-hook): New hook.
258         (org-export-as-latex): Run the new hook.
260 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
262         * org-beamer.el (org-beamer-environments-default): Add the note
263         environments.
264         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
265         lines and collect and combine the content.
266         (org-beamer-after-initial-vars): Check for note tags and make sure
267         they will be seen like a property.
269         * org.el (org-offer-links-in-entry): Fix bug when there is a
270         single link.
272         * org-exp.el (org-export): Make sure the mark is activated, also
273         when `transient-mark-mode' is off.
275         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
276         (org-agenda-search-view-search-words-only): Obsolete variable, is
277         now an alias for `org-agenda-search-view-always-boolean'.
278         (org-agenda-search-view-force-full-words): New option.
279         (org-search-view): Improve docstring, and implement a better logic
280         for Boolean and phrase searches.
281         (org-agenda-last-search-view-search-was-boolean): New variable.
282         (org-agenda-manipulate-query): Consider the type of the last
283         search when modifying the search string.
285 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
287         * org-latex.el (org-export-as-latex): Do the first letbind in the
288         right moment.
290         * org-agenda.el (org-get-entries-from-diary): Add the new face to
291         these entries.
293         * org-faces.el (org-agenda-diary): New face.
295         * org.el (org-make-link-regexps): Allow regexp-special characters
296         in link types.
297         (org-open-file): When in-emacs is `system', also force system
298         opening, like when the value was `(16)'.
299         (org-update-statistics-cookies): Handle entries without children.
301         * org-exp.el
302         (org-export-preprocess-before-normalizing-links-hook): New hook.
303         (org-export-preprocess-string): Run the new hook.
305         * org.el (org-offer-links-in-entry): Make RET open all links.
307         * org-html.el (org-export-as-html): Remove any left-over display
308         properties in the html file.
310         * org-wl.el (org-wl-store-link): Work-around for format bug with
311         text properties.
313         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
314         invisibility while adding the graphs.
316 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
318         * org-remember.el (org-select-remember-template): Use C letter to
319         customize remember templates.
321         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
322         Move cursor to next visible line.
324 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
326         * org-beamer.el (org-beamer-sectioning): Leave columns environment
327         by specifying 0 or 1 for column width.
328         (org-beamer-column-widths): Make 0 stand for 0.0.
330 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
332         * org-exp.el (org-export-mark-radio-links): Don't match inside
333         <<target>>.
335         * org.el (org-format-latex-header-extra): New variable.
336         (org-format-latex): Set org-format-latex-header-extra from
337         in-buffer stuff.
338         (org-format-latex): Add org-format-latex-header-extra to the
339         variables on which image creation depends.
340         (org-create-formula-image): Add the header stuff from in-buffer
341         settings.
342         (org-read-date-analyze): Base the analysis for future preference
343         on NOW, not on the default date.
345         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
346         for TODO keyword in inline tasks.
348         * org.el (org-log-note-headings): New headings for removing
349         deadline or scheduling date.
350         (org-deadline, org-schedule): Arrange for logging when removing a
351         date.
352         (org-add-log-note): Handle deadline and scheduling removal.
354 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
356         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
358 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
360         * org-agenda.el (org-diary-class): New function.
362 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
364         * org-latex.el (org-export-latex-preprocess): Do process the text
365         of a radio target.
367 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
369         * org.el (org-entry-properties): Add TIMESTAMP properties back
370         in.
372 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
374         * org.el (org-all-time-keywords): New variable.
375         (org-set-regexps-and-options): Set `org-all-time-keywords'.
376         (org-entry-blocked-p): New function.
377         (org-special-properties): Add BLOCKED as a new special property.
378         (org-entry-properties): New optional argument SPECIFIC, only parse
379         for this property when it is specified.
380         (org-entry-get): Pass a SPECIFIC argument to
381         `org-entry-properties'.
383         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
385 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
387         * org-latex.el (org-export-latex-tables): No forced line end if
388         there is no caption.
390 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
392         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
393         package.
395         * org-latex.el (org-export-latex-tables): Only add a caption when
396         macro in in longtable environments if one has been defined.
398         * org-html.el (org-export-as-html): Only take title from buffer if
399         not exporting body-only.
401         * org-latex.el (org-export-latex-preprocess): Better version of
402         the regular expression for protecting LaTeX macros.
403         (org-export-latex-preprocess): Start searching for macros to
404         protect from beginning of buffer.
406         * org-exp.el (org-export-target-internal-links): Check for
407         protectedness earlier in the string.
409         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
410         case sensitively.
412         * org-id.el (org-id-store-link): Match TODO keywords case
413         sensitively.
415         * org.el (org-heading-components, org-get-outline-path)
416         (org-display-outline-path): Match TODO keywords case sensitively.
418         * org-latex.el (org-export-as-latex): Ignore read-only
419         properties.
421         * org-exp.el (org-export-preprocess-string): Remove any
422         `read-only' properties.
424         * org-agenda.el (org-agenda-inactive-leader): New option.
425         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
426         (org-tags-view): Prompt for matcher if MATCH is an empty string.
427         (org-todo-list): Prompt for matcher if ARG is an empty string.
429 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
431         * org.el (org-open-link-functions): New hook.
432         (org-open-at-point): Run `org-open-link-functions'.
434 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
437         stamps as well.
439         * org.el (org-inhibit-startup-visibility-stuff): New variable.
440         (org-mode): Don't do startup visibility if inhibited.
441         (org-outline-overlay-data, org-set-outline-overlay-data): New
442         functions.
443         (org-save-outline-visibility): New macro.
444         (org-log-note-headings): Document that one should not change the
445         `state' note format.
447 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
449         * org.el (org-make-link-regexps): Capture link path into a group.
451 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
453         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
454         the options plist.
456 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
458         * org.el (org-startup-with-beamer-mode): New option.
459         (org-property-changed-functions)
460         (org-property-allowed-value-functions): New hooks.
461         (org-entry-put, org-property-get-allowed-values): Run the new
462         hooks.
463         (org-property-next-allowed-value): Run the new hooks.
465         * org-exp.el (org-export-select-backend-specific-text): Add the
466         special beamer tags.
468         * org-beamer.el
469         (org-export-preprocess-before-selecting-backend-code-hook): New
470         file.
472         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
473         (org-export-as-latex): Run
474         `org-export-latex-after-initial-vars-hook'.
475         (org-export-latex-format-toc-function)
476         (org-export-latex-make-header): Call
477         `org-export-latex-format-toc-function'.
479         * org.el (org-fill-template): Make template searches case sensitive.
481         * org-exp.el (org-export): Use "1" as a sign to export only the
482         subtree.
484         * org-colview-xemacs.el (org-columns-edit-value): Use
485         org-unrestricted property.
487         * org-colview.el (org-columns-edit-value):  Use
488         org-unrestricted property.
490         * org.el (org-compute-property-at-point): Set org-unrestricted
491         text property if the list contains ":ETC".
492         (org-insert-property-drawer):  Use
493         org-unrestricted property.
495         * org-exp.el
496         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
497         (org-export-preprocess-string): Run
498         `org-export-preprocess-before-selecting-backend-code-hook'.
500         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
502         * org-latex.el (org-export-region-as-latex): Run
503         `org-export-first-hook'.
505         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
507         * org-docbook.el (org-export-as-docbook): Run
508         `org-export-first-hook'.
510         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
512         * org-exp.el (org-export-first-hook): New hook.
514 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
516         * org-list.el (org-previous-item): Exit at the beginning of the
517         buffer.
519         * org-id.el (org-id-locations-save): Only write the id locations
520         if any are defined.
522         * org-archive.el (org-archive-all-done): Make this work in a file
523         with org-odd-levels-only set.
525         * org.el (org-get-refile-targets): Catch the case when a buffer
526         has no file.
528         * org-latex.el (org-export-as-latex): Cleanup forced line ends
529         where they are not needed.
530         (org-export-latex-subcontent): Remove unnecessary newlines.
532 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
534         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
535         (org-export-latex-fontify): Fix regexp bug that takes special
536         care of protecting the right boundary characters in emphasis
537         matches.
538         (org-export-latex-preprocess): Allow multiple arguments to latex
539         macros.
541         * org.el (org-make-link-regexps): Use John Gruber's regexp for
542         urls.
544         * org-macs.el (org-re): Interpret :punct: in regexps.
546         * org-exp.el (org-export-replace-src-segments-and-examples): Also
547         take the final newline after the END line.
549         * org.el (org-clean-visibility-after-subtree-move): Only fix
550         entries that are not entirely invisible already.
551         (org-insert-link): Respect org-link-file-path-type for
552         "docview:" links in addition to "file:" links.
554 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
556         * org-exp.el (org-export-format-source-code-or-example): Avoid
557         additional extra white lines in LaTeX.
559         * org-list.el (org-list-parse-list): Leave empty lines after the
560         list, don't consider them as part of the list.
562         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
563         searches.
565         * org-clock.el (org-clock-select-task): Convert integer to
566         character for XEmacs.
568 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
570         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
571         compatible.
573 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
575         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
576         variable.
577         (org-set-tags): Use it.
579 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
581         * org-list.el (org-empty-line-terminates-plain-lists): Update
582         docstring.
584         * org.el (org-format-latex): Fix link creation for processed latex
585         snippets.
587 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
589         * org-footnote.el (org-footnote-normalize): Protect replacement
590         text.
592         * org.el (org-inside-latex-macro-p): Save match data.
594 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
596         * org-docview.el: New file.
598 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
600         * org-latex.el (org-export-latex-class-options): New variable.
601         (org-export-latex-set-initial-vars): Use the class options.
603         * org.el (org-forward-same-level): Stop at headings that start
604         with an invisible character.
605         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
607 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
609         * org-footnote.el (org-footnote-normalize): Don't take optional
610         arguments in LaTeX macros as footnotes.
612         * org.el (org-inside-latex-macro-p): New function.
614         * org-latex.el (org-latex-to-pdf-process): Change customization
615         group to `org-export-pdf'.
617         * org-agenda.el (org-agenda-get-blocks): Look at time string also
618         on days after the first one.
620         * org.el (org-insert-heading): Also check for item before assuming
621         before-first-heading condition.
623         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
624         (org-export-pdf-logfiles): New option.
625         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
626         (org-export-pdf-logfiles): Fix customization type.
628         * org.el (org-insert-link): Improve error message when there is no
629         default link to select with RET.
631         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
632         parameter list.
634 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
636         * org-latex.el (org-export-latex-parse-global)
637         (org-export-latex-parse-content)
638         (org-export-latex-parse-subcontent): Use
639         `org-re-search-forward-unprotected'.
640         (org-export-as-pdf): Remove log files produced by XeTeX.
642         * org-macs.el (org-re-search-forward-unprotected): New function.
644 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
646         * org-colview.el (org-agenda-colview-summarize): Sort out some
647         confusion between properties and titles, which resulted in
648         agenda summaries not working if a title was set for a column.
650 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
652         * org-mobile.el (org-mobile-agendas): New option.
653         (org-mobile-sumo-agenda-command): Select the right agendas.
655         * org-latex.el (org-export-latex-format-image): Preserve the
656         original-indentation property.
658 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
660         * org-clock.el (org-clock-insert-selection-line): Catch error when
661         an old tasks no longer exists.
663         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
664         (org-export-as-pdf): Don't remove the old PDF file before making
665         the new one.
667         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
668         (org-mouse-context-menu): Use `org-looking-back'.
670         * org.el (org-cycle-level): Use `org-looking-back'.
672         * org-list.el (org-cycle-item-indentation): Use
673         `org-looking-back'.
675         * org-compat.el (org-looking-back): New function.
677         * org.el (org-insert-heading): Catch before-first-headline when
678         inserting a headline.
680 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
682         * org-latex.el (org-export-latex-format-image): Indent figure
683         environment, so that it does not interrupt plain list.
685         * org.el (org-open-at-point): Allow long link descriptions.
687 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
689         * org-html.el (org-export-as-html): Remove empty lines at the
690         beginning of the exported text.
692 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
694         * org-protocol.el (org-protocol-remember): Cater for empty title,
695         region, link.
697         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
698         agenda after adding new entry.
699         (org-agenda-get-represented-tags): New function.
700         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
701         to get a list of tags in the agenda.
703         * org-datetree.el (org-datetree-find-day-create): Fix regular
704         expression.
706         * org.el (org-display-outline-path): Use a format specifier for
707         message, to avoid problems with heading containing `%'.
709         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
710         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
711         (org-agenda-fix-displayed-tags): New function.
712         (org-agenda-do-context-action): Just call
713         `org-display-outline-path', without piping the result through
714         `message'.
716         * org-latex.el (org-export-latex-preprocess): Protect secondary
717         footnote references.
719         * org-indent.el (org-indent-initialize): Avoid empty strings as
720         line prefixes.
722         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
723         hat checking for the mark does not throw an error.
724         (org-agenda-diary-entry-in-org-file): Catch the case that there is
725         not `day' text property in the cursor line.
727         * org.el (org-sort-entries-or-items): Make sure that the final
728         entry has a newline before doing the sorting.
730         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
731         property at the beginning of the line.
733         * org.el (org-make-link-string): Don't allow a description with
734         only white space.
736 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
738         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
739         (org-agenda-insert-diary-as-top-level): New function.
740         (org-agenda-add-entry-to-org-agenda-diary-file): Call
741         `org-agenda-insert-diary-as-top-level'.
743         * org.el (org-occur-in-agenda-files): Make sure none of the
744         buffers is narrowed.
745         (org-activate-plain-links): Add the face property here.
746         (org-set-font-lock-defaults): Do not add the face to plain links,
747         the activator function does this.
749         * org-habit.el (org-is-habit-p): Add doc string.
751 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
753         * org-archive.el (org-archive-subtree-default-with-confirmation):
754         Autoload.
756         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
757         after match optional (happens at the end of a line...).
759         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
760         for special blocks.
762         * org-faces.el (org-copy-face): Set lisp indentation.
763         (org-quote, org-verse): New faces.
765         * org-agenda.el (org-agenda-remove-date): Remove variable.
767 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
769         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
771 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
773         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
774         hash keys to cache and re-use images generated by the
775         org-exp-blocks interface to ditaa and dot.
777 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
779         * org-html.el (org-export-as-html): Move the home/up link into
780         the content div.
782         * org.el (org-export-latex-packages-alist): Option definition
783         moved here from org-latex.el.
785 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
787         * org.el (org-format-latex): Latex images are now saved to files
788         named by the sha1 hash of the latex source text avoiding
789         regeneration of identical images.
791 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
793         * org-html.el (org-export-html-home/up-format): Add an ID to the
794         up/home div.
796 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
798         * org-wl.el (org-wl-store-link): Handle the case that
799         `wl-use-petname' is set.
801         * org.el (org-set-effort): Improve prompt.
802         (org-get-outline-path): Widen to get full path.
803         (org-compact-display-after-subtree-move): Function removed.
805         * org-latex.el (org-export-as-latex): Add the :drawers property.
807 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
809         * org.el (org-speed-commands-user): Allow documentation headlines.
810         (org-speed-commands-default): Organize the value of this constant
811         with descriptive headlines.
812         (org-print-speed-command): Output the headlines.
814 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
816         * org-agenda.el (org-agenda-show-outline-path): New option.
817         (org-agenda-do-context-action): New function.
818         (org-agenda-next-line, org-agenda-previous-line): Use
819         `org-agenda-do-context-action'.
821         * org.el (org-use-speed-commands): Allow function value.
822         (org-speed-commands-default): Make headline motion safe, so that
823         these commands always end on a headline.
824         (org-speed-commands-default): New key `v' for `org-agenda'.
825         (org-speed-move-safe): New function.
826         (org-self-insert-command): Use the function value of
827         `org-use-speed-commands'.
828         (org-get-outline-path): Improve docstring.
829         (org-format-outline-path): New function.
830         (org-display-outline-path): New function.
832 2009-11-12  John Wiegley  <jwiegley@gmail.com>
834         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
835         a string, use that to find the LOGBOOK drawer.
837 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
839         * org.el (org-clone-subtree-with-time-shift): Make it work at the
840         end of the buffer.
842         * org-mobile.el (org-mobile-write-checksums): Specify coding
843         system.
844         (org-mobile-timestamp-buffer): Keep local variable/mode line at
845         beginning of buffer.
847         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
849         * org.el (org-block-todo-from-children-or-siblings-or-parent)
850         (org-block-todo-from-checkboxes): Do not block changes to a nil
851         TODO state.
853 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
855         * org-habit.el (org-habit-parse-todo): Indicate which habit is
856         wrongly set up in the error messages.
858         * org-colview.el (org-columns-display-here): Don't try to
859         calculate values if the underlying property is not set.
860         (org-columns-string-to-number): Convert age strings back into
861         fractional days.
862         (org-agenda-colview-summarize): Handle extended summary types
863         properly.
865         * org-colview-xemacs.el (org-columns-display-here): Don't try to
866         calculate values if the underlying property is not set.
867         (org-columns-string-to-number): Convert age strings back into
868         fractional days.
869         (org-agenda-colview-summarize): Handle extended summary types
870         properly.
872 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
874         * org-exp.el (org-export-format-drawer-function): New variable.
875         (org-export-format-drawer): New function.
876         (org-export-preprocess-string): Pass the backend as a parameter to
877         `org-export-remove-or-extract-drawers'.
878         (org-export-remove-or-extract-drawers): New parameter BACKEND.
880         * org-protocol.el (org-protocol-char-to-string): New defsubst.
882 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
884         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
885         message when no block is selected.
887         * org-latex.el (org-export-latex-links): Check for protectedness
888         in the last matched character, not after the match.
890         * org-datetree.el (org-datetree-find-date-create): Respect
891         restriction when KEEP-RESTRICTION is set.
892         (org-datetree-file-entry-under): New function.
893         (org-datetree-cleanup): New command.
895 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
897         * org-src.el (org-edit-src-code): New optional argument context
898         allows calling functions to avoid altering the saved window
899         configuration.
900         (org-edit-src-exit): Do not restore window configuration when this
901         function is used in the context of saving the edit buffer.
903 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
905         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
906         instances to switching to with-current-buffer, because these seem
907         to cause problems - no idea why.
909         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
910         Require diary-lib for (diary-date-display-form).
912         * org.el (org-log-reschedule, org-log-redeadline): New options.
913         (org-log-note-headings): Add templates for rescheduling and
914         deadline changing.
915         (org-startup-options): Add in-buffer settings for logging changing
916         schedule and deadline time stamps.
917         (org-deadline, org-schedule): Check for existing date and arrange
918         for logging if the user requests it.
919         (org-add-log-note): Prepare proper note buffers for rescheduling
920         and deadline changes.
922 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
924         * org-agenda.el (org-agenda-diary-entry-in-org-file)
925         (org-agenda-add-entry-to-org-agenda-diary-file)
926         (org-agenda-insert-diary-make-new-entry): New functions.
927         (org-agenda-diary-entry): Call
928         `org-agenda-diary-entry-in-org-file' when appropriate.
930         * org.el (org-calendar-insert-diary-entry-key): New option.
931         (org-agenda-diary-file): New option.
932         ("calendar"): Install our insertion function in the calendar.
934         * org-remember.el (org-datetree): Require.
935         (org-remember-templates): Add new positioning option.
936         (org-remember-reference-date): New variable.
937         (org-remember-apply-template): Store the reference date in a local
938         variable.
939         (org-remember-handler): Implement date tree positioning of entries.
941         * org-datetree.el: New file.
943         * org-latex.el (org-export-latex-preprocess): Protect targets in
944         verbatim emphasis.
946         * org-html.el (org-export-as-html): Protect targets in verbatim
947         emphasis.
949         * org-docbook.el (org-export-as-docbook): Protect targets in
950         verbatim emphasis.
952 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
954         * org.el (org-link-display-format): Should be literal replacement.
956 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
958         * org-clock.el (org-show-notification): Handle messages that
959         contain a percent character.
961         * org-remember.el (org-remember-apply-template): Turn of partial
962         completion.
964         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
965         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
967         * org.el (org-indent-mode): Define variable already in org.el.
968         (org-unfontify-region): Remove line-prefix and wrap-prefix
969         properties only if org-indent-mode is active.
971 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
973         * org-icalendar.el (org-print-icalendar-entries): Save match data
974         around call to verify function.
975         (org-print-icalendar-entries): Add a call to the verification
976         function.
978         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
979         save-restrivtion' form.
981 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
983         * org-exp.el (org-export-format-source-code-or-example): restrict
984         scope of preserve-indentp to the let binding.
985         (org-src): require org-src, since org-src-preserve-indentation is used.
987 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
989         * org-timer.el (org-timer-set-timer): Set variables
990         org-timer-timer[123] correctly.
993         * org-mobile.el (org-mobile-files-alist): Make it work when
994         `agenda-archives' is included in
995         `org-agenda-text-search-extra-files'.
996         (org-mobile-push): Restore agenda after mobile push.
998 2009-11-05  John Wiegley  <jwiegley@gmail.com>
1000         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1001         way the amount of idle time is presented in the minibuffer.
1003 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1005         * org-icalendar.el (org-print-icalendar-entries): Use
1006         org-icalendar-verify-function only if non-nil.
1008         * org.el (org-refile): Refile to clock only if the prefix arg is
1009         2.
1010         (org-sparse-tree): Fix docstring to be in line with prompt.
1011         (org-update-parent-todo-statistics): Call
1012         `org-after-todo-statistics-hook' on each level.
1014 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
1016         * org-remember.el (org-remember-apply-template): Make sure the
1017         buffer exists.
1019 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
1021         * org.el (org-tab-ind-state): New variable.
1022         (org-cycle-level): New function.
1023         (org-cycle-level-after-item/entry-creation): New option.
1024         (org-flag-subtree): New function.
1025         (org-hide-archived-subtrees): Call `org-flag-subtree'.
1026         (org-set-effort): Indexed access.
1028         * org-list.el (org-cycle-item-indentation): New function.
1030         * org.el (org-refile): Make prefix argument 2 refile to current
1031         clock.
1032         (org-priority): Interpret action `remove' as call to remove the
1033         priority cookie.
1035         * org-remember.el (org-remember-apply-template): Don't depend on
1036         buffer name being like file name.
1038 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
1040         * org-clock.el (org-clock-play-sound): Expand file in
1041         org-clock-sound, to allow ~ for home.
1043         * org-remember.el (org-remember-handler): Set
1044         text-before-node-creation even if this already looks like a node,
1045         because the string might be needed on non-org-mode target files.
1047         * org-agenda.el (org-agenda-open-link): Make this work in agenda
1048         clocktables.
1049         (org-agenda-switch-to): Follow a link at point if
1050         org-return-follows-link' is set and there is nothing else to do in
1051         this line.
1053 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1055         * org-colview-xemacs.el: Add in changes from org-colview.el
1057 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1059         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1060         strings.
1062 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1064         * org-colview.el (org-columns-new): Make this work with the new
1065         operators.
1066         (org-columns-store-format): Make this work with the new operators.
1068 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1070         * org-src.el (org-src-preserve-indentation): Document that this
1071         variable is also used during export.
1073         * org-exp.el (org-export-format-source-code-or-example): Preserve
1074         indentation if a block has a -i option, or if
1075         `org-src-preserve-indentation' is set.
1077         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1078         indentation if a block has a -i option, or if
1079         `org-src-preserve-indentation' is set.
1081 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1083         * org.el (org-mode-map): Define the new archiving keys.
1084         (org-speed-commands-default): Define an archiving key in the speed
1085         command map.
1086         (org-org-menu): Improve the menu structure concerning archiving.
1088         * org-archive.el (org-archive-subtree-default-with-confirmation):
1089         New command.
1091         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1092         (org-agenda-menu): Add the new archiving commands to the menu.
1093         (org-agenda-archive-default)
1094         (org-agenda-archive-default-with-confirmation): New commands.
1095         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1096         call `org-agenda-archive-with'.
1097         (org-agenda-archive-with): New function.
1099         * org-table.el (org-table-convert-region): Inert spaces around "|"
1100         to avoid line beginnings like "|-1" which will be mistaken as
1101         hlines.
1103 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1105         * org.el (org-offer-links-in-entry): Return nil if there are no
1106         links, t if a link has been selected.
1107         (org-open-at-point): Open attachment directory when called in the
1108         headline and there are no links in the entry body.
1109         (org-speed-commands-default): Add "o" for open-at-point as a speed
1110         command.
1112         * org-attach.el (org-attach-reveal): Optional prefix arg
1113         IF-EXISTS, which avoids creating the attachment directory if it
1114         does not yet exist.
1116         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1117         MATCH.
1119 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1121         * org.el ("abbrev"): Work with abbrev tables only after they have
1122         been loaded.
1124         * org-list.el (org-list-send-list): Fix bug related to match
1125         data.
1127         * org-latex.el (org-export-latex-fontify): Apply verbatim
1128         emphasis.
1129         (org-export-latex-make-header): Insert \obeylines if line breaks
1130         should be preserved.
1132         * org-exp.el (org-export-protect-verbatim): Add an
1133         `org-verbatim-emph' property to such text.
1135 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1137         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1138         (org-print-icalendar-entries): Skip entries where the timestamp is
1139         not a deadline and not scheduled, if the user requests that.
1141         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1142         before an opening quote.
1144         * org-archive.el (org-archive-subtree): Keep archive after
1145         archiving something.
1147         * org-id.el (org-id-update-id-locations): Add archive files if
1148         that is required by `org-id-extra-files'.
1150 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1152         * org-src.el (org-src-window-setup): New option.
1153         (org-src-switch-to-buffer): New function.
1154         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1155         restore window configuration.
1156         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1157         Call `org-src-switch-to-buffer'.
1159         * org.el (org-default-properties): Add STYLE property.
1160         (org-files-list): Use the function call to get the files.
1161         (org-additional-option-like-keywords): Add SETUPFILE to completion
1162         list.
1164 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1166         * org-table.el (org-table-convert-region): Correctly interpret
1167         quoting in csv import.
1169         * org.el (org-icompleting-read): Make iswitchb completion work
1170         with lists and tables.
1172         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1173         while pushing the mobile agenda.
1175 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1177         * org-clock.el
1178         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1179         and `when-no-clock-is-running'.
1180         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1181         whether or not to resolve Org buffers on clock in.
1183 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1185         * org-colview.el (org-format-time-period): Function to format
1186         times in fractional days for display.
1187         (org-columns-display-here): Add support for showing a calculated
1188         value in place of the property.
1189         (org-columns): Set `org-columns-time' to the current time so time
1190         difference calculations will work.
1191         (org-columns-time): Use to store the current time when column view
1192         is displayed, so all time differences will use the same reference
1193         point.
1194         (org-columns-compile-map): There is now an extra position in each
1195         entry specifying the function to use to calculate the displayed
1196         value for the non-calculated properties in the column,
1197         (org-columns-compute-all): Set `org-columns-time' to the current
1198         time so time difference calculations will work.
1199         (org-columns-compute): Handle column operators where the values
1200         used are calculated from the underlying property.
1201         (org-columns-number-to-string): Handle the 'age' column format
1202         (org-columns-string-to-number): Correct the function name (was
1203         org-column...). Add support for the 'age' column format.
1204         (org-columns-compile-format): Support the additional parameter in
1205         org-columns-compile-map.
1207 2009-10-26  Bastien Guerry  <bzg@altern.org>
1209         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1210         variable.
1212 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1214         * org-clock.el (org-clock-has-been-used): New variable.
1215         (org-clock-in): Set `org-clock-has-been-used'.
1216         (org-clock-save): Save only if clock data has been used or created
1217         during this session.
1219 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1221         * org-clock.el (org-clock-persist): New value, to store only the
1222         clock history.
1223         (org-clock-save): Don't save the clock if only the history should
1224         be stored.
1225         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1226         when restoring a saved clock.
1228 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1230         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1231         `org-time-clock-use-fractional'.
1233         * org.el (org-time-clocksum-use-fractional)
1234         (org-time-clocksum-fractional-format): Two new customizable
1235         variables which allow the user to select fractional times (1.25
1236         instead of 1:25) in the `org-clock-display' report.
1238 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1240         * org-habit.el (org-habit-build-graph): None of the arguments
1241         should be optional.
1242         (org-habit-parse-todo, org-habit-deadline)
1243         (org-habit-get-priority, org-habit-get-faces)
1244         (org-habit-build-graph): Further simplifications by storing all
1245         past, scheduled and deadline dates as a number of days past the
1246         epoch, and not as times.
1248         * org-habit.el (org-habit-warning-face)
1249         (org-habit-warning-future-face): Removed because these are no
1250         longer used.
1251         (org-habit-deadline, org-habit-deadline-repeat): Now always
1252         returns a date; computed if there was a scheduled repeater but no
1253         deadline repeater.
1254         (org-habit-get-priority): Further improvements to the priority
1255         algorithm.  In particular, items past due should always appear
1256         before items due or not yet due.
1257         (org-habit-get-faces): Greatly simplified the logic, now that
1258         `org-habit-deadline' always returns a valid time.
1260 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1262         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1263         New option.
1265         * org.el (org-tag-alist): Fix customization type.
1267 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1269         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1270         Make sure the regexp search can fail without throwing an error.
1271         (org-mobile-apply): Save the inbox buffer after removing
1272         successfully applied changes.
1274 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1276         * org-habit.el (org-habit-build-graph): Fix to the graph building
1277         when last DONE date is earlier than `org-habit-preceding-days'.
1279         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1280         time is reported after the user comes back (but before they
1281         resolve time).
1283         * org.el (org-get-repeat): Change so that this function can be
1284         called with either `org-scheduled-string' or
1285         `org-deadline-string'.
1287         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1288         to find the scheduled date.
1290         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1291         `org-clock-disable-clock-resolution', since negatives don't sound
1292         good in customization variables.
1293         (org-clock-in): Don't use the auto-resolution logic if the user is
1294         clocking into a different task while an active clock is running.
1295         This then allows the default behavior of clocking out of the open
1296         task and then into the new task.
1298         * org-habit.el (org-habit-parse-todo): Generate an error if a
1299         habit has a scheduled repeat period < 1.
1300         (org-habit-get-faces): Fixes to the way that colors are computed.
1301         (org-habit-build-graph): The graph wasn't displaying beyond any
1302         day that had two completions in it.
1304         * org.el (org-modules): Made this variable more consistent, since
1305         it was referring to Org, OrgMode and Org-mode, whereas the docs
1306         for the variable always refer to Org-mode.
1308 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1310         * org.el (org-repeat-re): The changed org-repeat-re no longer
1311         matched simple +2d type repeaters. Fix it so it does.
1313 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1315         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1316         macro in the VERSE environment.
1318 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1320         * org-habit.el (org-habit-get-priority): A new function that
1321         determines the relative priority of a habit, based on how long
1322         past its scheduled date it is, and how near the deadline is.
1324         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1325         using `org-habit-get-priority'.
1327         * org-habit.el (org-habit-build-graph): Start displaying colors
1328         from the first scheduled date, if that date is earlier than the
1329         first completion date.
1331         * org-habit.el: Changed all "color" variables to faces, and made
1332         them appropriate for light and dark backgrounds.
1334         * org-habit.el (org-habit-duration-to-days): Made this function
1335         more general.
1336         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1338         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1339         habits, since they don't use DEADLINE anymore.
1341         * org.el (org-repeat-re, org-display-custom-time)
1342         (org-timestamp-change): Extended to support the new ".+N/N"
1343         syntax, used for habits.
1345         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1346         variable reference.
1348         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1349         modeline when habits are being displayed (if that module is being
1350         loaded).
1352 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1354         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1355         idle time using the xscreensaver extension.
1356         (org-user-idle-seconds): Use X11 idle time if available.
1358 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1360         * org-agenda.el (org-agenda-next-line): New command.
1361         (org-agenda-previous-line): New commands.
1362         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1363         commands.
1364         (org-agenda-follow-mode): Do the follow immediately if the mode is
1365         turned on here.
1366         (previous-line, next-line): Replace keys with the corresponding
1367         org functions.
1368         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1369         command.
1371         * org.el (org-icompleting-read): Turn off partial completion mode
1372         for the duration of this completion round.
1374         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1375         macros in author lines and similar stuff.
1377         * org.el (org-file-tags): Fix docstring.
1378         (org-get-buffer-tags): Add the #+FILETAGS tags.
1379         ("ecb"): Maks ecb show context after jumping into an Org file.
1381 2009-10-20  John Wiegley  <johnw@newartisans.com>
1383         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1384         graphs after everything else in the buffer has been setup.
1386 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1388         * org-mobile.el (org-mobile-apply): Count success and failure.
1390         * org.el (org-indent-line-function): Fix regexp replace problem.
1392 2009-10-19  John Wiegley  <johnw@newartisans.com>
1394         * org-clock.el (org-clock-disable-clock-resolution): New
1395         customization variable that disable automatic clock resolution on
1396         clock in.
1397         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1398         not automatically resolve anything.  This is does not affect
1399         idle-time resolution, however, if `org-clock-idle-time' is set.
1401 2009-10-19  John Wiegley  <johnw@newartisans.com>
1403         * org-habit.el: New file, which implements code to build a "habit
1404         consistency graph".
1406         * org-agenda.el (org-agenda-get-deadlines)
1407         (org-agenda-get-scheduled): Display consistency graphs when
1408         outputting habits into the agenda.  The graphs are always relative
1409         to the current time.
1410         (org-format-agenda-item): Added new parameter `habitp', which
1411         indicates whether we are formatting a habit or not.  Do not
1412         display "extra" leading information if habitp is true.
1414         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1415         leaders for repeat strings.
1416         (org-get-repeat): Now takes a string parameter `tagline', so the
1417         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1419 2009-10-19  John Wiegley  <johnw@newartisans.com>
1421         * org-agenda.el (org-agenda-auto-exclude-function): New
1422         customization variable for allowing the user to create an "auto
1423         exclusion" filter for doing context-aware auto tag filtering.
1424         (org-agenda-filter-by-tag): Changes to support the use of
1425         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1427 2009-10-18  John Wiegley  <johnw@newartisans.com>
1429         * org.el (org-files-list): Don't attempt to return a file name for
1430         Org buffers which have no associated file.
1432         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1434 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1436         * org-mobile.el (org-mobile-locate-entry): Interpret files
1437         relative to org-directory.
1438         (org-mobile-inbox-for-pull): Document the best location for this
1439         file.
1440         (org-mobile-check-setup): Verify `org-directory'.
1441         (org-mobile-create-index-file): Sort the files to be listed in
1442         index.org.
1444 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1446         * org.el (org-fast-tag-selection): Add a way to display a
1447         description for a tag group. This is done by adding a string to
1448         either the startgroup or endgroup cell.
1450 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1452         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1453         (org-emacs-idle-seconds): Use `org-float-time' instead of
1454         `time-to-seconds'
1456 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1458         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1459         type.
1461         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1462         the value of ARG when doing local cycling.
1464 2009-10-17  John Wiegley  <johnw@newartisans.com>
1466         * org-clock.el (org-clock-resolve-clock): If keeping or
1467         subtracting time results in a clock out at a time in the past, and
1468         if the resolution occurred due to idleness or invoking `M-x
1469         org-resolve-clocks', remember that past moment in time.  On the
1470         next clock in, the user will be prompted to see if they want to
1471         back-date their new clock to then.
1472         (org-clock-resolve): Do not jump the user to the location of a
1473         dangling clock if the resolution is occuring due to an idle
1474         timeout.  In that case there is typically only one dangling clock,
1475         the active one, and there is no value gained by shuffling their
1476         windows around to show it to them.  Being prompted to resolve an
1477         idle clock should be as inobtrusive as possible.
1478         (org-resolve-clocks-if-idle): New function that resolves only the
1479         currently active clock if the user has exceeded the time returned
1480         by `org-user-idle-seconds', based on the value of
1481         `org-clock-idle-time'.
1482         (org-clock-in): If, after resolving clocks,
1483         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1485         * org-clock.el (org-clock-resolve-clock): New function that
1486         resolves a clock to a specific time, closing or resuming as need
1487         be, and possibly even starting a new clock.
1488         (org-clock-resolve): New function used by `org-resolve-clocks'
1489         that sets up for the call to `org-clock-resolve-clock'.  It
1490         determines the time to resolve to based on a single-character
1491         selection from the user to either keep time, subtract away time or
1492         cancel the clock.
1493         (org-resolve-clocks): New user command which resolves dangling
1494         clocks -- that is, open but not active -- anywhere in the file
1495         list returned by `org-files-list'.
1496         (org-clock-in): Automatically resolve dangling clocks whenever a
1497         user clocks in.
1498         (org-clock-cancel): If the user cancels the solely clock in a
1499         LOGBOOK, remove the empty drawer.
1501         * org-clock.el (org-clock-idle-time): New user customizable option
1502         for detecting whether the user has left a clock idle.  Note: it is
1503         only used in this commit to test whether it's worthwhile to check
1504         OS X to get the Mac user's current idle time.  If the Emacs idle
1505         time is less than the value, the user hasn't been away long enough
1506         to be worth checking (a more expensive test than just getting
1507         Emacs idle time).
1508         (org-user-idle-seconds, org-mac-idle-seconds)
1509         (org-emacs-idle-seconds): This three functions, in conjunction
1510         with the user customization variable `org-clock-idle-time', return
1511         the number of seconds (as a floating point) that the user has been
1512         away from their Emacs (or, if running on OS X, their computer).
1514         * org-clock.el (org-find-open-clocks): New function that returns a
1515         list of all open clocks in the given FILE.  Note that each clock
1516         it returns is a cons cell of the format (MARKER . START-TIME).
1517         This "clock" value is used by several of the new clock module
1518         utility functions.
1519         (org-is-active-clock): New inline function which tests whether the
1520         given clock value is the same as the currently active clock.
1521         Returns non-nil if this is the case.
1522         (org-with-clock-position): New macro that evaluates FORMS with
1523         point in the buffer and at the position of the given clock.
1524         Changes to the current clock are global.
1525         (org-with-clock): New macro that evaluates FORMS with point in the
1526         buffer and at the position of the given clock.  However, changes
1527         to the current clock are local and have no effect on the user's
1528         active clock.  This allows, for example, far any clock to be
1529         cancelled without cancelling the active clock.
1530         (org-clock-clock-in): New inline function that switches the active
1531         clock to the given clock.  If either the argument RESUME, or the
1532         global `org-clock-in-resume', are non-nil, it will resume a clock
1533         that was previously left open.
1534         (org-clock-clock-out): New inline function that clocks out the
1535         given clock value without affecting the currently active clock.
1536         (org-clock-clock-cancel): New inline function that cancels the
1537         given clock value without affecting the currently active clock.
1539         * org-clock.el (org-clock-in): Before creating
1540         `org-clock-mode-line-timer', check to make sure an older timer is
1541         not currently running.
1542         (org-clock-out): Accept new third parameter `at-time', which
1543         permits a clock to be clocked out at a specific time.  Note that
1544         no attempt is made to verify that the clock out time is later than
1545         the clock in time.
1547         * org.el (org-files-list): New utility function for returning a
1548         list of all open org-mode buffers, plus all files used to build
1549         the agenda buffer.  Note that not all the files will necessarily
1550         be visited by a buffer at time of call.
1551         (org-entry-beginning-position): Like the function
1552         `line-beginning-position', this inline function returns the
1553         beginning position of the current heading/entry.
1554         (org-entry-end-position): Like the function `line-end-position',
1555         this inline function returns the end position of the current
1556         heading/entry.
1558 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1560         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1561         a header line.
1563 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1565         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1567 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1569         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1570         entries that have no tags.
1571         (org-agenda-search-view): New customize group.
1572         (org-agenda-search-view-search-words-only): New option.
1573         (org-search-view): Implement substring search.
1575 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1577         * org.el (org-outline-level): Add doc string.
1579 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1581         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1582         variable.
1583         (org-inlinetask-export-handler): Only export inline task if the
1584         user option calls for it.
1586 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1588         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1589         END if present.
1591 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1593         * org-latex.el (org-export-latex-tables): Don't format in
1594         protected regions.
1596 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1598         * org-src.el (org-edit-src-code)
1599         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1600         macro editing.
1602         * org-agenda.el (org-prefix-category-max-length): New variable.
1603         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1604         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1606 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1608         * org-mobile.el (org-mobile-create-index-file): Improve the
1609         listing of tags and todo keywords.
1611         * org-latex.el (org-export-latex-format-image): New function.
1612         (org-export-latex-links): Use `org-export-latex-format-image'.
1614 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1616         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1617         (org-inlinetask-remove-terminator): New functions.
1618         (org-inlinetask-export-handler): Terminate the description list.
1620         * org-exp.el (org-export-select-backend-specific-text): Remove the
1621         region markers.
1623         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1624         tasks without content.
1626         * org-clock.el: Make sure the clock-in target position does not
1627         move to a different node by widening the buffer.
1629         * org-html.el (org-export-html-format-image): Wrap image into
1630         figure div only when there is a caption.
1632         * org-archive.el (org-archive-mark-done): Change default value to
1633         nil.
1635 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1637         * org.el (org-context): Call `bobp', not `eobp'.
1639         * org-clock.el (org-clock-cancel): Remove quotes from marker
1640         variables.
1642         * org.el (org-read-date-prefer-future): New allowed value `time'.
1643         (org-read-date-analyze): Shift day to tomorrow depending on time
1644         entered and value of `org-read-date-prefer-future'.
1646 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1648         * org.el (org-set-tags-to): New command.
1650         * org-mobile.el (org-mobile-action-alist): Add more options and
1651         update the docstring.
1652         (org-mobile-apply-flags): Parse for and use the data.
1654         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1655         the plist.
1657         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1658         keyword.
1660         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1662 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1664         * org-inlinetask.el (org-inlinetask-export): Option removed.
1665         (org-inlinetask-export-handler): Better export.
1667         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1668         (org-export-as-xoxo): Run the new hook.
1670         * org-html.el (org-export-html-final-hook): New hook.
1671         (org-export-as-html): Run the new hook.
1673         * org-docbook.el (org-export-docbook-final-hook): New hook.
1674         (org-export-as-docbook): Run the new hook.
1676         * org-ascii.el (org-export-ascii-final-hook): New hook.
1677         (org-export-as-ascii): Run the new hook.
1679         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1680         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1682         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1683         space character as the character before the ^/_.
1684         (org-export-latex-final-hook): New hook.
1685         (org-export-as-latex): Run `org-export-latex-final-hook'.
1687 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1689         * org-macs.el (org-if-unprotected-at): Fix docstring.
1691         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1692         text in the prefix (if category is a link).
1694         * org-latex.el (org-export-latex-preprocess): Deal properly with
1695         empty lines in verse environments.
1697         * org.el (org-format-latex-header): Inline fullpage.sty.
1699         * org-footnote.el (org-footnote-create-definition): Reveal context
1700         to add a new footnote definition.
1702         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1703         the index file.
1704         (org-mobile-files): New option.
1705         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1706         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1707         functions.
1708         (org-mobile-push): Start by creating the files lists.
1709         (org-mobile-copy-agenda-files): Move killing the buffer to after
1710         the save-excursion has exited.
1711         (org-mobile-write-checksums): Write checksums also for files in
1712         sub-directories.
1714         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1715         org-table-recalculate when cursor is in TBLFM line.
1717         * org-list.el (org-renumber-ordered-list): Fix cursor position
1718         when bullet length has changed.
1720 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1722         * org.el (org-format-latex): Mention `org-format-latex-options' in
1723         the docstring.
1725 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1727         * org.el (org-agenda-get): New function.
1729         * org-agenda.el (org-agenda-post-command-hook): No longer move
1730         point away from end of line.
1731         (org-agenda-add-entry-text, org-agenda-collect-markers)
1732         (org-finalize-agenda, org-agenda-mark-clocking-task)
1733         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1734         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1735         (org-agenda-compare-effort, org-agenda-filter-apply)
1736         (org-agenda-later, org-agenda-change-time-span)
1737         (org-agenda-post-command-hook, org-agenda-show-priority)
1738         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1739         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1740         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1741         (org-agenda-open-link, org-agenda-copy-local-variable)
1742         (org-agenda-switch-to, org-agenda-check-no-diary)
1743         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1744         (org-agenda-add-note, org-agenda-change-all-lines)
1745         (org-agenda-priority, org-agenda-set-tags)
1746         (org-agenda-set-property, org-agenda-set-effort)
1747         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1748         (org-agenda-show-new-time, org-agenda-date-prompt)
1749         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1750         (org-agenda-clock-in, org-agenda-bulk-mark)
1751         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1752         `org-get-at-bol'.
1754         * org-colview.el (org-columns-display-here)
1755         (org-columns-edit-allowed, org-agenda-columns): Use
1756         `org-get-at-bol'.
1758 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1760         * org.el (org-special-ctrl-a/e): Improve documentation and
1761         customize type.
1762         (org-end-of-line): Don't jump to after the ellipsis.
1763         (org-mode-map): Bind <home> and <end> as well.
1765 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1767         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1768         space after #+ as comments.
1769         (org-open-at-point): Run `org-follow-link-hook' always.
1771         * org-latex.el (org-export-latex-emph-format): Use better commands
1772         to insert special characters in verbatim snippets.
1774 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1776         * org-faces.el (org-copy-face): New function.  Use it to create
1777         various faces formerly created by using `copy-face'.
1779         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1780         window dedicated.
1781         (org-agenda-quit): Kill the frame containing the agenda window if
1782         that frame was created for the agenda.
1784 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1786         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1787         stamp in the agenda.
1789 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1791         * org-mobile.el (org-mobile-create-index-file): Add the list of
1792         TODO keywords, and the list of drawers to the index file.
1794         * org-agenda.el (org-prepare-agenda): Reset
1795         `org-drawers-for-agenda'.
1796         (org-prepare-agenda): Uniquify list of drawers.
1798         * org.el (org-complex-heading-regexp-format): New variable.
1799         (org-set-regexps-and-options): Define
1800         `org-complex-heading-regexp-format'.
1801         (org-drawers-for-agenda): New variable.
1802         (org-map-entries): Bind `org-drawers-for-agenda'.
1803         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1805         * org-remember.el (org-go-to-remember-target)
1806         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1808 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1810         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1811         problem.
1813         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1814         the capture file, and make it non-configurable.
1816         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1817         always with `invisible-ok'.
1818         (org-store-link): No error when there is nothing to link to in the
1819         agenda.
1821         * org-list.el (org-update-checkbox-count): Insert changed cookie
1822         before the old, to avoid problems with invisibility at the end of
1823         the line.
1824         (org-update-checkbox-count): Insert changed cookie before the old,
1825         to avoid problems with invisibility at the end of the line.
1827         * org.el (org-sort-entries-or-items): Include the final newline.
1828         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1829         lines for fontification.
1830         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1831         (org-prepare-dblock): Store the current indentation of the BEGIN
1832         line.
1833         (org-update-dblock): Apply the indentation of the begin line to
1834         the rest of the block.
1835         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1836         (org-startup-folded): New allowed value `showeverything'.
1837         (org-startup-options): Add STARTUP keyword `showeverything'.
1838         (org-set-startup-visibility): Respect value `showeverything' in
1839         org-startup-folded.
1841 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1843         * org.el (org-closest-date): Fix issue with past preference.
1845         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1847         * org-archive.el (org-archive-set-tag)
1848         (org-archive-subtree-default): New commands.
1850         * org-mobile.el (org-mobile-create-index-file): Fix link to
1851         capture file.
1852         (org-mobile-copy-agenda-files): Create the capture file if it does
1853         not exist.
1855         * org-clock.el (org-clock-clocktable-default-properties): New
1856         option.
1857         (org-clock-report): Use
1858         `org-clock-clocktable-default-properties'.
1860 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1862         * org.el (org-iswitchb-completing-read): Fix typo.
1864         * org-crypt.el: New file.
1866         * org.el: Add an entry for org-crypt.
1868 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1870         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1871         consistency.
1872         (org-batch-store-agenda-views): New function.
1873         (org-mobile-force-id-on-agenda-items): Mention variable.
1874         (org-agenda-title-append): Define variable.
1875         (org-write-agenda): New export to Org files.
1876         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1877         (org-agenda): Allow to keep the restricted file list if a special
1878         variable is bound to t.
1879         (org-agenda): Define a special agenda view for working on flagged
1880         entries.
1881         (org-agenda-get-restriction-and-command): List the new agenda
1882         view.
1883         (org-agenda-show-the-flagging-note): New command.
1884         (org-agenda-mode-map): New key `?' for looking at the flagging
1885         note.
1887         * org.el (org-autoload): Autoload org-mobile.el.
1888         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1890         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1892 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1894         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1895         statements.
1896         (org-table-get-remote-range): Match indented #+TBLNAME
1897         statements.
1899         * org.el (org-convert-to-odd-levels)
1900         (org-convert-to-oddeven-levels): Work also correctly if the file
1901         is in outline-mode.
1903 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1905         * org.el (org-store-link): When in agenda buffer, link to
1906         referenced entry.
1907         (org-add-planning-info): Remove spaces at eol.
1909         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1910         property.
1912 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1914         * org-latex.el (org-export-latex-first-lines): Fix problem with
1915         LaTeX export of first line and selected subtree.
1917         * org.el (org-shifttab): Interpret arg differently when using only
1918         odd levels.
1920 2009-09-09  Bastien Guerry  <bzg@altern.org>
1922         * org.el (org-check-agenda-file): Use a more explicit message
1924 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1926         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1927         normal lines.
1929 2009-09-08  Bastien Guerry  <bzg@altern.org>
1931         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1932         prompt in the temporary window.
1934         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1935         prefix for marked entries in the agenda view.
1937 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1939         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1940         a way that prevents any trailing character from being displayed.
1942 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1944         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1945         menu.
1947         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1948         slow regexp match.
1950 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1952         * org-latex.el (org-export-latex-preprocess): Do not protect in
1953         the LaTeX header.
1955         * org-src.el (org-edit-src-save): Save window setup while saving.
1956         (org-edit-src-code): Use new buffer name construction scheme.
1958 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1960         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1961         variable.
1962         (org-agenda-entry-text-cleanup-hook): New hook.
1963         (org-agenda-get-some-entry-text): Remove matches of
1964         `org-agenda-entry-text-exclude-regexps' and run the hook
1965         `org-agenda-entry-text-cleanup-hook'.
1967         * org.el (org-offer-links-in-entry): New argument ZERO to
1968         implement a link with index zero.
1969         (org-cycle-show-empty-lines): Not keep empty line under header
1970         hidden.
1971         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1972         to nil for special completion.
1973         (org-store-link): Don't error before the first heading.
1975         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1976         `org-offer-links-in-entry'.
1978 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1980         * org-agenda.el (org-agenda-quit): Provide the window argument for
1981         `window-dedicated-p', Emacs 22 needs it.
1982         (org-format-agenda-item): If the category is a link, arrange for
1983         invisible text to replaced with spaces.
1984         (org-compile-prefix-format): Add the extra space.
1985         (org-prefix-category-length): New variable.
1987         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1988         references from TOC lines.
1990         * org.el (org-selected-window): New variable.
1992         * org-table.el (org-table-edit-formulas): Remember the selected
1993         window.
1994         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1995         that was originally selected.
1997         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1998         expansion of a macro for more macro definitions.
2000         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2001         invisibility overlay starts on the newline.
2003 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
2005         * org-protocol.el (org-protocol-store-link)
2006         (org-protocol-remember, org-protocol-open-source): Add autoloads.
2008         * org-compat.el (org-float-time): New function.
2010         * org.el (org-clock-update-time-maybe)
2011         (org-sort-entries-or-items, org-do-sort)
2012         (org-evaluate-time-range, org-time-string-to-seconds)
2013         (org-closed-in-range): Use `org-float-time'.
2015         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2016         (org-timer-seconds):  Use `org-float-time'.
2018         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2019         (org-clock-sum, org-dblock-write:clocktable)
2020         (org-clocktable-steps):  Use `org-float-time'.
2022         * org-agenda.el (org-agenda-last-marker-time)
2023         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
2025         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2026         function.
2028         * org-exp.el (org-get-file-contents): Only protect lines that
2029         really need it.
2031         * org-html.el (require): Require cl for compilation.
2033         * org.el:  Avoid using `default-major-mode'.
2035         * org-plot.el (require): Require CL only at compile time.
2037         * org-exp.el (require): Require CL only at compile time.
2039         * org-agenda.el (org-agenda-quit): When the agenda window is
2040         dedicated, remove other windows before exiting, so that the frame
2041         really will be killed.
2043         * org-exp.el (org-export-handle-include-files): Reset START and
2044         END for each loop cycle.
2046 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
2048         * org.el (org-eval-in-calendar): Use
2049         `org-select-frame-set-input-focus'.
2051         * org-compat.el (org-select-frame-set-input-focus): New function.
2053         * org.el (org-update-statistics-cookies): New function.
2054         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2056 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2058         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2059         after the local variables are set.
2061         * org-latex.el (org-export-latex-protect-amp): New function.
2062         (org-export-latex-links): Protect link ampersands in tables.
2064         * org-exp.el (org-export-select-backend-specific-text): Match in
2065         two steps, to avoid regexp problems.
2067         * org.el (org-offer-links-in-entry): Improve working with many and
2068         duplicate links.
2070         * org-agenda.el (org-agenda-show-1): Make more consistent with
2071         normal cycling.
2072         (org-agenda-cycle-show): Make more consistent with normal cycling.
2074         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2075         website.
2077 2009-08-30  Bastien Guerry  <bzg@altern.org>
2079         * org-latex.el (org-export-latex-first-lines): Bugfix.
2081 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2083         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2084         about new effort.
2086         * org.el (org-set-effort): New function.
2087         (org-mode-map): New key for effort setting command.
2089         * org-agenda.el (org-agenda): Keep window setup when calling
2090         agenda from within agenda window.
2091         (org-agenda-mode-map): New keys for effort setting commands.
2092         (org-agenda-menu): Add effort setting commands to menu.
2093         (org-agenda-set-property, org-agenda-set-effort): New functions.
2095         * org-latex.el (org-export-latex-tables): Fix
2096         `org-table-last-alignment' and `org-table-last-column-widths' if
2097         the first column has been removed.
2099 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2101         * org.el (org-remove-timestamp-with-keyword): Only remove in
2102         entry, not in subtree.
2104         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2105         emacs lisp.
2107         * org.el (org-open-at-point): When on headline, offer all strings
2108         in entry.
2110         * org-remember.el (org-remember-templates): Documentation fix.
2112         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2113         `org-get-last-sibling' instead of the outline versions of these
2114         functions.
2115         (org-get-last-sibling): New function.
2116         (org-refile): Use `org-get-next-sibling' instead of the outline
2117         version of this function.
2118         (org-clean-visibility-after-subtree-move): Use
2119         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2120         outline versions of these functions.
2122 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2124         * org-agenda.el (org-prepare-agenda): When creating a new frame
2125         for the agenda, make the window dedicated.
2127         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2129         * org-table.el (org-table-align): Change the order of reinsertion
2130         and deletion, to avoid problems with overlays following the table.
2132         * org.el (org-parse-time-string): Better error message.
2133         (org-show-subtree): Use org-end-of-subtree.
2135         * org-macs.el (org-goto-line): New defsubst.
2137         * org.el (org-open-file, org-change-tag-in-region)
2138         (org-fast-tag-show-exit): Don't use `goto-line'.
2140         * org-table.el (org-table-align, org-table-insert-column)
2141         (org-table-delete-column, org-table-move-column)
2142         (org-table-sort-lines, org-table-copy-region)
2143         (org-table-paste-rectangle, org-table-wrap-region)
2144         (org-table-get-specials, org-table-rotate-recalc-marks)
2145         (org-table-get-range, org-table-recalculate)
2146         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2147         (org-table-show-reference, org-table-highlight-rectangle): Don't
2148         use `goto-line'.
2150         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2151         (org-edit-src-exit): Don't use `goto-line'.
2153         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2155         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2156         Don't use `goto-line'.
2158         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2160         * org-colview.el (org-columns, org-columns-redo)
2161         (org-agenda-columns): Don't use `goto-line'.
2163         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2164         use `goto-line'.
2166         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2167         (org-agenda-add-entry-text-maxlines): Improve docstring.
2168         (org-agenda-start-with-entry-text-mode): New option.
2169         (org-agenda-entry-text-maxlines): New option.
2170         (org-agenda-entry-text-mode): New variable.
2171         (org-agenda-mode): Set initial value of
2172         `org-agenda-entry-text-mode'.
2173         (org-agenda-mode-map): Add the `E' key.
2174         (org-agenda-menu): Add entry text mode to the menu.
2175         (org-agenda-get-some-entry-text): Fix line count bug.
2176         (org-finalize-agenda): Apply entry text mode if appropriate.
2177         (org-agenda-entry-text-show-here): New function.
2178         (org-agenda-entry-text-show): New function.
2179         (org-agenda-entry-text-hide): New function.
2180         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2181         key menu.
2182         (org-agenda-entry-text-mode): New command.
2183         (org-agenda-set-mode-name): Add entry text mode to the mode line
2184         string.
2185         (org-agenda-undo, org-agenda-get-restriction-and-command)
2186         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2187         `goto-line'.
2189 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2191         * org-clock.el (org-notify): Bugfix.
2193 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2195         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2196         check for after-string.
2198         * org-gnus.el (org-gnus-store-link): Simplify.
2200         * org.el (org-latex-regexps): Don't add extra empty lines for
2201         display formulas.
2203 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2205         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2206         (org-agenda-add-entry-text): Use
2207         `org-agenda-get-some-entry-text'.
2209         * org.el (org-cycle-separator-lines): Update docstring.
2210         (org-cycle-show-empty-lines): Handle negative values for
2211         `org-cycle-show-empty-lines'.
2213         * org-exp.el (org-export-protect-sub-super): New function.
2214         (org-export-normalize-links): Protect the url of plain links from
2215         supscript and superscript processing.
2217         * org-remember.el (org-remember-escaped-%): New function.
2218         (org-remember-apply-template): Use `org-remember-escaped-%' to
2219         detect escaped % signs.
2221 2009-08-23  Bastien Guerry  <bzg@altern.org>
2223         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2224         sound when showing the notification.
2226         * org-clock.el (org-notify): New function.
2227         (org-clock-notify-once-if-expired): Use `org-notify'.
2229         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2230         and `gnus-article-mode' separately.
2231         (gnus-summary-article-header): Fix the declare-function.
2233 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2235         * org-exp.el (org-export-format-source-code-or-example): Translate
2236         language.
2238         * org-src.el (org-src-lang-modes): New variable
2239         (org-edit-src-code): Translate language.
2241         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2242         the new structure of the `org-export-latex-listings-langs'
2243         variable.
2245         * org-latex.el (org-export-latex-listings-langs): Change structure
2246         of the variable from plist to alist.
2248 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2250         * org.el (org-in-commented-line): New function.
2252 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2254         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2256 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2258         * org.el (org-flag-drawer): More useful error.
2260 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2262         * org-remember.el (org-remember-apply-template): Use
2263         org-icompleting-read.
2265         * org-publish.el (org-publish): Use org-icompleting-read.
2267         * org-colview.el (org-columns-edit-value, org-columns-new)
2268         (org-insert-columns-dblock): Use org-icompleting-read.
2270         * org-colview-xemacs.el (org-columns-edit-value)
2271         (org-columns-new, org-insert-columns-dblock): Use
2272         org-icompleting-read.
2274         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2275         org-icompleting-read.
2277 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2279         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2280         (org-version): Return the version text.
2281         (org-org-menu): Add a menu entry for the new bug reporter.
2282         (org-submit-bug-report): New command.
2284         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2285         docstring.
2287         * org.el (org-emphasis-regexp-components): Add "`" to set of
2288         pre-emphasis characters.
2290         * org-latex.el (org-export-latex-classes): Always include the soul
2291         package.
2292         (org-export-latex-emphasis-alist): Use \st for strikethough.
2294         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2295         `indent-code-rigidly' to indent.
2297         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2298         properties only if MATCH really is a string.
2300 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2302         * org-latex.el (org-export-latex-packages-alist): Fix
2303         customization type.
2305         * org.el (org-create-formula-image): Also use
2306         `org-export-latex-packages-alist'.
2308         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2309         (org-export-as-html): Format footnotes correctly.
2311 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2313         * org.el (org-fast-tag-selection): Avoid text properties on tags
2314         in the alist.
2316         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2317         text properties on the match element.
2319 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2321         * org.el (org-set-regexps-and-options): Make sure the list of done
2322         keywords is not invalid.
2324         * org-exp.el (org-export-interpolate-newlines): New function.
2326 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2328         * org.el (org-format-latex): Avoid nested overlays.
2330         * org-latex.el (org-export-latex-listings-langs): Add a few more
2331         languages.
2333         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2334         ignore newlines and space before the first macro argument.
2336         * org-latex.el (org-export-latex-tables): Remove save-excursion
2337         around `org-table-align'.
2339 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2341         * org.el (org-export-html-special-string-regexps): Definition
2342         moved into org.el
2344         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2345         in macro calls.
2347 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2349         * org-latex.el (org-export-latex-listings)
2350         (org-export-latex-listings-langs): New options.
2352         * org-exp.el (org-export-format-source-code-or-example): Use
2353         listing package if requested by the user.
2355 2009-08-08  Bastien Guerry  <bzg@altern.org>
2357         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2358         command before actually switching to a buffer.
2360 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2362         * org-exp.el (org-get-file-contents): Only quote org lines when
2363         the markup is src or example.
2365         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2366         New option
2367         (org-agenda-get-day-entries): Remember deadline results and pass
2368         them on into the function getting the scheduling information.
2369         (org-agenda-get-scheduled): Accept deadline results as parameters
2370         and maybe skip some entries.
2371         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2373         * org.el (org-insert-heading): When respecting content, do not
2374         convert current line to headline.
2376         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2377         cheeeeeck the hd marker
2378         (org-clock-in): Also set the hd marker.
2379         (org-clock-out): Also set the hd marker.
2380         (org-clock-cancel): Reset markers.
2382         * org.el (org-clock-hd-marker): New marker.
2384         * org-faces.el (org-agenda-clocking): New face.
2386         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2387         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2389         * org.el (org-modules): Add org-track.el.
2391         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2392         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2393         `org-agenda-bulk-marked-p'.
2394         (org-agenda-bulk-toggle): New command.
2396 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2398         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2399         not just the body.
2401         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2402         messages.
2404 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2406         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2407         before gnuplot can read it.
2409 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2411         * org-latex.el (org-export-latex-first-lines): Fix bug with
2412         finding the end of the first lines.
2414         * org.el (org-create-formula-image): Remove the -E option for
2415         dvipng.
2417         * org-exp.el (org-default-export-plist): Respect #+BIND.
2418         (org-export-confirm-letbind): New function.
2420         * org.el (org-paste-subtree): Test the kill ring entry if it is
2421         going to be used.
2422         (org-copy-subtree): Use `org-forward-same-level'.
2423         (org-forward-same-level): Respect the `invisibe-ok' arg for
2424         back-to-heading.
2426 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2428         * org.el (org-table-map-tables): Make sure cursor is back at table
2429         beginning after funcall.
2431         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2432         handled before children, and do not error if an entry is not
2433         found, probably because it hase been remove when the parent was
2434         archived or refiled.
2436         * org.el (org-ido-completing-read): Accept straight lists for
2437         completion as well as alists.
2439         * org-html.el (org-export-as-html): Fix parenthesis error in
2440         footnore code.
2442         * org-timer.el (org-timer-cancel-timers): Renamed from
2443         `org-timer-cancel-timers'.
2445         * org.el (org-cycle-internal-local): Fix problem with finding next
2446         invisible line.
2448 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2450         * org-list.el (org-list-send-list): Call
2451         `org-list-goto-true-beginning' instead of
2452         `org-list-find-true-beginning', which does not exist.
2454         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2455         (org-timer-set-timer): Do not assign to heading.
2457         * org-id.el (org-id-open): Quote function name.
2459         * org-macs.el (org-unmodified): Turn off recording undo
2460         information while running inside the macro.
2462         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2463         variable.
2464         (org-indent-mode): Remember and restore value of
2465         org-hide-leading-stars before `org-indent-mode'.
2467         * org-table.el (org-table-export): Also work in file-less
2468         buffers.
2470         * org.el (org-startup-indented): New option.
2471         (org-startup-options): Add new options indent and noindent.
2472         (org-unfontify-region): Remove line-prefix and wrap-prefix
2473         properties.
2474         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2475         hooks.
2476         (org-promote, org-demote): Run the new hooks.
2478         * org-table.el (org-table-align): Replace leading \n as well.
2480         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2481         and `line-wrap' text properties.
2483         * org-compat.el (org-kill-new): New function.
2485         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2486         `line-wrap' text properties.
2488         * org-indent.el: New file.
2490 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2492         * org.el (org-provide-todo-statistics): Tweak docstring.
2494         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2496 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2498         * org-exp.el (org-export-as-org): Insert the "-source" string
2499         before the extension.
2501         * org.el (org-read-date): Make sure the calendar is in the current
2502         frame.
2503         (org-set-emph-re): Remove the ? from the post-match.
2504         (org-emphasis-regexp-components): Add backslash to the
2505         postmatch class.
2506         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2507         optional so that also lines at the end of the buffers will still
2508         be matched as headlines.
2510         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2511         Variable made obsolete.
2512         (org-table-relative-ref-may-cross-hline): New option.
2513         (org-table-find-row-type): Honow the new option
2514         `org-table-relative-ref-may-cross-hline'.
2516 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2518         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2519         on single field if no active region.
2521 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2523         * org-latex.el (org-export-latex-make-header): Only insert title
2524         if one is defined.
2526         * org.el (org-make-options-regexp): Allow empty values.
2528         * org-html.el (org-export-as-html): Move hrule detection to after
2529         plain list handling.
2531 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2533         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2535 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2537         * org.el (org-cycle-internal-local): Improved version of finding
2538         next visible line.
2539         (org-cycle-hide-drawers): Only hide drawers if this is really
2540         necessary.
2541         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2542         org-version of this function in Org-mode.  We use advice to
2543         implement this change, so that future changes to this function in
2544         outline.el wil be handled properly.
2545         (org-forward-same-level, org-backward-same-level): New commands.
2547 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2549         * org.el (org-remove-empty-overlays-at)
2550         (org-clean-visibility-after-subtree-move): New functons.
2551         (org-move-subtree-down): Simplify cleanup of display.
2553 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2555         * org-mac-message.el (org-mac-message-get-links): Improve
2556         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2557         "s".  Fix the return value.
2558         (org-mac-message-insert-flagged): Simplify.
2560         * org.el (org-refile-get-location): Tamper with refile history o
2561         that history contains compete matches instead of the entered
2562         string.
2564 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2566         * org.el (org-store-link): Never store a link to an inline task.
2568         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2570         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2571         inline tasks when positioning footnotes.
2573         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2574         function.
2576         * org.el (org-refile): Remove the END line when archiving an
2577         inline task that does have an END line.
2579         * org-archive.el (org-archive-subtree): Remove the END line when
2580         archiving an inline task that does have an END line.
2582         * org-macs.el (org-with-limited-levels): New macro.
2583         (org-get-limited-outline-regexp): New function.
2585         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2586         that did not enumerate first line.
2587         (org-export-mark-radio-links): Skip matches in links.
2589 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2591         * org.el (org-activate-plain-links): Make single-match.
2592         (org-adapt-indentation): Fix docstring.
2594         * org-macs.el (org-unmodified): Turn of modification hooks while
2595         running this macro.
2597 2009-08-02  Bastien Guerry  <bzg@altern.org>
2599         * org.el (org-adapt-indentation): Slightly improve the docstring.
2600         (org-occur): Sends an error when the user inputs an empty string.
2601         (org-priority): Bugfix: the tag alignement should happen within
2602         save-excursion.
2604 2009-07-31  Bastien Guerry  <bzg@altern.org>
2606         * org.el (org-make-link-regexps): Don't exclude parentheses from
2607         `org-plain-link-re'
2608         (org-cycle-internal-local): When locally cycling, switch directly
2609         from CHILDREN to FOLDED if there is no subtree
2610         (org-cycle): Update the docstring to document the new behavior of
2611         `org-cycle-internal-local'.
2613 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2615         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2616         an abbreviated format for days.
2618 2009-07-27  Bastien Guerry  <bzg@altern.org>
2620         * org-protocol.el (org-protocol-default-template-key): New
2621         option.
2623         * org.el (org-refile): Bugfix: save-excursion before reading the
2624         refile target, otherwise cursor moves might confuse `org-refile'.
2626         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2627         footnote reference before the footnote itself.
2629         * org.el (org-toggle-heading): Bugfix: correctly convert list
2630         items before the first headline.
2632         * org-html.el (org-export-html-footnote-format): New option for
2633         formatting the footnote reference.
2634         (org-export-as-html): Use the new option.
2636         * org.el (org-provide-todo-statistics): Allow a list of TODO
2637         keywords to compute statistics against headlines containing a
2638         keyword from this list.
2639         (org-update-parent-todo-statistics): Possibly use the new allowed
2640         value of `org-provide-todo-statistics'.
2642 2009-07-26  Bastien Guerry  <bzg@altern.org>
2644         * org-timer.el: Add autoload cookie.
2646         * org.el (org-occur-link-in-agenda-files): New function.
2648         * org-timer.el (org-timer-last-timer): New variable.
2650         * org-agenda.el (org-agenda-mode-map): New key for
2651         org-timer-set-timer called from the agenda.
2653         * org.el (org-mode-map): New key for org-timer-set-timer.
2655         * org-timer.el (org-timer-reset-timers)
2656         (org-timer-show-remaining-time, org-timer-set-timer): New
2657         functions.
2659         * org-clock.el (org-show-notification): Update the docstring.
2661         * org.el (org-provide-todo-statistics): Allow new value
2662         'all-headlines for this option, which includes entries with no
2663         TODO keywords in the todo statistics.
2664         (org-update-parent-todo-statistics): Possibly use the new
2665         'all-headline value from `org-provide-todo-statistics'.
2667 2009-07-25  Bastien Guerry  <bzg@altern.org>
2669         * org-clock.el (org-dblock-write:clocktable): Add a new option
2670         :timestamp which allows display of timestamps in clock reports.
2672         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2673         list to a subtree, preserving the structure of the list.
2674         (org-set-emph-re): Make the last element optional in the regexp.
2675         This regexp now matches an emphasized string at the end of a line.
2677         * org-list.el (org-list-goto-true-beginning)
2678         (org-list-make-subtree, org-list-make-subtrees): New functions.
2680         * org.el (org-eval-in-calendar): Select the right frame.
2681         (org-save-frame-excursion): Remove this macro.
2683 2009-07-24  Bastien Guerry  <bzg@altern.org>
2685         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2686         trying to find the beginning of a list.
2688         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2689         When present, tell org-get-file-contents not to protect org-like
2690         lines.
2692         * org-id.el (org-id-uuid-program): New option to set the name of
2693         the uuidgen program.
2694         (org-id-method): Use `org-id-uuid-program'.
2695         (org-id-new): Use `org-id-uuid-program'.
2697 2009-07-23  Bastien Guerry  <bzg@altern.org>
2699         * org-exp.el (org-export-number-lines): Allow whitespace in code
2700         references.  Allow the -r switch to remove the references in the
2701         source code even when the lines are not numbered: the labels can
2702         be explicit enough.
2704         * org.el (org-fontify-whole-heading-line): New option.
2705         (org-set-font-lock-defaults): Use the new option.
2707         * org-clock.el (org-show-notification-handler): New option.
2708         (org-show-notification): Use the new option.
2710 2009-07-21  Bastien Guerry  <bzg@altern.org>
2712         * org.el (org-eval-in-calendar): Fix a bug about calendar
2713         navigation when `calendar-setup' value is 'calendar-only.
2715 2009-07-19  Bastien Guerry  <bzg@altern.org>
2717         * org.el (orgstruct++-mode): Fix typo in docstring.
2718         (org-insert-link): Clean up: (or (...)) => (...)
2719         (org-insert-link): Use TAB for stored links completion.
2721 2009-07-18  Bastien Guerry  <bzg@altern.org>
2723         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2724         building the list of targets.
2726         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2727         option.
2728         (org-remember-handler): Use the new option.
2730 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2732         * org.el (org-tags-sort-function): New option for sorting tags.
2733         (org-set-tags): Use the new option to sort tags.
2735         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2736         premature deletion of the data when using org-plot in a script.
2738 2009-07-17  Bastien Guerry  <bzg@altern.org>
2740         * org-clock.el (org-clock-in-prepare-hook): New hook.
2741         (org-clock-in): Use this new hook.
2743 2009-07-16  Bastien Guerry  <bzg@altern.org>
2745         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2746         'reversed for this option to the "true line boundary first"
2747         behavior.
2748         (org-tags-match-list-sublevels): Document the 'indented value for
2749         this variable.
2751         * org-latex.el (org-export-latex-first-lines): Fix problem with
2752         publishing the region.
2754         * org-exp.el (org-export-format-source-code-or-example): Fix
2755         bad line numbering when exporting examples in HTML.
2757         * org-colview.el (org-format-time-period): Formats a time in
2758         fractional days as days, hours, mins, seconds.
2759         (org-columns-display-here): Add special handling for SINCE and
2760         SINCE_IA to format for display.
2762 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2764         * org.el (org-tags-sort-function): Add custom declaration for tags
2765         sorting function.
2766         (org-set-tags): Sort tags if org-tags-sort-function is set
2768 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2770         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2772         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2774         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2775         option.
2777 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2779         * org-publish.el (org-publish-remove-all-timestamps): New function.
2780         (org-publish-all): Remove all timestamp files if `org-publish-all'
2781         is called with a prefix argument.
2783         * org-list.el (org-indent-item): Fix typo.
2784         (org-item-indent-positions): Normalize ordered bullet.
2786         * org-html.el (org-export-html-home/up-format): New option.
2787         (org-export-as-html): Insert the up and HOME links.
2789 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2791         * org-html.el (org-export-as-html): Insert the title into the
2792         option plist.
2793         (org-export-html-insert-plist-item): New function.
2794         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2796         * org-macs.el (org-set-local): Make a local variable, do not make
2797         the variable buffer-local!
2799         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2801         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2803         * org-docbook.el (org-export-as-docbook): Call
2804         `org-install-letbind'.
2806         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2808         * org-exp.el (org-infile-export-plist): Read BIND lines.
2809         (org-install-letbind): New function.
2810         (org-export-as-org, org-export-preprocess-string): Call
2811         `org-install-letbind'.
2813         * org-src.el (org-edit-src-exit): Untabify the example before
2814         returning to Org.
2816         * org-list.el (org-list-demote-modify-bullet): New option.
2817         (org-first-list-item-p): Save point.
2818         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2819         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2820         (org-item-indent-positions): Return bullet types along with
2821         indentation.
2823 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2825         * org.el (org-show-entry): Hide drawers.
2827 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2829         * org-footnote.el (org-footnote-auto-adjust): New option.
2830         (org-footnote-auto-adjust-maybe): New function.
2831         (org-footnote-new, org-footnote-delete): Call
2832         `org-footnote-auto-adjust-maybe'.
2834         * org.el (org-startup-options): Add new footnote-related
2835         keywords.
2837         * org-publish.el (org-publish-timestamp-filename): Additional
2838         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2839         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2840         TRUE-PUB-DIR.  Pass them through to
2841         `org-publish-timestamp-filename'.
2842         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2843         PUB-FUNC, which are included in the hash.
2844         (org-publish-file): Delay timestamp test until the publishing
2845         function is known.
2847 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2849         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2850         setting the deadline.
2852         * org.el (org-read-date-final-answer): New variable.
2853         (org-read-date): Store the final answer string, including the date
2854         from the calendar, for reuse by agenda bulk commands.
2856         * org-publish.el (org-publish-attachment): Fix publishing of
2857         attachments.
2859         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2860         quotation makrs in parenthesis.
2861         (org-remove-initial-hash): New function.
2862         (org-export-latex-preprocess): Fix bug with infinite loop if
2863         environment is not properly closed.
2865         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2866         when indented.
2868         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2869         highlight also when indented.
2871 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2873         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2874         (org-footnote-action): Offer renumbering.
2876         * org.el (org-cycle): Honor the `integrate' value of
2877         org-cycle-include-plain-lists'.
2879         * org-list.el (org-cycle-include-plain-lists): New allowed value
2880         `internal'.  Improve the docstring.
2882         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2883         regexp to work better with LaTeX commands.
2885 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2887         * org-feed.el (org-feed-update): fix problem with non-existing
2888         buffer.
2889         (org-feed-skip-http-headers): New function.
2890         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2891         (org-feed-get-feed): Fix command line arguments for curl.
2893 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2895         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2896         and eps extensions.
2898 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2900         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2901         loaded.
2903         * org.el (org-map-entries): No longer force
2904         `org-tags-match-list-sublevels' to t during a todo-only tags
2905         search.
2907 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2909         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2910         environment.
2911         (org-export-latex-subcontent): Handle user-defined environment.
2913         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2914         the View dispatcher.
2916         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2917         `make-overlay'.
2919         * org-latex.el (org-export-as-pdf): Protect match data during call
2920         to shell-quote-argument.
2922         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2923         (org-agenda-view-mode-dispatch): New function.
2925 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2927         * org-agenda.el (org-agenda-mode): Reset list of marks.
2928         (org-agenda-mode-map): Define new keys for refile and bulk action.
2929         (org-agenda-menu): Add menu itesm for refile and bulk action.
2930         (org-agenda-refile): New function.
2931         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2932         (org-agenda-marked-entries): New variable.
2933         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2934         (org-agenda-remove-all-bulk-action-marks)
2935         (org-agenda-bulk-action): New functions/commands.
2937 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2939         * org-exp.el (org-get-file-contents): Protect org-like lines in
2940         included files.
2941         (org-export-format-source-code-or-example): Remove newlines.
2943         * org-latex.el (org-export-latex-links): Check for no-description
2944         marking.
2946         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2947         argument separator back to comma.
2948         (org-export-normalize-links): Mark links without description.
2950 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2952         * org-exp.el (org-infile-export-plist): Fix bug in macro
2953         processing.
2955         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2956         out.
2957         (org-agenda-highlight-todo): Fix bug with highlighting.
2959 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2961         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2962         new alignment strings.
2964         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2965         command list.
2966         (org-table-align): Check for forced align type.
2968         * org.el (org-self-insert-command): Add yas/expand to command
2969         list.
2971         * org-clock.el (org-clock-in-hook): New hook.
2972         (org-clock-in): Run `org-clock-in-hook.
2973         (org-clock-out-hook): New hook.
2974         (org-clock-out): Run `org-clock-out-hook.
2975         (org-clock-cancel-hook): New hook.
2976         (org-clock-cancel): Run `org-clock-cancel-hook.
2977         (org-clock-goto-hook): New hook.
2978         (org-clock-goto): Run `org-clock-goto-hook.
2980 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2982         * org.el (org-store-link): Better default description for link to
2983         Org-mode headline.
2985         * org-exp.el (org-export-generic): Autoload the generic exporter
2986         function.
2987         (org-export): Implement the `g' key for the generic exporter.
2989 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2991         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2992         and for zbacktab'.
2994         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2996         * org-exp.el (org-infile-export-plist): Get macros also from
2997         #+SETUPFILE.
2999 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
3001         * org-colview.el (org-columns-capture-view): Protect vertical bars
3002         in column values.
3003         (org-columns-capture-view): Exclude comment and archived trees.
3005         * org-colview-xemacs.el (org-columns-capture-view): Protect
3006         vertical bars in column values.
3007         (org-columns-capture-view): Exclude comment and archived trees.
3009         * org.el (org-quote-vert): New function.
3011         * org-latex.el (org-export-latex-verbatim-wrap): New option.
3013         * org-exp.el (org-export-format-source-code-or-example): Use
3014         `org-export-latex-verbatim-wrap'.
3016         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3017         time stamps.
3019         * org-html.el (org-export-table-row-tags): New option.
3020         (org-format-org-table-html): Rename `nlines' to `nline', use new
3021         option.
3024 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
3026         * org-exp-blocks.el: Declare functions and variables.
3028         * org-remember.el (org-remember-templates): Allow the headline
3029         element to be a function.
3030         (org-remember-apply-template): If the headline is a function, call
3031         it to get the true function.
3033         * org-clock.el (org-clock-menu): New function.
3034         (org-clock-update-mode-line): Update help string.
3035         (org-clock-modify-effort-estimate): New function.
3036         (org-clock-mark-default-task): New function.
3038         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3039         minutes as input.
3040         (org-org-menu): Add new clocking stuff.
3041         (org-clock-is-active): New function.
3043 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
3045         * org.el (org-open-non-existing-files): Improve docstring.
3047 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
3049         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3050         option.
3051         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3053         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3055         * org-list.el (org-get-checkbox-statistics-face): Use the new
3056         faces.
3058         * org-faces.el (org-checkbox-statistics-todo)
3059         (org-checkbox-statistics-done): New faces.
3061 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3063         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3064         (org-edit-src-exit): Better cursor positioning when returning from
3065         editing.
3067         * org-latex.el (org-export-latex-use-verb): New variable.
3068         (org-export-latex-emph-format): Prefer \texttt over \verb when
3069         org-export-latex-use-verb is set.
3071 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3073         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3074         at normal indentation.
3076         * org-html.el (org-export-html-close-lists-maybe): Also look at
3077         normal indentation.
3079         * org-remember.el (org-remember-handler): Abort remember if the
3080         buffer is empty.
3082         * org-src.el (org-edit-src-content-indentation): New option.
3083         (org-edit-src-exit): Apply extra indentation.
3085         * org-exp.el (org-export-format-source-code-or-example): Run
3086         `org-src-mode-hook'.
3088         * org-src.el (org-src-mode-hook): New variable.
3089         (org-edit-src-code): Run `org-src-mode-hook'.
3091 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3093         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3095         * org-src.el (org-edit-src-get-indentation): New function.
3096         (org-edit-src-code): Base indentation on the begin line.
3098 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3100         * org-gnus.el (org-gnus-store-link): Require message.el in
3101         org-gnus-store-link.
3103 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3105         * org-src.el: New file, split out of org.el
3107         * org-docbook.el (org-export-as-docbook): Better indentation
3108         treatment.
3110         * org-macs.el (org-replace-match-keep-properties): New function.
3112         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3113         preprocessing of center and quote and verse blocks.
3115         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3116         (org-export-as-docbook): Close lists when original indentation
3117         mandates it.
3119         * org-html.el (org-export-html-close-lists-maybe): New function.
3120         (org-export-as-html): Close lists when original indentation
3121         mandates it.
3123         * org-list.el (org-list-end): Respect the stored "original"
3124         indentation when determining the end of the list.
3126         * org-exp.el (org-export-replace-src-segments-and-examples):
3127         Remember indentation correctly.
3129 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3131         * org-clock.el (org-clock-update-mode-line): Apply face
3132         org-mode-line-clock.
3134         * org-faces.el (org-mode-line-clock): New face.
3136 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3138         * org-gnus.el (org-gnus-store-link): Fix bug where
3139         `org-gnus-store-link' used wrong subject when called in an article
3140         buffer.  Patch provided by fengli AT gmail DOT com.
3142 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3144         * org-exp.el (org-export-format-source-code-or-example): Remember
3145         the original indentation of source code snippets and examples.
3147         * org-latex.el (org-export-as-latex): Relocate the table of
3148         contents.
3150         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3152         * org-agenda.el (org-run-agenda-series): Scope global options also
3153         when creating the agenda buffer.
3155 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3157         * org.el (org-adapt-indentation): Improve documentation.
3158         (org-insert-property-drawer): Respect org-adapt-indentation when
3159         inserting the drawer.
3160         (org-remove-flyspell-overlays-in): New function.
3161         (org-do-emphasis-faces, org-activate-plain-links)
3162         (org-activate-code, org-fontify-meta-lines-and-blocks)
3163         (org-activate-angle-links, org-activate-footnote-links)
3164         (org-activate-bracket-links, org-activate-dates)
3165         (org-activate-target-links, org-activate-tags): Remove flyspell
3166         overlays.
3168 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3170         * org.el (org-edit-src-save): New function.
3172         * org-clock.el (org-clock-out-switch-to-state): New option.
3173         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3175         * org-compat.el (org-compatible-face): Improve macro.
3177         * org.el (org-global-properties-fixed): Add default for
3178         CLOCK_MODELINE_TOTAL.
3180         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3181         andd tend.
3182         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3183         org-clock-sum.
3184         (org-clock-get-sum-start): New function.
3186         * org.el (org-startup-options): New keywords blockhide and
3187         blockshow.
3188         (org-mode): Add new invisibility spec.
3189         (org-set-startup-visibility): Hide block on startup if so
3190         desired.
3191         (org-hide-block-startup): New option.
3192         (org-block-regexp): New constant.
3193         (org-hide-block-overlays): New variable.
3194         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3195         (org-show-block-all, org-hide-block-toggle-maybe)
3196         (org-hide-block-toggle): New functions.
3197         (org-edit-src-exit): Do not quote lines starting with # and no +
3198         behind it.
3199         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3200         entry.
3202 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3204         * org.el (org-buffer-property-keys): Add Effort property for
3205         completion.
3207 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3209         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3210         when retrieving total clocked time in the subtree.
3212         * org.el (org-quoting-blocks): New variable.
3214 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3216         * org-table.el (org-table-store-formulas)
3217         (org-table-get-stored-formulas, org-table-fix-formulas)
3218         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3219         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3221         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3222         indented #+TBLFM line.
3224         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3225         indented #+TBLFM line.
3227         * org-colview.el (org-dblock-write:columnview): Allow indented
3228         #+TBLFM line.
3230         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3231         indented #+TBLFM line.
3233         * org-clock.el (org-dblock-write:clocktable): Allow indented
3234         #+TBLFM line.
3236 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3238         * org-exp.el (org-export-format-source-code-or-example): Make
3239         editing indented blocks work correctly.
3241         * org.el (org-edit-src-nindent): New variable.
3242         (org-edit-src-code, org-edit-fixed-width-region)
3243         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3244         editing indented blocks work correctly.
3246 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3248         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3249         indented blocks.
3250         (org-export-format-source-code-or-example): Fix indentation of
3251         blocks.
3252         (org-export-remove-indentation): New function.
3253         (org-export-select-backend-specific-text): Allow backend-specific
3254         code to be indented.
3255         (org-export-mark-blockquote-verse-center): Allow markers to be
3256         indented.
3258         * org.el (org-fontify-meta-lines): New function.
3259         (org-set-font-lock-defaults): Call the new fontification
3260         function.
3262         * org-faces.el (org-meta-line): New face
3263         (org-block):  New face.
3265 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3267         * org.el (org-treat-insert-todo-heading-as-state-change)
3268         (org-treat-S-cursor-todo-selection-as-state-change): New
3269         variables.
3270         (org-insert-todo-heading): Honor
3271         `org-treat-insert-todo-heading-as-state-change'.
3272         (org-shiftright, org-shiftleft): Honor
3273         `org-treat-S-cursor-todo-selection-as-state-change'.
3274         (org-inhibit-logging): New variable.
3276 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3278         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3279         range for marker position checking.
3281         * org-latex.el (org-export-latex-first-lines): Fix bug when
3282         exporting a region.
3284 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3286         * org-exp.el (org-export-push-to-kill-ring): Protect using
3287         x-set-selection, because that does not always work.
3289         * org-agenda.el (org-agenda-list): Apply the new face
3290         `org-agenda-date-today'.
3292         * org-faces.el (org-agenda-date-today): New face.
3294 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3296         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3297         creating appointments.
3299         * org-latex.el (org-export-latex-low-levels): Fix customization
3300         type.
3302         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3303         priority commands.
3305         * org-agenda.el (org-agenda-priority): Disable priority commands.
3307         * org.el (org-enable-priority-commands): New option.
3309         * org-colview-xemacs.el (org-columns-compute)
3310         (org-columns-number-to-string): Fix problems with empty fields.
3312         * org-colview.el (org-columns-compute)
3313         (org-columns-number-to-string): Fix problems with empty fields.
3315         * org-exp.el (org-export-push-to-kill-ring): New function.
3316         (org-export-copy-to-kill-ring): New option.
3318         * org-latex.el (org-export-as-latex): Call
3319         `org-export-push-to-kill-ring'.
3321         * org-html.el (org-export-as-html): Call
3322         `org-export-push-to-kill-ring'.
3324         * org-docbook.el (org-export-as-docbook): Call
3325         `org-export-push-to-kill-ring'.
3327         * org-ascii.el (org-export-as-ascii): Call
3328         `org-export-push-to-kill-ring'.
3330         * org-exp.el (org-export-show-temporary-export-buffer): New
3331         option.
3333         * org-latex.el (org-export-as-latex): Use
3334         `org-export-show-temporary-export-buffer'.
3336         * org-html.el (org-export-as-html): Use
3337         `org-export-show-temporary-export-buffer'.
3339         * org-docbook.el (org-export-as-docbook): Use
3340         `org-export-show-temporary-export-buffer'.
3342         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3343         `org-export-show-temporary-export-buffer'.
3345         * org-exp.el (org-export-show-temporary-export-buffer): New
3346         option.
3347         (org-export-push-to-kill-ring): New function.
3349         * org-colview.el (org-columns-compile-map): New variable.
3350         (org-columns-new, org-columns-compute)
3351         (org-columns-number-to-string, org-columns-uncompile-format)
3352         (org-columns-compile-format): Implement new operators.
3354 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3356         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3358         * org-html.el (org-export-html-xml-declaration): New option.
3359         (org-export-as-html): Use `org-export-html-xml-declaration'.
3361         * org-list.el (org-update-checkbox-count): Make property
3362         dependent.
3364         * org.el (org-hierarchical-todo-statistics): New option.
3365         (org-update-parent-todo-statistics): Modified to handle recursive
3366         statistics.
3368 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3370         * org-publish.el (org-publish): Make this function behave
3371         correctly in interactive use when called with a prefix argument.
3373         * org.el (org-todo-statistics-hook): New hook.
3374         (org-update-parent-todo-statistics): Use new hook.
3375         (org-log-into-drawer): New function.
3376         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3377         determine if we should be logging into a drawer.
3378         (org-log-into-drawer): Update docstring.
3379         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3381         * org-list.el (org-checkbox-statistics-hook): New hook.
3382         (org-update-checkbox-count-maybe): Use new hook.
3384         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3385         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3386         to kill ring.
3388 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3390         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3391         a line.
3393 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3395         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3396         better bufer-generating mechanism.
3397         (org-edit-src-find-buffer): New function.
3399         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3400         archive tag, this is already done by `org-agenda-skip'.
3401         data while constructing lost of tags.
3403 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3405         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3406         as argument separator in macros.
3408         * org-html.el (org-export-as-html): Add xml declaration.
3410 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3412         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3413         (org-sort-entries-or-items): Run the new hook.
3414         (org-after-refile-insert-hook): New hook.
3415         (org-refile): Run `org-after-refile-insert-hook'.
3417         * org-agenda.el (org-agenda-get-progress): Never take time of day
3418         from headline when displaying progress.
3420         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3421         (org-export-as-latex): Force the correct regexp in the
3422         preprocessor buffer.
3423         (org-export-latex-set-initial-vars): Set
3424         `org-export-latex-complex-heading-re'.
3426         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3427         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3429 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3431         * org-latex.el (org-export-latex-tables-centered): New option.
3432         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3434         * org-exp.el (org-export-as-org): New command.
3435         (org-export-as-org): New command.
3437         * org-publish.el (org-publish-org-to-org): New function.
3439 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3441         * org.el (org-yank): Just call `org-yank-generic'.
3442         (org-yank-generic): New function, containing the formaer
3443         functionality of `org-yank'.
3445         * org-latex.el (org-export-latex-not-done-keywords)
3446         (org-export-latex-done-keywords): New variables.
3447         (org-export-latex-todo-keyword-markup): New option.
3448         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3449         (org-export-latex-keywords-maybe): Apply the TODO markup.
3451 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3453         * org-exp.el (org-infile-export-plist): Add more default macros.
3454         (org-export-preprocess-apply-macros): Process macro arguments.
3456 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3458         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3459         `unblocked'.
3460         (org-print-icalendar-entries): Respect the new value of
3461         `org-icalendar-include-todo'.
3463         * org.el (org-link-try-special-completion)
3464         (org-file-complete-link): New functions.
3465         (org-insert-link): Add special completion support for some link
3466         types.
3468         * org-bbdb.el (org-bbdb-complete-link): New function.
3470 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3472         * org-list.el (org-update-checkbox-count): Allow recursive
3473         statistics.
3474         (org-hierarchical-checkbox-statistics): New option.
3476         * org.el (org-cycle): Remove erraneous space character.
3478         * org-icalendar.el (org-icalendar-timezone): Initialize from
3479         environment.
3481         * org-html.el (org-format-org-table-html): Specify the scope.
3482         (org-format-table-table-html): Specify the scope.
3483         (org-export-table-header-tags): Prepare the scope parameter.
3485 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3487         * org-html.el
3488         (org-export-html-table-use-header-tags-for-first-column): New
3489         option.
3491         * org.el (org-autoload): Fix autoloading of ascii export
3492         functions.
3493         (org-modules): Add org-special-blocks.
3495 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3497         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3498         (org-ical-timezone): New option.
3500         * org-exp.el (org-export-get-coderef-format): Use the description
3501         is present.
3503         * org.el (org-sort-entries-or-items): Improve docstring, and make
3504         better implementation for time sorting.
3506 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3508         * org.el (org-edit-src-persistent-message): New option.
3509         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3510         option.
3512         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3513         patch.
3515         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3516         separate buffer instead of indirect buffer to edit source code.
3517         (org-edit-src-exit): Make this function work with the new setup.
3519         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3520         are properly fontified before shown in the selection menu.
3522         * org.el (org-fontify-like-in-org-mode): New function.
3524         * org-latex.el (org-export-latex-links): Use the property list to
3525         retrieve the default image attributes.
3527         * org-exp.el (org-export-plist-vars): Add a new option.
3529 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3531         * org-exp.el (org-export, org-export-visible): Support ASCII
3532         export to buffer
3533         (org-export-normalize-links): Do not protect the description if it
3534         is explicitly given.
3536         * org-ascii.el (org-export-as-ascii-to-buffer)
3537         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3538         commands.
3539         (org-export-as-ascii): Add all the same parameters that are also
3540         supported by the other export functions.
3542         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3543         org-checklist.el.
3544         (org-reset-checkbox-state-subtree): Call
3545         `org-reset-checkbox-state-subtree'.
3547         * org-remember.el (org-select-remember-template): For the
3548         selection of a valid template.
3550         * org-latex.el (org-export-region-as-latex): Supply the
3551         force-no-subtree argument.
3552         (org-export-as-latex): Provide better limits when exporting the
3553         first line.  When exporting to string, we still want the first
3554         lines.
3555         (org-export-latex-first-lines): New argument END, to force the end
3556         of the region.
3557         (org-export-region-as-latex): Use the property list.
3558         (org-export-as-latex):
3560         * org-colview-xemacs.el (org-columns-remove-overlays)
3561         (org-columns): Fix call to `local-variable-p'.
3563 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3565         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3566         (org-export-as-html): Run the new hook.
3568         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3569         (org-export-latex-preprocess): Run the new hook.
3571         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3572         (org-export-preprocess-string): Run the new hook.
3574 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3576         * org-macs.el (org-check-external-command): New defsubst.
3578         * org.el (org-mode-map): New key for reload.
3579         (org-format-latex): Better error message when external programs
3580         are not available.
3582         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3584         * org.el (org-sort-entries-or-items): Explicit sorting function
3585         for priorities, needed for XEmacs compatibility.
3587         * org-remember.el (org-remember-apply-template): Improve auto-save
3588         behavior.
3590 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3592         * org-latex.el (org-export-latex-preprocess): Also protect
3593         environments ending in a star.
3595         * org-list.el (org-at-item-p): Fix regular expression.
3597 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3599         * org.el (org-end-of-subtree): Improve speed.
3601         * org-agenda.el (org-agenda-get-timestamps)
3602         (org-agenda-get-progress, org-agenda-get-deadlines)
3603         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3604         in particular, wait as long as possible to collect the tags.
3605         (org-stuck-projects): Improve docstring.
3607         * org.el (org-store-link): No errors when getting custom id before
3608         first headline.
3609         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3611 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3613         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3615         * org-protocol.el: Remove dependency on url.el.
3616         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3617         dependency on url.el.
3619         * org-latex.el (org-export-as-pdf): Use
3620         `org-latex-to-pdf-process'.
3622 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3624         * org-latex.el (org-latex-to-pdf-process): New option.
3626         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3627         New option.
3628         (org-agenda-get-timestamps): Honor
3629         `org-agenda-skip-additional-timestamps-same-entry'.
3631         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3632         (org-clock-goto): Find recent task only if
3633         `org-clock-goto-may-find-recent-task' allows it.
3635         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3636         drawers, and drawers that are missing the :END: line.
3638 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3640         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3641         clock is running.
3643 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3645         * org.el (org-update-parent-todo-statistics): Check for
3646         STATISTICS_FROM property.
3648         * org-list.el (org-update-checkbox-count): Check for
3649         STATISTICS_FROM property.
3651         * org.el (org-tab-first-hook)
3652         (org-tab-after-check-for-table-hook)
3653         (org-tab-after-check-for-cycling-hook): New hooks.
3654         (org-cycle-internal-global, org-cycle-internal-local): New
3655         functions, split out from `org-cycle'.
3656         (org-cycle): Call the new hooks.
3658 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3660         * org-exp.el (org-export-preprocess-string): Reset the list of
3661         preferred targets for each run of the preprocessor.
3663         * org.el (org-refile-target-verify-function): Improve
3664         documentation.
3665         (org-get-refile-targets): Respect point being moved by the
3666         verification function.
3668         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3669         option.
3670         (org-export-latex-keywords): Use new option.
3672         * org.el (org-rear-nonsticky-at): New defsubst.
3673         (org-activate-plain-links, org-activate-angle-links)
3674         (org-activate-footnote-links, org-activate-bracket-links)
3675         (org-activate-dates, org-activate-target-links)
3676         (org-activate-tags): Place the rear-nonsticky properties at the
3677         correct location.
3679 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3681         * org-protocol.el (server-edit): Declare `server-edit'.
3682         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3683         functions.
3684         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3686         * org.el (org-default-properties): New default properteis for
3687         completion.
3689         * org-exp.el (org-export-add-subtree-options): Add new properties
3690         for subtree export.
3692         * org-docbook.el (org-export-docbook-keywords-markup)
3693         (org-export-docbook-timestamp-markup): New options.
3694         (org-export-docbook-protect-tags): New function.
3696 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3698         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3699         org-refile-target-verify-function for the duration of the command.
3701         * org.el (org-link-to-org-use-id): New possible value
3702         `create-if-interactive-and-no-custom-id'.
3703         (org-store-link): Use custom IDs.
3704         (org-link-search): Find custom ID properties from #link.
3705         (org-default-properties): Add CUSTOM_ID for property completion.
3706         (org-refile-target-verify-function): New option.
3707         (org-goto): Turn off org-refile-target-verify-function
3708         for the duration of the command.
3710 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3712         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3714         * org-exp.el (org-export-preferred-target-alist): New variable.
3715         (org-export-define-heading-targets): Find the new CUSTOM_ID
3716         property.
3717         (org-export-target-internal-links): Target the custom ids when
3718         possible.
3720         * org-latex.el (org-export-latex-preprocess): Better regexp for
3721         matching latex macros with arguments.
3723 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3725         * org-remember.el (org-remember-handler): Allow filing to non-org
3726         files.
3728 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3730         * org-feed.el (org-feed-alist): New keyword options.
3731         (org-feed-update): Use the new options.
3732         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3733         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3734         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3735         functions.
3737         * org-table.el (org-table-fix-formulas): Do not change references
3738         to remote tables.
3739         (org-table-get-remote-range): Convert standard coordinates to RC
3740         format.
3742         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3744 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3746         * org-compat.el (org-sha1-string): Function removed.
3748         * org.el (org-refile-allow-creating-parent-nodes): New option.
3749         (org-refile-get-location): New argument NEW-NODES.
3750         (org-refile): Call `org-refile-get-location' with the new
3751         argument.
3752         (org-refile-get-location): Arrange for adding a new child.
3753         (org-refile-new-child): New function.
3755         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3756         an additional span element.
3758         * org-clock.el: Fix a number of docstrings.
3759         (org-clock-find-position): New argument
3760         FIND-UNCLOSED to make the function find an unclosed clock in the
3761         entry.
3762         (org-clock-in): Call `org-clock-find-position' with the new
3763         argument if we might be resuming a clock.
3765 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3767         * org-latex.el (org-export-latex-display-custom-times): New variable.
3768         (org-export-latex-timestamp-markup): New option.
3769         (org-export-latex-set-initial-vars): Remember the local value of
3770         `org-display-custom-times'.
3771         (org-export-latex-content): Process time stamps.
3772         (org-export-latex-time-stamps): New function.
3774         * org-macs.el (org-maybe-intangible): Add intangible property
3775         again to invisible text.
3777 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3779         * org-exp.el (org-default-export-plist): Handle undefined
3780         variables.
3782 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3784         * org.el (org-sort-entries-or-items): Match TODO keywrds
3785         case-sensitively, when sorting.
3786         (org-priority): Do not match TODO keywords with wrong case.
3788 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3790         * org-feed.el (org-feed-update): Bind the variable
3791         `new-formatted'.
3793         * org-html.el (org-export-as-html): Start paragraphs after literal
3794         examples.
3796         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3797         literal examples.
3799 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3801         * org.el (org-todo): Honor the NOBLOCKING property.
3803         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3804         NOBLOCKING property.
3806         * org.el (org-scan-tags): Fix bug in tag scanner
3808 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3810         * org.el (org-modules): Mark obsolete packages.
3812         * org-html.el: New file, split out from org-exp.el.
3814         * org-icalendar.el: New file, split out from org-exp.el.
3816         * org-xoxo.el: New file, split out from org-exp.el.
3818         * org-ascii.el: New file, split out from org-exp.el.
3820 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3822         * org-compat.el (org-find-library-name): New function.
3824         * org.el (org-pre-cycle-hook): New hook.
3825         (org-cycle): Call the new hook in appropriate places.
3826         (org-reload): Only reload files that have been loaded before.
3828 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3830         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3831         after todo keyword.
3832         (org-todo): When changing TODO state, do matching
3833         case-sensitively.
3834         (org-map-continue-from): New variable.
3835         (org-scan-tags): Respect values in `org-map-continue-from'.
3836         (org-reload): Make XEmacs compatible.
3838 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3840         * org-protocol.el (org-protocol-flatten-greedy): New function.
3841         (org-protocol-flatten): New function.
3843         * org.el (org-open-link-from-string): Pass reference buffer to
3844         `org-open-at-point'.
3845         (org-open-at-point): New optional argument `reference-buffer'.
3847 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3849         * org.el (org-scan-tags): Make tag scan find headline in first
3850         line, 2nd attempt.
3851         (org-get-refile-targets): Add the naked file name.
3852         (org-refile): Store as top-level entry when only file name was
3853         given.
3855         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3857         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3858         Renamed from org-block-todo-from-children-or-siblings, and
3859         enhanced to look for the parent's status as well.
3861         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3862         (org-agenda-get-progress): Add first notes line to log entry if so
3863         desired.
3865 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3867         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3868         (org-agenda-cleanup-fancy-diary): Call the new hook.
3870         * org-remember.el (org-remember-apply-template): Take the default
3871         for the annotation from the :annotation property.
3873         * org-mac-message.el (org-mac-message-get-link): Remove the
3874         quotes.
3875         (org-mac-message-get-link): Return the result.
3877 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3879         * org.el (org-refile-get-location): Add file name only if not
3880         already included in outline path.
3882         * org-faces.el (org-n-level-faces): Fix customization type from
3883         number to integer.
3885         * org-exp.el (org-export-headline-levels): Fix customization type
3886         from number to integer.
3888         * org-agenda.el (org-agenda-confirm-kill)
3889         (org-agenda-custom-commands-local-options)
3890         (org-timeline-show-empty-dates, org-agenda-ndays)
3891         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3892         customization type from number to integer.
3894 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3896         * org-protocol.el: Declare some functions.
3898         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3899         postion before inserting modified headline.
3901         * org-agenda.el (org-agenda-compare-effort): Honor
3902         `org-sort-agenda-noeffort-is-high'.
3903         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3904         (org-agenda-compare-effort): Implement the "?" operator for
3905         finding entries without effort setting.
3907         * org.el (org-extract-attributes-from-string): New function.
3909         * org-exp.el (org-export-splice-attributes): New function.
3911 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3913         * org-mouse.el: XEmacs compatibility fixes
3915         * org-docbook.el (org-export-as-docbook): Process footnotes like
3916         normal text.
3918         * org.el (org-modules): Add org-inlinetasks.el
3919         (org-cycle): Implement limiting level on cycling.
3920         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3921         buffer.
3923         * org-inlinetask.el: New file.
3925         * org.el (org-emphasis-regexp-components): Allow braces in
3926         emphasis pre and post match.
3928         * org-footnote.el (org-footnote-normalize): When only dorting, do
3929         not insert inline notes at the end.
3931         * org-docbook.el (org-id-find-id-file): Add function declaration.
3933         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3935         * org-docbook.el: New file.
3937 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3939         * org.el (org-reftex-citation): New command.
3941 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3943         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3944         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3945         sorting options.
3946         (org-entries-lessp): Apply the new sorting option.
3948         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3949         blocker code, when an older sibling has children.
3951         * org-mac-message.el (org-mac-message-get-link): Improve getting
3952         links from multiple selected messages.
3954 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3956         * org-remember.el (org-remember-finalize): Do not set buffer file
3957         name to nil.
3958         (org-remember-handler): Mark buffer as unmodified.
3959         (org-remember-handler): Delete backup file and show message about
3960         remaining backup files.
3961         (org-remember-auto-remove-backup-files): New option.
3963         * org.el (org-store-link): Use buffer name as link description in
3964         w3-mode buffers.
3965         (org-ido-switchb): Fix argument bug for completion.
3967         * org-remember.el (org-remember-apply-template): Set local
3968         variable `auto-save-visited-file-name' instead of global one.
3970 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3972         * org-feed.el: Re-write.
3974         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3975         (org-agenda-get-todos): Mark file tags as inherited.
3976         (org-agenda-list): Always search diary lines for a time.
3978 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3980         * org-feed.el (org-feed-assume-stable): New option.
3981         (org-feed-before-adding-hook): New hook.
3983         * org-exp.el (org-export-as-html): Close local lists depending on
3984         indentation, also when starting a table.
3986         * org-remember.el (org-remember-backup-directory)
3987         (org-remember-backup-name): New internal variable.
3989 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3991         * org-clock.el (org-clock-out-if-current): Make buffer detection
3992         work in indirect buffers as well.
3994         * org.el (org-emphasis-regexp-components): Add the exxclamation
3995         mark to the post-emphasis characters.
3997 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3999         * org.el (org-read-date-minibiffer-septup-hook): New hook.
4000         (org-read-date): Run the new hook.
4002         * org-mac-message.el (org-mac-flagged-mail): New group.
4003         (org-mac-mail-account): New variable.
4004         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4005         commands.
4007         * org-remember.el (org-remember-backup-directory): New variable.
4008         (org-remember-apply-template): Write file to backup directory.
4010 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
4012         * org-mouse.el (org-mouse-todo-menu): New function.
4013         (org-mouse-todo-keywords): Function removed.
4014         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4016         * org-table.el (org-table-beginning-of-field)
4017         (org-table-end-of-field): New commands
4018         (org-table-previous-field, org-table-beginning-of-field): Better
4019         error messages.
4020         (orgtbl-setup): Include `M-a' and `M-e'.
4022         * org.el (org-backward-sentence, org-forward-sentence): New
4023         commands.
4025         * org-colview.el (org-colview-initial-truncate-line-value): New
4026         variable.
4027         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4028         (org-columns): Remember the value of `truncate-lines'.
4030         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4031         New variable.
4032         (org-columns-remove-overlays): Restore the value of
4033         `truncate-lines'.
4034         (org-columns): Remember the value of `truncate-lines'.
4036         * org.el (org-columns-skip-arrchived-trees): New option.
4038         * org-agenda.el (org-agenda-export-html-style): Define color for
4039         org-agenda-done face.
4040         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4041         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4043         * org.el (org-scan-tags): Use the new face.
4045         * org-faces.el (org-agenda-done): New face.
4047         * org.el (org-scan-tags): Test the value org
4048         `org-tags-match-list-sublevels'.
4049         (org-tags-match-list-sublevels): New allowed value: indented.
4051         * org-export-latex.el (org-export-latex-make-header): Apply macros
4052         in header.
4054         * org-exp.el (org-export-apply-macros-in-string): New function.
4056         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4057         with the definition of a checked box.
4059         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4061         * org-export-latex.el (org-export-latex-low-levels): More options
4062         for how to process lower levels in LaTeX.
4063         (org-export-latex-subcontent): Better treatment for lists as a
4064         means of publishing lower levels.
4066 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4068         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4070         * org-faces.el (org-checkbox): New face.
4072         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4073         fragement images if there is an export file.
4075 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4077         * org-agenda.el (org-stuck-projects): Document that the subtree of
4078         projects that are not stuck will now be searched for stuck
4079         sub-projects.
4080         (org-agenda-skip-entry-when-regexp-matches)
4081         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4082         (org-agenda-list-stuck-projects): Use
4083         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4085         * org-export-latex.el (org-export-latex-preprocess): Improve
4086         export of verses.
4088         * org-exp.el (org-export-as-html): Implement centering as a div
4089         rather than a paragraph.  Do a better job with line-end in verse
4090         environments.
4092 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4094         * org.el (org-open-at-point): Fix tags searches by mouse click.
4096 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4098         * org-export-latex.el (org-export-latex-preprocess): Implement the
4099         centering markup.
4101         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4102         from `org-export-mark-blockquote-and-verse'.
4103         (org-export-as-html): Implement the centering markup.
4105         * org-export-latex.el (org-export-latex-tables): Fix vertical
4106         lines in tables.
4108 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4110         * org.el (org-read-date-history): New variable.
4111         (org-read-date): Use new history variable.
4112         (org-toggle-heading): Fix bug when used before first headline.
4113         (org-store-log-note): Remove drawer if empty while note is
4114         aborted.
4115         (org-remove-empty-drawer-at): New function.
4116         (org-check-after-date): New command.
4117         (org-sparse-tree): New sparse tree command "a".
4119         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4121 2009-03-14  Bastien Guerry  <bzg@altern.org>
4123         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4124         column and a space, not only a column.
4126 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4128         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4129         defaults for verbose emphasis.
4130         (org-export-latex-emph-format): New function.
4131         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4133         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4134         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4135         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4136         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4137         commands.
4139         * org.el (org-timestamp-change): Move end-time along with start
4140         time.
4142 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4144         * org-exp.el (org-export-target-internal-links)
4145         (org-export-as-html): Protect links specified as #name.
4147 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4149         * org.el (org-clone-subtree-with-time-shift): New command.
4151         * org-export-latex.el (org-export-latex-special-chars)
4152         (org-export-latex-treat-sub-super-char): Fix subscript export.
4154         * org-exp.el (org-create-multibrace-regexp): Do not add
4155         backslashes to the class.
4157 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4159         * org-colview.el (org-columns-map): Better functions for moving up
4160         and down a row, even if `truncate-line' is nil.
4162         * org.el (org-insert-todo-heading): Make sure the keyword is
4163         inserted at the correct position.
4165         * org-publish.el (org-publish-project-alist)
4166         (org-publish-projects, org-publish-org-index): Change default anme
4167         for the index of file names to "sitemap.org".
4169         * org-export-latex.el (org-export-latex-tables): Use
4170         `org-split-string', for Emacs 21 compatibility.
4172 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4174         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4176 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4178         * org-exp.el (org-export-page-description)
4179         (org-export-page-keywords): New variables.
4180         (org-export-plist-vars): Add entries for :keywords and
4181         :description.
4182         (org-infile-export-plist): Parse for new keywords.
4183         (org-get-current-options): Add new keywords
4184         (org-export-as-html): Publish description and keywords.
4186         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4187         option.
4188         (org-agenda-add-entry-text): Honor
4189         `org-agenda-add-entry-text-descriptive-links'.
4191         * org-export-latex.el (org-export-latex-preprocess): Make all
4192         external preprocess functions use a PARAMETER arg.
4194         * org-exp.el (org-export-preprocess-string)
4195         (org-export-select-backend-specific-text)
4196         (org-export-format-source-code-or-example)
4197         (org-format-org-table-html): Support docbook export.
4198         (org-export-preprocess-string): Make all external preprocess
4199         functions use a PARAMETER arg.
4201 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4203         * org-exp.el (org-export-html-style-include-scripts): New option.
4204         (org-export-plist-vars): Add new option
4205         `org-export-html-style-include-scripts'.
4206         (org-export-as-html): Honor new option
4207         `org-export-html-style-include-scripts'.
4208         (org-export-html-scripts, org-export-html-style-default): Fix
4209         xml issues with the Safari browser.
4211 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4213         * org-publish.el (org-publish-attachment): Only copy file when the
4214         directories differ.
4216 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4218         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4219         for clocktable steps.
4221         * org.el (org-additional-option-like-keywords): Add two more
4222         keywords.
4224 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4226         * org-exp.el (org-export-format-source-code-or-example): Mark
4227         temporary buffer unmodified, so that it will be killed even if
4228         mode like message mode has decided to assign a file name.
4230         * org.el (org-scan-tags): Improve tag inheritance.
4231         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4232         case-sensitive.
4233         (org-scan-tags): Use the internal tags list instead of creating it
4234         from scratch.
4235         (org-trust-scanner-tags, org-scanner-tags): New variables.
4236         (org-scan-tags): Set `org-scanner-tags'.
4237         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4238         (org-map-entries): Document the possible speedup using scanner
4239         tags.
4241 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4243         * org.el (org-add-planning-info): Fix bug with looking for keyword
4244         only at column 0.
4246         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4247         option for tags filter preset.
4248         (org-prepare-agenda): Store filter preset as a property on the
4249         filter variable.
4250         (org-finalize-agenda): Call the filter, if there is a preset.
4251         (org-agenda-filter-by-tag): Filter again after clearing the
4252         filter, when there still is a preset.
4253         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4254         Include the preset filter.
4255         (org-agenda-redo): Apply the filter again, also the preset filter.
4257         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4259         * org.el (org-uuidgen-p): New funtion.
4261         * org-agenda.el (org-agenda-fontify-priorities): New default value
4262         `cookies'.
4263         (org-agenda-fontify-priorities): Renamed from
4264         org-fontify-priorities.
4266         * org.el (org-set-font-lock-defaults): Call
4267         `org-font-lock-add-priority-faces'.
4268         (org-font-lock-add-priority-faces): New function.
4270         * org-faces.el: (org-set-tag-faces): New option.
4271         (org-priority-faces): New variable.
4273         * org-exp.el (org-export-as-html): Add a "content" div around the
4274         entire content of the body tag.
4275         (org-export-html-get-bibliography): New function.
4276         (org-export-html-validation-link): New variable.
4277         (org-export-as-html): Add validation link to exported page.
4279         * org.el (org-match-sparse-tree): Renamed from
4280         `org-tags-sparse-tree'.
4281         (org-tags-sparse-tree): New alias.
4283 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4285         * org.el (org-get-valid-level): Catch the case where the level
4286         change is nil.
4288         * org-clock.el (org-clock-find-position): Better indentation of
4289         new clock drawers.
4291 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4293         * org-agenda.el (org-agenda-quit): Delete window only when the
4294         frame-setup was not `current-window'.
4296         * org.el (org-tag-persistent-alist): New option.
4297         (org-startup-options): Add keyword `noptag'.
4298         (org-fast-todo-selection): Handle :newline correctly.
4299         (org-set-tags): Handle :newline correctly.
4300         (org-fast-tag-selection): Handle :newline correctly.
4302 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4304         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4305         outputting it.
4306         (org-export-ascii-push-links): Fix bug with pussing links into the
4307         export buffer.
4309 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4311         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4312         pasting at top level.
4314         * org-bbdb.el: Improve documentation.
4316 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4318         * org-list.el (org-insert-item): Only consider insert empty lines
4319         is `org-empty-line-terminates-plain-lists' is not nil.
4321         * org.el (org-blank-before-new-entry): Mention the dependence on
4322         `org-empty-line-terminates-plain-lists' in the docstring.
4324         * org-publish.el (org-publish-get-project-from-filename): New
4325         optional argument UP.  Only find the top project if UP is set.
4326         (org-publish-current-project): Find the top encloding project.
4328         * org-agenda.el (org-agenda-before-write-hook)
4329         (org-agenda-add-entry-text-maxlines): New options.
4330         (org-write-agenda): Run the new hook in the temporary buffer.
4331         (org-agenda-add-entry-text): New function.
4332         (org-write-agenda): Implement PDF export, using ps2pdf.
4334         * org.el (org-global-properties-fixed, org-global-properties):
4335         Improve documentation string.
4337         * org-exp.el (org-export-ascii-links-to-notes): New option.
4338         (org-export-as-ascii): Handle links better.
4339         (org-export-ascii-wrap, org-export-ascii-push-links): New
4340         functions.
4342 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4344         * org-agenda.el (org-agenda): Make prefix arg optional.
4345         (org-agenda-search-headline-for-time): New option.
4346         (org-format-agenda-item): Honor
4347         `org-agenda-search-headline-for-time'.
4349         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4350         characters.
4352         * org.el (org-self-insert-cluster-for-undo): New option.
4353         (org-self-insert-command): Cluster undo for 20 characters.
4354         (org-self-insert-command-undo-counter): New variable.
4356 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4358         * org-exp.el (org-export-as-html): Fix problem with closing colone
4359         example.
4361 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4363         * org-export-latex.el (org-export-as-latex)
4364         (org-export-latex-first-lines): Avoid modification flag when
4365         adding or removing text properties.
4366         (org-export-latex-fontify): Catch error when org-emph-alist has
4367         entries that are not defined for LaTeX export.
4369         * org.el (orgstruct++-mode): New function.
4370         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4371         (org-context-p): Allow detecting item context after the first line
4372         of an item.
4373         (orgstruct-make-binding): Detect if item-body context should be
4374         seen.
4375         (orgstruct-is-++): New variable.
4376         (org-add-planning-info): Catch the case when there is no planning
4377         info yet and the call does not want to add anything, only maybe
4378         tries to remove something.
4379         (org-special-ctrl-a/e): All value to be a cons cell with separate
4380         settings for `C-a. and `C-e'.
4381         (org-beginning-of-line, org-end-of-line): Honor separate values
4382         for `C-a' and `C-e'.
4384 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4386         * org.el (org-reload): New command.
4388 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4390         * org-exp.el (org-export-htm-get-tag-class-name)
4391         (org-export-htm-get-todo-kwd-class-name): New functions.
4392         (org-export-html-tag-class-prefix)
4393         (org-export-html-todo-kwd-class-prefix): New options.
4394         (org-export-as-html): Call
4395         `org-export-html-get-todo-kwd-class-name'.
4396         (org-html-level-start): Wrap tags into classes.
4397         (org-export-html-get-tag-class-name)
4398         (org-export-html-get-todo-kwd-class-name): New functions.
4400         * org-export-latex.el (org-export-latex-collect-header-macros):
4401         Remove fields that are used anyway.
4402         (org-export-latex-make-header): Insert the options earlier.
4404         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4405         matching.
4407         * org-list.el (org-indent-item): Allow point to be at the end of
4408         the region.
4410         * org.el (org-metaleft, org-metaright): Be more accurate about
4411         detecting a region where commands apply.
4413         * org-compat.el (org-cursor-to-region-beginning): New function.
4415         * org.el (org-priority): Also find invisible heading.
4417         * org-colview-xemacs.el (org-columns-edit-value): No special
4418         treatment for `org-todo' prefix.
4420         * org-colview.el (org-columns-edit-value): No special treatment
4421         for `org-todo' prefix.
4423         * org-remember.el (org-remember-apply-template): Use
4424         `org-completing-read-no-ido'.
4426         * org.el (org-completing-read-no-ido): New function.
4427         (org-make-tags-matcher, org-set-property): Use
4428         `org-completing-read-no-ido'.
4430         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4431         New option.
4432         (org-export-as-latex): Import in-buffer settings as TeX macros.
4433         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4434         (org-export-latex-collect-header-macros): New function.
4436         * org.el (org-refile-get-location): Turn off
4437         `partial-completion-mode'.
4439 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4441         * org.el (org-block-todo-from-checkboxes): Announce that
4442         checkboxes are the culprit.
4443         (org-block-todo-from-children-or-siblings): Call
4444         `org-up-heading-all instead' of `outline-up-heading'.
4446         * org-agenda.el (org-agenda-show-1): Renamed from
4447         `org-agenda-show'.
4448         (org-agenda-show): Re-install the old version for now.
4449         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4450         variable into the blokker hook, so that the checkbox checker can
4451         anounce that it caused the blocking.
4453         * org.el (org-track-ordered-property-with-tag): New option.
4454         (org-toggle-ordered-property): Honor
4455         `org-track-ordered-property-with-tag'.
4456         (org-tag-alist): Add newline options.
4457         (org-set-regexps-and-options): Separate option lines imply a
4458         newline.
4459         (org-set-regexps-and-options, org-assign-fast-keys)
4460         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4461         option.
4462         (org-indent-line-function): Make sure this works even if there is
4463         not `org-drawer-regexp' defined.  This can happen when
4464         orgstruct-mode is used in a non-org buffer.
4466         * org-list.el (org-checkbox-blocked-p): New function.
4467         (org-toggle-checkbox): Check for blocking.
4469         * org.el (org-modules): Add an entry for org-R.el.
4471         * org-agenda.el (org-agenda-todo-ignore-with-date)
4472         (org-agenda-todo-ignore-scheduled)
4473         (org-agenda-todo-ignore-deadlines): Mention the variable
4474         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4476         * org.el (org-get-wdays): Find the warning period also if it is in
4477         the wrong place.
4478         (org-ido-completing-read): Provide the correct arguments to
4479         ido-completing-read and bind `ido-enter-matching-directory' to
4480         nil.
4482 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4484         * org.el (org-olpath-completing-read): Never use ido for this
4485         one.
4487         * org-exp.el (org-export-normalize-links): Use new macro.
4489         * org-macs.el (org-if-unprotected-at): New macro.
4491         * org-agenda.el (org-agenda-show): Allow numerical prefix
4492         arguments to specify how much context should be shown.
4493         (org-agenda-cycle-show): New command, could be bound to SPC in
4494         org-agenda-mode-map.
4496         * org-exp.el (org-html-level-start): Space after section number.
4498 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4500         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4501         property, for sorting.
4502         (org-cmp-todo-state): Get the applicable TODO keywords directly
4503         from the buffer.
4504         (org-run-agenda-series, org-agenda-list, org-search-view)
4505         (org-todo-list, org-tags-view): Only fit agenda window when the
4506         whole series is done.
4508         * org.el (org-scan-tags): Add todo state as property, for sorting.
4510         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4511         `org-agenda-overriding-header' as an option.
4512         (org-agenda-list): Honor org-agenda-overriding-header'.
4514 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4516         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4517         after removing a checkbox.
4519         * org.el (org-show-entry): Make this work correctly also if it is
4520         the last entry in the file.
4521         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4522         falling back to normal, default command.
4523         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4524         item, call the checkbox toggler to get a box.
4526         * org-list.el (org-toggle-checkbox): Make double prefix set the
4527         checkbox to "[-]".
4528         (org-fix-bullet-type): Only replace bullet if it is changed.
4529         (org-renumber-ordered-list): Handle case when first item does not
4530         have a number.
4532         * org.el (org-add-log-setup): Fix positioning when
4533         `org-log-states-order-reversed' is nil.
4535         * org-clock.el (org-clock-in): Fix positioning when
4536         `org-log-states-order-reversed' is nil.
4537         (org-clock-find-position): Fix positioning when
4538         `org-log-states-order-reversed' is nil.
4540 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4542         * org-clock.el (org-clock-into-drawer): Take default from
4543         `org-log-into-drawer'.
4544         (org-clock-find-position): Look for the correct drawer.
4546         * org.el (org-log-into-drawer): Renamed from
4547         `org-log-state-notes-into-drawer'.
4548         (org-log-state-notes-into-drawer): New variable alias.
4549         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4550         CLOCK.
4551         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4553 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4555         * org-agenda.el (org-agenda): Fix docstring.
4557         * org.el ("org-plot"): Help loading org-plot.
4558         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4559         (org-metadown-hook, org-shiftmetaleft-hook)
4560         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4561         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4562         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4563         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4564         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4566         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4567         for selecting files with any (and even without) extension.
4569         * org.el (org-save-all-org-buffers): Also save id locations.
4570         (org-revert-all-org-buffers): Also load id locations.
4572 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4573         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4574         (org-log-state-notes-into-drawer): New option.
4575         (org-add-log-setup): Place the sate note marker into the drawer,
4576         create drawer when necessary.
4577         (org-refile-targets): Document special interpretation of LEVEL
4578         when odd-levels are used.
4580 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4582         * org.el (org-store-log-note): Fix note indentation when adding
4583         notes to end of list.
4585         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4586         class, so that each keyword can get special colors through CSS.
4588         * org-clock.el (org-clock-out): Add another nil for the previous
4589         state into the call to `org-add-log-setup'.
4591         * org.el (org-log-note-previous-state): New variable.
4592         (org-log-note-headings): New %S escape for old state.
4593         (org-todo): Call the note setup with the old state as an
4594         argument.
4595         (org-add-note): Add another nil for the previous state into the
4596         call to `org-add-log-setup'.
4597         (org-add-log-setup): New argument PREV-STATE.
4598         (org-add-log-note): Handle new %S escape.
4599         (org-store-log-note): Handle new %S escape.
4601 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4603         * org-clock.el (org-clock-find-position): Do not swallow an item
4604         less indented than the CLOCK line itself.
4605         (org-clock-in): Push markers to lin after the clock line.
4606         (org-clock-find-position): Handle values of
4607         `org-clock-into-drawer' smaller than 2.
4609         * org-exp.el (org-html-level-start): Add a CSS class to section
4610         numbers.
4611         (org-export-html-toplevel-hlevel): Better documentation of the
4612         influence of this variables on H levels and css classes in
4613         export.
4615 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4617         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4618         timestamp and nottimestamp to the chooe menu.
4620         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4621         (org-revert-all-org-buffers): New command.
4623 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4625         * org.el (org-return): Implement `org-return-follows-link' in the
4626         function org-return.  This is more robust than using the mouse
4627         map, I think.
4628         (org-set-regexps-and-options): Match more general #+TODO lines.
4629         (org-make-options-regexp): New optional argument EXTRA, for an
4630         extra regexp.
4631         (org-tab-follows-link): Mark as deprecated.
4633 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4635         * org-exp.el (org-export-preprocess-string): Remove clock lines
4636         earlier, so that they cannot cotribute to verbatim snippets.
4638 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4640         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4641         for finding drawers.
4642         (org-export-as-ascii, org-export-as-html): Count levels relative
4643         to the subtree header.
4644         (org-get-min-level): New optional argument OFFSET.
4645         (org-export): Make sure point is restored after popping up that
4646         window.
4648         * org.el (org-do-sort): Also take an inactive timestamp if no
4649         active one is found.
4651         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4652         deleting duplicates.
4654         * org-colview.el (org-columns-capture-view): Copy before
4655         deleting duplicates.
4657         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4658         text before first headline.
4660         * org.el (org-format-latex): Do not convert LaTeX fragments in
4661         protected examples.
4663 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4665         * org-exp.el (org-export-html-style-default): Use color values
4666         instead of names for XHTML validation.
4668         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4669         functions.
4670         (org-return-follows-link): Revert making this the default untile
4671         issues are resolved.
4673         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4674         nottimestamp.
4676 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4678         * org.el (org-mode): Make dependence stuff work more reliably.
4679         (org-update-parent-todo-statistics): Fix bug with updating
4680         statistics cookie.
4682         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4683         ~ as verbatim delimiters.
4685         * org-exp.el (org-export-html-format-image): New argument
4686         PAR-OPEN.
4687         (org-export-as-html): Pass par-open to
4688         `org-export-html-format-image'.
4690 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4692         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4693         (org-use-fast-todo-selection, org-tags-column): New default
4694         setting for variables, based on a poll what typical uses use.
4696         * org-agenda.el (org-agenda-sorting-strategy)
4697         (org-agenda-tags-column): New default setting for variables, based
4698         on a poll what typical uses use.
4700 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4702         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4703         blocked entries from setting the blocked tag.
4705         * org-exp.el (org-export-html-footnotes-section): Use a more
4706         consistent id for footnotes.
4708         * org-export-latex.el (org-export-latex-classes): Remove the
4709         a4paper option from the default styles.
4711 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4713         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4714         (org-block-todo-from-checkboxes): New function.
4715         (org-todo): Make tripple prefix arg circumvent blocking.
4717         * org-timer.el (org-timer): Provide the timer feature.
4719         * org.el (org-require-autoloaded-modules): Add a few more files to
4720         the list of autoloaded modules.
4722         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4724 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4726         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4727         drawers that are unprotected.
4728         (org-export-html-format-image): Make sure inlined LaTeX fragment
4729         images remain inlined.
4731         * org.el (org-toggle-ordered-property): New function.
4732         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4733         (org-org-menu): Add menu entries for TODO dependencies.
4735 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4737         * org.el (org-default-properties): Add ORDERED to the default
4738         properties, to get completion support for it.
4740         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4742         * org.el (org-update-parent-todo-statistics): Update more than one
4743         cookie.
4745         * org-agenda.el (org-agenda-get-todos): Start search from correct
4746         position.
4748         * org.el (org-fast-todo-selection): Make sure TODO selection does
4749         not change buffer position.
4751         * org-list.el (org-toggle-checkbox): Implement adding or removing
4752         checkboxes from line or region when called with a prefix
4753         argument.
4755         * org-rmail.el (org-rmail-store-link): Protect the call to
4756         `rmail-narrow-to-non-pruned-header'.
4758         * org-clock.el (org-clock-special-range): Fix week display in
4759         clock tables.
4761         * org-exp.el (org-get-current-options): Fix bug when in indirect
4762         buffer.
4764 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4766         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4767         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4768         (org-agenda-dim-blocked-tasks): New function.
4770         * org.el (org-enforce-todo-dependencies): New option.
4771         (org-block-todo-from-children-or-siblings): New function.
4773         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4775         * org.el (org-todo): Return correct state type even if the blocker
4776         throws an error.
4777         (org-modifier-cursor-error): Renamed from
4778         `org-shiftcursor-error'.
4779         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4780         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4782         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4783         to get real errors from the blocker hook.
4785         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4786         functions.
4787         (org-set-visibility-according-to-property): Turn off the setting
4788         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4789         property.
4791 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4793         * org.el (org-support-shift-select): New option.
4794         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4795         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4796         selection outside contexts.
4798         * org-list.el (org-at-item-bullet-p): New function.
4800         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4801         variables.
4803         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4804         variable.
4805         (org-insert-footnote-reference-near-definition): Remove
4806         unnecessary let form.
4808         * org-export-latex.el (org-export-latex-first-lines): Add
4809         OPT-PLIST parameter.
4810         (org-export-as-latex): Call `org-export-latex-first-lines' with
4811         opt-plits parameter.
4812         (org-export-latex-preprocess): Remove unnecessary variables.
4814         * org-exp.el (org-infile-export-plist)
4815         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4816         (org-export-remove-headline-metadata)
4817         (org-export-get-title-from-subtree, org-get-min-level)
4818         (org-html-do-expand): Remove innecessary let form.
4820         * org-colview-xemacs.el (org-columns-display-here): Remove
4821         unnecessary variables.
4823         * org-colview.el (org-columns-display-here): Remove unnecessary
4824         variables.
4826         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4827         variables.
4829         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4830         unnecessary variables.
4832         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4833         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4834         variables.
4836         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4837         (org-compact-display-after-subtree-move): Remove unnecessary
4838         variables.
4839         (org-edit-fixed-width-region): Remove unnecessary variables.
4840         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4841         (org-olpath-completing-read): Remove unnecessary variable.
4842         (org-auto-repeat-maybe): Remove unnecessary variable.
4843         (org-map-entries): Remove unnecessary variable.
4844         (org-buffer-property-keys, org-imenu-get-tree)
4845         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4847 -----------------------------------------------------------------
4849 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4850         * org-exp.el (org-export-remove-timestamps): Never remove
4851         timestamps from tables.
4853         * org-export-latex.el (org-export-latex-first-lines): Add more
4854         options to the preprocessing of the text before the first
4855         headline.
4857 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4859         * org-faces.el (org-clock-overlay): Make face compatible with
4860         XEmacs.
4862         * org.el (org-yank): Add property for delete-selection mode.
4864         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4866         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4867         variable.
4869         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4870         to `backward-char'.
4872         * org-exp.el (org-export-as-html): Remove the initial space from
4873         colon examples.
4875         * org.el (org-scan-tags): Call
4876         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4878         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4879         customization groups.
4880         (org-agenda-tags-todo-honor-ignore-options): New option.
4881         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4882         New function.
4883         (org-agenda-get-todos): Use
4884         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4886 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4888         * org-exp.el (org-export-format-source-code-or-example): Escape
4889         HTML characters also in examples that anre not treated with
4890         htmlize.  Also, just switch to EXAMPLE processing if we do not
4891         have a good version of htmlize.
4893         * org-rmail.el: Fix copyright notice.
4895         * org.el (org-activate-footnote-links): Improve footnote link
4896         highlighting.
4898         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4899         a footnote definition at the end of the file.
4901         * org-table.el (org-table-get-specials): Add an imagined hline at
4902         the end of the table.  This can be useful for references that want
4903         to go to the end of the table.  Also fix bug when computing last
4904         row constants, in tables that do not start right at the right
4905         margin.
4906         (org-table-eval-formula): Match and replace remove references.
4907         (org-table-formula-substitute-names): Make sure that names inside
4908         a "remote" call are left alone, the will be replaced later when
4909         the remote call is handled.
4910         (org-table-convert-refs-to-rc): Do not convert things that might
4911         look like a reference, but are really part of an ID or namei n a
4912         remote reference.
4913         (org-table-get-remote-range): New function.
4915 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4917         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4919         * org-clock.el (org-clock-put-overlay): Use new face instead of
4920         `secondary-selection'.
4922         * org-faces.el (org-clock-overlay): New face.
4924 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4926         * org-exp.el (org-get-current-options): Include the option for
4927         publishing time stamps.
4929         * org.el (org-toggle-heading): Renamed from
4930         `org-toggel-region-headings'.
4931         No longer needs a region defined, but will use it if there is one.
4932         (org-ctrl-c-star): Simplified, relying more on the internal
4933         workings of `org-toggle-heading'.
4934         (org-toggle-item): Renamed from `org-toggle-region-items'.
4935         No longer needs a region defined, but will use it if there is one.
4936         (org-ctrl-c-minus): Simplified, relying more on the inernal
4937         workings of `org-toggle-item'.
4939         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4940         environment detection.  Also, do real changes only in unprotected
4941         places.
4943 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4945         * org-export-latex.el (org-export-latex-quotation-marks): Use
4946         `org-if-unprotected-1'.
4947         (org-export-latex-set-initial-vars): Check for class definition in
4948         property.
4950         * org-macs.el (org-if-unprotected-1): New macro.
4952 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4954         * org-compat.el (org-count-lines): New function.
4956         * org-exp.el (org-export-format-source-code-or-example): Handle
4957         switches related to text areas.
4959         * org.el (org-activate-footnote-links): Don't allow match inside a
4960         link.
4962         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4964         * org-export-latex.el (org-export-latex-links): Keep a relative
4965         path relative also after export.
4967         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4969         * org.el (org-make-tags-matcher): Never use IDO for completing the
4970         tags matcher match string.
4971         (org-completing-read): Also remove the special biding for "?".
4973         * org-attach.el (org-attach-allow-inheritance): New option.
4974         (org-attach-inherited): New variable.
4975         (org-attach-dir): Handle properties related to the attachment
4976         directory.
4977         (org-attach-check-absolute-path): New function.
4978         (org-attach-set-directory, org-attach-set-inherit): New commands.
4979         (org-attach): Accommodate the new commands in the dispatcher.
4981 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4983         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4984         `window-full-width-p'.
4986         * org-exp.el (org-export-as-html): Only check for images files
4987         that really can be inlined
4989         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4990         list of extensions to be a parameter.
4992         * org-exp.el (org-export-html-inline-image-extensions): New
4993         variable.
4995         * org-agenda.el (org-prepare-agenda): Use
4996         `org-agenda-block-separator'.
4997         (org-agenda-block-separator): New option.
4999 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
5001         * org-export-latex.el (org-export-latex-tables): Call
5002         `org-table-clean-before-export' with the new optional argument.
5004         * org-exp.el (org-table-clean-before-export): New optional
5005         parameter MAYBE-QUOTED, allows for quoted characters like \# in
5006         first column.
5008 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
5010         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5011         histograms.
5013         * org-colview.el (org-colview-construct-allowed-dates): Better
5014         error catching when a date/time property does not have allowed
5015         values defined.
5017         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5018         Better error catching when a date/time property does not have
5019         allowed values defined.
5021 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
5023         * org.el (org-map-entries): Restore point and restriction after
5024         `org-map-entries'.
5026 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
5028         * org.el (org-time=, org-time<, org-time<=, org-time>)
5029         (org-time>=, org-time<>): Make sure both values are dates.
5031 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
5033         * org-archive.el (org-extract-archive-heading): Allow %s for file
5034         name also in achive location heading.
5036 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
5038         * org-archive.el (org-add-archive-files): Uniquify the list before
5039         returning it.
5041 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
5043         * org-compat.el (org-fit-window-to-buffer): Use
5044         `window-full-width-p'.
5046         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5047         space after the colon in short examples.
5049         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5050         enforce a space after the colon.  However, we also allow lines
5051         that are *only* a colon.
5052         (org-export-as-html): Enforce the space after the colon in short
5053         examples.
5054         (org-export-preprocess-string): Do the colon example protection
5055         earlier.
5056         (org-export-remove-timestamps): Do not check for protection at the
5057         end of the line.
5059 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5061         * org.el (org-format-latex-options): Add new matcher for single
5062         letters between dollars.
5063         (org-get-header): Function removed.
5064         (org-heading-components): New function.
5066         * org-exp.el (org-export-define-heading-targets): Record ID's also
5067         as alternative targets.
5068         (org-export-as-html): Interpret "id:" links to other files by
5069         preserving the relative path.
5071         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5072         is nil.
5074         * org-exp.el (org-export-normalize-links): Protect the main link,
5075         to avoid special character processing.
5077         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5078         New variable.
5079         (org-export-latex-special-string-regexps): Variable removed.
5080         (org-export-latex-keywords): Use the new regexp.
5082         * org-exp.el (org-export-handle-include-files): Fetch switches and
5083         put them into the BEGIN statement.
5085         * org-timer.el (org-timer-mode-line-string): New variable.
5087         * org-clock.el (org-clock-mode-line-map): Renamed from
5088         `org-clock-mode-map'.
5089         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5090         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5091         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5092         (org-clock-remove-overlays): Renamed from
5093         `org-remove-clock-overlays'.
5095         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5096         and mode line display.
5097         (org-timer-stop): New command.
5098         (org-timer-seconds): Return correct time when timer is paused.
5099         (org-timer-mode-line-timer): New variable.
5100         (org-timer-set-mode-line, org-timer-update-mode-line): New
5101         functions.
5103         * org.el (org-insert-heading):  Handle new value `auto' for
5104         `org-blank-before-new-entry'.
5105         (org-org-menu): Add new items for timer functions.
5107         * org-list.el (org-insert-item): Handle new value `auto' for
5108         `org-blank-before-new-entry'.
5110         * org.el (org-blank-before-new-entry): New value `auto', made
5111         default.
5113 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5115         * org-exp.el (org-export-normalize-links): If the link is also
5116         used as the description, protect the description.
5118 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5120         * org.el (org-closest-date): Fix bug with yearly repeats, in
5121         combination with preference of the past as it is used for deadline
5122         and scheduling search.
5124         * org-exp.el (org-html-handle-time-stamps): No longer check for
5125         the `org-export-with-timestamps' option, because the preprocesser
5126         has taken care of this already.
5128         * org.el (org-entry-properties): Catch the case when this is
5129         called in a non-org-mode file.
5131         * org-export-latex.el (org-export-latex-remove-from-headlines):
5132         Variable made obsolete, also LaTeX export now uses the standard
5133         variables.
5134         (org-export-as-latex): Add the timestamps parameter to the
5135         preprocessor parameter list.
5136         (org-export-latex-content): Export the remaining keywords without
5137         considering to remove them.
5138         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5139         Use bold font instead of tt font for the keywords.
5140         (org-export-latex-fontify-headline): Format headlines, assuming
5141         that all keywords still present should be published.
5142         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5143         publish what ever remains of the time stamps.
5144         (org-export-latex-list-parameters): New option.
5145         (org-export-latex-lists): Pass additional parameters to the list
5146         converter.
5148         * org-exp.el (org-export-preprocess-string): Remove clock lines
5149         and timestamps already in the preprocesor.
5150         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5151         functions.
5152         (org-export-as-ascii, org-export-as-html): Add the timestamps
5153         parameter to the preprocessor parameter list.
5155         * org-list.el (org-list-parse-list): Parse for checkboxes.
5156         (org-list-to-generic): Introduce and handle new parameters :cbon
5157         and :cboff.
5158         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5159         optional parameter PARAMS.
5161         * org-export-latex.el (org-export-latex-special-chars): Fix
5162         problems with interpreting dollar signs.
5163         (org-inside-latex-math-p): New function.
5164         (org-export-latex-preprocess): Protect all the math fragments.
5166         * org.el (org-latex-regexps): Allow a dash after a dollar.
5168         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5169         mark after copying.
5171         * org-agenda.el (org-run-agenda-series): Have series options set
5172         when finalizing the agenda.
5174         * org-exp.el (org-export-format-source-code-or-example): Protect
5175         the converted examples.
5177         * org.el (org-set-regexps-and-options): Fix the regexp
5178         `org-complex-heading-regexp'.
5180 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5182         * org.el (org-edit-src-get-label-format): New function.
5183         (org-coderef-label-format): New option.
5184         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5185         a label format specification and make sure it is used in the edit
5186         buffer.
5187         (org-edit-src-get-label-format): New function.
5188         (org-store-link): Handle new coderef formats.
5189         (org-link-search): Handle new coderef formats.
5191         * org-footnote.el (org-footnote-create-definition)
5192         (org-footnote-goto-local-insertion-point): Make footnote insertion
5193         work correctly when the "Footnotes" headline is the last line in
5194         the buffer.
5196         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5197         the location.
5199 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5201         * org-w3m.el (org-w3m): New customization group.
5202         (org-w3m-deactivate-mark): New option.
5203         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5204         option say not to.
5206 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5208         * org.el (org-set-font-lock-defaults): Trigger footnote
5209         fontification.
5210         (org-activate-footnote-links): New function.
5211         (org-activate-links): New entry `footnote'.
5213         * org-faces.el (org-footnote): New face.
5215 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5217         * org-macs.el (org-re): Handle the [:word:] class.
5219         * org-exp.el (org-export-preprocess-string): Call
5220         `org-export-protect-colon-examples'.
5221         (org-export-protect-colon-examples): Renamed from
5222         `org-export-protect-examples', and scope limited to lines starting
5223         with a colon.
5225 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5227         * org-exp.el (org-export-preprocess-string): Move the preprocess
5228         hook to after turning on Org-mode.
5229         (org-export-preprocess-after-include-files-hook)
5230         (org-export-preprocess-after-tree-selection-hook)
5231         (org-export-preprocess-before-backend-specifics-hook)
5232         (org-export-preprocess-final-hook): New hooks.
5233         (org-export-preprocess-string): Run the new hooks.
5235         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5237         * org-footnote.el: New file.
5239         * org.el (org-footnote): Require footnote code.
5240         (org-startup-options): Add new footnote options.
5241         (org-mode-map): New keybindig for footnotes.
5242         (org-ctrl-c-ctrl-c): Add function at footnotes.
5243         (org-org-menu): New menu entries for footnotes.
5245         * org-export-latex.el (org-export-as-latex): Pass footnote
5246         variable to preprocessor.
5247         (org-export-latex-preprocess): Treat multiple references to a
5248         footnote.
5250         * org-exp.el (org-export-preprocess-string): Call
5251         `org-footnote-normalize'.
5252         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5253         to preprocessor.
5254         (org-export-as-html): Treat multiple references to a footnote.
5256 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5258         * org-export-latex.el (org-export-latex-links): Handle coderef
5259         links.
5261         * org.el (org-bracket-link-analytic-regexp++): New variable.
5262         (org-make-link-regexps): Initialize
5263         `org-bracket-link-analytic-regexp++'.
5264         (org-store-link): Implement special case in edit-src buffer.
5265         (org-insert-link): No use of ide to insert stored links.
5266         (org-link-search): Implement special case for coderefs.
5268         * org-exp.el (org-export-html-scripts): New constant.
5269         (org-export-html-style-default): Add a new style for highlighted
5270         code.
5271         (org-export-code-refs): New variable.
5272         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5273         Call `org-export-replace-src-segments-and-examples'
5274         No longer call `org-export-protect-examples'.
5275         (org-export-target-internal-links): Take care of coderef targets.
5276         (org-export-last-code-line-counter-value): New variable.
5277         (org-export-replace-src-segments-and-examples): Renamed from
5278         `org-export-replace-src-segments', and modified.
5279         (org-export-format-source-code-or-example): Renamed from
5280         `org-export-format-source-code'.
5281         (org-export-number-lines): New function.
5282         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5284 --------------------------------------------------------------------------
5286 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5288         * org-remember.el (org-remember-handler): Safer way to get a new
5289         buffer accessing the target file.
5291         * org.el (org-refile-get-location): Handle case of current buffer
5292         not having a file associated with it.
5294 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5296         * org-table.el (org-table-get-formula): Only ask to overwrite
5297         field formula if there really is one.
5299         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5300         number, by converting these to a string.
5302         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5303         located in a different file.
5305         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5306         org-colview.el.
5308 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5310         * org.el (org-completion-use-ido): Enhance docstring of
5311         `org-completion-use-ido'.
5313         * org-export-latex.el (org-export-latex-make-header): Double the %
5314         in the time stamp format.
5315         (org-export-latex-special-chars): Handle case where there is no
5316         match group 3.
5318 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5320         * org.el (org-get-refile-targets, org-refile-get-location): Use
5321         expanded file name to improve comparison.
5323 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5325         * org.el (org-scan-tags): Rescan for tags, to get the correct
5326         upcase/downcase stuff.  This slows things down for now, but it
5327         works.
5328         (org-mode): Make sure the tag-faces regexp is initialized.
5330         * org-export-latex.el (org-export-latex-links): Fix bug with
5331         undefined label.
5333         * org-table.el (org-table-get-specials): Set
5334         `org-table-current-last-data-line'.
5335         (org-table-current-last-data-line): New variable.
5336         (org-table-insert-column, org-table-delete-column)
5337         (org-table-move-column, org-table-fix-formulas): Call
5338         `org-table-fix-formulas' a second time to fix the $LR references.
5339         (org-table-get-specials): Add the $LR references to the tables.
5340         (org-table-get-formula): Do not offer last-row names as LHS of
5341         formulas.
5343         * org.el (org-store-link): Capture link description from
5344         `org-id-store-link'.
5346         * org-exp.el (org-export-html-format-image): Add the / to the end
5347         of the <img> tag.
5348         (org-export-format-source-code): Surround example by empty lines,
5349         to make sure it will not be inside a paragraph.
5351         * org.el (org-ido-switchb): New function.
5353 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5355         * org-agenda.el (org-agenda-show): New prefix argument
5356         FULL-ENTRY.
5358         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5359         argument.
5361         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5362         `org-agenda-change-all-lines'.
5363         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5364         tags are now retrieved locally.
5366 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5368         * org.el (org-get-outline-path): Fix bug if level is not given.
5369         (org-org-menu): Do not quote function in menu vector.
5371         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5372         name.
5374 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5376         * org.el (org-refile): Avoid refiling to within the region to be
5377         refiled.
5379         * org-export-latex.el (org-export-latex-special-chars): Replace
5380         special characters also in tables.
5382         * org-agenda.el (org-agenda-change-all-lines): New argument
5383         FORCE-TAGS.
5384         (org-agenda-set-tags): Cet the new tags and pass them to
5385         `org-format-agenda-item'.
5387 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5389         * org-export-latex.el (org-export-latex-classes): Add longable as
5390         a default package to all classes.
5391         (org-export-latex-tables): Handle the longtable attribute and the
5392         align attribute.
5394         * org-table.el (orgtbl-to-generic): Handle tables that start with
5395         a hline.
5397         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5398         \verb for colde-like snippets.
5399         (org-export-as-latex): Fix issues with region export.
5401         * org.el (org-up-heading-safe): Speed up function by using a
5402         direct regexp search.
5403         (org-olpa): New variable.
5404         (org-get-outline-path): Speed-up path constructions in cases where
5405         this is possible because the entire hierarchy is scanned anyway.
5406         (org-refile-get-location): Don't compare the truenames of files,
5407         this is too slow.
5408         (org-goto-max-level): New option.
5409         (org-goto): Use `org-goto-max-level'.
5411 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5413         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5414         Strip angle brackets from message-ids in the former and don't do
5415         it in the latter.
5416         (org-gnus-follow-link): Open summary reliable, even if the last
5417         messages were deleted, and handle empty groups, too.
5419 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5421         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5422         instead of \texttt for the =...= and ~===~ emphasis environments.
5423         (org-export-as-latex): Remove any old :org-license-to-kill text
5424         properties.
5425         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5426         (org-export-latex-make-header): Add some hard space after the
5427         table of contents.
5428         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5429         exported text so that it will be excuded in further steps.
5431         * org-table.el (org-table-get-specials): Make @0 reference the
5432         last line in a table.
5433         (org-table-recalculate): Improve docstring.
5435 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5437         * org.el (org-log-done): Fix docstring.
5439 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5441         * org-exp.el (org-export-html-format-image): Fix bugs.
5443         * org-export-latex.el (org-export-latex-tables)
5444         (org-export-latex-links): Implement attribute, label, and caption
5445         handling.
5447         * org-exp.el (org-export-html-style-default): Add style
5448         definitions for the figure div.
5449         (org-export-preprocess-string, org-export-as-html): Implement
5450         attribute, label, and caption handling.
5451         (org-export-attach-captions-and-attributes): New function.
5452         (org-export-html-format-image): New function.
5453         (org-format-org-table-html): Implement attribute, label, and
5454         caption handling.
5456         * org.el (org-find-text-property-in-string): New function.
5457         (org-extract-attributes): Use the property org-attr instead of
5458         org-attrobutes, because this property is now set with the #+ATTR
5459         lines.
5461 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5463         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5464         the case that FROM is nil.
5466         * org.el (org-before-first-heading-p): New function.
5468 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5470         * org-exp.el (org-export-as-html): Do not add a space before
5471         enforces line breaks.
5472         (org-export-as-html): Close paragraph before blockquote and verse
5473         tags.
5475 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5477         * org-id.el (org-id-locations-file): Wrap file name with
5478         `convert-standard-filename'.
5479         (org-id-files): New variable.
5480         (org-id-use-hash): New option.
5481         (org-id-update-id-locations): Also search in all files current
5482         listed in `org-id-files'.  Convert the resulting alist to a hash
5483         if the user customation says so.
5484         (org-id-locations-save): Handle he case if `org-id-locations' is a
5485         hash.
5486         (org-id-locations-load): Convert the alist to a hash.
5487         (org-id-add-location): Handle the hast case.
5488         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5489         exited.
5490         (org-id-hash-to-alist, org-id-alist-to-hash)
5491         (org-id-paste-tracker): New functions.
5493 -------------------------------------------------------------------------
5495 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5497         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5498         bindings of calendar variables.
5500         * org-table.el (org-table-find-row-type): Renamed from
5501         `org-find-row-type'.
5502         (org-table-rewrite-old-row-references): Renamed from
5503         `org-rewrite-old-row-references'.
5504         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5505         (org-table-cleanup-narrow-column-properties): Renamed from
5506         `org-cleanup-narrow-column-properties'.
5508 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5510         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5511         for better error messages.
5512         (org-table-get-descriptor-line): Supply the new arguments to
5513         `org-find-row-type'.
5514         (org-table-error-on-row-ref-crossing-hline): New option.
5516         * org.el (org-target-link-regexp): Make buffer-local.
5517         (org-move-subtree-down): Fix bug with trees at beginning of
5518         buffer.
5520 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5522         * org-faces.el (org-set-tag-faces): New function.
5523         (org-tags-special-faces-re): New variable.
5525         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5527         * org-faces.el (org-tag-faces): New option.
5528         (org-tag): Mention `org-tag-faces' in the docstring.
5530 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5532         * org-exp.el (org-export-html-style-default): Implement new
5533         quoting.
5535         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5537         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5538         command to the `w3m-minor-mode-map'.
5540         * org-archive.el (org-archive-to-archive-sibling): Protect
5541         `this-command' to avoid appending kills during archiving.
5543         * org-exp.el (org-export-with-priority): New variable.
5544         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5545         instead of internal list of strings and properties.
5546         (org-print-icalendar-entries): Retrieve the location property with
5547         inheritance.
5549 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5551         * org-exp.el (org-export-with-todo-keywords): New option.
5552         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5553         line.
5554         (org-default-export-plist, org-export-add-options-to-plist)
5555         (org-export-as-ascii, org-export-as-html): Use the new structure
5556         of `org-export-plist-vars'.
5558         * org.el (org-map-entries): Return all values.
5560 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5562         * org.el (org-matcher-time): Recognize more special values.
5564         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5566 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5568         * org.el (org-tags-exclude-from-inheritance): New option.
5569         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5570         `org-tags-exclude-from-inheritance'.
5572         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5573         (org-format-agenda-item): Add inherited tags to the agenda line
5574         string, and make sure that properties are kept when downcasing the
5575         tags list.
5576         (org-agenda-add-inherited-tags): New function.
5577         (org-downcase-keep-props): New function.
5579         * org.el (org-scan-tags): Mark inherited tags with a text
5580         property.
5581         (org-get-tags-at): Mark inherited tags with a text property.
5582         (org-add-prop-inherited): New function.
5584         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5585         (org-agenda-show-inherited-tags): New option.
5587 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5589         * org.el (org-modules): Add org-w3m to the default modules.
5591         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5592         orgtbl-mode.
5593         (orgtabl-create-or-convert-from-region): New command.
5595         * org-exp.el (org-export-as-ascii): Remove the handling of
5596         targets.
5597         (org-export-ascii-preprocess): Handle targets already in this
5598         function.
5600 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5602         * org-timer.el (org-timer-start-time): Define this variable.
5603         (org-timer-item): Make argument optional.
5605         * org-list.el (org-insert-item): Automatically insert a timer item
5606         if the current list is a timer list.
5608         * org-timer.el: New file.
5610         * org-publish.el (org-publish-org-index): Only exclude the index
5611         file in the main directory from being added to the site-map.
5612         (org-publish-get-project-from-filename): If the current project is
5613         a component, start publishing from the parent project.
5615 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5617         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5619         * org-publish.el (org-publish-org-index): Improve removal of
5620         temporary buffers.
5622         * org-agenda.el (org-get-closed): Re-apply changes
5623         accidentially overwritten by last commit to Emacs.
5625         * org.el (org-outline-path-complete-in-steps): New option.
5626         (org-refile-get-location): Honor
5627         `org-outline-path-complete-in-steps'.
5628         (org-agenda-change-all-lines, org-tags-sparse-tree)
5629         (org-time-string-to-absolute, org-small-year-to-year)
5630         (org-link-escape): Re-apply changes accidentially overwritten
5631         by last commit to Emacs
5633 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5635         * org-clock.el (org-dblock-write:clocktable): Make sure the
5636         clocktable sees the first line.
5637         (org-clock-in): Warn if the clock cannot be resumed.
5639 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5641         * org.el (org-open-at-point): Fix mixup about interactive and
5642         non-interactive elisp links.
5644 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5646         * org-exp.el (org-export-preprocess-string): Allow one comment
5647         line before the first headline to always be included.  This is
5648         to not miss a commented target.
5650         * org-mouse.el (org-mouse-insert-item): Call
5651         `org-indent-to-column' instead of `indent-to', for XEmacs
5652         compatibility.
5654         * org.el (org-refile-targets): Fix customize definition so
5655         that it works also in XEmacs.
5656         (org-fixup-indentation): Call `org-indent-to-column' instead
5657         of `indent-to', for XEmacs compatibility.
5659 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5661         * org-mew.el (org-mew-store-link): Get the correct case folder
5662         for refiled messages.
5664 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5666         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5667         line break indicators.
5669         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5670         ido-completion propts.
5672 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5674         * org-remember.el (org-remember-apply-template): Use
5675         `org-substring-no-properties'.
5677         * org-compat.el (org-substring-no-properties): New function.
5679         * org-remember.el (org-remember-apply-template): Use
5680         `org-substring-no-properties' for compatibility.
5682         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5683         option.
5684         (org-fix-bullet-type): respect
5685         `org-list-two-spaces-after-bullet-regexp'.
5687         * org-clock.el (org-clock-load): Clean up the code.
5689         * org.el (org-adaptive-fill-function): Allow two spaces after
5690         "1." as a list bullet.
5692 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5694         * org-clock.el (org-clock-save, org-clock-load): Check for
5695         live buffers, existing files, and buffer file names to ensure
5696         consistent information.
5697         (org-clock-persist): Make `clock' a special value of this
5698         variable, and improve docstring.
5700         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5701         (org-get-string-indentation): Adapt indentation when the bullet
5702         width changes.
5704 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5706         * org-remember.el (org-remember-finalize): Make interactive.
5707         (org-remember-kill): New command.
5708         (org-remember-finish-immediately): Call `org-remember-finalize'
5709         directly.
5710         (org-remember-finalize): Make `org-remember-finalize' an interactive
5711         function.
5713 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5715         * org-remember.el (org-remember-apply-template): No ido completion
5716         for free prompts in remember templates.
5717         (org-remember-before-finalize-hook): New hook.
5718         (org-remember-mode): New minor mode.
5719         (org-remember-apply-template): Turn on `org-remember-mode'.
5721         * org-id.el (org-id-add-location): Avoid error when no file is
5722         given.
5724         * org-remember.el (org-remember-apply-template): Fix the way how
5725         the list of allowed properties is retrieved from the target file.
5727         * org.el (org-insert-link): Improve file link matching.
5729 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5731         * org-colview.el (org-columns-display-here): New argument
5732         DATELINE, to trigger using the new face.
5733         (org-agenda-colview-summarize): Call `org-columns-display-here'
5734         with the new argument.
5736         * org-faces.el (org-agenda-column-dateline): New face.
5738         * org-publish.el (org-publish-org-index): Use index-title at page
5739         title, not as section.
5741         * org-exp.el (org-export-html-format-desc): Respect the
5742         org-protect property.
5743         (org-export-as-html): Protect image specifiers that are in the
5744         description part of a link.
5746         * org.el (org-sort-entries-or-items, org-completing-read)
5747         (org-refile-get-location, org-olpath-completing-read, org-todo)
5748         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5749         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5750         (org-set-property, org-delete-property)
5751         (org-delete-property-globally): Use `org-ido-completing-read'.
5753         * org-remember.el (org-remember-apply-template): Use
5754         `org-ido-completing-read'.
5756         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5758         * org-colview.el (org-columns-edit-value, org-columns-new)
5759         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5761         * org-colview-xemacs.el (org-columns-edit-value)
5762         (org-columns-new, org-insert-columns-dblock): Use
5763         `org-ido-completing-read'.
5765         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5766         `org-ido-completing-read'.
5768         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5769         `org-ido-completing-read'.
5771         * org.el (org-time-today): New function.
5772         (org-matcher-time): Use `org-time-today'.  Add special treatment
5773         for "<tomorrow>" and "<yesterday>".
5774         (org-ido-completing-read): New function.
5775         (org-completion-use-ido): New option.
5777         * org-exp.el (org-export-format-source-code): Fix bug in require
5778         htmlize code.
5779         (org-export-target-internal-links): Fix bug in search for text
5780         property.
5782 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5784         * org-export-latex.el (org-export-latex-subcontent): Interprete
5785         target aliases as additonal labels.
5787         * org-exp.el (org-export-target-aliases): New variable.
5788         (org-export-preprocess-string)
5789         (org-export-handle-invisible-targets): Fill the alias alist.
5790         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5791         assign an id.
5792         (org-html-level-start): Insert the target aliases as additonal
5793         anchors.
5795         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5796         picture area.
5798 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5800         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5801         when following a link with the mouse from the agenda.
5803         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5804         headlines are created.
5806 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5808         * org-exp.el (org-export-preprocess-string): Reorder so that we
5809         can still see ID properties when we collect targets.
5810         (org-export-target-internal-links): Also store targets for ID's.
5812         * org.el (org-link-translation-function): New option.
5813         (org-open-at-point): Call `org-link-translation-function' if
5814         non-nil.
5815         (org-translate-link): New function.
5816         (org-translate-link-from-planner): New function.
5817         (org-open-at-point): Allow interactive commands in elisp links.
5819         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5820         iCalendar quoting.  The new one seems to caus problems with
5821         applications.
5823         * org.el (org-yank): Set `this-command' to `yank', so that
5824         `yank-pop' will work.
5826 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5828         * org-id.el (org-id-search-archives): New option.
5830         * org.el (org-link-to-org-use-id): New option.
5831         (org-store-link): Use `org-link-to-org-use-id'.
5832         (org-id): Make org-id.el a standard component.
5834 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5836         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5837         hexified version of the tag.
5839         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5840         compliance as far as quoting is concerned.
5842         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5844         * org.el (org-up-heading-safe, org-forward-same-level): Always
5845         call `org-back-to-heading' instead of `outline-back-to-heading'.
5846         (org-back-to-heading): New wrapper around outline-back-to-heading,
5847         with a useful error message telling where the error happened.
5849         * org-list.el (org-update-checkbox-count): Always call
5850         `org-back-to-heading' instead of `outline-back-to-heading'.
5852         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5853         has an `alt' attribute, to ensure XHTML validation.
5855 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5857         * org-publish.el (org-publish-attachment): Allow publishing to
5858         overwrite attachment files.
5860         * org-agenda.el (org-agenda-timerange-leaders): New option.
5861         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5863         * org.el (org-edit-src-exit): Untabify ASCII image before
5864         returning.
5877 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5879         * org.el (org-yank): Make any prefix force normal yanking.
5880         Suppress folding if text would be swallowed into a folded
5881         subtree.
5882         (org-yank-folded-subtrees, org-yank): Docstring updates.
5884         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5885         defined as 0.
5887         * org-exp.el (org-export-language-setup): Add Catalan and
5888         Esperanto language entries.
5890 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5892         * org.el (org-refile): Allow refiling of entire regions.
5894         * org-clock.el (org-clock-time%): New function.
5896         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5897         retrieve property values.
5899 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5901         * org-agenda.el (org-agenda-list): Handle the value `only' of
5902         org-agenda-show-log'.
5903         (org-agenda-log-mode): Interpret a double prefix arg.
5905 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5907         * org-exp.el (org-export-html-footnotes-section): New variable.
5908         (org-export-as-html): Use `org-export-html-footnotes-section' to
5909         insert the footnotes.
5910         (org-export-language-setup): Add "Footnotes" to language words.
5912 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5914         * org.el (org-yank): Fix bug when not inserting a subtree.
5916 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5918         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5919         instead of `vm-beginning-of-message'.
5921         * org.el (org-make-link-regexps): Make sure that links to gnus can
5922         contain brackets.
5924 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5926         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5927         code.
5929         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5930         shell output.
5932         * org.el (org-link-abbrev-alist): Improve customization type.
5934         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5935         functions.
5937         * org-agenda.el (org-agenda-get-progress): Renamed from
5938         `org-get-closed'.  Implement searching for state changes as well.
5939         (org-agenda-log-mode-items): New option.
5940         (org-agenda-log-mode): New option prefix argument, interpreted as
5941         request to show all possible progress info.
5942         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5943         `org-get-closed'.
5944         (org-agenda-set-mode-name): Handle the more complex log mode
5945         settings.
5946         (org-get-closed): New alias, pointing to `org-get-progress'.
5948 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5950         * org.el (org-file-apps-defaults-gnu)
5951         (org-file-apps-defaults-macosx)
5952         (org-file-apps-defaults-windowsnt): Add an entry defining the
5953         system command.
5954         (org-file-apps): Allow `system' as key and value.
5955         (org-open-at-point): Explain the effect of a double prefix arg.
5956         (org-open-file): If the argument `in-emacs' is (16),
5957         i.e. corresponding to a double prefix argument, try to open the
5958         file externally.
5960 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5962         * org.el (org-insert-link): Abbreviate absolute files names in
5963         links.  Also, fix a bug in which the double C-u prefix would not
5964         be honored.
5966 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5968         * org.el (org-insert-heading): If buffer does not end with a
5969         newline, add one if necessary to insert headline correctly.
5971         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5972         paragraphs, not inside.
5974         * org.el (org-todo): Quote
5975         `org-agenda-headline-snapshot-before-repeat'.
5977         * org-exp.el (org-export-as-html): Fully process link descriptions.
5978         (org-export-html-format-desc): New function.
5979         (org-export-as-html): Collect footnotes into the correct basket.
5980         (org-html-protect): No longer protect quotations marks here, this
5981         goes wrong.
5983         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5984         BEG.
5986         * org-compat.el (org-fit-window-to-buffer): New function (not
5987         really, a preliminary and incomplete version was present earlier,
5988         but not used).
5990         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5991         `org-fit-window-to-buffer'.
5993         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5995         * org-agenda.el (org-agenda-get-restriction-and-command)
5996         (org-fit-agenda-window, org-agenda-convert-date): Use
5997         `org-fit-window-to-buffer'.
5999         * org-exp.el (org-export-as-html): Process href links through
6000         `org-export-html-format-href'.
6001         (org-export-html-format-href): New function.
6003         * org-agenda.el (org-agenda-todo): Update only the current
6004         headline if this is a repeated TODO, marked done for today.
6005         (org-agenda-change-all-lines): New argument JUST-THIS, to change
6006         only the current line.
6008         * org.el (org-todo): Take a snapshot of the headline if the
6009         repeater might change it.
6011 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6013         * org-publish.el (org-publish-find-title): Remove buffers visited
6014         only for extracting the title.
6016         * org-exp.el (org-export-html-style)
6017         (org-export-html-style-default): Mark style definitions as
6018         unparsed CDATA.
6020         * org-publish.el (org-publish-validate-link): Function
6021         re-introduced.
6023 2008-11-02  Charles Sebold  <csebold@gmail.com>
6025         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6026         property.
6027         (org-plot-quote-timestamp-field): New function.
6028         (org-plot-quote-tsv-field): Call timestamp field function when
6029         necessary rather than just quoting as a string.
6030         (org-plot/gnuplot-to-data): Pass in timefmt property.
6031         (org-plot/gnuplot-script): Supports timefmt property.
6032         (org-plot/gnuplot): Checks for timestamp column before checking
6033         for text index column.
6035 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6037         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6039         * org-publish.el (org-publish-org-index): Create a section in the
6040         index file.
6041         (org-publish-org-index): Stop linking to directories.
6043         * org.el (org-emphasis-alist): Use span instead of <u> to
6044         underline text.
6046         * org-exp.el (org-export-as-html): Make sure <p> is closed before
6047         <pre> sections.
6049 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
6051         * org-jsinfo.el (org-infojs-template): Remove language attribute
6052         from script tag.
6054 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6056         * org-agenda.el (org-agenda-remove-marked-text): New function.
6057         (org-agenda-mark-filtered-text)
6058         (org-agenda-unmark-filtered-text): New functions.
6059         (org-write-agenda): Remove fltered text.
6061         * org.el (org-make-tags-matcher): Give access to TODO "property"
6062         without speed penalty.
6064 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6066         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6067         option.
6068         (org-store-link-props): Make sure adding to the plist works
6069         correctly.
6071         * org-gnus.el (org-gnus-no-new-news): New function.
6072         (org-gnus-follow-link): Allow the article ID to be a message-id,
6073         in addition to allowing article numbers.  Message IDs make much
6074         more roubust links.
6075         (org-gnus-store-link): Use message-id to create link.
6077 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6079         * org.el (org-emphasize): Reverse the selection array.
6080         (org-emphasis-alist): Set <code> tags for the verbatim
6081         environment.
6083         * org-remember.el (org-remember-handler): Fix bug with
6084         prefix-related changing of the note storage target.
6086         * org-exp.el (org-print-icalendar-entries): Make the exported
6087         priorities compatible with RFC 2445.
6089         * org-clock.el (org-clock-save): Insert time stamp without
6090         dependence on time-stamp.el.
6092 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6094         * org.el ("saveplace"): If saveplace puts point into an invisible
6095         location, make it visible.
6096         (org-make-tags-matcher): Allow inactive time stamps in time
6097         comparisons.
6098         (org-yank-adjusted-subtrees): New option.
6099         (org-yank): Incorporate adjusting trees.
6100         (org-paste-subtree): New argument FOR-YANK which will cause
6101         insertion at point without backing up over white lines, and leave
6102         point at the end of the inserted text.  Also if the cursor is
6103         at the beginning of a headline, use the same level or the inserted
6104         tree.
6106         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6107         with broken symlinks
6109 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6111         * org-exp.el (org-export-select-tags, org-get-current-options):
6112         Fix typo.
6114 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6116         * org-agenda.el (org-format-agenda-item)
6117         (org-agenda-filter-make-matcher): Make sure tags are stored and
6118         compared donwcased.
6120 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6122         * org.el (org-insert-todo-heading): Fix bug with force-heading
6123         argument.
6125 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6127         * org-clock.el (org-clock-in-resume): Add a custom option to
6128         toggle starting the clock from an open clock line.
6129         (org-clock-in): When clocking in to an entry, if
6130         `org-clock-in-resume' is set, check if the first clock line is
6131         open and if so, start the clock from the time in the clock line.
6132         (org-clock-persist): Add a custom option to toggle clock
6133         persistence.
6134         (org-clock-persist-query-save): Add a custom option to toggle
6135         asking the user if they want to save the running clock when
6136         exiting.
6137         (org-clock-persist-query-resume): Add a custom option to toggle
6138         asking the user if they want to resume the saved clock when Emacs
6139         is restarted.
6140         (org-clock-save): Add a function to save clock data.
6141         This includes the contents of `org-clock-history' and the buffer
6142         and position of the currently clocked task, if any.
6143         (org-clock-load): Add a function to load clock data.
6144         This populates `org-clock-history', and resumes the saved clocked
6145         task if there is one.
6146         (org-clock-persistence-insinuate): Add a method to set up the
6147         hooks for clock persistence.
6149 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6151         * org-exp.el (org-export-as-ascii): Handle the case that we are
6152         publishing from an indirect buffer.
6154         * org-table.el (org-table-copy-down): Fix bug with time stamp
6155         increment.
6157         * org-mouse.el (org-mouse-features): New option.
6158         (org-mode-hook): Turn on features depending on
6159         `org-mouse-features'.
6161         * org.el (org-insert-heading-respect-content): Force heading
6162         creation.
6163         (org-insert-heading): keep the folding state of the heading before
6164         the inserted one.
6166 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6168         * org-archive.el (org-archive-to-archive-sibling): Handle top
6169         level headlines better.
6171 2008-10-21  Bastien Guerry  <bzg@altern.org>
6173         * org-export-latex.el (org-export-latex-classes): Added
6174         \usepackage{graphicx} to the default list of packages.
6176 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6178         * org-agenda.el (org-agenda-filter): Renamed from
6179         `org-agenda-filter-tags'.
6181 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6183         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6184         is not defined as a property in this entry.
6185         (org-add-log-note): Mask prefix argument when immediately storing
6186         the note.
6188         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6189         option.
6191 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6193         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6194         after drawers was skipping ahead one line too many, so notes were
6195         inserted after the first note instead of before it.
6197 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6199         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6200         New variables.
6201         (org-prepare-agenda): Reset the filter tags.
6202         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6203         Show filter tags in mode line.
6205         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6206         formatter.
6208         * org-export-latex.el (org-latex-entities-regexp): New constant.
6209         (org-export-as-pdf): Use two calls to `shell-command'.
6211 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6213         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6214         Honor the {} value of the subsuperscript setting.  Make sure that
6215         longer subsuperscripts are typeset in a roman font.
6217         * org.el (org-clock-update-time-maybe): Compute negative clock
6218         intervals correctly.
6220 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6222         * org.el (org-add-log-setup): Respect
6223         `org-log-state-notes-insert-after-drawers'.
6224         (org-log-state-notes-insert-after-drawers): New option.
6225         (org-todo-trigger-tag-changes): New function.
6226         (org-todo): Call `org-todo-trigger-tag-changes'.
6228 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6230         * org.el (org-add-log-setup): Only skip drawers if the are
6231         immediately after the scheduling keywords.
6233         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6234         function
6235         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6236         call it with the current todo state to get the state to switch to
6237         when clocking in.
6238         (org-clock-in): Use org-indent-line-function to indent clock lines.
6239         (org-clock-find-position): Fix indentation of empty clock drawers.
6241 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6243         * org-publish.el (org-publish-org-to): Handle case when
6244         org-export-to-pdf does return a file name, not a buffer.
6245         (org-publish-org-to-pdf): New function.
6247         * org-export-latex.el (org-export-as-pdf)
6248         (org-export-as-pdf-and-open): New commands.
6250         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6251         forms as ranges.
6253         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6254         things in protexted regions.
6256 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6258         * org-export-latex.el (org-export-latex-preprocess): Improve
6259         quoting of LaTeX environments.
6261 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6263         * org.el (org-edit-fixed-width-region): Exclude final newline from
6264         picture area.
6266         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6267         sections, to make internal links work.
6268         (org-export-latex-fontify-headline): Do not remove all text
6269         properties, to make sure that target properties survive this
6270         process.
6272         * org-exp.el (org-export-preprocess-string): Change sequence of
6273         modifications, to make sure links are prepared before the LaTeX
6274         conversions do happen.
6276 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6278         * org-attach.el (org-attach-delete-all): Renamed from
6279         `org-attch-delete'.  Add a security query before deleting the
6280         entire directory.  New optional argument FORCE can overrule the
6281         security query.
6282         (org-attach-delete-one): New command.
6284 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6286         * org-attach.el (org-attach-file-list): Fix bug with directory.
6288 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6290         * org.el (org-apps-regexp-alist): New function.
6291         (org-file-apps): Add auto-mode to the default value.
6292         (org-open-file): Use the new structure of org-file-apps.
6294         * org-attach.el (org-attach): Support the new keys.
6295         (org-attach-method): New option.
6297 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6299         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6300         March.
6302         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6303         of the list value o `org-use-tag-inheritance'.
6305         * org-attach.el (org-attach-auto-tag): New option.
6306         (org-attach-tag, org-attach-untag): New functions.
6307         (org-attach-attach, org-attach-new, org-attach-sync): Call
6308         `org-attach-tag'.
6309         (org-attach-delete): Call `org-attach-untag'.
6311 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6313         * org-table.el (orgtbl-self-insert-command): Make this work for
6314         the keypad as well.
6316 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6318         * org.el (org-add-log-setup): Limit searc for drawers to entry
6319         text, not to subtree.
6321         * org-clock.el (org-clock-heading-for-remember): New variable.
6322         (org-clock-in): Set `org-clock-heading-for-remember'.
6324 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6326         * org-remember.el (org-remember-apply-template): Add new
6327         expansions: %k, %K for currently clocked task and a link to the
6328         currently clocked task, and %< to file notes in the currently
6329         clocked task.
6331 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6333         * org-export-latex.el (org-export-latex-make-header): Also insert
6334         the content of the property :latex-header-extra.
6336         * org-exp.el (org-infile-export-plist): Put the content of
6337         #+LATEX_HEADER: into the property :latex-header-extra.
6339         * org-colview.el (org-columns-get-format-and-top-level): Remove
6340         resetting the marker.
6342         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6343         Remove resetting the marker.
6345         * org.el (org-entry-property-inherited-from): Improve docstring.
6346         (org-entry-get-with-inheritance): Reset marker before starting the
6347         search.
6349         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6351 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6353         * org.el (org-entry-get-multivalued-property)
6354         (org-entry-protect-space, org-entry-restore-space): New
6355         functions.
6356         (org-file-apps-defaults-macosx): Let postscript files be opened by
6357         preview.
6358         (org-time-stamp-inactive): Call `org-time-stamp'.
6359         (org-time-stamp): New argument `inactive'.  Also edit inacive
6360         stamps. Convert time stamp type.
6361         (org-open-file): Interpret the `default' value for the `command'
6362         in `org-file-apps'.
6364         * org-id.el (org-id-int-to-b36-one-digit)
6365         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6366         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6367         b36.
6369 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6371         * org-id.el (org-id-reverse-string): New function.
6372         (org-id-new): Use `org-id-reverse-string' to make sure the
6373         beginning chars of the ID are mutating fast.  This allows to use a
6374         directory structure to spread things better.
6375         (org-id-prefix): Changed default to nil.
6377         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6378         restore the column of the cursor position.
6380         * org-remember.el (org-remember-apply-template): Remove properties
6381         from `initial'.
6383 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6385         * org-wl.el (org-wl-open): Remove useless call to
6386         `wl-thread-open-all'.
6388         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6389         location.
6391 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6393         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6394         `org-bbdb-anniversaries'.
6396         * org.el (org-get-next-sibling, org-forward-same-level): New
6397         functions, similar to the outline versions, but invisible headings
6398         are OK.
6400 2008-09-25  Bastien Guerry  <bzg@altern.org>
6402         * org.el (org-auto-repeat-maybe): Insert a space between
6403         the timestamp's type and the timestamp itself.
6405 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6407         * org-table.el (org-table-sum): Do not format the result with %g,
6408         it does rounding when there are too many digits.
6410         * org.el (org-map-entries): Protect the keyword-selecting variables.
6412 2008-09-23  Bastien Guerry  <bzg@altern.org>
6414         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6415         against all agenda files.
6417 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6419         * org-list.el: New file, aggregating list functions from org.el
6420         and org-export-latex.el.
6422         * org.el (org-edit-src-region-extra): New option.
6424 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6426         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6427         time before 1am.
6429 2008-09-22  Bastien Guerry  <bzg@altern.org>
6431         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6433 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6435         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6436         hline work correctly.
6437         (org-plot/gnuplot-script): Put commas at the end of each script
6438         line.
6440 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6442         * org.el (org-get-refile-targets): Replace links with their
6443         descriptions
6444         (org-imenu-get-tree): Replace links with their descriptions.
6446         * org-remember.el (org-remember-apply-template): Add a new
6447         expansion for adding properties to remember items.
6449         * org.el (org-add-log-setup): Skip over drawers (properties,
6450         clocks etc) when adding notes.
6452         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6453         items as well as the start and end times.
6455         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6456         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6458         * org-remember.el (org-get-x-clipboard): Use the compat
6459         function to get clipboard values when x-selection-value is
6460         unavailable. Use substring-no-properties instead of
6461         set-text-properties to remove text properties from the clipboard
6462         value.
6464         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6465         modeline clock string, and display the full todo value in the
6466         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6467         the currently clocked task.
6468         (org-clock-string-limit): Add a custom value for the maximum
6469         length of the clock string in the modeline.
6470         (org-clock-mode-map): Add a keymap for the modeline string
6472 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6474         * org-compat.el (org-propertize): New function.
6476 2008-09-20  Bastien Guerry  <bzg@altern.org>
6478         * org-export-latex.el (org-export-latex-tables): protect exported
6479         tables from further special chars conversion.
6480         (org-export-latex-preprocess): Preserve LaTeX environments.
6481         (org-list-parse-list): Parse descriptive lists.
6482         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6483         (org-list-to-texinfo): Export descriptive lists.
6484         (org-quote-chars): Remove.
6485         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6486         (org-export-latex-list-beginning-re): Rename to
6487         `org-list-beginning-re'
6488         (org-list-item-begin): Rename to `org-list-item-beginning'
6490 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6492         * org.el (org-refile): Allow refiling to the last entry in the
6493         buffer.
6494         (org-get-tags-at): Fix bug when inheritance is turned off.
6496 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6498         * org.el (org-indent-line-function): No longer check for src
6499         regions, this is too much overhead.
6501         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6502         matching.
6504         * org.el (org-scan-tags): Make sure that tags matching is not case
6505         sensitive.  TODO keyword matching is case sensitive, however, to
6506         avoid confusion with similar words that are not meant to be
6507         keywords.
6509 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6511         * org.el (org-get-local-tags-at): New function.
6512         (org-get-local-tags): New function.
6514         * org-exp.el (org-export-get-categories): New function.
6516         * org-agenda.el (org-sorting-choice)
6517         (org-agenda-sorting-strategy, org-agenda-get-todos)
6518         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6519         (org-agenda-get-scheduled, org-agenda-get-blocks)
6520         (org-entries-lessp): Implement sorting by TODO state.
6521         (org-cmp-todo-state): New defsubst.
6523         * org-colview.el (org-colview-construct-allowed-dates): New
6524         function.
6525         (org-columns-next-allowed-value): Use
6526         `org-colview-construct-allowed-dates'.
6528         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6529         function.
6530         (org-columns-next-allowed-value): Use
6531         `org-colview-construct-allowed-dates'.
6533 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6535         * org.el (org-protect-slash): New function.
6536         (org-get-refile-targets): Use `org-protect-slash'.
6538         * org-agenda.el (org-global-tags-completion-table): New variable.
6540         * org-exp.el (org-export-handle-export-tags): New function.
6541         (org-export-preprocess-string): Call
6542         `org-export-handle-export-tags'.
6544         * org-plot.el: New file.
6546         * org-publish.el (org-publish-expand-components): Function removed.
6547         (org-publish-expand-projects): Allow components to have components.
6549 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6551         * org.el (org-indent-line-function): Do not indent in regions that
6552         are external source code.
6553         (org-yank-and-fold-if-subtree): New function.
6555         * org-agenda.el (org-agenda-todayp): New function.
6556         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6557         `org-agenda-todayp'.
6559         * org.el (org-insert-heading-respect-content)
6560         (org-insert-todo-heading-respect-content): New commands.
6561         (org-insert-heading-respect-content): New option.
6562         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6564         * org-clock.el (org-clock-find-position): Make sure the note after
6565         the clock line gets moved into the new clock drawer.
6567 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6569         * org-id.el (org-id-new): New option.
6571 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6573         * org-table.el (org-table-copy-down): Avoid overflow during
6574         increment.  Use prefix argument 0 to temporarily disable the
6575         increment.
6577 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6579         * org-exp.el (org-export-as-html): Do not turn on the major mode
6580         if the buffer will be killed anyway.
6581         (org-get-current-options): Exclude the #+TEXT field.
6582         (org-export-as-html): Make sure text before the first headline is
6583         a paragraph.
6585         * org-publish.el (org-publish-org-to): Tell the exporter that this
6586         buffer will be killed, so it is not necessary to do major mode
6587         initialization.
6589         * org-archive.el (org-archive-to-archive-sibling): Show empty
6590         lines after folding the archive sibling.
6592         * org.el (org-log-note-extra): New variable.
6594 2008-09-05  Bastien Guerry  <bzg@altern.org>
6596         * org.el (org-additional-option-like-keywords): Added keywords for
6597         the _QUOTE, _VERSE and _SRC environments.
6599         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6600         exporting _QUOTE and _VERSE environments.
6602 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6604         * org-agenda.el (org-agenda-filter-by-tag): New command.
6606         * org-exp.el (org-get-current-options): Remove angular brackets
6607         from the date entry.
6609         * org.el (org-edit-fixed-width-region): New function.
6610         (org-edit-fixed-width-region): Also try
6611         `org-edit-fixed-width-region'.
6612         (org-edit-fixed-width-region-mode): New option.
6613         (org-activate-code): Only interprete lines starting with colon
6614         plus a space as example lines.
6616         * org-remember.el (org-remember-templates): Add nil instead of
6617         empty strings to fix the length of remember templates.
6619         * org-table.el (org-calc-default-modes): Fix the time format for
6620         calc, from 12 hour to 24 hour clock.
6622 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6624         * org-agenda.el (org-agenda-get-deadlines)
6625         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6626         entries that are pre-warnings of deadlines or reminders.
6628         * org.el (org-sort-entries-or-items): Make numeric and alpha
6629         comparisons ignore any TODO keyword and priority cookie.
6631         * org-remember.el (org-remember-handler): Reinterpretation of the
6632         prefix argument.
6634 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6636         * org-agenda.el (org-agenda-get-scheduled): Use new
6637         `org-scheduled' face.
6639         * org-faces.el (org-scheduled): New face.
6641         * org-wl.el (org-wl-open): Remove incorrect declaration.
6643         * org-gnus.el (org-gnus-store-link): Support for :to information
6644         in gnus links.
6646         * org-exp.el (org-export-as-html): Fixed typo in creator
6647         information.
6648         (org-export-protect-examples): New parameter indent.  Insert extra
6649         spaces only when this parameter is specified.
6650         (org-export-preprocess-string): Call `org-export-protect-examples'
6651         with an indentation parameter when exporting to ASCII.
6653         * org-remember.el (org-remember-templates)
6654         (org-remember-apply-template): Allow the file component to be a
6655         function.
6657         * org.el (org-goto-local-search-headings): Renamed from
6658         `org-goto-local-search-forward-headings'.  Added the possibility
6659         to search backwards.
6661 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6663         * org-export-latex.el (org-export-latex): New customization
6664         group.
6666         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6668 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6670         * org-exp.el (org-html-do-expand): Allow {} to terminate
6671         tex macro
6673 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6675         * org.el (org-buffer-list): Select buffers based on major mode,
6676         not on file name.
6678 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6680         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6681         face property.
6683         * org-colview.el (org-columns-display-here): Use
6684         `org-columns-modify-value-for-display-function'.
6686         * org-colview-xemacs.el (org-columns-display-here): Use
6687         `org-columns-modify-value-for-display-function'.
6689 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6691         * org.el (org-columns-modify-value-for-display-function): New option.
6703         * org-publish.el (org-publish-file): Make sure the directory match
6704         for the publishing directory works correctly.
6706         * org-agenda.el (org-agenda-execute-calendar-command)
6707         (org-agenda-diary-entry): Additional optional argument.
6709 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6711         * org-exp.el (org-export-as-html): Add attributes also in mailto
6712         and ftp links.
6714         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6723 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6725         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6726         sure that calls from `org-export-region-as-html' do not do the
6727         special check for a subtree.
6729 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6731         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6733 2008-07-20  Juri Linkov  <juri@jurta.org>
6735         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6736         new keymap `narrow-map' instead of binding "\C-xns".
6738 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6740         * org.el (org-open-file): Use
6741         `org-open-directory-means-index-dot-org'.
6742         (org-open-directory-means-index-dot-org): New option.
6744 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6746         * org.el (org-make-link-string): Remove link attributes from
6747         description.
6748         (org-open-at-point): Remove link attributes bevore using the path.
6750         * org-exp.el (org-export-as-html): Handle link attributes.
6752         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6754         * org-table.el (org-table-to-lisp): New function.
6756         * org.el (org-narrow-to-subtree): Do not include the final newline
6757         into the narrowed region.
6759         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6760         bug with user-define skipping condition.
6762 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6764         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6766 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6768         * org-exp.el (org-export-html-style-default): Automatic overflow
6769         handling for pre fields.
6770         (org-export-as-ascii, org-export-as-html): Change default format
6771         for time stamp.
6773         * org-table.el (org-table-export): Offer completion for translator
6774         functions, and do not require a heading above the table.
6776         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6777         Cater for the case of a list starting in the first line of the
6778         buffer.
6780 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6782         * org-publish.el (org-publish-find-title): Bug fix.
6783         (org-publish-org-index): Implement new :index-style option.
6785 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6787         * org-publish.el (org-publish-timestamp-filename): Use
6788         SHA1-encoded file names in the timestamp directory.
6790 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6792         * org-publish.el (org-publish-needed-p): Be verbose about files
6793         published and files skipped.
6795         * org-exp.el (org-export-preprocess-string): Swap link
6796         normalization and inernal link targeting.
6798         * org-publish.el (org-publish-needed-p): Create timestamp
6799         directory when it does not exist.
6801 2008-07-04  Bastien Guerry  <bzg@altern.org>
6803         * org-clock.el (org-clock-out-when-done): Doc fix.
6805         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6807         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6808         Ignore case when searching for the COMMENT cookie at export time.
6810 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6812         * org-exp.el (org-get-file-contents)
6813         (org-get-and-remove-property): New functions.
6814         (org-export-handle-include-files): Handle the new prefix options.
6815         (org-export-as-html): Fix the verse environment.
6817 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6819         * org.el (org-time=, org-time<, org-time<=, org-time>)
6820         (org-time>=, org-time<>, org-2ft): New functions.
6821         (org-op-to-function): Also provide for the time testing fucntions.
6823 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6825         * org-exp.el (org-export-html-style-default): New constant.
6827 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6829         * org-exp.el (org-export-html-style-extra): New variable.
6830         (org-export-splice-style): New function.
6832 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6834         * org-exp.el (org-export-plist-vars, org-export-as-html):
6835         Implement `org-export-creator-info'.
6836         (org-export-creator-info): New option.
6838 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6840         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6841         (org-property-drawer-re, org-clock-drawer-re): New constants.
6843 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6845         * org-exp.el (org-icalendar-use-deadline)
6846         (org-icalendar-use-scheduled): New options.
6847         (org-icalendar-include-todo): Default changed to t.
6848         (org-print-icalendar-entries): Implement better utilization of
6849         scheduling and deadline time stamps.
6850         (org-export-target-internal-links, org-export-as-html): Allow file
6851         lines without the "file:" prefix if the file path is an absolute
6852         path or starts with ".".
6854         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6855         lastweek etc.
6856         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6858 2008-06-18  Glenn Morris  <rgm@gnu.org>
6859         * org.el (org-map-entries): Let-bind `file'.
6861 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6863         * org.el (org-agenda-skip-archived-trees): Docstring now
6864         discourages using this.
6865         (org-scan-tags): Check for org-agenda-archives-mode.
6866         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6867         (org-agenda-files): Functionality of second arg changed.
6869         * org-agenda.el (org-agenda-archives-mode): New variable
6870         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6871         (org-search-view, org-todo-list, org-tags-view)
6872         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6873         `ifmode' argument.
6874         (org-agenda-quit): Reset the archives mode.
6875         (org-agenda-archives-mode): New command.
6876         (org-agenda-set-mode-name): Include archives info.
6878 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6880         * org.el (org-paste-subtree): Make sure the yanked headline is
6881         visible if it was yanked at a visible point.
6882         (org-move-item-up): Fix the bug with moving white space at the end
6883         of the item.
6884         (org-show-empty-lines-in-parent): New function.
6886 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6888         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6890         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6892         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6893         agenda prefix as well.
6895         * org-publish.el (org-publish-org-index): Make a properly indented
6896         list.
6898         * org.el (org-calendar-agenda-action-key): New option.
6899         (org-get-cursor-date): New function.
6900         (org-mark-entry-for-agenda-action): New command.
6901         (org-overriding-default-time): New variable.
6902         (org-read-date): Respect `org-overriding-default-time'.
6904         * org-remember.el (org-remember-apply-template): Respect the
6905         ovverriding default time.
6907         * org-agenda.el (org-agenda-action-marker): New variable.
6908         (org-agenda-action): New command.
6909         (org-agenda-do-action): New function.
6911 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6913         * org.el (org-schedule, org-deadline): Protect scheduled and
6914         deadline tasks against changes that accidently remove the
6915         repeater.  Also show a message with the new date when done.
6917 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6919         * org.el (org-beginning-of-line): Cater for the case when there
6920         are tags but no headline text.
6921         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6922         it set.
6924 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6926         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6927         the return value is nil instead of "nil" when there is no match.
6929         * org-exp.el (org-insert-centered): Use fill-column instead of
6930         80.
6931         (org-export-as-ascii): Use string-width to measure the width of
6932         the heading.
6934         * org.el (org-diary-to-ical-string): No longer kill buffer
6935         FROMBUF, this is now done by the caller.
6937         * org-exp.el (org-print-icalendar-entries): Move the call to
6938         `org-diary-to-ical-string' out of the loop, and kill the buffer
6939         afterwords.
6941         * org-remember.el (org-remember-visit-immediately): Position
6942         cursor after moving to the note.
6943         (org-remember-apply-template): Use a text property to record the
6944         cursor position.
6945         (org-remember-handler): Align tags after pasting the note.
6947 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6949         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6951         * org-agenda.el (org-agenda-open-link): If there is an
6952         org-bbdb-name property in the current line, jump to that bbdb
6953         entry.
6955         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6956         text property, so that the agenda knows where this entry comes
6957         from.
6959         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6960         interaction between clocking-in from the agenda, and  automatic
6961         task state switching.
6963         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6965         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6966         zmacs-region stays after this command in XEmacs.
6968 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6970         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6972         * org-remember.el (org-remember-templates): Fix bug in
6973         customization type definition.
6975         * org.el (org-map-entries): New function.
6977 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6979         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6980         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6982 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6984         * org-remember.el (org-jump-to-target-location): New variable.
6985         (org-remember-apply-template): Set
6986         `org-remember-apply-template' if requested by template.
6987         (org-remember-handler): Start an idle timer to jump to
6988         remember location.
6990         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6992         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6993         file tags.
6994         (org-get-tags-at): Add the content of `org-file-tags'.
6996         * org-exp.el (org-export-handle-comments): Fix bug with several
6997         comment lines after each other.
6998         (org-number-to-roman, org-number-to-counter): New functions.
6999         (org-export-section-number-format): New option.
7001 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
7003         * org-exp.el (org-export-protect-examples): Catch the case of a
7004         missing end_example line.
7006         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7007         `org-file-tags' to nil.
7009         * org-colview.el (org-columns-next-allowed-value): Handle next
7010         argument NTH to directly select a value.
7012         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7013         argument NTH to directly select a value.
7015 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
7017         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7019 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
7021         * org.el (org-columns-ellipses): New option.
7023 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
7025         * org-colview.el (org-columns-add-ellipses): New function.
7026         (org-columns-compact-links): New function.
7027         (org-columns-cleanup-item): Call `org-columns-compact-links'.
7028         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7029         when in agenda.
7030         (org-columns-edit-value): Fixed bug with editing values from
7031         agenda column view.
7032         (org-columns-redo): Also redo the agenda itself.
7034 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
7036         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7037         option.
7039         * org-colview.el (org-agenda-columns-cleanup-item): New function.
7041         * org-exp.el (org-export-ascii-preprocess): Renamed from
7042         `org-export-ascii-clean-string'.
7043         (org-export-kill-licensed-text)
7044         (org-export-define-heading-targets)
7045         (org-export-handle-invisible-targets)
7046         (org-export-target-internal-links)
7047         (org-export-remove-or-extract-drawers)
7048         (org-export-remove-archived-trees)
7049         (org-export-protect-quoted-subtrees)
7050         (org-export-protect-verbatim, org-export-protect-examples)
7051         (org-export-select-backend-specific-text)
7052         (org-export-mark-blockquote-and-verse)
7053         (org-export-remove-comment-blocks-and-subtrees)
7054         (org-export-handle-comments, org-export-mark-radio-links)
7055         (org-export-remove-special-table-lines)
7056         (org-export-normalize-links)
7057         (org-export-concatenate-multiline-links)
7058         (org-export-concatenate-multiline-emphasis): New functions,
7059         obtained from spliiting the export preprocessor.
7061         * org-table.el (org-table-recalculate): Improve error message if
7062         the row number is invalid.
7064 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7066         * org-archive.el (org-archive-save-context-info): Fix bugs in
7067         customization setup and docstring.
7069         * org-exp.el (org-export-html-style): Changed the size of in the
7070         <pre> element to 90%.
7072 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7074         * org.el (org-find-src-example-start): Function removed.
7075         (org-edit-src-find-region-and-lang): New function.
7077 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7079         * org.el (org-edit-src-exit): New function.
7080         (org-exit-edit-mode): New minor mode.
7082         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7083         comment-like lines from protected examples.
7085         * org.el (org-edit-src-example, org-find-src-example-start)
7086         (org-protect-source-example, org-edit-special): New functions.
7088 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7090         * org-publish.el (org-publish-project-alist): Fix typo in
7091         docstring.
7092         (org-publish-project-alist): Handle :index-title property.
7094 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7096         * org-export-latex.el (org-export-as-latex): Make sure region
7097         bounds are correct.  Parse subtree properties relating to export.
7099         * org-exp.el (org-export-add-options-to-plist): New function.
7100         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7102 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7104         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7105         EXPORT_TITLE.
7107         * org-exp.el (org-export-get-title-from-subtree)
7108         (org-export-as-ascii, org-export-as-html): Make sure the original
7109         region-beginning and region-end are used, even after moving
7110         point.
7111         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7112         property.
7114         * org-remember.el (org-remember-last-stored-marker): New variable.
7115         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7116         (org-remember-handler): Also use marker to remember
7117         last-stored position.
7119         * org.el (org-goto-marker-or-bmk): New function.
7121 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7123         * org.el (org-file-properties): Renamed from `org-local-properties'.
7124         (org-scan-tags): Take file tags into account.
7125         (org-tags-match-list-sublevels): Default changed to t.
7127         * org-exp.el (org-export-as-html): Close paragraph after a
7128         footnote.
7130         * org.el (org-update-parent-todo-statistics): New function.
7132         * org-exp.el (org-icalendar-store-UID): New option.
7133         (org-icalendar-force-UID): Option removed.
7134         (org-print-icalendar-entries): IMplement UIDs.
7136 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7138         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7140 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7142         * org-faces.el (org-column): Document how this face is being used
7143         and why sometimes the background faces shine through.
7145         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7147         * org-publish.el (org-publish-attachment): Create publishing
7148         directory if it does not yet exist.
7150         * org-table.el (org-calc-default-modes): Change default number
7151         format to (float 8).
7153         * org.el (org-olpath-completing-read): New function.
7154         (org-time-clocksum-format): New option.
7155         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7157         * org-clock.el (org-clock-display, org-clock-out)
7158         (org-update-mode-line): Use `org-time-clocksum-format'.
7160         * org-colview-xemacs.el (org-columns-number-to-string): Use
7161         `org-time-clocksum-format'.
7163         * org-colview.el (org-columns-number-to-string): Use
7164         `org-time-clocksum-format'.
7166 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7168         * org-id.el: New file, move from contrib to core.
7170         * org-exp.el (org-icalendar-force-UID): New option.
7172 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7174         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7175         shifted by one day if theere is a date range without an end
7176         time.
7178         * org.el (org-try-structure-completion): New function.
7180 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7182         * org.el (org-set-font-lock-defaults): Improve fontification of
7183         description lists.
7184         (org-insert-item): Handle description lists.
7185         (org-adaptive-fill-function): Improve auto indentation in
7186         description lists.
7188         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7189         Implement VERSE environment.
7190         (org-export-preprocess-string): Implement the COMMENT
7191         environment.
7193         * org-export-latex.el (org-export-latex-preprocess): Implement
7194         VERSE environment.
7196 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7198         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7199         option.
7201 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7203         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7205         * org.el (org-quote-csv-field): New functions.
7207         * org-table.el (org-table-export-default-format): Remove :splice
7208         from default format, we get the same effect by not specifying
7209         :tstart and :tend.
7210         (org-table-export): Improve setup, distinguish better between
7211         interactive and non-interactive use, allow specifying the format
7212         on the fly, better protection against wrong file names.
7213         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7214         and :tend when :splice is omitted.
7216 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7218         * org-clock.el (org-clock-select-task): Make sure the selection
7219         letters are 1-9 and A-Z, no special characters.
7221 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7223         * org-exp.el (org-export-htmlize): New group.
7224         (org-export-htmlize-output-type)
7225         (org-export-htmlize-css-font-prefix): New options.
7226         (org-export-htmlize-region-for-paste): New function.
7227         (org-export-htmlize-generate-css): New command.
7229 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7231         * org/org.el (org-modules, org-format-latex-options):
7232         * org/org-archive.el (org-archive-stamp-time)
7233         (org-archive-save-context-info):
7234         * org/org-faces.el (org-hide):
7235         * org/org-irc.el (org-irc-parse-link):
7236         * org/org-macs.el (org-call-with-arg, org-autoload):
7237         * org/org-mew.el (org-mew-store-link):
7238         * org/org-remember.el (org-remember-store-without-prompt)
7239         (org-remember-templates): Fix typos in docstrings.
7241         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7243         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7244         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7245         (org-bbdb-anniv-split): Fix typos in docstrings.
7247         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7248         (org-publish-use-timestamps-flag): Reflow docstring.
7249         (org-publish-files-alist): Fix typos in docstring.
7251 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7253         * org.el (org-set-visibility-according-to-property): New function.
7254         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7255         and compute the regular expressions, and update font-lock.
7256         (org-property-re): Allow a dash in property names.
7258         * org-archive.el (org-extract-archive-file): Insert the file name
7259         without the path into the format, to allow the location format to
7260         contain a subdirectory.
7262         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7263         of buffer, and the `org-agenda-type' property undefined, use the
7264         value from the character before.
7266         * org.el (org-add-planning-info): Don't let indentation for
7267         would-be timestamp become extra whitespace at the end of headline.
7269 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7271         * org.el (org-remove-double-quotes, org-file-contents): New
7272         functions.
7274         * org-exp.el (org-infile-export-plist): Also parse the
7275         contents of #+SETUPFILE files, recursively.
7277         * org.el (org-set-regexps-and-options): Also parse the
7278         contents of #+SETUPFILE files, recursively.
7280         * org-exp.el (org-export-handle-include-files): New function.
7281         (org-export-preprocess-string): Call
7282         `org-export-handle-include-files'.
7284         * org.el (org-delete-property-globally)
7285         (org-delete-property, org-set-property): Ignore case during
7286         completion.
7287         (org-set-property): Use `org-completing-read' instead of
7288         `completing-read'.
7290         * org.el (org-complete-expand-structure-template): New,
7291         experimental function.
7292         (org-structure-template-alist): New, experimental option.
7293         (org-complete): Call `org-complete-expand-structure-template'.
7295 2008-05-06  Bastien Guerry  <bzg@altern.org>
7297         * org-export-latex.el (org-export-latex-preprocess): Added
7298         support for blockquotes.
7300 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7302         * org.el (org-read-date-analyze): Catch the case where only a
7303         weekday is given.
7305 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7307         * org.el (org-set-font-lock-defaults): Make the description
7308         tag bold.
7310         * org-exp.el (org-export-as-html, org-close-li): Implement
7311         description lists.
7313 2008-05-04  Jason Riedy  <jason@acm.org>
7315         * org-table.el (*orgtbl-default-fmt*): New variable.
7316         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7317         when there is no other fmt available.
7319         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7320         :tend to suppress the appropriate string.
7322         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7323         table.
7325 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7327         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7328         read date.
7330         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7331         New function.
7333         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7334         New function.
7336 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7338         * org-clock.el (org-clock-find-position): Don't include notes
7339         into clock drawer.
7341         * org-archive.el (org-archive-subtree): No longer remove an
7342         extra line after cutting the subtree.  `org-cut-subtree' already
7343         takes care of this.
7345         * org-remember.el (org-remember-handler): Only kill the target
7346         buffer if it does not contain the running clock.
7348         * org.el (org-markers-to-move): New variable.
7349         (org-save-markers-in-region, org-check-and-save-marker)
7350         (org-reinstall-markers-in-region): New function.
7351         (org-move-subtree-down, org-copy-subtree): Remember relative
7352         marker positions before cutting.
7353         (org-move-subtree-down, org-paste-subtree): Restore relative
7354         marker positions after pasting.
7356         * org-remember.el (org-remember-clock-out-on-exit): New option.
7357         (org-remember-finalize): Clock out only if the setting in
7358         `org-remember-clock-out-on-exit' requires it.
7359         (org-remember-handler): Do the cleanup in the buffer, to make sure
7360         that the clock marker remains in tact.
7362 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7364         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7365         (org-clock-in): Make sure that also tasks outside the narrowed
7366         region will be clocked in correctly.
7367         (org-clock-insert-selection-line): Widen the buffer so that we can
7368         find the correct task heading.
7370         * org.el (org-base-buffer): New function.
7372         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7373         and ";" are escaped.
7374         (org-print-icalendar-entries): Also apply
7375         `org-icalendar-cleanup-string' to the headline, not only to the
7376         summary property.
7378 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7380         * org-exp.el (org-export-preprocess-hook): New hook.
7381         (org-export-preprocess-string): Call
7382         `org-export-preprocess-hook'.
7384         * org.el (org-font-lock-hook): New variable.
7385         (org-font-lock-hook): New function.
7386         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7388 ;; Local Variables:
7389 ;; coding: utf-8
7390 ;; add-log-time-zone-rule: t
7391 ;; End:
7393     Copyright (C) 2008  Free Software Foundation, Inc.
7395   This file is part of GNU Emacs.
7397   GNU Emacs is free software: you can redistribute it and/or modify
7398   it under the terms of the GNU General Public License as published by
7399   the Free Software Foundation, either version 3 of the License, or
7400   (at your option) any later version.
7402   GNU Emacs is distributed in the hope that it will be useful,
7403   but WITHOUT ANY WARRANTY; without even the implied warranty of
7404   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7405   GNU General Public License for more details.
7407   You should have received a copy of the GNU General Public License
7408   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7410 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c