Re-install the support for table.el tables again.
[org-mode/org-tableheadings.git] / lisp / ChangeLog
blobf6d579b50e9928aa15a4c169885b340ced8cab51
1 2010-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-cycle): Print a message when in a table.el table.
4         (org-edit-special): Recognize the table.el context.
5         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
7         * org-src.el (org-at-table.el-p): Declare.
8         (org-edit-src-code): Handle a special case for table.el editing.
9         (org-edit-src-find-region-and-lang): Recognize the table.el
10         context.
12         * org-latex.el (org-export-latex-tables): Convert table.el
13         tables.
14         (org-export-latex-convert-table.el-table): New function.
16         * org-html.el (org-html-expand): Fix table.el export.
18         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
19         headings.
21         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
22         table for the id locations.
24         * org.el (org-read-date-analyze): Match American-style dates, like
25         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
26         current year when reading ISO and American dates.
28 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
30         * org.el (org-face-from-face-or-color): New function.
31         (org-get-todo-face, org-font-lock-add-priority-faces)
32         (org-get-tag-face): Use `org-face-from-face-or-color'.
34         * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
35         simple colors as values.
36         (org-faces-easy-properties): New option.
38         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
39         restricted, as an agenda mode.
40         (org-agenda-fontify-priorities): Allow simple colors as values.
42 2010-02-25  Bastien Guerry  <bzg@altern.org>
44         * org-timer.el (org-timer-current-timer): Renamed from
45         `org-timer-last-timer'.
46         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
47         (org-timer-cancel-timer, org-timer-show-remaining-time)
48         (org-timer-set-timer): Update to use only one timer.
50         * org.el (org-set-property): Remove useless space in the prompt.
52 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
54         * org-html.el (org-export-html-style-default): Add a default style
55         for textareas.
57         * org-exp.el (org-export-format-source-code-or-example): Fix
58         textarea tag.
60 2010-02-24  Bastien Guerry  <bzg@altern.org>
62         * org-clock.el (org-clock-current-task): New variable to store
63         last clocked in task.
64         (org-clock-set-current, org-clock-delete-current): New functions.
66 2010-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
68         * org-remember.el (org-remember-apply-template): Extend comment.
69         (org-remember-handler): Implement clock sibling filing.
71 2010-02-23  Carsten Dominik  <carsten.dominik@gmail.com>
73         * org-publish.el (org-publish-all, org-publish-current-file)
74         (org-publish-current-project): When called with prefix argument
75         FORCE, also rebuild the validation file list.
77         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
78         section headings.
80 2010-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
82         * org-html.el (org-export-as-html-and-open): Kill product buffer
83         if the user wants that.
85         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
86         if the user wants that.
88         * org-exp.el (org-export-kill-product-buffer-when-displayed): New
89         option.
91         * org-agenda.el (org-batch-agenda-csv): Use the time property
92         instead of the `time-of-day' property.
94 2010-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
96         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
97         (org-timer-pause-hook, org-timer-set-hook)
98         (org-timer-cancel-hook): New hooks.
99         (org-timer-start): Run `org-timer-start-hook'.
100         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
101         (org-timer-stop): Run `org-timer-stop-hook'.
102         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
104 2010-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
106         * org.el (org-reveal): Double prefix arg shows the subtree of the
107         parent.
109 2010-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
111         * org-agenda.el (org-search-view): Fix bug with searching full
112         words in headlines in search view.
113         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
114         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
115         scheduled (if the user configures it so.
117 2010-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
119         * org.el (org-hide-archived-subtrees): Don't jump to end of
120         subtree if the match was not in a headline.
121         (org-inside-latex-macro-p): Allow more complex arguments.
122         (org-emphasize): Protect against use at end of buffer.
124 2010-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
126         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
127         text properties.
129 2010-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
131         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
132         values.
133         (org-agenda-todo-ignore-scheduled)
134         (org-agenda-todo-ignore-deadlines): More control with different
135         allowed values.
136         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
137         Honor the new option settings.
139 2010-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
141         * org.el (org-get-location): Make sure the selection buffer is
142         shown in the current frame.
144         * org-ascii.el (org-export-ascii-table-widen-columns): New
145         option.
146         (org-export-ascii-preprocess): Realign tables to remove narrowing
147         if `org-export-ascii-table-widen-columns' is set.
149         * org-table.el (org-table-do-narrow): New variable.
150         (org-table-align): Narrow only if `org-table-do-narrow' is t.
152         * org.el (org-deadline, org-schedule): Allow updating if the
153         relevant time stamp does not have a repeater, i.e. do not require
154         that no time stamp has a repeater.
156         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
157         new white space before the tags.
159         * org-latex.el (org-export-as-latex): Do nit require the buffer to
160         be visiting a file when only exporting to a buffer or string.
161         (org-export-latex-fix-inputenc): Only save the buffer is there is
162         a file name attached to it.
164 2010-02-09  Dan Davison  <davison@stats.ox.ac.uk>
166         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
168 2010-02-08  Carsten Dominik  <carsten.dominik@gmail.com>
170         * org.el (org-fontify-meta-lines-and-blocks): Honor
171         `org-fontify-quote-and-verse-blocks'.
173         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
175 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
177         * org.el (org-open-at-point): Also check for text property
178         org-linked-text before offering collected links.
180 2010-02-03  Stephen Eglen  <stephen@gnu.org>
182         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
183         Optionally extract time specification from text and add to the
184         timestamp.
186 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
188         * org-exp.el (org-html-entities): Fix typo.
190         * org-latex.el (org-export-latex-make-header): Use \providecommand
191         to make sure the \alert macro is defined.
193         * org.el (org-format-latex-signal-error)
194         (org-create-formula-image): Use `org-format-latex-signal-error'.
196 2010-02-02  Stephen Eglen  <stephen@gnu.org>
198         * org.el (org-store-link): For dired buffers, use
199         default-directory as link name if dired-get-filename returns
200         nil.
202 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
204         * org-exp.el (org-export-concatenate-multiline-links): The for
205         protectedness at beginning of match.
207         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
208         AUTO as a coding system, instead default to utf8.
210 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
212         * org.el (org-block-todo-from-children-or-siblings-or-parent)
213         (org-block-todo-from-checkboxes): Respect the local variable
214         value when deciding if blocking should be active.
216         * org-latex.el (org-export-latex-make-header): Define the align
217         macro if it is not yet defined.
219         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
220         `org-insert-heading' with the INVISIBLE-OK argument.
222         * org-mac-message.el (org-mac-message-insert-flagged): Call
223         `org-insert-heading' with the INVISIBLE-OK argument.
225         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
227         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
228         prompt message.
230         * org-html.el (org-html-level-start): Use the
231         `html-container-class' text property to set an additional class
232         for an outline container.
234         * org-exp.el (org-export-remember-html-container-classes): New
235         function.
236         (org-export-preprocess-string): Call
237         `org-export-remember-html-container-classes'.
239         * org.el (org-cycle): Mention level cycling in the docstring.
240         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
242         * org-remember.el (org-remember-apply-template): Do file insertion
243         first.
245 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
247         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
248         problem with mis-aligned graphs when showing habits.
250 2010-01-28  Mikael Fornius  <mfo@abc.se>
252         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
253         when assigning. Begin using numerical characters when all in name
254         is used up. This is to spare alphanumeric characters for better
255         match with other keywords.
257 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
259         * org-exp.el (org-export-preprocess-hook): Improve documentation.
261         * org-latex.el (org-export-latex-preprocess): More consistent
262         conversion and protection of the words LaTeX and TeX.
263         (org-export-latex-fontify-headline, org-export-latex-preprocess):
264         Allow angle brackets in commands, for beamer.
266 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
268         * org-clock.el (org-clock-in): Improve the look of the clock line
269         by formatting links.
271 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
273         * org-latex.el (org-export-latex-classes): Use AUTO as the place
274         holder string for the coding system.  And improve the
275         documentation.
276         (org-export-latex-fix-inputenc): Only modify the coding system if
277         it is given by the placeholder AUTO.
279 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
281         * org-clock.el (org-task-overrun-text): New option.
282         (org-task-overrun, org-clock-update-period): New variables.
283         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
284         overrun clock.
285         (org-clock-notify-once-if-expired): Check if clock is overrun.
287         * org-faces.el: New face `org-mode-line-clock-overrun'.
289 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
291         * org.el (org-narrow-to-subtree): Position the end of the narrowed
292         region before the line with the next heading, to prevent the user
293         from prepending text to the next headline.
295 2010-01-20  Stephen Eglen  <stephen@gnu.org>
297         * org-agenda.el (org-get-time-of-day): Use
298         org-agenda-time-leading-zero to allow leading zero (rather than
299         space) for times.
301 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
303         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
304         org-datetree.el is loaded.
306         * org-datetree.el: autoload `org-datetree-find-day-create'
308         * org-latex.el (org-export-latex-hyperref-format): New option.
309         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
311 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
313         * org-ctags.el (org-ctags-enable): Change order of functions.
314         (org-ctags-create-tags): Add wildcard to file name expansion.
316 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
318         * org.el (org-entry-properties): Fix some important bugs.
320 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
322         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
323         the table is not explicitly given.
325 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
327         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
328         as value.
329         (org-clock-out-if-current): Work with the new list value of
330         `org-clock-out-when-done'.
331         (org-clock-out, org-clock-out-if-current): Avoid circular logic
332         between clocking out and state changes.
334         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
336         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
337         accident protect a character that is before a backslash.
339 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
341         * org-agenda.el (org-diary-class): Use
342         `org-order-calendar-date-args'.
344         * org.el (org-order-calendar-date-args): New function.
346         * org-exp.el (org-export-target-internal-links): Check for
347         protectedness after the first bracket.
349         * org.el (org-entry-properties): Don't match wrong-case TODO
350         keywords.
352         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
353         Document that ARG is passed through to remove the date.
354         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
355         not read a date when the user has given a `C-u' prefix.
357 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
359         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
360         tags are hidden.
362 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
364         * org-latex.el (org-export-latex-fix-inputenc): New function.
365         (org-export-latex-inputenc-alist): New option.
367         * org-exp.el (org-export): New key SPC to publish enclosing
368         subtree.
370 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
372         * org-indent.el (org-indent-add-properties): Catch case when there
373         is no headline in the buffer.
375 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
377         * org-exp.el (org-html-entities): Add checkmark symbol.
379         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
380         verbatim code for ASCII export.
382         * org.el (org-update-statistics-cookies): Also see checkboxes in
383         ordered lists.
385 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
387         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
388         key.
390         * org-beamer.el (org-beamer-amend-header): Change the location
391         where `org-beamer-header-extra' is inserted.
393         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
394         just for computing this regexp.
396 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
398         * org-beamer.el (org-beamer-frame-default-options): New option.
399         (org-beamer-sectioning): Use default options if the user does not
400         have defined any.
401         (org-beamer-fix-toc): Put a frame around the table of contents.
403         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
404         sure case-folding works well when processing comment stuff.
406         * org-latex.el (org-export-latex-after-save-hook): New hook.
407         (org-export-as-latex): Run the new hook.
409 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
411         * org-beamer.el (org-beamer-environments-default): Add the note
412         environments.
413         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
414         lines and collect and combine the content.
415         (org-beamer-after-initial-vars): Check for note tags and make sure
416         they will be seen like a property.
418         * org.el (org-offer-links-in-entry): Fix bug when there is a
419         single link.
421         * org-exp.el (org-export): Make sure the mark is activated, also
422         when `transient-mark-mode' is off.
424         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
425         (org-agenda-search-view-search-words-only): Obsolete variable, is
426         now an alias for `org-agenda-search-view-always-boolean'.
427         (org-agenda-search-view-force-full-words): New option.
428         (org-search-view): Improve docstring, and implement a better logic
429         for Boolean and phrase searches.
430         (org-agenda-last-search-view-search-was-boolean): New variable.
431         (org-agenda-manipulate-query): Consider the type of the last
432         search when modifying the search string.
434 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org-latex.el (org-export-as-latex): Do the first letbind in the
437         right moment.
439         * org-agenda.el (org-get-entries-from-diary): Add the new face to
440         these entries.
442         * org-faces.el (org-agenda-diary): New face.
444         * org.el (org-make-link-regexps): Allow regexp-special characters
445         in link types.
446         (org-open-file): When in-emacs is `system', also force system
447         opening, like when the value was `(16)'.
448         (org-update-statistics-cookies): Handle entries without children.
450         * org-exp.el
451         (org-export-preprocess-before-normalizing-links-hook): New hook.
452         (org-export-preprocess-string): Run the new hook.
454         * org.el (org-offer-links-in-entry): Make RET open all links.
456         * org-html.el (org-export-as-html): Remove any left-over display
457         properties in the html file.
459         * org-wl.el (org-wl-store-link): Work-around for format bug with
460         text properties.
462         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
463         invisibility while adding the graphs.
465 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
467         * org-remember.el (org-select-remember-template): Use C letter to
468         customize remember templates.
470         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
471         Move cursor to next visible line.
473 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
475         * org-beamer.el (org-beamer-sectioning): Leave columns environment
476         by specifying 0 or 1 for column width.
477         (org-beamer-column-widths): Make 0 stand for 0.0.
479 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
481         * org-exp.el (org-export-mark-radio-links): Don't match inside
482         <<target>>.
484         * org.el (org-format-latex-header-extra): New variable.
485         (org-format-latex): Set org-format-latex-header-extra from
486         in-buffer stuff.
487         (org-format-latex): Add org-format-latex-header-extra to the
488         variables on which image creation depends.
489         (org-create-formula-image): Add the header stuff from in-buffer
490         settings.
491         (org-read-date-analyze): Base the analysis for future preference
492         on NOW, not on the default date.
494         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
495         for TODO keyword in inline tasks.
497         * org.el (org-log-note-headings): New headings for removing
498         deadline or scheduling date.
499         (org-deadline, org-schedule): Arrange for logging when removing a
500         date.
501         (org-add-log-note): Handle deadline and scheduling removal.
503 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
505         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
507 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
509         * org-agenda.el (org-diary-class): New function.
511 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
513         * org-latex.el (org-export-latex-preprocess): Do process the text
514         of a radio target.
516 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
518         * org.el (org-entry-properties): Add TIMESTAMP properties back
519         in.
521 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
523         * org.el (org-all-time-keywords): New variable.
524         (org-set-regexps-and-options): Set `org-all-time-keywords'.
525         (org-entry-blocked-p): New function.
526         (org-special-properties): Add BLOCKED as a new special property.
527         (org-entry-properties): New optional argument SPECIFIC, only parse
528         for this property when it is specified.
529         (org-entry-get): Pass a SPECIFIC argument to
530         `org-entry-properties'.
532         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
534 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
536         * org-latex.el (org-export-latex-tables): No forced line end if
537         there is no caption.
539 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
541         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
542         package.
544         * org-latex.el (org-export-latex-tables): Only add a caption when
545         macro in in longtable environments if one has been defined.
547         * org-html.el (org-export-as-html): Only take title from buffer if
548         not exporting body-only.
550         * org-latex.el (org-export-latex-preprocess): Better version of
551         the regular expression for protecting LaTeX macros.
552         (org-export-latex-preprocess): Start searching for macros to
553         protect from beginning of buffer.
555         * org-exp.el (org-export-target-internal-links): Check for
556         protectedness earlier in the string.
558         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
559         case sensitively.
561         * org-id.el (org-id-store-link): Match TODO keywords case
562         sensitively.
564         * org.el (org-heading-components, org-get-outline-path)
565         (org-display-outline-path): Match TODO keywords case sensitively.
567         * org-latex.el (org-export-as-latex): Ignore read-only
568         properties.
570         * org-exp.el (org-export-preprocess-string): Remove any
571         `read-only' properties.
573         * org-agenda.el (org-agenda-inactive-leader): New option.
574         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
575         (org-tags-view): Prompt for matcher if MATCH is an empty string.
576         (org-todo-list): Prompt for matcher if ARG is an empty string.
578 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
580         * org.el (org-open-link-functions): New hook.
581         (org-open-at-point): Run `org-open-link-functions'.
583 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
585         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
586         stamps as well.
588         * org.el (org-inhibit-startup-visibility-stuff): New variable.
589         (org-mode): Don't do startup visibility if inhibited.
590         (org-outline-overlay-data, org-set-outline-overlay-data): New
591         functions.
592         (org-save-outline-visibility): New macro.
593         (org-log-note-headings): Document that one should not change the
594         `state' note format.
596 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
598         * org.el (org-make-link-regexps): Capture link path into a group.
600 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
602         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
603         the options plist.
605 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
607         * org.el (org-startup-with-beamer-mode): New option.
608         (org-property-changed-functions)
609         (org-property-allowed-value-functions): New hooks.
610         (org-entry-put, org-property-get-allowed-values): Run the new
611         hooks.
612         (org-property-next-allowed-value): Run the new hooks.
614         * org-exp.el (org-export-select-backend-specific-text): Add the
615         special beamer tags.
617         * org-beamer.el
618         (org-export-preprocess-before-selecting-backend-code-hook): New
619         file.
621         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
622         (org-export-as-latex): Run
623         `org-export-latex-after-initial-vars-hook'.
624         (org-export-latex-format-toc-function)
625         (org-export-latex-make-header): Call
626         `org-export-latex-format-toc-function'.
628         * org.el (org-fill-template): Make template searches case sensitive.
630         * org-exp.el (org-export): Use "1" as a sign to export only the
631         subtree.
633         * org-colview-xemacs.el (org-columns-edit-value): Use
634         org-unrestricted property.
636         * org-colview.el (org-columns-edit-value):  Use
637         org-unrestricted property.
639         * org.el (org-compute-property-at-point): Set org-unrestricted
640         text property if the list contains ":ETC".
641         (org-insert-property-drawer):  Use
642         org-unrestricted property.
644         * org-exp.el
645         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
646         (org-export-preprocess-string): Run
647         `org-export-preprocess-before-selecting-backend-code-hook'.
649         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
651         * org-latex.el (org-export-region-as-latex): Run
652         `org-export-first-hook'.
654         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
656         * org-docbook.el (org-export-as-docbook): Run
657         `org-export-first-hook'.
659         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
661         * org-exp.el (org-export-first-hook): New hook.
663 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
665         * org-list.el (org-previous-item): Exit at the beginning of the
666         buffer.
668         * org-id.el (org-id-locations-save): Only write the id locations
669         if any are defined.
671         * org-archive.el (org-archive-all-done): Make this work in a file
672         with org-odd-levels-only set.
674         * org.el (org-get-refile-targets): Catch the case when a buffer
675         has no file.
677         * org-latex.el (org-export-as-latex): Cleanup forced line ends
678         where they are not needed.
679         (org-export-latex-subcontent): Remove unnecessary newlines.
681 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
683         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
684         (org-export-latex-fontify): Fix regexp bug that takes special
685         care of protecting the right boundary characters in emphasis
686         matches.
687         (org-export-latex-preprocess): Allow multiple arguments to latex
688         macros.
690         * org.el (org-make-link-regexps): Use John Gruber's regexp for
691         urls.
693         * org-macs.el (org-re): Interpret :punct: in regexps.
695         * org-exp.el (org-export-replace-src-segments-and-examples): Also
696         take the final newline after the END line.
698         * org.el (org-clean-visibility-after-subtree-move): Only fix
699         entries that are not entirely invisible already.
700         (org-insert-link): Respect org-link-file-path-type for
701         "docview:" links in addition to "file:" links.
703 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
705         * org-exp.el (org-export-format-source-code-or-example): Avoid
706         additional extra white lines in LaTeX.
708         * org-list.el (org-list-parse-list): Leave empty lines after the
709         list, don't consider them as part of the list.
711         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
712         searches.
714         * org-clock.el (org-clock-select-task): Convert integer to
715         character for XEmacs.
717 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
719         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
720         compatible.
722 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
724         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
725         variable.
726         (org-set-tags): Use it.
728 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org-list.el (org-empty-line-terminates-plain-lists): Update
731         docstring.
733         * org.el (org-format-latex): Fix link creation for processed latex
734         snippets.
736 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
738         * org-footnote.el (org-footnote-normalize): Protect replacement
739         text.
741         * org.el (org-inside-latex-macro-p): Save match data.
743 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
745         * org-docview.el: New file.
747 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
749         * org-latex.el (org-export-latex-class-options): New variable.
750         (org-export-latex-set-initial-vars): Use the class options.
752         * org.el (org-forward-same-level): Stop at headings that start
753         with an invisible character.
754         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
756 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
758         * org-footnote.el (org-footnote-normalize): Don't take optional
759         arguments in LaTeX macros as footnotes.
761         * org.el (org-inside-latex-macro-p): New function.
763         * org-latex.el (org-latex-to-pdf-process): Change customization
764         group to `org-export-pdf'.
766         * org-agenda.el (org-agenda-get-blocks): Look at time string also
767         on days after the first one.
769         * org.el (org-insert-heading): Also check for item before assuming
770         before-first-heading condition.
772         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
773         (org-export-pdf-logfiles): New option.
774         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
775         (org-export-pdf-logfiles): Fix customization type.
777         * org.el (org-insert-link): Improve error message when there is no
778         default link to select with RET.
780         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
781         parameter list.
783 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
785         * org-latex.el (org-export-latex-parse-global)
786         (org-export-latex-parse-content)
787         (org-export-latex-parse-subcontent): Use
788         `org-re-search-forward-unprotected'.
789         (org-export-as-pdf): Remove log files produced by XeTeX.
791         * org-macs.el (org-re-search-forward-unprotected): New function.
793 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
795         * org-colview.el (org-agenda-colview-summarize): Sort out some
796         confusion between properties and titles, which resulted in
797         agenda summaries not working if a title was set for a column.
799 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
801         * org-mobile.el (org-mobile-agendas): New option.
802         (org-mobile-sumo-agenda-command): Select the right agendas.
804         * org-latex.el (org-export-latex-format-image): Preserve the
805         original-indentation property.
807 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
809         * org-clock.el (org-clock-insert-selection-line): Catch error when
810         an old tasks no longer exists.
812         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
813         (org-export-as-pdf): Don't remove the old PDF file before making
814         the new one.
816         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
817         (org-mouse-context-menu): Use `org-looking-back'.
819         * org.el (org-cycle-level): Use `org-looking-back'.
821         * org-list.el (org-cycle-item-indentation): Use
822         `org-looking-back'.
824         * org-compat.el (org-looking-back): New function.
826         * org.el (org-insert-heading): Catch before-first-headline when
827         inserting a headline.
829 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
831         * org-latex.el (org-export-latex-format-image): Indent figure
832         environment, so that it does not interrupt plain list.
834         * org.el (org-open-at-point): Allow long link descriptions.
836 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
838         * org-html.el (org-export-as-html): Remove empty lines at the
839         beginning of the exported text.
841 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
843         * org-protocol.el (org-protocol-remember): Cater for empty title,
844         region, link.
846         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
847         agenda after adding new entry.
848         (org-agenda-get-represented-tags): New function.
849         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
850         to get a list of tags in the agenda.
852         * org-datetree.el (org-datetree-find-day-create): Fix regular
853         expression.
855         * org.el (org-display-outline-path): Use a format specifier for
856         message, to avoid problems with heading containing `%'.
858         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
859         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
860         (org-agenda-fix-displayed-tags): New function.
861         (org-agenda-do-context-action): Just call
862         `org-display-outline-path', without piping the result through
863         `message'.
865         * org-latex.el (org-export-latex-preprocess): Protect secondary
866         footnote references.
868         * org-indent.el (org-indent-initialize): Avoid empty strings as
869         line prefixes.
871         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
872         hat checking for the mark does not throw an error.
873         (org-agenda-diary-entry-in-org-file): Catch the case that there is
874         not `day' text property in the cursor line.
876         * org.el (org-sort-entries-or-items): Make sure that the final
877         entry has a newline before doing the sorting.
879         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
880         property at the beginning of the line.
882         * org.el (org-make-link-string): Don't allow a description with
883         only white space.
885 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
887         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
888         (org-agenda-insert-diary-as-top-level): New function.
889         (org-agenda-add-entry-to-org-agenda-diary-file): Call
890         `org-agenda-insert-diary-as-top-level'.
892         * org.el (org-occur-in-agenda-files): Make sure none of the
893         buffers is narrowed.
894         (org-activate-plain-links): Add the face property here.
895         (org-set-font-lock-defaults): Do not add the face to plain links,
896         the activator function does this.
898         * org-habit.el (org-is-habit-p): Add doc string.
900 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
902         * org-archive.el (org-archive-subtree-default-with-confirmation):
903         Autoload.
905         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
906         after match optional (happens at the end of a line...).
908         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
909         for special blocks.
911         * org-faces.el (org-copy-face): Set lisp indentation.
912         (org-quote, org-verse): New faces.
914         * org-agenda.el (org-agenda-remove-date): Remove variable.
916 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
918         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
920 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
922         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
923         hash keys to cache and re-use images generated by the
924         org-exp-blocks interface to ditaa and dot.
926 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
928         * org-html.el (org-export-as-html): Move the home/up link into
929         the content div.
931         * org.el (org-export-latex-packages-alist): Option definition
932         moved here from org-latex.el.
934 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
936         * org.el (org-format-latex): Latex images are now saved to files
937         named by the sha1 hash of the latex source text avoiding
938         regeneration of identical images.
940 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
942         * org-html.el (org-export-html-home/up-format): Add an ID to the
943         up/home div.
945 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
947         * org-wl.el (org-wl-store-link): Handle the case that
948         `wl-use-petname' is set.
950         * org.el (org-set-effort): Improve prompt.
951         (org-get-outline-path): Widen to get full path.
952         (org-compact-display-after-subtree-move): Function removed.
954         * org-latex.el (org-export-as-latex): Add the :drawers property.
956 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
958         * org.el (org-speed-commands-user): Allow documentation headlines.
959         (org-speed-commands-default): Organize the value of this constant
960         with descriptive headlines.
961         (org-print-speed-command): Output the headlines.
963 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
965         * org-agenda.el (org-agenda-show-outline-path): New option.
966         (org-agenda-do-context-action): New function.
967         (org-agenda-next-line, org-agenda-previous-line): Use
968         `org-agenda-do-context-action'.
970         * org.el (org-use-speed-commands): Allow function value.
971         (org-speed-commands-default): Make headline motion safe, so that
972         these commands always end on a headline.
973         (org-speed-commands-default): New key `v' for `org-agenda'.
974         (org-speed-move-safe): New function.
975         (org-self-insert-command): Use the function value of
976         `org-use-speed-commands'.
977         (org-get-outline-path): Improve docstring.
978         (org-format-outline-path): New function.
979         (org-display-outline-path): New function.
981 2009-11-12  John Wiegley  <jwiegley@gmail.com>
983         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
984         a string, use that to find the LOGBOOK drawer.
986 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
988         * org.el (org-clone-subtree-with-time-shift): Make it work at the
989         end of the buffer.
991         * org-mobile.el (org-mobile-write-checksums): Specify coding
992         system.
993         (org-mobile-timestamp-buffer): Keep local variable/mode line at
994         beginning of buffer.
996         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
998         * org.el (org-block-todo-from-children-or-siblings-or-parent)
999         (org-block-todo-from-checkboxes): Do not block changes to a nil
1000         TODO state.
1002 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
1004         * org-habit.el (org-habit-parse-todo): Indicate which habit is
1005         wrongly set up in the error messages.
1007         * org-colview.el (org-columns-display-here): Don't try to
1008         calculate values if the underlying property is not set.
1009         (org-columns-string-to-number): Convert age strings back into
1010         fractional days.
1011         (org-agenda-colview-summarize): Handle extended summary types
1012         properly.
1014         * org-colview-xemacs.el (org-columns-display-here): Don't try to
1015         calculate values if the underlying property is not set.
1016         (org-columns-string-to-number): Convert age strings back into
1017         fractional days.
1018         (org-agenda-colview-summarize): Handle extended summary types
1019         properly.
1021 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1023         * org-exp.el (org-export-format-drawer-function): New variable.
1024         (org-export-format-drawer): New function.
1025         (org-export-preprocess-string): Pass the backend as a parameter to
1026         `org-export-remove-or-extract-drawers'.
1027         (org-export-remove-or-extract-drawers): New parameter BACKEND.
1029         * org-protocol.el (org-protocol-char-to-string): New defsubst.
1031 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1033         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1034         message when no block is selected.
1036         * org-latex.el (org-export-latex-links): Check for protectedness
1037         in the last matched character, not after the match.
1039         * org-datetree.el (org-datetree-find-date-create): Respect
1040         restriction when KEEP-RESTRICTION is set.
1041         (org-datetree-file-entry-under): New function.
1042         (org-datetree-cleanup): New command.
1044 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
1046         * org-src.el (org-edit-src-code): New optional argument context
1047         allows calling functions to avoid altering the saved window
1048         configuration.
1049         (org-edit-src-exit): Do not restore window configuration when this
1050         function is used in the context of saving the edit buffer.
1052 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1054         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1055         instances to switching to with-current-buffer, because these seem
1056         to cause problems - no idea why.
1058         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1059         Require diary-lib for (diary-date-display-form).
1061         * org.el (org-log-reschedule, org-log-redeadline): New options.
1062         (org-log-note-headings): Add templates for rescheduling and
1063         deadline changing.
1064         (org-startup-options): Add in-buffer settings for logging changing
1065         schedule and deadline time stamps.
1066         (org-deadline, org-schedule): Check for existing date and arrange
1067         for logging if the user requests it.
1068         (org-add-log-note): Prepare proper note buffers for rescheduling
1069         and deadline changes.
1071 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1073         * org-agenda.el (org-agenda-diary-entry-in-org-file)
1074         (org-agenda-add-entry-to-org-agenda-diary-file)
1075         (org-agenda-insert-diary-make-new-entry): New functions.
1076         (org-agenda-diary-entry): Call
1077         `org-agenda-diary-entry-in-org-file' when appropriate.
1079         * org.el (org-calendar-insert-diary-entry-key): New option.
1080         (org-agenda-diary-file): New option.
1081         ("calendar"): Install our insertion function in the calendar.
1083         * org-remember.el (org-datetree): Require.
1084         (org-remember-templates): Add new positioning option.
1085         (org-remember-reference-date): New variable.
1086         (org-remember-apply-template): Store the reference date in a local
1087         variable.
1088         (org-remember-handler): Implement date tree positioning of entries.
1090         * org-datetree.el: New file.
1092         * org-latex.el (org-export-latex-preprocess): Protect targets in
1093         verbatim emphasis.
1095         * org-html.el (org-export-as-html): Protect targets in verbatim
1096         emphasis.
1098         * org-docbook.el (org-export-as-docbook): Protect targets in
1099         verbatim emphasis.
1101 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
1103         * org.el (org-link-display-format): Should be literal replacement.
1105 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1107         * org-clock.el (org-show-notification): Handle messages that
1108         contain a percent character.
1110         * org-remember.el (org-remember-apply-template): Turn of partial
1111         completion.
1113         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1114         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1116         * org.el (org-indent-mode): Define variable already in org.el.
1117         (org-unfontify-region): Remove line-prefix and wrap-prefix
1118         properties only if org-indent-mode is active.
1120 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1122         * org-icalendar.el (org-print-icalendar-entries): Save match data
1123         around call to verify function.
1124         (org-print-icalendar-entries): Add a call to the verification
1125         function.
1127         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1128         save-restrivtion' form.
1130 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
1132         * org-exp.el (org-export-format-source-code-or-example): restrict
1133         scope of preserve-indentp to the let binding.
1134         (org-src): require org-src, since org-src-preserve-indentation is used.
1136 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1138         * org-timer.el (org-timer-set-timer): Set variables
1139         org-timer-timer[123] correctly.
1142         * org-mobile.el (org-mobile-files-alist): Make it work when
1143         `agenda-archives' is included in
1144         `org-agenda-text-search-extra-files'.
1145         (org-mobile-push): Restore agenda after mobile push.
1147 2009-11-05  John Wiegley  <jwiegley@gmail.com>
1149         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1150         way the amount of idle time is presented in the minibuffer.
1152 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1154         * org-icalendar.el (org-print-icalendar-entries): Use
1155         org-icalendar-verify-function only if non-nil.
1157         * org.el (org-refile): Refile to clock only if the prefix arg is
1158         2.
1159         (org-sparse-tree): Fix docstring to be in line with prompt.
1160         (org-update-parent-todo-statistics): Call
1161         `org-after-todo-statistics-hook' on each level.
1163 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
1165         * org-remember.el (org-remember-apply-template): Make sure the
1166         buffer exists.
1168 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
1170         * org.el (org-tab-ind-state): New variable.
1171         (org-cycle-level): New function.
1172         (org-cycle-level-after-item/entry-creation): New option.
1173         (org-flag-subtree): New function.
1174         (org-hide-archived-subtrees): Call `org-flag-subtree'.
1175         (org-set-effort): Indexed access.
1177         * org-list.el (org-cycle-item-indentation): New function.
1179         * org.el (org-refile): Make prefix argument 2 refile to current
1180         clock.
1181         (org-priority): Interpret action `remove' as call to remove the
1182         priority cookie.
1184         * org-remember.el (org-remember-apply-template): Don't depend on
1185         buffer name being like file name.
1187 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
1189         * org-clock.el (org-clock-play-sound): Expand file in
1190         org-clock-sound, to allow ~ for home.
1192         * org-remember.el (org-remember-handler): Set
1193         text-before-node-creation even if this already looks like a node,
1194         because the string might be needed on non-org-mode target files.
1196         * org-agenda.el (org-agenda-open-link): Make this work in agenda
1197         clocktables.
1198         (org-agenda-switch-to): Follow a link at point if
1199         org-return-follows-link' is set and there is nothing else to do in
1200         this line.
1202 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1204         * org-colview-xemacs.el: Add in changes from org-colview.el
1206 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1208         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1209         strings.
1211 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1213         * org-colview.el (org-columns-new): Make this work with the new
1214         operators.
1215         (org-columns-store-format): Make this work with the new operators.
1217 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1219         * org-src.el (org-src-preserve-indentation): Document that this
1220         variable is also used during export.
1222         * org-exp.el (org-export-format-source-code-or-example): Preserve
1223         indentation if a block has a -i option, or if
1224         `org-src-preserve-indentation' is set.
1226         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1227         indentation if a block has a -i option, or if
1228         `org-src-preserve-indentation' is set.
1230 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1232         * org.el (org-mode-map): Define the new archiving keys.
1233         (org-speed-commands-default): Define an archiving key in the speed
1234         command map.
1235         (org-org-menu): Improve the menu structure concerning archiving.
1237         * org-archive.el (org-archive-subtree-default-with-confirmation):
1238         New command.
1240         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1241         (org-agenda-menu): Add the new archiving commands to the menu.
1242         (org-agenda-archive-default)
1243         (org-agenda-archive-default-with-confirmation): New commands.
1244         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1245         call `org-agenda-archive-with'.
1246         (org-agenda-archive-with): New function.
1248         * org-table.el (org-table-convert-region): Inert spaces around "|"
1249         to avoid line beginnings like "|-1" which will be mistaken as
1250         hlines.
1252 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1254         * org.el (org-offer-links-in-entry): Return nil if there are no
1255         links, t if a link has been selected.
1256         (org-open-at-point): Open attachment directory when called in the
1257         headline and there are no links in the entry body.
1258         (org-speed-commands-default): Add "o" for open-at-point as a speed
1259         command.
1261         * org-attach.el (org-attach-reveal): Optional prefix arg
1262         IF-EXISTS, which avoids creating the attachment directory if it
1263         does not yet exist.
1265         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1266         MATCH.
1268 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1270         * org.el ("abbrev"): Work with abbrev tables only after they have
1271         been loaded.
1273         * org-list.el (org-list-send-list): Fix bug related to match
1274         data.
1276         * org-latex.el (org-export-latex-fontify): Apply verbatim
1277         emphasis.
1278         (org-export-latex-make-header): Insert \obeylines if line breaks
1279         should be preserved.
1281         * org-exp.el (org-export-protect-verbatim): Add an
1282         `org-verbatim-emph' property to such text.
1284 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1286         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1287         (org-print-icalendar-entries): Skip entries where the timestamp is
1288         not a deadline and not scheduled, if the user requests that.
1290         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1291         before an opening quote.
1293         * org-archive.el (org-archive-subtree): Keep archive after
1294         archiving something.
1296         * org-id.el (org-id-update-id-locations): Add archive files if
1297         that is required by `org-id-extra-files'.
1299 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1301         * org-src.el (org-src-window-setup): New option.
1302         (org-src-switch-to-buffer): New function.
1303         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1304         restore window configuration.
1305         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1306         Call `org-src-switch-to-buffer'.
1308         * org.el (org-default-properties): Add STYLE property.
1309         (org-files-list): Use the function call to get the files.
1310         (org-additional-option-like-keywords): Add SETUPFILE to completion
1311         list.
1313 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1315         * org-table.el (org-table-convert-region): Correctly interpret
1316         quoting in csv import.
1318         * org.el (org-icompleting-read): Make iswitchb completion work
1319         with lists and tables.
1321         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1322         while pushing the mobile agenda.
1324 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1326         * org-clock.el
1327         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1328         and `when-no-clock-is-running'.
1329         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1330         whether or not to resolve Org buffers on clock in.
1332 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1334         * org-colview.el (org-format-time-period): Function to format
1335         times in fractional days for display.
1336         (org-columns-display-here): Add support for showing a calculated
1337         value in place of the property.
1338         (org-columns): Set `org-columns-time' to the current time so time
1339         difference calculations will work.
1340         (org-columns-time): Use to store the current time when column view
1341         is displayed, so all time differences will use the same reference
1342         point.
1343         (org-columns-compile-map): There is now an extra position in each
1344         entry specifying the function to use to calculate the displayed
1345         value for the non-calculated properties in the column,
1346         (org-columns-compute-all): Set `org-columns-time' to the current
1347         time so time difference calculations will work.
1348         (org-columns-compute): Handle column operators where the values
1349         used are calculated from the underlying property.
1350         (org-columns-number-to-string): Handle the 'age' column format
1351         (org-columns-string-to-number): Correct the function name (was
1352         org-column...). Add support for the 'age' column format.
1353         (org-columns-compile-format): Support the additional parameter in
1354         org-columns-compile-map.
1356 2009-10-26  Bastien Guerry  <bzg@altern.org>
1358         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1359         variable.
1361 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1363         * org-clock.el (org-clock-has-been-used): New variable.
1364         (org-clock-in): Set `org-clock-has-been-used'.
1365         (org-clock-save): Save only if clock data has been used or created
1366         during this session.
1368 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1370         * org-clock.el (org-clock-persist): New value, to store only the
1371         clock history.
1372         (org-clock-save): Don't save the clock if only the history should
1373         be stored.
1374         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1375         when restoring a saved clock.
1377 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1379         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1380         `org-time-clock-use-fractional'.
1382         * org.el (org-time-clocksum-use-fractional)
1383         (org-time-clocksum-fractional-format): Two new customizable
1384         variables which allow the user to select fractional times (1.25
1385         instead of 1:25) in the `org-clock-display' report.
1387 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1389         * org-habit.el (org-habit-build-graph): None of the arguments
1390         should be optional.
1391         (org-habit-parse-todo, org-habit-deadline)
1392         (org-habit-get-priority, org-habit-get-faces)
1393         (org-habit-build-graph): Further simplifications by storing all
1394         past, scheduled and deadline dates as a number of days past the
1395         epoch, and not as times.
1397         * org-habit.el (org-habit-warning-face)
1398         (org-habit-warning-future-face): Removed because these are no
1399         longer used.
1400         (org-habit-deadline, org-habit-deadline-repeat): Now always
1401         returns a date; computed if there was a scheduled repeater but no
1402         deadline repeater.
1403         (org-habit-get-priority): Further improvements to the priority
1404         algorithm.  In particular, items past due should always appear
1405         before items due or not yet due.
1406         (org-habit-get-faces): Greatly simplified the logic, now that
1407         `org-habit-deadline' always returns a valid time.
1409 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1411         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1412         New option.
1414         * org.el (org-tag-alist): Fix customization type.
1416 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1418         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1419         Make sure the regexp search can fail without throwing an error.
1420         (org-mobile-apply): Save the inbox buffer after removing
1421         successfully applied changes.
1423 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1425         * org-habit.el (org-habit-build-graph): Fix to the graph building
1426         when last DONE date is earlier than `org-habit-preceding-days'.
1428         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1429         time is reported after the user comes back (but before they
1430         resolve time).
1432         * org.el (org-get-repeat): Change so that this function can be
1433         called with either `org-scheduled-string' or
1434         `org-deadline-string'.
1436         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1437         to find the scheduled date.
1439         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1440         `org-clock-disable-clock-resolution', since negatives don't sound
1441         good in customization variables.
1442         (org-clock-in): Don't use the auto-resolution logic if the user is
1443         clocking into a different task while an active clock is running.
1444         This then allows the default behavior of clocking out of the open
1445         task and then into the new task.
1447         * org-habit.el (org-habit-parse-todo): Generate an error if a
1448         habit has a scheduled repeat period < 1.
1449         (org-habit-get-faces): Fixes to the way that colors are computed.
1450         (org-habit-build-graph): The graph wasn't displaying beyond any
1451         day that had two completions in it.
1453         * org.el (org-modules): Made this variable more consistent, since
1454         it was referring to Org, OrgMode and Org-mode, whereas the docs
1455         for the variable always refer to Org-mode.
1457 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1459         * org.el (org-repeat-re): The changed org-repeat-re no longer
1460         matched simple +2d type repeaters. Fix it so it does.
1462 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1464         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1465         macro in the VERSE environment.
1467 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1469         * org-habit.el (org-habit-get-priority): A new function that
1470         determines the relative priority of a habit, based on how long
1471         past its scheduled date it is, and how near the deadline is.
1473         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1474         using `org-habit-get-priority'.
1476         * org-habit.el (org-habit-build-graph): Start displaying colors
1477         from the first scheduled date, if that date is earlier than the
1478         first completion date.
1480         * org-habit.el: Changed all "color" variables to faces, and made
1481         them appropriate for light and dark backgrounds.
1483         * org-habit.el (org-habit-duration-to-days): Made this function
1484         more general.
1485         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1487         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1488         habits, since they don't use DEADLINE anymore.
1490         * org.el (org-repeat-re, org-display-custom-time)
1491         (org-timestamp-change): Extended to support the new ".+N/N"
1492         syntax, used for habits.
1494         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1495         variable reference.
1497         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1498         modeline when habits are being displayed (if that module is being
1499         loaded).
1501 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1503         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1504         idle time using the xscreensaver extension.
1505         (org-user-idle-seconds): Use X11 idle time if available.
1507 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1509         * org-agenda.el (org-agenda-next-line): New command.
1510         (org-agenda-previous-line): New commands.
1511         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1512         commands.
1513         (org-agenda-follow-mode): Do the follow immediately if the mode is
1514         turned on here.
1515         (previous-line, next-line): Replace keys with the corresponding
1516         org functions.
1517         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1518         command.
1520         * org.el (org-icompleting-read): Turn off partial completion mode
1521         for the duration of this completion round.
1523         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1524         macros in author lines and similar stuff.
1526         * org.el (org-file-tags): Fix docstring.
1527         (org-get-buffer-tags): Add the #+FILETAGS tags.
1528         ("ecb"): Maks ecb show context after jumping into an Org file.
1530 2009-10-20  John Wiegley  <johnw@newartisans.com>
1532         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1533         graphs after everything else in the buffer has been setup.
1535 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1537         * org-mobile.el (org-mobile-apply): Count success and failure.
1539         * org.el (org-indent-line-function): Fix regexp replace problem.
1541 2009-10-19  John Wiegley  <johnw@newartisans.com>
1543         * org-clock.el (org-clock-disable-clock-resolution): New
1544         customization variable that disable automatic clock resolution on
1545         clock in.
1546         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1547         not automatically resolve anything.  This is does not affect
1548         idle-time resolution, however, if `org-clock-idle-time' is set.
1550 2009-10-19  John Wiegley  <johnw@newartisans.com>
1552         * org-habit.el: New file, which implements code to build a "habit
1553         consistency graph".
1555         * org-agenda.el (org-agenda-get-deadlines)
1556         (org-agenda-get-scheduled): Display consistency graphs when
1557         outputting habits into the agenda.  The graphs are always relative
1558         to the current time.
1559         (org-format-agenda-item): Added new parameter `habitp', which
1560         indicates whether we are formatting a habit or not.  Do not
1561         display "extra" leading information if habitp is true.
1563         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1564         leaders for repeat strings.
1565         (org-get-repeat): Now takes a string parameter `tagline', so the
1566         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1568 2009-10-19  John Wiegley  <johnw@newartisans.com>
1570         * org-agenda.el (org-agenda-auto-exclude-function): New
1571         customization variable for allowing the user to create an "auto
1572         exclusion" filter for doing context-aware auto tag filtering.
1573         (org-agenda-filter-by-tag): Changes to support the use of
1574         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1576 2009-10-18  John Wiegley  <johnw@newartisans.com>
1578         * org.el (org-files-list): Don't attempt to return a file name for
1579         Org buffers which have no associated file.
1581         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1583 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1585         * org-mobile.el (org-mobile-locate-entry): Interpret files
1586         relative to org-directory.
1587         (org-mobile-inbox-for-pull): Document the best location for this
1588         file.
1589         (org-mobile-check-setup): Verify `org-directory'.
1590         (org-mobile-create-index-file): Sort the files to be listed in
1591         index.org.
1593 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1595         * org.el (org-fast-tag-selection): Add a way to display a
1596         description for a tag group. This is done by adding a string to
1597         either the startgroup or endgroup cell.
1599 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1601         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1602         (org-emacs-idle-seconds): Use `org-float-time' instead of
1603         `time-to-seconds'
1605 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1607         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1608         type.
1610         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1611         the value of ARG when doing local cycling.
1613 2009-10-17  John Wiegley  <johnw@newartisans.com>
1615         * org-clock.el (org-clock-resolve-clock): If keeping or
1616         subtracting time results in a clock out at a time in the past, and
1617         if the resolution occurred due to idleness or invoking `M-x
1618         org-resolve-clocks', remember that past moment in time.  On the
1619         next clock in, the user will be prompted to see if they want to
1620         back-date their new clock to then.
1621         (org-clock-resolve): Do not jump the user to the location of a
1622         dangling clock if the resolution is occuring due to an idle
1623         timeout.  In that case there is typically only one dangling clock,
1624         the active one, and there is no value gained by shuffling their
1625         windows around to show it to them.  Being prompted to resolve an
1626         idle clock should be as inobtrusive as possible.
1627         (org-resolve-clocks-if-idle): New function that resolves only the
1628         currently active clock if the user has exceeded the time returned
1629         by `org-user-idle-seconds', based on the value of
1630         `org-clock-idle-time'.
1631         (org-clock-in): If, after resolving clocks,
1632         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1634         * org-clock.el (org-clock-resolve-clock): New function that
1635         resolves a clock to a specific time, closing or resuming as need
1636         be, and possibly even starting a new clock.
1637         (org-clock-resolve): New function used by `org-resolve-clocks'
1638         that sets up for the call to `org-clock-resolve-clock'.  It
1639         determines the time to resolve to based on a single-character
1640         selection from the user to either keep time, subtract away time or
1641         cancel the clock.
1642         (org-resolve-clocks): New user command which resolves dangling
1643         clocks -- that is, open but not active -- anywhere in the file
1644         list returned by `org-files-list'.
1645         (org-clock-in): Automatically resolve dangling clocks whenever a
1646         user clocks in.
1647         (org-clock-cancel): If the user cancels the solely clock in a
1648         LOGBOOK, remove the empty drawer.
1650         * org-clock.el (org-clock-idle-time): New user customizable option
1651         for detecting whether the user has left a clock idle.  Note: it is
1652         only used in this commit to test whether it's worthwhile to check
1653         OS X to get the Mac user's current idle time.  If the Emacs idle
1654         time is less than the value, the user hasn't been away long enough
1655         to be worth checking (a more expensive test than just getting
1656         Emacs idle time).
1657         (org-user-idle-seconds, org-mac-idle-seconds)
1658         (org-emacs-idle-seconds): This three functions, in conjunction
1659         with the user customization variable `org-clock-idle-time', return
1660         the number of seconds (as a floating point) that the user has been
1661         away from their Emacs (or, if running on OS X, their computer).
1663         * org-clock.el (org-find-open-clocks): New function that returns a
1664         list of all open clocks in the given FILE.  Note that each clock
1665         it returns is a cons cell of the format (MARKER . START-TIME).
1666         This "clock" value is used by several of the new clock module
1667         utility functions.
1668         (org-is-active-clock): New inline function which tests whether the
1669         given clock value is the same as the currently active clock.
1670         Returns non-nil if this is the case.
1671         (org-with-clock-position): New macro that evaluates FORMS with
1672         point in the buffer and at the position of the given clock.
1673         Changes to the current clock are global.
1674         (org-with-clock): New macro that evaluates FORMS with point in the
1675         buffer and at the position of the given clock.  However, changes
1676         to the current clock are local and have no effect on the user's
1677         active clock.  This allows, for example, far any clock to be
1678         cancelled without cancelling the active clock.
1679         (org-clock-clock-in): New inline function that switches the active
1680         clock to the given clock.  If either the argument RESUME, or the
1681         global `org-clock-in-resume', are non-nil, it will resume a clock
1682         that was previously left open.
1683         (org-clock-clock-out): New inline function that clocks out the
1684         given clock value without affecting the currently active clock.
1685         (org-clock-clock-cancel): New inline function that cancels the
1686         given clock value without affecting the currently active clock.
1688         * org-clock.el (org-clock-in): Before creating
1689         `org-clock-mode-line-timer', check to make sure an older timer is
1690         not currently running.
1691         (org-clock-out): Accept new third parameter `at-time', which
1692         permits a clock to be clocked out at a specific time.  Note that
1693         no attempt is made to verify that the clock out time is later than
1694         the clock in time.
1696         * org.el (org-files-list): New utility function for returning a
1697         list of all open org-mode buffers, plus all files used to build
1698         the agenda buffer.  Note that not all the files will necessarily
1699         be visited by a buffer at time of call.
1700         (org-entry-beginning-position): Like the function
1701         `line-beginning-position', this inline function returns the
1702         beginning position of the current heading/entry.
1703         (org-entry-end-position): Like the function `line-end-position',
1704         this inline function returns the end position of the current
1705         heading/entry.
1707 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1709         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1710         a header line.
1712 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1714         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1716 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1718         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1719         entries that have no tags.
1720         (org-agenda-search-view): New customize group.
1721         (org-agenda-search-view-search-words-only): New option.
1722         (org-search-view): Implement substring search.
1724 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1726         * org.el (org-outline-level): Add doc string.
1728 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1730         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1731         variable.
1732         (org-inlinetask-export-handler): Only export inline task if the
1733         user option calls for it.
1735 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1737         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1738         END if present.
1740 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1742         * org-latex.el (org-export-latex-tables): Don't format in
1743         protected regions.
1745 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1747         * org-src.el (org-edit-src-code)
1748         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1749         macro editing.
1751         * org-agenda.el (org-prefix-category-max-length): New variable.
1752         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1753         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1755 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1757         * org-mobile.el (org-mobile-create-index-file): Improve the
1758         listing of tags and todo keywords.
1760         * org-latex.el (org-export-latex-format-image): New function.
1761         (org-export-latex-links): Use `org-export-latex-format-image'.
1763 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1765         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1766         (org-inlinetask-remove-terminator): New functions.
1767         (org-inlinetask-export-handler): Terminate the description list.
1769         * org-exp.el (org-export-select-backend-specific-text): Remove the
1770         region markers.
1772         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1773         tasks without content.
1775         * org-clock.el: Make sure the clock-in target position does not
1776         move to a different node by widening the buffer.
1778         * org-html.el (org-export-html-format-image): Wrap image into
1779         figure div only when there is a caption.
1781         * org-archive.el (org-archive-mark-done): Change default value to
1782         nil.
1784 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1786         * org.el (org-context): Call `bobp', not `eobp'.
1788         * org-clock.el (org-clock-cancel): Remove quotes from marker
1789         variables.
1791         * org.el (org-read-date-prefer-future): New allowed value `time'.
1792         (org-read-date-analyze): Shift day to tomorrow depending on time
1793         entered and value of `org-read-date-prefer-future'.
1795 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1797         * org.el (org-set-tags-to): New command.
1799         * org-mobile.el (org-mobile-action-alist): Add more options and
1800         update the docstring.
1801         (org-mobile-apply-flags): Parse for and use the data.
1803         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1804         the plist.
1806         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1807         keyword.
1809         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1811 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1813         * org-inlinetask.el (org-inlinetask-export): Option removed.
1814         (org-inlinetask-export-handler): Better export.
1816         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1817         (org-export-as-xoxo): Run the new hook.
1819         * org-html.el (org-export-html-final-hook): New hook.
1820         (org-export-as-html): Run the new hook.
1822         * org-docbook.el (org-export-docbook-final-hook): New hook.
1823         (org-export-as-docbook): Run the new hook.
1825         * org-ascii.el (org-export-ascii-final-hook): New hook.
1826         (org-export-as-ascii): Run the new hook.
1828         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1829         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1831         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1832         space character as the character before the ^/_.
1833         (org-export-latex-final-hook): New hook.
1834         (org-export-as-latex): Run `org-export-latex-final-hook'.
1836 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1838         * org-macs.el (org-if-unprotected-at): Fix docstring.
1840         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1841         text in the prefix (if category is a link).
1843         * org-latex.el (org-export-latex-preprocess): Deal properly with
1844         empty lines in verse environments.
1846         * org.el (org-format-latex-header): Inline fullpage.sty.
1848         * org-footnote.el (org-footnote-create-definition): Reveal context
1849         to add a new footnote definition.
1851         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1852         the index file.
1853         (org-mobile-files): New option.
1854         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1855         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1856         functions.
1857         (org-mobile-push): Start by creating the files lists.
1858         (org-mobile-copy-agenda-files): Move killing the buffer to after
1859         the save-excursion has exited.
1860         (org-mobile-write-checksums): Write checksums also for files in
1861         sub-directories.
1863         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1864         org-table-recalculate when cursor is in TBLFM line.
1866         * org-list.el (org-renumber-ordered-list): Fix cursor position
1867         when bullet length has changed.
1869 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1871         * org.el (org-format-latex): Mention `org-format-latex-options' in
1872         the docstring.
1874 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1876         * org.el (org-agenda-get): New function.
1878         * org-agenda.el (org-agenda-post-command-hook): No longer move
1879         point away from end of line.
1880         (org-agenda-add-entry-text, org-agenda-collect-markers)
1881         (org-finalize-agenda, org-agenda-mark-clocking-task)
1882         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1883         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1884         (org-agenda-compare-effort, org-agenda-filter-apply)
1885         (org-agenda-later, org-agenda-change-time-span)
1886         (org-agenda-post-command-hook, org-agenda-show-priority)
1887         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1888         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1889         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1890         (org-agenda-open-link, org-agenda-copy-local-variable)
1891         (org-agenda-switch-to, org-agenda-check-no-diary)
1892         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1893         (org-agenda-add-note, org-agenda-change-all-lines)
1894         (org-agenda-priority, org-agenda-set-tags)
1895         (org-agenda-set-property, org-agenda-set-effort)
1896         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1897         (org-agenda-show-new-time, org-agenda-date-prompt)
1898         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1899         (org-agenda-clock-in, org-agenda-bulk-mark)
1900         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1901         `org-get-at-bol'.
1903         * org-colview.el (org-columns-display-here)
1904         (org-columns-edit-allowed, org-agenda-columns): Use
1905         `org-get-at-bol'.
1907 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1909         * org.el (org-special-ctrl-a/e): Improve documentation and
1910         customize type.
1911         (org-end-of-line): Don't jump to after the ellipsis.
1912         (org-mode-map): Bind <home> and <end> as well.
1914 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1916         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1917         space after #+ as comments.
1918         (org-open-at-point): Run `org-follow-link-hook' always.
1920         * org-latex.el (org-export-latex-emph-format): Use better commands
1921         to insert special characters in verbatim snippets.
1923 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1925         * org-faces.el (org-copy-face): New function.  Use it to create
1926         various faces formerly created by using `copy-face'.
1928         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1929         window dedicated.
1930         (org-agenda-quit): Kill the frame containing the agenda window if
1931         that frame was created for the agenda.
1933 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1935         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1936         stamp in the agenda.
1938 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1940         * org-mobile.el (org-mobile-create-index-file): Add the list of
1941         TODO keywords, and the list of drawers to the index file.
1943         * org-agenda.el (org-prepare-agenda): Reset
1944         `org-drawers-for-agenda'.
1945         (org-prepare-agenda): Uniquify list of drawers.
1947         * org.el (org-complex-heading-regexp-format): New variable.
1948         (org-set-regexps-and-options): Define
1949         `org-complex-heading-regexp-format'.
1950         (org-drawers-for-agenda): New variable.
1951         (org-map-entries): Bind `org-drawers-for-agenda'.
1952         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1954         * org-remember.el (org-go-to-remember-target)
1955         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1957 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1959         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1960         problem.
1962         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1963         the capture file, and make it non-configurable.
1965         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1966         always with `invisible-ok'.
1967         (org-store-link): No error when there is nothing to link to in the
1968         agenda.
1970         * org-list.el (org-update-checkbox-count): Insert changed cookie
1971         before the old, to avoid problems with invisibility at the end of
1972         the line.
1973         (org-update-checkbox-count): Insert changed cookie before the old,
1974         to avoid problems with invisibility at the end of the line.
1976         * org.el (org-sort-entries-or-items): Include the final newline.
1977         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1978         lines for fontification.
1979         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1980         (org-prepare-dblock): Store the current indentation of the BEGIN
1981         line.
1982         (org-update-dblock): Apply the indentation of the begin line to
1983         the rest of the block.
1984         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1985         (org-startup-folded): New allowed value `showeverything'.
1986         (org-startup-options): Add STARTUP keyword `showeverything'.
1987         (org-set-startup-visibility): Respect value `showeverything' in
1988         org-startup-folded.
1990 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1992         * org.el (org-closest-date): Fix issue with past preference.
1994         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1996         * org-archive.el (org-archive-set-tag)
1997         (org-archive-subtree-default): New commands.
1999         * org-mobile.el (org-mobile-create-index-file): Fix link to
2000         capture file.
2001         (org-mobile-copy-agenda-files): Create the capture file if it does
2002         not exist.
2004         * org-clock.el (org-clock-clocktable-default-properties): New
2005         option.
2006         (org-clock-report): Use
2007         `org-clock-clocktable-default-properties'.
2009 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
2011         * org.el (org-iswitchb-completing-read): Fix typo.
2013         * org-crypt.el: New file.
2015         * org.el: Add an entry for org-crypt.
2017 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2019         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2020         consistency.
2021         (org-batch-store-agenda-views): New function.
2022         (org-mobile-force-id-on-agenda-items): Mention variable.
2023         (org-agenda-title-append): Define variable.
2024         (org-write-agenda): New export to Org files.
2025         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2026         (org-agenda): Allow to keep the restricted file list if a special
2027         variable is bound to t.
2028         (org-agenda): Define a special agenda view for working on flagged
2029         entries.
2030         (org-agenda-get-restriction-and-command): List the new agenda
2031         view.
2032         (org-agenda-show-the-flagging-note): New command.
2033         (org-agenda-mode-map): New key `?' for looking at the flagging
2034         note.
2036         * org.el (org-autoload): Autoload org-mobile.el.
2037         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2039         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2041 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2043         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2044         statements.
2045         (org-table-get-remote-range): Match indented #+TBLNAME
2046         statements.
2048         * org.el (org-convert-to-odd-levels)
2049         (org-convert-to-oddeven-levels): Work also correctly if the file
2050         is in outline-mode.
2052 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
2054         * org.el (org-store-link): When in agenda buffer, link to
2055         referenced entry.
2056         (org-add-planning-info): Remove spaces at eol.
2058         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2059         property.
2061 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
2063         * org-latex.el (org-export-latex-first-lines): Fix problem with
2064         LaTeX export of first line and selected subtree.
2066         * org.el (org-shifttab): Interpret arg differently when using only
2067         odd levels.
2069 2009-09-09  Bastien Guerry  <bzg@altern.org>
2071         * org.el (org-check-agenda-file): Use a more explicit message
2073 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
2075         * org-exp.el (org-export-remove-special-table-lines): Don't remove
2076         normal lines.
2078 2009-09-08  Bastien Guerry  <bzg@altern.org>
2080         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2081         prompt in the temporary window.
2083         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2084         prefix for marked entries in the agenda view.
2086 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
2088         * org.el (outline-end-of-subtree): Bugfix: advise this function in
2089         a way that prevents any trailing character from being displayed.
2091 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
2093         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2094         menu.
2096         * org-exp.el (org-export-remove-special-table-lines): Remove bad
2097         slow regexp match.
2099 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
2101         * org-latex.el (org-export-latex-preprocess): Do not protect in
2102         the LaTeX header.
2104         * org-src.el (org-edit-src-save): Save window setup while saving.
2105         (org-edit-src-code): Use new buffer name construction scheme.
2107 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
2109         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2110         variable.
2111         (org-agenda-entry-text-cleanup-hook): New hook.
2112         (org-agenda-get-some-entry-text): Remove matches of
2113         `org-agenda-entry-text-exclude-regexps' and run the hook
2114         `org-agenda-entry-text-cleanup-hook'.
2116         * org.el (org-offer-links-in-entry): New argument ZERO to
2117         implement a link with index zero.
2118         (org-cycle-show-empty-lines): Not keep empty line under header
2119         hidden.
2120         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2121         to nil for special completion.
2122         (org-store-link): Don't error before the first heading.
2124         * org-agenda.el (org-agenda-open-link): Pass the prefix to
2125         `org-offer-links-in-entry'.
2127 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
2129         * org-agenda.el (org-agenda-quit): Provide the window argument for
2130         `window-dedicated-p', Emacs 22 needs it.
2131         (org-format-agenda-item): If the category is a link, arrange for
2132         invisible text to replaced with spaces.
2133         (org-compile-prefix-format): Add the extra space.
2134         (org-prefix-category-length): New variable.
2136         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2137         references from TOC lines.
2139         * org.el (org-selected-window): New variable.
2141         * org-table.el (org-table-edit-formulas): Remember the selected
2142         window.
2143         (org-table-fedit-finish, org-table-fedit-abort): Select the window
2144         that was originally selected.
2146         * org-exp.el (org-export-preprocess-apply-macros): Scan the
2147         expansion of a macro for more macro definitions.
2149         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2150         invisibility overlay starts on the newline.
2152 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
2154         * org-protocol.el (org-protocol-store-link)
2155         (org-protocol-remember, org-protocol-open-source): Add autoloads.
2157         * org-compat.el (org-float-time): New function.
2159         * org.el (org-clock-update-time-maybe)
2160         (org-sort-entries-or-items, org-do-sort)
2161         (org-evaluate-time-range, org-time-string-to-seconds)
2162         (org-closed-in-range): Use `org-float-time'.
2164         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2165         (org-timer-seconds):  Use `org-float-time'.
2167         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2168         (org-clock-sum, org-dblock-write:clocktable)
2169         (org-clocktable-steps):  Use `org-float-time'.
2171         * org-agenda.el (org-agenda-last-marker-time)
2172         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
2174         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2175         function.
2177         * org-exp.el (org-get-file-contents): Only protect lines that
2178         really need it.
2180         * org-html.el (require): Require cl for compilation.
2182         * org.el:  Avoid using `default-major-mode'.
2184         * org-plot.el (require): Require CL only at compile time.
2186         * org-exp.el (require): Require CL only at compile time.
2188         * org-agenda.el (org-agenda-quit): When the agenda window is
2189         dedicated, remove other windows before exiting, so that the frame
2190         really will be killed.
2192         * org-exp.el (org-export-handle-include-files): Reset START and
2193         END for each loop cycle.
2195 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
2197         * org.el (org-eval-in-calendar): Use
2198         `org-select-frame-set-input-focus'.
2200         * org-compat.el (org-select-frame-set-input-focus): New function.
2202         * org.el (org-update-statistics-cookies): New function.
2203         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2205 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2207         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2208         after the local variables are set.
2210         * org-latex.el (org-export-latex-protect-amp): New function.
2211         (org-export-latex-links): Protect link ampersands in tables.
2213         * org-exp.el (org-export-select-backend-specific-text): Match in
2214         two steps, to avoid regexp problems.
2216         * org.el (org-offer-links-in-entry): Improve working with many and
2217         duplicate links.
2219         * org-agenda.el (org-agenda-show-1): Make more consistent with
2220         normal cycling.
2221         (org-agenda-cycle-show): Make more consistent with normal cycling.
2223         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2224         website.
2226 2009-08-30  Bastien Guerry  <bzg@altern.org>
2228         * org-latex.el (org-export-latex-first-lines): Bugfix.
2230 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2232         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2233         about new effort.
2235         * org.el (org-set-effort): New function.
2236         (org-mode-map): New key for effort setting command.
2238         * org-agenda.el (org-agenda): Keep window setup when calling
2239         agenda from within agenda window.
2240         (org-agenda-mode-map): New keys for effort setting commands.
2241         (org-agenda-menu): Add effort setting commands to menu.
2242         (org-agenda-set-property, org-agenda-set-effort): New functions.
2244         * org-latex.el (org-export-latex-tables): Fix
2245         `org-table-last-alignment' and `org-table-last-column-widths' if
2246         the first column has been removed.
2248 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2250         * org.el (org-remove-timestamp-with-keyword): Only remove in
2251         entry, not in subtree.
2253         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2254         emacs lisp.
2256         * org.el (org-open-at-point): When on headline, offer all strings
2257         in entry.
2259         * org-remember.el (org-remember-templates): Documentation fix.
2261         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2262         `org-get-last-sibling' instead of the outline versions of these
2263         functions.
2264         (org-get-last-sibling): New function.
2265         (org-refile): Use `org-get-next-sibling' instead of the outline
2266         version of this function.
2267         (org-clean-visibility-after-subtree-move): Use
2268         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2269         outline versions of these functions.
2271 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2273         * org-agenda.el (org-prepare-agenda): When creating a new frame
2274         for the agenda, make the window dedicated.
2276         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2278         * org-table.el (org-table-align): Change the order of reinsertion
2279         and deletion, to avoid problems with overlays following the table.
2281         * org.el (org-parse-time-string): Better error message.
2282         (org-show-subtree): Use org-end-of-subtree.
2284         * org-macs.el (org-goto-line): New defsubst.
2286         * org.el (org-open-file, org-change-tag-in-region)
2287         (org-fast-tag-show-exit): Don't use `goto-line'.
2289         * org-table.el (org-table-align, org-table-insert-column)
2290         (org-table-delete-column, org-table-move-column)
2291         (org-table-sort-lines, org-table-copy-region)
2292         (org-table-paste-rectangle, org-table-wrap-region)
2293         (org-table-get-specials, org-table-rotate-recalc-marks)
2294         (org-table-get-range, org-table-recalculate)
2295         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2296         (org-table-show-reference, org-table-highlight-rectangle): Don't
2297         use `goto-line'.
2299         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2300         (org-edit-src-exit): Don't use `goto-line'.
2302         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2304         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2305         Don't use `goto-line'.
2307         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2309         * org-colview.el (org-columns, org-columns-redo)
2310         (org-agenda-columns): Don't use `goto-line'.
2312         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2313         use `goto-line'.
2315         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2316         (org-agenda-add-entry-text-maxlines): Improve docstring.
2317         (org-agenda-start-with-entry-text-mode): New option.
2318         (org-agenda-entry-text-maxlines): New option.
2319         (org-agenda-entry-text-mode): New variable.
2320         (org-agenda-mode): Set initial value of
2321         `org-agenda-entry-text-mode'.
2322         (org-agenda-mode-map): Add the `E' key.
2323         (org-agenda-menu): Add entry text mode to the menu.
2324         (org-agenda-get-some-entry-text): Fix line count bug.
2325         (org-finalize-agenda): Apply entry text mode if appropriate.
2326         (org-agenda-entry-text-show-here): New function.
2327         (org-agenda-entry-text-show): New function.
2328         (org-agenda-entry-text-hide): New function.
2329         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2330         key menu.
2331         (org-agenda-entry-text-mode): New command.
2332         (org-agenda-set-mode-name): Add entry text mode to the mode line
2333         string.
2334         (org-agenda-undo, org-agenda-get-restriction-and-command)
2335         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2336         `goto-line'.
2338 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2340         * org-clock.el (org-notify): Bugfix.
2342 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2344         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2345         check for after-string.
2347         * org-gnus.el (org-gnus-store-link): Simplify.
2349         * org.el (org-latex-regexps): Don't add extra empty lines for
2350         display formulas.
2352 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2354         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2355         (org-agenda-add-entry-text): Use
2356         `org-agenda-get-some-entry-text'.
2358         * org.el (org-cycle-separator-lines): Update docstring.
2359         (org-cycle-show-empty-lines): Handle negative values for
2360         `org-cycle-show-empty-lines'.
2362         * org-exp.el (org-export-protect-sub-super): New function.
2363         (org-export-normalize-links): Protect the url of plain links from
2364         supscript and superscript processing.
2366         * org-remember.el (org-remember-escaped-%): New function.
2367         (org-remember-apply-template): Use `org-remember-escaped-%' to
2368         detect escaped % signs.
2370 2009-08-23  Bastien Guerry  <bzg@altern.org>
2372         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2373         sound when showing the notification.
2375         * org-clock.el (org-notify): New function.
2376         (org-clock-notify-once-if-expired): Use `org-notify'.
2378         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2379         and `gnus-article-mode' separately.
2380         (gnus-summary-article-header): Fix the declare-function.
2382 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2384         * org-exp.el (org-export-format-source-code-or-example): Translate
2385         language.
2387         * org-src.el (org-src-lang-modes): New variable
2388         (org-edit-src-code): Translate language.
2390         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2391         the new structure of the `org-export-latex-listings-langs'
2392         variable.
2394         * org-latex.el (org-export-latex-listings-langs): Change structure
2395         of the variable from plist to alist.
2397 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2399         * org.el (org-in-commented-line): New function.
2401 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2403         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2405 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2407         * org.el (org-flag-drawer): More useful error.
2409 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2411         * org-remember.el (org-remember-apply-template): Use
2412         org-icompleting-read.
2414         * org-publish.el (org-publish): Use org-icompleting-read.
2416         * org-colview.el (org-columns-edit-value, org-columns-new)
2417         (org-insert-columns-dblock): Use org-icompleting-read.
2419         * org-colview-xemacs.el (org-columns-edit-value)
2420         (org-columns-new, org-insert-columns-dblock): Use
2421         org-icompleting-read.
2423         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2424         org-icompleting-read.
2426 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2428         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2429         (org-version): Return the version text.
2430         (org-org-menu): Add a menu entry for the new bug reporter.
2431         (org-submit-bug-report): New command.
2433         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2434         docstring.
2436         * org.el (org-emphasis-regexp-components): Add "`" to set of
2437         pre-emphasis characters.
2439         * org-latex.el (org-export-latex-classes): Always include the soul
2440         package.
2441         (org-export-latex-emphasis-alist): Use \st for strikethough.
2443         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2444         `indent-code-rigidly' to indent.
2446         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2447         properties only if MATCH really is a string.
2449 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2451         * org-latex.el (org-export-latex-packages-alist): Fix
2452         customization type.
2454         * org.el (org-create-formula-image): Also use
2455         `org-export-latex-packages-alist'.
2457         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2458         (org-export-as-html): Format footnotes correctly.
2460 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2462         * org.el (org-fast-tag-selection): Avoid text properties on tags
2463         in the alist.
2465         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2466         text properties on the match element.
2468 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2470         * org.el (org-set-regexps-and-options): Make sure the list of done
2471         keywords is not invalid.
2473         * org-exp.el (org-export-interpolate-newlines): New function.
2475 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2477         * org.el (org-format-latex): Avoid nested overlays.
2479         * org-latex.el (org-export-latex-listings-langs): Add a few more
2480         languages.
2482         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2483         ignore newlines and space before the first macro argument.
2485         * org-latex.el (org-export-latex-tables): Remove save-excursion
2486         around `org-table-align'.
2488 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2490         * org.el (org-export-html-special-string-regexps): Definition
2491         moved into org.el
2493         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2494         in macro calls.
2496 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2498         * org-latex.el (org-export-latex-listings)
2499         (org-export-latex-listings-langs): New options.
2501         * org-exp.el (org-export-format-source-code-or-example): Use
2502         listing package if requested by the user.
2504 2009-08-08  Bastien Guerry  <bzg@altern.org>
2506         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2507         command before actually switching to a buffer.
2509 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2511         * org-exp.el (org-get-file-contents): Only quote org lines when
2512         the markup is src or example.
2514         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2515         New option
2516         (org-agenda-get-day-entries): Remember deadline results and pass
2517         them on into the function getting the scheduling information.
2518         (org-agenda-get-scheduled): Accept deadline results as parameters
2519         and maybe skip some entries.
2520         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2522         * org.el (org-insert-heading): When respecting content, do not
2523         convert current line to headline.
2525         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2526         cheeeeeck the hd marker
2527         (org-clock-in): Also set the hd marker.
2528         (org-clock-out): Also set the hd marker.
2529         (org-clock-cancel): Reset markers.
2531         * org.el (org-clock-hd-marker): New marker.
2533         * org-faces.el (org-agenda-clocking): New face.
2535         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2536         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2538         * org.el (org-modules): Add org-track.el.
2540         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2541         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2542         `org-agenda-bulk-marked-p'.
2543         (org-agenda-bulk-toggle): New command.
2545 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2547         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2548         not just the body.
2550         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2551         messages.
2553 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2555         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2556         before gnuplot can read it.
2558 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2560         * org-latex.el (org-export-latex-first-lines): Fix bug with
2561         finding the end of the first lines.
2563         * org.el (org-create-formula-image): Remove the -E option for
2564         dvipng.
2566         * org-exp.el (org-default-export-plist): Respect #+BIND.
2567         (org-export-confirm-letbind): New function.
2569         * org.el (org-paste-subtree): Test the kill ring entry if it is
2570         going to be used.
2571         (org-copy-subtree): Use `org-forward-same-level'.
2572         (org-forward-same-level): Respect the `invisibe-ok' arg for
2573         back-to-heading.
2575 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2577         * org.el (org-table-map-tables): Make sure cursor is back at table
2578         beginning after funcall.
2580         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2581         handled before children, and do not error if an entry is not
2582         found, probably because it hase been remove when the parent was
2583         archived or refiled.
2585         * org.el (org-ido-completing-read): Accept straight lists for
2586         completion as well as alists.
2588         * org-html.el (org-export-as-html): Fix parenthesis error in
2589         footnore code.
2591         * org-timer.el (org-timer-cancel-timers): Renamed from
2592         `org-timer-cancel-timers'.
2594         * org.el (org-cycle-internal-local): Fix problem with finding next
2595         invisible line.
2597 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2599         * org-list.el (org-list-send-list): Call
2600         `org-list-goto-true-beginning' instead of
2601         `org-list-find-true-beginning', which does not exist.
2603         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2604         (org-timer-set-timer): Do not assign to heading.
2606         * org-id.el (org-id-open): Quote function name.
2608         * org-macs.el (org-unmodified): Turn off recording undo
2609         information while running inside the macro.
2611         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2612         variable.
2613         (org-indent-mode): Remember and restore value of
2614         org-hide-leading-stars before `org-indent-mode'.
2616         * org-table.el (org-table-export): Also work in file-less
2617         buffers.
2619         * org.el (org-startup-indented): New option.
2620         (org-startup-options): Add new options indent and noindent.
2621         (org-unfontify-region): Remove line-prefix and wrap-prefix
2622         properties.
2623         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2624         hooks.
2625         (org-promote, org-demote): Run the new hooks.
2627         * org-table.el (org-table-align): Replace leading \n as well.
2629         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2630         and `line-wrap' text properties.
2632         * org-compat.el (org-kill-new): New function.
2634         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2635         `line-wrap' text properties.
2637         * org-indent.el: New file.
2639 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2641         * org.el (org-provide-todo-statistics): Tweak docstring.
2643         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2645 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2647         * org-exp.el (org-export-as-org): Insert the "-source" string
2648         before the extension.
2650         * org.el (org-read-date): Make sure the calendar is in the current
2651         frame.
2652         (org-set-emph-re): Remove the ? from the post-match.
2653         (org-emphasis-regexp-components): Add backslash to the
2654         postmatch class.
2655         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2656         optional so that also lines at the end of the buffers will still
2657         be matched as headlines.
2659         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2660         Variable made obsolete.
2661         (org-table-relative-ref-may-cross-hline): New option.
2662         (org-table-find-row-type): Honow the new option
2663         `org-table-relative-ref-may-cross-hline'.
2665 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2667         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2668         on single field if no active region.
2670 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2672         * org-latex.el (org-export-latex-make-header): Only insert title
2673         if one is defined.
2675         * org.el (org-make-options-regexp): Allow empty values.
2677         * org-html.el (org-export-as-html): Move hrule detection to after
2678         plain list handling.
2680 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2682         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2684 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2686         * org.el (org-cycle-internal-local): Improved version of finding
2687         next visible line.
2688         (org-cycle-hide-drawers): Only hide drawers if this is really
2689         necessary.
2690         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2691         org-version of this function in Org-mode.  We use advice to
2692         implement this change, so that future changes to this function in
2693         outline.el wil be handled properly.
2694         (org-forward-same-level, org-backward-same-level): New commands.
2696 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2698         * org.el (org-remove-empty-overlays-at)
2699         (org-clean-visibility-after-subtree-move): New functons.
2700         (org-move-subtree-down): Simplify cleanup of display.
2702 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2704         * org-mac-message.el (org-mac-message-get-links): Improve
2705         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2706         "s".  Fix the return value.
2707         (org-mac-message-insert-flagged): Simplify.
2709         * org.el (org-refile-get-location): Tamper with refile history o
2710         that history contains compete matches instead of the entered
2711         string.
2713 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2715         * org.el (org-store-link): Never store a link to an inline task.
2717         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2719         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2720         inline tasks when positioning footnotes.
2722         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2723         function.
2725         * org.el (org-refile): Remove the END line when archiving an
2726         inline task that does have an END line.
2728         * org-archive.el (org-archive-subtree): Remove the END line when
2729         archiving an inline task that does have an END line.
2731         * org-macs.el (org-with-limited-levels): New macro.
2732         (org-get-limited-outline-regexp): New function.
2734         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2735         that did not enumerate first line.
2736         (org-export-mark-radio-links): Skip matches in links.
2738 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2740         * org.el (org-activate-plain-links): Make single-match.
2741         (org-adapt-indentation): Fix docstring.
2743         * org-macs.el (org-unmodified): Turn of modification hooks while
2744         running this macro.
2746 2009-08-02  Bastien Guerry  <bzg@altern.org>
2748         * org.el (org-adapt-indentation): Slightly improve the docstring.
2749         (org-occur): Sends an error when the user inputs an empty string.
2750         (org-priority): Bugfix: the tag alignement should happen within
2751         save-excursion.
2753 2009-07-31  Bastien Guerry  <bzg@altern.org>
2755         * org.el (org-make-link-regexps): Don't exclude parentheses from
2756         `org-plain-link-re'
2757         (org-cycle-internal-local): When locally cycling, switch directly
2758         from CHILDREN to FOLDED if there is no subtree
2759         (org-cycle): Update the docstring to document the new behavior of
2760         `org-cycle-internal-local'.
2762 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2764         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2765         an abbreviated format for days.
2767 2009-07-27  Bastien Guerry  <bzg@altern.org>
2769         * org-protocol.el (org-protocol-default-template-key): New
2770         option.
2772         * org.el (org-refile): Bugfix: save-excursion before reading the
2773         refile target, otherwise cursor moves might confuse `org-refile'.
2775         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2776         footnote reference before the footnote itself.
2778         * org.el (org-toggle-heading): Bugfix: correctly convert list
2779         items before the first headline.
2781         * org-html.el (org-export-html-footnote-format): New option for
2782         formatting the footnote reference.
2783         (org-export-as-html): Use the new option.
2785         * org.el (org-provide-todo-statistics): Allow a list of TODO
2786         keywords to compute statistics against headlines containing a
2787         keyword from this list.
2788         (org-update-parent-todo-statistics): Possibly use the new allowed
2789         value of `org-provide-todo-statistics'.
2791 2009-07-26  Bastien Guerry  <bzg@altern.org>
2793         * org-timer.el: Add autoload cookie.
2795         * org.el (org-occur-link-in-agenda-files): New function.
2797         * org-timer.el (org-timer-last-timer): New variable.
2799         * org-agenda.el (org-agenda-mode-map): New key for
2800         org-timer-set-timer called from the agenda.
2802         * org.el (org-mode-map): New key for org-timer-set-timer.
2804         * org-timer.el (org-timer-reset-timers)
2805         (org-timer-show-remaining-time, org-timer-set-timer): New
2806         functions.
2808         * org-clock.el (org-show-notification): Update the docstring.
2810         * org.el (org-provide-todo-statistics): Allow new value
2811         'all-headlines for this option, which includes entries with no
2812         TODO keywords in the todo statistics.
2813         (org-update-parent-todo-statistics): Possibly use the new
2814         'all-headline value from `org-provide-todo-statistics'.
2816 2009-07-25  Bastien Guerry  <bzg@altern.org>
2818         * org-clock.el (org-dblock-write:clocktable): Add a new option
2819         :timestamp which allows display of timestamps in clock reports.
2821         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2822         list to a subtree, preserving the structure of the list.
2823         (org-set-emph-re): Make the last element optional in the regexp.
2824         This regexp now matches an emphasized string at the end of a line.
2826         * org-list.el (org-list-goto-true-beginning)
2827         (org-list-make-subtree, org-list-make-subtrees): New functions.
2829         * org.el (org-eval-in-calendar): Select the right frame.
2830         (org-save-frame-excursion): Remove this macro.
2832 2009-07-24  Bastien Guerry  <bzg@altern.org>
2834         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2835         trying to find the beginning of a list.
2837         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2838         When present, tell org-get-file-contents not to protect org-like
2839         lines.
2841         * org-id.el (org-id-uuid-program): New option to set the name of
2842         the uuidgen program.
2843         (org-id-method): Use `org-id-uuid-program'.
2844         (org-id-new): Use `org-id-uuid-program'.
2846 2009-07-23  Bastien Guerry  <bzg@altern.org>
2848         * org-exp.el (org-export-number-lines): Allow whitespace in code
2849         references.  Allow the -r switch to remove the references in the
2850         source code even when the lines are not numbered: the labels can
2851         be explicit enough.
2853         * org.el (org-fontify-whole-heading-line): New option.
2854         (org-set-font-lock-defaults): Use the new option.
2856         * org-clock.el (org-show-notification-handler): New option.
2857         (org-show-notification): Use the new option.
2859 2009-07-21  Bastien Guerry  <bzg@altern.org>
2861         * org.el (org-eval-in-calendar): Fix a bug about calendar
2862         navigation when `calendar-setup' value is 'calendar-only.
2864 2009-07-19  Bastien Guerry  <bzg@altern.org>
2866         * org.el (orgstruct++-mode): Fix typo in docstring.
2867         (org-insert-link): Clean up: (or (...)) => (...)
2868         (org-insert-link): Use TAB for stored links completion.
2870 2009-07-18  Bastien Guerry  <bzg@altern.org>
2872         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2873         building the list of targets.
2875         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2876         option.
2877         (org-remember-handler): Use the new option.
2879 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2881         * org.el (org-tags-sort-function): New option for sorting tags.
2882         (org-set-tags): Use the new option to sort tags.
2884         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2885         premature deletion of the data when using org-plot in a script.
2887 2009-07-17  Bastien Guerry  <bzg@altern.org>
2889         * org-clock.el (org-clock-in-prepare-hook): New hook.
2890         (org-clock-in): Use this new hook.
2892 2009-07-16  Bastien Guerry  <bzg@altern.org>
2894         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2895         'reversed for this option to the "true line boundary first"
2896         behavior.
2897         (org-tags-match-list-sublevels): Document the 'indented value for
2898         this variable.
2900         * org-latex.el (org-export-latex-first-lines): Fix problem with
2901         publishing the region.
2903         * org-exp.el (org-export-format-source-code-or-example): Fix
2904         bad line numbering when exporting examples in HTML.
2906         * org-colview.el (org-format-time-period): Formats a time in
2907         fractional days as days, hours, mins, seconds.
2908         (org-columns-display-here): Add special handling for SINCE and
2909         SINCE_IA to format for display.
2911 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2913         * org.el (org-tags-sort-function): Add custom declaration for tags
2914         sorting function.
2915         (org-set-tags): Sort tags if org-tags-sort-function is set
2917 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2919         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2921         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2923         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2924         option.
2926 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2928         * org-publish.el (org-publish-remove-all-timestamps): New function.
2929         (org-publish-all): Remove all timestamp files if `org-publish-all'
2930         is called with a prefix argument.
2932         * org-list.el (org-indent-item): Fix typo.
2933         (org-item-indent-positions): Normalize ordered bullet.
2935         * org-html.el (org-export-html-home/up-format): New option.
2936         (org-export-as-html): Insert the up and HOME links.
2938 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2940         * org-html.el (org-export-as-html): Insert the title into the
2941         option plist.
2942         (org-export-html-insert-plist-item): New function.
2943         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2945         * org-macs.el (org-set-local): Make a local variable, do not make
2946         the variable buffer-local!
2948         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2950         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2952         * org-docbook.el (org-export-as-docbook): Call
2953         `org-install-letbind'.
2955         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2957         * org-exp.el (org-infile-export-plist): Read BIND lines.
2958         (org-install-letbind): New function.
2959         (org-export-as-org, org-export-preprocess-string): Call
2960         `org-install-letbind'.
2962         * org-src.el (org-edit-src-exit): Untabify the example before
2963         returning to Org.
2965         * org-list.el (org-list-demote-modify-bullet): New option.
2966         (org-first-list-item-p): Save point.
2967         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2968         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2969         (org-item-indent-positions): Return bullet types along with
2970         indentation.
2972 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2974         * org.el (org-show-entry): Hide drawers.
2976 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2978         * org-footnote.el (org-footnote-auto-adjust): New option.
2979         (org-footnote-auto-adjust-maybe): New function.
2980         (org-footnote-new, org-footnote-delete): Call
2981         `org-footnote-auto-adjust-maybe'.
2983         * org.el (org-startup-options): Add new footnote-related
2984         keywords.
2986         * org-publish.el (org-publish-timestamp-filename): Additional
2987         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2988         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2989         TRUE-PUB-DIR.  Pass them through to
2990         `org-publish-timestamp-filename'.
2991         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2992         PUB-FUNC, which are included in the hash.
2993         (org-publish-file): Delay timestamp test until the publishing
2994         function is known.
2996 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2998         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2999         setting the deadline.
3001         * org.el (org-read-date-final-answer): New variable.
3002         (org-read-date): Store the final answer string, including the date
3003         from the calendar, for reuse by agenda bulk commands.
3005         * org-publish.el (org-publish-attachment): Fix publishing of
3006         attachments.
3008         * org-latex.el (org-export-latex-quotation-marks): Fix export of
3009         quotation makrs in parenthesis.
3010         (org-remove-initial-hash): New function.
3011         (org-export-latex-preprocess): Fix bug with infinite loop if
3012         environment is not properly closed.
3014         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3015         when indented.
3017         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3018         highlight also when indented.
3020 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
3022         * org-footnote.el (org-footnote-renumber-fn:N): New command.
3023         (org-footnote-action): Offer renumbering.
3025         * org.el (org-cycle): Honor the `integrate' value of
3026         org-cycle-include-plain-lists'.
3028         * org-list.el (org-cycle-include-plain-lists): New allowed value
3029         `internal'.  Improve the docstring.
3031         * org.el (org-set-autofill-regexps): Improve the paragraph-start
3032         regexp to work better with LaTeX commands.
3034 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
3036         * org-feed.el (org-feed-update): fix problem with non-existing
3037         buffer.
3038         (org-feed-skip-http-headers): New function.
3039         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
3040         (org-feed-get-feed): Fix command line arguments for curl.
3042 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
3044         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3045         and eps extensions.
3047 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
3049         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3050         loaded.
3052         * org.el (org-map-entries): No longer force
3053         `org-tags-match-list-sublevels' to t during a todo-only tags
3054         search.
3056 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
3058         * org-latex.el (org-export-latex-low-levels): Allow user-defined
3059         environment.
3060         (org-export-latex-subcontent): Handle user-defined environment.
3062         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3063         the View dispatcher.
3065         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3066         `make-overlay'.
3068         * org-latex.el (org-export-as-pdf): Protect match data during call
3069         to shell-quote-argument.
3071         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3072         (org-agenda-view-mode-dispatch): New function.
3074 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
3076         * org-agenda.el (org-agenda-mode): Reset list of marks.
3077         (org-agenda-mode-map): Define new keys for refile and bulk action.
3078         (org-agenda-menu): Add menu itesm for refile and bulk action.
3079         (org-agenda-refile): New function.
3080         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3081         (org-agenda-marked-entries): New variable.
3082         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3083         (org-agenda-remove-all-bulk-action-marks)
3084         (org-agenda-bulk-action): New functions/commands.
3086 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
3088         * org-exp.el (org-get-file-contents): Protect org-like lines in
3089         included files.
3090         (org-export-format-source-code-or-example): Remove newlines.
3092         * org-latex.el (org-export-latex-links): Check for no-description
3093         marking.
3095         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3096         argument separator back to comma.
3097         (org-export-normalize-links): Mark links without description.
3099 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
3101         * org-exp.el (org-infile-export-plist): Fix bug in macro
3102         processing.
3104         * org-agenda.el (org-agenda-clock-out): Update line after clocking
3105         out.
3106         (org-agenda-highlight-todo): Fix bug with highlighting.
3108 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
3110         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3111         new alignment strings.
3113         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3114         command list.
3115         (org-table-align): Check for forced align type.
3117         * org.el (org-self-insert-command): Add yas/expand to command
3118         list.
3120         * org-clock.el (org-clock-in-hook): New hook.
3121         (org-clock-in): Run `org-clock-in-hook.
3122         (org-clock-out-hook): New hook.
3123         (org-clock-out): Run `org-clock-out-hook.
3124         (org-clock-cancel-hook): New hook.
3125         (org-clock-cancel): Run `org-clock-cancel-hook.
3126         (org-clock-goto-hook): New hook.
3127         (org-clock-goto): Run `org-clock-goto-hook.
3129 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
3131         * org.el (org-store-link): Better default description for link to
3132         Org-mode headline.
3134         * org-exp.el (org-export-generic): Autoload the generic exporter
3135         function.
3136         (org-export): Implement the `g' key for the generic exporter.
3138 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
3140         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3141         and for zbacktab'.
3143         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
3145         * org-exp.el (org-infile-export-plist): Get macros also from
3146         #+SETUPFILE.
3148 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
3150         * org-colview.el (org-columns-capture-view): Protect vertical bars
3151         in column values.
3152         (org-columns-capture-view): Exclude comment and archived trees.
3154         * org-colview-xemacs.el (org-columns-capture-view): Protect
3155         vertical bars in column values.
3156         (org-columns-capture-view): Exclude comment and archived trees.
3158         * org.el (org-quote-vert): New function.
3160         * org-latex.el (org-export-latex-verbatim-wrap): New option.
3162         * org-exp.el (org-export-format-source-code-or-example): Use
3163         `org-export-latex-verbatim-wrap'.
3165         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3166         time stamps.
3168         * org-html.el (org-export-table-row-tags): New option.
3169         (org-format-org-table-html): Rename `nlines' to `nline', use new
3170         option.
3173 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
3175         * org-exp-blocks.el: Declare functions and variables.
3177         * org-remember.el (org-remember-templates): Allow the headline
3178         element to be a function.
3179         (org-remember-apply-template): If the headline is a function, call
3180         it to get the true function.
3182         * org-clock.el (org-clock-menu): New function.
3183         (org-clock-update-mode-line): Update help string.
3184         (org-clock-modify-effort-estimate): New function.
3185         (org-clock-mark-default-task): New function.
3187         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3188         minutes as input.
3189         (org-org-menu): Add new clocking stuff.
3190         (org-clock-is-active): New function.
3192 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
3194         * org.el (org-open-non-existing-files): Improve docstring.
3196 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
3198         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3199         option.
3200         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3202         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3204         * org-list.el (org-get-checkbox-statistics-face): Use the new
3205         faces.
3207         * org-faces.el (org-checkbox-statistics-todo)
3208         (org-checkbox-statistics-done): New faces.
3210 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3212         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3213         (org-edit-src-exit): Better cursor positioning when returning from
3214         editing.
3216         * org-latex.el (org-export-latex-use-verb): New variable.
3217         (org-export-latex-emph-format): Prefer \texttt over \verb when
3218         org-export-latex-use-verb is set.
3220 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3222         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3223         at normal indentation.
3225         * org-html.el (org-export-html-close-lists-maybe): Also look at
3226         normal indentation.
3228         * org-remember.el (org-remember-handler): Abort remember if the
3229         buffer is empty.
3231         * org-src.el (org-edit-src-content-indentation): New option.
3232         (org-edit-src-exit): Apply extra indentation.
3234         * org-exp.el (org-export-format-source-code-or-example): Run
3235         `org-src-mode-hook'.
3237         * org-src.el (org-src-mode-hook): New variable.
3238         (org-edit-src-code): Run `org-src-mode-hook'.
3240 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3242         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3244         * org-src.el (org-edit-src-get-indentation): New function.
3245         (org-edit-src-code): Base indentation on the begin line.
3247 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3249         * org-gnus.el (org-gnus-store-link): Require message.el in
3250         org-gnus-store-link.
3252 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3254         * org-src.el: New file, split out of org.el
3256         * org-docbook.el (org-export-as-docbook): Better indentation
3257         treatment.
3259         * org-macs.el (org-replace-match-keep-properties): New function.
3261         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3262         preprocessing of center and quote and verse blocks.
3264         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3265         (org-export-as-docbook): Close lists when original indentation
3266         mandates it.
3268         * org-html.el (org-export-html-close-lists-maybe): New function.
3269         (org-export-as-html): Close lists when original indentation
3270         mandates it.
3272         * org-list.el (org-list-end): Respect the stored "original"
3273         indentation when determining the end of the list.
3275         * org-exp.el (org-export-replace-src-segments-and-examples):
3276         Remember indentation correctly.
3278 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3280         * org-clock.el (org-clock-update-mode-line): Apply face
3281         org-mode-line-clock.
3283         * org-faces.el (org-mode-line-clock): New face.
3285 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3287         * org-gnus.el (org-gnus-store-link): Fix bug where
3288         `org-gnus-store-link' used wrong subject when called in an article
3289         buffer.  Patch provided by fengli AT gmail DOT com.
3291 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3293         * org-exp.el (org-export-format-source-code-or-example): Remember
3294         the original indentation of source code snippets and examples.
3296         * org-latex.el (org-export-as-latex): Relocate the table of
3297         contents.
3299         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3301         * org-agenda.el (org-run-agenda-series): Scope global options also
3302         when creating the agenda buffer.
3304 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3306         * org.el (org-adapt-indentation): Improve documentation.
3307         (org-insert-property-drawer): Respect org-adapt-indentation when
3308         inserting the drawer.
3309         (org-remove-flyspell-overlays-in): New function.
3310         (org-do-emphasis-faces, org-activate-plain-links)
3311         (org-activate-code, org-fontify-meta-lines-and-blocks)
3312         (org-activate-angle-links, org-activate-footnote-links)
3313         (org-activate-bracket-links, org-activate-dates)
3314         (org-activate-target-links, org-activate-tags): Remove flyspell
3315         overlays.
3317 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3319         * org.el (org-edit-src-save): New function.
3321         * org-clock.el (org-clock-out-switch-to-state): New option.
3322         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3324         * org-compat.el (org-compatible-face): Improve macro.
3326         * org.el (org-global-properties-fixed): Add default for
3327         CLOCK_MODELINE_TOTAL.
3329         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3330         andd tend.
3331         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3332         org-clock-sum.
3333         (org-clock-get-sum-start): New function.
3335         * org.el (org-startup-options): New keywords blockhide and
3336         blockshow.
3337         (org-mode): Add new invisibility spec.
3338         (org-set-startup-visibility): Hide block on startup if so
3339         desired.
3340         (org-hide-block-startup): New option.
3341         (org-block-regexp): New constant.
3342         (org-hide-block-overlays): New variable.
3343         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3344         (org-show-block-all, org-hide-block-toggle-maybe)
3345         (org-hide-block-toggle): New functions.
3346         (org-edit-src-exit): Do not quote lines starting with # and no +
3347         behind it.
3348         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3349         entry.
3351 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3353         * org.el (org-buffer-property-keys): Add Effort property for
3354         completion.
3356 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3358         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3359         when retrieving total clocked time in the subtree.
3361         * org.el (org-quoting-blocks): New variable.
3363 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3365         * org-table.el (org-table-store-formulas)
3366         (org-table-get-stored-formulas, org-table-fix-formulas)
3367         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3368         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3370         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3371         indented #+TBLFM line.
3373         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3374         indented #+TBLFM line.
3376         * org-colview.el (org-dblock-write:columnview): Allow indented
3377         #+TBLFM line.
3379         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3380         indented #+TBLFM line.
3382         * org-clock.el (org-dblock-write:clocktable): Allow indented
3383         #+TBLFM line.
3385 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3387         * org-exp.el (org-export-format-source-code-or-example): Make
3388         editing indented blocks work correctly.
3390         * org.el (org-edit-src-nindent): New variable.
3391         (org-edit-src-code, org-edit-fixed-width-region)
3392         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3393         editing indented blocks work correctly.
3395 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3397         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3398         indented blocks.
3399         (org-export-format-source-code-or-example): Fix indentation of
3400         blocks.
3401         (org-export-remove-indentation): New function.
3402         (org-export-select-backend-specific-text): Allow backend-specific
3403         code to be indented.
3404         (org-export-mark-blockquote-verse-center): Allow markers to be
3405         indented.
3407         * org.el (org-fontify-meta-lines): New function.
3408         (org-set-font-lock-defaults): Call the new fontification
3409         function.
3411         * org-faces.el (org-meta-line): New face
3412         (org-block):  New face.
3414 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3416         * org.el (org-treat-insert-todo-heading-as-state-change)
3417         (org-treat-S-cursor-todo-selection-as-state-change): New
3418         variables.
3419         (org-insert-todo-heading): Honor
3420         `org-treat-insert-todo-heading-as-state-change'.
3421         (org-shiftright, org-shiftleft): Honor
3422         `org-treat-S-cursor-todo-selection-as-state-change'.
3423         (org-inhibit-logging): New variable.
3425 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3427         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3428         range for marker position checking.
3430         * org-latex.el (org-export-latex-first-lines): Fix bug when
3431         exporting a region.
3433 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3435         * org-exp.el (org-export-push-to-kill-ring): Protect using
3436         x-set-selection, because that does not always work.
3438         * org-agenda.el (org-agenda-list): Apply the new face
3439         `org-agenda-date-today'.
3441         * org-faces.el (org-agenda-date-today): New face.
3443 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3445         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3446         creating appointments.
3448         * org-latex.el (org-export-latex-low-levels): Fix customization
3449         type.
3451         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3452         priority commands.
3454         * org-agenda.el (org-agenda-priority): Disable priority commands.
3456         * org.el (org-enable-priority-commands): New option.
3458         * org-colview-xemacs.el (org-columns-compute)
3459         (org-columns-number-to-string): Fix problems with empty fields.
3461         * org-colview.el (org-columns-compute)
3462         (org-columns-number-to-string): Fix problems with empty fields.
3464         * org-exp.el (org-export-push-to-kill-ring): New function.
3465         (org-export-copy-to-kill-ring): New option.
3467         * org-latex.el (org-export-as-latex): Call
3468         `org-export-push-to-kill-ring'.
3470         * org-html.el (org-export-as-html): Call
3471         `org-export-push-to-kill-ring'.
3473         * org-docbook.el (org-export-as-docbook): Call
3474         `org-export-push-to-kill-ring'.
3476         * org-ascii.el (org-export-as-ascii): Call
3477         `org-export-push-to-kill-ring'.
3479         * org-exp.el (org-export-show-temporary-export-buffer): New
3480         option.
3482         * org-latex.el (org-export-as-latex): Use
3483         `org-export-show-temporary-export-buffer'.
3485         * org-html.el (org-export-as-html): Use
3486         `org-export-show-temporary-export-buffer'.
3488         * org-docbook.el (org-export-as-docbook): Use
3489         `org-export-show-temporary-export-buffer'.
3491         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3492         `org-export-show-temporary-export-buffer'.
3494         * org-exp.el (org-export-show-temporary-export-buffer): New
3495         option.
3496         (org-export-push-to-kill-ring): New function.
3498         * org-colview.el (org-columns-compile-map): New variable.
3499         (org-columns-new, org-columns-compute)
3500         (org-columns-number-to-string, org-columns-uncompile-format)
3501         (org-columns-compile-format): Implement new operators.
3503 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3505         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3507         * org-html.el (org-export-html-xml-declaration): New option.
3508         (org-export-as-html): Use `org-export-html-xml-declaration'.
3510         * org-list.el (org-update-checkbox-count): Make property
3511         dependent.
3513         * org.el (org-hierarchical-todo-statistics): New option.
3514         (org-update-parent-todo-statistics): Modified to handle recursive
3515         statistics.
3517 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3519         * org-publish.el (org-publish): Make this function behave
3520         correctly in interactive use when called with a prefix argument.
3522         * org.el (org-todo-statistics-hook): New hook.
3523         (org-update-parent-todo-statistics): Use new hook.
3524         (org-log-into-drawer): New function.
3525         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3526         determine if we should be logging into a drawer.
3527         (org-log-into-drawer): Update docstring.
3528         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3530         * org-list.el (org-checkbox-statistics-hook): New hook.
3531         (org-update-checkbox-count-maybe): Use new hook.
3533         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3534         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3535         to kill ring.
3537 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3539         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3540         a line.
3542 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3544         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3545         better bufer-generating mechanism.
3546         (org-edit-src-find-buffer): New function.
3548         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3549         archive tag, this is already done by `org-agenda-skip'.
3550         data while constructing lost of tags.
3552 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3554         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3555         as argument separator in macros.
3557         * org-html.el (org-export-as-html): Add xml declaration.
3559 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3561         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3562         (org-sort-entries-or-items): Run the new hook.
3563         (org-after-refile-insert-hook): New hook.
3564         (org-refile): Run `org-after-refile-insert-hook'.
3566         * org-agenda.el (org-agenda-get-progress): Never take time of day
3567         from headline when displaying progress.
3569         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3570         (org-export-as-latex): Force the correct regexp in the
3571         preprocessor buffer.
3572         (org-export-latex-set-initial-vars): Set
3573         `org-export-latex-complex-heading-re'.
3575         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3576         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3578 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3580         * org-latex.el (org-export-latex-tables-centered): New option.
3581         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3583         * org-exp.el (org-export-as-org): New command.
3584         (org-export-as-org): New command.
3586         * org-publish.el (org-publish-org-to-org): New function.
3588 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3590         * org.el (org-yank): Just call `org-yank-generic'.
3591         (org-yank-generic): New function, containing the formaer
3592         functionality of `org-yank'.
3594         * org-latex.el (org-export-latex-not-done-keywords)
3595         (org-export-latex-done-keywords): New variables.
3596         (org-export-latex-todo-keyword-markup): New option.
3597         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3598         (org-export-latex-keywords-maybe): Apply the TODO markup.
3600 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3602         * org-exp.el (org-infile-export-plist): Add more default macros.
3603         (org-export-preprocess-apply-macros): Process macro arguments.
3605 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3607         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3608         `unblocked'.
3609         (org-print-icalendar-entries): Respect the new value of
3610         `org-icalendar-include-todo'.
3612         * org.el (org-link-try-special-completion)
3613         (org-file-complete-link): New functions.
3614         (org-insert-link): Add special completion support for some link
3615         types.
3617         * org-bbdb.el (org-bbdb-complete-link): New function.
3619 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3621         * org-list.el (org-update-checkbox-count): Allow recursive
3622         statistics.
3623         (org-hierarchical-checkbox-statistics): New option.
3625         * org.el (org-cycle): Remove erraneous space character.
3627         * org-icalendar.el (org-icalendar-timezone): Initialize from
3628         environment.
3630         * org-html.el (org-format-org-table-html): Specify the scope.
3631         (org-format-table-table-html): Specify the scope.
3632         (org-export-table-header-tags): Prepare the scope parameter.
3634 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3636         * org-html.el
3637         (org-export-html-table-use-header-tags-for-first-column): New
3638         option.
3640         * org.el (org-autoload): Fix autoloading of ascii export
3641         functions.
3642         (org-modules): Add org-special-blocks.
3644 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3646         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3647         (org-ical-timezone): New option.
3649         * org-exp.el (org-export-get-coderef-format): Use the description
3650         is present.
3652         * org.el (org-sort-entries-or-items): Improve docstring, and make
3653         better implementation for time sorting.
3655 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3657         * org.el (org-edit-src-persistent-message): New option.
3658         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3659         option.
3661         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3662         patch.
3664         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3665         separate buffer instead of indirect buffer to edit source code.
3666         (org-edit-src-exit): Make this function work with the new setup.
3668         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3669         are properly fontified before shown in the selection menu.
3671         * org.el (org-fontify-like-in-org-mode): New function.
3673         * org-latex.el (org-export-latex-links): Use the property list to
3674         retrieve the default image attributes.
3676         * org-exp.el (org-export-plist-vars): Add a new option.
3678 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3680         * org-exp.el (org-export, org-export-visible): Support ASCII
3681         export to buffer
3682         (org-export-normalize-links): Do not protect the description if it
3683         is explicitly given.
3685         * org-ascii.el (org-export-as-ascii-to-buffer)
3686         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3687         commands.
3688         (org-export-as-ascii): Add all the same parameters that are also
3689         supported by the other export functions.
3691         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3692         org-checklist.el.
3693         (org-reset-checkbox-state-subtree): Call
3694         `org-reset-checkbox-state-subtree'.
3696         * org-remember.el (org-select-remember-template): For the
3697         selection of a valid template.
3699         * org-latex.el (org-export-region-as-latex): Supply the
3700         force-no-subtree argument.
3701         (org-export-as-latex): Provide better limits when exporting the
3702         first line.  When exporting to string, we still want the first
3703         lines.
3704         (org-export-latex-first-lines): New argument END, to force the end
3705         of the region.
3706         (org-export-region-as-latex): Use the property list.
3707         (org-export-as-latex):
3709         * org-colview-xemacs.el (org-columns-remove-overlays)
3710         (org-columns): Fix call to `local-variable-p'.
3712 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3714         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3715         (org-export-as-html): Run the new hook.
3717         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3718         (org-export-latex-preprocess): Run the new hook.
3720         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3721         (org-export-preprocess-string): Run the new hook.
3723 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3725         * org-macs.el (org-check-external-command): New defsubst.
3727         * org.el (org-mode-map): New key for reload.
3728         (org-format-latex): Better error message when external programs
3729         are not available.
3731         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3733         * org.el (org-sort-entries-or-items): Explicit sorting function
3734         for priorities, needed for XEmacs compatibility.
3736         * org-remember.el (org-remember-apply-template): Improve auto-save
3737         behavior.
3739 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3741         * org-latex.el (org-export-latex-preprocess): Also protect
3742         environments ending in a star.
3744         * org-list.el (org-at-item-p): Fix regular expression.
3746 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3748         * org.el (org-end-of-subtree): Improve speed.
3750         * org-agenda.el (org-agenda-get-timestamps)
3751         (org-agenda-get-progress, org-agenda-get-deadlines)
3752         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3753         in particular, wait as long as possible to collect the tags.
3754         (org-stuck-projects): Improve docstring.
3756         * org.el (org-store-link): No errors when getting custom id before
3757         first headline.
3758         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3760 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3762         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3764         * org-protocol.el: Remove dependency on url.el.
3765         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3766         dependency on url.el.
3768         * org-latex.el (org-export-as-pdf): Use
3769         `org-latex-to-pdf-process'.
3771 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3773         * org-latex.el (org-latex-to-pdf-process): New option.
3775         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3776         New option.
3777         (org-agenda-get-timestamps): Honor
3778         `org-agenda-skip-additional-timestamps-same-entry'.
3780         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3781         (org-clock-goto): Find recent task only if
3782         `org-clock-goto-may-find-recent-task' allows it.
3784         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3785         drawers, and drawers that are missing the :END: line.
3787 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3789         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3790         clock is running.
3792 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3794         * org.el (org-update-parent-todo-statistics): Check for
3795         STATISTICS_FROM property.
3797         * org-list.el (org-update-checkbox-count): Check for
3798         STATISTICS_FROM property.
3800         * org.el (org-tab-first-hook)
3801         (org-tab-after-check-for-table-hook)
3802         (org-tab-after-check-for-cycling-hook): New hooks.
3803         (org-cycle-internal-global, org-cycle-internal-local): New
3804         functions, split out from `org-cycle'.
3805         (org-cycle): Call the new hooks.
3807 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3809         * org-exp.el (org-export-preprocess-string): Reset the list of
3810         preferred targets for each run of the preprocessor.
3812         * org.el (org-refile-target-verify-function): Improve
3813         documentation.
3814         (org-get-refile-targets): Respect point being moved by the
3815         verification function.
3817         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3818         option.
3819         (org-export-latex-keywords): Use new option.
3821         * org.el (org-rear-nonsticky-at): New defsubst.
3822         (org-activate-plain-links, org-activate-angle-links)
3823         (org-activate-footnote-links, org-activate-bracket-links)
3824         (org-activate-dates, org-activate-target-links)
3825         (org-activate-tags): Place the rear-nonsticky properties at the
3826         correct location.
3828 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3830         * org-protocol.el (server-edit): Declare `server-edit'.
3831         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3832         functions.
3833         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3835         * org.el (org-default-properties): New default properteis for
3836         completion.
3838         * org-exp.el (org-export-add-subtree-options): Add new properties
3839         for subtree export.
3841         * org-docbook.el (org-export-docbook-keywords-markup)
3842         (org-export-docbook-timestamp-markup): New options.
3843         (org-export-docbook-protect-tags): New function.
3845 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3847         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3848         org-refile-target-verify-function for the duration of the command.
3850         * org.el (org-link-to-org-use-id): New possible value
3851         `create-if-interactive-and-no-custom-id'.
3852         (org-store-link): Use custom IDs.
3853         (org-link-search): Find custom ID properties from #link.
3854         (org-default-properties): Add CUSTOM_ID for property completion.
3855         (org-refile-target-verify-function): New option.
3856         (org-goto): Turn off org-refile-target-verify-function
3857         for the duration of the command.
3859 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3861         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3863         * org-exp.el (org-export-preferred-target-alist): New variable.
3864         (org-export-define-heading-targets): Find the new CUSTOM_ID
3865         property.
3866         (org-export-target-internal-links): Target the custom ids when
3867         possible.
3869         * org-latex.el (org-export-latex-preprocess): Better regexp for
3870         matching latex macros with arguments.
3872 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3874         * org-remember.el (org-remember-handler): Allow filing to non-org
3875         files.
3877 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3879         * org-feed.el (org-feed-alist): New keyword options.
3880         (org-feed-update): Use the new options.
3881         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3882         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3883         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3884         functions.
3886         * org-table.el (org-table-fix-formulas): Do not change references
3887         to remote tables.
3888         (org-table-get-remote-range): Convert standard coordinates to RC
3889         format.
3891         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3893 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3895         * org-compat.el (org-sha1-string): Function removed.
3897         * org.el (org-refile-allow-creating-parent-nodes): New option.
3898         (org-refile-get-location): New argument NEW-NODES.
3899         (org-refile): Call `org-refile-get-location' with the new
3900         argument.
3901         (org-refile-get-location): Arrange for adding a new child.
3902         (org-refile-new-child): New function.
3904         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3905         an additional span element.
3907         * org-clock.el: Fix a number of docstrings.
3908         (org-clock-find-position): New argument
3909         FIND-UNCLOSED to make the function find an unclosed clock in the
3910         entry.
3911         (org-clock-in): Call `org-clock-find-position' with the new
3912         argument if we might be resuming a clock.
3914 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3916         * org-latex.el (org-export-latex-display-custom-times): New variable.
3917         (org-export-latex-timestamp-markup): New option.
3918         (org-export-latex-set-initial-vars): Remember the local value of
3919         `org-display-custom-times'.
3920         (org-export-latex-content): Process time stamps.
3921         (org-export-latex-time-stamps): New function.
3923         * org-macs.el (org-maybe-intangible): Add intangible property
3924         again to invisible text.
3926 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3928         * org-exp.el (org-default-export-plist): Handle undefined
3929         variables.
3931 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3933         * org.el (org-sort-entries-or-items): Match TODO keywrds
3934         case-sensitively, when sorting.
3935         (org-priority): Do not match TODO keywords with wrong case.
3937 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3939         * org-feed.el (org-feed-update): Bind the variable
3940         `new-formatted'.
3942         * org-html.el (org-export-as-html): Start paragraphs after literal
3943         examples.
3945         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3946         literal examples.
3948 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3950         * org.el (org-todo): Honor the NOBLOCKING property.
3952         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3953         NOBLOCKING property.
3955         * org.el (org-scan-tags): Fix bug in tag scanner
3957 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3959         * org.el (org-modules): Mark obsolete packages.
3961         * org-html.el: New file, split out from org-exp.el.
3963         * org-icalendar.el: New file, split out from org-exp.el.
3965         * org-xoxo.el: New file, split out from org-exp.el.
3967         * org-ascii.el: New file, split out from org-exp.el.
3969 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3971         * org-compat.el (org-find-library-name): New function.
3973         * org.el (org-pre-cycle-hook): New hook.
3974         (org-cycle): Call the new hook in appropriate places.
3975         (org-reload): Only reload files that have been loaded before.
3977 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3979         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3980         after todo keyword.
3981         (org-todo): When changing TODO state, do matching
3982         case-sensitively.
3983         (org-map-continue-from): New variable.
3984         (org-scan-tags): Respect values in `org-map-continue-from'.
3985         (org-reload): Make XEmacs compatible.
3987 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3989         * org-protocol.el (org-protocol-flatten-greedy): New function.
3990         (org-protocol-flatten): New function.
3992         * org.el (org-open-link-from-string): Pass reference buffer to
3993         `org-open-at-point'.
3994         (org-open-at-point): New optional argument `reference-buffer'.
3996 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3998         * org.el (org-scan-tags): Make tag scan find headline in first
3999         line, 2nd attempt.
4000         (org-get-refile-targets): Add the naked file name.
4001         (org-refile): Store as top-level entry when only file name was
4002         given.
4004         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4006         * org.el (org-block-todo-from-children-or-siblings-or-parent):
4007         Renamed from org-block-todo-from-children-or-siblings, and
4008         enhanced to look for the parent's status as well.
4010         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4011         (org-agenda-get-progress): Add first notes line to log entry if so
4012         desired.
4014 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
4016         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4017         (org-agenda-cleanup-fancy-diary): Call the new hook.
4019         * org-remember.el (org-remember-apply-template): Take the default
4020         for the annotation from the :annotation property.
4022         * org-mac-message.el (org-mac-message-get-link): Remove the
4023         quotes.
4024         (org-mac-message-get-link): Return the result.
4026 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
4028         * org.el (org-refile-get-location): Add file name only if not
4029         already included in outline path.
4031         * org-faces.el (org-n-level-faces): Fix customization type from
4032         number to integer.
4034         * org-exp.el (org-export-headline-levels): Fix customization type
4035         from number to integer.
4037         * org-agenda.el (org-agenda-confirm-kill)
4038         (org-agenda-custom-commands-local-options)
4039         (org-timeline-show-empty-dates, org-agenda-ndays)
4040         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4041         customization type from number to integer.
4043 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
4045         * org-protocol.el: Declare some functions.
4047         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
4048         postion before inserting modified headline.
4050         * org-agenda.el (org-agenda-compare-effort): Honor
4051         `org-sort-agenda-noeffort-is-high'.
4052         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4053         (org-agenda-compare-effort): Implement the "?" operator for
4054         finding entries without effort setting.
4056         * org.el (org-extract-attributes-from-string): New function.
4058         * org-exp.el (org-export-splice-attributes): New function.
4060 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
4062         * org-mouse.el: XEmacs compatibility fixes
4064         * org-docbook.el (org-export-as-docbook): Process footnotes like
4065         normal text.
4067         * org.el (org-modules): Add org-inlinetasks.el
4068         (org-cycle): Implement limiting level on cycling.
4069         (org-move-subtree-down): Fix bug with swapping subtrees at end of
4070         buffer.
4072         * org-inlinetask.el: New file.
4074         * org.el (org-emphasis-regexp-components): Allow braces in
4075         emphasis pre and post match.
4077         * org-footnote.el (org-footnote-normalize): When only dorting, do
4078         not insert inline notes at the end.
4080         * org-docbook.el (org-id-find-id-file): Add function declaration.
4082         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4084         * org-docbook.el: New file.
4086 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
4088         * org.el (org-reftex-citation): New command.
4090 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
4092         * org-agenda.el (org-agenda-cmp-user-defined): New option.
4093         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4094         sorting options.
4095         (org-entries-lessp): Apply the new sorting option.
4097         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4098         blocker code, when an older sibling has children.
4100         * org-mac-message.el (org-mac-message-get-link): Improve getting
4101         links from multiple selected messages.
4103 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
4105         * org-remember.el (org-remember-finalize): Do not set buffer file
4106         name to nil.
4107         (org-remember-handler): Mark buffer as unmodified.
4108         (org-remember-handler): Delete backup file and show message about
4109         remaining backup files.
4110         (org-remember-auto-remove-backup-files): New option.
4112         * org.el (org-store-link): Use buffer name as link description in
4113         w3-mode buffers.
4114         (org-ido-switchb): Fix argument bug for completion.
4116         * org-remember.el (org-remember-apply-template): Set local
4117         variable `auto-save-visited-file-name' instead of global one.
4119 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
4121         * org-feed.el: Re-write.
4123         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4124         (org-agenda-get-todos): Mark file tags as inherited.
4125         (org-agenda-list): Always search diary lines for a time.
4127 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
4129         * org-feed.el (org-feed-assume-stable): New option.
4130         (org-feed-before-adding-hook): New hook.
4132         * org-exp.el (org-export-as-html): Close local lists depending on
4133         indentation, also when starting a table.
4135         * org-remember.el (org-remember-backup-directory)
4136         (org-remember-backup-name): New internal variable.
4138 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
4140         * org-clock.el (org-clock-out-if-current): Make buffer detection
4141         work in indirect buffers as well.
4143         * org.el (org-emphasis-regexp-components): Add the exxclamation
4144         mark to the post-emphasis characters.
4146 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
4148         * org.el (org-read-date-minibiffer-septup-hook): New hook.
4149         (org-read-date): Run the new hook.
4151         * org-mac-message.el (org-mac-flagged-mail): New group.
4152         (org-mac-mail-account): New variable.
4153         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4154         commands.
4156         * org-remember.el (org-remember-backup-directory): New variable.
4157         (org-remember-apply-template): Write file to backup directory.
4159 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
4161         * org-mouse.el (org-mouse-todo-menu): New function.
4162         (org-mouse-todo-keywords): Function removed.
4163         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4165         * org-table.el (org-table-beginning-of-field)
4166         (org-table-end-of-field): New commands
4167         (org-table-previous-field, org-table-beginning-of-field): Better
4168         error messages.
4169         (orgtbl-setup): Include `M-a' and `M-e'.
4171         * org.el (org-backward-sentence, org-forward-sentence): New
4172         commands.
4174         * org-colview.el (org-colview-initial-truncate-line-value): New
4175         variable.
4176         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4177         (org-columns): Remember the value of `truncate-lines'.
4179         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4180         New variable.
4181         (org-columns-remove-overlays): Restore the value of
4182         `truncate-lines'.
4183         (org-columns): Remember the value of `truncate-lines'.
4185         * org.el (org-columns-skip-arrchived-trees): New option.
4187         * org-agenda.el (org-agenda-export-html-style): Define color for
4188         org-agenda-done face.
4189         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4190         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4192         * org.el (org-scan-tags): Use the new face.
4194         * org-faces.el (org-agenda-done): New face.
4196         * org.el (org-scan-tags): Test the value org
4197         `org-tags-match-list-sublevels'.
4198         (org-tags-match-list-sublevels): New allowed value: indented.
4200         * org-export-latex.el (org-export-latex-make-header): Apply macros
4201         in header.
4203         * org-exp.el (org-export-apply-macros-in-string): New function.
4205         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4206         with the definition of a checked box.
4208         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4210         * org-export-latex.el (org-export-latex-low-levels): More options
4211         for how to process lower levels in LaTeX.
4212         (org-export-latex-subcontent): Better treatment for lists as a
4213         means of publishing lower levels.
4215 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4217         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4219         * org-faces.el (org-checkbox): New face.
4221         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4222         fragement images if there is an export file.
4224 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4226         * org-agenda.el (org-stuck-projects): Document that the subtree of
4227         projects that are not stuck will now be searched for stuck
4228         sub-projects.
4229         (org-agenda-skip-entry-when-regexp-matches)
4230         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4231         (org-agenda-list-stuck-projects): Use
4232         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4234         * org-export-latex.el (org-export-latex-preprocess): Improve
4235         export of verses.
4237         * org-exp.el (org-export-as-html): Implement centering as a div
4238         rather than a paragraph.  Do a better job with line-end in verse
4239         environments.
4241 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4243         * org.el (org-open-at-point): Fix tags searches by mouse click.
4245 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4247         * org-export-latex.el (org-export-latex-preprocess): Implement the
4248         centering markup.
4250         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4251         from `org-export-mark-blockquote-and-verse'.
4252         (org-export-as-html): Implement the centering markup.
4254         * org-export-latex.el (org-export-latex-tables): Fix vertical
4255         lines in tables.
4257 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4259         * org.el (org-read-date-history): New variable.
4260         (org-read-date): Use new history variable.
4261         (org-toggle-heading): Fix bug when used before first headline.
4262         (org-store-log-note): Remove drawer if empty while note is
4263         aborted.
4264         (org-remove-empty-drawer-at): New function.
4265         (org-check-after-date): New command.
4266         (org-sparse-tree): New sparse tree command "a".
4268         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4270 2009-03-14  Bastien Guerry  <bzg@altern.org>
4272         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4273         column and a space, not only a column.
4275 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4277         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4278         defaults for verbose emphasis.
4279         (org-export-latex-emph-format): New function.
4280         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4282         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4283         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4284         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4285         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4286         commands.
4288         * org.el (org-timestamp-change): Move end-time along with start
4289         time.
4291 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4293         * org-exp.el (org-export-target-internal-links)
4294         (org-export-as-html): Protect links specified as #name.
4296 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4298         * org.el (org-clone-subtree-with-time-shift): New command.
4300         * org-export-latex.el (org-export-latex-special-chars)
4301         (org-export-latex-treat-sub-super-char): Fix subscript export.
4303         * org-exp.el (org-create-multibrace-regexp): Do not add
4304         backslashes to the class.
4306 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4308         * org-colview.el (org-columns-map): Better functions for moving up
4309         and down a row, even if `truncate-line' is nil.
4311         * org.el (org-insert-todo-heading): Make sure the keyword is
4312         inserted at the correct position.
4314         * org-publish.el (org-publish-project-alist)
4315         (org-publish-projects, org-publish-org-index): Change default anme
4316         for the index of file names to "sitemap.org".
4318         * org-export-latex.el (org-export-latex-tables): Use
4319         `org-split-string', for Emacs 21 compatibility.
4321 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4323         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4325 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4327         * org-exp.el (org-export-page-description)
4328         (org-export-page-keywords): New variables.
4329         (org-export-plist-vars): Add entries for :keywords and
4330         :description.
4331         (org-infile-export-plist): Parse for new keywords.
4332         (org-get-current-options): Add new keywords
4333         (org-export-as-html): Publish description and keywords.
4335         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4336         option.
4337         (org-agenda-add-entry-text): Honor
4338         `org-agenda-add-entry-text-descriptive-links'.
4340         * org-export-latex.el (org-export-latex-preprocess): Make all
4341         external preprocess functions use a PARAMETER arg.
4343         * org-exp.el (org-export-preprocess-string)
4344         (org-export-select-backend-specific-text)
4345         (org-export-format-source-code-or-example)
4346         (org-format-org-table-html): Support docbook export.
4347         (org-export-preprocess-string): Make all external preprocess
4348         functions use a PARAMETER arg.
4350 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4352         * org-exp.el (org-export-html-style-include-scripts): New option.
4353         (org-export-plist-vars): Add new option
4354         `org-export-html-style-include-scripts'.
4355         (org-export-as-html): Honor new option
4356         `org-export-html-style-include-scripts'.
4357         (org-export-html-scripts, org-export-html-style-default): Fix
4358         xml issues with the Safari browser.
4360 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4362         * org-publish.el (org-publish-attachment): Only copy file when the
4363         directories differ.
4365 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4367         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4368         for clocktable steps.
4370         * org.el (org-additional-option-like-keywords): Add two more
4371         keywords.
4373 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4375         * org-exp.el (org-export-format-source-code-or-example): Mark
4376         temporary buffer unmodified, so that it will be killed even if
4377         mode like message mode has decided to assign a file name.
4379         * org.el (org-scan-tags): Improve tag inheritance.
4380         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4381         case-sensitive.
4382         (org-scan-tags): Use the internal tags list instead of creating it
4383         from scratch.
4384         (org-trust-scanner-tags, org-scanner-tags): New variables.
4385         (org-scan-tags): Set `org-scanner-tags'.
4386         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4387         (org-map-entries): Document the possible speedup using scanner
4388         tags.
4390 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4392         * org.el (org-add-planning-info): Fix bug with looking for keyword
4393         only at column 0.
4395         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4396         option for tags filter preset.
4397         (org-prepare-agenda): Store filter preset as a property on the
4398         filter variable.
4399         (org-finalize-agenda): Call the filter, if there is a preset.
4400         (org-agenda-filter-by-tag): Filter again after clearing the
4401         filter, when there still is a preset.
4402         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4403         Include the preset filter.
4404         (org-agenda-redo): Apply the filter again, also the preset filter.
4406         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4408         * org.el (org-uuidgen-p): New funtion.
4410         * org-agenda.el (org-agenda-fontify-priorities): New default value
4411         `cookies'.
4412         (org-agenda-fontify-priorities): Renamed from
4413         org-fontify-priorities.
4415         * org.el (org-set-font-lock-defaults): Call
4416         `org-font-lock-add-priority-faces'.
4417         (org-font-lock-add-priority-faces): New function.
4419         * org-faces.el: (org-set-tag-faces): New option.
4420         (org-priority-faces): New variable.
4422         * org-exp.el (org-export-as-html): Add a "content" div around the
4423         entire content of the body tag.
4424         (org-export-html-get-bibliography): New function.
4425         (org-export-html-validation-link): New variable.
4426         (org-export-as-html): Add validation link to exported page.
4428         * org.el (org-match-sparse-tree): Renamed from
4429         `org-tags-sparse-tree'.
4430         (org-tags-sparse-tree): New alias.
4432 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4434         * org.el (org-get-valid-level): Catch the case where the level
4435         change is nil.
4437         * org-clock.el (org-clock-find-position): Better indentation of
4438         new clock drawers.
4440 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4442         * org-agenda.el (org-agenda-quit): Delete window only when the
4443         frame-setup was not `current-window'.
4445         * org.el (org-tag-persistent-alist): New option.
4446         (org-startup-options): Add keyword `noptag'.
4447         (org-fast-todo-selection): Handle :newline correctly.
4448         (org-set-tags): Handle :newline correctly.
4449         (org-fast-tag-selection): Handle :newline correctly.
4451 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4453         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4454         outputting it.
4455         (org-export-ascii-push-links): Fix bug with pussing links into the
4456         export buffer.
4458 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4460         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4461         pasting at top level.
4463         * org-bbdb.el: Improve documentation.
4465 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4467         * org-list.el (org-insert-item): Only consider insert empty lines
4468         is `org-empty-line-terminates-plain-lists' is not nil.
4470         * org.el (org-blank-before-new-entry): Mention the dependence on
4471         `org-empty-line-terminates-plain-lists' in the docstring.
4473         * org-publish.el (org-publish-get-project-from-filename): New
4474         optional argument UP.  Only find the top project if UP is set.
4475         (org-publish-current-project): Find the top encloding project.
4477         * org-agenda.el (org-agenda-before-write-hook)
4478         (org-agenda-add-entry-text-maxlines): New options.
4479         (org-write-agenda): Run the new hook in the temporary buffer.
4480         (org-agenda-add-entry-text): New function.
4481         (org-write-agenda): Implement PDF export, using ps2pdf.
4483         * org.el (org-global-properties-fixed, org-global-properties):
4484         Improve documentation string.
4486         * org-exp.el (org-export-ascii-links-to-notes): New option.
4487         (org-export-as-ascii): Handle links better.
4488         (org-export-ascii-wrap, org-export-ascii-push-links): New
4489         functions.
4491 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4493         * org-agenda.el (org-agenda): Make prefix arg optional.
4494         (org-agenda-search-headline-for-time): New option.
4495         (org-format-agenda-item): Honor
4496         `org-agenda-search-headline-for-time'.
4498         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4499         characters.
4501         * org.el (org-self-insert-cluster-for-undo): New option.
4502         (org-self-insert-command): Cluster undo for 20 characters.
4503         (org-self-insert-command-undo-counter): New variable.
4505 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4507         * org-exp.el (org-export-as-html): Fix problem with closing colone
4508         example.
4510 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4512         * org-export-latex.el (org-export-as-latex)
4513         (org-export-latex-first-lines): Avoid modification flag when
4514         adding or removing text properties.
4515         (org-export-latex-fontify): Catch error when org-emph-alist has
4516         entries that are not defined for LaTeX export.
4518         * org.el (orgstruct++-mode): New function.
4519         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4520         (org-context-p): Allow detecting item context after the first line
4521         of an item.
4522         (orgstruct-make-binding): Detect if item-body context should be
4523         seen.
4524         (orgstruct-is-++): New variable.
4525         (org-add-planning-info): Catch the case when there is no planning
4526         info yet and the call does not want to add anything, only maybe
4527         tries to remove something.
4528         (org-special-ctrl-a/e): All value to be a cons cell with separate
4529         settings for `C-a. and `C-e'.
4530         (org-beginning-of-line, org-end-of-line): Honor separate values
4531         for `C-a' and `C-e'.
4533 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4535         * org.el (org-reload): New command.
4537 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4539         * org-exp.el (org-export-htm-get-tag-class-name)
4540         (org-export-htm-get-todo-kwd-class-name): New functions.
4541         (org-export-html-tag-class-prefix)
4542         (org-export-html-todo-kwd-class-prefix): New options.
4543         (org-export-as-html): Call
4544         `org-export-html-get-todo-kwd-class-name'.
4545         (org-html-level-start): Wrap tags into classes.
4546         (org-export-html-get-tag-class-name)
4547         (org-export-html-get-todo-kwd-class-name): New functions.
4549         * org-export-latex.el (org-export-latex-collect-header-macros):
4550         Remove fields that are used anyway.
4551         (org-export-latex-make-header): Insert the options earlier.
4553         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4554         matching.
4556         * org-list.el (org-indent-item): Allow point to be at the end of
4557         the region.
4559         * org.el (org-metaleft, org-metaright): Be more accurate about
4560         detecting a region where commands apply.
4562         * org-compat.el (org-cursor-to-region-beginning): New function.
4564         * org.el (org-priority): Also find invisible heading.
4566         * org-colview-xemacs.el (org-columns-edit-value): No special
4567         treatment for `org-todo' prefix.
4569         * org-colview.el (org-columns-edit-value): No special treatment
4570         for `org-todo' prefix.
4572         * org-remember.el (org-remember-apply-template): Use
4573         `org-completing-read-no-ido'.
4575         * org.el (org-completing-read-no-ido): New function.
4576         (org-make-tags-matcher, org-set-property): Use
4577         `org-completing-read-no-ido'.
4579         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4580         New option.
4581         (org-export-as-latex): Import in-buffer settings as TeX macros.
4582         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4583         (org-export-latex-collect-header-macros): New function.
4585         * org.el (org-refile-get-location): Turn off
4586         `partial-completion-mode'.
4588 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4590         * org.el (org-block-todo-from-checkboxes): Announce that
4591         checkboxes are the culprit.
4592         (org-block-todo-from-children-or-siblings): Call
4593         `org-up-heading-all instead' of `outline-up-heading'.
4595         * org-agenda.el (org-agenda-show-1): Renamed from
4596         `org-agenda-show'.
4597         (org-agenda-show): Re-install the old version for now.
4598         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4599         variable into the blokker hook, so that the checkbox checker can
4600         anounce that it caused the blocking.
4602         * org.el (org-track-ordered-property-with-tag): New option.
4603         (org-toggle-ordered-property): Honor
4604         `org-track-ordered-property-with-tag'.
4605         (org-tag-alist): Add newline options.
4606         (org-set-regexps-and-options): Separate option lines imply a
4607         newline.
4608         (org-set-regexps-and-options, org-assign-fast-keys)
4609         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4610         option.
4611         (org-indent-line-function): Make sure this works even if there is
4612         not `org-drawer-regexp' defined.  This can happen when
4613         orgstruct-mode is used in a non-org buffer.
4615         * org-list.el (org-checkbox-blocked-p): New function.
4616         (org-toggle-checkbox): Check for blocking.
4618         * org.el (org-modules): Add an entry for org-R.el.
4620         * org-agenda.el (org-agenda-todo-ignore-with-date)
4621         (org-agenda-todo-ignore-scheduled)
4622         (org-agenda-todo-ignore-deadlines): Mention the variable
4623         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4625         * org.el (org-get-wdays): Find the warning period also if it is in
4626         the wrong place.
4627         (org-ido-completing-read): Provide the correct arguments to
4628         ido-completing-read and bind `ido-enter-matching-directory' to
4629         nil.
4631 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4633         * org.el (org-olpath-completing-read): Never use ido for this
4634         one.
4636         * org-exp.el (org-export-normalize-links): Use new macro.
4638         * org-macs.el (org-if-unprotected-at): New macro.
4640         * org-agenda.el (org-agenda-show): Allow numerical prefix
4641         arguments to specify how much context should be shown.
4642         (org-agenda-cycle-show): New command, could be bound to SPC in
4643         org-agenda-mode-map.
4645         * org-exp.el (org-html-level-start): Space after section number.
4647 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4649         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4650         property, for sorting.
4651         (org-cmp-todo-state): Get the applicable TODO keywords directly
4652         from the buffer.
4653         (org-run-agenda-series, org-agenda-list, org-search-view)
4654         (org-todo-list, org-tags-view): Only fit agenda window when the
4655         whole series is done.
4657         * org.el (org-scan-tags): Add todo state as property, for sorting.
4659         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4660         `org-agenda-overriding-header' as an option.
4661         (org-agenda-list): Honor org-agenda-overriding-header'.
4663 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4665         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4666         after removing a checkbox.
4668         * org.el (org-show-entry): Make this work correctly also if it is
4669         the last entry in the file.
4670         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4671         falling back to normal, default command.
4672         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4673         item, call the checkbox toggler to get a box.
4675         * org-list.el (org-toggle-checkbox): Make double prefix set the
4676         checkbox to "[-]".
4677         (org-fix-bullet-type): Only replace bullet if it is changed.
4678         (org-renumber-ordered-list): Handle case when first item does not
4679         have a number.
4681         * org.el (org-add-log-setup): Fix positioning when
4682         `org-log-states-order-reversed' is nil.
4684         * org-clock.el (org-clock-in): Fix positioning when
4685         `org-log-states-order-reversed' is nil.
4686         (org-clock-find-position): Fix positioning when
4687         `org-log-states-order-reversed' is nil.
4689 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4691         * org-clock.el (org-clock-into-drawer): Take default from
4692         `org-log-into-drawer'.
4693         (org-clock-find-position): Look for the correct drawer.
4695         * org.el (org-log-into-drawer): Renamed from
4696         `org-log-state-notes-into-drawer'.
4697         (org-log-state-notes-into-drawer): New variable alias.
4698         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4699         CLOCK.
4700         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4702 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4704         * org-agenda.el (org-agenda): Fix docstring.
4706         * org.el ("org-plot"): Help loading org-plot.
4707         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4708         (org-metadown-hook, org-shiftmetaleft-hook)
4709         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4710         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4711         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4712         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4713         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4715         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4716         for selecting files with any (and even without) extension.
4718         * org.el (org-save-all-org-buffers): Also save id locations.
4719         (org-revert-all-org-buffers): Also load id locations.
4721 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4722         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4723         (org-log-state-notes-into-drawer): New option.
4724         (org-add-log-setup): Place the sate note marker into the drawer,
4725         create drawer when necessary.
4726         (org-refile-targets): Document special interpretation of LEVEL
4727         when odd-levels are used.
4729 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4731         * org.el (org-store-log-note): Fix note indentation when adding
4732         notes to end of list.
4734         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4735         class, so that each keyword can get special colors through CSS.
4737         * org-clock.el (org-clock-out): Add another nil for the previous
4738         state into the call to `org-add-log-setup'.
4740         * org.el (org-log-note-previous-state): New variable.
4741         (org-log-note-headings): New %S escape for old state.
4742         (org-todo): Call the note setup with the old state as an
4743         argument.
4744         (org-add-note): Add another nil for the previous state into the
4745         call to `org-add-log-setup'.
4746         (org-add-log-setup): New argument PREV-STATE.
4747         (org-add-log-note): Handle new %S escape.
4748         (org-store-log-note): Handle new %S escape.
4750 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4752         * org-clock.el (org-clock-find-position): Do not swallow an item
4753         less indented than the CLOCK line itself.
4754         (org-clock-in): Push markers to lin after the clock line.
4755         (org-clock-find-position): Handle values of
4756         `org-clock-into-drawer' smaller than 2.
4758         * org-exp.el (org-html-level-start): Add a CSS class to section
4759         numbers.
4760         (org-export-html-toplevel-hlevel): Better documentation of the
4761         influence of this variables on H levels and css classes in
4762         export.
4764 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4766         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4767         timestamp and nottimestamp to the chooe menu.
4769         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4770         (org-revert-all-org-buffers): New command.
4772 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4774         * org.el (org-return): Implement `org-return-follows-link' in the
4775         function org-return.  This is more robust than using the mouse
4776         map, I think.
4777         (org-set-regexps-and-options): Match more general #+TODO lines.
4778         (org-make-options-regexp): New optional argument EXTRA, for an
4779         extra regexp.
4780         (org-tab-follows-link): Mark as deprecated.
4782 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4784         * org-exp.el (org-export-preprocess-string): Remove clock lines
4785         earlier, so that they cannot cotribute to verbatim snippets.
4787 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4789         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4790         for finding drawers.
4791         (org-export-as-ascii, org-export-as-html): Count levels relative
4792         to the subtree header.
4793         (org-get-min-level): New optional argument OFFSET.
4794         (org-export): Make sure point is restored after popping up that
4795         window.
4797         * org.el (org-do-sort): Also take an inactive timestamp if no
4798         active one is found.
4800         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4801         deleting duplicates.
4803         * org-colview.el (org-columns-capture-view): Copy before
4804         deleting duplicates.
4806         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4807         text before first headline.
4809         * org.el (org-format-latex): Do not convert LaTeX fragments in
4810         protected examples.
4812 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4814         * org-exp.el (org-export-html-style-default): Use color values
4815         instead of names for XHTML validation.
4817         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4818         functions.
4819         (org-return-follows-link): Revert making this the default untile
4820         issues are resolved.
4822         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4823         nottimestamp.
4825 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4827         * org.el (org-mode): Make dependence stuff work more reliably.
4828         (org-update-parent-todo-statistics): Fix bug with updating
4829         statistics cookie.
4831         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4832         ~ as verbatim delimiters.
4834         * org-exp.el (org-export-html-format-image): New argument
4835         PAR-OPEN.
4836         (org-export-as-html): Pass par-open to
4837         `org-export-html-format-image'.
4839 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4841         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4842         (org-use-fast-todo-selection, org-tags-column): New default
4843         setting for variables, based on a poll what typical uses use.
4845         * org-agenda.el (org-agenda-sorting-strategy)
4846         (org-agenda-tags-column): New default setting for variables, based
4847         on a poll what typical uses use.
4849 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4851         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4852         blocked entries from setting the blocked tag.
4854         * org-exp.el (org-export-html-footnotes-section): Use a more
4855         consistent id for footnotes.
4857         * org-export-latex.el (org-export-latex-classes): Remove the
4858         a4paper option from the default styles.
4860 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4862         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4863         (org-block-todo-from-checkboxes): New function.
4864         (org-todo): Make tripple prefix arg circumvent blocking.
4866         * org-timer.el (org-timer): Provide the timer feature.
4868         * org.el (org-require-autoloaded-modules): Add a few more files to
4869         the list of autoloaded modules.
4871         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4873 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4875         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4876         drawers that are unprotected.
4877         (org-export-html-format-image): Make sure inlined LaTeX fragment
4878         images remain inlined.
4880         * org.el (org-toggle-ordered-property): New function.
4881         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4882         (org-org-menu): Add menu entries for TODO dependencies.
4884 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4886         * org.el (org-default-properties): Add ORDERED to the default
4887         properties, to get completion support for it.
4889         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4891         * org.el (org-update-parent-todo-statistics): Update more than one
4892         cookie.
4894         * org-agenda.el (org-agenda-get-todos): Start search from correct
4895         position.
4897         * org.el (org-fast-todo-selection): Make sure TODO selection does
4898         not change buffer position.
4900         * org-list.el (org-toggle-checkbox): Implement adding or removing
4901         checkboxes from line or region when called with a prefix
4902         argument.
4904         * org-rmail.el (org-rmail-store-link): Protect the call to
4905         `rmail-narrow-to-non-pruned-header'.
4907         * org-clock.el (org-clock-special-range): Fix week display in
4908         clock tables.
4910         * org-exp.el (org-get-current-options): Fix bug when in indirect
4911         buffer.
4913 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4915         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4916         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4917         (org-agenda-dim-blocked-tasks): New function.
4919         * org.el (org-enforce-todo-dependencies): New option.
4920         (org-block-todo-from-children-or-siblings): New function.
4922         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4924         * org.el (org-todo): Return correct state type even if the blocker
4925         throws an error.
4926         (org-modifier-cursor-error): Renamed from
4927         `org-shiftcursor-error'.
4928         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4929         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4931         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4932         to get real errors from the blocker hook.
4934         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4935         functions.
4936         (org-set-visibility-according-to-property): Turn off the setting
4937         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4938         property.
4940 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4942         * org.el (org-support-shift-select): New option.
4943         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4944         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4945         selection outside contexts.
4947         * org-list.el (org-at-item-bullet-p): New function.
4949         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4950         variables.
4952         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4953         variable.
4954         (org-insert-footnote-reference-near-definition): Remove
4955         unnecessary let form.
4957         * org-export-latex.el (org-export-latex-first-lines): Add
4958         OPT-PLIST parameter.
4959         (org-export-as-latex): Call `org-export-latex-first-lines' with
4960         opt-plits parameter.
4961         (org-export-latex-preprocess): Remove unnecessary variables.
4963         * org-exp.el (org-infile-export-plist)
4964         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4965         (org-export-remove-headline-metadata)
4966         (org-export-get-title-from-subtree, org-get-min-level)
4967         (org-html-do-expand): Remove innecessary let form.
4969         * org-colview-xemacs.el (org-columns-display-here): Remove
4970         unnecessary variables.
4972         * org-colview.el (org-columns-display-here): Remove unnecessary
4973         variables.
4975         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4976         variables.
4978         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4979         unnecessary variables.
4981         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4982         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4983         variables.
4985         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4986         (org-compact-display-after-subtree-move): Remove unnecessary
4987         variables.
4988         (org-edit-fixed-width-region): Remove unnecessary variables.
4989         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4990         (org-olpath-completing-read): Remove unnecessary variable.
4991         (org-auto-repeat-maybe): Remove unnecessary variable.
4992         (org-map-entries): Remove unnecessary variable.
4993         (org-buffer-property-keys, org-imenu-get-tree)
4994         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4996 -----------------------------------------------------------------
4998 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4999         * org-exp.el (org-export-remove-timestamps): Never remove
5000         timestamps from tables.
5002         * org-export-latex.el (org-export-latex-first-lines): Add more
5003         options to the preprocessing of the text before the first
5004         headline.
5006 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
5008         * org-faces.el (org-clock-overlay): Make face compatible with
5009         XEmacs.
5011         * org.el (org-yank): Add property for delete-selection mode.
5013         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5015         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5016         variable.
5018         * org-table.el (org-table-insert-hline): Fix typo in fuction call
5019         to `backward-char'.
5021         * org-exp.el (org-export-as-html): Remove the initial space from
5022         colon examples.
5024         * org.el (org-scan-tags): Call
5025         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5027         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5028         customization groups.
5029         (org-agenda-tags-todo-honor-ignore-options): New option.
5030         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5031         New function.
5032         (org-agenda-get-todos): Use
5033         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5035 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
5037         * org-exp.el (org-export-format-source-code-or-example): Escape
5038         HTML characters also in examples that anre not treated with
5039         htmlize.  Also, just switch to EXAMPLE processing if we do not
5040         have a good version of htmlize.
5042         * org-rmail.el: Fix copyright notice.
5044         * org.el (org-activate-footnote-links): Improve footnote link
5045         highlighting.
5047         * org-footnote.el (org-footnote-normalize): Fix finding the end of
5048         a footnote definition at the end of the file.
5050         * org-table.el (org-table-get-specials): Add an imagined hline at
5051         the end of the table.  This can be useful for references that want
5052         to go to the end of the table.  Also fix bug when computing last
5053         row constants, in tables that do not start right at the right
5054         margin.
5055         (org-table-eval-formula): Match and replace remove references.
5056         (org-table-formula-substitute-names): Make sure that names inside
5057         a "remote" call are left alone, the will be replaced later when
5058         the remote call is handled.
5059         (org-table-convert-refs-to-rc): Do not convert things that might
5060         look like a reference, but are really part of an ID or namei n a
5061         remote reference.
5062         (org-table-get-remote-range): New function.
5064 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
5066         * org-faces.el (org-clock-overlay): Fix bug in face definition.
5068         * org-clock.el (org-clock-put-overlay): Use new face instead of
5069         `secondary-selection'.
5071         * org-faces.el (org-clock-overlay): New face.
5073 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
5075         * org-exp.el (org-get-current-options): Include the option for
5076         publishing time stamps.
5078         * org.el (org-toggle-heading): Renamed from
5079         `org-toggel-region-headings'.
5080         No longer needs a region defined, but will use it if there is one.
5081         (org-ctrl-c-star): Simplified, relying more on the internal
5082         workings of `org-toggle-heading'.
5083         (org-toggle-item): Renamed from `org-toggle-region-items'.
5084         No longer needs a region defined, but will use it if there is one.
5085         (org-ctrl-c-minus): Simplified, relying more on the inernal
5086         workings of `org-toggle-item'.
5088         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5089         environment detection.  Also, do real changes only in unprotected
5090         places.
5092 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
5094         * org-export-latex.el (org-export-latex-quotation-marks): Use
5095         `org-if-unprotected-1'.
5096         (org-export-latex-set-initial-vars): Check for class definition in
5097         property.
5099         * org-macs.el (org-if-unprotected-1): New macro.
5101 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
5103         * org-compat.el (org-count-lines): New function.
5105         * org-exp.el (org-export-format-source-code-or-example): Handle
5106         switches related to text areas.
5108         * org.el (org-activate-footnote-links): Don't allow match inside a
5109         link.
5111         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5113         * org-export-latex.el (org-export-latex-links): Keep a relative
5114         path relative also after export.
5116         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5118         * org.el (org-make-tags-matcher): Never use IDO for completing the
5119         tags matcher match string.
5120         (org-completing-read): Also remove the special biding for "?".
5122         * org-attach.el (org-attach-allow-inheritance): New option.
5123         (org-attach-inherited): New variable.
5124         (org-attach-dir): Handle properties related to the attachment
5125         directory.
5126         (org-attach-check-absolute-path): New function.
5127         (org-attach-set-directory, org-attach-set-inherit): New commands.
5128         (org-attach): Accommodate the new commands in the dispatcher.
5130 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
5132         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5133         `window-full-width-p'.
5135         * org-exp.el (org-export-as-html): Only check for images files
5136         that really can be inlined
5138         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5139         list of extensions to be a parameter.
5141         * org-exp.el (org-export-html-inline-image-extensions): New
5142         variable.
5144         * org-agenda.el (org-prepare-agenda): Use
5145         `org-agenda-block-separator'.
5146         (org-agenda-block-separator): New option.
5148 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
5150         * org-export-latex.el (org-export-latex-tables): Call
5151         `org-table-clean-before-export' with the new optional argument.
5153         * org-exp.el (org-table-clean-before-export): New optional
5154         parameter MAYBE-QUOTED, allows for quoted characters like \# in
5155         first column.
5157 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
5159         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5160         histograms.
5162         * org-colview.el (org-colview-construct-allowed-dates): Better
5163         error catching when a date/time property does not have allowed
5164         values defined.
5166         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5167         Better error catching when a date/time property does not have
5168         allowed values defined.
5170 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
5172         * org.el (org-map-entries): Restore point and restriction after
5173         `org-map-entries'.
5175 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
5177         * org.el (org-time=, org-time<, org-time<=, org-time>)
5178         (org-time>=, org-time<>): Make sure both values are dates.
5180 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
5182         * org-archive.el (org-extract-archive-heading): Allow %s for file
5183         name also in achive location heading.
5185 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
5187         * org-archive.el (org-add-archive-files): Uniquify the list before
5188         returning it.
5190 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
5192         * org-compat.el (org-fit-window-to-buffer): Use
5193         `window-full-width-p'.
5195         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5196         space after the colon in short examples.
5198         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5199         enforce a space after the colon.  However, we also allow lines
5200         that are *only* a colon.
5201         (org-export-as-html): Enforce the space after the colon in short
5202         examples.
5203         (org-export-preprocess-string): Do the colon example protection
5204         earlier.
5205         (org-export-remove-timestamps): Do not check for protection at the
5206         end of the line.
5208 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5210         * org.el (org-format-latex-options): Add new matcher for single
5211         letters between dollars.
5212         (org-get-header): Function removed.
5213         (org-heading-components): New function.
5215         * org-exp.el (org-export-define-heading-targets): Record ID's also
5216         as alternative targets.
5217         (org-export-as-html): Interpret "id:" links to other files by
5218         preserving the relative path.
5220         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5221         is nil.
5223         * org-exp.el (org-export-normalize-links): Protect the main link,
5224         to avoid special character processing.
5226         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5227         New variable.
5228         (org-export-latex-special-string-regexps): Variable removed.
5229         (org-export-latex-keywords): Use the new regexp.
5231         * org-exp.el (org-export-handle-include-files): Fetch switches and
5232         put them into the BEGIN statement.
5234         * org-timer.el (org-timer-mode-line-string): New variable.
5236         * org-clock.el (org-clock-mode-line-map): Renamed from
5237         `org-clock-mode-map'.
5238         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5239         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5240         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5241         (org-clock-remove-overlays): Renamed from
5242         `org-remove-clock-overlays'.
5244         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5245         and mode line display.
5246         (org-timer-stop): New command.
5247         (org-timer-seconds): Return correct time when timer is paused.
5248         (org-timer-mode-line-timer): New variable.
5249         (org-timer-set-mode-line, org-timer-update-mode-line): New
5250         functions.
5252         * org.el (org-insert-heading):  Handle new value `auto' for
5253         `org-blank-before-new-entry'.
5254         (org-org-menu): Add new items for timer functions.
5256         * org-list.el (org-insert-item): Handle new value `auto' for
5257         `org-blank-before-new-entry'.
5259         * org.el (org-blank-before-new-entry): New value `auto', made
5260         default.
5262 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5264         * org-exp.el (org-export-normalize-links): If the link is also
5265         used as the description, protect the description.
5267 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5269         * org.el (org-closest-date): Fix bug with yearly repeats, in
5270         combination with preference of the past as it is used for deadline
5271         and scheduling search.
5273         * org-exp.el (org-html-handle-time-stamps): No longer check for
5274         the `org-export-with-timestamps' option, because the preprocesser
5275         has taken care of this already.
5277         * org.el (org-entry-properties): Catch the case when this is
5278         called in a non-org-mode file.
5280         * org-export-latex.el (org-export-latex-remove-from-headlines):
5281         Variable made obsolete, also LaTeX export now uses the standard
5282         variables.
5283         (org-export-as-latex): Add the timestamps parameter to the
5284         preprocessor parameter list.
5285         (org-export-latex-content): Export the remaining keywords without
5286         considering to remove them.
5287         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5288         Use bold font instead of tt font for the keywords.
5289         (org-export-latex-fontify-headline): Format headlines, assuming
5290         that all keywords still present should be published.
5291         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5292         publish what ever remains of the time stamps.
5293         (org-export-latex-list-parameters): New option.
5294         (org-export-latex-lists): Pass additional parameters to the list
5295         converter.
5297         * org-exp.el (org-export-preprocess-string): Remove clock lines
5298         and timestamps already in the preprocesor.
5299         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5300         functions.
5301         (org-export-as-ascii, org-export-as-html): Add the timestamps
5302         parameter to the preprocessor parameter list.
5304         * org-list.el (org-list-parse-list): Parse for checkboxes.
5305         (org-list-to-generic): Introduce and handle new parameters :cbon
5306         and :cboff.
5307         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5308         optional parameter PARAMS.
5310         * org-export-latex.el (org-export-latex-special-chars): Fix
5311         problems with interpreting dollar signs.
5312         (org-inside-latex-math-p): New function.
5313         (org-export-latex-preprocess): Protect all the math fragments.
5315         * org.el (org-latex-regexps): Allow a dash after a dollar.
5317         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5318         mark after copying.
5320         * org-agenda.el (org-run-agenda-series): Have series options set
5321         when finalizing the agenda.
5323         * org-exp.el (org-export-format-source-code-or-example): Protect
5324         the converted examples.
5326         * org.el (org-set-regexps-and-options): Fix the regexp
5327         `org-complex-heading-regexp'.
5329 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5331         * org.el (org-edit-src-get-label-format): New function.
5332         (org-coderef-label-format): New option.
5333         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5334         a label format specification and make sure it is used in the edit
5335         buffer.
5336         (org-edit-src-get-label-format): New function.
5337         (org-store-link): Handle new coderef formats.
5338         (org-link-search): Handle new coderef formats.
5340         * org-footnote.el (org-footnote-create-definition)
5341         (org-footnote-goto-local-insertion-point): Make footnote insertion
5342         work correctly when the "Footnotes" headline is the last line in
5343         the buffer.
5345         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5346         the location.
5348 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5350         * org-w3m.el (org-w3m): New customization group.
5351         (org-w3m-deactivate-mark): New option.
5352         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5353         option say not to.
5355 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5357         * org.el (org-set-font-lock-defaults): Trigger footnote
5358         fontification.
5359         (org-activate-footnote-links): New function.
5360         (org-activate-links): New entry `footnote'.
5362         * org-faces.el (org-footnote): New face.
5364 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5366         * org-macs.el (org-re): Handle the [:word:] class.
5368         * org-exp.el (org-export-preprocess-string): Call
5369         `org-export-protect-colon-examples'.
5370         (org-export-protect-colon-examples): Renamed from
5371         `org-export-protect-examples', and scope limited to lines starting
5372         with a colon.
5374 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5376         * org-exp.el (org-export-preprocess-string): Move the preprocess
5377         hook to after turning on Org-mode.
5378         (org-export-preprocess-after-include-files-hook)
5379         (org-export-preprocess-after-tree-selection-hook)
5380         (org-export-preprocess-before-backend-specifics-hook)
5381         (org-export-preprocess-final-hook): New hooks.
5382         (org-export-preprocess-string): Run the new hooks.
5384         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5386         * org-footnote.el: New file.
5388         * org.el (org-footnote): Require footnote code.
5389         (org-startup-options): Add new footnote options.
5390         (org-mode-map): New keybindig for footnotes.
5391         (org-ctrl-c-ctrl-c): Add function at footnotes.
5392         (org-org-menu): New menu entries for footnotes.
5394         * org-export-latex.el (org-export-as-latex): Pass footnote
5395         variable to preprocessor.
5396         (org-export-latex-preprocess): Treat multiple references to a
5397         footnote.
5399         * org-exp.el (org-export-preprocess-string): Call
5400         `org-footnote-normalize'.
5401         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5402         to preprocessor.
5403         (org-export-as-html): Treat multiple references to a footnote.
5405 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5407         * org-export-latex.el (org-export-latex-links): Handle coderef
5408         links.
5410         * org.el (org-bracket-link-analytic-regexp++): New variable.
5411         (org-make-link-regexps): Initialize
5412         `org-bracket-link-analytic-regexp++'.
5413         (org-store-link): Implement special case in edit-src buffer.
5414         (org-insert-link): No use of ide to insert stored links.
5415         (org-link-search): Implement special case for coderefs.
5417         * org-exp.el (org-export-html-scripts): New constant.
5418         (org-export-html-style-default): Add a new style for highlighted
5419         code.
5420         (org-export-code-refs): New variable.
5421         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5422         Call `org-export-replace-src-segments-and-examples'
5423         No longer call `org-export-protect-examples'.
5424         (org-export-target-internal-links): Take care of coderef targets.
5425         (org-export-last-code-line-counter-value): New variable.
5426         (org-export-replace-src-segments-and-examples): Renamed from
5427         `org-export-replace-src-segments', and modified.
5428         (org-export-format-source-code-or-example): Renamed from
5429         `org-export-format-source-code'.
5430         (org-export-number-lines): New function.
5431         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5433 --------------------------------------------------------------------------
5435 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5437         * org-remember.el (org-remember-handler): Safer way to get a new
5438         buffer accessing the target file.
5440         * org.el (org-refile-get-location): Handle case of current buffer
5441         not having a file associated with it.
5443 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5445         * org-table.el (org-table-get-formula): Only ask to overwrite
5446         field formula if there really is one.
5448         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5449         number, by converting these to a string.
5451         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5452         located in a different file.
5454         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5455         org-colview.el.
5457 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5459         * org.el (org-completion-use-ido): Enhance docstring of
5460         `org-completion-use-ido'.
5462         * org-export-latex.el (org-export-latex-make-header): Double the %
5463         in the time stamp format.
5464         (org-export-latex-special-chars): Handle case where there is no
5465         match group 3.
5467 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5469         * org.el (org-get-refile-targets, org-refile-get-location): Use
5470         expanded file name to improve comparison.
5472 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5474         * org.el (org-scan-tags): Rescan for tags, to get the correct
5475         upcase/downcase stuff.  This slows things down for now, but it
5476         works.
5477         (org-mode): Make sure the tag-faces regexp is initialized.
5479         * org-export-latex.el (org-export-latex-links): Fix bug with
5480         undefined label.
5482         * org-table.el (org-table-get-specials): Set
5483         `org-table-current-last-data-line'.
5484         (org-table-current-last-data-line): New variable.
5485         (org-table-insert-column, org-table-delete-column)
5486         (org-table-move-column, org-table-fix-formulas): Call
5487         `org-table-fix-formulas' a second time to fix the $LR references.
5488         (org-table-get-specials): Add the $LR references to the tables.
5489         (org-table-get-formula): Do not offer last-row names as LHS of
5490         formulas.
5492         * org.el (org-store-link): Capture link description from
5493         `org-id-store-link'.
5495         * org-exp.el (org-export-html-format-image): Add the / to the end
5496         of the <img> tag.
5497         (org-export-format-source-code): Surround example by empty lines,
5498         to make sure it will not be inside a paragraph.
5500         * org.el (org-ido-switchb): New function.
5502 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5504         * org-agenda.el (org-agenda-show): New prefix argument
5505         FULL-ENTRY.
5507         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5508         argument.
5510         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5511         `org-agenda-change-all-lines'.
5512         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5513         tags are now retrieved locally.
5515 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5517         * org.el (org-get-outline-path): Fix bug if level is not given.
5518         (org-org-menu): Do not quote function in menu vector.
5520         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5521         name.
5523 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5525         * org.el (org-refile): Avoid refiling to within the region to be
5526         refiled.
5528         * org-export-latex.el (org-export-latex-special-chars): Replace
5529         special characters also in tables.
5531         * org-agenda.el (org-agenda-change-all-lines): New argument
5532         FORCE-TAGS.
5533         (org-agenda-set-tags): Cet the new tags and pass them to
5534         `org-format-agenda-item'.
5536 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5538         * org-export-latex.el (org-export-latex-classes): Add longable as
5539         a default package to all classes.
5540         (org-export-latex-tables): Handle the longtable attribute and the
5541         align attribute.
5543         * org-table.el (orgtbl-to-generic): Handle tables that start with
5544         a hline.
5546         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5547         \verb for colde-like snippets.
5548         (org-export-as-latex): Fix issues with region export.
5550         * org.el (org-up-heading-safe): Speed up function by using a
5551         direct regexp search.
5552         (org-olpa): New variable.
5553         (org-get-outline-path): Speed-up path constructions in cases where
5554         this is possible because the entire hierarchy is scanned anyway.
5555         (org-refile-get-location): Don't compare the truenames of files,
5556         this is too slow.
5557         (org-goto-max-level): New option.
5558         (org-goto): Use `org-goto-max-level'.
5560 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5562         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5563         Strip angle brackets from message-ids in the former and don't do
5564         it in the latter.
5565         (org-gnus-follow-link): Open summary reliable, even if the last
5566         messages were deleted, and handle empty groups, too.
5568 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5570         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5571         instead of \texttt for the =...= and ~===~ emphasis environments.
5572         (org-export-as-latex): Remove any old :org-license-to-kill text
5573         properties.
5574         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5575         (org-export-latex-make-header): Add some hard space after the
5576         table of contents.
5577         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5578         exported text so that it will be excuded in further steps.
5580         * org-table.el (org-table-get-specials): Make @0 reference the
5581         last line in a table.
5582         (org-table-recalculate): Improve docstring.
5584 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5586         * org.el (org-log-done): Fix docstring.
5588 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5590         * org-exp.el (org-export-html-format-image): Fix bugs.
5592         * org-export-latex.el (org-export-latex-tables)
5593         (org-export-latex-links): Implement attribute, label, and caption
5594         handling.
5596         * org-exp.el (org-export-html-style-default): Add style
5597         definitions for the figure div.
5598         (org-export-preprocess-string, org-export-as-html): Implement
5599         attribute, label, and caption handling.
5600         (org-export-attach-captions-and-attributes): New function.
5601         (org-export-html-format-image): New function.
5602         (org-format-org-table-html): Implement attribute, label, and
5603         caption handling.
5605         * org.el (org-find-text-property-in-string): New function.
5606         (org-extract-attributes): Use the property org-attr instead of
5607         org-attrobutes, because this property is now set with the #+ATTR
5608         lines.
5610 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5612         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5613         the case that FROM is nil.
5615         * org.el (org-before-first-heading-p): New function.
5617 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5619         * org-exp.el (org-export-as-html): Do not add a space before
5620         enforces line breaks.
5621         (org-export-as-html): Close paragraph before blockquote and verse
5622         tags.
5624 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5626         * org-id.el (org-id-locations-file): Wrap file name with
5627         `convert-standard-filename'.
5628         (org-id-files): New variable.
5629         (org-id-use-hash): New option.
5630         (org-id-update-id-locations): Also search in all files current
5631         listed in `org-id-files'.  Convert the resulting alist to a hash
5632         if the user customation says so.
5633         (org-id-locations-save): Handle he case if `org-id-locations' is a
5634         hash.
5635         (org-id-locations-load): Convert the alist to a hash.
5636         (org-id-add-location): Handle the hast case.
5637         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5638         exited.
5639         (org-id-hash-to-alist, org-id-alist-to-hash)
5640         (org-id-paste-tracker): New functions.
5642 -------------------------------------------------------------------------
5644 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5646         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5647         bindings of calendar variables.
5649         * org-table.el (org-table-find-row-type): Renamed from
5650         `org-find-row-type'.
5651         (org-table-rewrite-old-row-references): Renamed from
5652         `org-rewrite-old-row-references'.
5653         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5654         (org-table-cleanup-narrow-column-properties): Renamed from
5655         `org-cleanup-narrow-column-properties'.
5657 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5659         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5660         for better error messages.
5661         (org-table-get-descriptor-line): Supply the new arguments to
5662         `org-find-row-type'.
5663         (org-table-error-on-row-ref-crossing-hline): New option.
5665         * org.el (org-target-link-regexp): Make buffer-local.
5666         (org-move-subtree-down): Fix bug with trees at beginning of
5667         buffer.
5669 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5671         * org-faces.el (org-set-tag-faces): New function.
5672         (org-tags-special-faces-re): New variable.
5674         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5676         * org-faces.el (org-tag-faces): New option.
5677         (org-tag): Mention `org-tag-faces' in the docstring.
5679 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5681         * org-exp.el (org-export-html-style-default): Implement new
5682         quoting.
5684         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5686         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5687         command to the `w3m-minor-mode-map'.
5689         * org-archive.el (org-archive-to-archive-sibling): Protect
5690         `this-command' to avoid appending kills during archiving.
5692         * org-exp.el (org-export-with-priority): New variable.
5693         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5694         instead of internal list of strings and properties.
5695         (org-print-icalendar-entries): Retrieve the location property with
5696         inheritance.
5698 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5700         * org-exp.el (org-export-with-todo-keywords): New option.
5701         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5702         line.
5703         (org-default-export-plist, org-export-add-options-to-plist)
5704         (org-export-as-ascii, org-export-as-html): Use the new structure
5705         of `org-export-plist-vars'.
5707         * org.el (org-map-entries): Return all values.
5709 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5711         * org.el (org-matcher-time): Recognize more special values.
5713         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5715 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5717         * org.el (org-tags-exclude-from-inheritance): New option.
5718         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5719         `org-tags-exclude-from-inheritance'.
5721         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5722         (org-format-agenda-item): Add inherited tags to the agenda line
5723         string, and make sure that properties are kept when downcasing the
5724         tags list.
5725         (org-agenda-add-inherited-tags): New function.
5726         (org-downcase-keep-props): New function.
5728         * org.el (org-scan-tags): Mark inherited tags with a text
5729         property.
5730         (org-get-tags-at): Mark inherited tags with a text property.
5731         (org-add-prop-inherited): New function.
5733         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5734         (org-agenda-show-inherited-tags): New option.
5736 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5738         * org.el (org-modules): Add org-w3m to the default modules.
5740         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5741         orgtbl-mode.
5742         (orgtabl-create-or-convert-from-region): New command.
5744         * org-exp.el (org-export-as-ascii): Remove the handling of
5745         targets.
5746         (org-export-ascii-preprocess): Handle targets already in this
5747         function.
5749 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5751         * org-timer.el (org-timer-start-time): Define this variable.
5752         (org-timer-item): Make argument optional.
5754         * org-list.el (org-insert-item): Automatically insert a timer item
5755         if the current list is a timer list.
5757         * org-timer.el: New file.
5759         * org-publish.el (org-publish-org-index): Only exclude the index
5760         file in the main directory from being added to the site-map.
5761         (org-publish-get-project-from-filename): If the current project is
5762         a component, start publishing from the parent project.
5764 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5766         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5768         * org-publish.el (org-publish-org-index): Improve removal of
5769         temporary buffers.
5771         * org-agenda.el (org-get-closed): Re-apply changes
5772         accidentially overwritten by last commit to Emacs.
5774         * org.el (org-outline-path-complete-in-steps): New option.
5775         (org-refile-get-location): Honor
5776         `org-outline-path-complete-in-steps'.
5777         (org-agenda-change-all-lines, org-tags-sparse-tree)
5778         (org-time-string-to-absolute, org-small-year-to-year)
5779         (org-link-escape): Re-apply changes accidentially overwritten
5780         by last commit to Emacs
5782 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5784         * org-clock.el (org-dblock-write:clocktable): Make sure the
5785         clocktable sees the first line.
5786         (org-clock-in): Warn if the clock cannot be resumed.
5788 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5790         * org.el (org-open-at-point): Fix mixup about interactive and
5791         non-interactive elisp links.
5793 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5795         * org-exp.el (org-export-preprocess-string): Allow one comment
5796         line before the first headline to always be included.  This is
5797         to not miss a commented target.
5799         * org-mouse.el (org-mouse-insert-item): Call
5800         `org-indent-to-column' instead of `indent-to', for XEmacs
5801         compatibility.
5803         * org.el (org-refile-targets): Fix customize definition so
5804         that it works also in XEmacs.
5805         (org-fixup-indentation): Call `org-indent-to-column' instead
5806         of `indent-to', for XEmacs compatibility.
5808 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5810         * org-mew.el (org-mew-store-link): Get the correct case folder
5811         for refiled messages.
5813 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5815         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5816         line break indicators.
5818         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5819         ido-completion propts.
5821 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5823         * org-remember.el (org-remember-apply-template): Use
5824         `org-substring-no-properties'.
5826         * org-compat.el (org-substring-no-properties): New function.
5828         * org-remember.el (org-remember-apply-template): Use
5829         `org-substring-no-properties' for compatibility.
5831         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5832         option.
5833         (org-fix-bullet-type): respect
5834         `org-list-two-spaces-after-bullet-regexp'.
5836         * org-clock.el (org-clock-load): Clean up the code.
5838         * org.el (org-adaptive-fill-function): Allow two spaces after
5839         "1." as a list bullet.
5841 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5843         * org-clock.el (org-clock-save, org-clock-load): Check for
5844         live buffers, existing files, and buffer file names to ensure
5845         consistent information.
5846         (org-clock-persist): Make `clock' a special value of this
5847         variable, and improve docstring.
5849         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5850         (org-get-string-indentation): Adapt indentation when the bullet
5851         width changes.
5853 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5855         * org-remember.el (org-remember-finalize): Make interactive.
5856         (org-remember-kill): New command.
5857         (org-remember-finish-immediately): Call `org-remember-finalize'
5858         directly.
5859         (org-remember-finalize): Make `org-remember-finalize' an interactive
5860         function.
5862 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5864         * org-remember.el (org-remember-apply-template): No ido completion
5865         for free prompts in remember templates.
5866         (org-remember-before-finalize-hook): New hook.
5867         (org-remember-mode): New minor mode.
5868         (org-remember-apply-template): Turn on `org-remember-mode'.
5870         * org-id.el (org-id-add-location): Avoid error when no file is
5871         given.
5873         * org-remember.el (org-remember-apply-template): Fix the way how
5874         the list of allowed properties is retrieved from the target file.
5876         * org.el (org-insert-link): Improve file link matching.
5878 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5880         * org-colview.el (org-columns-display-here): New argument
5881         DATELINE, to trigger using the new face.
5882         (org-agenda-colview-summarize): Call `org-columns-display-here'
5883         with the new argument.
5885         * org-faces.el (org-agenda-column-dateline): New face.
5887         * org-publish.el (org-publish-org-index): Use index-title at page
5888         title, not as section.
5890         * org-exp.el (org-export-html-format-desc): Respect the
5891         org-protect property.
5892         (org-export-as-html): Protect image specifiers that are in the
5893         description part of a link.
5895         * org.el (org-sort-entries-or-items, org-completing-read)
5896         (org-refile-get-location, org-olpath-completing-read, org-todo)
5897         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5898         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5899         (org-set-property, org-delete-property)
5900         (org-delete-property-globally): Use `org-ido-completing-read'.
5902         * org-remember.el (org-remember-apply-template): Use
5903         `org-ido-completing-read'.
5905         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5907         * org-colview.el (org-columns-edit-value, org-columns-new)
5908         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5910         * org-colview-xemacs.el (org-columns-edit-value)
5911         (org-columns-new, org-insert-columns-dblock): Use
5912         `org-ido-completing-read'.
5914         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5915         `org-ido-completing-read'.
5917         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5918         `org-ido-completing-read'.
5920         * org.el (org-time-today): New function.
5921         (org-matcher-time): Use `org-time-today'.  Add special treatment
5922         for "<tomorrow>" and "<yesterday>".
5923         (org-ido-completing-read): New function.
5924         (org-completion-use-ido): New option.
5926         * org-exp.el (org-export-format-source-code): Fix bug in require
5927         htmlize code.
5928         (org-export-target-internal-links): Fix bug in search for text
5929         property.
5931 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5933         * org-export-latex.el (org-export-latex-subcontent): Interprete
5934         target aliases as additonal labels.
5936         * org-exp.el (org-export-target-aliases): New variable.
5937         (org-export-preprocess-string)
5938         (org-export-handle-invisible-targets): Fill the alias alist.
5939         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5940         assign an id.
5941         (org-html-level-start): Insert the target aliases as additonal
5942         anchors.
5944         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5945         picture area.
5947 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5949         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5950         when following a link with the mouse from the agenda.
5952         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5953         headlines are created.
5955 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5957         * org-exp.el (org-export-preprocess-string): Reorder so that we
5958         can still see ID properties when we collect targets.
5959         (org-export-target-internal-links): Also store targets for ID's.
5961         * org.el (org-link-translation-function): New option.
5962         (org-open-at-point): Call `org-link-translation-function' if
5963         non-nil.
5964         (org-translate-link): New function.
5965         (org-translate-link-from-planner): New function.
5966         (org-open-at-point): Allow interactive commands in elisp links.
5968         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5969         iCalendar quoting.  The new one seems to caus problems with
5970         applications.
5972         * org.el (org-yank): Set `this-command' to `yank', so that
5973         `yank-pop' will work.
5975 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5977         * org-id.el (org-id-search-archives): New option.
5979         * org.el (org-link-to-org-use-id): New option.
5980         (org-store-link): Use `org-link-to-org-use-id'.
5981         (org-id): Make org-id.el a standard component.
5983 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5985         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5986         hexified version of the tag.
5988         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5989         compliance as far as quoting is concerned.
5991         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5993         * org.el (org-up-heading-safe, org-forward-same-level): Always
5994         call `org-back-to-heading' instead of `outline-back-to-heading'.
5995         (org-back-to-heading): New wrapper around outline-back-to-heading,
5996         with a useful error message telling where the error happened.
5998         * org-list.el (org-update-checkbox-count): Always call
5999         `org-back-to-heading' instead of `outline-back-to-heading'.
6001         * org-exp.el (org-export-as-html): Make sure that each <img> tag
6002         has an `alt' attribute, to ensure XHTML validation.
6004 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
6006         * org-publish.el (org-publish-attachment): Allow publishing to
6007         overwrite attachment files.
6009         * org-agenda.el (org-agenda-timerange-leaders): New option.
6010         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6012         * org.el (org-edit-src-exit): Untabify ASCII image before
6013         returning.
6026 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
6028         * org.el (org-yank): Make any prefix force normal yanking.
6029         Suppress folding if text would be swallowed into a folded
6030         subtree.
6031         (org-yank-folded-subtrees, org-yank): Docstring updates.
6033         * org-agenda.el (org-agenda-compare-effort): Treat no effort
6034         defined as 0.
6036         * org-exp.el (org-export-language-setup): Add Catalan and
6037         Esperanto language entries.
6039 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
6041         * org.el (org-refile): Allow refiling of entire regions.
6043         * org-clock.el (org-clock-time%): New function.
6045         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6046         retrieve property values.
6048 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
6050         * org-agenda.el (org-agenda-list): Handle the value `only' of
6051         org-agenda-show-log'.
6052         (org-agenda-log-mode): Interpret a double prefix arg.
6054 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
6056         * org-exp.el (org-export-html-footnotes-section): New variable.
6057         (org-export-as-html): Use `org-export-html-footnotes-section' to
6058         insert the footnotes.
6059         (org-export-language-setup): Add "Footnotes" to language words.
6061 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
6063         * org.el (org-yank): Fix bug when not inserting a subtree.
6065 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
6067         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6068         instead of `vm-beginning-of-message'.
6070         * org.el (org-make-link-regexps): Make sure that links to gnus can
6071         contain brackets.
6073 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
6075         * org-attach.el (org-attach-dir): Remove duplicate ID creation
6076         code.
6078         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6079         shell output.
6081         * org.el (org-link-abbrev-alist): Improve customization type.
6083         * org-attach.el (org-attach-expand-link, org-attach-expand): New
6084         functions.
6086         * org-agenda.el (org-agenda-get-progress): Renamed from
6087         `org-get-closed'.  Implement searching for state changes as well.
6088         (org-agenda-log-mode-items): New option.
6089         (org-agenda-log-mode): New option prefix argument, interpreted as
6090         request to show all possible progress info.
6091         (org-agenda-get-day-entries): Call `org-get-progress' instead of
6092         `org-get-closed'.
6093         (org-agenda-set-mode-name): Handle the more complex log mode
6094         settings.
6095         (org-get-closed): New alias, pointing to `org-get-progress'.
6097 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
6099         * org.el (org-file-apps-defaults-gnu)
6100         (org-file-apps-defaults-macosx)
6101         (org-file-apps-defaults-windowsnt): Add an entry defining the
6102         system command.
6103         (org-file-apps): Allow `system' as key and value.
6104         (org-open-at-point): Explain the effect of a double prefix arg.
6105         (org-open-file): If the argument `in-emacs' is (16),
6106         i.e. corresponding to a double prefix argument, try to open the
6107         file externally.
6109 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
6111         * org.el (org-insert-link): Abbreviate absolute files names in
6112         links.  Also, fix a bug in which the double C-u prefix would not
6113         be honored.
6115 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
6117         * org.el (org-insert-heading): If buffer does not end with a
6118         newline, add one if necessary to insert headline correctly.
6120         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6121         paragraphs, not inside.
6123         * org.el (org-todo): Quote
6124         `org-agenda-headline-snapshot-before-repeat'.
6126         * org-exp.el (org-export-as-html): Fully process link descriptions.
6127         (org-export-html-format-desc): New function.
6128         (org-export-as-html): Collect footnotes into the correct basket.
6129         (org-html-protect): No longer protect quotations marks here, this
6130         goes wrong.
6132         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6133         BEG.
6135         * org-compat.el (org-fit-window-to-buffer): New function (not
6136         really, a preliminary and incomplete version was present earlier,
6137         but not used).
6139         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6140         `org-fit-window-to-buffer'.
6142         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6144         * org-agenda.el (org-agenda-get-restriction-and-command)
6145         (org-fit-agenda-window, org-agenda-convert-date): Use
6146         `org-fit-window-to-buffer'.
6148         * org-exp.el (org-export-as-html): Process href links through
6149         `org-export-html-format-href'.
6150         (org-export-html-format-href): New function.
6152         * org-agenda.el (org-agenda-todo): Update only the current
6153         headline if this is a repeated TODO, marked done for today.
6154         (org-agenda-change-all-lines): New argument JUST-THIS, to change
6155         only the current line.
6157         * org.el (org-todo): Take a snapshot of the headline if the
6158         repeater might change it.
6160 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6162         * org-publish.el (org-publish-find-title): Remove buffers visited
6163         only for extracting the title.
6165         * org-exp.el (org-export-html-style)
6166         (org-export-html-style-default): Mark style definitions as
6167         unparsed CDATA.
6169         * org-publish.el (org-publish-validate-link): Function
6170         re-introduced.
6172 2008-11-02  Charles Sebold  <csebold@gmail.com>
6174         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6175         property.
6176         (org-plot-quote-timestamp-field): New function.
6177         (org-plot-quote-tsv-field): Call timestamp field function when
6178         necessary rather than just quoting as a string.
6179         (org-plot/gnuplot-to-data): Pass in timefmt property.
6180         (org-plot/gnuplot-script): Supports timefmt property.
6181         (org-plot/gnuplot): Checks for timestamp column before checking
6182         for text index column.
6184 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6186         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6188         * org-publish.el (org-publish-org-index): Create a section in the
6189         index file.
6190         (org-publish-org-index): Stop linking to directories.
6192         * org.el (org-emphasis-alist): Use span instead of <u> to
6193         underline text.
6195         * org-exp.el (org-export-as-html): Make sure <p> is closed before
6196         <pre> sections.
6198 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
6200         * org-jsinfo.el (org-infojs-template): Remove language attribute
6201         from script tag.
6203 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6205         * org-agenda.el (org-agenda-remove-marked-text): New function.
6206         (org-agenda-mark-filtered-text)
6207         (org-agenda-unmark-filtered-text): New functions.
6208         (org-write-agenda): Remove fltered text.
6210         * org.el (org-make-tags-matcher): Give access to TODO "property"
6211         without speed penalty.
6213 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6215         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6216         option.
6217         (org-store-link-props): Make sure adding to the plist works
6218         correctly.
6220         * org-gnus.el (org-gnus-no-new-news): New function.
6221         (org-gnus-follow-link): Allow the article ID to be a message-id,
6222         in addition to allowing article numbers.  Message IDs make much
6223         more roubust links.
6224         (org-gnus-store-link): Use message-id to create link.
6226 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6228         * org.el (org-emphasize): Reverse the selection array.
6229         (org-emphasis-alist): Set <code> tags for the verbatim
6230         environment.
6232         * org-remember.el (org-remember-handler): Fix bug with
6233         prefix-related changing of the note storage target.
6235         * org-exp.el (org-print-icalendar-entries): Make the exported
6236         priorities compatible with RFC 2445.
6238         * org-clock.el (org-clock-save): Insert time stamp without
6239         dependence on time-stamp.el.
6241 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6243         * org.el ("saveplace"): If saveplace puts point into an invisible
6244         location, make it visible.
6245         (org-make-tags-matcher): Allow inactive time stamps in time
6246         comparisons.
6247         (org-yank-adjusted-subtrees): New option.
6248         (org-yank): Incorporate adjusting trees.
6249         (org-paste-subtree): New argument FOR-YANK which will cause
6250         insertion at point without backing up over white lines, and leave
6251         point at the end of the inserted text.  Also if the cursor is
6252         at the beginning of a headline, use the same level or the inserted
6253         tree.
6255         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6256         with broken symlinks
6258 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6260         * org-exp.el (org-export-select-tags, org-get-current-options):
6261         Fix typo.
6263 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6265         * org-agenda.el (org-format-agenda-item)
6266         (org-agenda-filter-make-matcher): Make sure tags are stored and
6267         compared donwcased.
6269 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6271         * org.el (org-insert-todo-heading): Fix bug with force-heading
6272         argument.
6274 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6276         * org-clock.el (org-clock-in-resume): Add a custom option to
6277         toggle starting the clock from an open clock line.
6278         (org-clock-in): When clocking in to an entry, if
6279         `org-clock-in-resume' is set, check if the first clock line is
6280         open and if so, start the clock from the time in the clock line.
6281         (org-clock-persist): Add a custom option to toggle clock
6282         persistence.
6283         (org-clock-persist-query-save): Add a custom option to toggle
6284         asking the user if they want to save the running clock when
6285         exiting.
6286         (org-clock-persist-query-resume): Add a custom option to toggle
6287         asking the user if they want to resume the saved clock when Emacs
6288         is restarted.
6289         (org-clock-save): Add a function to save clock data.
6290         This includes the contents of `org-clock-history' and the buffer
6291         and position of the currently clocked task, if any.
6292         (org-clock-load): Add a function to load clock data.
6293         This populates `org-clock-history', and resumes the saved clocked
6294         task if there is one.
6295         (org-clock-persistence-insinuate): Add a method to set up the
6296         hooks for clock persistence.
6298 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6300         * org-exp.el (org-export-as-ascii): Handle the case that we are
6301         publishing from an indirect buffer.
6303         * org-table.el (org-table-copy-down): Fix bug with time stamp
6304         increment.
6306         * org-mouse.el (org-mouse-features): New option.
6307         (org-mode-hook): Turn on features depending on
6308         `org-mouse-features'.
6310         * org.el (org-insert-heading-respect-content): Force heading
6311         creation.
6312         (org-insert-heading): keep the folding state of the heading before
6313         the inserted one.
6315 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6317         * org-archive.el (org-archive-to-archive-sibling): Handle top
6318         level headlines better.
6320 2008-10-21  Bastien Guerry  <bzg@altern.org>
6322         * org-export-latex.el (org-export-latex-classes): Added
6323         \usepackage{graphicx} to the default list of packages.
6325 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6327         * org-agenda.el (org-agenda-filter): Renamed from
6328         `org-agenda-filter-tags'.
6330 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6332         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6333         is not defined as a property in this entry.
6334         (org-add-log-note): Mask prefix argument when immediately storing
6335         the note.
6337         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6338         option.
6340 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6342         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6343         after drawers was skipping ahead one line too many, so notes were
6344         inserted after the first note instead of before it.
6346 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6348         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6349         New variables.
6350         (org-prepare-agenda): Reset the filter tags.
6351         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6352         Show filter tags in mode line.
6354         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6355         formatter.
6357         * org-export-latex.el (org-latex-entities-regexp): New constant.
6358         (org-export-as-pdf): Use two calls to `shell-command'.
6360 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6362         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6363         Honor the {} value of the subsuperscript setting.  Make sure that
6364         longer subsuperscripts are typeset in a roman font.
6366         * org.el (org-clock-update-time-maybe): Compute negative clock
6367         intervals correctly.
6369 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6371         * org.el (org-add-log-setup): Respect
6372         `org-log-state-notes-insert-after-drawers'.
6373         (org-log-state-notes-insert-after-drawers): New option.
6374         (org-todo-trigger-tag-changes): New function.
6375         (org-todo): Call `org-todo-trigger-tag-changes'.
6377 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6379         * org.el (org-add-log-setup): Only skip drawers if the are
6380         immediately after the scheduling keywords.
6382         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6383         function
6384         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6385         call it with the current todo state to get the state to switch to
6386         when clocking in.
6387         (org-clock-in): Use org-indent-line-function to indent clock lines.
6388         (org-clock-find-position): Fix indentation of empty clock drawers.
6390 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6392         * org-publish.el (org-publish-org-to): Handle case when
6393         org-export-to-pdf does return a file name, not a buffer.
6394         (org-publish-org-to-pdf): New function.
6396         * org-export-latex.el (org-export-as-pdf)
6397         (org-export-as-pdf-and-open): New commands.
6399         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6400         forms as ranges.
6402         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6403         things in protexted regions.
6405 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6407         * org-export-latex.el (org-export-latex-preprocess): Improve
6408         quoting of LaTeX environments.
6410 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6412         * org.el (org-edit-fixed-width-region): Exclude final newline from
6413         picture area.
6415         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6416         sections, to make internal links work.
6417         (org-export-latex-fontify-headline): Do not remove all text
6418         properties, to make sure that target properties survive this
6419         process.
6421         * org-exp.el (org-export-preprocess-string): Change sequence of
6422         modifications, to make sure links are prepared before the LaTeX
6423         conversions do happen.
6425 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6427         * org-attach.el (org-attach-delete-all): Renamed from
6428         `org-attch-delete'.  Add a security query before deleting the
6429         entire directory.  New optional argument FORCE can overrule the
6430         security query.
6431         (org-attach-delete-one): New command.
6433 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6435         * org-attach.el (org-attach-file-list): Fix bug with directory.
6437 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6439         * org.el (org-apps-regexp-alist): New function.
6440         (org-file-apps): Add auto-mode to the default value.
6441         (org-open-file): Use the new structure of org-file-apps.
6443         * org-attach.el (org-attach): Support the new keys.
6444         (org-attach-method): New option.
6446 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6448         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6449         March.
6451         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6452         of the list value o `org-use-tag-inheritance'.
6454         * org-attach.el (org-attach-auto-tag): New option.
6455         (org-attach-tag, org-attach-untag): New functions.
6456         (org-attach-attach, org-attach-new, org-attach-sync): Call
6457         `org-attach-tag'.
6458         (org-attach-delete): Call `org-attach-untag'.
6460 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6462         * org-table.el (orgtbl-self-insert-command): Make this work for
6463         the keypad as well.
6465 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6467         * org.el (org-add-log-setup): Limit searc for drawers to entry
6468         text, not to subtree.
6470         * org-clock.el (org-clock-heading-for-remember): New variable.
6471         (org-clock-in): Set `org-clock-heading-for-remember'.
6473 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6475         * org-remember.el (org-remember-apply-template): Add new
6476         expansions: %k, %K for currently clocked task and a link to the
6477         currently clocked task, and %< to file notes in the currently
6478         clocked task.
6480 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6482         * org-export-latex.el (org-export-latex-make-header): Also insert
6483         the content of the property :latex-header-extra.
6485         * org-exp.el (org-infile-export-plist): Put the content of
6486         #+LATEX_HEADER: into the property :latex-header-extra.
6488         * org-colview.el (org-columns-get-format-and-top-level): Remove
6489         resetting the marker.
6491         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6492         Remove resetting the marker.
6494         * org.el (org-entry-property-inherited-from): Improve docstring.
6495         (org-entry-get-with-inheritance): Reset marker before starting the
6496         search.
6498         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6500 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6502         * org.el (org-entry-get-multivalued-property)
6503         (org-entry-protect-space, org-entry-restore-space): New
6504         functions.
6505         (org-file-apps-defaults-macosx): Let postscript files be opened by
6506         preview.
6507         (org-time-stamp-inactive): Call `org-time-stamp'.
6508         (org-time-stamp): New argument `inactive'.  Also edit inacive
6509         stamps. Convert time stamp type.
6510         (org-open-file): Interpret the `default' value for the `command'
6511         in `org-file-apps'.
6513         * org-id.el (org-id-int-to-b36-one-digit)
6514         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6515         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6516         b36.
6518 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6520         * org-id.el (org-id-reverse-string): New function.
6521         (org-id-new): Use `org-id-reverse-string' to make sure the
6522         beginning chars of the ID are mutating fast.  This allows to use a
6523         directory structure to spread things better.
6524         (org-id-prefix): Changed default to nil.
6526         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6527         restore the column of the cursor position.
6529         * org-remember.el (org-remember-apply-template): Remove properties
6530         from `initial'.
6532 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6534         * org-wl.el (org-wl-open): Remove useless call to
6535         `wl-thread-open-all'.
6537         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6538         location.
6540 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6542         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6543         `org-bbdb-anniversaries'.
6545         * org.el (org-get-next-sibling, org-forward-same-level): New
6546         functions, similar to the outline versions, but invisible headings
6547         are OK.
6549 2008-09-25  Bastien Guerry  <bzg@altern.org>
6551         * org.el (org-auto-repeat-maybe): Insert a space between
6552         the timestamp's type and the timestamp itself.
6554 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6556         * org-table.el (org-table-sum): Do not format the result with %g,
6557         it does rounding when there are too many digits.
6559         * org.el (org-map-entries): Protect the keyword-selecting variables.
6561 2008-09-23  Bastien Guerry  <bzg@altern.org>
6563         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6564         against all agenda files.
6566 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6568         * org-list.el: New file, aggregating list functions from org.el
6569         and org-export-latex.el.
6571         * org.el (org-edit-src-region-extra): New option.
6573 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6575         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6576         time before 1am.
6578 2008-09-22  Bastien Guerry  <bzg@altern.org>
6580         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6582 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6584         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6585         hline work correctly.
6586         (org-plot/gnuplot-script): Put commas at the end of each script
6587         line.
6589 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6591         * org.el (org-get-refile-targets): Replace links with their
6592         descriptions
6593         (org-imenu-get-tree): Replace links with their descriptions.
6595         * org-remember.el (org-remember-apply-template): Add a new
6596         expansion for adding properties to remember items.
6598         * org.el (org-add-log-setup): Skip over drawers (properties,
6599         clocks etc) when adding notes.
6601         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6602         items as well as the start and end times.
6604         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6605         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6607         * org-remember.el (org-get-x-clipboard): Use the compat
6608         function to get clipboard values when x-selection-value is
6609         unavailable. Use substring-no-properties instead of
6610         set-text-properties to remove text properties from the clipboard
6611         value.
6613         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6614         modeline clock string, and display the full todo value in the
6615         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6616         the currently clocked task.
6617         (org-clock-string-limit): Add a custom value for the maximum
6618         length of the clock string in the modeline.
6619         (org-clock-mode-map): Add a keymap for the modeline string
6621 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6623         * org-compat.el (org-propertize): New function.
6625 2008-09-20  Bastien Guerry  <bzg@altern.org>
6627         * org-export-latex.el (org-export-latex-tables): protect exported
6628         tables from further special chars conversion.
6629         (org-export-latex-preprocess): Preserve LaTeX environments.
6630         (org-list-parse-list): Parse descriptive lists.
6631         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6632         (org-list-to-texinfo): Export descriptive lists.
6633         (org-quote-chars): Remove.
6634         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6635         (org-export-latex-list-beginning-re): Rename to
6636         `org-list-beginning-re'
6637         (org-list-item-begin): Rename to `org-list-item-beginning'
6639 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6641         * org.el (org-refile): Allow refiling to the last entry in the
6642         buffer.
6643         (org-get-tags-at): Fix bug when inheritance is turned off.
6645 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6647         * org.el (org-indent-line-function): No longer check for src
6648         regions, this is too much overhead.
6650         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6651         matching.
6653         * org.el (org-scan-tags): Make sure that tags matching is not case
6654         sensitive.  TODO keyword matching is case sensitive, however, to
6655         avoid confusion with similar words that are not meant to be
6656         keywords.
6658 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6660         * org.el (org-get-local-tags-at): New function.
6661         (org-get-local-tags): New function.
6663         * org-exp.el (org-export-get-categories): New function.
6665         * org-agenda.el (org-sorting-choice)
6666         (org-agenda-sorting-strategy, org-agenda-get-todos)
6667         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6668         (org-agenda-get-scheduled, org-agenda-get-blocks)
6669         (org-entries-lessp): Implement sorting by TODO state.
6670         (org-cmp-todo-state): New defsubst.
6672         * org-colview.el (org-colview-construct-allowed-dates): New
6673         function.
6674         (org-columns-next-allowed-value): Use
6675         `org-colview-construct-allowed-dates'.
6677         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6678         function.
6679         (org-columns-next-allowed-value): Use
6680         `org-colview-construct-allowed-dates'.
6682 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6684         * org.el (org-protect-slash): New function.
6685         (org-get-refile-targets): Use `org-protect-slash'.
6687         * org-agenda.el (org-global-tags-completion-table): New variable.
6689         * org-exp.el (org-export-handle-export-tags): New function.
6690         (org-export-preprocess-string): Call
6691         `org-export-handle-export-tags'.
6693         * org-plot.el: New file.
6695         * org-publish.el (org-publish-expand-components): Function removed.
6696         (org-publish-expand-projects): Allow components to have components.
6698 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6700         * org.el (org-indent-line-function): Do not indent in regions that
6701         are external source code.
6702         (org-yank-and-fold-if-subtree): New function.
6704         * org-agenda.el (org-agenda-todayp): New function.
6705         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6706         `org-agenda-todayp'.
6708         * org.el (org-insert-heading-respect-content)
6709         (org-insert-todo-heading-respect-content): New commands.
6710         (org-insert-heading-respect-content): New option.
6711         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6713         * org-clock.el (org-clock-find-position): Make sure the note after
6714         the clock line gets moved into the new clock drawer.
6716 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6718         * org-id.el (org-id-new): New option.
6720 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6722         * org-table.el (org-table-copy-down): Avoid overflow during
6723         increment.  Use prefix argument 0 to temporarily disable the
6724         increment.
6726 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6728         * org-exp.el (org-export-as-html): Do not turn on the major mode
6729         if the buffer will be killed anyway.
6730         (org-get-current-options): Exclude the #+TEXT field.
6731         (org-export-as-html): Make sure text before the first headline is
6732         a paragraph.
6734         * org-publish.el (org-publish-org-to): Tell the exporter that this
6735         buffer will be killed, so it is not necessary to do major mode
6736         initialization.
6738         * org-archive.el (org-archive-to-archive-sibling): Show empty
6739         lines after folding the archive sibling.
6741         * org.el (org-log-note-extra): New variable.
6743 2008-09-05  Bastien Guerry  <bzg@altern.org>
6745         * org.el (org-additional-option-like-keywords): Added keywords for
6746         the _QUOTE, _VERSE and _SRC environments.
6748         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6749         exporting _QUOTE and _VERSE environments.
6751 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6753         * org-agenda.el (org-agenda-filter-by-tag): New command.
6755         * org-exp.el (org-get-current-options): Remove angular brackets
6756         from the date entry.
6758         * org.el (org-edit-fixed-width-region): New function.
6759         (org-edit-fixed-width-region): Also try
6760         `org-edit-fixed-width-region'.
6761         (org-edit-fixed-width-region-mode): New option.
6762         (org-activate-code): Only interprete lines starting with colon
6763         plus a space as example lines.
6765         * org-remember.el (org-remember-templates): Add nil instead of
6766         empty strings to fix the length of remember templates.
6768         * org-table.el (org-calc-default-modes): Fix the time format for
6769         calc, from 12 hour to 24 hour clock.
6771 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6773         * org-agenda.el (org-agenda-get-deadlines)
6774         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6775         entries that are pre-warnings of deadlines or reminders.
6777         * org.el (org-sort-entries-or-items): Make numeric and alpha
6778         comparisons ignore any TODO keyword and priority cookie.
6780         * org-remember.el (org-remember-handler): Reinterpretation of the
6781         prefix argument.
6783 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6785         * org-agenda.el (org-agenda-get-scheduled): Use new
6786         `org-scheduled' face.
6788         * org-faces.el (org-scheduled): New face.
6790         * org-wl.el (org-wl-open): Remove incorrect declaration.
6792         * org-gnus.el (org-gnus-store-link): Support for :to information
6793         in gnus links.
6795         * org-exp.el (org-export-as-html): Fixed typo in creator
6796         information.
6797         (org-export-protect-examples): New parameter indent.  Insert extra
6798         spaces only when this parameter is specified.
6799         (org-export-preprocess-string): Call `org-export-protect-examples'
6800         with an indentation parameter when exporting to ASCII.
6802         * org-remember.el (org-remember-templates)
6803         (org-remember-apply-template): Allow the file component to be a
6804         function.
6806         * org.el (org-goto-local-search-headings): Renamed from
6807         `org-goto-local-search-forward-headings'.  Added the possibility
6808         to search backwards.
6810 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6812         * org-export-latex.el (org-export-latex): New customization
6813         group.
6815         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6817 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6819         * org-exp.el (org-html-do-expand): Allow {} to terminate
6820         tex macro
6822 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6824         * org.el (org-buffer-list): Select buffers based on major mode,
6825         not on file name.
6827 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6829         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6830         face property.
6832         * org-colview.el (org-columns-display-here): Use
6833         `org-columns-modify-value-for-display-function'.
6835         * org-colview-xemacs.el (org-columns-display-here): Use
6836         `org-columns-modify-value-for-display-function'.
6838 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6840         * org.el (org-columns-modify-value-for-display-function): New option.
6852         * org-publish.el (org-publish-file): Make sure the directory match
6853         for the publishing directory works correctly.
6855         * org-agenda.el (org-agenda-execute-calendar-command)
6856         (org-agenda-diary-entry): Additional optional argument.
6858 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6860         * org-exp.el (org-export-as-html): Add attributes also in mailto
6861         and ftp links.
6863         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6872 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6874         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6875         sure that calls from `org-export-region-as-html' do not do the
6876         special check for a subtree.
6878 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6880         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6882 2008-07-20  Juri Linkov  <juri@jurta.org>
6884         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6885         new keymap `narrow-map' instead of binding "\C-xns".
6887 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6889         * org.el (org-open-file): Use
6890         `org-open-directory-means-index-dot-org'.
6891         (org-open-directory-means-index-dot-org): New option.
6893 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6895         * org.el (org-make-link-string): Remove link attributes from
6896         description.
6897         (org-open-at-point): Remove link attributes bevore using the path.
6899         * org-exp.el (org-export-as-html): Handle link attributes.
6901         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6903         * org-table.el (org-table-to-lisp): New function.
6905         * org.el (org-narrow-to-subtree): Do not include the final newline
6906         into the narrowed region.
6908         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6909         bug with user-define skipping condition.
6911 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6913         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6915 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6917         * org-exp.el (org-export-html-style-default): Automatic overflow
6918         handling for pre fields.
6919         (org-export-as-ascii, org-export-as-html): Change default format
6920         for time stamp.
6922         * org-table.el (org-table-export): Offer completion for translator
6923         functions, and do not require a heading above the table.
6925         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6926         Cater for the case of a list starting in the first line of the
6927         buffer.
6929 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6931         * org-publish.el (org-publish-find-title): Bug fix.
6932         (org-publish-org-index): Implement new :index-style option.
6934 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6936         * org-publish.el (org-publish-timestamp-filename): Use
6937         SHA1-encoded file names in the timestamp directory.
6939 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6941         * org-publish.el (org-publish-needed-p): Be verbose about files
6942         published and files skipped.
6944         * org-exp.el (org-export-preprocess-string): Swap link
6945         normalization and inernal link targeting.
6947         * org-publish.el (org-publish-needed-p): Create timestamp
6948         directory when it does not exist.
6950 2008-07-04  Bastien Guerry  <bzg@altern.org>
6952         * org-clock.el (org-clock-out-when-done): Doc fix.
6954         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6956         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6957         Ignore case when searching for the COMMENT cookie at export time.
6959 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6961         * org-exp.el (org-get-file-contents)
6962         (org-get-and-remove-property): New functions.
6963         (org-export-handle-include-files): Handle the new prefix options.
6964         (org-export-as-html): Fix the verse environment.
6966 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6968         * org.el (org-time=, org-time<, org-time<=, org-time>)
6969         (org-time>=, org-time<>, org-2ft): New functions.
6970         (org-op-to-function): Also provide for the time testing fucntions.
6972 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6974         * org-exp.el (org-export-html-style-default): New constant.
6976 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6978         * org-exp.el (org-export-html-style-extra): New variable.
6979         (org-export-splice-style): New function.
6981 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6983         * org-exp.el (org-export-plist-vars, org-export-as-html):
6984         Implement `org-export-creator-info'.
6985         (org-export-creator-info): New option.
6987 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6989         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6990         (org-property-drawer-re, org-clock-drawer-re): New constants.
6992 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6994         * org-exp.el (org-icalendar-use-deadline)
6995         (org-icalendar-use-scheduled): New options.
6996         (org-icalendar-include-todo): Default changed to t.
6997         (org-print-icalendar-entries): Implement better utilization of
6998         scheduling and deadline time stamps.
6999         (org-export-target-internal-links, org-export-as-html): Allow file
7000         lines without the "file:" prefix if the file path is an absolute
7001         path or starts with ".".
7003         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
7004         lastweek etc.
7005         (org-clock-special-range): Also undertand yesterday, lastweek etc.
7007 2008-06-18  Glenn Morris  <rgm@gnu.org>
7008         * org.el (org-map-entries): Let-bind `file'.
7010 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
7012         * org.el (org-agenda-skip-archived-trees): Docstring now
7013         discourages using this.
7014         (org-scan-tags): Check for org-agenda-archives-mode.
7015         (org-map-entries): Make sure org-agenda-archives-mode is nil.
7016         (org-agenda-files): Functionality of second arg changed.
7018         * org-agenda.el (org-agenda-archives-mode): New variable
7019         (org-write-agenda, org-prepare-agenda, org-agenda-list)
7020         (org-search-view, org-todo-list, org-tags-view)
7021         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7022         `ifmode' argument.
7023         (org-agenda-quit): Reset the archives mode.
7024         (org-agenda-archives-mode): New command.
7025         (org-agenda-set-mode-name): Include archives info.
7027 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
7029         * org.el (org-paste-subtree): Make sure the yanked headline is
7030         visible if it was yanked at a visible point.
7031         (org-move-item-up): Fix the bug with moving white space at the end
7032         of the item.
7033         (org-show-empty-lines-in-parent): New function.
7035 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
7037         * org-colview.el (org-columns-next-allowed-value): Bug fix.
7039         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7041         * org-agenda.el (org-agenda-get-closed): Get the end time into the
7042         agenda prefix as well.
7044         * org-publish.el (org-publish-org-index): Make a properly indented
7045         list.
7047         * org.el (org-calendar-agenda-action-key): New option.
7048         (org-get-cursor-date): New function.
7049         (org-mark-entry-for-agenda-action): New command.
7050         (org-overriding-default-time): New variable.
7051         (org-read-date): Respect `org-overriding-default-time'.
7053         * org-remember.el (org-remember-apply-template): Respect the
7054         ovverriding default time.
7056         * org-agenda.el (org-agenda-action-marker): New variable.
7057         (org-agenda-action): New command.
7058         (org-agenda-do-action): New function.
7060 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7062         * org.el (org-schedule, org-deadline): Protect scheduled and
7063         deadline tasks against changes that accidently remove the
7064         repeater.  Also show a message with the new date when done.
7066 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7068         * org.el (org-beginning-of-line): Cater for the case when there
7069         are tags but no headline text.
7070         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7071         it set.
7073 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
7075         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7076         the return value is nil instead of "nil" when there is no match.
7078         * org-exp.el (org-insert-centered): Use fill-column instead of
7079         80.
7080         (org-export-as-ascii): Use string-width to measure the width of
7081         the heading.
7083         * org.el (org-diary-to-ical-string): No longer kill buffer
7084         FROMBUF, this is now done by the caller.
7086         * org-exp.el (org-print-icalendar-entries): Move the call to
7087         `org-diary-to-ical-string' out of the loop, and kill the buffer
7088         afterwords.
7090         * org-remember.el (org-remember-visit-immediately): Position
7091         cursor after moving to the note.
7092         (org-remember-apply-template): Use a text property to record the
7093         cursor position.
7094         (org-remember-handler): Align tags after pasting the note.
7096 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
7098         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7100         * org-agenda.el (org-agenda-open-link): If there is an
7101         org-bbdb-name property in the current line, jump to that bbdb
7102         entry.
7104         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7105         text property, so that the agenda knows where this entry comes
7106         from.
7108         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
7109         interaction between clocking-in from the agenda, and  automatic
7110         task state switching.
7112         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
7114         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7115         zmacs-region stays after this command in XEmacs.
7117 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
7119         * org.el (org-scan-tags): Allow new values for ACTION parameter.
7121         * org-remember.el (org-remember-templates): Fix bug in
7122         customization type definition.
7124         * org.el (org-map-entries): New function.
7126 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
7128         * org-agenda.el (org-agenda-skip-comment-trees): New option.
7129         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7131 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
7133         * org-remember.el (org-jump-to-target-location): New variable.
7134         (org-remember-apply-template): Set
7135         `org-remember-apply-template' if requested by template.
7136         (org-remember-handler): Start an idle timer to jump to
7137         remember location.
7139         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7141         * org.el (org-set-regexps-and-options): Fix bug with parsing of
7142         file tags.
7143         (org-get-tags-at): Add the content of `org-file-tags'.
7145         * org-exp.el (org-export-handle-comments): Fix bug with several
7146         comment lines after each other.
7147         (org-number-to-roman, org-number-to-counter): New functions.
7148         (org-export-section-number-format): New option.
7150 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
7152         * org-exp.el (org-export-protect-examples): Catch the case of a
7153         missing end_example line.
7155         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7156         `org-file-tags' to nil.
7158         * org-colview.el (org-columns-next-allowed-value): Handle next
7159         argument NTH to directly select a value.
7161         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7162         argument NTH to directly select a value.
7164 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
7166         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7168 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
7170         * org.el (org-columns-ellipses): New option.
7172 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
7174         * org-colview.el (org-columns-add-ellipses): New function.
7175         (org-columns-compact-links): New function.
7176         (org-columns-cleanup-item): Call `org-columns-compact-links'.
7177         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7178         when in agenda.
7179         (org-columns-edit-value): Fixed bug with editing values from
7180         agenda column view.
7181         (org-columns-redo): Also redo the agenda itself.
7183 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
7185         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7186         option.
7188         * org-colview.el (org-agenda-columns-cleanup-item): New function.
7190         * org-exp.el (org-export-ascii-preprocess): Renamed from
7191         `org-export-ascii-clean-string'.
7192         (org-export-kill-licensed-text)
7193         (org-export-define-heading-targets)
7194         (org-export-handle-invisible-targets)
7195         (org-export-target-internal-links)
7196         (org-export-remove-or-extract-drawers)
7197         (org-export-remove-archived-trees)
7198         (org-export-protect-quoted-subtrees)
7199         (org-export-protect-verbatim, org-export-protect-examples)
7200         (org-export-select-backend-specific-text)
7201         (org-export-mark-blockquote-and-verse)
7202         (org-export-remove-comment-blocks-and-subtrees)
7203         (org-export-handle-comments, org-export-mark-radio-links)
7204         (org-export-remove-special-table-lines)
7205         (org-export-normalize-links)
7206         (org-export-concatenate-multiline-links)
7207         (org-export-concatenate-multiline-emphasis): New functions,
7208         obtained from spliiting the export preprocessor.
7210         * org-table.el (org-table-recalculate): Improve error message if
7211         the row number is invalid.
7213 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7215         * org-archive.el (org-archive-save-context-info): Fix bugs in
7216         customization setup and docstring.
7218         * org-exp.el (org-export-html-style): Changed the size of in the
7219         <pre> element to 90%.
7221 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7223         * org.el (org-find-src-example-start): Function removed.
7224         (org-edit-src-find-region-and-lang): New function.
7226 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7228         * org.el (org-edit-src-exit): New function.
7229         (org-exit-edit-mode): New minor mode.
7231         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7232         comment-like lines from protected examples.
7234         * org.el (org-edit-src-example, org-find-src-example-start)
7235         (org-protect-source-example, org-edit-special): New functions.
7237 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7239         * org-publish.el (org-publish-project-alist): Fix typo in
7240         docstring.
7241         (org-publish-project-alist): Handle :index-title property.
7243 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7245         * org-export-latex.el (org-export-as-latex): Make sure region
7246         bounds are correct.  Parse subtree properties relating to export.
7248         * org-exp.el (org-export-add-options-to-plist): New function.
7249         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7251 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7253         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7254         EXPORT_TITLE.
7256         * org-exp.el (org-export-get-title-from-subtree)
7257         (org-export-as-ascii, org-export-as-html): Make sure the original
7258         region-beginning and region-end are used, even after moving
7259         point.
7260         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7261         property.
7263         * org-remember.el (org-remember-last-stored-marker): New variable.
7264         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7265         (org-remember-handler): Also use marker to remember
7266         last-stored position.
7268         * org.el (org-goto-marker-or-bmk): New function.
7270 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7272         * org.el (org-file-properties): Renamed from `org-local-properties'.
7273         (org-scan-tags): Take file tags into account.
7274         (org-tags-match-list-sublevels): Default changed to t.
7276         * org-exp.el (org-export-as-html): Close paragraph after a
7277         footnote.
7279         * org.el (org-update-parent-todo-statistics): New function.
7281         * org-exp.el (org-icalendar-store-UID): New option.
7282         (org-icalendar-force-UID): Option removed.
7283         (org-print-icalendar-entries): IMplement UIDs.
7285 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7287         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7289 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7291         * org-faces.el (org-column): Document how this face is being used
7292         and why sometimes the background faces shine through.
7294         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7296         * org-publish.el (org-publish-attachment): Create publishing
7297         directory if it does not yet exist.
7299         * org-table.el (org-calc-default-modes): Change default number
7300         format to (float 8).
7302         * org.el (org-olpath-completing-read): New function.
7303         (org-time-clocksum-format): New option.
7304         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7306         * org-clock.el (org-clock-display, org-clock-out)
7307         (org-update-mode-line): Use `org-time-clocksum-format'.
7309         * org-colview-xemacs.el (org-columns-number-to-string): Use
7310         `org-time-clocksum-format'.
7312         * org-colview.el (org-columns-number-to-string): Use
7313         `org-time-clocksum-format'.
7315 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7317         * org-id.el: New file, move from contrib to core.
7319         * org-exp.el (org-icalendar-force-UID): New option.
7321 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7323         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7324         shifted by one day if theere is a date range without an end
7325         time.
7327         * org.el (org-try-structure-completion): New function.
7329 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7331         * org.el (org-set-font-lock-defaults): Improve fontification of
7332         description lists.
7333         (org-insert-item): Handle description lists.
7334         (org-adaptive-fill-function): Improve auto indentation in
7335         description lists.
7337         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7338         Implement VERSE environment.
7339         (org-export-preprocess-string): Implement the COMMENT
7340         environment.
7342         * org-export-latex.el (org-export-latex-preprocess): Implement
7343         VERSE environment.
7345 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7347         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7348         option.
7350 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7352         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7354         * org.el (org-quote-csv-field): New functions.
7356         * org-table.el (org-table-export-default-format): Remove :splice
7357         from default format, we get the same effect by not specifying
7358         :tstart and :tend.
7359         (org-table-export): Improve setup, distinguish better between
7360         interactive and non-interactive use, allow specifying the format
7361         on the fly, better protection against wrong file names.
7362         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7363         and :tend when :splice is omitted.
7365 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7367         * org-clock.el (org-clock-select-task): Make sure the selection
7368         letters are 1-9 and A-Z, no special characters.
7370 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7372         * org-exp.el (org-export-htmlize): New group.
7373         (org-export-htmlize-output-type)
7374         (org-export-htmlize-css-font-prefix): New options.
7375         (org-export-htmlize-region-for-paste): New function.
7376         (org-export-htmlize-generate-css): New command.
7378 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7380         * org/org.el (org-modules, org-format-latex-options):
7381         * org/org-archive.el (org-archive-stamp-time)
7382         (org-archive-save-context-info):
7383         * org/org-faces.el (org-hide):
7384         * org/org-irc.el (org-irc-parse-link):
7385         * org/org-macs.el (org-call-with-arg, org-autoload):
7386         * org/org-mew.el (org-mew-store-link):
7387         * org/org-remember.el (org-remember-store-without-prompt)
7388         (org-remember-templates): Fix typos in docstrings.
7390         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7392         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7393         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7394         (org-bbdb-anniv-split): Fix typos in docstrings.
7396         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7397         (org-publish-use-timestamps-flag): Reflow docstring.
7398         (org-publish-files-alist): Fix typos in docstring.
7400 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7402         * org.el (org-set-visibility-according-to-property): New function.
7403         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7404         and compute the regular expressions, and update font-lock.
7405         (org-property-re): Allow a dash in property names.
7407         * org-archive.el (org-extract-archive-file): Insert the file name
7408         without the path into the format, to allow the location format to
7409         contain a subdirectory.
7411         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7412         of buffer, and the `org-agenda-type' property undefined, use the
7413         value from the character before.
7415         * org.el (org-add-planning-info): Don't let indentation for
7416         would-be timestamp become extra whitespace at the end of headline.
7418 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7420         * org.el (org-remove-double-quotes, org-file-contents): New
7421         functions.
7423         * org-exp.el (org-infile-export-plist): Also parse the
7424         contents of #+SETUPFILE files, recursively.
7426         * org.el (org-set-regexps-and-options): Also parse the
7427         contents of #+SETUPFILE files, recursively.
7429         * org-exp.el (org-export-handle-include-files): New function.
7430         (org-export-preprocess-string): Call
7431         `org-export-handle-include-files'.
7433         * org.el (org-delete-property-globally)
7434         (org-delete-property, org-set-property): Ignore case during
7435         completion.
7436         (org-set-property): Use `org-completing-read' instead of
7437         `completing-read'.
7439         * org.el (org-complete-expand-structure-template): New,
7440         experimental function.
7441         (org-structure-template-alist): New, experimental option.
7442         (org-complete): Call `org-complete-expand-structure-template'.
7444 2008-05-06  Bastien Guerry  <bzg@altern.org>
7446         * org-export-latex.el (org-export-latex-preprocess): Added
7447         support for blockquotes.
7449 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7451         * org.el (org-read-date-analyze): Catch the case where only a
7452         weekday is given.
7454 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7456         * org.el (org-set-font-lock-defaults): Make the description
7457         tag bold.
7459         * org-exp.el (org-export-as-html, org-close-li): Implement
7460         description lists.
7462 2008-05-04  Jason Riedy  <jason@acm.org>
7464         * org-table.el (*orgtbl-default-fmt*): New variable.
7465         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7466         when there is no other fmt available.
7468         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7469         :tend to suppress the appropriate string.
7471         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7472         table.
7474 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7476         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7477         read date.
7479         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7480         New function.
7482         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7483         New function.
7485 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7487         * org-clock.el (org-clock-find-position): Don't include notes
7488         into clock drawer.
7490         * org-archive.el (org-archive-subtree): No longer remove an
7491         extra line after cutting the subtree.  `org-cut-subtree' already
7492         takes care of this.
7494         * org-remember.el (org-remember-handler): Only kill the target
7495         buffer if it does not contain the running clock.
7497         * org.el (org-markers-to-move): New variable.
7498         (org-save-markers-in-region, org-check-and-save-marker)
7499         (org-reinstall-markers-in-region): New function.
7500         (org-move-subtree-down, org-copy-subtree): Remember relative
7501         marker positions before cutting.
7502         (org-move-subtree-down, org-paste-subtree): Restore relative
7503         marker positions after pasting.
7505         * org-remember.el (org-remember-clock-out-on-exit): New option.
7506         (org-remember-finalize): Clock out only if the setting in
7507         `org-remember-clock-out-on-exit' requires it.
7508         (org-remember-handler): Do the cleanup in the buffer, to make sure
7509         that the clock marker remains in tact.
7511 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7513         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7514         (org-clock-in): Make sure that also tasks outside the narrowed
7515         region will be clocked in correctly.
7516         (org-clock-insert-selection-line): Widen the buffer so that we can
7517         find the correct task heading.
7519         * org.el (org-base-buffer): New function.
7521         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7522         and ";" are escaped.
7523         (org-print-icalendar-entries): Also apply
7524         `org-icalendar-cleanup-string' to the headline, not only to the
7525         summary property.
7527 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7529         * org-exp.el (org-export-preprocess-hook): New hook.
7530         (org-export-preprocess-string): Call
7531         `org-export-preprocess-hook'.
7533         * org.el (org-font-lock-hook): New variable.
7534         (org-font-lock-hook): New function.
7535         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7537 ;; Local Variables:
7538 ;; coding: utf-8
7539 ;; add-log-time-zone-rule: t
7540 ;; End:
7542     Copyright (C) 2008  Free Software Foundation, Inc.
7544   This file is part of GNU Emacs.
7546   GNU Emacs is free software: you can redistribute it and/or modify
7547   it under the terms of the GNU General Public License as published by
7548   the Free Software Foundation, either version 3 of the License, or
7549   (at your option) any later version.
7551   GNU Emacs is distributed in the hope that it will be useful,
7552   but WITHOUT ANY WARRANTY; without even the implied warranty of
7553   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7554   GNU General Public License for more details.
7556   You should have received a copy of the GNU General Public License
7557   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7559 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c