Fix export of long links in code examples
[rgr-org-mode.git] / lisp / ChangeLog
blob975337180d141351a987fbb2ee939272067739de
1 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-exp.el (org-export-concatenate-multiline-links): The for
4         protectedness at beginning of match.
6         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
7         AUTO as a coding system, instead default to utf8.
9 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
11         * org.el (org-block-todo-from-children-or-siblings-or-parent)
12         (org-block-todo-from-checkboxes): Respect the local variable
13         value when deciding if blocking should be active.
15         * org-latex.el (org-export-latex-make-header): Define the align
16         macro if it is not yet defined.
18         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
19         `org-insert-heading' with the INVISIBLE-OK argument.
21         * org-mac-message.el (org-mac-message-insert-flagged): Call
22         `org-insert-heading' with the INVISIBLE-OK argument.
24         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
26         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
27         prompt message.
29         * org-html.el (org-html-level-start): Use the
30         `html-container-class' text property to set an additional class
31         for an outline container.
33         * org-exp.el (org-export-remember-html-container-classes): New
34         function.
35         (org-export-preprocess-string): Call
36         `org-export-remember-html-container-classes'.
38         * org.el (org-cycle): Mention level cycling in the docstring.
39         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
41         * org-remember.el (org-remember-apply-template): Do file insertion
42         first.
44 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
46         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
47         problem with mis-aligned graphs when showing habits.
49 2010-01-28  Mikael Fornius  <mfo@abc.se>
51         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
52         when assigning. Begin using numerical characters when all in name
53         is used up. This is to spare alphanumeric characters for better
54         match with other keywords.
56 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
58         * org-exp.el (org-export-preprocess-hook): Improve documentation.
60         * org-latex.el (org-export-latex-preprocess): More consistent
61         conversion and protection of the words LaTeX and TeX.
62         (org-export-latex-fontify-headline, org-export-latex-preprocess):
63         Allow angle brackets in commands, for beamer.
65 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
67         * org-clock.el (org-clock-in): Improve the look of the clock line
68         by formatting links.
70 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
72         * org-latex.el (org-export-latex-classes): Use AUTO as the place
73         holder string for the coding system.  And improve the
74         documentation.
75         (org-export-latex-fix-inputenc): Only modify the coding system if
76         it is given by the placeholder AUTO.
78 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
80         * org-clock.el (org-task-overrun-text): New option.
81         (org-task-overrun, org-clock-update-period): New variables.
82         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
83         overrun clock.
84         (org-clock-notify-once-if-expired): Check if clock is overrun.
86         * org-faces.el: New face `org-mode-line-clock-overrun'.
88 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
90         * org.el (org-narrow-to-subtree): Position the end of the narrowed
91         region before the line with the next heading, to prevent the user
92         from prepending text to the next headline.
94 2010-01-20  Stephen Eglen  <stephen@gnu.org>
96         * org-agenda.el (org-get-time-of-day): Use
97         org-agenda-time-leading-zero to allow leading zero (rather than
98         space) for times.
100 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
102         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
103         org-datetree.el is loaded.
105         * org-datetree.el: autoload `org-datetree-find-day-create'
107         * org-latex.el (org-export-latex-hyperref-format): New option.
108         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
110 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
112         * org-ctags.el (org-ctags-enable): Change order of functions.
113         (org-ctags-create-tags): Add wildcard to file name expansion.
115 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
117         * org.el (org-entry-properties): Fix some important bugs.
119 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
121         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
122         the table is not explicitly given.
124 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
126         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
127         as value.
128         (org-clock-out-if-current): Work with the new list value of
129         `org-clock-out-when-done'.
130         (org-clock-out, org-clock-out-if-current): Avoid circular logic
131         between clocking out and state changes.
133         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
135         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
136         accident protect a character that is before a backslash.
138 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
140         * org-agenda.el (org-diary-class): Use
141         `org-order-calendar-date-args'.
143         * org.el (org-order-calendar-date-args): New function.
145         * org-exp.el (org-export-target-internal-links): Check for
146         protectedness after the first bracket.
148         * org.el (org-entry-properties): Don't match wrong-case TODO
149         keywords.
151         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
152         Document that ARG is passed through to remove the date.
153         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
154         not read a date when the user has given a `C-u' prefix.
156 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
158         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
159         tags are hidden.
161 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
163         * org-latex.el (org-export-latex-fix-inputenc): New function.
164         (org-export-latex-inputenc-alist): New option.
166         * org-exp.el (org-export): New key SPC to publish enclosing
167         subtree.
169 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
171         * org-indent.el (org-indent-add-properties): Catch case when there
172         is no headline in the buffer.
174 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
176         * org-exp.el (org-html-entities): Add checkmark symbol.
178         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
179         verbatim code for ASCII export.
181         * org.el (org-update-statistics-cookies): Also see checkboxes in
182         ordered lists.
184 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
186         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
187         key.
189         * org-beamer.el (org-beamer-amend-header): Change the location
190         where `org-beamer-header-extra' is inserted.
192         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
193         just for computing this regexp.
195 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
197         * org-beamer.el (org-beamer-frame-default-options): New option.
198         (org-beamer-sectioning): Use default options if the user does not
199         have defined any.
200         (org-beamer-fix-toc): Put a frame around the table of contents.
202         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
203         sure case-folding works well when processing comment stuff.
205         * org-latex.el (org-export-latex-after-save-hook): New hook.
206         (org-export-as-latex): Run the new hook.
208 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
210         * org-beamer.el (org-beamer-environments-default): Add the note
211         environments.
212         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
213         lines and collect and combine the content.
214         (org-beamer-after-initial-vars): Check for note tags and make sure
215         they will be seen like a property.
217         * org.el (org-offer-links-in-entry): Fix bug when there is a
218         single link.
220         * org-exp.el (org-export): Make sure the mark is activated, also
221         when `transient-mark-mode' is off.
223         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
224         (org-agenda-search-view-search-words-only): Obsolete variable, is
225         now an alias for `org-agenda-search-view-always-boolean'.
226         (org-agenda-search-view-force-full-words): New option.
227         (org-search-view): Improve docstring, and implement a better logic
228         for Boolean and phrase searches.
229         (org-agenda-last-search-view-search-was-boolean): New variable.
230         (org-agenda-manipulate-query): Consider the type of the last
231         search when modifying the search string.
233 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
235         * org-latex.el (org-export-as-latex): Do the first letbind in the
236         right moment.
238         * org-agenda.el (org-get-entries-from-diary): Add the new face to
239         these entries.
241         * org-faces.el (org-agenda-diary): New face.
243         * org.el (org-make-link-regexps): Allow regexp-special characters
244         in link types.
245         (org-open-file): When in-emacs is `system', also force system
246         opening, like when the value was `(16)'.
247         (org-update-statistics-cookies): Handle entries without children.
249         * org-exp.el
250         (org-export-preprocess-before-normalizing-links-hook): New hook.
251         (org-export-preprocess-string): Run the new hook.
253         * org.el (org-offer-links-in-entry): Make RET open all links.
255         * org-html.el (org-export-as-html): Remove any left-over display
256         properties in the html file.
258         * org-wl.el (org-wl-store-link): Work-around for format bug with
259         text properties.
261         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
262         invisibility while adding the graphs.
264 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
266         * org-remember.el (org-select-remember-template): Use C letter to
267         customize remember templates.
269         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
270         Move cursor to next visible line.
272 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
274         * org-beamer.el (org-beamer-sectioning): Leave columns environment
275         by specifying 0 or 1 for column width.
276         (org-beamer-column-widths): Make 0 stand for 0.0.
278 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
280         * org-exp.el (org-export-mark-radio-links): Don't match inside
281         <<target>>.
283         * org.el (org-format-latex-header-extra): New variable.
284         (org-format-latex): Set org-format-latex-header-extra from
285         in-buffer stuff.
286         (org-format-latex): Add org-format-latex-header-extra to the
287         variables on which image creation depends.
288         (org-create-formula-image): Add the header stuff from in-buffer
289         settings.
290         (org-read-date-analyze): Base the analysis for future preference
291         on NOW, not on the default date.
293         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
294         for TODO keyword in inline tasks.
296         * org.el (org-log-note-headings): New headings for removing
297         deadline or scheduling date.
298         (org-deadline, org-schedule): Arrange for logging when removing a
299         date.
300         (org-add-log-note): Handle deadline and scheduling removal.
302 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
304         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
306 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
308         * org-agenda.el (org-diary-class): New function.
310 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
312         * org-latex.el (org-export-latex-preprocess): Do process the text
313         of a radio target.
315 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
317         * org.el (org-entry-properties): Add TIMESTAMP properties back
318         in.
320 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
322         * org.el (org-all-time-keywords): New variable.
323         (org-set-regexps-and-options): Set `org-all-time-keywords'.
324         (org-entry-blocked-p): New function.
325         (org-special-properties): Add BLOCKED as a new special property.
326         (org-entry-properties): New optional argument SPECIFIC, only parse
327         for this property when it is specified.
328         (org-entry-get): Pass a SPECIFIC argument to
329         `org-entry-properties'.
331         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
333 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
335         * org-latex.el (org-export-latex-tables): No forced line end if
336         there is no caption.
338 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
340         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
341         package.
343         * org-latex.el (org-export-latex-tables): Only add a caption when
344         macro in in longtable environments if one has been defined.
346         * org-html.el (org-export-as-html): Only take title from buffer if
347         not exporting body-only.
349         * org-latex.el (org-export-latex-preprocess): Better version of
350         the regular expression for protecting LaTeX macros.
351         (org-export-latex-preprocess): Start searching for macros to
352         protect from beginning of buffer.
354         * org-exp.el (org-export-target-internal-links): Check for
355         protectedness earlier in the string.
357         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
358         case sensitively.
360         * org-id.el (org-id-store-link): Match TODO keywords case
361         sensitively.
363         * org.el (org-heading-components, org-get-outline-path)
364         (org-display-outline-path): Match TODO keywords case sensitively.
366         * org-latex.el (org-export-as-latex): Ignore read-only
367         properties.
369         * org-exp.el (org-export-preprocess-string): Remove any
370         `read-only' properties.
372         * org-agenda.el (org-agenda-inactive-leader): New option.
373         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
374         (org-tags-view): Prompt for matcher if MATCH is an empty string.
375         (org-todo-list): Prompt for matcher if ARG is an empty string.
377 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
379         * org.el (org-open-link-functions): New hook.
380         (org-open-at-point): Run `org-open-link-functions'.
382 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
384         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
385         stamps as well.
387         * org.el (org-inhibit-startup-visibility-stuff): New variable.
388         (org-mode): Don't do startup visibility if inhibited.
389         (org-outline-overlay-data, org-set-outline-overlay-data): New
390         functions.
391         (org-save-outline-visibility): New macro.
392         (org-log-note-headings): Document that one should not change the
393         `state' note format.
395 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
397         * org.el (org-make-link-regexps): Capture link path into a group.
399 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
401         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
402         the options plist.
404 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
406         * org.el (org-startup-with-beamer-mode): New option.
407         (org-property-changed-functions)
408         (org-property-allowed-value-functions): New hooks.
409         (org-entry-put, org-property-get-allowed-values): Run the new
410         hooks.
411         (org-property-next-allowed-value): Run the new hooks.
413         * org-exp.el (org-export-select-backend-specific-text): Add the
414         special beamer tags.
416         * org-beamer.el
417         (org-export-preprocess-before-selecting-backend-code-hook): New
418         file.
420         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
421         (org-export-as-latex): Run
422         `org-export-latex-after-initial-vars-hook'.
423         (org-export-latex-format-toc-function)
424         (org-export-latex-make-header): Call
425         `org-export-latex-format-toc-function'.
427         * org.el (org-fill-template): Make template searches case sensitive.
429         * org-exp.el (org-export): Use "1" as a sign to export only the
430         subtree.
432         * org-colview-xemacs.el (org-columns-edit-value): Use
433         org-unrestricted property.
435         * org-colview.el (org-columns-edit-value):  Use
436         org-unrestricted property.
438         * org.el (org-compute-property-at-point): Set org-unrestricted
439         text property if the list contains ":ETC".
440         (org-insert-property-drawer):  Use
441         org-unrestricted property.
443         * org-exp.el
444         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
445         (org-export-preprocess-string): Run
446         `org-export-preprocess-before-selecting-backend-code-hook'.
448         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
450         * org-latex.el (org-export-region-as-latex): Run
451         `org-export-first-hook'.
453         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
455         * org-docbook.el (org-export-as-docbook): Run
456         `org-export-first-hook'.
458         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
460         * org-exp.el (org-export-first-hook): New hook.
462 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
464         * org-list.el (org-previous-item): Exit at the beginning of the
465         buffer.
467         * org-id.el (org-id-locations-save): Only write the id locations
468         if any are defined.
470         * org-archive.el (org-archive-all-done): Make this work in a file
471         with org-odd-levels-only set.
473         * org.el (org-get-refile-targets): Catch the case when a buffer
474         has no file.
476         * org-latex.el (org-export-as-latex): Cleanup forced line ends
477         where they are not needed.
478         (org-export-latex-subcontent): Remove unnecessary newlines.
480 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
482         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
483         (org-export-latex-fontify): Fix regexp bug that takes special
484         care of protecting the right boundary characters in emphasis
485         matches.
486         (org-export-latex-preprocess): Allow multiple arguments to latex
487         macros.
489         * org.el (org-make-link-regexps): Use John Gruber's regexp for
490         urls.
492         * org-macs.el (org-re): Interpret :punct: in regexps.
494         * org-exp.el (org-export-replace-src-segments-and-examples): Also
495         take the final newline after the END line.
497         * org.el (org-clean-visibility-after-subtree-move): Only fix
498         entries that are not entirely invisible already.
499         (org-insert-link): Respect org-link-file-path-type for
500         "docview:" links in addition to "file:" links.
502 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
504         * org-exp.el (org-export-format-source-code-or-example): Avoid
505         additional extra white lines in LaTeX.
507         * org-list.el (org-list-parse-list): Leave empty lines after the
508         list, don't consider them as part of the list.
510         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
511         searches.
513         * org-clock.el (org-clock-select-task): Convert integer to
514         character for XEmacs.
516 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
518         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
519         compatible.
521 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
523         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
524         variable.
525         (org-set-tags): Use it.
527 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
529         * org-list.el (org-empty-line-terminates-plain-lists): Update
530         docstring.
532         * org.el (org-format-latex): Fix link creation for processed latex
533         snippets.
535 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
537         * org-footnote.el (org-footnote-normalize): Protect replacement
538         text.
540         * org.el (org-inside-latex-macro-p): Save match data.
542 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
544         * org-docview.el: New file.
546 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
548         * org-latex.el (org-export-latex-class-options): New variable.
549         (org-export-latex-set-initial-vars): Use the class options.
551         * org.el (org-forward-same-level): Stop at headings that start
552         with an invisible character.
553         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
555 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
557         * org-footnote.el (org-footnote-normalize): Don't take optional
558         arguments in LaTeX macros as footnotes.
560         * org.el (org-inside-latex-macro-p): New function.
562         * org-latex.el (org-latex-to-pdf-process): Change customization
563         group to `org-export-pdf'.
565         * org-agenda.el (org-agenda-get-blocks): Look at time string also
566         on days after the first one.
568         * org.el (org-insert-heading): Also check for item before assuming
569         before-first-heading condition.
571         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
572         (org-export-pdf-logfiles): New option.
573         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
574         (org-export-pdf-logfiles): Fix customization type.
576         * org.el (org-insert-link): Improve error message when there is no
577         default link to select with RET.
579         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
580         parameter list.
582 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
584         * org-latex.el (org-export-latex-parse-global)
585         (org-export-latex-parse-content)
586         (org-export-latex-parse-subcontent): Use
587         `org-re-search-forward-unprotected'.
588         (org-export-as-pdf): Remove log files produced by XeTeX.
590         * org-macs.el (org-re-search-forward-unprotected): New function.
592 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
594         * org-colview.el (org-agenda-colview-summarize): Sort out some
595         confusion between properties and titles, which resulted in
596         agenda summaries not working if a title was set for a column.
598 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
600         * org-mobile.el (org-mobile-agendas): New option.
601         (org-mobile-sumo-agenda-command): Select the right agendas.
603         * org-latex.el (org-export-latex-format-image): Preserve the
604         original-indentation property.
606 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
608         * org-clock.el (org-clock-insert-selection-line): Catch error when
609         an old tasks no longer exists.
611         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
612         (org-export-as-pdf): Don't remove the old PDF file before making
613         the new one.
615         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
616         (org-mouse-context-menu): Use `org-looking-back'.
618         * org.el (org-cycle-level): Use `org-looking-back'.
620         * org-list.el (org-cycle-item-indentation): Use
621         `org-looking-back'.
623         * org-compat.el (org-looking-back): New function.
625         * org.el (org-insert-heading): Catch before-first-headline when
626         inserting a headline.
628 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
630         * org-latex.el (org-export-latex-format-image): Indent figure
631         environment, so that it does not interrupt plain list.
633         * org.el (org-open-at-point): Allow long link descriptions.
635 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
637         * org-html.el (org-export-as-html): Remove empty lines at the
638         beginning of the exported text.
640 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
642         * org-protocol.el (org-protocol-remember): Cater for empty title,
643         region, link.
645         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
646         agenda after adding new entry.
647         (org-agenda-get-represented-tags): New function.
648         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
649         to get a list of tags in the agenda.
651         * org-datetree.el (org-datetree-find-day-create): Fix regular
652         expression.
654         * org.el (org-display-outline-path): Use a format specifier for
655         message, to avoid problems with heading containing `%'.
657         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
658         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
659         (org-agenda-fix-displayed-tags): New function.
660         (org-agenda-do-context-action): Just call
661         `org-display-outline-path', without piping the result through
662         `message'.
664         * org-latex.el (org-export-latex-preprocess): Protect secondary
665         footnote references.
667         * org-indent.el (org-indent-initialize): Avoid empty strings as
668         line prefixes.
670         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
671         hat checking for the mark does not throw an error.
672         (org-agenda-diary-entry-in-org-file): Catch the case that there is
673         not `day' text property in the cursor line.
675         * org.el (org-sort-entries-or-items): Make sure that the final
676         entry has a newline before doing the sorting.
678         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
679         property at the beginning of the line.
681         * org.el (org-make-link-string): Don't allow a description with
682         only white space.
684 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
686         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
687         (org-agenda-insert-diary-as-top-level): New function.
688         (org-agenda-add-entry-to-org-agenda-diary-file): Call
689         `org-agenda-insert-diary-as-top-level'.
691         * org.el (org-occur-in-agenda-files): Make sure none of the
692         buffers is narrowed.
693         (org-activate-plain-links): Add the face property here.
694         (org-set-font-lock-defaults): Do not add the face to plain links,
695         the activator function does this.
697         * org-habit.el (org-is-habit-p): Add doc string.
699 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
701         * org-archive.el (org-archive-subtree-default-with-confirmation):
702         Autoload.
704         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
705         after match optional (happens at the end of a line...).
707         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
708         for special blocks.
710         * org-faces.el (org-copy-face): Set lisp indentation.
711         (org-quote, org-verse): New faces.
713         * org-agenda.el (org-agenda-remove-date): Remove variable.
715 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
717         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
719 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
721         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
722         hash keys to cache and re-use images generated by the
723         org-exp-blocks interface to ditaa and dot.
725 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
727         * org-html.el (org-export-as-html): Move the home/up link into
728         the content div.
730         * org.el (org-export-latex-packages-alist): Option definition
731         moved here from org-latex.el.
733 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
735         * org.el (org-format-latex): Latex images are now saved to files
736         named by the sha1 hash of the latex source text avoiding
737         regeneration of identical images.
739 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
741         * org-html.el (org-export-html-home/up-format): Add an ID to the
742         up/home div.
744 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
746         * org-wl.el (org-wl-store-link): Handle the case that
747         `wl-use-petname' is set.
749         * org.el (org-set-effort): Improve prompt.
750         (org-get-outline-path): Widen to get full path.
751         (org-compact-display-after-subtree-move): Function removed.
753         * org-latex.el (org-export-as-latex): Add the :drawers property.
755 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
757         * org.el (org-speed-commands-user): Allow documentation headlines.
758         (org-speed-commands-default): Organize the value of this constant
759         with descriptive headlines.
760         (org-print-speed-command): Output the headlines.
762 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
764         * org-agenda.el (org-agenda-show-outline-path): New option.
765         (org-agenda-do-context-action): New function.
766         (org-agenda-next-line, org-agenda-previous-line): Use
767         `org-agenda-do-context-action'.
769         * org.el (org-use-speed-commands): Allow function value.
770         (org-speed-commands-default): Make headline motion safe, so that
771         these commands always end on a headline.
772         (org-speed-commands-default): New key `v' for `org-agenda'.
773         (org-speed-move-safe): New function.
774         (org-self-insert-command): Use the function value of
775         `org-use-speed-commands'.
776         (org-get-outline-path): Improve docstring.
777         (org-format-outline-path): New function.
778         (org-display-outline-path): New function.
780 2009-11-12  John Wiegley  <jwiegley@gmail.com>
782         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
783         a string, use that to find the LOGBOOK drawer.
785 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
787         * org.el (org-clone-subtree-with-time-shift): Make it work at the
788         end of the buffer.
790         * org-mobile.el (org-mobile-write-checksums): Specify coding
791         system.
792         (org-mobile-timestamp-buffer): Keep local variable/mode line at
793         beginning of buffer.
795         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
797         * org.el (org-block-todo-from-children-or-siblings-or-parent)
798         (org-block-todo-from-checkboxes): Do not block changes to a nil
799         TODO state.
801 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
803         * org-habit.el (org-habit-parse-todo): Indicate which habit is
804         wrongly set up in the error messages.
806         * org-colview.el (org-columns-display-here): Don't try to
807         calculate values if the underlying property is not set.
808         (org-columns-string-to-number): Convert age strings back into
809         fractional days.
810         (org-agenda-colview-summarize): Handle extended summary types
811         properly.
813         * org-colview-xemacs.el (org-columns-display-here): Don't try to
814         calculate values if the underlying property is not set.
815         (org-columns-string-to-number): Convert age strings back into
816         fractional days.
817         (org-agenda-colview-summarize): Handle extended summary types
818         properly.
820 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
822         * org-exp.el (org-export-format-drawer-function): New variable.
823         (org-export-format-drawer): New function.
824         (org-export-preprocess-string): Pass the backend as a parameter to
825         `org-export-remove-or-extract-drawers'.
826         (org-export-remove-or-extract-drawers): New parameter BACKEND.
828         * org-protocol.el (org-protocol-char-to-string): New defsubst.
830 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
832         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
833         message when no block is selected.
835         * org-latex.el (org-export-latex-links): Check for protectedness
836         in the last matched character, not after the match.
838         * org-datetree.el (org-datetree-find-date-create): Respect
839         restriction when KEEP-RESTRICTION is set.
840         (org-datetree-file-entry-under): New function.
841         (org-datetree-cleanup): New command.
843 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
845         * org-src.el (org-edit-src-code): New optional argument context
846         allows calling functions to avoid altering the saved window
847         configuration.
848         (org-edit-src-exit): Do not restore window configuration when this
849         function is used in the context of saving the edit buffer.
851 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
853         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
854         instances to switching to with-current-buffer, because these seem
855         to cause problems - no idea why.
857         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
858         Require diary-lib for (diary-date-display-form).
860         * org.el (org-log-reschedule, org-log-redeadline): New options.
861         (org-log-note-headings): Add templates for rescheduling and
862         deadline changing.
863         (org-startup-options): Add in-buffer settings for logging changing
864         schedule and deadline time stamps.
865         (org-deadline, org-schedule): Check for existing date and arrange
866         for logging if the user requests it.
867         (org-add-log-note): Prepare proper note buffers for rescheduling
868         and deadline changes.
870 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
872         * org-agenda.el (org-agenda-diary-entry-in-org-file)
873         (org-agenda-add-entry-to-org-agenda-diary-file)
874         (org-agenda-insert-diary-make-new-entry): New functions.
875         (org-agenda-diary-entry): Call
876         `org-agenda-diary-entry-in-org-file' when appropriate.
878         * org.el (org-calendar-insert-diary-entry-key): New option.
879         (org-agenda-diary-file): New option.
880         ("calendar"): Install our insertion function in the calendar.
882         * org-remember.el (org-datetree): Require.
883         (org-remember-templates): Add new positioning option.
884         (org-remember-reference-date): New variable.
885         (org-remember-apply-template): Store the reference date in a local
886         variable.
887         (org-remember-handler): Implement date tree positioning of entries.
889         * org-datetree.el: New file.
891         * org-latex.el (org-export-latex-preprocess): Protect targets in
892         verbatim emphasis.
894         * org-html.el (org-export-as-html): Protect targets in verbatim
895         emphasis.
897         * org-docbook.el (org-export-as-docbook): Protect targets in
898         verbatim emphasis.
900 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
902         * org.el (org-link-display-format): Should be literal replacement.
904 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
906         * org-clock.el (org-show-notification): Handle messages that
907         contain a percent character.
909         * org-remember.el (org-remember-apply-template): Turn of partial
910         completion.
912         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
913         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
915         * org.el (org-indent-mode): Define variable already in org.el.
916         (org-unfontify-region): Remove line-prefix and wrap-prefix
917         properties only if org-indent-mode is active.
919 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
921         * org-icalendar.el (org-print-icalendar-entries): Save match data
922         around call to verify function.
923         (org-print-icalendar-entries): Add a call to the verification
924         function.
926         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
927         save-restrivtion' form.
929 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
931         * org-exp.el (org-export-format-source-code-or-example): restrict
932         scope of preserve-indentp to the let binding.
933         (org-src): require org-src, since org-src-preserve-indentation is used.
935 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
937         * org-timer.el (org-timer-set-timer): Set variables
938         org-timer-timer[123] correctly.
941         * org-mobile.el (org-mobile-files-alist): Make it work when
942         `agenda-archives' is included in
943         `org-agenda-text-search-extra-files'.
944         (org-mobile-push): Restore agenda after mobile push.
946 2009-11-05  John Wiegley  <jwiegley@gmail.com>
948         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
949         way the amount of idle time is presented in the minibuffer.
951 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
953         * org-icalendar.el (org-print-icalendar-entries): Use
954         org-icalendar-verify-function only if non-nil.
956         * org.el (org-refile): Refile to clock only if the prefix arg is
957         2.
958         (org-sparse-tree): Fix docstring to be in line with prompt.
959         (org-update-parent-todo-statistics): Call
960         `org-after-todo-statistics-hook' on each level.
962 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
964         * org-remember.el (org-remember-apply-template): Make sure the
965         buffer exists.
967 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
969         * org.el (org-tab-ind-state): New variable.
970         (org-cycle-level): New function.
971         (org-cycle-level-after-item/entry-creation): New option.
972         (org-flag-subtree): New function.
973         (org-hide-archived-subtrees): Call `org-flag-subtree'.
974         (org-set-effort): Indexed access.
976         * org-list.el (org-cycle-item-indentation): New function.
978         * org.el (org-refile): Make prefix argument 2 refile to current
979         clock.
980         (org-priority): Interpret action `remove' as call to remove the
981         priority cookie.
983         * org-remember.el (org-remember-apply-template): Don't depend on
984         buffer name being like file name.
986 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
988         * org-clock.el (org-clock-play-sound): Expand file in
989         org-clock-sound, to allow ~ for home.
991         * org-remember.el (org-remember-handler): Set
992         text-before-node-creation even if this already looks like a node,
993         because the string might be needed on non-org-mode target files.
995         * org-agenda.el (org-agenda-open-link): Make this work in agenda
996         clocktables.
997         (org-agenda-switch-to): Follow a link at point if
998         org-return-follows-link' is set and there is nothing else to do in
999         this line.
1001 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1003         * org-colview-xemacs.el: Add in changes from org-colview.el
1005 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1007         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1008         strings.
1010 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1012         * org-colview.el (org-columns-new): Make this work with the new
1013         operators.
1014         (org-columns-store-format): Make this work with the new operators.
1016 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1018         * org-src.el (org-src-preserve-indentation): Document that this
1019         variable is also used during export.
1021         * org-exp.el (org-export-format-source-code-or-example): Preserve
1022         indentation if a block has a -i option, or if
1023         `org-src-preserve-indentation' is set.
1025         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1026         indentation if a block has a -i option, or if
1027         `org-src-preserve-indentation' is set.
1029 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1031         * org.el (org-mode-map): Define the new archiving keys.
1032         (org-speed-commands-default): Define an archiving key in the speed
1033         command map.
1034         (org-org-menu): Improve the menu structure concerning archiving.
1036         * org-archive.el (org-archive-subtree-default-with-confirmation):
1037         New command.
1039         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1040         (org-agenda-menu): Add the new archiving commands to the menu.
1041         (org-agenda-archive-default)
1042         (org-agenda-archive-default-with-confirmation): New commands.
1043         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1044         call `org-agenda-archive-with'.
1045         (org-agenda-archive-with): New function.
1047         * org-table.el (org-table-convert-region): Inert spaces around "|"
1048         to avoid line beginnings like "|-1" which will be mistaken as
1049         hlines.
1051 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1053         * org.el (org-offer-links-in-entry): Return nil if there are no
1054         links, t if a link has been selected.
1055         (org-open-at-point): Open attachment directory when called in the
1056         headline and there are no links in the entry body.
1057         (org-speed-commands-default): Add "o" for open-at-point as a speed
1058         command.
1060         * org-attach.el (org-attach-reveal): Optional prefix arg
1061         IF-EXISTS, which avoids creating the attachment directory if it
1062         does not yet exist.
1064         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1065         MATCH.
1067 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1069         * org.el ("abbrev"): Work with abbrev tables only after they have
1070         been loaded.
1072         * org-list.el (org-list-send-list): Fix bug related to match
1073         data.
1075         * org-latex.el (org-export-latex-fontify): Apply verbatim
1076         emphasis.
1077         (org-export-latex-make-header): Insert \obeylines if line breaks
1078         should be preserved.
1080         * org-exp.el (org-export-protect-verbatim): Add an
1081         `org-verbatim-emph' property to such text.
1083 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1085         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1086         (org-print-icalendar-entries): Skip entries where the timestamp is
1087         not a deadline and not scheduled, if the user requests that.
1089         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1090         before an opening quote.
1092         * org-archive.el (org-archive-subtree): Keep archive after
1093         archiving something.
1095         * org-id.el (org-id-update-id-locations): Add archive files if
1096         that is required by `org-id-extra-files'.
1098 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1100         * org-src.el (org-src-window-setup): New option.
1101         (org-src-switch-to-buffer): New function.
1102         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1103         restore window configuration.
1104         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1105         Call `org-src-switch-to-buffer'.
1107         * org.el (org-default-properties): Add STYLE property.
1108         (org-files-list): Use the function call to get the files.
1109         (org-additional-option-like-keywords): Add SETUPFILE to completion
1110         list.
1112 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1114         * org-table.el (org-table-convert-region): Correctly interpret
1115         quoting in csv import.
1117         * org.el (org-icompleting-read): Make iswitchb completion work
1118         with lists and tables.
1120         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1121         while pushing the mobile agenda.
1123 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1125         * org-clock.el
1126         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1127         and `when-no-clock-is-running'.
1128         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1129         whether or not to resolve Org buffers on clock in.
1131 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1133         * org-colview.el (org-format-time-period): Function to format
1134         times in fractional days for display.
1135         (org-columns-display-here): Add support for showing a calculated
1136         value in place of the property.
1137         (org-columns): Set `org-columns-time' to the current time so time
1138         difference calculations will work.
1139         (org-columns-time): Use to store the current time when column view
1140         is displayed, so all time differences will use the same reference
1141         point.
1142         (org-columns-compile-map): There is now an extra position in each
1143         entry specifying the function to use to calculate the displayed
1144         value for the non-calculated properties in the column,
1145         (org-columns-compute-all): Set `org-columns-time' to the current
1146         time so time difference calculations will work.
1147         (org-columns-compute): Handle column operators where the values
1148         used are calculated from the underlying property.
1149         (org-columns-number-to-string): Handle the 'age' column format
1150         (org-columns-string-to-number): Correct the function name (was
1151         org-column...). Add support for the 'age' column format.
1152         (org-columns-compile-format): Support the additional parameter in
1153         org-columns-compile-map.
1155 2009-10-26  Bastien Guerry  <bzg@altern.org>
1157         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1158         variable.
1160 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1162         * org-clock.el (org-clock-has-been-used): New variable.
1163         (org-clock-in): Set `org-clock-has-been-used'.
1164         (org-clock-save): Save only if clock data has been used or created
1165         during this session.
1167 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1169         * org-clock.el (org-clock-persist): New value, to store only the
1170         clock history.
1171         (org-clock-save): Don't save the clock if only the history should
1172         be stored.
1173         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1174         when restoring a saved clock.
1176 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1178         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1179         `org-time-clock-use-fractional'.
1181         * org.el (org-time-clocksum-use-fractional)
1182         (org-time-clocksum-fractional-format): Two new customizable
1183         variables which allow the user to select fractional times (1.25
1184         instead of 1:25) in the `org-clock-display' report.
1186 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1188         * org-habit.el (org-habit-build-graph): None of the arguments
1189         should be optional.
1190         (org-habit-parse-todo, org-habit-deadline)
1191         (org-habit-get-priority, org-habit-get-faces)
1192         (org-habit-build-graph): Further simplifications by storing all
1193         past, scheduled and deadline dates as a number of days past the
1194         epoch, and not as times.
1196         * org-habit.el (org-habit-warning-face)
1197         (org-habit-warning-future-face): Removed because these are no
1198         longer used.
1199         (org-habit-deadline, org-habit-deadline-repeat): Now always
1200         returns a date; computed if there was a scheduled repeater but no
1201         deadline repeater.
1202         (org-habit-get-priority): Further improvements to the priority
1203         algorithm.  In particular, items past due should always appear
1204         before items due or not yet due.
1205         (org-habit-get-faces): Greatly simplified the logic, now that
1206         `org-habit-deadline' always returns a valid time.
1208 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1210         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1211         New option.
1213         * org.el (org-tag-alist): Fix customization type.
1215 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1217         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1218         Make sure the regexp search can fail without throwing an error.
1219         (org-mobile-apply): Save the inbox buffer after removing
1220         successfully applied changes.
1222 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1224         * org-habit.el (org-habit-build-graph): Fix to the graph building
1225         when last DONE date is earlier than `org-habit-preceding-days'.
1227         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1228         time is reported after the user comes back (but before they
1229         resolve time).
1231         * org.el (org-get-repeat): Change so that this function can be
1232         called with either `org-scheduled-string' or
1233         `org-deadline-string'.
1235         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1236         to find the scheduled date.
1238         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1239         `org-clock-disable-clock-resolution', since negatives don't sound
1240         good in customization variables.
1241         (org-clock-in): Don't use the auto-resolution logic if the user is
1242         clocking into a different task while an active clock is running.
1243         This then allows the default behavior of clocking out of the open
1244         task and then into the new task.
1246         * org-habit.el (org-habit-parse-todo): Generate an error if a
1247         habit has a scheduled repeat period < 1.
1248         (org-habit-get-faces): Fixes to the way that colors are computed.
1249         (org-habit-build-graph): The graph wasn't displaying beyond any
1250         day that had two completions in it.
1252         * org.el (org-modules): Made this variable more consistent, since
1253         it was referring to Org, OrgMode and Org-mode, whereas the docs
1254         for the variable always refer to Org-mode.
1256 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1258         * org.el (org-repeat-re): The changed org-repeat-re no longer
1259         matched simple +2d type repeaters. Fix it so it does.
1261 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1263         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1264         macro in the VERSE environment.
1266 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1268         * org-habit.el (org-habit-get-priority): A new function that
1269         determines the relative priority of a habit, based on how long
1270         past its scheduled date it is, and how near the deadline is.
1272         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1273         using `org-habit-get-priority'.
1275         * org-habit.el (org-habit-build-graph): Start displaying colors
1276         from the first scheduled date, if that date is earlier than the
1277         first completion date.
1279         * org-habit.el: Changed all "color" variables to faces, and made
1280         them appropriate for light and dark backgrounds.
1282         * org-habit.el (org-habit-duration-to-days): Made this function
1283         more general.
1284         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1286         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1287         habits, since they don't use DEADLINE anymore.
1289         * org.el (org-repeat-re, org-display-custom-time)
1290         (org-timestamp-change): Extended to support the new ".+N/N"
1291         syntax, used for habits.
1293         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1294         variable reference.
1296         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1297         modeline when habits are being displayed (if that module is being
1298         loaded).
1300 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1302         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1303         idle time using the xscreensaver extension.
1304         (org-user-idle-seconds): Use X11 idle time if available.
1306 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1308         * org-agenda.el (org-agenda-next-line): New command.
1309         (org-agenda-previous-line): New commands.
1310         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1311         commands.
1312         (org-agenda-follow-mode): Do the follow immediately if the mode is
1313         turned on here.
1314         (previous-line, next-line): Replace keys with the corresponding
1315         org functions.
1316         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1317         command.
1319         * org.el (org-icompleting-read): Turn off partial completion mode
1320         for the duration of this completion round.
1322         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1323         macros in author lines and similar stuff.
1325         * org.el (org-file-tags): Fix docstring.
1326         (org-get-buffer-tags): Add the #+FILETAGS tags.
1327         ("ecb"): Maks ecb show context after jumping into an Org file.
1329 2009-10-20  John Wiegley  <johnw@newartisans.com>
1331         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1332         graphs after everything else in the buffer has been setup.
1334 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1336         * org-mobile.el (org-mobile-apply): Count success and failure.
1338         * org.el (org-indent-line-function): Fix regexp replace problem.
1340 2009-10-19  John Wiegley  <johnw@newartisans.com>
1342         * org-clock.el (org-clock-disable-clock-resolution): New
1343         customization variable that disable automatic clock resolution on
1344         clock in.
1345         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1346         not automatically resolve anything.  This is does not affect
1347         idle-time resolution, however, if `org-clock-idle-time' is set.
1349 2009-10-19  John Wiegley  <johnw@newartisans.com>
1351         * org-habit.el: New file, which implements code to build a "habit
1352         consistency graph".
1354         * org-agenda.el (org-agenda-get-deadlines)
1355         (org-agenda-get-scheduled): Display consistency graphs when
1356         outputting habits into the agenda.  The graphs are always relative
1357         to the current time.
1358         (org-format-agenda-item): Added new parameter `habitp', which
1359         indicates whether we are formatting a habit or not.  Do not
1360         display "extra" leading information if habitp is true.
1362         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1363         leaders for repeat strings.
1364         (org-get-repeat): Now takes a string parameter `tagline', so the
1365         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1367 2009-10-19  John Wiegley  <johnw@newartisans.com>
1369         * org-agenda.el (org-agenda-auto-exclude-function): New
1370         customization variable for allowing the user to create an "auto
1371         exclusion" filter for doing context-aware auto tag filtering.
1372         (org-agenda-filter-by-tag): Changes to support the use of
1373         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1375 2009-10-18  John Wiegley  <johnw@newartisans.com>
1377         * org.el (org-files-list): Don't attempt to return a file name for
1378         Org buffers which have no associated file.
1380         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1382 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1384         * org-mobile.el (org-mobile-locate-entry): Interpret files
1385         relative to org-directory.
1386         (org-mobile-inbox-for-pull): Document the best location for this
1387         file.
1388         (org-mobile-check-setup): Verify `org-directory'.
1389         (org-mobile-create-index-file): Sort the files to be listed in
1390         index.org.
1392 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1394         * org.el (org-fast-tag-selection): Add a way to display a
1395         description for a tag group. This is done by adding a string to
1396         either the startgroup or endgroup cell.
1398 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1400         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1401         (org-emacs-idle-seconds): Use `org-float-time' instead of
1402         `time-to-seconds'
1404 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1406         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1407         type.
1409         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1410         the value of ARG when doing local cycling.
1412 2009-10-17  John Wiegley  <johnw@newartisans.com>
1414         * org-clock.el (org-clock-resolve-clock): If keeping or
1415         subtracting time results in a clock out at a time in the past, and
1416         if the resolution occurred due to idleness or invoking `M-x
1417         org-resolve-clocks', remember that past moment in time.  On the
1418         next clock in, the user will be prompted to see if they want to
1419         back-date their new clock to then.
1420         (org-clock-resolve): Do not jump the user to the location of a
1421         dangling clock if the resolution is occuring due to an idle
1422         timeout.  In that case there is typically only one dangling clock,
1423         the active one, and there is no value gained by shuffling their
1424         windows around to show it to them.  Being prompted to resolve an
1425         idle clock should be as inobtrusive as possible.
1426         (org-resolve-clocks-if-idle): New function that resolves only the
1427         currently active clock if the user has exceeded the time returned
1428         by `org-user-idle-seconds', based on the value of
1429         `org-clock-idle-time'.
1430         (org-clock-in): If, after resolving clocks,
1431         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1433         * org-clock.el (org-clock-resolve-clock): New function that
1434         resolves a clock to a specific time, closing or resuming as need
1435         be, and possibly even starting a new clock.
1436         (org-clock-resolve): New function used by `org-resolve-clocks'
1437         that sets up for the call to `org-clock-resolve-clock'.  It
1438         determines the time to resolve to based on a single-character
1439         selection from the user to either keep time, subtract away time or
1440         cancel the clock.
1441         (org-resolve-clocks): New user command which resolves dangling
1442         clocks -- that is, open but not active -- anywhere in the file
1443         list returned by `org-files-list'.
1444         (org-clock-in): Automatically resolve dangling clocks whenever a
1445         user clocks in.
1446         (org-clock-cancel): If the user cancels the solely clock in a
1447         LOGBOOK, remove the empty drawer.
1449         * org-clock.el (org-clock-idle-time): New user customizable option
1450         for detecting whether the user has left a clock idle.  Note: it is
1451         only used in this commit to test whether it's worthwhile to check
1452         OS X to get the Mac user's current idle time.  If the Emacs idle
1453         time is less than the value, the user hasn't been away long enough
1454         to be worth checking (a more expensive test than just getting
1455         Emacs idle time).
1456         (org-user-idle-seconds, org-mac-idle-seconds)
1457         (org-emacs-idle-seconds): This three functions, in conjunction
1458         with the user customization variable `org-clock-idle-time', return
1459         the number of seconds (as a floating point) that the user has been
1460         away from their Emacs (or, if running on OS X, their computer).
1462         * org-clock.el (org-find-open-clocks): New function that returns a
1463         list of all open clocks in the given FILE.  Note that each clock
1464         it returns is a cons cell of the format (MARKER . START-TIME).
1465         This "clock" value is used by several of the new clock module
1466         utility functions.
1467         (org-is-active-clock): New inline function which tests whether the
1468         given clock value is the same as the currently active clock.
1469         Returns non-nil if this is the case.
1470         (org-with-clock-position): New macro that evaluates FORMS with
1471         point in the buffer and at the position of the given clock.
1472         Changes to the current clock are global.
1473         (org-with-clock): New macro that evaluates FORMS with point in the
1474         buffer and at the position of the given clock.  However, changes
1475         to the current clock are local and have no effect on the user's
1476         active clock.  This allows, for example, far any clock to be
1477         cancelled without cancelling the active clock.
1478         (org-clock-clock-in): New inline function that switches the active
1479         clock to the given clock.  If either the argument RESUME, or the
1480         global `org-clock-in-resume', are non-nil, it will resume a clock
1481         that was previously left open.
1482         (org-clock-clock-out): New inline function that clocks out the
1483         given clock value without affecting the currently active clock.
1484         (org-clock-clock-cancel): New inline function that cancels the
1485         given clock value without affecting the currently active clock.
1487         * org-clock.el (org-clock-in): Before creating
1488         `org-clock-mode-line-timer', check to make sure an older timer is
1489         not currently running.
1490         (org-clock-out): Accept new third parameter `at-time', which
1491         permits a clock to be clocked out at a specific time.  Note that
1492         no attempt is made to verify that the clock out time is later than
1493         the clock in time.
1495         * org.el (org-files-list): New utility function for returning a
1496         list of all open org-mode buffers, plus all files used to build
1497         the agenda buffer.  Note that not all the files will necessarily
1498         be visited by a buffer at time of call.
1499         (org-entry-beginning-position): Like the function
1500         `line-beginning-position', this inline function returns the
1501         beginning position of the current heading/entry.
1502         (org-entry-end-position): Like the function `line-end-position',
1503         this inline function returns the end position of the current
1504         heading/entry.
1506 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1508         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1509         a header line.
1511 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1513         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1515 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1517         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1518         entries that have no tags.
1519         (org-agenda-search-view): New customize group.
1520         (org-agenda-search-view-search-words-only): New option.
1521         (org-search-view): Implement substring search.
1523 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1525         * org.el (org-outline-level): Add doc string.
1527 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1529         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1530         variable.
1531         (org-inlinetask-export-handler): Only export inline task if the
1532         user option calls for it.
1534 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1536         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1537         END if present.
1539 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1541         * org-latex.el (org-export-latex-tables): Don't format in
1542         protected regions.
1544 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1546         * org-src.el (org-edit-src-code)
1547         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1548         macro editing.
1550         * org-agenda.el (org-prefix-category-max-length): New variable.
1551         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1552         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1554 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1556         * org-mobile.el (org-mobile-create-index-file): Improve the
1557         listing of tags and todo keywords.
1559         * org-latex.el (org-export-latex-format-image): New function.
1560         (org-export-latex-links): Use `org-export-latex-format-image'.
1562 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1564         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1565         (org-inlinetask-remove-terminator): New functions.
1566         (org-inlinetask-export-handler): Terminate the description list.
1568         * org-exp.el (org-export-select-backend-specific-text): Remove the
1569         region markers.
1571         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1572         tasks without content.
1574         * org-clock.el: Make sure the clock-in target position does not
1575         move to a different node by widening the buffer.
1577         * org-html.el (org-export-html-format-image): Wrap image into
1578         figure div only when there is a caption.
1580         * org-archive.el (org-archive-mark-done): Change default value to
1581         nil.
1583 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1585         * org.el (org-context): Call `bobp', not `eobp'.
1587         * org-clock.el (org-clock-cancel): Remove quotes from marker
1588         variables.
1590         * org.el (org-read-date-prefer-future): New allowed value `time'.
1591         (org-read-date-analyze): Shift day to tomorrow depending on time
1592         entered and value of `org-read-date-prefer-future'.
1594 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1596         * org.el (org-set-tags-to): New command.
1598         * org-mobile.el (org-mobile-action-alist): Add more options and
1599         update the docstring.
1600         (org-mobile-apply-flags): Parse for and use the data.
1602         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1603         the plist.
1605         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1606         keyword.
1608         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1610 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1612         * org-inlinetask.el (org-inlinetask-export): Option removed.
1613         (org-inlinetask-export-handler): Better export.
1615         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1616         (org-export-as-xoxo): Run the new hook.
1618         * org-html.el (org-export-html-final-hook): New hook.
1619         (org-export-as-html): Run the new hook.
1621         * org-docbook.el (org-export-docbook-final-hook): New hook.
1622         (org-export-as-docbook): Run the new hook.
1624         * org-ascii.el (org-export-ascii-final-hook): New hook.
1625         (org-export-as-ascii): Run the new hook.
1627         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1628         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1630         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1631         space character as the character before the ^/_.
1632         (org-export-latex-final-hook): New hook.
1633         (org-export-as-latex): Run `org-export-latex-final-hook'.
1635 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1637         * org-macs.el (org-if-unprotected-at): Fix docstring.
1639         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1640         text in the prefix (if category is a link).
1642         * org-latex.el (org-export-latex-preprocess): Deal properly with
1643         empty lines in verse environments.
1645         * org.el (org-format-latex-header): Inline fullpage.sty.
1647         * org-footnote.el (org-footnote-create-definition): Reveal context
1648         to add a new footnote definition.
1650         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1651         the index file.
1652         (org-mobile-files): New option.
1653         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1654         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1655         functions.
1656         (org-mobile-push): Start by creating the files lists.
1657         (org-mobile-copy-agenda-files): Move killing the buffer to after
1658         the save-excursion has exited.
1659         (org-mobile-write-checksums): Write checksums also for files in
1660         sub-directories.
1662         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1663         org-table-recalculate when cursor is in TBLFM line.
1665         * org-list.el (org-renumber-ordered-list): Fix cursor position
1666         when bullet length has changed.
1668 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1670         * org.el (org-format-latex): Mention `org-format-latex-options' in
1671         the docstring.
1673 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1675         * org.el (org-agenda-get): New function.
1677         * org-agenda.el (org-agenda-post-command-hook): No longer move
1678         point away from end of line.
1679         (org-agenda-add-entry-text, org-agenda-collect-markers)
1680         (org-finalize-agenda, org-agenda-mark-clocking-task)
1681         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1682         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1683         (org-agenda-compare-effort, org-agenda-filter-apply)
1684         (org-agenda-later, org-agenda-change-time-span)
1685         (org-agenda-post-command-hook, org-agenda-show-priority)
1686         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1687         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1688         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1689         (org-agenda-open-link, org-agenda-copy-local-variable)
1690         (org-agenda-switch-to, org-agenda-check-no-diary)
1691         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1692         (org-agenda-add-note, org-agenda-change-all-lines)
1693         (org-agenda-priority, org-agenda-set-tags)
1694         (org-agenda-set-property, org-agenda-set-effort)
1695         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1696         (org-agenda-show-new-time, org-agenda-date-prompt)
1697         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1698         (org-agenda-clock-in, org-agenda-bulk-mark)
1699         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1700         `org-get-at-bol'.
1702         * org-colview.el (org-columns-display-here)
1703         (org-columns-edit-allowed, org-agenda-columns): Use
1704         `org-get-at-bol'.
1706 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1708         * org.el (org-special-ctrl-a/e): Improve documentation and
1709         customize type.
1710         (org-end-of-line): Don't jump to after the ellipsis.
1711         (org-mode-map): Bind <home> and <end> as well.
1713 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1715         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1716         space after #+ as comments.
1717         (org-open-at-point): Run `org-follow-link-hook' always.
1719         * org-latex.el (org-export-latex-emph-format): Use better commands
1720         to insert special characters in verbatim snippets.
1722 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1724         * org-faces.el (org-copy-face): New function.  Use it to create
1725         various faces formerly created by using `copy-face'.
1727         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1728         window dedicated.
1729         (org-agenda-quit): Kill the frame containing the agenda window if
1730         that frame was created for the agenda.
1732 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1734         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1735         stamp in the agenda.
1737 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1739         * org-mobile.el (org-mobile-create-index-file): Add the list of
1740         TODO keywords, and the list of drawers to the index file.
1742         * org-agenda.el (org-prepare-agenda): Reset
1743         `org-drawers-for-agenda'.
1744         (org-prepare-agenda): Uniquify list of drawers.
1746         * org.el (org-complex-heading-regexp-format): New variable.
1747         (org-set-regexps-and-options): Define
1748         `org-complex-heading-regexp-format'.
1749         (org-drawers-for-agenda): New variable.
1750         (org-map-entries): Bind `org-drawers-for-agenda'.
1751         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1753         * org-remember.el (org-go-to-remember-target)
1754         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1756 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1758         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1759         problem.
1761         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1762         the capture file, and make it non-configurable.
1764         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1765         always with `invisible-ok'.
1766         (org-store-link): No error when there is nothing to link to in the
1767         agenda.
1769         * org-list.el (org-update-checkbox-count): Insert changed cookie
1770         before the old, to avoid problems with invisibility at the end of
1771         the line.
1772         (org-update-checkbox-count): Insert changed cookie before the old,
1773         to avoid problems with invisibility at the end of the line.
1775         * org.el (org-sort-entries-or-items): Include the final newline.
1776         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1777         lines for fontification.
1778         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1779         (org-prepare-dblock): Store the current indentation of the BEGIN
1780         line.
1781         (org-update-dblock): Apply the indentation of the begin line to
1782         the rest of the block.
1783         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1784         (org-startup-folded): New allowed value `showeverything'.
1785         (org-startup-options): Add STARTUP keyword `showeverything'.
1786         (org-set-startup-visibility): Respect value `showeverything' in
1787         org-startup-folded.
1789 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1791         * org.el (org-closest-date): Fix issue with past preference.
1793         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1795         * org-archive.el (org-archive-set-tag)
1796         (org-archive-subtree-default): New commands.
1798         * org-mobile.el (org-mobile-create-index-file): Fix link to
1799         capture file.
1800         (org-mobile-copy-agenda-files): Create the capture file if it does
1801         not exist.
1803         * org-clock.el (org-clock-clocktable-default-properties): New
1804         option.
1805         (org-clock-report): Use
1806         `org-clock-clocktable-default-properties'.
1808 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1810         * org.el (org-iswitchb-completing-read): Fix typo.
1812         * org-crypt.el: New file.
1814         * org.el: Add an entry for org-crypt.
1816 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1818         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1819         consistency.
1820         (org-batch-store-agenda-views): New function.
1821         (org-mobile-force-id-on-agenda-items): Mention variable.
1822         (org-agenda-title-append): Define variable.
1823         (org-write-agenda): New export to Org files.
1824         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1825         (org-agenda): Allow to keep the restricted file list if a special
1826         variable is bound to t.
1827         (org-agenda): Define a special agenda view for working on flagged
1828         entries.
1829         (org-agenda-get-restriction-and-command): List the new agenda
1830         view.
1831         (org-agenda-show-the-flagging-note): New command.
1832         (org-agenda-mode-map): New key `?' for looking at the flagging
1833         note.
1835         * org.el (org-autoload): Autoload org-mobile.el.
1836         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1838         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1840 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1842         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1843         statements.
1844         (org-table-get-remote-range): Match indented #+TBLNAME
1845         statements.
1847         * org.el (org-convert-to-odd-levels)
1848         (org-convert-to-oddeven-levels): Work also correctly if the file
1849         is in outline-mode.
1851 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1853         * org.el (org-store-link): When in agenda buffer, link to
1854         referenced entry.
1855         (org-add-planning-info): Remove spaces at eol.
1857         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1858         property.
1860 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1862         * org-latex.el (org-export-latex-first-lines): Fix problem with
1863         LaTeX export of first line and selected subtree.
1865         * org.el (org-shifttab): Interpret arg differently when using only
1866         odd levels.
1868 2009-09-09  Bastien Guerry  <bzg@altern.org>
1870         * org.el (org-check-agenda-file): Use a more explicit message
1872 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1874         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1875         normal lines.
1877 2009-09-08  Bastien Guerry  <bzg@altern.org>
1879         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1880         prompt in the temporary window.
1882         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1883         prefix for marked entries in the agenda view.
1885 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1887         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1888         a way that prevents any trailing character from being displayed.
1890 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1892         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1893         menu.
1895         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1896         slow regexp match.
1898 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1900         * org-latex.el (org-export-latex-preprocess): Do not protect in
1901         the LaTeX header.
1903         * org-src.el (org-edit-src-save): Save window setup while saving.
1904         (org-edit-src-code): Use new buffer name construction scheme.
1906 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1908         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1909         variable.
1910         (org-agenda-entry-text-cleanup-hook): New hook.
1911         (org-agenda-get-some-entry-text): Remove matches of
1912         `org-agenda-entry-text-exclude-regexps' and run the hook
1913         `org-agenda-entry-text-cleanup-hook'.
1915         * org.el (org-offer-links-in-entry): New argument ZERO to
1916         implement a link with index zero.
1917         (org-cycle-show-empty-lines): Not keep empty line under header
1918         hidden.
1919         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1920         to nil for special completion.
1921         (org-store-link): Don't error before the first heading.
1923         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1924         `org-offer-links-in-entry'.
1926 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1928         * org-agenda.el (org-agenda-quit): Provide the window argument for
1929         `window-dedicated-p', Emacs 22 needs it.
1930         (org-format-agenda-item): If the category is a link, arrange for
1931         invisible text to replaced with spaces.
1932         (org-compile-prefix-format): Add the extra space.
1933         (org-prefix-category-length): New variable.
1935         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1936         references from TOC lines.
1938         * org.el (org-selected-window): New variable.
1940         * org-table.el (org-table-edit-formulas): Remember the selected
1941         window.
1942         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1943         that was originally selected.
1945         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1946         expansion of a macro for more macro definitions.
1948         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1949         invisibility overlay starts on the newline.
1951 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1953         * org-protocol.el (org-protocol-store-link)
1954         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1956         * org-compat.el (org-float-time): New function.
1958         * org.el (org-clock-update-time-maybe)
1959         (org-sort-entries-or-items, org-do-sort)
1960         (org-evaluate-time-range, org-time-string-to-seconds)
1961         (org-closed-in-range): Use `org-float-time'.
1963         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1964         (org-timer-seconds):  Use `org-float-time'.
1966         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1967         (org-clock-sum, org-dblock-write:clocktable)
1968         (org-clocktable-steps):  Use `org-float-time'.
1970         * org-agenda.el (org-agenda-last-marker-time)
1971         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1973         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1974         function.
1976         * org-exp.el (org-get-file-contents): Only protect lines that
1977         really need it.
1979         * org-html.el (require): Require cl for compilation.
1981         * org.el:  Avoid using `default-major-mode'.
1983         * org-plot.el (require): Require CL only at compile time.
1985         * org-exp.el (require): Require CL only at compile time.
1987         * org-agenda.el (org-agenda-quit): When the agenda window is
1988         dedicated, remove other windows before exiting, so that the frame
1989         really will be killed.
1991         * org-exp.el (org-export-handle-include-files): Reset START and
1992         END for each loop cycle.
1994 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1996         * org.el (org-eval-in-calendar): Use
1997         `org-select-frame-set-input-focus'.
1999         * org-compat.el (org-select-frame-set-input-focus): New function.
2001         * org.el (org-update-statistics-cookies): New function.
2002         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2004 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2006         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2007         after the local variables are set.
2009         * org-latex.el (org-export-latex-protect-amp): New function.
2010         (org-export-latex-links): Protect link ampersands in tables.
2012         * org-exp.el (org-export-select-backend-specific-text): Match in
2013         two steps, to avoid regexp problems.
2015         * org.el (org-offer-links-in-entry): Improve working with many and
2016         duplicate links.
2018         * org-agenda.el (org-agenda-show-1): Make more consistent with
2019         normal cycling.
2020         (org-agenda-cycle-show): Make more consistent with normal cycling.
2022         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2023         website.
2025 2009-08-30  Bastien Guerry  <bzg@altern.org>
2027         * org-latex.el (org-export-latex-first-lines): Bugfix.
2029 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2031         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2032         about new effort.
2034         * org.el (org-set-effort): New function.
2035         (org-mode-map): New key for effort setting command.
2037         * org-agenda.el (org-agenda): Keep window setup when calling
2038         agenda from within agenda window.
2039         (org-agenda-mode-map): New keys for effort setting commands.
2040         (org-agenda-menu): Add effort setting commands to menu.
2041         (org-agenda-set-property, org-agenda-set-effort): New functions.
2043         * org-latex.el (org-export-latex-tables): Fix
2044         `org-table-last-alignment' and `org-table-last-column-widths' if
2045         the first column has been removed.
2047 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2049         * org.el (org-remove-timestamp-with-keyword): Only remove in
2050         entry, not in subtree.
2052         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2053         emacs lisp.
2055         * org.el (org-open-at-point): When on headline, offer all strings
2056         in entry.
2058         * org-remember.el (org-remember-templates): Documentation fix.
2060         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2061         `org-get-last-sibling' instead of the outline versions of these
2062         functions.
2063         (org-get-last-sibling): New function.
2064         (org-refile): Use `org-get-next-sibling' instead of the outline
2065         version of this function.
2066         (org-clean-visibility-after-subtree-move): Use
2067         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2068         outline versions of these functions.
2070 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2072         * org-agenda.el (org-prepare-agenda): When creating a new frame
2073         for the agenda, make the window dedicated.
2075         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2077         * org-table.el (org-table-align): Change the order of reinsertion
2078         and deletion, to avoid problems with overlays following the table.
2080         * org.el (org-parse-time-string): Better error message.
2081         (org-show-subtree): Use org-end-of-subtree.
2083         * org-macs.el (org-goto-line): New defsubst.
2085         * org.el (org-open-file, org-change-tag-in-region)
2086         (org-fast-tag-show-exit): Don't use `goto-line'.
2088         * org-table.el (org-table-align, org-table-insert-column)
2089         (org-table-delete-column, org-table-move-column)
2090         (org-table-sort-lines, org-table-copy-region)
2091         (org-table-paste-rectangle, org-table-wrap-region)
2092         (org-table-get-specials, org-table-rotate-recalc-marks)
2093         (org-table-get-range, org-table-recalculate)
2094         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2095         (org-table-show-reference, org-table-highlight-rectangle): Don't
2096         use `goto-line'.
2098         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2099         (org-edit-src-exit): Don't use `goto-line'.
2101         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2103         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2104         Don't use `goto-line'.
2106         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2108         * org-colview.el (org-columns, org-columns-redo)
2109         (org-agenda-columns): Don't use `goto-line'.
2111         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2112         use `goto-line'.
2114         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2115         (org-agenda-add-entry-text-maxlines): Improve docstring.
2116         (org-agenda-start-with-entry-text-mode): New option.
2117         (org-agenda-entry-text-maxlines): New option.
2118         (org-agenda-entry-text-mode): New variable.
2119         (org-agenda-mode): Set initial value of
2120         `org-agenda-entry-text-mode'.
2121         (org-agenda-mode-map): Add the `E' key.
2122         (org-agenda-menu): Add entry text mode to the menu.
2123         (org-agenda-get-some-entry-text): Fix line count bug.
2124         (org-finalize-agenda): Apply entry text mode if appropriate.
2125         (org-agenda-entry-text-show-here): New function.
2126         (org-agenda-entry-text-show): New function.
2127         (org-agenda-entry-text-hide): New function.
2128         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2129         key menu.
2130         (org-agenda-entry-text-mode): New command.
2131         (org-agenda-set-mode-name): Add entry text mode to the mode line
2132         string.
2133         (org-agenda-undo, org-agenda-get-restriction-and-command)
2134         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2135         `goto-line'.
2137 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2139         * org-clock.el (org-notify): Bugfix.
2141 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2143         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2144         check for after-string.
2146         * org-gnus.el (org-gnus-store-link): Simplify.
2148         * org.el (org-latex-regexps): Don't add extra empty lines for
2149         display formulas.
2151 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2153         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2154         (org-agenda-add-entry-text): Use
2155         `org-agenda-get-some-entry-text'.
2157         * org.el (org-cycle-separator-lines): Update docstring.
2158         (org-cycle-show-empty-lines): Handle negative values for
2159         `org-cycle-show-empty-lines'.
2161         * org-exp.el (org-export-protect-sub-super): New function.
2162         (org-export-normalize-links): Protect the url of plain links from
2163         supscript and superscript processing.
2165         * org-remember.el (org-remember-escaped-%): New function.
2166         (org-remember-apply-template): Use `org-remember-escaped-%' to
2167         detect escaped % signs.
2169 2009-08-23  Bastien Guerry  <bzg@altern.org>
2171         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2172         sound when showing the notification.
2174         * org-clock.el (org-notify): New function.
2175         (org-clock-notify-once-if-expired): Use `org-notify'.
2177         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2178         and `gnus-article-mode' separately.
2179         (gnus-summary-article-header): Fix the declare-function.
2181 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2183         * org-exp.el (org-export-format-source-code-or-example): Translate
2184         language.
2186         * org-src.el (org-src-lang-modes): New variable
2187         (org-edit-src-code): Translate language.
2189         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2190         the new structure of the `org-export-latex-listings-langs'
2191         variable.
2193         * org-latex.el (org-export-latex-listings-langs): Change structure
2194         of the variable from plist to alist.
2196 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2198         * org.el (org-in-commented-line): New function.
2200 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2202         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2204 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2206         * org.el (org-flag-drawer): More useful error.
2208 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2210         * org-remember.el (org-remember-apply-template): Use
2211         org-icompleting-read.
2213         * org-publish.el (org-publish): Use org-icompleting-read.
2215         * org-colview.el (org-columns-edit-value, org-columns-new)
2216         (org-insert-columns-dblock): Use org-icompleting-read.
2218         * org-colview-xemacs.el (org-columns-edit-value)
2219         (org-columns-new, org-insert-columns-dblock): Use
2220         org-icompleting-read.
2222         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2223         org-icompleting-read.
2225 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2227         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2228         (org-version): Return the version text.
2229         (org-org-menu): Add a menu entry for the new bug reporter.
2230         (org-submit-bug-report): New command.
2232         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2233         docstring.
2235         * org.el (org-emphasis-regexp-components): Add "`" to set of
2236         pre-emphasis characters.
2238         * org-latex.el (org-export-latex-classes): Always include the soul
2239         package.
2240         (org-export-latex-emphasis-alist): Use \st for strikethough.
2242         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2243         `indent-code-rigidly' to indent.
2245         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2246         properties only if MATCH really is a string.
2248 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2250         * org-latex.el (org-export-latex-packages-alist): Fix
2251         customization type.
2253         * org.el (org-create-formula-image): Also use
2254         `org-export-latex-packages-alist'.
2256         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2257         (org-export-as-html): Format footnotes correctly.
2259 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2261         * org.el (org-fast-tag-selection): Avoid text properties on tags
2262         in the alist.
2264         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2265         text properties on the match element.
2267 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2269         * org.el (org-set-regexps-and-options): Make sure the list of done
2270         keywords is not invalid.
2272         * org-exp.el (org-export-interpolate-newlines): New function.
2274 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2276         * org.el (org-format-latex): Avoid nested overlays.
2278         * org-latex.el (org-export-latex-listings-langs): Add a few more
2279         languages.
2281         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2282         ignore newlines and space before the first macro argument.
2284         * org-latex.el (org-export-latex-tables): Remove save-excursion
2285         around `org-table-align'.
2287 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2289         * org.el (org-export-html-special-string-regexps): Definition
2290         moved into org.el
2292         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2293         in macro calls.
2295 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2297         * org-latex.el (org-export-latex-listings)
2298         (org-export-latex-listings-langs): New options.
2300         * org-exp.el (org-export-format-source-code-or-example): Use
2301         listing package if requested by the user.
2303 2009-08-08  Bastien Guerry  <bzg@altern.org>
2305         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2306         command before actually switching to a buffer.
2308 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2310         * org-exp.el (org-get-file-contents): Only quote org lines when
2311         the markup is src or example.
2313         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2314         New option
2315         (org-agenda-get-day-entries): Remember deadline results and pass
2316         them on into the function getting the scheduling information.
2317         (org-agenda-get-scheduled): Accept deadline results as parameters
2318         and maybe skip some entries.
2319         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2321         * org.el (org-insert-heading): When respecting content, do not
2322         convert current line to headline.
2324         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2325         cheeeeeck the hd marker
2326         (org-clock-in): Also set the hd marker.
2327         (org-clock-out): Also set the hd marker.
2328         (org-clock-cancel): Reset markers.
2330         * org.el (org-clock-hd-marker): New marker.
2332         * org-faces.el (org-agenda-clocking): New face.
2334         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2335         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2337         * org.el (org-modules): Add org-track.el.
2339         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2340         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2341         `org-agenda-bulk-marked-p'.
2342         (org-agenda-bulk-toggle): New command.
2344 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2346         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2347         not just the body.
2349         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2350         messages.
2352 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2354         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2355         before gnuplot can read it.
2357 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2359         * org-latex.el (org-export-latex-first-lines): Fix bug with
2360         finding the end of the first lines.
2362         * org.el (org-create-formula-image): Remove the -E option for
2363         dvipng.
2365         * org-exp.el (org-default-export-plist): Respect #+BIND.
2366         (org-export-confirm-letbind): New function.
2368         * org.el (org-paste-subtree): Test the kill ring entry if it is
2369         going to be used.
2370         (org-copy-subtree): Use `org-forward-same-level'.
2371         (org-forward-same-level): Respect the `invisibe-ok' arg for
2372         back-to-heading.
2374 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2376         * org.el (org-table-map-tables): Make sure cursor is back at table
2377         beginning after funcall.
2379         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2380         handled before children, and do not error if an entry is not
2381         found, probably because it hase been remove when the parent was
2382         archived or refiled.
2384         * org.el (org-ido-completing-read): Accept straight lists for
2385         completion as well as alists.
2387         * org-html.el (org-export-as-html): Fix parenthesis error in
2388         footnore code.
2390         * org-timer.el (org-timer-cancel-timers): Renamed from
2391         `org-timer-cancel-timers'.
2393         * org.el (org-cycle-internal-local): Fix problem with finding next
2394         invisible line.
2396 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2398         * org-list.el (org-list-send-list): Call
2399         `org-list-goto-true-beginning' instead of
2400         `org-list-find-true-beginning', which does not exist.
2402         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2403         (org-timer-set-timer): Do not assign to heading.
2405         * org-id.el (org-id-open): Quote function name.
2407         * org-macs.el (org-unmodified): Turn off recording undo
2408         information while running inside the macro.
2410         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2411         variable.
2412         (org-indent-mode): Remember and restore value of
2413         org-hide-leading-stars before `org-indent-mode'.
2415         * org-table.el (org-table-export): Also work in file-less
2416         buffers.
2418         * org.el (org-startup-indented): New option.
2419         (org-startup-options): Add new options indent and noindent.
2420         (org-unfontify-region): Remove line-prefix and wrap-prefix
2421         properties.
2422         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2423         hooks.
2424         (org-promote, org-demote): Run the new hooks.
2426         * org-table.el (org-table-align): Replace leading \n as well.
2428         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2429         and `line-wrap' text properties.
2431         * org-compat.el (org-kill-new): New function.
2433         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2434         `line-wrap' text properties.
2436         * org-indent.el: New file.
2438 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2440         * org.el (org-provide-todo-statistics): Tweak docstring.
2442         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2444 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2446         * org-exp.el (org-export-as-org): Insert the "-source" string
2447         before the extension.
2449         * org.el (org-read-date): Make sure the calendar is in the current
2450         frame.
2451         (org-set-emph-re): Remove the ? from the post-match.
2452         (org-emphasis-regexp-components): Add backslash to the
2453         postmatch class.
2454         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2455         optional so that also lines at the end of the buffers will still
2456         be matched as headlines.
2458         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2459         Variable made obsolete.
2460         (org-table-relative-ref-may-cross-hline): New option.
2461         (org-table-find-row-type): Honow the new option
2462         `org-table-relative-ref-may-cross-hline'.
2464 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2466         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2467         on single field if no active region.
2469 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2471         * org-latex.el (org-export-latex-make-header): Only insert title
2472         if one is defined.
2474         * org.el (org-make-options-regexp): Allow empty values.
2476         * org-html.el (org-export-as-html): Move hrule detection to after
2477         plain list handling.
2479 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2481         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2483 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2485         * org.el (org-cycle-internal-local): Improved version of finding
2486         next visible line.
2487         (org-cycle-hide-drawers): Only hide drawers if this is really
2488         necessary.
2489         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2490         org-version of this function in Org-mode.  We use advice to
2491         implement this change, so that future changes to this function in
2492         outline.el wil be handled properly.
2493         (org-forward-same-level, org-backward-same-level): New commands.
2495 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2497         * org.el (org-remove-empty-overlays-at)
2498         (org-clean-visibility-after-subtree-move): New functons.
2499         (org-move-subtree-down): Simplify cleanup of display.
2501 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2503         * org-mac-message.el (org-mac-message-get-links): Improve
2504         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2505         "s".  Fix the return value.
2506         (org-mac-message-insert-flagged): Simplify.
2508         * org.el (org-refile-get-location): Tamper with refile history o
2509         that history contains compete matches instead of the entered
2510         string.
2512 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2514         * org.el (org-store-link): Never store a link to an inline task.
2516         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2518         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2519         inline tasks when positioning footnotes.
2521         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2522         function.
2524         * org.el (org-refile): Remove the END line when archiving an
2525         inline task that does have an END line.
2527         * org-archive.el (org-archive-subtree): Remove the END line when
2528         archiving an inline task that does have an END line.
2530         * org-macs.el (org-with-limited-levels): New macro.
2531         (org-get-limited-outline-regexp): New function.
2533         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2534         that did not enumerate first line.
2535         (org-export-mark-radio-links): Skip matches in links.
2537 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2539         * org.el (org-activate-plain-links): Make single-match.
2540         (org-adapt-indentation): Fix docstring.
2542         * org-macs.el (org-unmodified): Turn of modification hooks while
2543         running this macro.
2545 2009-08-02  Bastien Guerry  <bzg@altern.org>
2547         * org.el (org-adapt-indentation): Slightly improve the docstring.
2548         (org-occur): Sends an error when the user inputs an empty string.
2549         (org-priority): Bugfix: the tag alignement should happen within
2550         save-excursion.
2552 2009-07-31  Bastien Guerry  <bzg@altern.org>
2554         * org.el (org-make-link-regexps): Don't exclude parentheses from
2555         `org-plain-link-re'
2556         (org-cycle-internal-local): When locally cycling, switch directly
2557         from CHILDREN to FOLDED if there is no subtree
2558         (org-cycle): Update the docstring to document the new behavior of
2559         `org-cycle-internal-local'.
2561 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2563         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2564         an abbreviated format for days.
2566 2009-07-27  Bastien Guerry  <bzg@altern.org>
2568         * org-protocol.el (org-protocol-default-template-key): New
2569         option.
2571         * org.el (org-refile): Bugfix: save-excursion before reading the
2572         refile target, otherwise cursor moves might confuse `org-refile'.
2574         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2575         footnote reference before the footnote itself.
2577         * org.el (org-toggle-heading): Bugfix: correctly convert list
2578         items before the first headline.
2580         * org-html.el (org-export-html-footnote-format): New option for
2581         formatting the footnote reference.
2582         (org-export-as-html): Use the new option.
2584         * org.el (org-provide-todo-statistics): Allow a list of TODO
2585         keywords to compute statistics against headlines containing a
2586         keyword from this list.
2587         (org-update-parent-todo-statistics): Possibly use the new allowed
2588         value of `org-provide-todo-statistics'.
2590 2009-07-26  Bastien Guerry  <bzg@altern.org>
2592         * org-timer.el: Add autoload cookie.
2594         * org.el (org-occur-link-in-agenda-files): New function.
2596         * org-timer.el (org-timer-last-timer): New variable.
2598         * org-agenda.el (org-agenda-mode-map): New key for
2599         org-timer-set-timer called from the agenda.
2601         * org.el (org-mode-map): New key for org-timer-set-timer.
2603         * org-timer.el (org-timer-reset-timers)
2604         (org-timer-show-remaining-time, org-timer-set-timer): New
2605         functions.
2607         * org-clock.el (org-show-notification): Update the docstring.
2609         * org.el (org-provide-todo-statistics): Allow new value
2610         'all-headlines for this option, which includes entries with no
2611         TODO keywords in the todo statistics.
2612         (org-update-parent-todo-statistics): Possibly use the new
2613         'all-headline value from `org-provide-todo-statistics'.
2615 2009-07-25  Bastien Guerry  <bzg@altern.org>
2617         * org-clock.el (org-dblock-write:clocktable): Add a new option
2618         :timestamp which allows display of timestamps in clock reports.
2620         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2621         list to a subtree, preserving the structure of the list.
2622         (org-set-emph-re): Make the last element optional in the regexp.
2623         This regexp now matches an emphasized string at the end of a line.
2625         * org-list.el (org-list-goto-true-beginning)
2626         (org-list-make-subtree, org-list-make-subtrees): New functions.
2628         * org.el (org-eval-in-calendar): Select the right frame.
2629         (org-save-frame-excursion): Remove this macro.
2631 2009-07-24  Bastien Guerry  <bzg@altern.org>
2633         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2634         trying to find the beginning of a list.
2636         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2637         When present, tell org-get-file-contents not to protect org-like
2638         lines.
2640         * org-id.el (org-id-uuid-program): New option to set the name of
2641         the uuidgen program.
2642         (org-id-method): Use `org-id-uuid-program'.
2643         (org-id-new): Use `org-id-uuid-program'.
2645 2009-07-23  Bastien Guerry  <bzg@altern.org>
2647         * org-exp.el (org-export-number-lines): Allow whitespace in code
2648         references.  Allow the -r switch to remove the references in the
2649         source code even when the lines are not numbered: the labels can
2650         be explicit enough.
2652         * org.el (org-fontify-whole-heading-line): New option.
2653         (org-set-font-lock-defaults): Use the new option.
2655         * org-clock.el (org-show-notification-handler): New option.
2656         (org-show-notification): Use the new option.
2658 2009-07-21  Bastien Guerry  <bzg@altern.org>
2660         * org.el (org-eval-in-calendar): Fix a bug about calendar
2661         navigation when `calendar-setup' value is 'calendar-only.
2663 2009-07-19  Bastien Guerry  <bzg@altern.org>
2665         * org.el (orgstruct++-mode): Fix typo in docstring.
2666         (org-insert-link): Clean up: (or (...)) => (...)
2667         (org-insert-link): Use TAB for stored links completion.
2669 2009-07-18  Bastien Guerry  <bzg@altern.org>
2671         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2672         building the list of targets.
2674         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2675         option.
2676         (org-remember-handler): Use the new option.
2678 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2680         * org.el (org-tags-sort-function): New option for sorting tags.
2681         (org-set-tags): Use the new option to sort tags.
2683         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2684         premature deletion of the data when using org-plot in a script.
2686 2009-07-17  Bastien Guerry  <bzg@altern.org>
2688         * org-clock.el (org-clock-in-prepare-hook): New hook.
2689         (org-clock-in): Use this new hook.
2691 2009-07-16  Bastien Guerry  <bzg@altern.org>
2693         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2694         'reversed for this option to the "true line boundary first"
2695         behavior.
2696         (org-tags-match-list-sublevels): Document the 'indented value for
2697         this variable.
2699         * org-latex.el (org-export-latex-first-lines): Fix problem with
2700         publishing the region.
2702         * org-exp.el (org-export-format-source-code-or-example): Fix
2703         bad line numbering when exporting examples in HTML.
2705         * org-colview.el (org-format-time-period): Formats a time in
2706         fractional days as days, hours, mins, seconds.
2707         (org-columns-display-here): Add special handling for SINCE and
2708         SINCE_IA to format for display.
2710 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2712         * org.el (org-tags-sort-function): Add custom declaration for tags
2713         sorting function.
2714         (org-set-tags): Sort tags if org-tags-sort-function is set
2716 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2718         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2720         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2722         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2723         option.
2725 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2727         * org-publish.el (org-publish-remove-all-timestamps): New function.
2728         (org-publish-all): Remove all timestamp files if `org-publish-all'
2729         is called with a prefix argument.
2731         * org-list.el (org-indent-item): Fix typo.
2732         (org-item-indent-positions): Normalize ordered bullet.
2734         * org-html.el (org-export-html-home/up-format): New option.
2735         (org-export-as-html): Insert the up and HOME links.
2737 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2739         * org-html.el (org-export-as-html): Insert the title into the
2740         option plist.
2741         (org-export-html-insert-plist-item): New function.
2742         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2744         * org-macs.el (org-set-local): Make a local variable, do not make
2745         the variable buffer-local!
2747         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2749         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2751         * org-docbook.el (org-export-as-docbook): Call
2752         `org-install-letbind'.
2754         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2756         * org-exp.el (org-infile-export-plist): Read BIND lines.
2757         (org-install-letbind): New function.
2758         (org-export-as-org, org-export-preprocess-string): Call
2759         `org-install-letbind'.
2761         * org-src.el (org-edit-src-exit): Untabify the example before
2762         returning to Org.
2764         * org-list.el (org-list-demote-modify-bullet): New option.
2765         (org-first-list-item-p): Save point.
2766         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2767         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2768         (org-item-indent-positions): Return bullet types along with
2769         indentation.
2771 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2773         * org.el (org-show-entry): Hide drawers.
2775 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2777         * org-footnote.el (org-footnote-auto-adjust): New option.
2778         (org-footnote-auto-adjust-maybe): New function.
2779         (org-footnote-new, org-footnote-delete): Call
2780         `org-footnote-auto-adjust-maybe'.
2782         * org.el (org-startup-options): Add new footnote-related
2783         keywords.
2785         * org-publish.el (org-publish-timestamp-filename): Additional
2786         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2787         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2788         TRUE-PUB-DIR.  Pass them through to
2789         `org-publish-timestamp-filename'.
2790         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2791         PUB-FUNC, which are included in the hash.
2792         (org-publish-file): Delay timestamp test until the publishing
2793         function is known.
2795 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2797         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2798         setting the deadline.
2800         * org.el (org-read-date-final-answer): New variable.
2801         (org-read-date): Store the final answer string, including the date
2802         from the calendar, for reuse by agenda bulk commands.
2804         * org-publish.el (org-publish-attachment): Fix publishing of
2805         attachments.
2807         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2808         quotation makrs in parenthesis.
2809         (org-remove-initial-hash): New function.
2810         (org-export-latex-preprocess): Fix bug with infinite loop if
2811         environment is not properly closed.
2813         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2814         when indented.
2816         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2817         highlight also when indented.
2819 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2821         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2822         (org-footnote-action): Offer renumbering.
2824         * org.el (org-cycle): Honor the `integrate' value of
2825         org-cycle-include-plain-lists'.
2827         * org-list.el (org-cycle-include-plain-lists): New allowed value
2828         `internal'.  Improve the docstring.
2830         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2831         regexp to work better with LaTeX commands.
2833 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2835         * org-feed.el (org-feed-update): fix problem with non-existing
2836         buffer.
2837         (org-feed-skip-http-headers): New function.
2838         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2839         (org-feed-get-feed): Fix command line arguments for curl.
2841 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2843         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2844         and eps extensions.
2846 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2848         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2849         loaded.
2851         * org.el (org-map-entries): No longer force
2852         `org-tags-match-list-sublevels' to t during a todo-only tags
2853         search.
2855 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2857         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2858         environment.
2859         (org-export-latex-subcontent): Handle user-defined environment.
2861         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2862         the View dispatcher.
2864         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2865         `make-overlay'.
2867         * org-latex.el (org-export-as-pdf): Protect match data during call
2868         to shell-quote-argument.
2870         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2871         (org-agenda-view-mode-dispatch): New function.
2873 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2875         * org-agenda.el (org-agenda-mode): Reset list of marks.
2876         (org-agenda-mode-map): Define new keys for refile and bulk action.
2877         (org-agenda-menu): Add menu itesm for refile and bulk action.
2878         (org-agenda-refile): New function.
2879         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2880         (org-agenda-marked-entries): New variable.
2881         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2882         (org-agenda-remove-all-bulk-action-marks)
2883         (org-agenda-bulk-action): New functions/commands.
2885 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2887         * org-exp.el (org-get-file-contents): Protect org-like lines in
2888         included files.
2889         (org-export-format-source-code-or-example): Remove newlines.
2891         * org-latex.el (org-export-latex-links): Check for no-description
2892         marking.
2894         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2895         argument separator back to comma.
2896         (org-export-normalize-links): Mark links without description.
2898 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2900         * org-exp.el (org-infile-export-plist): Fix bug in macro
2901         processing.
2903         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2904         out.
2905         (org-agenda-highlight-todo): Fix bug with highlighting.
2907 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2909         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2910         new alignment strings.
2912         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2913         command list.
2914         (org-table-align): Check for forced align type.
2916         * org.el (org-self-insert-command): Add yas/expand to command
2917         list.
2919         * org-clock.el (org-clock-in-hook): New hook.
2920         (org-clock-in): Run `org-clock-in-hook.
2921         (org-clock-out-hook): New hook.
2922         (org-clock-out): Run `org-clock-out-hook.
2923         (org-clock-cancel-hook): New hook.
2924         (org-clock-cancel): Run `org-clock-cancel-hook.
2925         (org-clock-goto-hook): New hook.
2926         (org-clock-goto): Run `org-clock-goto-hook.
2928 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2930         * org.el (org-store-link): Better default description for link to
2931         Org-mode headline.
2933         * org-exp.el (org-export-generic): Autoload the generic exporter
2934         function.
2935         (org-export): Implement the `g' key for the generic exporter.
2937 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2939         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2940         and for zbacktab'.
2942         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2944         * org-exp.el (org-infile-export-plist): Get macros also from
2945         #+SETUPFILE.
2947 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2949         * org-colview.el (org-columns-capture-view): Protect vertical bars
2950         in column values.
2951         (org-columns-capture-view): Exclude comment and archived trees.
2953         * org-colview-xemacs.el (org-columns-capture-view): Protect
2954         vertical bars in column values.
2955         (org-columns-capture-view): Exclude comment and archived trees.
2957         * org.el (org-quote-vert): New function.
2959         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2961         * org-exp.el (org-export-format-source-code-or-example): Use
2962         `org-export-latex-verbatim-wrap'.
2964         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2965         time stamps.
2967         * org-html.el (org-export-table-row-tags): New option.
2968         (org-format-org-table-html): Rename `nlines' to `nline', use new
2969         option.
2972 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2974         * org-exp-blocks.el: Declare functions and variables.
2976         * org-remember.el (org-remember-templates): Allow the headline
2977         element to be a function.
2978         (org-remember-apply-template): If the headline is a function, call
2979         it to get the true function.
2981         * org-clock.el (org-clock-menu): New function.
2982         (org-clock-update-mode-line): Update help string.
2983         (org-clock-modify-effort-estimate): New function.
2984         (org-clock-mark-default-task): New function.
2986         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2987         minutes as input.
2988         (org-org-menu): Add new clocking stuff.
2989         (org-clock-is-active): New function.
2991 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2993         * org.el (org-open-non-existing-files): Improve docstring.
2995 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2997         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2998         option.
2999         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3001         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3003         * org-list.el (org-get-checkbox-statistics-face): Use the new
3004         faces.
3006         * org-faces.el (org-checkbox-statistics-todo)
3007         (org-checkbox-statistics-done): New faces.
3009 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3011         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3012         (org-edit-src-exit): Better cursor positioning when returning from
3013         editing.
3015         * org-latex.el (org-export-latex-use-verb): New variable.
3016         (org-export-latex-emph-format): Prefer \texttt over \verb when
3017         org-export-latex-use-verb is set.
3019 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3021         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3022         at normal indentation.
3024         * org-html.el (org-export-html-close-lists-maybe): Also look at
3025         normal indentation.
3027         * org-remember.el (org-remember-handler): Abort remember if the
3028         buffer is empty.
3030         * org-src.el (org-edit-src-content-indentation): New option.
3031         (org-edit-src-exit): Apply extra indentation.
3033         * org-exp.el (org-export-format-source-code-or-example): Run
3034         `org-src-mode-hook'.
3036         * org-src.el (org-src-mode-hook): New variable.
3037         (org-edit-src-code): Run `org-src-mode-hook'.
3039 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3041         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3043         * org-src.el (org-edit-src-get-indentation): New function.
3044         (org-edit-src-code): Base indentation on the begin line.
3046 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3048         * org-gnus.el (org-gnus-store-link): Require message.el in
3049         org-gnus-store-link.
3051 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3053         * org-src.el: New file, split out of org.el
3055         * org-docbook.el (org-export-as-docbook): Better indentation
3056         treatment.
3058         * org-macs.el (org-replace-match-keep-properties): New function.
3060         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3061         preprocessing of center and quote and verse blocks.
3063         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3064         (org-export-as-docbook): Close lists when original indentation
3065         mandates it.
3067         * org-html.el (org-export-html-close-lists-maybe): New function.
3068         (org-export-as-html): Close lists when original indentation
3069         mandates it.
3071         * org-list.el (org-list-end): Respect the stored "original"
3072         indentation when determining the end of the list.
3074         * org-exp.el (org-export-replace-src-segments-and-examples):
3075         Remember indentation correctly.
3077 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3079         * org-clock.el (org-clock-update-mode-line): Apply face
3080         org-mode-line-clock.
3082         * org-faces.el (org-mode-line-clock): New face.
3084 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3086         * org-gnus.el (org-gnus-store-link): Fix bug where
3087         `org-gnus-store-link' used wrong subject when called in an article
3088         buffer.  Patch provided by fengli AT gmail DOT com.
3090 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3092         * org-exp.el (org-export-format-source-code-or-example): Remember
3093         the original indentation of source code snippets and examples.
3095         * org-latex.el (org-export-as-latex): Relocate the table of
3096         contents.
3098         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3100         * org-agenda.el (org-run-agenda-series): Scope global options also
3101         when creating the agenda buffer.
3103 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3105         * org.el (org-adapt-indentation): Improve documentation.
3106         (org-insert-property-drawer): Respect org-adapt-indentation when
3107         inserting the drawer.
3108         (org-remove-flyspell-overlays-in): New function.
3109         (org-do-emphasis-faces, org-activate-plain-links)
3110         (org-activate-code, org-fontify-meta-lines-and-blocks)
3111         (org-activate-angle-links, org-activate-footnote-links)
3112         (org-activate-bracket-links, org-activate-dates)
3113         (org-activate-target-links, org-activate-tags): Remove flyspell
3114         overlays.
3116 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3118         * org.el (org-edit-src-save): New function.
3120         * org-clock.el (org-clock-out-switch-to-state): New option.
3121         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3123         * org-compat.el (org-compatible-face): Improve macro.
3125         * org.el (org-global-properties-fixed): Add default for
3126         CLOCK_MODELINE_TOTAL.
3128         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3129         andd tend.
3130         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3131         org-clock-sum.
3132         (org-clock-get-sum-start): New function.
3134         * org.el (org-startup-options): New keywords blockhide and
3135         blockshow.
3136         (org-mode): Add new invisibility spec.
3137         (org-set-startup-visibility): Hide block on startup if so
3138         desired.
3139         (org-hide-block-startup): New option.
3140         (org-block-regexp): New constant.
3141         (org-hide-block-overlays): New variable.
3142         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3143         (org-show-block-all, org-hide-block-toggle-maybe)
3144         (org-hide-block-toggle): New functions.
3145         (org-edit-src-exit): Do not quote lines starting with # and no +
3146         behind it.
3147         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3148         entry.
3150 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3152         * org.el (org-buffer-property-keys): Add Effort property for
3153         completion.
3155 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3157         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3158         when retrieving total clocked time in the subtree.
3160         * org.el (org-quoting-blocks): New variable.
3162 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3164         * org-table.el (org-table-store-formulas)
3165         (org-table-get-stored-formulas, org-table-fix-formulas)
3166         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3167         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3169         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3170         indented #+TBLFM line.
3172         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3173         indented #+TBLFM line.
3175         * org-colview.el (org-dblock-write:columnview): Allow indented
3176         #+TBLFM line.
3178         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3179         indented #+TBLFM line.
3181         * org-clock.el (org-dblock-write:clocktable): Allow indented
3182         #+TBLFM line.
3184 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3186         * org-exp.el (org-export-format-source-code-or-example): Make
3187         editing indented blocks work correctly.
3189         * org.el (org-edit-src-nindent): New variable.
3190         (org-edit-src-code, org-edit-fixed-width-region)
3191         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3192         editing indented blocks work correctly.
3194 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3196         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3197         indented blocks.
3198         (org-export-format-source-code-or-example): Fix indentation of
3199         blocks.
3200         (org-export-remove-indentation): New function.
3201         (org-export-select-backend-specific-text): Allow backend-specific
3202         code to be indented.
3203         (org-export-mark-blockquote-verse-center): Allow markers to be
3204         indented.
3206         * org.el (org-fontify-meta-lines): New function.
3207         (org-set-font-lock-defaults): Call the new fontification
3208         function.
3210         * org-faces.el (org-meta-line): New face
3211         (org-block):  New face.
3213 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3215         * org.el (org-treat-insert-todo-heading-as-state-change)
3216         (org-treat-S-cursor-todo-selection-as-state-change): New
3217         variables.
3218         (org-insert-todo-heading): Honor
3219         `org-treat-insert-todo-heading-as-state-change'.
3220         (org-shiftright, org-shiftleft): Honor
3221         `org-treat-S-cursor-todo-selection-as-state-change'.
3222         (org-inhibit-logging): New variable.
3224 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3226         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3227         range for marker position checking.
3229         * org-latex.el (org-export-latex-first-lines): Fix bug when
3230         exporting a region.
3232 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3234         * org-exp.el (org-export-push-to-kill-ring): Protect using
3235         x-set-selection, because that does not always work.
3237         * org-agenda.el (org-agenda-list): Apply the new face
3238         `org-agenda-date-today'.
3240         * org-faces.el (org-agenda-date-today): New face.
3242 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3244         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3245         creating appointments.
3247         * org-latex.el (org-export-latex-low-levels): Fix customization
3248         type.
3250         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3251         priority commands.
3253         * org-agenda.el (org-agenda-priority): Disable priority commands.
3255         * org.el (org-enable-priority-commands): New option.
3257         * org-colview-xemacs.el (org-columns-compute)
3258         (org-columns-number-to-string): Fix problems with empty fields.
3260         * org-colview.el (org-columns-compute)
3261         (org-columns-number-to-string): Fix problems with empty fields.
3263         * org-exp.el (org-export-push-to-kill-ring): New function.
3264         (org-export-copy-to-kill-ring): New option.
3266         * org-latex.el (org-export-as-latex): Call
3267         `org-export-push-to-kill-ring'.
3269         * org-html.el (org-export-as-html): Call
3270         `org-export-push-to-kill-ring'.
3272         * org-docbook.el (org-export-as-docbook): Call
3273         `org-export-push-to-kill-ring'.
3275         * org-ascii.el (org-export-as-ascii): Call
3276         `org-export-push-to-kill-ring'.
3278         * org-exp.el (org-export-show-temporary-export-buffer): New
3279         option.
3281         * org-latex.el (org-export-as-latex): Use
3282         `org-export-show-temporary-export-buffer'.
3284         * org-html.el (org-export-as-html): Use
3285         `org-export-show-temporary-export-buffer'.
3287         * org-docbook.el (org-export-as-docbook): Use
3288         `org-export-show-temporary-export-buffer'.
3290         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3291         `org-export-show-temporary-export-buffer'.
3293         * org-exp.el (org-export-show-temporary-export-buffer): New
3294         option.
3295         (org-export-push-to-kill-ring): New function.
3297         * org-colview.el (org-columns-compile-map): New variable.
3298         (org-columns-new, org-columns-compute)
3299         (org-columns-number-to-string, org-columns-uncompile-format)
3300         (org-columns-compile-format): Implement new operators.
3302 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3304         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3306         * org-html.el (org-export-html-xml-declaration): New option.
3307         (org-export-as-html): Use `org-export-html-xml-declaration'.
3309         * org-list.el (org-update-checkbox-count): Make property
3310         dependent.
3312         * org.el (org-hierarchical-todo-statistics): New option.
3313         (org-update-parent-todo-statistics): Modified to handle recursive
3314         statistics.
3316 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3318         * org-publish.el (org-publish): Make this function behave
3319         correctly in interactive use when called with a prefix argument.
3321         * org.el (org-todo-statistics-hook): New hook.
3322         (org-update-parent-todo-statistics): Use new hook.
3323         (org-log-into-drawer): New function.
3324         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3325         determine if we should be logging into a drawer.
3326         (org-log-into-drawer): Update docstring.
3327         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3329         * org-list.el (org-checkbox-statistics-hook): New hook.
3330         (org-update-checkbox-count-maybe): Use new hook.
3332         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3333         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3334         to kill ring.
3336 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3338         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3339         a line.
3341 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3343         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3344         better bufer-generating mechanism.
3345         (org-edit-src-find-buffer): New function.
3347         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3348         archive tag, this is already done by `org-agenda-skip'.
3349         data while constructing lost of tags.
3351 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3353         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3354         as argument separator in macros.
3356         * org-html.el (org-export-as-html): Add xml declaration.
3358 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3360         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3361         (org-sort-entries-or-items): Run the new hook.
3362         (org-after-refile-insert-hook): New hook.
3363         (org-refile): Run `org-after-refile-insert-hook'.
3365         * org-agenda.el (org-agenda-get-progress): Never take time of day
3366         from headline when displaying progress.
3368         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3369         (org-export-as-latex): Force the correct regexp in the
3370         preprocessor buffer.
3371         (org-export-latex-set-initial-vars): Set
3372         `org-export-latex-complex-heading-re'.
3374         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3375         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3377 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3379         * org-latex.el (org-export-latex-tables-centered): New option.
3380         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3382         * org-exp.el (org-export-as-org): New command.
3383         (org-export-as-org): New command.
3385         * org-publish.el (org-publish-org-to-org): New function.
3387 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3389         * org.el (org-yank): Just call `org-yank-generic'.
3390         (org-yank-generic): New function, containing the formaer
3391         functionality of `org-yank'.
3393         * org-latex.el (org-export-latex-not-done-keywords)
3394         (org-export-latex-done-keywords): New variables.
3395         (org-export-latex-todo-keyword-markup): New option.
3396         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3397         (org-export-latex-keywords-maybe): Apply the TODO markup.
3399 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org-exp.el (org-infile-export-plist): Add more default macros.
3402         (org-export-preprocess-apply-macros): Process macro arguments.
3404 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3406         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3407         `unblocked'.
3408         (org-print-icalendar-entries): Respect the new value of
3409         `org-icalendar-include-todo'.
3411         * org.el (org-link-try-special-completion)
3412         (org-file-complete-link): New functions.
3413         (org-insert-link): Add special completion support for some link
3414         types.
3416         * org-bbdb.el (org-bbdb-complete-link): New function.
3418 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3420         * org-list.el (org-update-checkbox-count): Allow recursive
3421         statistics.
3422         (org-hierarchical-checkbox-statistics): New option.
3424         * org.el (org-cycle): Remove erraneous space character.
3426         * org-icalendar.el (org-icalendar-timezone): Initialize from
3427         environment.
3429         * org-html.el (org-format-org-table-html): Specify the scope.
3430         (org-format-table-table-html): Specify the scope.
3431         (org-export-table-header-tags): Prepare the scope parameter.
3433 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3435         * org-html.el
3436         (org-export-html-table-use-header-tags-for-first-column): New
3437         option.
3439         * org.el (org-autoload): Fix autoloading of ascii export
3440         functions.
3441         (org-modules): Add org-special-blocks.
3443 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3445         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3446         (org-ical-timezone): New option.
3448         * org-exp.el (org-export-get-coderef-format): Use the description
3449         is present.
3451         * org.el (org-sort-entries-or-items): Improve docstring, and make
3452         better implementation for time sorting.
3454 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3456         * org.el (org-edit-src-persistent-message): New option.
3457         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3458         option.
3460         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3461         patch.
3463         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3464         separate buffer instead of indirect buffer to edit source code.
3465         (org-edit-src-exit): Make this function work with the new setup.
3467         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3468         are properly fontified before shown in the selection menu.
3470         * org.el (org-fontify-like-in-org-mode): New function.
3472         * org-latex.el (org-export-latex-links): Use the property list to
3473         retrieve the default image attributes.
3475         * org-exp.el (org-export-plist-vars): Add a new option.
3477 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3479         * org-exp.el (org-export, org-export-visible): Support ASCII
3480         export to buffer
3481         (org-export-normalize-links): Do not protect the description if it
3482         is explicitly given.
3484         * org-ascii.el (org-export-as-ascii-to-buffer)
3485         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3486         commands.
3487         (org-export-as-ascii): Add all the same parameters that are also
3488         supported by the other export functions.
3490         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3491         org-checklist.el.
3492         (org-reset-checkbox-state-subtree): Call
3493         `org-reset-checkbox-state-subtree'.
3495         * org-remember.el (org-select-remember-template): For the
3496         selection of a valid template.
3498         * org-latex.el (org-export-region-as-latex): Supply the
3499         force-no-subtree argument.
3500         (org-export-as-latex): Provide better limits when exporting the
3501         first line.  When exporting to string, we still want the first
3502         lines.
3503         (org-export-latex-first-lines): New argument END, to force the end
3504         of the region.
3505         (org-export-region-as-latex): Use the property list.
3506         (org-export-as-latex):
3508         * org-colview-xemacs.el (org-columns-remove-overlays)
3509         (org-columns): Fix call to `local-variable-p'.
3511 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3513         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3514         (org-export-as-html): Run the new hook.
3516         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3517         (org-export-latex-preprocess): Run the new hook.
3519         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3520         (org-export-preprocess-string): Run the new hook.
3522 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3524         * org-macs.el (org-check-external-command): New defsubst.
3526         * org.el (org-mode-map): New key for reload.
3527         (org-format-latex): Better error message when external programs
3528         are not available.
3530         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3532         * org.el (org-sort-entries-or-items): Explicit sorting function
3533         for priorities, needed for XEmacs compatibility.
3535         * org-remember.el (org-remember-apply-template): Improve auto-save
3536         behavior.
3538 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3540         * org-latex.el (org-export-latex-preprocess): Also protect
3541         environments ending in a star.
3543         * org-list.el (org-at-item-p): Fix regular expression.
3545 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3547         * org.el (org-end-of-subtree): Improve speed.
3549         * org-agenda.el (org-agenda-get-timestamps)
3550         (org-agenda-get-progress, org-agenda-get-deadlines)
3551         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3552         in particular, wait as long as possible to collect the tags.
3553         (org-stuck-projects): Improve docstring.
3555         * org.el (org-store-link): No errors when getting custom id before
3556         first headline.
3557         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3559 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3561         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3563         * org-protocol.el: Remove dependency on url.el.
3564         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3565         dependency on url.el.
3567         * org-latex.el (org-export-as-pdf): Use
3568         `org-latex-to-pdf-process'.
3570 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3572         * org-latex.el (org-latex-to-pdf-process): New option.
3574         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3575         New option.
3576         (org-agenda-get-timestamps): Honor
3577         `org-agenda-skip-additional-timestamps-same-entry'.
3579         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3580         (org-clock-goto): Find recent task only if
3581         `org-clock-goto-may-find-recent-task' allows it.
3583         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3584         drawers, and drawers that are missing the :END: line.
3586 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3588         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3589         clock is running.
3591 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3593         * org.el (org-update-parent-todo-statistics): Check for
3594         STATISTICS_FROM property.
3596         * org-list.el (org-update-checkbox-count): Check for
3597         STATISTICS_FROM property.
3599         * org.el (org-tab-first-hook)
3600         (org-tab-after-check-for-table-hook)
3601         (org-tab-after-check-for-cycling-hook): New hooks.
3602         (org-cycle-internal-global, org-cycle-internal-local): New
3603         functions, split out from `org-cycle'.
3604         (org-cycle): Call the new hooks.
3606 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3608         * org-exp.el (org-export-preprocess-string): Reset the list of
3609         preferred targets for each run of the preprocessor.
3611         * org.el (org-refile-target-verify-function): Improve
3612         documentation.
3613         (org-get-refile-targets): Respect point being moved by the
3614         verification function.
3616         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3617         option.
3618         (org-export-latex-keywords): Use new option.
3620         * org.el (org-rear-nonsticky-at): New defsubst.
3621         (org-activate-plain-links, org-activate-angle-links)
3622         (org-activate-footnote-links, org-activate-bracket-links)
3623         (org-activate-dates, org-activate-target-links)
3624         (org-activate-tags): Place the rear-nonsticky properties at the
3625         correct location.
3627 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3629         * org-protocol.el (server-edit): Declare `server-edit'.
3630         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3631         functions.
3632         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3634         * org.el (org-default-properties): New default properteis for
3635         completion.
3637         * org-exp.el (org-export-add-subtree-options): Add new properties
3638         for subtree export.
3640         * org-docbook.el (org-export-docbook-keywords-markup)
3641         (org-export-docbook-timestamp-markup): New options.
3642         (org-export-docbook-protect-tags): New function.
3644 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3646         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3647         org-refile-target-verify-function for the duration of the command.
3649         * org.el (org-link-to-org-use-id): New possible value
3650         `create-if-interactive-and-no-custom-id'.
3651         (org-store-link): Use custom IDs.
3652         (org-link-search): Find custom ID properties from #link.
3653         (org-default-properties): Add CUSTOM_ID for property completion.
3654         (org-refile-target-verify-function): New option.
3655         (org-goto): Turn off org-refile-target-verify-function
3656         for the duration of the command.
3658 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3660         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3662         * org-exp.el (org-export-preferred-target-alist): New variable.
3663         (org-export-define-heading-targets): Find the new CUSTOM_ID
3664         property.
3665         (org-export-target-internal-links): Target the custom ids when
3666         possible.
3668         * org-latex.el (org-export-latex-preprocess): Better regexp for
3669         matching latex macros with arguments.
3671 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3673         * org-remember.el (org-remember-handler): Allow filing to non-org
3674         files.
3676 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3678         * org-feed.el (org-feed-alist): New keyword options.
3679         (org-feed-update): Use the new options.
3680         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3681         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3682         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3683         functions.
3685         * org-table.el (org-table-fix-formulas): Do not change references
3686         to remote tables.
3687         (org-table-get-remote-range): Convert standard coordinates to RC
3688         format.
3690         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3692 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3694         * org-compat.el (org-sha1-string): Function removed.
3696         * org.el (org-refile-allow-creating-parent-nodes): New option.
3697         (org-refile-get-location): New argument NEW-NODES.
3698         (org-refile): Call `org-refile-get-location' with the new
3699         argument.
3700         (org-refile-get-location): Arrange for adding a new child.
3701         (org-refile-new-child): New function.
3703         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3704         an additional span element.
3706         * org-clock.el: Fix a number of docstrings.
3707         (org-clock-find-position): New argument
3708         FIND-UNCLOSED to make the function find an unclosed clock in the
3709         entry.
3710         (org-clock-in): Call `org-clock-find-position' with the new
3711         argument if we might be resuming a clock.
3713 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3715         * org-latex.el (org-export-latex-display-custom-times): New variable.
3716         (org-export-latex-timestamp-markup): New option.
3717         (org-export-latex-set-initial-vars): Remember the local value of
3718         `org-display-custom-times'.
3719         (org-export-latex-content): Process time stamps.
3720         (org-export-latex-time-stamps): New function.
3722         * org-macs.el (org-maybe-intangible): Add intangible property
3723         again to invisible text.
3725 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3727         * org-exp.el (org-default-export-plist): Handle undefined
3728         variables.
3730 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3732         * org.el (org-sort-entries-or-items): Match TODO keywrds
3733         case-sensitively, when sorting.
3734         (org-priority): Do not match TODO keywords with wrong case.
3736 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3738         * org-feed.el (org-feed-update): Bind the variable
3739         `new-formatted'.
3741         * org-html.el (org-export-as-html): Start paragraphs after literal
3742         examples.
3744         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3745         literal examples.
3747 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3749         * org.el (org-todo): Honor the NOBLOCKING property.
3751         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3752         NOBLOCKING property.
3754         * org.el (org-scan-tags): Fix bug in tag scanner
3756 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3758         * org.el (org-modules): Mark obsolete packages.
3760         * org-html.el: New file, split out from org-exp.el.
3762         * org-icalendar.el: New file, split out from org-exp.el.
3764         * org-xoxo.el: New file, split out from org-exp.el.
3766         * org-ascii.el: New file, split out from org-exp.el.
3768 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3770         * org-compat.el (org-find-library-name): New function.
3772         * org.el (org-pre-cycle-hook): New hook.
3773         (org-cycle): Call the new hook in appropriate places.
3774         (org-reload): Only reload files that have been loaded before.
3776 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3778         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3779         after todo keyword.
3780         (org-todo): When changing TODO state, do matching
3781         case-sensitively.
3782         (org-map-continue-from): New variable.
3783         (org-scan-tags): Respect values in `org-map-continue-from'.
3784         (org-reload): Make XEmacs compatible.
3786 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3788         * org-protocol.el (org-protocol-flatten-greedy): New function.
3789         (org-protocol-flatten): New function.
3791         * org.el (org-open-link-from-string): Pass reference buffer to
3792         `org-open-at-point'.
3793         (org-open-at-point): New optional argument `reference-buffer'.
3795 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3797         * org.el (org-scan-tags): Make tag scan find headline in first
3798         line, 2nd attempt.
3799         (org-get-refile-targets): Add the naked file name.
3800         (org-refile): Store as top-level entry when only file name was
3801         given.
3803         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3805         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3806         Renamed from org-block-todo-from-children-or-siblings, and
3807         enhanced to look for the parent's status as well.
3809         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3810         (org-agenda-get-progress): Add first notes line to log entry if so
3811         desired.
3813 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3815         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3816         (org-agenda-cleanup-fancy-diary): Call the new hook.
3818         * org-remember.el (org-remember-apply-template): Take the default
3819         for the annotation from the :annotation property.
3821         * org-mac-message.el (org-mac-message-get-link): Remove the
3822         quotes.
3823         (org-mac-message-get-link): Return the result.
3825 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3827         * org.el (org-refile-get-location): Add file name only if not
3828         already included in outline path.
3830         * org-faces.el (org-n-level-faces): Fix customization type from
3831         number to integer.
3833         * org-exp.el (org-export-headline-levels): Fix customization type
3834         from number to integer.
3836         * org-agenda.el (org-agenda-confirm-kill)
3837         (org-agenda-custom-commands-local-options)
3838         (org-timeline-show-empty-dates, org-agenda-ndays)
3839         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3840         customization type from number to integer.
3842 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3844         * org-protocol.el: Declare some functions.
3846         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3847         postion before inserting modified headline.
3849         * org-agenda.el (org-agenda-compare-effort): Honor
3850         `org-sort-agenda-noeffort-is-high'.
3851         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3852         (org-agenda-compare-effort): Implement the "?" operator for
3853         finding entries without effort setting.
3855         * org.el (org-extract-attributes-from-string): New function.
3857         * org-exp.el (org-export-splice-attributes): New function.
3859 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3861         * org-mouse.el: XEmacs compatibility fixes
3863         * org-docbook.el (org-export-as-docbook): Process footnotes like
3864         normal text.
3866         * org.el (org-modules): Add org-inlinetasks.el
3867         (org-cycle): Implement limiting level on cycling.
3868         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3869         buffer.
3871         * org-inlinetask.el: New file.
3873         * org.el (org-emphasis-regexp-components): Allow braces in
3874         emphasis pre and post match.
3876         * org-footnote.el (org-footnote-normalize): When only dorting, do
3877         not insert inline notes at the end.
3879         * org-docbook.el (org-id-find-id-file): Add function declaration.
3881         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3883         * org-docbook.el: New file.
3885 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3887         * org.el (org-reftex-citation): New command.
3889 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3891         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3892         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3893         sorting options.
3894         (org-entries-lessp): Apply the new sorting option.
3896         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3897         blocker code, when an older sibling has children.
3899         * org-mac-message.el (org-mac-message-get-link): Improve getting
3900         links from multiple selected messages.
3902 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3904         * org-remember.el (org-remember-finalize): Do not set buffer file
3905         name to nil.
3906         (org-remember-handler): Mark buffer as unmodified.
3907         (org-remember-handler): Delete backup file and show message about
3908         remaining backup files.
3909         (org-remember-auto-remove-backup-files): New option.
3911         * org.el (org-store-link): Use buffer name as link description in
3912         w3-mode buffers.
3913         (org-ido-switchb): Fix argument bug for completion.
3915         * org-remember.el (org-remember-apply-template): Set local
3916         variable `auto-save-visited-file-name' instead of global one.
3918 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3920         * org-feed.el: Re-write.
3922         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3923         (org-agenda-get-todos): Mark file tags as inherited.
3924         (org-agenda-list): Always search diary lines for a time.
3926 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3928         * org-feed.el (org-feed-assume-stable): New option.
3929         (org-feed-before-adding-hook): New hook.
3931         * org-exp.el (org-export-as-html): Close local lists depending on
3932         indentation, also when starting a table.
3934         * org-remember.el (org-remember-backup-directory)
3935         (org-remember-backup-name): New internal variable.
3937 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3939         * org-clock.el (org-clock-out-if-current): Make buffer detection
3940         work in indirect buffers as well.
3942         * org.el (org-emphasis-regexp-components): Add the exxclamation
3943         mark to the post-emphasis characters.
3945 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3947         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3948         (org-read-date): Run the new hook.
3950         * org-mac-message.el (org-mac-flagged-mail): New group.
3951         (org-mac-mail-account): New variable.
3952         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3953         commands.
3955         * org-remember.el (org-remember-backup-directory): New variable.
3956         (org-remember-apply-template): Write file to backup directory.
3958 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3960         * org-mouse.el (org-mouse-todo-menu): New function.
3961         (org-mouse-todo-keywords): Function removed.
3962         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3964         * org-table.el (org-table-beginning-of-field)
3965         (org-table-end-of-field): New commands
3966         (org-table-previous-field, org-table-beginning-of-field): Better
3967         error messages.
3968         (orgtbl-setup): Include `M-a' and `M-e'.
3970         * org.el (org-backward-sentence, org-forward-sentence): New
3971         commands.
3973         * org-colview.el (org-colview-initial-truncate-line-value): New
3974         variable.
3975         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3976         (org-columns): Remember the value of `truncate-lines'.
3978         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3979         New variable.
3980         (org-columns-remove-overlays): Restore the value of
3981         `truncate-lines'.
3982         (org-columns): Remember the value of `truncate-lines'.
3984         * org.el (org-columns-skip-arrchived-trees): New option.
3986         * org-agenda.el (org-agenda-export-html-style): Define color for
3987         org-agenda-done face.
3988         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3989         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3991         * org.el (org-scan-tags): Use the new face.
3993         * org-faces.el (org-agenda-done): New face.
3995         * org.el (org-scan-tags): Test the value org
3996         `org-tags-match-list-sublevels'.
3997         (org-tags-match-list-sublevels): New allowed value: indented.
3999         * org-export-latex.el (org-export-latex-make-header): Apply macros
4000         in header.
4002         * org-exp.el (org-export-apply-macros-in-string): New function.
4004         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4005         with the definition of a checked box.
4007         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4009         * org-export-latex.el (org-export-latex-low-levels): More options
4010         for how to process lower levels in LaTeX.
4011         (org-export-latex-subcontent): Better treatment for lists as a
4012         means of publishing lower levels.
4014 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4016         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4018         * org-faces.el (org-checkbox): New face.
4020         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4021         fragement images if there is an export file.
4023 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4025         * org-agenda.el (org-stuck-projects): Document that the subtree of
4026         projects that are not stuck will now be searched for stuck
4027         sub-projects.
4028         (org-agenda-skip-entry-when-regexp-matches)
4029         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4030         (org-agenda-list-stuck-projects): Use
4031         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4033         * org-export-latex.el (org-export-latex-preprocess): Improve
4034         export of verses.
4036         * org-exp.el (org-export-as-html): Implement centering as a div
4037         rather than a paragraph.  Do a better job with line-end in verse
4038         environments.
4040 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4042         * org.el (org-open-at-point): Fix tags searches by mouse click.
4044 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4046         * org-export-latex.el (org-export-latex-preprocess): Implement the
4047         centering markup.
4049         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4050         from `org-export-mark-blockquote-and-verse'.
4051         (org-export-as-html): Implement the centering markup.
4053         * org-export-latex.el (org-export-latex-tables): Fix vertical
4054         lines in tables.
4056 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4058         * org.el (org-read-date-history): New variable.
4059         (org-read-date): Use new history variable.
4060         (org-toggle-heading): Fix bug when used before first headline.
4061         (org-store-log-note): Remove drawer if empty while note is
4062         aborted.
4063         (org-remove-empty-drawer-at): New function.
4064         (org-check-after-date): New command.
4065         (org-sparse-tree): New sparse tree command "a".
4067         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4069 2009-03-14  Bastien Guerry  <bzg@altern.org>
4071         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4072         column and a space, not only a column.
4074 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4076         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4077         defaults for verbose emphasis.
4078         (org-export-latex-emph-format): New function.
4079         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4081         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4082         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4083         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4084         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4085         commands.
4087         * org.el (org-timestamp-change): Move end-time along with start
4088         time.
4090 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4092         * org-exp.el (org-export-target-internal-links)
4093         (org-export-as-html): Protect links specified as #name.
4095 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4097         * org.el (org-clone-subtree-with-time-shift): New command.
4099         * org-export-latex.el (org-export-latex-special-chars)
4100         (org-export-latex-treat-sub-super-char): Fix subscript export.
4102         * org-exp.el (org-create-multibrace-regexp): Do not add
4103         backslashes to the class.
4105 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4107         * org-colview.el (org-columns-map): Better functions for moving up
4108         and down a row, even if `truncate-line' is nil.
4110         * org.el (org-insert-todo-heading): Make sure the keyword is
4111         inserted at the correct position.
4113         * org-publish.el (org-publish-project-alist)
4114         (org-publish-projects, org-publish-org-index): Change default anme
4115         for the index of file names to "sitemap.org".
4117         * org-export-latex.el (org-export-latex-tables): Use
4118         `org-split-string', for Emacs 21 compatibility.
4120 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4122         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4124 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4126         * org-exp.el (org-export-page-description)
4127         (org-export-page-keywords): New variables.
4128         (org-export-plist-vars): Add entries for :keywords and
4129         :description.
4130         (org-infile-export-plist): Parse for new keywords.
4131         (org-get-current-options): Add new keywords
4132         (org-export-as-html): Publish description and keywords.
4134         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4135         option.
4136         (org-agenda-add-entry-text): Honor
4137         `org-agenda-add-entry-text-descriptive-links'.
4139         * org-export-latex.el (org-export-latex-preprocess): Make all
4140         external preprocess functions use a PARAMETER arg.
4142         * org-exp.el (org-export-preprocess-string)
4143         (org-export-select-backend-specific-text)
4144         (org-export-format-source-code-or-example)
4145         (org-format-org-table-html): Support docbook export.
4146         (org-export-preprocess-string): Make all external preprocess
4147         functions use a PARAMETER arg.
4149 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4151         * org-exp.el (org-export-html-style-include-scripts): New option.
4152         (org-export-plist-vars): Add new option
4153         `org-export-html-style-include-scripts'.
4154         (org-export-as-html): Honor new option
4155         `org-export-html-style-include-scripts'.
4156         (org-export-html-scripts, org-export-html-style-default): Fix
4157         xml issues with the Safari browser.
4159 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4161         * org-publish.el (org-publish-attachment): Only copy file when the
4162         directories differ.
4164 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4166         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4167         for clocktable steps.
4169         * org.el (org-additional-option-like-keywords): Add two more
4170         keywords.
4172 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4174         * org-exp.el (org-export-format-source-code-or-example): Mark
4175         temporary buffer unmodified, so that it will be killed even if
4176         mode like message mode has decided to assign a file name.
4178         * org.el (org-scan-tags): Improve tag inheritance.
4179         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4180         case-sensitive.
4181         (org-scan-tags): Use the internal tags list instead of creating it
4182         from scratch.
4183         (org-trust-scanner-tags, org-scanner-tags): New variables.
4184         (org-scan-tags): Set `org-scanner-tags'.
4185         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4186         (org-map-entries): Document the possible speedup using scanner
4187         tags.
4189 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4191         * org.el (org-add-planning-info): Fix bug with looking for keyword
4192         only at column 0.
4194         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4195         option for tags filter preset.
4196         (org-prepare-agenda): Store filter preset as a property on the
4197         filter variable.
4198         (org-finalize-agenda): Call the filter, if there is a preset.
4199         (org-agenda-filter-by-tag): Filter again after clearing the
4200         filter, when there still is a preset.
4201         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4202         Include the preset filter.
4203         (org-agenda-redo): Apply the filter again, also the preset filter.
4205         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4207         * org.el (org-uuidgen-p): New funtion.
4209         * org-agenda.el (org-agenda-fontify-priorities): New default value
4210         `cookies'.
4211         (org-agenda-fontify-priorities): Renamed from
4212         org-fontify-priorities.
4214         * org.el (org-set-font-lock-defaults): Call
4215         `org-font-lock-add-priority-faces'.
4216         (org-font-lock-add-priority-faces): New function.
4218         * org-faces.el: (org-set-tag-faces): New option.
4219         (org-priority-faces): New variable.
4221         * org-exp.el (org-export-as-html): Add a "content" div around the
4222         entire content of the body tag.
4223         (org-export-html-get-bibliography): New function.
4224         (org-export-html-validation-link): New variable.
4225         (org-export-as-html): Add validation link to exported page.
4227         * org.el (org-match-sparse-tree): Renamed from
4228         `org-tags-sparse-tree'.
4229         (org-tags-sparse-tree): New alias.
4231 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4233         * org.el (org-get-valid-level): Catch the case where the level
4234         change is nil.
4236         * org-clock.el (org-clock-find-position): Better indentation of
4237         new clock drawers.
4239 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4241         * org-agenda.el (org-agenda-quit): Delete window only when the
4242         frame-setup was not `current-window'.
4244         * org.el (org-tag-persistent-alist): New option.
4245         (org-startup-options): Add keyword `noptag'.
4246         (org-fast-todo-selection): Handle :newline correctly.
4247         (org-set-tags): Handle :newline correctly.
4248         (org-fast-tag-selection): Handle :newline correctly.
4250 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4252         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4253         outputting it.
4254         (org-export-ascii-push-links): Fix bug with pussing links into the
4255         export buffer.
4257 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4259         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4260         pasting at top level.
4262         * org-bbdb.el: Improve documentation.
4264 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4266         * org-list.el (org-insert-item): Only consider insert empty lines
4267         is `org-empty-line-terminates-plain-lists' is not nil.
4269         * org.el (org-blank-before-new-entry): Mention the dependence on
4270         `org-empty-line-terminates-plain-lists' in the docstring.
4272         * org-publish.el (org-publish-get-project-from-filename): New
4273         optional argument UP.  Only find the top project if UP is set.
4274         (org-publish-current-project): Find the top encloding project.
4276         * org-agenda.el (org-agenda-before-write-hook)
4277         (org-agenda-add-entry-text-maxlines): New options.
4278         (org-write-agenda): Run the new hook in the temporary buffer.
4279         (org-agenda-add-entry-text): New function.
4280         (org-write-agenda): Implement PDF export, using ps2pdf.
4282         * org.el (org-global-properties-fixed, org-global-properties):
4283         Improve documentation string.
4285         * org-exp.el (org-export-ascii-links-to-notes): New option.
4286         (org-export-as-ascii): Handle links better.
4287         (org-export-ascii-wrap, org-export-ascii-push-links): New
4288         functions.
4290 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4292         * org-agenda.el (org-agenda): Make prefix arg optional.
4293         (org-agenda-search-headline-for-time): New option.
4294         (org-format-agenda-item): Honor
4295         `org-agenda-search-headline-for-time'.
4297         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4298         characters.
4300         * org.el (org-self-insert-cluster-for-undo): New option.
4301         (org-self-insert-command): Cluster undo for 20 characters.
4302         (org-self-insert-command-undo-counter): New variable.
4304 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4306         * org-exp.el (org-export-as-html): Fix problem with closing colone
4307         example.
4309 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4311         * org-export-latex.el (org-export-as-latex)
4312         (org-export-latex-first-lines): Avoid modification flag when
4313         adding or removing text properties.
4314         (org-export-latex-fontify): Catch error when org-emph-alist has
4315         entries that are not defined for LaTeX export.
4317         * org.el (orgstruct++-mode): New function.
4318         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4319         (org-context-p): Allow detecting item context after the first line
4320         of an item.
4321         (orgstruct-make-binding): Detect if item-body context should be
4322         seen.
4323         (orgstruct-is-++): New variable.
4324         (org-add-planning-info): Catch the case when there is no planning
4325         info yet and the call does not want to add anything, only maybe
4326         tries to remove something.
4327         (org-special-ctrl-a/e): All value to be a cons cell with separate
4328         settings for `C-a. and `C-e'.
4329         (org-beginning-of-line, org-end-of-line): Honor separate values
4330         for `C-a' and `C-e'.
4332 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4334         * org.el (org-reload): New command.
4336 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4338         * org-exp.el (org-export-htm-get-tag-class-name)
4339         (org-export-htm-get-todo-kwd-class-name): New functions.
4340         (org-export-html-tag-class-prefix)
4341         (org-export-html-todo-kwd-class-prefix): New options.
4342         (org-export-as-html): Call
4343         `org-export-html-get-todo-kwd-class-name'.
4344         (org-html-level-start): Wrap tags into classes.
4345         (org-export-html-get-tag-class-name)
4346         (org-export-html-get-todo-kwd-class-name): New functions.
4348         * org-export-latex.el (org-export-latex-collect-header-macros):
4349         Remove fields that are used anyway.
4350         (org-export-latex-make-header): Insert the options earlier.
4352         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4353         matching.
4355         * org-list.el (org-indent-item): Allow point to be at the end of
4356         the region.
4358         * org.el (org-metaleft, org-metaright): Be more accurate about
4359         detecting a region where commands apply.
4361         * org-compat.el (org-cursor-to-region-beginning): New function.
4363         * org.el (org-priority): Also find invisible heading.
4365         * org-colview-xemacs.el (org-columns-edit-value): No special
4366         treatment for `org-todo' prefix.
4368         * org-colview.el (org-columns-edit-value): No special treatment
4369         for `org-todo' prefix.
4371         * org-remember.el (org-remember-apply-template): Use
4372         `org-completing-read-no-ido'.
4374         * org.el (org-completing-read-no-ido): New function.
4375         (org-make-tags-matcher, org-set-property): Use
4376         `org-completing-read-no-ido'.
4378         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4379         New option.
4380         (org-export-as-latex): Import in-buffer settings as TeX macros.
4381         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4382         (org-export-latex-collect-header-macros): New function.
4384         * org.el (org-refile-get-location): Turn off
4385         `partial-completion-mode'.
4387 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4389         * org.el (org-block-todo-from-checkboxes): Announce that
4390         checkboxes are the culprit.
4391         (org-block-todo-from-children-or-siblings): Call
4392         `org-up-heading-all instead' of `outline-up-heading'.
4394         * org-agenda.el (org-agenda-show-1): Renamed from
4395         `org-agenda-show'.
4396         (org-agenda-show): Re-install the old version for now.
4397         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4398         variable into the blokker hook, so that the checkbox checker can
4399         anounce that it caused the blocking.
4401         * org.el (org-track-ordered-property-with-tag): New option.
4402         (org-toggle-ordered-property): Honor
4403         `org-track-ordered-property-with-tag'.
4404         (org-tag-alist): Add newline options.
4405         (org-set-regexps-and-options): Separate option lines imply a
4406         newline.
4407         (org-set-regexps-and-options, org-assign-fast-keys)
4408         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4409         option.
4410         (org-indent-line-function): Make sure this works even if there is
4411         not `org-drawer-regexp' defined.  This can happen when
4412         orgstruct-mode is used in a non-org buffer.
4414         * org-list.el (org-checkbox-blocked-p): New function.
4415         (org-toggle-checkbox): Check for blocking.
4417         * org.el (org-modules): Add an entry for org-R.el.
4419         * org-agenda.el (org-agenda-todo-ignore-with-date)
4420         (org-agenda-todo-ignore-scheduled)
4421         (org-agenda-todo-ignore-deadlines): Mention the variable
4422         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4424         * org.el (org-get-wdays): Find the warning period also if it is in
4425         the wrong place.
4426         (org-ido-completing-read): Provide the correct arguments to
4427         ido-completing-read and bind `ido-enter-matching-directory' to
4428         nil.
4430 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4432         * org.el (org-olpath-completing-read): Never use ido for this
4433         one.
4435         * org-exp.el (org-export-normalize-links): Use new macro.
4437         * org-macs.el (org-if-unprotected-at): New macro.
4439         * org-agenda.el (org-agenda-show): Allow numerical prefix
4440         arguments to specify how much context should be shown.
4441         (org-agenda-cycle-show): New command, could be bound to SPC in
4442         org-agenda-mode-map.
4444         * org-exp.el (org-html-level-start): Space after section number.
4446 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4448         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4449         property, for sorting.
4450         (org-cmp-todo-state): Get the applicable TODO keywords directly
4451         from the buffer.
4452         (org-run-agenda-series, org-agenda-list, org-search-view)
4453         (org-todo-list, org-tags-view): Only fit agenda window when the
4454         whole series is done.
4456         * org.el (org-scan-tags): Add todo state as property, for sorting.
4458         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4459         `org-agenda-overriding-header' as an option.
4460         (org-agenda-list): Honor org-agenda-overriding-header'.
4462 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4464         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4465         after removing a checkbox.
4467         * org.el (org-show-entry): Make this work correctly also if it is
4468         the last entry in the file.
4469         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4470         falling back to normal, default command.
4471         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4472         item, call the checkbox toggler to get a box.
4474         * org-list.el (org-toggle-checkbox): Make double prefix set the
4475         checkbox to "[-]".
4476         (org-fix-bullet-type): Only replace bullet if it is changed.
4477         (org-renumber-ordered-list): Handle case when first item does not
4478         have a number.
4480         * org.el (org-add-log-setup): Fix positioning when
4481         `org-log-states-order-reversed' is nil.
4483         * org-clock.el (org-clock-in): Fix positioning when
4484         `org-log-states-order-reversed' is nil.
4485         (org-clock-find-position): Fix positioning when
4486         `org-log-states-order-reversed' is nil.
4488 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4490         * org-clock.el (org-clock-into-drawer): Take default from
4491         `org-log-into-drawer'.
4492         (org-clock-find-position): Look for the correct drawer.
4494         * org.el (org-log-into-drawer): Renamed from
4495         `org-log-state-notes-into-drawer'.
4496         (org-log-state-notes-into-drawer): New variable alias.
4497         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4498         CLOCK.
4499         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4501 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4503         * org-agenda.el (org-agenda): Fix docstring.
4505         * org.el ("org-plot"): Help loading org-plot.
4506         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4507         (org-metadown-hook, org-shiftmetaleft-hook)
4508         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4509         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4510         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4511         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4512         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4514         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4515         for selecting files with any (and even without) extension.
4517         * org.el (org-save-all-org-buffers): Also save id locations.
4518         (org-revert-all-org-buffers): Also load id locations.
4520 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4521         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4522         (org-log-state-notes-into-drawer): New option.
4523         (org-add-log-setup): Place the sate note marker into the drawer,
4524         create drawer when necessary.
4525         (org-refile-targets): Document special interpretation of LEVEL
4526         when odd-levels are used.
4528 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4530         * org.el (org-store-log-note): Fix note indentation when adding
4531         notes to end of list.
4533         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4534         class, so that each keyword can get special colors through CSS.
4536         * org-clock.el (org-clock-out): Add another nil for the previous
4537         state into the call to `org-add-log-setup'.
4539         * org.el (org-log-note-previous-state): New variable.
4540         (org-log-note-headings): New %S escape for old state.
4541         (org-todo): Call the note setup with the old state as an
4542         argument.
4543         (org-add-note): Add another nil for the previous state into the
4544         call to `org-add-log-setup'.
4545         (org-add-log-setup): New argument PREV-STATE.
4546         (org-add-log-note): Handle new %S escape.
4547         (org-store-log-note): Handle new %S escape.
4549 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4551         * org-clock.el (org-clock-find-position): Do not swallow an item
4552         less indented than the CLOCK line itself.
4553         (org-clock-in): Push markers to lin after the clock line.
4554         (org-clock-find-position): Handle values of
4555         `org-clock-into-drawer' smaller than 2.
4557         * org-exp.el (org-html-level-start): Add a CSS class to section
4558         numbers.
4559         (org-export-html-toplevel-hlevel): Better documentation of the
4560         influence of this variables on H levels and css classes in
4561         export.
4563 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4565         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4566         timestamp and nottimestamp to the chooe menu.
4568         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4569         (org-revert-all-org-buffers): New command.
4571 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4573         * org.el (org-return): Implement `org-return-follows-link' in the
4574         function org-return.  This is more robust than using the mouse
4575         map, I think.
4576         (org-set-regexps-and-options): Match more general #+TODO lines.
4577         (org-make-options-regexp): New optional argument EXTRA, for an
4578         extra regexp.
4579         (org-tab-follows-link): Mark as deprecated.
4581 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4583         * org-exp.el (org-export-preprocess-string): Remove clock lines
4584         earlier, so that they cannot cotribute to verbatim snippets.
4586 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4588         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4589         for finding drawers.
4590         (org-export-as-ascii, org-export-as-html): Count levels relative
4591         to the subtree header.
4592         (org-get-min-level): New optional argument OFFSET.
4593         (org-export): Make sure point is restored after popping up that
4594         window.
4596         * org.el (org-do-sort): Also take an inactive timestamp if no
4597         active one is found.
4599         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4600         deleting duplicates.
4602         * org-colview.el (org-columns-capture-view): Copy before
4603         deleting duplicates.
4605         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4606         text before first headline.
4608         * org.el (org-format-latex): Do not convert LaTeX fragments in
4609         protected examples.
4611 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4613         * org-exp.el (org-export-html-style-default): Use color values
4614         instead of names for XHTML validation.
4616         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4617         functions.
4618         (org-return-follows-link): Revert making this the default untile
4619         issues are resolved.
4621         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4622         nottimestamp.
4624 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4626         * org.el (org-mode): Make dependence stuff work more reliably.
4627         (org-update-parent-todo-statistics): Fix bug with updating
4628         statistics cookie.
4630         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4631         ~ as verbatim delimiters.
4633         * org-exp.el (org-export-html-format-image): New argument
4634         PAR-OPEN.
4635         (org-export-as-html): Pass par-open to
4636         `org-export-html-format-image'.
4638 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4640         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4641         (org-use-fast-todo-selection, org-tags-column): New default
4642         setting for variables, based on a poll what typical uses use.
4644         * org-agenda.el (org-agenda-sorting-strategy)
4645         (org-agenda-tags-column): New default setting for variables, based
4646         on a poll what typical uses use.
4648 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4650         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4651         blocked entries from setting the blocked tag.
4653         * org-exp.el (org-export-html-footnotes-section): Use a more
4654         consistent id for footnotes.
4656         * org-export-latex.el (org-export-latex-classes): Remove the
4657         a4paper option from the default styles.
4659 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4661         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4662         (org-block-todo-from-checkboxes): New function.
4663         (org-todo): Make tripple prefix arg circumvent blocking.
4665         * org-timer.el (org-timer): Provide the timer feature.
4667         * org.el (org-require-autoloaded-modules): Add a few more files to
4668         the list of autoloaded modules.
4670         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4672 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4674         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4675         drawers that are unprotected.
4676         (org-export-html-format-image): Make sure inlined LaTeX fragment
4677         images remain inlined.
4679         * org.el (org-toggle-ordered-property): New function.
4680         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4681         (org-org-menu): Add menu entries for TODO dependencies.
4683 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4685         * org.el (org-default-properties): Add ORDERED to the default
4686         properties, to get completion support for it.
4688         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4690         * org.el (org-update-parent-todo-statistics): Update more than one
4691         cookie.
4693         * org-agenda.el (org-agenda-get-todos): Start search from correct
4694         position.
4696         * org.el (org-fast-todo-selection): Make sure TODO selection does
4697         not change buffer position.
4699         * org-list.el (org-toggle-checkbox): Implement adding or removing
4700         checkboxes from line or region when called with a prefix
4701         argument.
4703         * org-rmail.el (org-rmail-store-link): Protect the call to
4704         `rmail-narrow-to-non-pruned-header'.
4706         * org-clock.el (org-clock-special-range): Fix week display in
4707         clock tables.
4709         * org-exp.el (org-get-current-options): Fix bug when in indirect
4710         buffer.
4712 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4714         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4715         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4716         (org-agenda-dim-blocked-tasks): New function.
4718         * org.el (org-enforce-todo-dependencies): New option.
4719         (org-block-todo-from-children-or-siblings): New function.
4721         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4723         * org.el (org-todo): Return correct state type even if the blocker
4724         throws an error.
4725         (org-modifier-cursor-error): Renamed from
4726         `org-shiftcursor-error'.
4727         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4728         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4730         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4731         to get real errors from the blocker hook.
4733         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4734         functions.
4735         (org-set-visibility-according-to-property): Turn off the setting
4736         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4737         property.
4739 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4741         * org.el (org-support-shift-select): New option.
4742         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4743         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4744         selection outside contexts.
4746         * org-list.el (org-at-item-bullet-p): New function.
4748         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4749         variables.
4751         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4752         variable.
4753         (org-insert-footnote-reference-near-definition): Remove
4754         unnecessary let form.
4756         * org-export-latex.el (org-export-latex-first-lines): Add
4757         OPT-PLIST parameter.
4758         (org-export-as-latex): Call `org-export-latex-first-lines' with
4759         opt-plits parameter.
4760         (org-export-latex-preprocess): Remove unnecessary variables.
4762         * org-exp.el (org-infile-export-plist)
4763         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4764         (org-export-remove-headline-metadata)
4765         (org-export-get-title-from-subtree, org-get-min-level)
4766         (org-html-do-expand): Remove innecessary let form.
4768         * org-colview-xemacs.el (org-columns-display-here): Remove
4769         unnecessary variables.
4771         * org-colview.el (org-columns-display-here): Remove unnecessary
4772         variables.
4774         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4775         variables.
4777         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4778         unnecessary variables.
4780         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4781         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4782         variables.
4784         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4785         (org-compact-display-after-subtree-move): Remove unnecessary
4786         variables.
4787         (org-edit-fixed-width-region): Remove unnecessary variables.
4788         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4789         (org-olpath-completing-read): Remove unnecessary variable.
4790         (org-auto-repeat-maybe): Remove unnecessary variable.
4791         (org-map-entries): Remove unnecessary variable.
4792         (org-buffer-property-keys, org-imenu-get-tree)
4793         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4795 -----------------------------------------------------------------
4797 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4798         * org-exp.el (org-export-remove-timestamps): Never remove
4799         timestamps from tables.
4801         * org-export-latex.el (org-export-latex-first-lines): Add more
4802         options to the preprocessing of the text before the first
4803         headline.
4805 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4807         * org-faces.el (org-clock-overlay): Make face compatible with
4808         XEmacs.
4810         * org.el (org-yank): Add property for delete-selection mode.
4812         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4814         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4815         variable.
4817         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4818         to `backward-char'.
4820         * org-exp.el (org-export-as-html): Remove the initial space from
4821         colon examples.
4823         * org.el (org-scan-tags): Call
4824         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4826         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4827         customization groups.
4828         (org-agenda-tags-todo-honor-ignore-options): New option.
4829         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4830         New function.
4831         (org-agenda-get-todos): Use
4832         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4834 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4836         * org-exp.el (org-export-format-source-code-or-example): Escape
4837         HTML characters also in examples that anre not treated with
4838         htmlize.  Also, just switch to EXAMPLE processing if we do not
4839         have a good version of htmlize.
4841         * org-rmail.el: Fix copyright notice.
4843         * org.el (org-activate-footnote-links): Improve footnote link
4844         highlighting.
4846         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4847         a footnote definition at the end of the file.
4849         * org-table.el (org-table-get-specials): Add an imagined hline at
4850         the end of the table.  This can be useful for references that want
4851         to go to the end of the table.  Also fix bug when computing last
4852         row constants, in tables that do not start right at the right
4853         margin.
4854         (org-table-eval-formula): Match and replace remove references.
4855         (org-table-formula-substitute-names): Make sure that names inside
4856         a "remote" call are left alone, the will be replaced later when
4857         the remote call is handled.
4858         (org-table-convert-refs-to-rc): Do not convert things that might
4859         look like a reference, but are really part of an ID or namei n a
4860         remote reference.
4861         (org-table-get-remote-range): New function.
4863 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4865         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4867         * org-clock.el (org-clock-put-overlay): Use new face instead of
4868         `secondary-selection'.
4870         * org-faces.el (org-clock-overlay): New face.
4872 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4874         * org-exp.el (org-get-current-options): Include the option for
4875         publishing time stamps.
4877         * org.el (org-toggle-heading): Renamed from
4878         `org-toggel-region-headings'.
4879         No longer needs a region defined, but will use it if there is one.
4880         (org-ctrl-c-star): Simplified, relying more on the internal
4881         workings of `org-toggle-heading'.
4882         (org-toggle-item): Renamed from `org-toggle-region-items'.
4883         No longer needs a region defined, but will use it if there is one.
4884         (org-ctrl-c-minus): Simplified, relying more on the inernal
4885         workings of `org-toggle-item'.
4887         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4888         environment detection.  Also, do real changes only in unprotected
4889         places.
4891 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4893         * org-export-latex.el (org-export-latex-quotation-marks): Use
4894         `org-if-unprotected-1'.
4895         (org-export-latex-set-initial-vars): Check for class definition in
4896         property.
4898         * org-macs.el (org-if-unprotected-1): New macro.
4900 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4902         * org-compat.el (org-count-lines): New function.
4904         * org-exp.el (org-export-format-source-code-or-example): Handle
4905         switches related to text areas.
4907         * org.el (org-activate-footnote-links): Don't allow match inside a
4908         link.
4910         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4912         * org-export-latex.el (org-export-latex-links): Keep a relative
4913         path relative also after export.
4915         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4917         * org.el (org-make-tags-matcher): Never use IDO for completing the
4918         tags matcher match string.
4919         (org-completing-read): Also remove the special biding for "?".
4921         * org-attach.el (org-attach-allow-inheritance): New option.
4922         (org-attach-inherited): New variable.
4923         (org-attach-dir): Handle properties related to the attachment
4924         directory.
4925         (org-attach-check-absolute-path): New function.
4926         (org-attach-set-directory, org-attach-set-inherit): New commands.
4927         (org-attach): Accommodate the new commands in the dispatcher.
4929 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4931         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4932         `window-full-width-p'.
4934         * org-exp.el (org-export-as-html): Only check for images files
4935         that really can be inlined
4937         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4938         list of extensions to be a parameter.
4940         * org-exp.el (org-export-html-inline-image-extensions): New
4941         variable.
4943         * org-agenda.el (org-prepare-agenda): Use
4944         `org-agenda-block-separator'.
4945         (org-agenda-block-separator): New option.
4947 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4949         * org-export-latex.el (org-export-latex-tables): Call
4950         `org-table-clean-before-export' with the new optional argument.
4952         * org-exp.el (org-table-clean-before-export): New optional
4953         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4954         first column.
4956 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4958         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4959         histograms.
4961         * org-colview.el (org-colview-construct-allowed-dates): Better
4962         error catching when a date/time property does not have allowed
4963         values defined.
4965         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4966         Better error catching when a date/time property does not have
4967         allowed values defined.
4969 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4971         * org.el (org-map-entries): Restore point and restriction after
4972         `org-map-entries'.
4974 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4976         * org.el (org-time=, org-time<, org-time<=, org-time>)
4977         (org-time>=, org-time<>): Make sure both values are dates.
4979 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4981         * org-archive.el (org-extract-archive-heading): Allow %s for file
4982         name also in achive location heading.
4984 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4986         * org-archive.el (org-add-archive-files): Uniquify the list before
4987         returning it.
4989 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4991         * org-compat.el (org-fit-window-to-buffer): Use
4992         `window-full-width-p'.
4994         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4995         space after the colon in short examples.
4997         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4998         enforce a space after the colon.  However, we also allow lines
4999         that are *only* a colon.
5000         (org-export-as-html): Enforce the space after the colon in short
5001         examples.
5002         (org-export-preprocess-string): Do the colon example protection
5003         earlier.
5004         (org-export-remove-timestamps): Do not check for protection at the
5005         end of the line.
5007 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5009         * org.el (org-format-latex-options): Add new matcher for single
5010         letters between dollars.
5011         (org-get-header): Function removed.
5012         (org-heading-components): New function.
5014         * org-exp.el (org-export-define-heading-targets): Record ID's also
5015         as alternative targets.
5016         (org-export-as-html): Interpret "id:" links to other files by
5017         preserving the relative path.
5019         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5020         is nil.
5022         * org-exp.el (org-export-normalize-links): Protect the main link,
5023         to avoid special character processing.
5025         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5026         New variable.
5027         (org-export-latex-special-string-regexps): Variable removed.
5028         (org-export-latex-keywords): Use the new regexp.
5030         * org-exp.el (org-export-handle-include-files): Fetch switches and
5031         put them into the BEGIN statement.
5033         * org-timer.el (org-timer-mode-line-string): New variable.
5035         * org-clock.el (org-clock-mode-line-map): Renamed from
5036         `org-clock-mode-map'.
5037         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5038         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5039         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5040         (org-clock-remove-overlays): Renamed from
5041         `org-remove-clock-overlays'.
5043         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5044         and mode line display.
5045         (org-timer-stop): New command.
5046         (org-timer-seconds): Return correct time when timer is paused.
5047         (org-timer-mode-line-timer): New variable.
5048         (org-timer-set-mode-line, org-timer-update-mode-line): New
5049         functions.
5051         * org.el (org-insert-heading):  Handle new value `auto' for
5052         `org-blank-before-new-entry'.
5053         (org-org-menu): Add new items for timer functions.
5055         * org-list.el (org-insert-item): Handle new value `auto' for
5056         `org-blank-before-new-entry'.
5058         * org.el (org-blank-before-new-entry): New value `auto', made
5059         default.
5061 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5063         * org-exp.el (org-export-normalize-links): If the link is also
5064         used as the description, protect the description.
5066 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5068         * org.el (org-closest-date): Fix bug with yearly repeats, in
5069         combination with preference of the past as it is used for deadline
5070         and scheduling search.
5072         * org-exp.el (org-html-handle-time-stamps): No longer check for
5073         the `org-export-with-timestamps' option, because the preprocesser
5074         has taken care of this already.
5076         * org.el (org-entry-properties): Catch the case when this is
5077         called in a non-org-mode file.
5079         * org-export-latex.el (org-export-latex-remove-from-headlines):
5080         Variable made obsolete, also LaTeX export now uses the standard
5081         variables.
5082         (org-export-as-latex): Add the timestamps parameter to the
5083         preprocessor parameter list.
5084         (org-export-latex-content): Export the remaining keywords without
5085         considering to remove them.
5086         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5087         Use bold font instead of tt font for the keywords.
5088         (org-export-latex-fontify-headline): Format headlines, assuming
5089         that all keywords still present should be published.
5090         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5091         publish what ever remains of the time stamps.
5092         (org-export-latex-list-parameters): New option.
5093         (org-export-latex-lists): Pass additional parameters to the list
5094         converter.
5096         * org-exp.el (org-export-preprocess-string): Remove clock lines
5097         and timestamps already in the preprocesor.
5098         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5099         functions.
5100         (org-export-as-ascii, org-export-as-html): Add the timestamps
5101         parameter to the preprocessor parameter list.
5103         * org-list.el (org-list-parse-list): Parse for checkboxes.
5104         (org-list-to-generic): Introduce and handle new parameters :cbon
5105         and :cboff.
5106         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5107         optional parameter PARAMS.
5109         * org-export-latex.el (org-export-latex-special-chars): Fix
5110         problems with interpreting dollar signs.
5111         (org-inside-latex-math-p): New function.
5112         (org-export-latex-preprocess): Protect all the math fragments.
5114         * org.el (org-latex-regexps): Allow a dash after a dollar.
5116         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5117         mark after copying.
5119         * org-agenda.el (org-run-agenda-series): Have series options set
5120         when finalizing the agenda.
5122         * org-exp.el (org-export-format-source-code-or-example): Protect
5123         the converted examples.
5125         * org.el (org-set-regexps-and-options): Fix the regexp
5126         `org-complex-heading-regexp'.
5128 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5130         * org.el (org-edit-src-get-label-format): New function.
5131         (org-coderef-label-format): New option.
5132         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5133         a label format specification and make sure it is used in the edit
5134         buffer.
5135         (org-edit-src-get-label-format): New function.
5136         (org-store-link): Handle new coderef formats.
5137         (org-link-search): Handle new coderef formats.
5139         * org-footnote.el (org-footnote-create-definition)
5140         (org-footnote-goto-local-insertion-point): Make footnote insertion
5141         work correctly when the "Footnotes" headline is the last line in
5142         the buffer.
5144         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5145         the location.
5147 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5149         * org-w3m.el (org-w3m): New customization group.
5150         (org-w3m-deactivate-mark): New option.
5151         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5152         option say not to.
5154 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5156         * org.el (org-set-font-lock-defaults): Trigger footnote
5157         fontification.
5158         (org-activate-footnote-links): New function.
5159         (org-activate-links): New entry `footnote'.
5161         * org-faces.el (org-footnote): New face.
5163 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5165         * org-macs.el (org-re): Handle the [:word:] class.
5167         * org-exp.el (org-export-preprocess-string): Call
5168         `org-export-protect-colon-examples'.
5169         (org-export-protect-colon-examples): Renamed from
5170         `org-export-protect-examples', and scope limited to lines starting
5171         with a colon.
5173 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5175         * org-exp.el (org-export-preprocess-string): Move the preprocess
5176         hook to after turning on Org-mode.
5177         (org-export-preprocess-after-include-files-hook)
5178         (org-export-preprocess-after-tree-selection-hook)
5179         (org-export-preprocess-before-backend-specifics-hook)
5180         (org-export-preprocess-final-hook): New hooks.
5181         (org-export-preprocess-string): Run the new hooks.
5183         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5185         * org-footnote.el: New file.
5187         * org.el (org-footnote): Require footnote code.
5188         (org-startup-options): Add new footnote options.
5189         (org-mode-map): New keybindig for footnotes.
5190         (org-ctrl-c-ctrl-c): Add function at footnotes.
5191         (org-org-menu): New menu entries for footnotes.
5193         * org-export-latex.el (org-export-as-latex): Pass footnote
5194         variable to preprocessor.
5195         (org-export-latex-preprocess): Treat multiple references to a
5196         footnote.
5198         * org-exp.el (org-export-preprocess-string): Call
5199         `org-footnote-normalize'.
5200         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5201         to preprocessor.
5202         (org-export-as-html): Treat multiple references to a footnote.
5204 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5206         * org-export-latex.el (org-export-latex-links): Handle coderef
5207         links.
5209         * org.el (org-bracket-link-analytic-regexp++): New variable.
5210         (org-make-link-regexps): Initialize
5211         `org-bracket-link-analytic-regexp++'.
5212         (org-store-link): Implement special case in edit-src buffer.
5213         (org-insert-link): No use of ide to insert stored links.
5214         (org-link-search): Implement special case for coderefs.
5216         * org-exp.el (org-export-html-scripts): New constant.
5217         (org-export-html-style-default): Add a new style for highlighted
5218         code.
5219         (org-export-code-refs): New variable.
5220         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5221         Call `org-export-replace-src-segments-and-examples'
5222         No longer call `org-export-protect-examples'.
5223         (org-export-target-internal-links): Take care of coderef targets.
5224         (org-export-last-code-line-counter-value): New variable.
5225         (org-export-replace-src-segments-and-examples): Renamed from
5226         `org-export-replace-src-segments', and modified.
5227         (org-export-format-source-code-or-example): Renamed from
5228         `org-export-format-source-code'.
5229         (org-export-number-lines): New function.
5230         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5232 --------------------------------------------------------------------------
5234 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5236         * org-remember.el (org-remember-handler): Safer way to get a new
5237         buffer accessing the target file.
5239         * org.el (org-refile-get-location): Handle case of current buffer
5240         not having a file associated with it.
5242 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5244         * org-table.el (org-table-get-formula): Only ask to overwrite
5245         field formula if there really is one.
5247         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5248         number, by converting these to a string.
5250         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5251         located in a different file.
5253         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5254         org-colview.el.
5256 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5258         * org.el (org-completion-use-ido): Enhance docstring of
5259         `org-completion-use-ido'.
5261         * org-export-latex.el (org-export-latex-make-header): Double the %
5262         in the time stamp format.
5263         (org-export-latex-special-chars): Handle case where there is no
5264         match group 3.
5266 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5268         * org.el (org-get-refile-targets, org-refile-get-location): Use
5269         expanded file name to improve comparison.
5271 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5273         * org.el (org-scan-tags): Rescan for tags, to get the correct
5274         upcase/downcase stuff.  This slows things down for now, but it
5275         works.
5276         (org-mode): Make sure the tag-faces regexp is initialized.
5278         * org-export-latex.el (org-export-latex-links): Fix bug with
5279         undefined label.
5281         * org-table.el (org-table-get-specials): Set
5282         `org-table-current-last-data-line'.
5283         (org-table-current-last-data-line): New variable.
5284         (org-table-insert-column, org-table-delete-column)
5285         (org-table-move-column, org-table-fix-formulas): Call
5286         `org-table-fix-formulas' a second time to fix the $LR references.
5287         (org-table-get-specials): Add the $LR references to the tables.
5288         (org-table-get-formula): Do not offer last-row names as LHS of
5289         formulas.
5291         * org.el (org-store-link): Capture link description from
5292         `org-id-store-link'.
5294         * org-exp.el (org-export-html-format-image): Add the / to the end
5295         of the <img> tag.
5296         (org-export-format-source-code): Surround example by empty lines,
5297         to make sure it will not be inside a paragraph.
5299         * org.el (org-ido-switchb): New function.
5301 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5303         * org-agenda.el (org-agenda-show): New prefix argument
5304         FULL-ENTRY.
5306         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5307         argument.
5309         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5310         `org-agenda-change-all-lines'.
5311         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5312         tags are now retrieved locally.
5314 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5316         * org.el (org-get-outline-path): Fix bug if level is not given.
5317         (org-org-menu): Do not quote function in menu vector.
5319         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5320         name.
5322 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5324         * org.el (org-refile): Avoid refiling to within the region to be
5325         refiled.
5327         * org-export-latex.el (org-export-latex-special-chars): Replace
5328         special characters also in tables.
5330         * org-agenda.el (org-agenda-change-all-lines): New argument
5331         FORCE-TAGS.
5332         (org-agenda-set-tags): Cet the new tags and pass them to
5333         `org-format-agenda-item'.
5335 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5337         * org-export-latex.el (org-export-latex-classes): Add longable as
5338         a default package to all classes.
5339         (org-export-latex-tables): Handle the longtable attribute and the
5340         align attribute.
5342         * org-table.el (orgtbl-to-generic): Handle tables that start with
5343         a hline.
5345         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5346         \verb for colde-like snippets.
5347         (org-export-as-latex): Fix issues with region export.
5349         * org.el (org-up-heading-safe): Speed up function by using a
5350         direct regexp search.
5351         (org-olpa): New variable.
5352         (org-get-outline-path): Speed-up path constructions in cases where
5353         this is possible because the entire hierarchy is scanned anyway.
5354         (org-refile-get-location): Don't compare the truenames of files,
5355         this is too slow.
5356         (org-goto-max-level): New option.
5357         (org-goto): Use `org-goto-max-level'.
5359 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5361         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5362         Strip angle brackets from message-ids in the former and don't do
5363         it in the latter.
5364         (org-gnus-follow-link): Open summary reliable, even if the last
5365         messages were deleted, and handle empty groups, too.
5367 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5369         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5370         instead of \texttt for the =...= and ~===~ emphasis environments.
5371         (org-export-as-latex): Remove any old :org-license-to-kill text
5372         properties.
5373         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5374         (org-export-latex-make-header): Add some hard space after the
5375         table of contents.
5376         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5377         exported text so that it will be excuded in further steps.
5379         * org-table.el (org-table-get-specials): Make @0 reference the
5380         last line in a table.
5381         (org-table-recalculate): Improve docstring.
5383 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5385         * org.el (org-log-done): Fix docstring.
5387 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5389         * org-exp.el (org-export-html-format-image): Fix bugs.
5391         * org-export-latex.el (org-export-latex-tables)
5392         (org-export-latex-links): Implement attribute, label, and caption
5393         handling.
5395         * org-exp.el (org-export-html-style-default): Add style
5396         definitions for the figure div.
5397         (org-export-preprocess-string, org-export-as-html): Implement
5398         attribute, label, and caption handling.
5399         (org-export-attach-captions-and-attributes): New function.
5400         (org-export-html-format-image): New function.
5401         (org-format-org-table-html): Implement attribute, label, and
5402         caption handling.
5404         * org.el (org-find-text-property-in-string): New function.
5405         (org-extract-attributes): Use the property org-attr instead of
5406         org-attrobutes, because this property is now set with the #+ATTR
5407         lines.
5409 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5411         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5412         the case that FROM is nil.
5414         * org.el (org-before-first-heading-p): New function.
5416 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5418         * org-exp.el (org-export-as-html): Do not add a space before
5419         enforces line breaks.
5420         (org-export-as-html): Close paragraph before blockquote and verse
5421         tags.
5423 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5425         * org-id.el (org-id-locations-file): Wrap file name with
5426         `convert-standard-filename'.
5427         (org-id-files): New variable.
5428         (org-id-use-hash): New option.
5429         (org-id-update-id-locations): Also search in all files current
5430         listed in `org-id-files'.  Convert the resulting alist to a hash
5431         if the user customation says so.
5432         (org-id-locations-save): Handle he case if `org-id-locations' is a
5433         hash.
5434         (org-id-locations-load): Convert the alist to a hash.
5435         (org-id-add-location): Handle the hast case.
5436         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5437         exited.
5438         (org-id-hash-to-alist, org-id-alist-to-hash)
5439         (org-id-paste-tracker): New functions.
5441 -------------------------------------------------------------------------
5443 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5445         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5446         bindings of calendar variables.
5448         * org-table.el (org-table-find-row-type): Renamed from
5449         `org-find-row-type'.
5450         (org-table-rewrite-old-row-references): Renamed from
5451         `org-rewrite-old-row-references'.
5452         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5453         (org-table-cleanup-narrow-column-properties): Renamed from
5454         `org-cleanup-narrow-column-properties'.
5456 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5458         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5459         for better error messages.
5460         (org-table-get-descriptor-line): Supply the new arguments to
5461         `org-find-row-type'.
5462         (org-table-error-on-row-ref-crossing-hline): New option.
5464         * org.el (org-target-link-regexp): Make buffer-local.
5465         (org-move-subtree-down): Fix bug with trees at beginning of
5466         buffer.
5468 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5470         * org-faces.el (org-set-tag-faces): New function.
5471         (org-tags-special-faces-re): New variable.
5473         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5475         * org-faces.el (org-tag-faces): New option.
5476         (org-tag): Mention `org-tag-faces' in the docstring.
5478 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5480         * org-exp.el (org-export-html-style-default): Implement new
5481         quoting.
5483         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5485         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5486         command to the `w3m-minor-mode-map'.
5488         * org-archive.el (org-archive-to-archive-sibling): Protect
5489         `this-command' to avoid appending kills during archiving.
5491         * org-exp.el (org-export-with-priority): New variable.
5492         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5493         instead of internal list of strings and properties.
5494         (org-print-icalendar-entries): Retrieve the location property with
5495         inheritance.
5497 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5499         * org-exp.el (org-export-with-todo-keywords): New option.
5500         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5501         line.
5502         (org-default-export-plist, org-export-add-options-to-plist)
5503         (org-export-as-ascii, org-export-as-html): Use the new structure
5504         of `org-export-plist-vars'.
5506         * org.el (org-map-entries): Return all values.
5508 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5510         * org.el (org-matcher-time): Recognize more special values.
5512         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5514 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5516         * org.el (org-tags-exclude-from-inheritance): New option.
5517         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5518         `org-tags-exclude-from-inheritance'.
5520         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5521         (org-format-agenda-item): Add inherited tags to the agenda line
5522         string, and make sure that properties are kept when downcasing the
5523         tags list.
5524         (org-agenda-add-inherited-tags): New function.
5525         (org-downcase-keep-props): New function.
5527         * org.el (org-scan-tags): Mark inherited tags with a text
5528         property.
5529         (org-get-tags-at): Mark inherited tags with a text property.
5530         (org-add-prop-inherited): New function.
5532         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5533         (org-agenda-show-inherited-tags): New option.
5535 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5537         * org.el (org-modules): Add org-w3m to the default modules.
5539         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5540         orgtbl-mode.
5541         (orgtabl-create-or-convert-from-region): New command.
5543         * org-exp.el (org-export-as-ascii): Remove the handling of
5544         targets.
5545         (org-export-ascii-preprocess): Handle targets already in this
5546         function.
5548 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5550         * org-timer.el (org-timer-start-time): Define this variable.
5551         (org-timer-item): Make argument optional.
5553         * org-list.el (org-insert-item): Automatically insert a timer item
5554         if the current list is a timer list.
5556         * org-timer.el: New file.
5558         * org-publish.el (org-publish-org-index): Only exclude the index
5559         file in the main directory from being added to the site-map.
5560         (org-publish-get-project-from-filename): If the current project is
5561         a component, start publishing from the parent project.
5563 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5565         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5567         * org-publish.el (org-publish-org-index): Improve removal of
5568         temporary buffers.
5570         * org-agenda.el (org-get-closed): Re-apply changes
5571         accidentially overwritten by last commit to Emacs.
5573         * org.el (org-outline-path-complete-in-steps): New option.
5574         (org-refile-get-location): Honor
5575         `org-outline-path-complete-in-steps'.
5576         (org-agenda-change-all-lines, org-tags-sparse-tree)
5577         (org-time-string-to-absolute, org-small-year-to-year)
5578         (org-link-escape): Re-apply changes accidentially overwritten
5579         by last commit to Emacs
5581 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5583         * org-clock.el (org-dblock-write:clocktable): Make sure the
5584         clocktable sees the first line.
5585         (org-clock-in): Warn if the clock cannot be resumed.
5587 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5589         * org.el (org-open-at-point): Fix mixup about interactive and
5590         non-interactive elisp links.
5592 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5594         * org-exp.el (org-export-preprocess-string): Allow one comment
5595         line before the first headline to always be included.  This is
5596         to not miss a commented target.
5598         * org-mouse.el (org-mouse-insert-item): Call
5599         `org-indent-to-column' instead of `indent-to', for XEmacs
5600         compatibility.
5602         * org.el (org-refile-targets): Fix customize definition so
5603         that it works also in XEmacs.
5604         (org-fixup-indentation): Call `org-indent-to-column' instead
5605         of `indent-to', for XEmacs compatibility.
5607 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5609         * org-mew.el (org-mew-store-link): Get the correct case folder
5610         for refiled messages.
5612 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5614         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5615         line break indicators.
5617         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5618         ido-completion propts.
5620 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5622         * org-remember.el (org-remember-apply-template): Use
5623         `org-substring-no-properties'.
5625         * org-compat.el (org-substring-no-properties): New function.
5627         * org-remember.el (org-remember-apply-template): Use
5628         `org-substring-no-properties' for compatibility.
5630         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5631         option.
5632         (org-fix-bullet-type): respect
5633         `org-list-two-spaces-after-bullet-regexp'.
5635         * org-clock.el (org-clock-load): Clean up the code.
5637         * org.el (org-adaptive-fill-function): Allow two spaces after
5638         "1." as a list bullet.
5640 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5642         * org-clock.el (org-clock-save, org-clock-load): Check for
5643         live buffers, existing files, and buffer file names to ensure
5644         consistent information.
5645         (org-clock-persist): Make `clock' a special value of this
5646         variable, and improve docstring.
5648         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5649         (org-get-string-indentation): Adapt indentation when the bullet
5650         width changes.
5652 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5654         * org-remember.el (org-remember-finalize): Make interactive.
5655         (org-remember-kill): New command.
5656         (org-remember-finish-immediately): Call `org-remember-finalize'
5657         directly.
5658         (org-remember-finalize): Make `org-remember-finalize' an interactive
5659         function.
5661 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5663         * org-remember.el (org-remember-apply-template): No ido completion
5664         for free prompts in remember templates.
5665         (org-remember-before-finalize-hook): New hook.
5666         (org-remember-mode): New minor mode.
5667         (org-remember-apply-template): Turn on `org-remember-mode'.
5669         * org-id.el (org-id-add-location): Avoid error when no file is
5670         given.
5672         * org-remember.el (org-remember-apply-template): Fix the way how
5673         the list of allowed properties is retrieved from the target file.
5675         * org.el (org-insert-link): Improve file link matching.
5677 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5679         * org-colview.el (org-columns-display-here): New argument
5680         DATELINE, to trigger using the new face.
5681         (org-agenda-colview-summarize): Call `org-columns-display-here'
5682         with the new argument.
5684         * org-faces.el (org-agenda-column-dateline): New face.
5686         * org-publish.el (org-publish-org-index): Use index-title at page
5687         title, not as section.
5689         * org-exp.el (org-export-html-format-desc): Respect the
5690         org-protect property.
5691         (org-export-as-html): Protect image specifiers that are in the
5692         description part of a link.
5694         * org.el (org-sort-entries-or-items, org-completing-read)
5695         (org-refile-get-location, org-olpath-completing-read, org-todo)
5696         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5697         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5698         (org-set-property, org-delete-property)
5699         (org-delete-property-globally): Use `org-ido-completing-read'.
5701         * org-remember.el (org-remember-apply-template): Use
5702         `org-ido-completing-read'.
5704         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5706         * org-colview.el (org-columns-edit-value, org-columns-new)
5707         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5709         * org-colview-xemacs.el (org-columns-edit-value)
5710         (org-columns-new, org-insert-columns-dblock): Use
5711         `org-ido-completing-read'.
5713         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5714         `org-ido-completing-read'.
5716         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5717         `org-ido-completing-read'.
5719         * org.el (org-time-today): New function.
5720         (org-matcher-time): Use `org-time-today'.  Add special treatment
5721         for "<tomorrow>" and "<yesterday>".
5722         (org-ido-completing-read): New function.
5723         (org-completion-use-ido): New option.
5725         * org-exp.el (org-export-format-source-code): Fix bug in require
5726         htmlize code.
5727         (org-export-target-internal-links): Fix bug in search for text
5728         property.
5730 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5732         * org-export-latex.el (org-export-latex-subcontent): Interprete
5733         target aliases as additonal labels.
5735         * org-exp.el (org-export-target-aliases): New variable.
5736         (org-export-preprocess-string)
5737         (org-export-handle-invisible-targets): Fill the alias alist.
5738         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5739         assign an id.
5740         (org-html-level-start): Insert the target aliases as additonal
5741         anchors.
5743         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5744         picture area.
5746 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5748         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5749         when following a link with the mouse from the agenda.
5751         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5752         headlines are created.
5754 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5756         * org-exp.el (org-export-preprocess-string): Reorder so that we
5757         can still see ID properties when we collect targets.
5758         (org-export-target-internal-links): Also store targets for ID's.
5760         * org.el (org-link-translation-function): New option.
5761         (org-open-at-point): Call `org-link-translation-function' if
5762         non-nil.
5763         (org-translate-link): New function.
5764         (org-translate-link-from-planner): New function.
5765         (org-open-at-point): Allow interactive commands in elisp links.
5767         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5768         iCalendar quoting.  The new one seems to caus problems with
5769         applications.
5771         * org.el (org-yank): Set `this-command' to `yank', so that
5772         `yank-pop' will work.
5774 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5776         * org-id.el (org-id-search-archives): New option.
5778         * org.el (org-link-to-org-use-id): New option.
5779         (org-store-link): Use `org-link-to-org-use-id'.
5780         (org-id): Make org-id.el a standard component.
5782 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5784         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5785         hexified version of the tag.
5787         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5788         compliance as far as quoting is concerned.
5790         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5792         * org.el (org-up-heading-safe, org-forward-same-level): Always
5793         call `org-back-to-heading' instead of `outline-back-to-heading'.
5794         (org-back-to-heading): New wrapper around outline-back-to-heading,
5795         with a useful error message telling where the error happened.
5797         * org-list.el (org-update-checkbox-count): Always call
5798         `org-back-to-heading' instead of `outline-back-to-heading'.
5800         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5801         has an `alt' attribute, to ensure XHTML validation.
5803 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5805         * org-publish.el (org-publish-attachment): Allow publishing to
5806         overwrite attachment files.
5808         * org-agenda.el (org-agenda-timerange-leaders): New option.
5809         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5811         * org.el (org-edit-src-exit): Untabify ASCII image before
5812         returning.
5825 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5827         * org.el (org-yank): Make any prefix force normal yanking.
5828         Suppress folding if text would be swallowed into a folded
5829         subtree.
5830         (org-yank-folded-subtrees, org-yank): Docstring updates.
5832         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5833         defined as 0.
5835         * org-exp.el (org-export-language-setup): Add Catalan and
5836         Esperanto language entries.
5838 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5840         * org.el (org-refile): Allow refiling of entire regions.
5842         * org-clock.el (org-clock-time%): New function.
5844         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5845         retrieve property values.
5847 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5849         * org-agenda.el (org-agenda-list): Handle the value `only' of
5850         org-agenda-show-log'.
5851         (org-agenda-log-mode): Interpret a double prefix arg.
5853 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5855         * org-exp.el (org-export-html-footnotes-section): New variable.
5856         (org-export-as-html): Use `org-export-html-footnotes-section' to
5857         insert the footnotes.
5858         (org-export-language-setup): Add "Footnotes" to language words.
5860 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5862         * org.el (org-yank): Fix bug when not inserting a subtree.
5864 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5866         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5867         instead of `vm-beginning-of-message'.
5869         * org.el (org-make-link-regexps): Make sure that links to gnus can
5870         contain brackets.
5872 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5874         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5875         code.
5877         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5878         shell output.
5880         * org.el (org-link-abbrev-alist): Improve customization type.
5882         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5883         functions.
5885         * org-agenda.el (org-agenda-get-progress): Renamed from
5886         `org-get-closed'.  Implement searching for state changes as well.
5887         (org-agenda-log-mode-items): New option.
5888         (org-agenda-log-mode): New option prefix argument, interpreted as
5889         request to show all possible progress info.
5890         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5891         `org-get-closed'.
5892         (org-agenda-set-mode-name): Handle the more complex log mode
5893         settings.
5894         (org-get-closed): New alias, pointing to `org-get-progress'.
5896 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5898         * org.el (org-file-apps-defaults-gnu)
5899         (org-file-apps-defaults-macosx)
5900         (org-file-apps-defaults-windowsnt): Add an entry defining the
5901         system command.
5902         (org-file-apps): Allow `system' as key and value.
5903         (org-open-at-point): Explain the effect of a double prefix arg.
5904         (org-open-file): If the argument `in-emacs' is (16),
5905         i.e. corresponding to a double prefix argument, try to open the
5906         file externally.
5908 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5910         * org.el (org-insert-link): Abbreviate absolute files names in
5911         links.  Also, fix a bug in which the double C-u prefix would not
5912         be honored.
5914 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5916         * org.el (org-insert-heading): If buffer does not end with a
5917         newline, add one if necessary to insert headline correctly.
5919         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5920         paragraphs, not inside.
5922         * org.el (org-todo): Quote
5923         `org-agenda-headline-snapshot-before-repeat'.
5925         * org-exp.el (org-export-as-html): Fully process link descriptions.
5926         (org-export-html-format-desc): New function.
5927         (org-export-as-html): Collect footnotes into the correct basket.
5928         (org-html-protect): No longer protect quotations marks here, this
5929         goes wrong.
5931         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5932         BEG.
5934         * org-compat.el (org-fit-window-to-buffer): New function (not
5935         really, a preliminary and incomplete version was present earlier,
5936         but not used).
5938         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5939         `org-fit-window-to-buffer'.
5941         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5943         * org-agenda.el (org-agenda-get-restriction-and-command)
5944         (org-fit-agenda-window, org-agenda-convert-date): Use
5945         `org-fit-window-to-buffer'.
5947         * org-exp.el (org-export-as-html): Process href links through
5948         `org-export-html-format-href'.
5949         (org-export-html-format-href): New function.
5951         * org-agenda.el (org-agenda-todo): Update only the current
5952         headline if this is a repeated TODO, marked done for today.
5953         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5954         only the current line.
5956         * org.el (org-todo): Take a snapshot of the headline if the
5957         repeater might change it.
5959 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5961         * org-publish.el (org-publish-find-title): Remove buffers visited
5962         only for extracting the title.
5964         * org-exp.el (org-export-html-style)
5965         (org-export-html-style-default): Mark style definitions as
5966         unparsed CDATA.
5968         * org-publish.el (org-publish-validate-link): Function
5969         re-introduced.
5971 2008-11-02  Charles Sebold  <csebold@gmail.com>
5973         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5974         property.
5975         (org-plot-quote-timestamp-field): New function.
5976         (org-plot-quote-tsv-field): Call timestamp field function when
5977         necessary rather than just quoting as a string.
5978         (org-plot/gnuplot-to-data): Pass in timefmt property.
5979         (org-plot/gnuplot-script): Supports timefmt property.
5980         (org-plot/gnuplot): Checks for timestamp column before checking
5981         for text index column.
5983 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5985         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5987         * org-publish.el (org-publish-org-index): Create a section in the
5988         index file.
5989         (org-publish-org-index): Stop linking to directories.
5991         * org.el (org-emphasis-alist): Use span instead of <u> to
5992         underline text.
5994         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5995         <pre> sections.
5997 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5999         * org-jsinfo.el (org-infojs-template): Remove language attribute
6000         from script tag.
6002 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6004         * org-agenda.el (org-agenda-remove-marked-text): New function.
6005         (org-agenda-mark-filtered-text)
6006         (org-agenda-unmark-filtered-text): New functions.
6007         (org-write-agenda): Remove fltered text.
6009         * org.el (org-make-tags-matcher): Give access to TODO "property"
6010         without speed penalty.
6012 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6014         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6015         option.
6016         (org-store-link-props): Make sure adding to the plist works
6017         correctly.
6019         * org-gnus.el (org-gnus-no-new-news): New function.
6020         (org-gnus-follow-link): Allow the article ID to be a message-id,
6021         in addition to allowing article numbers.  Message IDs make much
6022         more roubust links.
6023         (org-gnus-store-link): Use message-id to create link.
6025 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6027         * org.el (org-emphasize): Reverse the selection array.
6028         (org-emphasis-alist): Set <code> tags for the verbatim
6029         environment.
6031         * org-remember.el (org-remember-handler): Fix bug with
6032         prefix-related changing of the note storage target.
6034         * org-exp.el (org-print-icalendar-entries): Make the exported
6035         priorities compatible with RFC 2445.
6037         * org-clock.el (org-clock-save): Insert time stamp without
6038         dependence on time-stamp.el.
6040 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6042         * org.el ("saveplace"): If saveplace puts point into an invisible
6043         location, make it visible.
6044         (org-make-tags-matcher): Allow inactive time stamps in time
6045         comparisons.
6046         (org-yank-adjusted-subtrees): New option.
6047         (org-yank): Incorporate adjusting trees.
6048         (org-paste-subtree): New argument FOR-YANK which will cause
6049         insertion at point without backing up over white lines, and leave
6050         point at the end of the inserted text.  Also if the cursor is
6051         at the beginning of a headline, use the same level or the inserted
6052         tree.
6054         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6055         with broken symlinks
6057 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6059         * org-exp.el (org-export-select-tags, org-get-current-options):
6060         Fix typo.
6062 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6064         * org-agenda.el (org-format-agenda-item)
6065         (org-agenda-filter-make-matcher): Make sure tags are stored and
6066         compared donwcased.
6068 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6070         * org.el (org-insert-todo-heading): Fix bug with force-heading
6071         argument.
6073 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6075         * org-clock.el (org-clock-in-resume): Add a custom option to
6076         toggle starting the clock from an open clock line.
6077         (org-clock-in): When clocking in to an entry, if
6078         `org-clock-in-resume' is set, check if the first clock line is
6079         open and if so, start the clock from the time in the clock line.
6080         (org-clock-persist): Add a custom option to toggle clock
6081         persistence.
6082         (org-clock-persist-query-save): Add a custom option to toggle
6083         asking the user if they want to save the running clock when
6084         exiting.
6085         (org-clock-persist-query-resume): Add a custom option to toggle
6086         asking the user if they want to resume the saved clock when Emacs
6087         is restarted.
6088         (org-clock-save): Add a function to save clock data.
6089         This includes the contents of `org-clock-history' and the buffer
6090         and position of the currently clocked task, if any.
6091         (org-clock-load): Add a function to load clock data.
6092         This populates `org-clock-history', and resumes the saved clocked
6093         task if there is one.
6094         (org-clock-persistence-insinuate): Add a method to set up the
6095         hooks for clock persistence.
6097 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6099         * org-exp.el (org-export-as-ascii): Handle the case that we are
6100         publishing from an indirect buffer.
6102         * org-table.el (org-table-copy-down): Fix bug with time stamp
6103         increment.
6105         * org-mouse.el (org-mouse-features): New option.
6106         (org-mode-hook): Turn on features depending on
6107         `org-mouse-features'.
6109         * org.el (org-insert-heading-respect-content): Force heading
6110         creation.
6111         (org-insert-heading): keep the folding state of the heading before
6112         the inserted one.
6114 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6116         * org-archive.el (org-archive-to-archive-sibling): Handle top
6117         level headlines better.
6119 2008-10-21  Bastien Guerry  <bzg@altern.org>
6121         * org-export-latex.el (org-export-latex-classes): Added
6122         \usepackage{graphicx} to the default list of packages.
6124 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6126         * org-agenda.el (org-agenda-filter): Renamed from
6127         `org-agenda-filter-tags'.
6129 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6131         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6132         is not defined as a property in this entry.
6133         (org-add-log-note): Mask prefix argument when immediately storing
6134         the note.
6136         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6137         option.
6139 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6141         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6142         after drawers was skipping ahead one line too many, so notes were
6143         inserted after the first note instead of before it.
6145 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6147         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6148         New variables.
6149         (org-prepare-agenda): Reset the filter tags.
6150         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6151         Show filter tags in mode line.
6153         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6154         formatter.
6156         * org-export-latex.el (org-latex-entities-regexp): New constant.
6157         (org-export-as-pdf): Use two calls to `shell-command'.
6159 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6161         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6162         Honor the {} value of the subsuperscript setting.  Make sure that
6163         longer subsuperscripts are typeset in a roman font.
6165         * org.el (org-clock-update-time-maybe): Compute negative clock
6166         intervals correctly.
6168 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6170         * org.el (org-add-log-setup): Respect
6171         `org-log-state-notes-insert-after-drawers'.
6172         (org-log-state-notes-insert-after-drawers): New option.
6173         (org-todo-trigger-tag-changes): New function.
6174         (org-todo): Call `org-todo-trigger-tag-changes'.
6176 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6178         * org.el (org-add-log-setup): Only skip drawers if the are
6179         immediately after the scheduling keywords.
6181         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6182         function
6183         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6184         call it with the current todo state to get the state to switch to
6185         when clocking in.
6186         (org-clock-in): Use org-indent-line-function to indent clock lines.
6187         (org-clock-find-position): Fix indentation of empty clock drawers.
6189 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6191         * org-publish.el (org-publish-org-to): Handle case when
6192         org-export-to-pdf does return a file name, not a buffer.
6193         (org-publish-org-to-pdf): New function.
6195         * org-export-latex.el (org-export-as-pdf)
6196         (org-export-as-pdf-and-open): New commands.
6198         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6199         forms as ranges.
6201         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6202         things in protexted regions.
6204 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6206         * org-export-latex.el (org-export-latex-preprocess): Improve
6207         quoting of LaTeX environments.
6209 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6211         * org.el (org-edit-fixed-width-region): Exclude final newline from
6212         picture area.
6214         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6215         sections, to make internal links work.
6216         (org-export-latex-fontify-headline): Do not remove all text
6217         properties, to make sure that target properties survive this
6218         process.
6220         * org-exp.el (org-export-preprocess-string): Change sequence of
6221         modifications, to make sure links are prepared before the LaTeX
6222         conversions do happen.
6224 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6226         * org-attach.el (org-attach-delete-all): Renamed from
6227         `org-attch-delete'.  Add a security query before deleting the
6228         entire directory.  New optional argument FORCE can overrule the
6229         security query.
6230         (org-attach-delete-one): New command.
6232 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6234         * org-attach.el (org-attach-file-list): Fix bug with directory.
6236 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6238         * org.el (org-apps-regexp-alist): New function.
6239         (org-file-apps): Add auto-mode to the default value.
6240         (org-open-file): Use the new structure of org-file-apps.
6242         * org-attach.el (org-attach): Support the new keys.
6243         (org-attach-method): New option.
6245 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6247         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6248         March.
6250         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6251         of the list value o `org-use-tag-inheritance'.
6253         * org-attach.el (org-attach-auto-tag): New option.
6254         (org-attach-tag, org-attach-untag): New functions.
6255         (org-attach-attach, org-attach-new, org-attach-sync): Call
6256         `org-attach-tag'.
6257         (org-attach-delete): Call `org-attach-untag'.
6259 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6261         * org-table.el (orgtbl-self-insert-command): Make this work for
6262         the keypad as well.
6264 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6266         * org.el (org-add-log-setup): Limit searc for drawers to entry
6267         text, not to subtree.
6269         * org-clock.el (org-clock-heading-for-remember): New variable.
6270         (org-clock-in): Set `org-clock-heading-for-remember'.
6272 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6274         * org-remember.el (org-remember-apply-template): Add new
6275         expansions: %k, %K for currently clocked task and a link to the
6276         currently clocked task, and %< to file notes in the currently
6277         clocked task.
6279 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6281         * org-export-latex.el (org-export-latex-make-header): Also insert
6282         the content of the property :latex-header-extra.
6284         * org-exp.el (org-infile-export-plist): Put the content of
6285         #+LATEX_HEADER: into the property :latex-header-extra.
6287         * org-colview.el (org-columns-get-format-and-top-level): Remove
6288         resetting the marker.
6290         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6291         Remove resetting the marker.
6293         * org.el (org-entry-property-inherited-from): Improve docstring.
6294         (org-entry-get-with-inheritance): Reset marker before starting the
6295         search.
6297         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6299 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6301         * org.el (org-entry-get-multivalued-property)
6302         (org-entry-protect-space, org-entry-restore-space): New
6303         functions.
6304         (org-file-apps-defaults-macosx): Let postscript files be opened by
6305         preview.
6306         (org-time-stamp-inactive): Call `org-time-stamp'.
6307         (org-time-stamp): New argument `inactive'.  Also edit inacive
6308         stamps. Convert time stamp type.
6309         (org-open-file): Interpret the `default' value for the `command'
6310         in `org-file-apps'.
6312         * org-id.el (org-id-int-to-b36-one-digit)
6313         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6314         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6315         b36.
6317 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6319         * org-id.el (org-id-reverse-string): New function.
6320         (org-id-new): Use `org-id-reverse-string' to make sure the
6321         beginning chars of the ID are mutating fast.  This allows to use a
6322         directory structure to spread things better.
6323         (org-id-prefix): Changed default to nil.
6325         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6326         restore the column of the cursor position.
6328         * org-remember.el (org-remember-apply-template): Remove properties
6329         from `initial'.
6331 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6333         * org-wl.el (org-wl-open): Remove useless call to
6334         `wl-thread-open-all'.
6336         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6337         location.
6339 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6341         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6342         `org-bbdb-anniversaries'.
6344         * org.el (org-get-next-sibling, org-forward-same-level): New
6345         functions, similar to the outline versions, but invisible headings
6346         are OK.
6348 2008-09-25  Bastien Guerry  <bzg@altern.org>
6350         * org.el (org-auto-repeat-maybe): Insert a space between
6351         the timestamp's type and the timestamp itself.
6353 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6355         * org-table.el (org-table-sum): Do not format the result with %g,
6356         it does rounding when there are too many digits.
6358         * org.el (org-map-entries): Protect the keyword-selecting variables.
6360 2008-09-23  Bastien Guerry  <bzg@altern.org>
6362         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6363         against all agenda files.
6365 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6367         * org-list.el: New file, aggregating list functions from org.el
6368         and org-export-latex.el.
6370         * org.el (org-edit-src-region-extra): New option.
6372 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6374         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6375         time before 1am.
6377 2008-09-22  Bastien Guerry  <bzg@altern.org>
6379         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6381 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6383         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6384         hline work correctly.
6385         (org-plot/gnuplot-script): Put commas at the end of each script
6386         line.
6388 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6390         * org.el (org-get-refile-targets): Replace links with their
6391         descriptions
6392         (org-imenu-get-tree): Replace links with their descriptions.
6394         * org-remember.el (org-remember-apply-template): Add a new
6395         expansion for adding properties to remember items.
6397         * org.el (org-add-log-setup): Skip over drawers (properties,
6398         clocks etc) when adding notes.
6400         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6401         items as well as the start and end times.
6403         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6404         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6406         * org-remember.el (org-get-x-clipboard): Use the compat
6407         function to get clipboard values when x-selection-value is
6408         unavailable. Use substring-no-properties instead of
6409         set-text-properties to remove text properties from the clipboard
6410         value.
6412         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6413         modeline clock string, and display the full todo value in the
6414         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6415         the currently clocked task.
6416         (org-clock-string-limit): Add a custom value for the maximum
6417         length of the clock string in the modeline.
6418         (org-clock-mode-map): Add a keymap for the modeline string
6420 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6422         * org-compat.el (org-propertize): New function.
6424 2008-09-20  Bastien Guerry  <bzg@altern.org>
6426         * org-export-latex.el (org-export-latex-tables): protect exported
6427         tables from further special chars conversion.
6428         (org-export-latex-preprocess): Preserve LaTeX environments.
6429         (org-list-parse-list): Parse descriptive lists.
6430         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6431         (org-list-to-texinfo): Export descriptive lists.
6432         (org-quote-chars): Remove.
6433         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6434         (org-export-latex-list-beginning-re): Rename to
6435         `org-list-beginning-re'
6436         (org-list-item-begin): Rename to `org-list-item-beginning'
6438 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6440         * org.el (org-refile): Allow refiling to the last entry in the
6441         buffer.
6442         (org-get-tags-at): Fix bug when inheritance is turned off.
6444 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6446         * org.el (org-indent-line-function): No longer check for src
6447         regions, this is too much overhead.
6449         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6450         matching.
6452         * org.el (org-scan-tags): Make sure that tags matching is not case
6453         sensitive.  TODO keyword matching is case sensitive, however, to
6454         avoid confusion with similar words that are not meant to be
6455         keywords.
6457 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6459         * org.el (org-get-local-tags-at): New function.
6460         (org-get-local-tags): New function.
6462         * org-exp.el (org-export-get-categories): New function.
6464         * org-agenda.el (org-sorting-choice)
6465         (org-agenda-sorting-strategy, org-agenda-get-todos)
6466         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6467         (org-agenda-get-scheduled, org-agenda-get-blocks)
6468         (org-entries-lessp): Implement sorting by TODO state.
6469         (org-cmp-todo-state): New defsubst.
6471         * org-colview.el (org-colview-construct-allowed-dates): New
6472         function.
6473         (org-columns-next-allowed-value): Use
6474         `org-colview-construct-allowed-dates'.
6476         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6477         function.
6478         (org-columns-next-allowed-value): Use
6479         `org-colview-construct-allowed-dates'.
6481 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6483         * org.el (org-protect-slash): New function.
6484         (org-get-refile-targets): Use `org-protect-slash'.
6486         * org-agenda.el (org-global-tags-completion-table): New variable.
6488         * org-exp.el (org-export-handle-export-tags): New function.
6489         (org-export-preprocess-string): Call
6490         `org-export-handle-export-tags'.
6492         * org-plot.el: New file.
6494         * org-publish.el (org-publish-expand-components): Function removed.
6495         (org-publish-expand-projects): Allow components to have components.
6497 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6499         * org.el (org-indent-line-function): Do not indent in regions that
6500         are external source code.
6501         (org-yank-and-fold-if-subtree): New function.
6503         * org-agenda.el (org-agenda-todayp): New function.
6504         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6505         `org-agenda-todayp'.
6507         * org.el (org-insert-heading-respect-content)
6508         (org-insert-todo-heading-respect-content): New commands.
6509         (org-insert-heading-respect-content): New option.
6510         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6512         * org-clock.el (org-clock-find-position): Make sure the note after
6513         the clock line gets moved into the new clock drawer.
6515 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6517         * org-id.el (org-id-new): New option.
6519 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6521         * org-table.el (org-table-copy-down): Avoid overflow during
6522         increment.  Use prefix argument 0 to temporarily disable the
6523         increment.
6525 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6527         * org-exp.el (org-export-as-html): Do not turn on the major mode
6528         if the buffer will be killed anyway.
6529         (org-get-current-options): Exclude the #+TEXT field.
6530         (org-export-as-html): Make sure text before the first headline is
6531         a paragraph.
6533         * org-publish.el (org-publish-org-to): Tell the exporter that this
6534         buffer will be killed, so it is not necessary to do major mode
6535         initialization.
6537         * org-archive.el (org-archive-to-archive-sibling): Show empty
6538         lines after folding the archive sibling.
6540         * org.el (org-log-note-extra): New variable.
6542 2008-09-05  Bastien Guerry  <bzg@altern.org>
6544         * org.el (org-additional-option-like-keywords): Added keywords for
6545         the _QUOTE, _VERSE and _SRC environments.
6547         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6548         exporting _QUOTE and _VERSE environments.
6550 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6552         * org-agenda.el (org-agenda-filter-by-tag): New command.
6554         * org-exp.el (org-get-current-options): Remove angular brackets
6555         from the date entry.
6557         * org.el (org-edit-fixed-width-region): New function.
6558         (org-edit-fixed-width-region): Also try
6559         `org-edit-fixed-width-region'.
6560         (org-edit-fixed-width-region-mode): New option.
6561         (org-activate-code): Only interprete lines starting with colon
6562         plus a space as example lines.
6564         * org-remember.el (org-remember-templates): Add nil instead of
6565         empty strings to fix the length of remember templates.
6567         * org-table.el (org-calc-default-modes): Fix the time format for
6568         calc, from 12 hour to 24 hour clock.
6570 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6572         * org-agenda.el (org-agenda-get-deadlines)
6573         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6574         entries that are pre-warnings of deadlines or reminders.
6576         * org.el (org-sort-entries-or-items): Make numeric and alpha
6577         comparisons ignore any TODO keyword and priority cookie.
6579         * org-remember.el (org-remember-handler): Reinterpretation of the
6580         prefix argument.
6582 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6584         * org-agenda.el (org-agenda-get-scheduled): Use new
6585         `org-scheduled' face.
6587         * org-faces.el (org-scheduled): New face.
6589         * org-wl.el (org-wl-open): Remove incorrect declaration.
6591         * org-gnus.el (org-gnus-store-link): Support for :to information
6592         in gnus links.
6594         * org-exp.el (org-export-as-html): Fixed typo in creator
6595         information.
6596         (org-export-protect-examples): New parameter indent.  Insert extra
6597         spaces only when this parameter is specified.
6598         (org-export-preprocess-string): Call `org-export-protect-examples'
6599         with an indentation parameter when exporting to ASCII.
6601         * org-remember.el (org-remember-templates)
6602         (org-remember-apply-template): Allow the file component to be a
6603         function.
6605         * org.el (org-goto-local-search-headings): Renamed from
6606         `org-goto-local-search-forward-headings'.  Added the possibility
6607         to search backwards.
6609 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6611         * org-export-latex.el (org-export-latex): New customization
6612         group.
6614         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6616 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6618         * org-exp.el (org-html-do-expand): Allow {} to terminate
6619         tex macro
6621 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6623         * org.el (org-buffer-list): Select buffers based on major mode,
6624         not on file name.
6626 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6628         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6629         face property.
6631         * org-colview.el (org-columns-display-here): Use
6632         `org-columns-modify-value-for-display-function'.
6634         * org-colview-xemacs.el (org-columns-display-here): Use
6635         `org-columns-modify-value-for-display-function'.
6637 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6639         * org.el (org-columns-modify-value-for-display-function): New option.
6651         * org-publish.el (org-publish-file): Make sure the directory match
6652         for the publishing directory works correctly.
6654         * org-agenda.el (org-agenda-execute-calendar-command)
6655         (org-agenda-diary-entry): Additional optional argument.
6657 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6659         * org-exp.el (org-export-as-html): Add attributes also in mailto
6660         and ftp links.
6662         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6671 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6673         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6674         sure that calls from `org-export-region-as-html' do not do the
6675         special check for a subtree.
6677 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6679         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6681 2008-07-20  Juri Linkov  <juri@jurta.org>
6683         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6684         new keymap `narrow-map' instead of binding "\C-xns".
6686 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6688         * org.el (org-open-file): Use
6689         `org-open-directory-means-index-dot-org'.
6690         (org-open-directory-means-index-dot-org): New option.
6692 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6694         * org.el (org-make-link-string): Remove link attributes from
6695         description.
6696         (org-open-at-point): Remove link attributes bevore using the path.
6698         * org-exp.el (org-export-as-html): Handle link attributes.
6700         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6702         * org-table.el (org-table-to-lisp): New function.
6704         * org.el (org-narrow-to-subtree): Do not include the final newline
6705         into the narrowed region.
6707         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6708         bug with user-define skipping condition.
6710 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6712         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6714 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6716         * org-exp.el (org-export-html-style-default): Automatic overflow
6717         handling for pre fields.
6718         (org-export-as-ascii, org-export-as-html): Change default format
6719         for time stamp.
6721         * org-table.el (org-table-export): Offer completion for translator
6722         functions, and do not require a heading above the table.
6724         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6725         Cater for the case of a list starting in the first line of the
6726         buffer.
6728 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6730         * org-publish.el (org-publish-find-title): Bug fix.
6731         (org-publish-org-index): Implement new :index-style option.
6733 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6735         * org-publish.el (org-publish-timestamp-filename): Use
6736         SHA1-encoded file names in the timestamp directory.
6738 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6740         * org-publish.el (org-publish-needed-p): Be verbose about files
6741         published and files skipped.
6743         * org-exp.el (org-export-preprocess-string): Swap link
6744         normalization and inernal link targeting.
6746         * org-publish.el (org-publish-needed-p): Create timestamp
6747         directory when it does not exist.
6749 2008-07-04  Bastien Guerry  <bzg@altern.org>
6751         * org-clock.el (org-clock-out-when-done): Doc fix.
6753         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6755         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6756         Ignore case when searching for the COMMENT cookie at export time.
6758 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6760         * org-exp.el (org-get-file-contents)
6761         (org-get-and-remove-property): New functions.
6762         (org-export-handle-include-files): Handle the new prefix options.
6763         (org-export-as-html): Fix the verse environment.
6765 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6767         * org.el (org-time=, org-time<, org-time<=, org-time>)
6768         (org-time>=, org-time<>, org-2ft): New functions.
6769         (org-op-to-function): Also provide for the time testing fucntions.
6771 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6773         * org-exp.el (org-export-html-style-default): New constant.
6775 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6777         * org-exp.el (org-export-html-style-extra): New variable.
6778         (org-export-splice-style): New function.
6780 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6782         * org-exp.el (org-export-plist-vars, org-export-as-html):
6783         Implement `org-export-creator-info'.
6784         (org-export-creator-info): New option.
6786 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6788         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6789         (org-property-drawer-re, org-clock-drawer-re): New constants.
6791 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6793         * org-exp.el (org-icalendar-use-deadline)
6794         (org-icalendar-use-scheduled): New options.
6795         (org-icalendar-include-todo): Default changed to t.
6796         (org-print-icalendar-entries): Implement better utilization of
6797         scheduling and deadline time stamps.
6798         (org-export-target-internal-links, org-export-as-html): Allow file
6799         lines without the "file:" prefix if the file path is an absolute
6800         path or starts with ".".
6802         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6803         lastweek etc.
6804         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6806 2008-06-18  Glenn Morris  <rgm@gnu.org>
6807         * org.el (org-map-entries): Let-bind `file'.
6809 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6811         * org.el (org-agenda-skip-archived-trees): Docstring now
6812         discourages using this.
6813         (org-scan-tags): Check for org-agenda-archives-mode.
6814         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6815         (org-agenda-files): Functionality of second arg changed.
6817         * org-agenda.el (org-agenda-archives-mode): New variable
6818         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6819         (org-search-view, org-todo-list, org-tags-view)
6820         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6821         `ifmode' argument.
6822         (org-agenda-quit): Reset the archives mode.
6823         (org-agenda-archives-mode): New command.
6824         (org-agenda-set-mode-name): Include archives info.
6826 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6828         * org.el (org-paste-subtree): Make sure the yanked headline is
6829         visible if it was yanked at a visible point.
6830         (org-move-item-up): Fix the bug with moving white space at the end
6831         of the item.
6832         (org-show-empty-lines-in-parent): New function.
6834 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6836         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6838         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6840         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6841         agenda prefix as well.
6843         * org-publish.el (org-publish-org-index): Make a properly indented
6844         list.
6846         * org.el (org-calendar-agenda-action-key): New option.
6847         (org-get-cursor-date): New function.
6848         (org-mark-entry-for-agenda-action): New command.
6849         (org-overriding-default-time): New variable.
6850         (org-read-date): Respect `org-overriding-default-time'.
6852         * org-remember.el (org-remember-apply-template): Respect the
6853         ovverriding default time.
6855         * org-agenda.el (org-agenda-action-marker): New variable.
6856         (org-agenda-action): New command.
6857         (org-agenda-do-action): New function.
6859 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6861         * org.el (org-schedule, org-deadline): Protect scheduled and
6862         deadline tasks against changes that accidently remove the
6863         repeater.  Also show a message with the new date when done.
6865 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6867         * org.el (org-beginning-of-line): Cater for the case when there
6868         are tags but no headline text.
6869         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6870         it set.
6872 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6874         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6875         the return value is nil instead of "nil" when there is no match.
6877         * org-exp.el (org-insert-centered): Use fill-column instead of
6878         80.
6879         (org-export-as-ascii): Use string-width to measure the width of
6880         the heading.
6882         * org.el (org-diary-to-ical-string): No longer kill buffer
6883         FROMBUF, this is now done by the caller.
6885         * org-exp.el (org-print-icalendar-entries): Move the call to
6886         `org-diary-to-ical-string' out of the loop, and kill the buffer
6887         afterwords.
6889         * org-remember.el (org-remember-visit-immediately): Position
6890         cursor after moving to the note.
6891         (org-remember-apply-template): Use a text property to record the
6892         cursor position.
6893         (org-remember-handler): Align tags after pasting the note.
6895 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6897         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6899         * org-agenda.el (org-agenda-open-link): If there is an
6900         org-bbdb-name property in the current line, jump to that bbdb
6901         entry.
6903         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6904         text property, so that the agenda knows where this entry comes
6905         from.
6907         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6908         interaction between clocking-in from the agenda, and  automatic
6909         task state switching.
6911         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6913         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6914         zmacs-region stays after this command in XEmacs.
6916 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6918         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6920         * org-remember.el (org-remember-templates): Fix bug in
6921         customization type definition.
6923         * org.el (org-map-entries): New function.
6925 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6927         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6928         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6930 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6932         * org-remember.el (org-jump-to-target-location): New variable.
6933         (org-remember-apply-template): Set
6934         `org-remember-apply-template' if requested by template.
6935         (org-remember-handler): Start an idle timer to jump to
6936         remember location.
6938         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6940         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6941         file tags.
6942         (org-get-tags-at): Add the content of `org-file-tags'.
6944         * org-exp.el (org-export-handle-comments): Fix bug with several
6945         comment lines after each other.
6946         (org-number-to-roman, org-number-to-counter): New functions.
6947         (org-export-section-number-format): New option.
6949 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6951         * org-exp.el (org-export-protect-examples): Catch the case of a
6952         missing end_example line.
6954         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6955         `org-file-tags' to nil.
6957         * org-colview.el (org-columns-next-allowed-value): Handle next
6958         argument NTH to directly select a value.
6960         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6961         argument NTH to directly select a value.
6963 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6965         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6967 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6969         * org.el (org-columns-ellipses): New option.
6971 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6973         * org-colview.el (org-columns-add-ellipses): New function.
6974         (org-columns-compact-links): New function.
6975         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6976         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6977         when in agenda.
6978         (org-columns-edit-value): Fixed bug with editing values from
6979         agenda column view.
6980         (org-columns-redo): Also redo the agenda itself.
6982 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6984         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6985         option.
6987         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6989         * org-exp.el (org-export-ascii-preprocess): Renamed from
6990         `org-export-ascii-clean-string'.
6991         (org-export-kill-licensed-text)
6992         (org-export-define-heading-targets)
6993         (org-export-handle-invisible-targets)
6994         (org-export-target-internal-links)
6995         (org-export-remove-or-extract-drawers)
6996         (org-export-remove-archived-trees)
6997         (org-export-protect-quoted-subtrees)
6998         (org-export-protect-verbatim, org-export-protect-examples)
6999         (org-export-select-backend-specific-text)
7000         (org-export-mark-blockquote-and-verse)
7001         (org-export-remove-comment-blocks-and-subtrees)
7002         (org-export-handle-comments, org-export-mark-radio-links)
7003         (org-export-remove-special-table-lines)
7004         (org-export-normalize-links)
7005         (org-export-concatenate-multiline-links)
7006         (org-export-concatenate-multiline-emphasis): New functions,
7007         obtained from spliiting the export preprocessor.
7009         * org-table.el (org-table-recalculate): Improve error message if
7010         the row number is invalid.
7012 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7014         * org-archive.el (org-archive-save-context-info): Fix bugs in
7015         customization setup and docstring.
7017         * org-exp.el (org-export-html-style): Changed the size of in the
7018         <pre> element to 90%.
7020 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7022         * org.el (org-find-src-example-start): Function removed.
7023         (org-edit-src-find-region-and-lang): New function.
7025 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7027         * org.el (org-edit-src-exit): New function.
7028         (org-exit-edit-mode): New minor mode.
7030         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7031         comment-like lines from protected examples.
7033         * org.el (org-edit-src-example, org-find-src-example-start)
7034         (org-protect-source-example, org-edit-special): New functions.
7036 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7038         * org-publish.el (org-publish-project-alist): Fix typo in
7039         docstring.
7040         (org-publish-project-alist): Handle :index-title property.
7042 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7044         * org-export-latex.el (org-export-as-latex): Make sure region
7045         bounds are correct.  Parse subtree properties relating to export.
7047         * org-exp.el (org-export-add-options-to-plist): New function.
7048         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7050 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7052         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7053         EXPORT_TITLE.
7055         * org-exp.el (org-export-get-title-from-subtree)
7056         (org-export-as-ascii, org-export-as-html): Make sure the original
7057         region-beginning and region-end are used, even after moving
7058         point.
7059         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7060         property.
7062         * org-remember.el (org-remember-last-stored-marker): New variable.
7063         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7064         (org-remember-handler): Also use marker to remember
7065         last-stored position.
7067         * org.el (org-goto-marker-or-bmk): New function.
7069 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7071         * org.el (org-file-properties): Renamed from `org-local-properties'.
7072         (org-scan-tags): Take file tags into account.
7073         (org-tags-match-list-sublevels): Default changed to t.
7075         * org-exp.el (org-export-as-html): Close paragraph after a
7076         footnote.
7078         * org.el (org-update-parent-todo-statistics): New function.
7080         * org-exp.el (org-icalendar-store-UID): New option.
7081         (org-icalendar-force-UID): Option removed.
7082         (org-print-icalendar-entries): IMplement UIDs.
7084 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7086         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7088 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7090         * org-faces.el (org-column): Document how this face is being used
7091         and why sometimes the background faces shine through.
7093         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7095         * org-publish.el (org-publish-attachment): Create publishing
7096         directory if it does not yet exist.
7098         * org-table.el (org-calc-default-modes): Change default number
7099         format to (float 8).
7101         * org.el (org-olpath-completing-read): New function.
7102         (org-time-clocksum-format): New option.
7103         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7105         * org-clock.el (org-clock-display, org-clock-out)
7106         (org-update-mode-line): Use `org-time-clocksum-format'.
7108         * org-colview-xemacs.el (org-columns-number-to-string): Use
7109         `org-time-clocksum-format'.
7111         * org-colview.el (org-columns-number-to-string): Use
7112         `org-time-clocksum-format'.
7114 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7116         * org-id.el: New file, move from contrib to core.
7118         * org-exp.el (org-icalendar-force-UID): New option.
7120 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7122         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7123         shifted by one day if theere is a date range without an end
7124         time.
7126         * org.el (org-try-structure-completion): New function.
7128 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7130         * org.el (org-set-font-lock-defaults): Improve fontification of
7131         description lists.
7132         (org-insert-item): Handle description lists.
7133         (org-adaptive-fill-function): Improve auto indentation in
7134         description lists.
7136         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7137         Implement VERSE environment.
7138         (org-export-preprocess-string): Implement the COMMENT
7139         environment.
7141         * org-export-latex.el (org-export-latex-preprocess): Implement
7142         VERSE environment.
7144 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7146         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7147         option.
7149 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7151         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7153         * org.el (org-quote-csv-field): New functions.
7155         * org-table.el (org-table-export-default-format): Remove :splice
7156         from default format, we get the same effect by not specifying
7157         :tstart and :tend.
7158         (org-table-export): Improve setup, distinguish better between
7159         interactive and non-interactive use, allow specifying the format
7160         on the fly, better protection against wrong file names.
7161         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7162         and :tend when :splice is omitted.
7164 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7166         * org-clock.el (org-clock-select-task): Make sure the selection
7167         letters are 1-9 and A-Z, no special characters.
7169 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7171         * org-exp.el (org-export-htmlize): New group.
7172         (org-export-htmlize-output-type)
7173         (org-export-htmlize-css-font-prefix): New options.
7174         (org-export-htmlize-region-for-paste): New function.
7175         (org-export-htmlize-generate-css): New command.
7177 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7179         * org/org.el (org-modules, org-format-latex-options):
7180         * org/org-archive.el (org-archive-stamp-time)
7181         (org-archive-save-context-info):
7182         * org/org-faces.el (org-hide):
7183         * org/org-irc.el (org-irc-parse-link):
7184         * org/org-macs.el (org-call-with-arg, org-autoload):
7185         * org/org-mew.el (org-mew-store-link):
7186         * org/org-remember.el (org-remember-store-without-prompt)
7187         (org-remember-templates): Fix typos in docstrings.
7189         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7191         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7192         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7193         (org-bbdb-anniv-split): Fix typos in docstrings.
7195         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7196         (org-publish-use-timestamps-flag): Reflow docstring.
7197         (org-publish-files-alist): Fix typos in docstring.
7199 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7201         * org.el (org-set-visibility-according-to-property): New function.
7202         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7203         and compute the regular expressions, and update font-lock.
7204         (org-property-re): Allow a dash in property names.
7206         * org-archive.el (org-extract-archive-file): Insert the file name
7207         without the path into the format, to allow the location format to
7208         contain a subdirectory.
7210         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7211         of buffer, and the `org-agenda-type' property undefined, use the
7212         value from the character before.
7214         * org.el (org-add-planning-info): Don't let indentation for
7215         would-be timestamp become extra whitespace at the end of headline.
7217 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7219         * org.el (org-remove-double-quotes, org-file-contents): New
7220         functions.
7222         * org-exp.el (org-infile-export-plist): Also parse the
7223         contents of #+SETUPFILE files, recursively.
7225         * org.el (org-set-regexps-and-options): Also parse the
7226         contents of #+SETUPFILE files, recursively.
7228         * org-exp.el (org-export-handle-include-files): New function.
7229         (org-export-preprocess-string): Call
7230         `org-export-handle-include-files'.
7232         * org.el (org-delete-property-globally)
7233         (org-delete-property, org-set-property): Ignore case during
7234         completion.
7235         (org-set-property): Use `org-completing-read' instead of
7236         `completing-read'.
7238         * org.el (org-complete-expand-structure-template): New,
7239         experimental function.
7240         (org-structure-template-alist): New, experimental option.
7241         (org-complete): Call `org-complete-expand-structure-template'.
7243 2008-05-06  Bastien Guerry  <bzg@altern.org>
7245         * org-export-latex.el (org-export-latex-preprocess): Added
7246         support for blockquotes.
7248 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7250         * org.el (org-read-date-analyze): Catch the case where only a
7251         weekday is given.
7253 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7255         * org.el (org-set-font-lock-defaults): Make the description
7256         tag bold.
7258         * org-exp.el (org-export-as-html, org-close-li): Implement
7259         description lists.
7261 2008-05-04  Jason Riedy  <jason@acm.org>
7263         * org-table.el (*orgtbl-default-fmt*): New variable.
7264         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7265         when there is no other fmt available.
7267         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7268         :tend to suppress the appropriate string.
7270         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7271         table.
7273 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7275         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7276         read date.
7278         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7279         New function.
7281         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7282         New function.
7284 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7286         * org-clock.el (org-clock-find-position): Don't include notes
7287         into clock drawer.
7289         * org-archive.el (org-archive-subtree): No longer remove an
7290         extra line after cutting the subtree.  `org-cut-subtree' already
7291         takes care of this.
7293         * org-remember.el (org-remember-handler): Only kill the target
7294         buffer if it does not contain the running clock.
7296         * org.el (org-markers-to-move): New variable.
7297         (org-save-markers-in-region, org-check-and-save-marker)
7298         (org-reinstall-markers-in-region): New function.
7299         (org-move-subtree-down, org-copy-subtree): Remember relative
7300         marker positions before cutting.
7301         (org-move-subtree-down, org-paste-subtree): Restore relative
7302         marker positions after pasting.
7304         * org-remember.el (org-remember-clock-out-on-exit): New option.
7305         (org-remember-finalize): Clock out only if the setting in
7306         `org-remember-clock-out-on-exit' requires it.
7307         (org-remember-handler): Do the cleanup in the buffer, to make sure
7308         that the clock marker remains in tact.
7310 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7312         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7313         (org-clock-in): Make sure that also tasks outside the narrowed
7314         region will be clocked in correctly.
7315         (org-clock-insert-selection-line): Widen the buffer so that we can
7316         find the correct task heading.
7318         * org.el (org-base-buffer): New function.
7320         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7321         and ";" are escaped.
7322         (org-print-icalendar-entries): Also apply
7323         `org-icalendar-cleanup-string' to the headline, not only to the
7324         summary property.
7326 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7328         * org-exp.el (org-export-preprocess-hook): New hook.
7329         (org-export-preprocess-string): Call
7330         `org-export-preprocess-hook'.
7332         * org.el (org-font-lock-hook): New variable.
7333         (org-font-lock-hook): New function.
7334         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7336 ;; Local Variables:
7337 ;; coding: utf-8
7338 ;; add-log-time-zone-rule: t
7339 ;; End:
7341     Copyright (C) 2008  Free Software Foundation, Inc.
7343   This file is part of GNU Emacs.
7345   GNU Emacs is free software: you can redistribute it and/or modify
7346   it under the terms of the GNU General Public License as published by
7347   the Free Software Foundation, either version 3 of the License, or
7348   (at your option) any later version.
7350   GNU Emacs is distributed in the hope that it will be useful,
7351   but WITHOUT ANY WARRANTY; without even the implied warranty of
7352   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7353   GNU General Public License for more details.
7355   You should have received a copy of the GNU General Public License
7356   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7358 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c