Fix some docstrings
[org-mode.git] / lisp / ChangeLog
blob2d18280fc42efc2567977f9cacc16a40f324e880
1 2010-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-exp.el (org-export-author-info, org-export-email-info): Fix
4         docstrings.
6         * org-beamer.el (org-beamer-select-environment): Renamed from
7         `org-beamer-set-environment-tag'.  Improve docstring.
9         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
10         problem with odd levels.
12         * org-ascii.el (org-export-as-ascii): Export email only if the
13         author wants it.
15         * org-docbook.el (org-export-as-docbook): Export email only if the
16         author wants it.
18         * org-html.el (org-export-as-html): Export email only if the
19         author wants it.
21         * org-exp.el (org-export-email-info): New option.
22         (org-export-plist-vars): Add entry for `org-export-email'.
24 2010-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
26         * org-table.el (org-table-goto-line): Fix typo.
28 2010-03-25  Mikael Fornius  <mfo@abc.se>
30         * org.el (org-agenda-files): Typo.
31         (org-read-agenda-file-list): Add optional argument to help
32         `org-store-new-agenda-file-list' to remember un-expanded file
33         names.  Expand file names relative to `org-directory'.
34         (org-store-new-agenda-file-list): Keep un-expanded file names when
35         saving, if available.
36         (org-agenda-files): Update documentation.
38 2010-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
40         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
41         a buffer with no file name attached.
43         * org.el (org-log-refile): New option.
44         (org-log-note-headings): Add a heading for refiling.
45         (org-startup-options): Add keywords for logging of the refile
46         action.
47         (org-refile): Add logging action.
48         (org-add-log-note): Allow for refiling action.
50         * org-agenda.el (org-agenda-bulk-action): Make sure
51         `org-log-refile' is not `note' during a bulk action.
53 2010-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
55         * org.el (org-map-dblocks): Use save-excursion to remember the
56         position.
58         * org-attach.el (org-attach-commit): Remove dependence on xargs.
59         (org-attach-delete-one): Commit after deleting a file.
61         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
62         borders for strike-through emphasis.
64         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
65         handling of odd levels.
67         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
68         and `future' values.
69         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
70         Handle `past' and `future' values.
72         * org.el (org-read-agenda-file-list): Interpret file names
73         relative to org-directory and allow environment variables and
74         "~".
76         * org-latex.el (org-export-latex-special-chars): Allow a
77         parenthesis before an exponent or subscript.
79 2010-03-23  Dan Davison  <davison@stats.ox.ac.uk>
81         * org-src.el (org-edit-src-exit): When returning from code edit
82         buffer, if code block is hidden, leave point at start of
83         #+begin_src line
85 2010-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
87         * org.el (org-insert-heading): Do not remove all spaces if the
88         headline is empty.
90         * org-indent.el (org-indent): Fix group name.
92 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
94         * org-table.el (org-table-goto-column): Fix forcing a non-existing
95         column.
96         (org-table-get, org-table-put, org-table-goto-line)
97         (org-table-current-line): New functions.
99 2010-03-21  Jan Böcker  <jan.boecker@jboecker.de>
101         * org.el (org-open-file): Allow regular expressions in
102         org-file-apps to capture link parameters using groups.  In a
103         command string to be executed, the parameters can be referenced
104         using %1, %2, etc.  Lisp forms can access them using
105         (match-string n link).
106         (org-apps-regexp-alist): Adopt the created regexp, as this is now
107         matched against a file: link instead of the file name.
109 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
111         * org-crypt.el (org-reveal-start-hook): Add a decryption function
112         to this hook.
113         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
114         docstrings.
116         * org.el (org-point-at-end-of-empty-headline)
117         (org-level-increment, org-get-previous-line-level): New function.
118         (org-cycle-level): Rewritten to be independent of when this
119         function is called.
120         (org-in-regexps-block-p): New function.
121         (org-reveal-start-hook): New hook.
122         (org-reveal): Run new hook.
124 2010-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
126         * org-latex.el (org-export-latex-keywords): Start a new paragraph
127         after time keywords, do not add "\newline".
129         * org-html.el (org-export-as-html): Avoid double # in href.
131         * org.el (org-refile-get-location): Catch an invalid target
132         specification.
134 2010-03-18  Carsten Dominik  <carsten.dominik@gmail.com>
136         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
137         Make sure the behavior regarding to extracting time is
138         consistent.
140 2010-03-17  Stephen Eglen  <stephen@gnu.org>
142         * org-agenda.el (org-agenda-insert-diary-extract-time): New
143         variable.
144         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
145         variable rather than `org-agenda-search-headline-for-time'.
147 2010-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
149         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
151 2010-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
153         * org.el (org-adaptive-fill-regexp-backup): New variable.
154         (org-set-autofill-regexps): Store a backup of
155         `adaptive-fill-regexp'.
156         (org-adaptive-fill-function): Fix filling of comments and ordered
157         lists. If there is no other match, till try adaptive fill.
159 2010-03-15  John Wiegley  <jwiegley@gmail.com>
161         * org-agenda.el (org-agenda-include-deadlines): Added new
162         customization variable to determine whether unscheduled tasks
163         should appear in the agenda solely because of their deadline.
164         Default to true, which was the previous behavior (it just wasn't
165         configurable).
166         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
167         the agenda to show/hide deadline tasks.
168         (org-agenda-menu): Added menu option for show/hide deadlines.
169         (org-agenda-list): Make the agenda list sensitive to the value of
170         `org-agenda-include-deadlines'.
171         (org-agenda-toggle-deadlines): New function to toggle the value of
172         `org-agenda-include-deadlines' and repaint the modeline
173         indicators.
174         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
175         modeline if deadline tasks are being displayed.
177 2010-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
179         * org-table.el (org-table-eval-formula): Replace $# and @# by
180         current column and row number.
182 2010-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
184         * org.el (org-set-property, org-delete-property): Go back to
185         prompting for the property.
187         * org-latex.el (org-export-latex-make-header): Fully process
188         author line.
189         (org-export-latex-fontify-headline): Allow several arguments, not
190         just one.
191         (org-export-latex-fix-inputenc): Catch the error when
192         `latexenc-coding-system-to-inputenc' is not defined.
194         * org-agenda.el (org-agenda-skip-if-todo): New function.
195         (org-agenda-skip-if): Add conditions for TODO keywords.
196         (org-agenda-skip-if): Document the new todo conditions.
198 2010-03-11  Mikael Fornius  <mfo@abc.se>
200         * org.el (org-at-property-p): Check if we are inside a property
201         drawer not just any drawer.
202         (org-set-property, org-delete-property): When cursor is on a
203         property key value pair do not prompt for property name instead
204         use name at cursor.
205         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
206         on the first line of a property drawer.
207         (org-property-end-re): Spell check.
209 2010-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
211         * org-exp.el (org-export-attach-captions-and-attributes): Add the
212         properties to the entire table, in case the first line is
213         removed.
215         * org-archive.el (org-archive-reversed-order): New option.
216         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
217         option `org-archive-reversed-order'.
219 2010-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
221         * org-agenda.el (org-agenda-entry-types): New variable.
222         (org-agenda-list): Use `org-agenda-entry-types'.
223         (org-agenda-custom-commands-local-options): Support for setting
224         `org-agenda-entry-types' as an option.
225         (org-diary): Shift some documentation from here to the variable
226         `org-agenda-entry-types'.
228 2010-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
230         * org-latex.el (org-export-latex-make-header): Apply macros in
231         author field.
233         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
234         (org-clock-select-task, org-clock-notify-once-if-expired)
235         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
236         (org-clock-out-if-current, org-clock-save): Use the new functions.
238 2010-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
240         * org-docbook.el (org-export-as-docbook): Remove unnecessary
241         newline.
242         (org-export-as-docbook): Remove unnecessary newline.
243         (org-export-as-docbook): Fix problem with double footnote
244         reference in one place.
246         * org-exp.el (org-export-format-source-code-or-example): Remove
247         unnecessary newline.
249         * org.el (org-deadline, org-schedule): Allow rescheduling entries
250         with repeaters.
252         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
253         function calls that look like references.
255         * org.el (org-open-at-point): Get link abbreviations from
256         reference buffer.
258 2010-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
260         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
261         as a reference.
263 2010-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
265         * org.el (org-link-unescape): Solve issue with lower-case escapes.
267 2010-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
269         * org-latex.el (org-export-latex-classes): Add
270         \usepackage{latexsym} to all classes.
272 2010-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
274         * org-html.el (org-export-as-html): Do not allow protected lines
275         into the table of contents.
277         * org-latex.el (org-export-latex-special-chars): Find subsequent
278         occurrences of special characters.
279         (org-export-latex-tables): Do not convert table-like stuff that is
280         protected.
282 2010-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
284         * org-list.el (org-toggle-checkbox): No errors when updating
285         checkbox count fails because there is no heading.
287 2010-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
289         * org-clock.el (org-clock-report-include-clocking-task): New
290         option.
291         (org-clock-sum): Add the current clocking task.
293 2010-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
295         * org.el (org-cycle): Print a message when in a table.el table.
296         (org-edit-special): Recognize the table.el context.
297         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
299         * org-src.el (org-at-table.el-p): Declare.
300         (org-edit-src-code): Handle a special case for table.el editing.
301         (org-edit-src-find-region-and-lang): Recognize the table.el
302         context.
304         * org-latex.el (org-export-latex-tables): Convert table.el
305         tables.
306         (org-export-latex-convert-table.el-table): New function.
308         * org-html.el (org-html-expand): Fix table.el export.
310         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
311         headings.
313         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
314         table for the id locations.
316         * org.el (org-read-date-analyze): Match American-style dates, like
317         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
318         current year when reading ISO and American dates.
320 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
322         * org.el (org-face-from-face-or-color): New function.
323         (org-get-todo-face, org-font-lock-add-priority-faces)
324         (org-get-tag-face): Use `org-face-from-face-or-color'.
326         * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
327         simple colors as values.
328         (org-faces-easy-properties): New option.
330         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
331         restricted, as an agenda mode.
332         (org-agenda-fontify-priorities): Allow simple colors as values.
334 2010-02-25  Bastien Guerry  <bzg@altern.org>
336         * org-timer.el (org-timer-current-timer): Renamed from
337         `org-timer-last-timer'.
338         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
339         (org-timer-cancel-timer, org-timer-show-remaining-time)
340         (org-timer-set-timer): Update to use only one timer.
342         * org.el (org-set-property): Remove useless space in the prompt.
344 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
346         * org-html.el (org-export-html-style-default): Add a default style
347         for textareas.
349         * org-exp.el (org-export-format-source-code-or-example): Fix
350         textarea tag.
352 2010-02-24  Bastien Guerry  <bzg@altern.org>
354         * org-clock.el (org-clock-current-task): New variable to store
355         last clocked in task.
356         (org-clock-set-current, org-clock-delete-current): New functions.
358 2010-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
360         * org-remember.el (org-remember-apply-template): Extend comment.
361         (org-remember-handler): Implement clock sibling filing.
363 2010-02-23  Carsten Dominik  <carsten.dominik@gmail.com>
365         * org-publish.el (org-publish-all, org-publish-current-file)
366         (org-publish-current-project): When called with prefix argument
367         FORCE, also rebuild the validation file list.
369         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
370         section headings.
372 2010-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
374         * org-html.el (org-export-as-html-and-open): Kill product buffer
375         if the user wants that.
377         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
378         if the user wants that.
380         * org-exp.el (org-export-kill-product-buffer-when-displayed): New
381         option.
383         * org-agenda.el (org-batch-agenda-csv): Use the time property
384         instead of the `time-of-day' property.
386 2010-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
388         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
389         (org-timer-pause-hook, org-timer-set-hook)
390         (org-timer-cancel-hook): New hooks.
391         (org-timer-start): Run `org-timer-start-hook'.
392         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
393         (org-timer-stop): Run `org-timer-stop-hook'.
394         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
396 2010-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
398         * org.el (org-reveal): Double prefix arg shows the subtree of the
399         parent.
401 2010-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
403         * org-agenda.el (org-search-view): Fix bug with searching full
404         words in headlines in search view.
405         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
406         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
407         scheduled (if the user configures it so.
409 2010-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
411         * org.el (org-hide-archived-subtrees): Don't jump to end of
412         subtree if the match was not in a headline.
413         (org-inside-latex-macro-p): Allow more complex arguments.
414         (org-emphasize): Protect against use at end of buffer.
416 2010-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
418         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
419         text properties.
421 2010-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
423         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
424         values.
425         (org-agenda-todo-ignore-scheduled)
426         (org-agenda-todo-ignore-deadlines): More control with different
427         allowed values.
428         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
429         Honor the new option settings.
431 2010-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
433         * org.el (org-get-location): Make sure the selection buffer is
434         shown in the current frame.
436         * org-ascii.el (org-export-ascii-table-widen-columns): New
437         option.
438         (org-export-ascii-preprocess): Realign tables to remove narrowing
439         if `org-export-ascii-table-widen-columns' is set.
441         * org-table.el (org-table-do-narrow): New variable.
442         (org-table-align): Narrow only if `org-table-do-narrow' is t.
444         * org.el (org-deadline, org-schedule): Allow updating if the
445         relevant time stamp does not have a repeater, i.e. do not require
446         that no time stamp has a repeater.
448         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
449         new white space before the tags.
451         * org-latex.el (org-export-as-latex): Do nit require the buffer to
452         be visiting a file when only exporting to a buffer or string.
453         (org-export-latex-fix-inputenc): Only save the buffer is there is
454         a file name attached to it.
456 2010-02-09  Dan Davison  <davison@stats.ox.ac.uk>
458         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
460 2010-02-08  Carsten Dominik  <carsten.dominik@gmail.com>
462         * org.el (org-fontify-meta-lines-and-blocks): Honor
463         `org-fontify-quote-and-verse-blocks'.
465         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
467 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
469         * org.el (org-open-at-point): Also check for text property
470         org-linked-text before offering collected links.
472 2010-02-03  Stephen Eglen  <stephen@gnu.org>
474         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
475         Optionally extract time specification from text and add to the
476         timestamp.
478 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
480         * org-exp.el (org-html-entities): Fix typo.
482         * org-latex.el (org-export-latex-make-header): Use \providecommand
483         to make sure the \alert macro is defined.
485         * org.el (org-format-latex-signal-error)
486         (org-create-formula-image): Use `org-format-latex-signal-error'.
488 2010-02-02  Stephen Eglen  <stephen@gnu.org>
490         * org.el (org-store-link): For dired buffers, use
491         default-directory as link name if dired-get-filename returns
492         nil.
494 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
496         * org-exp.el (org-export-concatenate-multiline-links): The for
497         protectedness at beginning of match.
499         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
500         AUTO as a coding system, instead default to utf8.
502 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
504         * org.el (org-block-todo-from-children-or-siblings-or-parent)
505         (org-block-todo-from-checkboxes): Respect the local variable
506         value when deciding if blocking should be active.
508         * org-latex.el (org-export-latex-make-header): Define the align
509         macro if it is not yet defined.
511         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
512         `org-insert-heading' with the INVISIBLE-OK argument.
514         * org-mac-message.el (org-mac-message-insert-flagged): Call
515         `org-insert-heading' with the INVISIBLE-OK argument.
517         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
519         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
520         prompt message.
522         * org-html.el (org-html-level-start): Use the
523         `html-container-class' text property to set an additional class
524         for an outline container.
526         * org-exp.el (org-export-remember-html-container-classes): New
527         function.
528         (org-export-preprocess-string): Call
529         `org-export-remember-html-container-classes'.
531         * org.el (org-cycle): Mention level cycling in the docstring.
532         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
534         * org-remember.el (org-remember-apply-template): Do file insertion
535         first.
537 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
539         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
540         problem with mis-aligned graphs when showing habits.
542 2010-01-28  Mikael Fornius  <mfo@abc.se>
544         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
545         when assigning. Begin using numerical characters when all in name
546         is used up. This is to spare alphanumeric characters for better
547         match with other keywords.
549 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
551         * org-exp.el (org-export-preprocess-hook): Improve documentation.
553         * org-latex.el (org-export-latex-preprocess): More consistent
554         conversion and protection of the words LaTeX and TeX.
555         (org-export-latex-fontify-headline, org-export-latex-preprocess):
556         Allow angle brackets in commands, for beamer.
558 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
560         * org-clock.el (org-clock-in): Improve the look of the clock line
561         by formatting links.
563 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
565         * org-latex.el (org-export-latex-classes): Use AUTO as the place
566         holder string for the coding system.  And improve the
567         documentation.
568         (org-export-latex-fix-inputenc): Only modify the coding system if
569         it is given by the placeholder AUTO.
571 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
573         * org-clock.el (org-task-overrun-text): New option.
574         (org-task-overrun, org-clock-update-period): New variables.
575         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
576         overrun clock.
577         (org-clock-notify-once-if-expired): Check if clock is overrun.
579         * org-faces.el: New face `org-mode-line-clock-overrun'.
581 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
583         * org.el (org-narrow-to-subtree): Position the end of the narrowed
584         region before the line with the next heading, to prevent the user
585         from prepending text to the next headline.
587 2010-01-20  Stephen Eglen  <stephen@gnu.org>
589         * org-agenda.el (org-get-time-of-day): Use
590         org-agenda-time-leading-zero to allow leading zero (rather than
591         space) for times.
593 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
595         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
596         org-datetree.el is loaded.
598         * org-datetree.el: autoload `org-datetree-find-day-create'
600         * org-latex.el (org-export-latex-hyperref-format): New option.
601         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
603 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
605         * org-ctags.el (org-ctags-enable): Change order of functions.
606         (org-ctags-create-tags): Add wildcard to file name expansion.
608 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
610         * org.el (org-entry-properties): Fix some important bugs.
612 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
614         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
615         the table is not explicitly given.
617 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
619         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
620         as value.
621         (org-clock-out-if-current): Work with the new list value of
622         `org-clock-out-when-done'.
623         (org-clock-out, org-clock-out-if-current): Avoid circular logic
624         between clocking out and state changes.
626         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
628         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
629         accident protect a character that is before a backslash.
631 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
633         * org-agenda.el (org-diary-class): Use
634         `org-order-calendar-date-args'.
636         * org.el (org-order-calendar-date-args): New function.
638         * org-exp.el (org-export-target-internal-links): Check for
639         protectedness after the first bracket.
641         * org.el (org-entry-properties): Don't match wrong-case TODO
642         keywords.
644         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
645         Document that ARG is passed through to remove the date.
646         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
647         not read a date when the user has given a `C-u' prefix.
649 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
651         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
652         tags are hidden.
654 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
656         * org-latex.el (org-export-latex-fix-inputenc): New function.
657         (org-export-latex-inputenc-alist): New option.
659         * org-exp.el (org-export): New key SPC to publish enclosing
660         subtree.
662 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
664         * org-indent.el (org-indent-add-properties): Catch case when there
665         is no headline in the buffer.
667 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
669         * org-exp.el (org-html-entities): Add checkmark symbol.
671         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
672         verbatim code for ASCII export.
674         * org.el (org-update-statistics-cookies): Also see checkboxes in
675         ordered lists.
677 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
679         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
680         key.
682         * org-beamer.el (org-beamer-amend-header): Change the location
683         where `org-beamer-header-extra' is inserted.
685         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
686         just for computing this regexp.
688 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
690         * org-beamer.el (org-beamer-frame-default-options): New option.
691         (org-beamer-sectioning): Use default options if the user does not
692         have defined any.
693         (org-beamer-fix-toc): Put a frame around the table of contents.
695         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
696         sure case-folding works well when processing comment stuff.
698         * org-latex.el (org-export-latex-after-save-hook): New hook.
699         (org-export-as-latex): Run the new hook.
701 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
703         * org-beamer.el (org-beamer-environments-default): Add the note
704         environments.
705         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
706         lines and collect and combine the content.
707         (org-beamer-after-initial-vars): Check for note tags and make sure
708         they will be seen like a property.
710         * org.el (org-offer-links-in-entry): Fix bug when there is a
711         single link.
713         * org-exp.el (org-export): Make sure the mark is activated, also
714         when `transient-mark-mode' is off.
716         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
717         (org-agenda-search-view-search-words-only): Obsolete variable, is
718         now an alias for `org-agenda-search-view-always-boolean'.
719         (org-agenda-search-view-force-full-words): New option.
720         (org-search-view): Improve docstring, and implement a better logic
721         for Boolean and phrase searches.
722         (org-agenda-last-search-view-search-was-boolean): New variable.
723         (org-agenda-manipulate-query): Consider the type of the last
724         search when modifying the search string.
726 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
728         * org-latex.el (org-export-as-latex): Do the first letbind in the
729         right moment.
731         * org-agenda.el (org-get-entries-from-diary): Add the new face to
732         these entries.
734         * org-faces.el (org-agenda-diary): New face.
736         * org.el (org-make-link-regexps): Allow regexp-special characters
737         in link types.
738         (org-open-file): When in-emacs is `system', also force system
739         opening, like when the value was `(16)'.
740         (org-update-statistics-cookies): Handle entries without children.
742         * org-exp.el
743         (org-export-preprocess-before-normalizing-links-hook): New hook.
744         (org-export-preprocess-string): Run the new hook.
746         * org.el (org-offer-links-in-entry): Make RET open all links.
748         * org-html.el (org-export-as-html): Remove any left-over display
749         properties in the html file.
751         * org-wl.el (org-wl-store-link): Work-around for format bug with
752         text properties.
754         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
755         invisibility while adding the graphs.
757 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
759         * org-remember.el (org-select-remember-template): Use C letter to
760         customize remember templates.
762         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
763         Move cursor to next visible line.
765 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
767         * org-beamer.el (org-beamer-sectioning): Leave columns environment
768         by specifying 0 or 1 for column width.
769         (org-beamer-column-widths): Make 0 stand for 0.0.
771 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
773         * org-exp.el (org-export-mark-radio-links): Don't match inside
774         <<target>>.
776         * org.el (org-format-latex-header-extra): New variable.
777         (org-format-latex): Set org-format-latex-header-extra from
778         in-buffer stuff.
779         (org-format-latex): Add org-format-latex-header-extra to the
780         variables on which image creation depends.
781         (org-create-formula-image): Add the header stuff from in-buffer
782         settings.
783         (org-read-date-analyze): Base the analysis for future preference
784         on NOW, not on the default date.
786         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
787         for TODO keyword in inline tasks.
789         * org.el (org-log-note-headings): New headings for removing
790         deadline or scheduling date.
791         (org-deadline, org-schedule): Arrange for logging when removing a
792         date.
793         (org-add-log-note): Handle deadline and scheduling removal.
795 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
797         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
799 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
801         * org-agenda.el (org-diary-class): New function.
803 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
805         * org-latex.el (org-export-latex-preprocess): Do process the text
806         of a radio target.
808 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
810         * org.el (org-entry-properties): Add TIMESTAMP properties back
811         in.
813 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
815         * org.el (org-all-time-keywords): New variable.
816         (org-set-regexps-and-options): Set `org-all-time-keywords'.
817         (org-entry-blocked-p): New function.
818         (org-special-properties): Add BLOCKED as a new special property.
819         (org-entry-properties): New optional argument SPECIFIC, only parse
820         for this property when it is specified.
821         (org-entry-get): Pass a SPECIFIC argument to
822         `org-entry-properties'.
824         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
826 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
828         * org-latex.el (org-export-latex-tables): No forced line end if
829         there is no caption.
831 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
833         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
834         package.
836         * org-latex.el (org-export-latex-tables): Only add a caption when
837         macro in in longtable environments if one has been defined.
839         * org-html.el (org-export-as-html): Only take title from buffer if
840         not exporting body-only.
842         * org-latex.el (org-export-latex-preprocess): Better version of
843         the regular expression for protecting LaTeX macros.
844         (org-export-latex-preprocess): Start searching for macros to
845         protect from beginning of buffer.
847         * org-exp.el (org-export-target-internal-links): Check for
848         protectedness earlier in the string.
850         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
851         case sensitively.
853         * org-id.el (org-id-store-link): Match TODO keywords case
854         sensitively.
856         * org.el (org-heading-components, org-get-outline-path)
857         (org-display-outline-path): Match TODO keywords case sensitively.
859         * org-latex.el (org-export-as-latex): Ignore read-only
860         properties.
862         * org-exp.el (org-export-preprocess-string): Remove any
863         `read-only' properties.
865         * org-agenda.el (org-agenda-inactive-leader): New option.
866         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
867         (org-tags-view): Prompt for matcher if MATCH is an empty string.
868         (org-todo-list): Prompt for matcher if ARG is an empty string.
870 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
872         * org.el (org-open-link-functions): New hook.
873         (org-open-at-point): Run `org-open-link-functions'.
875 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
877         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
878         stamps as well.
880         * org.el (org-inhibit-startup-visibility-stuff): New variable.
881         (org-mode): Don't do startup visibility if inhibited.
882         (org-outline-overlay-data, org-set-outline-overlay-data): New
883         functions.
884         (org-save-outline-visibility): New macro.
885         (org-log-note-headings): Document that one should not change the
886         `state' note format.
888 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
890         * org.el (org-make-link-regexps): Capture link path into a group.
892 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
894         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
895         the options plist.
897 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
899         * org.el (org-startup-with-beamer-mode): New option.
900         (org-property-changed-functions)
901         (org-property-allowed-value-functions): New hooks.
902         (org-entry-put, org-property-get-allowed-values): Run the new
903         hooks.
904         (org-property-next-allowed-value): Run the new hooks.
906         * org-exp.el (org-export-select-backend-specific-text): Add the
907         special beamer tags.
909         * org-beamer.el
910         (org-export-preprocess-before-selecting-backend-code-hook): New
911         file.
913         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
914         (org-export-as-latex): Run
915         `org-export-latex-after-initial-vars-hook'.
916         (org-export-latex-format-toc-function)
917         (org-export-latex-make-header): Call
918         `org-export-latex-format-toc-function'.
920         * org.el (org-fill-template): Make template searches case sensitive.
922         * org-exp.el (org-export): Use "1" as a sign to export only the
923         subtree.
925         * org-colview-xemacs.el (org-columns-edit-value): Use
926         org-unrestricted property.
928         * org-colview.el (org-columns-edit-value):  Use
929         org-unrestricted property.
931         * org.el (org-compute-property-at-point): Set org-unrestricted
932         text property if the list contains ":ETC".
933         (org-insert-property-drawer):  Use
934         org-unrestricted property.
936         * org-exp.el
937         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
938         (org-export-preprocess-string): Run
939         `org-export-preprocess-before-selecting-backend-code-hook'.
941         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
943         * org-latex.el (org-export-region-as-latex): Run
944         `org-export-first-hook'.
946         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
948         * org-docbook.el (org-export-as-docbook): Run
949         `org-export-first-hook'.
951         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
953         * org-exp.el (org-export-first-hook): New hook.
955 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
957         * org-list.el (org-previous-item): Exit at the beginning of the
958         buffer.
960         * org-id.el (org-id-locations-save): Only write the id locations
961         if any are defined.
963         * org-archive.el (org-archive-all-done): Make this work in a file
964         with org-odd-levels-only set.
966         * org.el (org-get-refile-targets): Catch the case when a buffer
967         has no file.
969         * org-latex.el (org-export-as-latex): Cleanup forced line ends
970         where they are not needed.
971         (org-export-latex-subcontent): Remove unnecessary newlines.
973 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
975         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
976         (org-export-latex-fontify): Fix regexp bug that takes special
977         care of protecting the right boundary characters in emphasis
978         matches.
979         (org-export-latex-preprocess): Allow multiple arguments to latex
980         macros.
982         * org.el (org-make-link-regexps): Use John Gruber's regexp for
983         urls.
985         * org-macs.el (org-re): Interpret :punct: in regexps.
987         * org-exp.el (org-export-replace-src-segments-and-examples): Also
988         take the final newline after the END line.
990         * org.el (org-clean-visibility-after-subtree-move): Only fix
991         entries that are not entirely invisible already.
992         (org-insert-link): Respect org-link-file-path-type for
993         "docview:" links in addition to "file:" links.
995 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
997         * org-exp.el (org-export-format-source-code-or-example): Avoid
998         additional extra white lines in LaTeX.
1000         * org-list.el (org-list-parse-list): Leave empty lines after the
1001         list, don't consider them as part of the list.
1003         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
1004         searches.
1006         * org-clock.el (org-clock-select-task): Convert integer to
1007         character for XEmacs.
1009 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
1011         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
1012         compatible.
1014 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
1016         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
1017         variable.
1018         (org-set-tags): Use it.
1020 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
1022         * org-list.el (org-empty-line-terminates-plain-lists): Update
1023         docstring.
1025         * org.el (org-format-latex): Fix link creation for processed latex
1026         snippets.
1028 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
1030         * org-footnote.el (org-footnote-normalize): Protect replacement
1031         text.
1033         * org.el (org-inside-latex-macro-p): Save match data.
1035 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
1037         * org-docview.el: New file.
1039 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
1041         * org-latex.el (org-export-latex-class-options): New variable.
1042         (org-export-latex-set-initial-vars): Use the class options.
1044         * org.el (org-forward-same-level): Stop at headings that start
1045         with an invisible character.
1046         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
1048 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
1050         * org-footnote.el (org-footnote-normalize): Don't take optional
1051         arguments in LaTeX macros as footnotes.
1053         * org.el (org-inside-latex-macro-p): New function.
1055         * org-latex.el (org-latex-to-pdf-process): Change customization
1056         group to `org-export-pdf'.
1058         * org-agenda.el (org-agenda-get-blocks): Look at time string also
1059         on days after the first one.
1061         * org.el (org-insert-heading): Also check for item before assuming
1062         before-first-heading condition.
1064         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
1065         (org-export-pdf-logfiles): New option.
1066         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
1067         (org-export-pdf-logfiles): Fix customization type.
1069         * org.el (org-insert-link): Improve error message when there is no
1070         default link to select with RET.
1072         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
1073         parameter list.
1075 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
1077         * org-latex.el (org-export-latex-parse-global)
1078         (org-export-latex-parse-content)
1079         (org-export-latex-parse-subcontent): Use
1080         `org-re-search-forward-unprotected'.
1081         (org-export-as-pdf): Remove log files produced by XeTeX.
1083         * org-macs.el (org-re-search-forward-unprotected): New function.
1085 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
1087         * org-colview.el (org-agenda-colview-summarize): Sort out some
1088         confusion between properties and titles, which resulted in
1089         agenda summaries not working if a title was set for a column.
1091 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
1093         * org-mobile.el (org-mobile-agendas): New option.
1094         (org-mobile-sumo-agenda-command): Select the right agendas.
1096         * org-latex.el (org-export-latex-format-image): Preserve the
1097         original-indentation property.
1099 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
1101         * org-clock.el (org-clock-insert-selection-line): Catch error when
1102         an old tasks no longer exists.
1104         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
1105         (org-export-as-pdf): Don't remove the old PDF file before making
1106         the new one.
1108         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
1109         (org-mouse-context-menu): Use `org-looking-back'.
1111         * org.el (org-cycle-level): Use `org-looking-back'.
1113         * org-list.el (org-cycle-item-indentation): Use
1114         `org-looking-back'.
1116         * org-compat.el (org-looking-back): New function.
1118         * org.el (org-insert-heading): Catch before-first-headline when
1119         inserting a headline.
1121 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
1123         * org-latex.el (org-export-latex-format-image): Indent figure
1124         environment, so that it does not interrupt plain list.
1126         * org.el (org-open-at-point): Allow long link descriptions.
1128 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1130         * org-html.el (org-export-as-html): Remove empty lines at the
1131         beginning of the exported text.
1133 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
1135         * org-protocol.el (org-protocol-remember): Cater for empty title,
1136         region, link.
1138         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1139         agenda after adding new entry.
1140         (org-agenda-get-represented-tags): New function.
1141         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
1142         to get a list of tags in the agenda.
1144         * org-datetree.el (org-datetree-find-day-create): Fix regular
1145         expression.
1147         * org.el (org-display-outline-path): Use a format specifier for
1148         message, to avoid problems with heading containing `%'.
1150         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1151         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1152         (org-agenda-fix-displayed-tags): New function.
1153         (org-agenda-do-context-action): Just call
1154         `org-display-outline-path', without piping the result through
1155         `message'.
1157         * org-latex.el (org-export-latex-preprocess): Protect secondary
1158         footnote references.
1160         * org-indent.el (org-indent-initialize): Avoid empty strings as
1161         line prefixes.
1163         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1164         hat checking for the mark does not throw an error.
1165         (org-agenda-diary-entry-in-org-file): Catch the case that there is
1166         not `day' text property in the cursor line.
1168         * org.el (org-sort-entries-or-items): Make sure that the final
1169         entry has a newline before doing the sorting.
1171         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1172         property at the beginning of the line.
1174         * org.el (org-make-link-string): Don't allow a description with
1175         only white space.
1177 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
1179         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1180         (org-agenda-insert-diary-as-top-level): New function.
1181         (org-agenda-add-entry-to-org-agenda-diary-file): Call
1182         `org-agenda-insert-diary-as-top-level'.
1184         * org.el (org-occur-in-agenda-files): Make sure none of the
1185         buffers is narrowed.
1186         (org-activate-plain-links): Add the face property here.
1187         (org-set-font-lock-defaults): Do not add the face to plain links,
1188         the activator function does this.
1190         * org-habit.el (org-is-habit-p): Add doc string.
1192 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
1194         * org-archive.el (org-archive-subtree-default-with-confirmation):
1195         Autoload.
1197         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1198         after match optional (happens at the end of a line...).
1200         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1201         for special blocks.
1203         * org-faces.el (org-copy-face): Set lisp indentation.
1204         (org-quote, org-verse): New faces.
1206         * org-agenda.el (org-agenda-remove-date): Remove variable.
1208 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1210         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1212 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1214         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1215         hash keys to cache and re-use images generated by the
1216         org-exp-blocks interface to ditaa and dot.
1218 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1220         * org-html.el (org-export-as-html): Move the home/up link into
1221         the content div.
1223         * org.el (org-export-latex-packages-alist): Option definition
1224         moved here from org-latex.el.
1226 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1228         * org.el (org-format-latex): Latex images are now saved to files
1229         named by the sha1 hash of the latex source text avoiding
1230         regeneration of identical images.
1232 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
1234         * org-html.el (org-export-html-home/up-format): Add an ID to the
1235         up/home div.
1237 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
1239         * org-wl.el (org-wl-store-link): Handle the case that
1240         `wl-use-petname' is set.
1242         * org.el (org-set-effort): Improve prompt.
1243         (org-get-outline-path): Widen to get full path.
1244         (org-compact-display-after-subtree-move): Function removed.
1246         * org-latex.el (org-export-as-latex): Add the :drawers property.
1248 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
1250         * org.el (org-speed-commands-user): Allow documentation headlines.
1251         (org-speed-commands-default): Organize the value of this constant
1252         with descriptive headlines.
1253         (org-print-speed-command): Output the headlines.
1255 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1257         * org-agenda.el (org-agenda-show-outline-path): New option.
1258         (org-agenda-do-context-action): New function.
1259         (org-agenda-next-line, org-agenda-previous-line): Use
1260         `org-agenda-do-context-action'.
1262         * org.el (org-use-speed-commands): Allow function value.
1263         (org-speed-commands-default): Make headline motion safe, so that
1264         these commands always end on a headline.
1265         (org-speed-commands-default): New key `v' for `org-agenda'.
1266         (org-speed-move-safe): New function.
1267         (org-self-insert-command): Use the function value of
1268         `org-use-speed-commands'.
1269         (org-get-outline-path): Improve docstring.
1270         (org-format-outline-path): New function.
1271         (org-display-outline-path): New function.
1273 2009-11-12  John Wiegley  <jwiegley@gmail.com>
1275         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1276         a string, use that to find the LOGBOOK drawer.
1278 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
1280         * org.el (org-clone-subtree-with-time-shift): Make it work at the
1281         end of the buffer.
1283         * org-mobile.el (org-mobile-write-checksums): Specify coding
1284         system.
1285         (org-mobile-timestamp-buffer): Keep local variable/mode line at
1286         beginning of buffer.
1288         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1290         * org.el (org-block-todo-from-children-or-siblings-or-parent)
1291         (org-block-todo-from-checkboxes): Do not block changes to a nil
1292         TODO state.
1294 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
1296         * org-habit.el (org-habit-parse-todo): Indicate which habit is
1297         wrongly set up in the error messages.
1299         * org-colview.el (org-columns-display-here): Don't try to
1300         calculate values if the underlying property is not set.
1301         (org-columns-string-to-number): Convert age strings back into
1302         fractional days.
1303         (org-agenda-colview-summarize): Handle extended summary types
1304         properly.
1306         * org-colview-xemacs.el (org-columns-display-here): Don't try to
1307         calculate values if the underlying property is not set.
1308         (org-columns-string-to-number): Convert age strings back into
1309         fractional days.
1310         (org-agenda-colview-summarize): Handle extended summary types
1311         properly.
1313 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1315         * org-exp.el (org-export-format-drawer-function): New variable.
1316         (org-export-format-drawer): New function.
1317         (org-export-preprocess-string): Pass the backend as a parameter to
1318         `org-export-remove-or-extract-drawers'.
1319         (org-export-remove-or-extract-drawers): New parameter BACKEND.
1321         * org-protocol.el (org-protocol-char-to-string): New defsubst.
1323 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1325         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1326         message when no block is selected.
1328         * org-latex.el (org-export-latex-links): Check for protectedness
1329         in the last matched character, not after the match.
1331         * org-datetree.el (org-datetree-find-date-create): Respect
1332         restriction when KEEP-RESTRICTION is set.
1333         (org-datetree-file-entry-under): New function.
1334         (org-datetree-cleanup): New command.
1336 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
1338         * org-src.el (org-edit-src-code): New optional argument context
1339         allows calling functions to avoid altering the saved window
1340         configuration.
1341         (org-edit-src-exit): Do not restore window configuration when this
1342         function is used in the context of saving the edit buffer.
1344 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1346         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1347         instances to switching to with-current-buffer, because these seem
1348         to cause problems - no idea why.
1350         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1351         Require diary-lib for (diary-date-display-form).
1353         * org.el (org-log-reschedule, org-log-redeadline): New options.
1354         (org-log-note-headings): Add templates for rescheduling and
1355         deadline changing.
1356         (org-startup-options): Add in-buffer settings for logging changing
1357         schedule and deadline time stamps.
1358         (org-deadline, org-schedule): Check for existing date and arrange
1359         for logging if the user requests it.
1360         (org-add-log-note): Prepare proper note buffers for rescheduling
1361         and deadline changes.
1363 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1365         * org-agenda.el (org-agenda-diary-entry-in-org-file)
1366         (org-agenda-add-entry-to-org-agenda-diary-file)
1367         (org-agenda-insert-diary-make-new-entry): New functions.
1368         (org-agenda-diary-entry): Call
1369         `org-agenda-diary-entry-in-org-file' when appropriate.
1371         * org.el (org-calendar-insert-diary-entry-key): New option.
1372         (org-agenda-diary-file): New option.
1373         ("calendar"): Install our insertion function in the calendar.
1375         * org-remember.el (org-datetree): Require.
1376         (org-remember-templates): Add new positioning option.
1377         (org-remember-reference-date): New variable.
1378         (org-remember-apply-template): Store the reference date in a local
1379         variable.
1380         (org-remember-handler): Implement date tree positioning of entries.
1382         * org-datetree.el: New file.
1384         * org-latex.el (org-export-latex-preprocess): Protect targets in
1385         verbatim emphasis.
1387         * org-html.el (org-export-as-html): Protect targets in verbatim
1388         emphasis.
1390         * org-docbook.el (org-export-as-docbook): Protect targets in
1391         verbatim emphasis.
1393 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
1395         * org.el (org-link-display-format): Should be literal replacement.
1397 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1399         * org-clock.el (org-show-notification): Handle messages that
1400         contain a percent character.
1402         * org-remember.el (org-remember-apply-template): Turn of partial
1403         completion.
1405         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1406         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1408         * org.el (org-indent-mode): Define variable already in org.el.
1409         (org-unfontify-region): Remove line-prefix and wrap-prefix
1410         properties only if org-indent-mode is active.
1412 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1414         * org-icalendar.el (org-print-icalendar-entries): Save match data
1415         around call to verify function.
1416         (org-print-icalendar-entries): Add a call to the verification
1417         function.
1419         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1420         save-restrivtion' form.
1422 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
1424         * org-exp.el (org-export-format-source-code-or-example): restrict
1425         scope of preserve-indentp to the let binding.
1426         (org-src): require org-src, since org-src-preserve-indentation is used.
1428 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1430         * org-timer.el (org-timer-set-timer): Set variables
1431         org-timer-timer[123] correctly.
1434         * org-mobile.el (org-mobile-files-alist): Make it work when
1435         `agenda-archives' is included in
1436         `org-agenda-text-search-extra-files'.
1437         (org-mobile-push): Restore agenda after mobile push.
1439 2009-11-05  John Wiegley  <jwiegley@gmail.com>
1441         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1442         way the amount of idle time is presented in the minibuffer.
1444 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1446         * org-icalendar.el (org-print-icalendar-entries): Use
1447         org-icalendar-verify-function only if non-nil.
1449         * org.el (org-refile): Refile to clock only if the prefix arg is
1450         2.
1451         (org-sparse-tree): Fix docstring to be in line with prompt.
1452         (org-update-parent-todo-statistics): Call
1453         `org-after-todo-statistics-hook' on each level.
1455 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
1457         * org-remember.el (org-remember-apply-template): Make sure the
1458         buffer exists.
1460 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
1462         * org.el (org-tab-ind-state): New variable.
1463         (org-cycle-level): New function.
1464         (org-cycle-level-after-item/entry-creation): New option.
1465         (org-flag-subtree): New function.
1466         (org-hide-archived-subtrees): Call `org-flag-subtree'.
1467         (org-set-effort): Indexed access.
1469         * org-list.el (org-cycle-item-indentation): New function.
1471         * org.el (org-refile): Make prefix argument 2 refile to current
1472         clock.
1473         (org-priority): Interpret action `remove' as call to remove the
1474         priority cookie.
1476         * org-remember.el (org-remember-apply-template): Don't depend on
1477         buffer name being like file name.
1479 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
1481         * org-clock.el (org-clock-play-sound): Expand file in
1482         org-clock-sound, to allow ~ for home.
1484         * org-remember.el (org-remember-handler): Set
1485         text-before-node-creation even if this already looks like a node,
1486         because the string might be needed on non-org-mode target files.
1488         * org-agenda.el (org-agenda-open-link): Make this work in agenda
1489         clocktables.
1490         (org-agenda-switch-to): Follow a link at point if
1491         org-return-follows-link' is set and there is nothing else to do in
1492         this line.
1494 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1496         * org-colview-xemacs.el: Add in changes from org-colview.el
1498 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1500         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1501         strings.
1503 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1505         * org-colview.el (org-columns-new): Make this work with the new
1506         operators.
1507         (org-columns-store-format): Make this work with the new operators.
1509 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1511         * org-src.el (org-src-preserve-indentation): Document that this
1512         variable is also used during export.
1514         * org-exp.el (org-export-format-source-code-or-example): Preserve
1515         indentation if a block has a -i option, or if
1516         `org-src-preserve-indentation' is set.
1518         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1519         indentation if a block has a -i option, or if
1520         `org-src-preserve-indentation' is set.
1522 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1524         * org.el (org-mode-map): Define the new archiving keys.
1525         (org-speed-commands-default): Define an archiving key in the speed
1526         command map.
1527         (org-org-menu): Improve the menu structure concerning archiving.
1529         * org-archive.el (org-archive-subtree-default-with-confirmation):
1530         New command.
1532         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1533         (org-agenda-menu): Add the new archiving commands to the menu.
1534         (org-agenda-archive-default)
1535         (org-agenda-archive-default-with-confirmation): New commands.
1536         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1537         call `org-agenda-archive-with'.
1538         (org-agenda-archive-with): New function.
1540         * org-table.el (org-table-convert-region): Inert spaces around "|"
1541         to avoid line beginnings like "|-1" which will be mistaken as
1542         hlines.
1544 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1546         * org.el (org-offer-links-in-entry): Return nil if there are no
1547         links, t if a link has been selected.
1548         (org-open-at-point): Open attachment directory when called in the
1549         headline and there are no links in the entry body.
1550         (org-speed-commands-default): Add "o" for open-at-point as a speed
1551         command.
1553         * org-attach.el (org-attach-reveal): Optional prefix arg
1554         IF-EXISTS, which avoids creating the attachment directory if it
1555         does not yet exist.
1557         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1558         MATCH.
1560 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1562         * org.el ("abbrev"): Work with abbrev tables only after they have
1563         been loaded.
1565         * org-list.el (org-list-send-list): Fix bug related to match
1566         data.
1568         * org-latex.el (org-export-latex-fontify): Apply verbatim
1569         emphasis.
1570         (org-export-latex-make-header): Insert \obeylines if line breaks
1571         should be preserved.
1573         * org-exp.el (org-export-protect-verbatim): Add an
1574         `org-verbatim-emph' property to such text.
1576 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1578         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1579         (org-print-icalendar-entries): Skip entries where the timestamp is
1580         not a deadline and not scheduled, if the user requests that.
1582         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1583         before an opening quote.
1585         * org-archive.el (org-archive-subtree): Keep archive after
1586         archiving something.
1588         * org-id.el (org-id-update-id-locations): Add archive files if
1589         that is required by `org-id-extra-files'.
1591 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1593         * org-src.el (org-src-window-setup): New option.
1594         (org-src-switch-to-buffer): New function.
1595         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1596         restore window configuration.
1597         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1598         Call `org-src-switch-to-buffer'.
1600         * org.el (org-default-properties): Add STYLE property.
1601         (org-files-list): Use the function call to get the files.
1602         (org-additional-option-like-keywords): Add SETUPFILE to completion
1603         list.
1605 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1607         * org-table.el (org-table-convert-region): Correctly interpret
1608         quoting in csv import.
1610         * org.el (org-icompleting-read): Make iswitchb completion work
1611         with lists and tables.
1613         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1614         while pushing the mobile agenda.
1616 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1618         * org-clock.el
1619         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1620         and `when-no-clock-is-running'.
1621         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1622         whether or not to resolve Org buffers on clock in.
1624 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1626         * org-colview.el (org-format-time-period): Function to format
1627         times in fractional days for display.
1628         (org-columns-display-here): Add support for showing a calculated
1629         value in place of the property.
1630         (org-columns): Set `org-columns-time' to the current time so time
1631         difference calculations will work.
1632         (org-columns-time): Use to store the current time when column view
1633         is displayed, so all time differences will use the same reference
1634         point.
1635         (org-columns-compile-map): There is now an extra position in each
1636         entry specifying the function to use to calculate the displayed
1637         value for the non-calculated properties in the column,
1638         (org-columns-compute-all): Set `org-columns-time' to the current
1639         time so time difference calculations will work.
1640         (org-columns-compute): Handle column operators where the values
1641         used are calculated from the underlying property.
1642         (org-columns-number-to-string): Handle the 'age' column format
1643         (org-columns-string-to-number): Correct the function name (was
1644         org-column...). Add support for the 'age' column format.
1645         (org-columns-compile-format): Support the additional parameter in
1646         org-columns-compile-map.
1648 2009-10-26  Bastien Guerry  <bzg@altern.org>
1650         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1651         variable.
1653 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1655         * org-clock.el (org-clock-has-been-used): New variable.
1656         (org-clock-in): Set `org-clock-has-been-used'.
1657         (org-clock-save): Save only if clock data has been used or created
1658         during this session.
1660 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1662         * org-clock.el (org-clock-persist): New value, to store only the
1663         clock history.
1664         (org-clock-save): Don't save the clock if only the history should
1665         be stored.
1666         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1667         when restoring a saved clock.
1669 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1671         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1672         `org-time-clock-use-fractional'.
1674         * org.el (org-time-clocksum-use-fractional)
1675         (org-time-clocksum-fractional-format): Two new customizable
1676         variables which allow the user to select fractional times (1.25
1677         instead of 1:25) in the `org-clock-display' report.
1679 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1681         * org-habit.el (org-habit-build-graph): None of the arguments
1682         should be optional.
1683         (org-habit-parse-todo, org-habit-deadline)
1684         (org-habit-get-priority, org-habit-get-faces)
1685         (org-habit-build-graph): Further simplifications by storing all
1686         past, scheduled and deadline dates as a number of days past the
1687         epoch, and not as times.
1689         * org-habit.el (org-habit-warning-face)
1690         (org-habit-warning-future-face): Removed because these are no
1691         longer used.
1692         (org-habit-deadline, org-habit-deadline-repeat): Now always
1693         returns a date; computed if there was a scheduled repeater but no
1694         deadline repeater.
1695         (org-habit-get-priority): Further improvements to the priority
1696         algorithm.  In particular, items past due should always appear
1697         before items due or not yet due.
1698         (org-habit-get-faces): Greatly simplified the logic, now that
1699         `org-habit-deadline' always returns a valid time.
1701 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1703         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1704         New option.
1706         * org.el (org-tag-alist): Fix customization type.
1708 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1710         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1711         Make sure the regexp search can fail without throwing an error.
1712         (org-mobile-apply): Save the inbox buffer after removing
1713         successfully applied changes.
1715 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1717         * org-habit.el (org-habit-build-graph): Fix to the graph building
1718         when last DONE date is earlier than `org-habit-preceding-days'.
1720         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1721         time is reported after the user comes back (but before they
1722         resolve time).
1724         * org.el (org-get-repeat): Change so that this function can be
1725         called with either `org-scheduled-string' or
1726         `org-deadline-string'.
1728         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1729         to find the scheduled date.
1731         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1732         `org-clock-disable-clock-resolution', since negatives don't sound
1733         good in customization variables.
1734         (org-clock-in): Don't use the auto-resolution logic if the user is
1735         clocking into a different task while an active clock is running.
1736         This then allows the default behavior of clocking out of the open
1737         task and then into the new task.
1739         * org-habit.el (org-habit-parse-todo): Generate an error if a
1740         habit has a scheduled repeat period < 1.
1741         (org-habit-get-faces): Fixes to the way that colors are computed.
1742         (org-habit-build-graph): The graph wasn't displaying beyond any
1743         day that had two completions in it.
1745         * org.el (org-modules): Made this variable more consistent, since
1746         it was referring to Org, OrgMode and Org-mode, whereas the docs
1747         for the variable always refer to Org-mode.
1749 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1751         * org.el (org-repeat-re): The changed org-repeat-re no longer
1752         matched simple +2d type repeaters. Fix it so it does.
1754 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1756         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1757         macro in the VERSE environment.
1759 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1761         * org-habit.el (org-habit-get-priority): A new function that
1762         determines the relative priority of a habit, based on how long
1763         past its scheduled date it is, and how near the deadline is.
1765         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1766         using `org-habit-get-priority'.
1768         * org-habit.el (org-habit-build-graph): Start displaying colors
1769         from the first scheduled date, if that date is earlier than the
1770         first completion date.
1772         * org-habit.el: Changed all "color" variables to faces, and made
1773         them appropriate for light and dark backgrounds.
1775         * org-habit.el (org-habit-duration-to-days): Made this function
1776         more general.
1777         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1779         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1780         habits, since they don't use DEADLINE anymore.
1782         * org.el (org-repeat-re, org-display-custom-time)
1783         (org-timestamp-change): Extended to support the new ".+N/N"
1784         syntax, used for habits.
1786         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1787         variable reference.
1789         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1790         modeline when habits are being displayed (if that module is being
1791         loaded).
1793 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1795         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1796         idle time using the xscreensaver extension.
1797         (org-user-idle-seconds): Use X11 idle time if available.
1799 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1801         * org-agenda.el (org-agenda-next-line): New command.
1802         (org-agenda-previous-line): New commands.
1803         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1804         commands.
1805         (org-agenda-follow-mode): Do the follow immediately if the mode is
1806         turned on here.
1807         (previous-line, next-line): Replace keys with the corresponding
1808         org functions.
1809         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1810         command.
1812         * org.el (org-icompleting-read): Turn off partial completion mode
1813         for the duration of this completion round.
1815         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1816         macros in author lines and similar stuff.
1818         * org.el (org-file-tags): Fix docstring.
1819         (org-get-buffer-tags): Add the #+FILETAGS tags.
1820         ("ecb"): Maks ecb show context after jumping into an Org file.
1822 2009-10-20  John Wiegley  <johnw@newartisans.com>
1824         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1825         graphs after everything else in the buffer has been setup.
1827 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1829         * org-mobile.el (org-mobile-apply): Count success and failure.
1831         * org.el (org-indent-line-function): Fix regexp replace problem.
1833 2009-10-19  John Wiegley  <johnw@newartisans.com>
1835         * org-clock.el (org-clock-disable-clock-resolution): New
1836         customization variable that disable automatic clock resolution on
1837         clock in.
1838         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1839         not automatically resolve anything.  This is does not affect
1840         idle-time resolution, however, if `org-clock-idle-time' is set.
1842 2009-10-19  John Wiegley  <johnw@newartisans.com>
1844         * org-habit.el: New file, which implements code to build a "habit
1845         consistency graph".
1847         * org-agenda.el (org-agenda-get-deadlines)
1848         (org-agenda-get-scheduled): Display consistency graphs when
1849         outputting habits into the agenda.  The graphs are always relative
1850         to the current time.
1851         (org-format-agenda-item): Added new parameter `habitp', which
1852         indicates whether we are formatting a habit or not.  Do not
1853         display "extra" leading information if habitp is true.
1855         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1856         leaders for repeat strings.
1857         (org-get-repeat): Now takes a string parameter `tagline', so the
1858         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1860 2009-10-19  John Wiegley  <johnw@newartisans.com>
1862         * org-agenda.el (org-agenda-auto-exclude-function): New
1863         customization variable for allowing the user to create an "auto
1864         exclusion" filter for doing context-aware auto tag filtering.
1865         (org-agenda-filter-by-tag): Changes to support the use of
1866         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1868 2009-10-18  John Wiegley  <johnw@newartisans.com>
1870         * org.el (org-files-list): Don't attempt to return a file name for
1871         Org buffers which have no associated file.
1873         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1875 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1877         * org-mobile.el (org-mobile-locate-entry): Interpret files
1878         relative to org-directory.
1879         (org-mobile-inbox-for-pull): Document the best location for this
1880         file.
1881         (org-mobile-check-setup): Verify `org-directory'.
1882         (org-mobile-create-index-file): Sort the files to be listed in
1883         index.org.
1885 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1887         * org.el (org-fast-tag-selection): Add a way to display a
1888         description for a tag group. This is done by adding a string to
1889         either the startgroup or endgroup cell.
1891 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1893         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1894         (org-emacs-idle-seconds): Use `org-float-time' instead of
1895         `time-to-seconds'
1897 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1899         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1900         type.
1902         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1903         the value of ARG when doing local cycling.
1905 2009-10-17  John Wiegley  <johnw@newartisans.com>
1907         * org-clock.el (org-clock-resolve-clock): If keeping or
1908         subtracting time results in a clock out at a time in the past, and
1909         if the resolution occurred due to idleness or invoking `M-x
1910         org-resolve-clocks', remember that past moment in time.  On the
1911         next clock in, the user will be prompted to see if they want to
1912         back-date their new clock to then.
1913         (org-clock-resolve): Do not jump the user to the location of a
1914         dangling clock if the resolution is occuring due to an idle
1915         timeout.  In that case there is typically only one dangling clock,
1916         the active one, and there is no value gained by shuffling their
1917         windows around to show it to them.  Being prompted to resolve an
1918         idle clock should be as inobtrusive as possible.
1919         (org-resolve-clocks-if-idle): New function that resolves only the
1920         currently active clock if the user has exceeded the time returned
1921         by `org-user-idle-seconds', based on the value of
1922         `org-clock-idle-time'.
1923         (org-clock-in): If, after resolving clocks,
1924         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1926         * org-clock.el (org-clock-resolve-clock): New function that
1927         resolves a clock to a specific time, closing or resuming as need
1928         be, and possibly even starting a new clock.
1929         (org-clock-resolve): New function used by `org-resolve-clocks'
1930         that sets up for the call to `org-clock-resolve-clock'.  It
1931         determines the time to resolve to based on a single-character
1932         selection from the user to either keep time, subtract away time or
1933         cancel the clock.
1934         (org-resolve-clocks): New user command which resolves dangling
1935         clocks -- that is, open but not active -- anywhere in the file
1936         list returned by `org-files-list'.
1937         (org-clock-in): Automatically resolve dangling clocks whenever a
1938         user clocks in.
1939         (org-clock-cancel): If the user cancels the solely clock in a
1940         LOGBOOK, remove the empty drawer.
1942         * org-clock.el (org-clock-idle-time): New user customizable option
1943         for detecting whether the user has left a clock idle.  Note: it is
1944         only used in this commit to test whether it's worthwhile to check
1945         OS X to get the Mac user's current idle time.  If the Emacs idle
1946         time is less than the value, the user hasn't been away long enough
1947         to be worth checking (a more expensive test than just getting
1948         Emacs idle time).
1949         (org-user-idle-seconds, org-mac-idle-seconds)
1950         (org-emacs-idle-seconds): This three functions, in conjunction
1951         with the user customization variable `org-clock-idle-time', return
1952         the number of seconds (as a floating point) that the user has been
1953         away from their Emacs (or, if running on OS X, their computer).
1955         * org-clock.el (org-find-open-clocks): New function that returns a
1956         list of all open clocks in the given FILE.  Note that each clock
1957         it returns is a cons cell of the format (MARKER . START-TIME).
1958         This "clock" value is used by several of the new clock module
1959         utility functions.
1960         (org-is-active-clock): New inline function which tests whether the
1961         given clock value is the same as the currently active clock.
1962         Returns non-nil if this is the case.
1963         (org-with-clock-position): New macro that evaluates FORMS with
1964         point in the buffer and at the position of the given clock.
1965         Changes to the current clock are global.
1966         (org-with-clock): New macro that evaluates FORMS with point in the
1967         buffer and at the position of the given clock.  However, changes
1968         to the current clock are local and have no effect on the user's
1969         active clock.  This allows, for example, far any clock to be
1970         cancelled without cancelling the active clock.
1971         (org-clock-clock-in): New inline function that switches the active
1972         clock to the given clock.  If either the argument RESUME, or the
1973         global `org-clock-in-resume', are non-nil, it will resume a clock
1974         that was previously left open.
1975         (org-clock-clock-out): New inline function that clocks out the
1976         given clock value without affecting the currently active clock.
1977         (org-clock-clock-cancel): New inline function that cancels the
1978         given clock value without affecting the currently active clock.
1980         * org-clock.el (org-clock-in): Before creating
1981         `org-clock-mode-line-timer', check to make sure an older timer is
1982         not currently running.
1983         (org-clock-out): Accept new third parameter `at-time', which
1984         permits a clock to be clocked out at a specific time.  Note that
1985         no attempt is made to verify that the clock out time is later than
1986         the clock in time.
1988         * org.el (org-files-list): New utility function for returning a
1989         list of all open org-mode buffers, plus all files used to build
1990         the agenda buffer.  Note that not all the files will necessarily
1991         be visited by a buffer at time of call.
1992         (org-entry-beginning-position): Like the function
1993         `line-beginning-position', this inline function returns the
1994         beginning position of the current heading/entry.
1995         (org-entry-end-position): Like the function `line-end-position',
1996         this inline function returns the end position of the current
1997         heading/entry.
1999 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
2001         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
2002         a header line.
2004 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
2006         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
2008 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
2010         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
2011         entries that have no tags.
2012         (org-agenda-search-view): New customize group.
2013         (org-agenda-search-view-search-words-only): New option.
2014         (org-search-view): Implement substring search.
2016 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
2018         * org.el (org-outline-level): Add doc string.
2020 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
2022         * org-inlinetask.el (org-inlinetask-export): Re-introduce
2023         variable.
2024         (org-inlinetask-export-handler): Only export inline task if the
2025         user option calls for it.
2027 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
2029         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
2030         END if present.
2032 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
2034         * org-latex.el (org-export-latex-tables): Don't format in
2035         protected regions.
2037 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
2039         * org-src.el (org-edit-src-code)
2040         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
2041         macro editing.
2043         * org-agenda.el (org-prefix-category-max-length): New variable.
2044         (org-format-agenda-item): Use `org-prefix-category-max-length'.
2045         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
2047 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
2049         * org-mobile.el (org-mobile-create-index-file): Improve the
2050         listing of tags and todo keywords.
2052         * org-latex.el (org-export-latex-format-image): New function.
2053         (org-export-latex-links): Use `org-export-latex-format-image'.
2055 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
2057         * org-inlinetask.el (org-inlinetask-get-current-indentation)
2058         (org-inlinetask-remove-terminator): New functions.
2059         (org-inlinetask-export-handler): Terminate the description list.
2061         * org-exp.el (org-export-select-backend-specific-text): Remove the
2062         region markers.
2064         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
2065         tasks without content.
2067         * org-clock.el: Make sure the clock-in target position does not
2068         move to a different node by widening the buffer.
2070         * org-html.el (org-export-html-format-image): Wrap image into
2071         figure div only when there is a caption.
2073         * org-archive.el (org-archive-mark-done): Change default value to
2074         nil.
2076 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
2078         * org.el (org-context): Call `bobp', not `eobp'.
2080         * org-clock.el (org-clock-cancel): Remove quotes from marker
2081         variables.
2083         * org.el (org-read-date-prefer-future): New allowed value `time'.
2084         (org-read-date-analyze): Shift day to tomorrow depending on time
2085         entered and value of `org-read-date-prefer-future'.
2087 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
2089         * org.el (org-set-tags-to): New command.
2091         * org-mobile.el (org-mobile-action-alist): Add more options and
2092         update the docstring.
2093         (org-mobile-apply-flags): Parse for and use the data.
2095         * org-latex.el (org-export-latex-set-initial-vars): Also check in
2096         the plist.
2098         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
2099         keyword.
2101         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
2103 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
2105         * org-inlinetask.el (org-inlinetask-export): Option removed.
2106         (org-inlinetask-export-handler): Better export.
2108         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
2109         (org-export-as-xoxo): Run the new hook.
2111         * org-html.el (org-export-html-final-hook): New hook.
2112         (org-export-as-html): Run the new hook.
2114         * org-docbook.el (org-export-docbook-final-hook): New hook.
2115         (org-export-as-docbook): Run the new hook.
2117         * org-ascii.el (org-export-ascii-final-hook): New hook.
2118         (org-export-as-ascii): Run the new hook.
2120         * org-mobile.el (org-mobile-create-sumo-agenda): Call
2121         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
2123         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
2124         space character as the character before the ^/_.
2125         (org-export-latex-final-hook): New hook.
2126         (org-export-as-latex): Run `org-export-latex-final-hook'.
2128 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
2130         * org-macs.el (org-if-unprotected-at): Fix docstring.
2132         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2133         text in the prefix (if category is a link).
2135         * org-latex.el (org-export-latex-preprocess): Deal properly with
2136         empty lines in verse environments.
2138         * org.el (org-format-latex-header): Inline fullpage.sty.
2140         * org-footnote.el (org-footnote-create-definition): Reveal context
2141         to add a new footnote definition.
2143         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
2144         the index file.
2145         (org-mobile-files): New option.
2146         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
2147         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
2148         functions.
2149         (org-mobile-push): Start by creating the files lists.
2150         (org-mobile-copy-agenda-files): Move killing the buffer to after
2151         the save-excursion has exited.
2152         (org-mobile-write-checksums): Write checksums also for files in
2153         sub-directories.
2155         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2156         org-table-recalculate when cursor is in TBLFM line.
2158         * org-list.el (org-renumber-ordered-list): Fix cursor position
2159         when bullet length has changed.
2161 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
2163         * org.el (org-format-latex): Mention `org-format-latex-options' in
2164         the docstring.
2166 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2168         * org.el (org-agenda-get): New function.
2170         * org-agenda.el (org-agenda-post-command-hook): No longer move
2171         point away from end of line.
2172         (org-agenda-add-entry-text, org-agenda-collect-markers)
2173         (org-finalize-agenda, org-agenda-mark-clocking-task)
2174         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2175         (org-agenda-entry-text-show, org-agenda-highlight-todo)
2176         (org-agenda-compare-effort, org-agenda-filter-apply)
2177         (org-agenda-later, org-agenda-change-time-span)
2178         (org-agenda-post-command-hook, org-agenda-show-priority)
2179         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2180         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2181         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2182         (org-agenda-open-link, org-agenda-copy-local-variable)
2183         (org-agenda-switch-to, org-agenda-check-no-diary)
2184         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2185         (org-agenda-add-note, org-agenda-change-all-lines)
2186         (org-agenda-priority, org-agenda-set-tags)
2187         (org-agenda-set-property, org-agenda-set-effort)
2188         (org-agenda-toggle-archive-tag, org-agenda-date-later)
2189         (org-agenda-show-new-time, org-agenda-date-prompt)
2190         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2191         (org-agenda-clock-in, org-agenda-bulk-mark)
2192         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2193         `org-get-at-bol'.
2195         * org-colview.el (org-columns-display-here)
2196         (org-columns-edit-allowed, org-agenda-columns): Use
2197         `org-get-at-bol'.
2199 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2201         * org.el (org-special-ctrl-a/e): Improve documentation and
2202         customize type.
2203         (org-end-of-line): Don't jump to after the ellipsis.
2204         (org-mode-map): Bind <home> and <end> as well.
2206 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
2208         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2209         space after #+ as comments.
2210         (org-open-at-point): Run `org-follow-link-hook' always.
2212         * org-latex.el (org-export-latex-emph-format): Use better commands
2213         to insert special characters in verbatim snippets.
2215 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
2217         * org-faces.el (org-copy-face): New function.  Use it to create
2218         various faces formerly created by using `copy-face'.
2220         * org-agenda.el (org-prepare-agenda): Don't officially mark this
2221         window dedicated.
2222         (org-agenda-quit): Kill the frame containing the agenda window if
2223         that frame was created for the agenda.
2225 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
2227         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2228         stamp in the agenda.
2230 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
2232         * org-mobile.el (org-mobile-create-index-file): Add the list of
2233         TODO keywords, and the list of drawers to the index file.
2235         * org-agenda.el (org-prepare-agenda): Reset
2236         `org-drawers-for-agenda'.
2237         (org-prepare-agenda): Uniquify list of drawers.
2239         * org.el (org-complex-heading-regexp-format): New variable.
2240         (org-set-regexps-and-options): Define
2241         `org-complex-heading-regexp-format'.
2242         (org-drawers-for-agenda): New variable.
2243         (org-map-entries): Bind `org-drawers-for-agenda'.
2244         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2246         * org-remember.el (org-go-to-remember-target)
2247         (org-remember-handler): Use `org-complex-heading-regexp-format'.
2249 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
2251         * org-agenda.el (org-agenda-highlight-todo): Fix text property
2252         problem.
2254         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
2255         the capture file, and make it non-configurable.
2257         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2258         always with `invisible-ok'.
2259         (org-store-link): No error when there is nothing to link to in the
2260         agenda.
2262         * org-list.el (org-update-checkbox-count): Insert changed cookie
2263         before the old, to avoid problems with invisibility at the end of
2264         the line.
2265         (org-update-checkbox-count): Insert changed cookie before the old,
2266         to avoid problems with invisibility at the end of the line.
2268         * org.el (org-sort-entries-or-items): Include the final newline.
2269         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2270         lines for fontification.
2271         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2272         (org-prepare-dblock): Store the current indentation of the BEGIN
2273         line.
2274         (org-update-dblock): Apply the indentation of the begin line to
2275         the rest of the block.
2276         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2277         (org-startup-folded): New allowed value `showeverything'.
2278         (org-startup-options): Add STARTUP keyword `showeverything'.
2279         (org-set-startup-visibility): Respect value `showeverything' in
2280         org-startup-folded.
2282 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
2284         * org.el (org-closest-date): Fix issue with past preference.
2286         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
2288         * org-archive.el (org-archive-set-tag)
2289         (org-archive-subtree-default): New commands.
2291         * org-mobile.el (org-mobile-create-index-file): Fix link to
2292         capture file.
2293         (org-mobile-copy-agenda-files): Create the capture file if it does
2294         not exist.
2296         * org-clock.el (org-clock-clocktable-default-properties): New
2297         option.
2298         (org-clock-report): Use
2299         `org-clock-clocktable-default-properties'.
2301 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
2303         * org.el (org-iswitchb-completing-read): Fix typo.
2305         * org-crypt.el: New file.
2307         * org.el: Add an entry for org-crypt.
2309 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2311         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2312         consistency.
2313         (org-batch-store-agenda-views): New function.
2314         (org-mobile-force-id-on-agenda-items): Mention variable.
2315         (org-agenda-title-append): Define variable.
2316         (org-write-agenda): New export to Org files.
2317         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2318         (org-agenda): Allow to keep the restricted file list if a special
2319         variable is bound to t.
2320         (org-agenda): Define a special agenda view for working on flagged
2321         entries.
2322         (org-agenda-get-restriction-and-command): List the new agenda
2323         view.
2324         (org-agenda-show-the-flagging-note): New command.
2325         (org-agenda-mode-map): New key `?' for looking at the flagging
2326         note.
2328         * org.el (org-autoload): Autoload org-mobile.el.
2329         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2331         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2333 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2335         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2336         statements.
2337         (org-table-get-remote-range): Match indented #+TBLNAME
2338         statements.
2340         * org.el (org-convert-to-odd-levels)
2341         (org-convert-to-oddeven-levels): Work also correctly if the file
2342         is in outline-mode.
2344 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
2346         * org.el (org-store-link): When in agenda buffer, link to
2347         referenced entry.
2348         (org-add-planning-info): Remove spaces at eol.
2350         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2351         property.
2353 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
2355         * org-latex.el (org-export-latex-first-lines): Fix problem with
2356         LaTeX export of first line and selected subtree.
2358         * org.el (org-shifttab): Interpret arg differently when using only
2359         odd levels.
2361 2009-09-09  Bastien Guerry  <bzg@altern.org>
2363         * org.el (org-check-agenda-file): Use a more explicit message
2365 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
2367         * org-exp.el (org-export-remove-special-table-lines): Don't remove
2368         normal lines.
2370 2009-09-08  Bastien Guerry  <bzg@altern.org>
2372         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2373         prompt in the temporary window.
2375         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2376         prefix for marked entries in the agenda view.
2378 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
2380         * org.el (outline-end-of-subtree): Bugfix: advise this function in
2381         a way that prevents any trailing character from being displayed.
2383 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
2385         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2386         menu.
2388         * org-exp.el (org-export-remove-special-table-lines): Remove bad
2389         slow regexp match.
2391 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
2393         * org-latex.el (org-export-latex-preprocess): Do not protect in
2394         the LaTeX header.
2396         * org-src.el (org-edit-src-save): Save window setup while saving.
2397         (org-edit-src-code): Use new buffer name construction scheme.
2399 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
2401         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2402         variable.
2403         (org-agenda-entry-text-cleanup-hook): New hook.
2404         (org-agenda-get-some-entry-text): Remove matches of
2405         `org-agenda-entry-text-exclude-regexps' and run the hook
2406         `org-agenda-entry-text-cleanup-hook'.
2408         * org.el (org-offer-links-in-entry): New argument ZERO to
2409         implement a link with index zero.
2410         (org-cycle-show-empty-lines): Not keep empty line under header
2411         hidden.
2412         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2413         to nil for special completion.
2414         (org-store-link): Don't error before the first heading.
2416         * org-agenda.el (org-agenda-open-link): Pass the prefix to
2417         `org-offer-links-in-entry'.
2419 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
2421         * org-agenda.el (org-agenda-quit): Provide the window argument for
2422         `window-dedicated-p', Emacs 22 needs it.
2423         (org-format-agenda-item): If the category is a link, arrange for
2424         invisible text to replaced with spaces.
2425         (org-compile-prefix-format): Add the extra space.
2426         (org-prefix-category-length): New variable.
2428         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2429         references from TOC lines.
2431         * org.el (org-selected-window): New variable.
2433         * org-table.el (org-table-edit-formulas): Remember the selected
2434         window.
2435         (org-table-fedit-finish, org-table-fedit-abort): Select the window
2436         that was originally selected.
2438         * org-exp.el (org-export-preprocess-apply-macros): Scan the
2439         expansion of a macro for more macro definitions.
2441         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2442         invisibility overlay starts on the newline.
2444 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
2446         * org-protocol.el (org-protocol-store-link)
2447         (org-protocol-remember, org-protocol-open-source): Add autoloads.
2449         * org-compat.el (org-float-time): New function.
2451         * org.el (org-clock-update-time-maybe)
2452         (org-sort-entries-or-items, org-do-sort)
2453         (org-evaluate-time-range, org-time-string-to-seconds)
2454         (org-closed-in-range): Use `org-float-time'.
2456         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2457         (org-timer-seconds):  Use `org-float-time'.
2459         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2460         (org-clock-sum, org-dblock-write:clocktable)
2461         (org-clocktable-steps):  Use `org-float-time'.
2463         * org-agenda.el (org-agenda-last-marker-time)
2464         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
2466         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2467         function.
2469         * org-exp.el (org-get-file-contents): Only protect lines that
2470         really need it.
2472         * org-html.el (require): Require cl for compilation.
2474         * org.el:  Avoid using `default-major-mode'.
2476         * org-plot.el (require): Require CL only at compile time.
2478         * org-exp.el (require): Require CL only at compile time.
2480         * org-agenda.el (org-agenda-quit): When the agenda window is
2481         dedicated, remove other windows before exiting, so that the frame
2482         really will be killed.
2484         * org-exp.el (org-export-handle-include-files): Reset START and
2485         END for each loop cycle.
2487 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
2489         * org.el (org-eval-in-calendar): Use
2490         `org-select-frame-set-input-focus'.
2492         * org-compat.el (org-select-frame-set-input-focus): New function.
2494         * org.el (org-update-statistics-cookies): New function.
2495         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2497 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2499         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2500         after the local variables are set.
2502         * org-latex.el (org-export-latex-protect-amp): New function.
2503         (org-export-latex-links): Protect link ampersands in tables.
2505         * org-exp.el (org-export-select-backend-specific-text): Match in
2506         two steps, to avoid regexp problems.
2508         * org.el (org-offer-links-in-entry): Improve working with many and
2509         duplicate links.
2511         * org-agenda.el (org-agenda-show-1): Make more consistent with
2512         normal cycling.
2513         (org-agenda-cycle-show): Make more consistent with normal cycling.
2515         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2516         website.
2518 2009-08-30  Bastien Guerry  <bzg@altern.org>
2520         * org-latex.el (org-export-latex-first-lines): Bugfix.
2522 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2524         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2525         about new effort.
2527         * org.el (org-set-effort): New function.
2528         (org-mode-map): New key for effort setting command.
2530         * org-agenda.el (org-agenda): Keep window setup when calling
2531         agenda from within agenda window.
2532         (org-agenda-mode-map): New keys for effort setting commands.
2533         (org-agenda-menu): Add effort setting commands to menu.
2534         (org-agenda-set-property, org-agenda-set-effort): New functions.
2536         * org-latex.el (org-export-latex-tables): Fix
2537         `org-table-last-alignment' and `org-table-last-column-widths' if
2538         the first column has been removed.
2540 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2542         * org.el (org-remove-timestamp-with-keyword): Only remove in
2543         entry, not in subtree.
2545         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2546         emacs lisp.
2548         * org.el (org-open-at-point): When on headline, offer all strings
2549         in entry.
2551         * org-remember.el (org-remember-templates): Documentation fix.
2553         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2554         `org-get-last-sibling' instead of the outline versions of these
2555         functions.
2556         (org-get-last-sibling): New function.
2557         (org-refile): Use `org-get-next-sibling' instead of the outline
2558         version of this function.
2559         (org-clean-visibility-after-subtree-move): Use
2560         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2561         outline versions of these functions.
2563 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2565         * org-agenda.el (org-prepare-agenda): When creating a new frame
2566         for the agenda, make the window dedicated.
2568         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2570         * org-table.el (org-table-align): Change the order of reinsertion
2571         and deletion, to avoid problems with overlays following the table.
2573         * org.el (org-parse-time-string): Better error message.
2574         (org-show-subtree): Use org-end-of-subtree.
2576         * org-macs.el (org-goto-line): New defsubst.
2578         * org.el (org-open-file, org-change-tag-in-region)
2579         (org-fast-tag-show-exit): Don't use `goto-line'.
2581         * org-table.el (org-table-align, org-table-insert-column)
2582         (org-table-delete-column, org-table-move-column)
2583         (org-table-sort-lines, org-table-copy-region)
2584         (org-table-paste-rectangle, org-table-wrap-region)
2585         (org-table-get-specials, org-table-rotate-recalc-marks)
2586         (org-table-get-range, org-table-recalculate)
2587         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2588         (org-table-show-reference, org-table-highlight-rectangle): Don't
2589         use `goto-line'.
2591         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2592         (org-edit-src-exit): Don't use `goto-line'.
2594         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2596         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2597         Don't use `goto-line'.
2599         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2601         * org-colview.el (org-columns, org-columns-redo)
2602         (org-agenda-columns): Don't use `goto-line'.
2604         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2605         use `goto-line'.
2607         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2608         (org-agenda-add-entry-text-maxlines): Improve docstring.
2609         (org-agenda-start-with-entry-text-mode): New option.
2610         (org-agenda-entry-text-maxlines): New option.
2611         (org-agenda-entry-text-mode): New variable.
2612         (org-agenda-mode): Set initial value of
2613         `org-agenda-entry-text-mode'.
2614         (org-agenda-mode-map): Add the `E' key.
2615         (org-agenda-menu): Add entry text mode to the menu.
2616         (org-agenda-get-some-entry-text): Fix line count bug.
2617         (org-finalize-agenda): Apply entry text mode if appropriate.
2618         (org-agenda-entry-text-show-here): New function.
2619         (org-agenda-entry-text-show): New function.
2620         (org-agenda-entry-text-hide): New function.
2621         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2622         key menu.
2623         (org-agenda-entry-text-mode): New command.
2624         (org-agenda-set-mode-name): Add entry text mode to the mode line
2625         string.
2626         (org-agenda-undo, org-agenda-get-restriction-and-command)
2627         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2628         `goto-line'.
2630 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2632         * org-clock.el (org-notify): Bugfix.
2634 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2636         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2637         check for after-string.
2639         * org-gnus.el (org-gnus-store-link): Simplify.
2641         * org.el (org-latex-regexps): Don't add extra empty lines for
2642         display formulas.
2644 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2646         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2647         (org-agenda-add-entry-text): Use
2648         `org-agenda-get-some-entry-text'.
2650         * org.el (org-cycle-separator-lines): Update docstring.
2651         (org-cycle-show-empty-lines): Handle negative values for
2652         `org-cycle-show-empty-lines'.
2654         * org-exp.el (org-export-protect-sub-super): New function.
2655         (org-export-normalize-links): Protect the url of plain links from
2656         supscript and superscript processing.
2658         * org-remember.el (org-remember-escaped-%): New function.
2659         (org-remember-apply-template): Use `org-remember-escaped-%' to
2660         detect escaped % signs.
2662 2009-08-23  Bastien Guerry  <bzg@altern.org>
2664         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2665         sound when showing the notification.
2667         * org-clock.el (org-notify): New function.
2668         (org-clock-notify-once-if-expired): Use `org-notify'.
2670         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2671         and `gnus-article-mode' separately.
2672         (gnus-summary-article-header): Fix the declare-function.
2674 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2676         * org-exp.el (org-export-format-source-code-or-example): Translate
2677         language.
2679         * org-src.el (org-src-lang-modes): New variable
2680         (org-edit-src-code): Translate language.
2682         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2683         the new structure of the `org-export-latex-listings-langs'
2684         variable.
2686         * org-latex.el (org-export-latex-listings-langs): Change structure
2687         of the variable from plist to alist.
2689 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2691         * org.el (org-in-commented-line): New function.
2693 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2695         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2697 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2699         * org.el (org-flag-drawer): More useful error.
2701 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2703         * org-remember.el (org-remember-apply-template): Use
2704         org-icompleting-read.
2706         * org-publish.el (org-publish): Use org-icompleting-read.
2708         * org-colview.el (org-columns-edit-value, org-columns-new)
2709         (org-insert-columns-dblock): Use org-icompleting-read.
2711         * org-colview-xemacs.el (org-columns-edit-value)
2712         (org-columns-new, org-insert-columns-dblock): Use
2713         org-icompleting-read.
2715         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2716         org-icompleting-read.
2718 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2720         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2721         (org-version): Return the version text.
2722         (org-org-menu): Add a menu entry for the new bug reporter.
2723         (org-submit-bug-report): New command.
2725         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2726         docstring.
2728         * org.el (org-emphasis-regexp-components): Add "`" to set of
2729         pre-emphasis characters.
2731         * org-latex.el (org-export-latex-classes): Always include the soul
2732         package.
2733         (org-export-latex-emphasis-alist): Use \st for strikethough.
2735         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2736         `indent-code-rigidly' to indent.
2738         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2739         properties only if MATCH really is a string.
2741 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2743         * org-latex.el (org-export-latex-packages-alist): Fix
2744         customization type.
2746         * org.el (org-create-formula-image): Also use
2747         `org-export-latex-packages-alist'.
2749         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2750         (org-export-as-html): Format footnotes correctly.
2752 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2754         * org.el (org-fast-tag-selection): Avoid text properties on tags
2755         in the alist.
2757         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2758         text properties on the match element.
2760 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2762         * org.el (org-set-regexps-and-options): Make sure the list of done
2763         keywords is not invalid.
2765         * org-exp.el (org-export-interpolate-newlines): New function.
2767 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2769         * org.el (org-format-latex): Avoid nested overlays.
2771         * org-latex.el (org-export-latex-listings-langs): Add a few more
2772         languages.
2774         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2775         ignore newlines and space before the first macro argument.
2777         * org-latex.el (org-export-latex-tables): Remove save-excursion
2778         around `org-table-align'.
2780 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2782         * org.el (org-export-html-special-string-regexps): Definition
2783         moved into org.el
2785         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2786         in macro calls.
2788 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2790         * org-latex.el (org-export-latex-listings)
2791         (org-export-latex-listings-langs): New options.
2793         * org-exp.el (org-export-format-source-code-or-example): Use
2794         listing package if requested by the user.
2796 2009-08-08  Bastien Guerry  <bzg@altern.org>
2798         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2799         command before actually switching to a buffer.
2801 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2803         * org-exp.el (org-get-file-contents): Only quote org lines when
2804         the markup is src or example.
2806         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2807         New option
2808         (org-agenda-get-day-entries): Remember deadline results and pass
2809         them on into the function getting the scheduling information.
2810         (org-agenda-get-scheduled): Accept deadline results as parameters
2811         and maybe skip some entries.
2812         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2814         * org.el (org-insert-heading): When respecting content, do not
2815         convert current line to headline.
2817         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2818         cheeeeeck the hd marker
2819         (org-clock-in): Also set the hd marker.
2820         (org-clock-out): Also set the hd marker.
2821         (org-clock-cancel): Reset markers.
2823         * org.el (org-clock-hd-marker): New marker.
2825         * org-faces.el (org-agenda-clocking): New face.
2827         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2828         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2830         * org.el (org-modules): Add org-track.el.
2832         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2833         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2834         `org-agenda-bulk-marked-p'.
2835         (org-agenda-bulk-toggle): New command.
2837 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2839         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2840         not just the body.
2842         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2843         messages.
2845 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2847         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2848         before gnuplot can read it.
2850 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2852         * org-latex.el (org-export-latex-first-lines): Fix bug with
2853         finding the end of the first lines.
2855         * org.el (org-create-formula-image): Remove the -E option for
2856         dvipng.
2858         * org-exp.el (org-default-export-plist): Respect #+BIND.
2859         (org-export-confirm-letbind): New function.
2861         * org.el (org-paste-subtree): Test the kill ring entry if it is
2862         going to be used.
2863         (org-copy-subtree): Use `org-forward-same-level'.
2864         (org-forward-same-level): Respect the `invisibe-ok' arg for
2865         back-to-heading.
2867 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2869         * org.el (org-table-map-tables): Make sure cursor is back at table
2870         beginning after funcall.
2872         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2873         handled before children, and do not error if an entry is not
2874         found, probably because it hase been remove when the parent was
2875         archived or refiled.
2877         * org.el (org-ido-completing-read): Accept straight lists for
2878         completion as well as alists.
2880         * org-html.el (org-export-as-html): Fix parenthesis error in
2881         footnore code.
2883         * org-timer.el (org-timer-cancel-timers): Renamed from
2884         `org-timer-cancel-timers'.
2886         * org.el (org-cycle-internal-local): Fix problem with finding next
2887         invisible line.
2889 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2891         * org-list.el (org-list-send-list): Call
2892         `org-list-goto-true-beginning' instead of
2893         `org-list-find-true-beginning', which does not exist.
2895         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2896         (org-timer-set-timer): Do not assign to heading.
2898         * org-id.el (org-id-open): Quote function name.
2900         * org-macs.el (org-unmodified): Turn off recording undo
2901         information while running inside the macro.
2903         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2904         variable.
2905         (org-indent-mode): Remember and restore value of
2906         org-hide-leading-stars before `org-indent-mode'.
2908         * org-table.el (org-table-export): Also work in file-less
2909         buffers.
2911         * org.el (org-startup-indented): New option.
2912         (org-startup-options): Add new options indent and noindent.
2913         (org-unfontify-region): Remove line-prefix and wrap-prefix
2914         properties.
2915         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2916         hooks.
2917         (org-promote, org-demote): Run the new hooks.
2919         * org-table.el (org-table-align): Replace leading \n as well.
2921         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2922         and `line-wrap' text properties.
2924         * org-compat.el (org-kill-new): New function.
2926         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2927         `line-wrap' text properties.
2929         * org-indent.el: New file.
2931 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2933         * org.el (org-provide-todo-statistics): Tweak docstring.
2935         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2937 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2939         * org-exp.el (org-export-as-org): Insert the "-source" string
2940         before the extension.
2942         * org.el (org-read-date): Make sure the calendar is in the current
2943         frame.
2944         (org-set-emph-re): Remove the ? from the post-match.
2945         (org-emphasis-regexp-components): Add backslash to the
2946         postmatch class.
2947         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2948         optional so that also lines at the end of the buffers will still
2949         be matched as headlines.
2951         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2952         Variable made obsolete.
2953         (org-table-relative-ref-may-cross-hline): New option.
2954         (org-table-find-row-type): Honow the new option
2955         `org-table-relative-ref-may-cross-hline'.
2957 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2959         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2960         on single field if no active region.
2962 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2964         * org-latex.el (org-export-latex-make-header): Only insert title
2965         if one is defined.
2967         * org.el (org-make-options-regexp): Allow empty values.
2969         * org-html.el (org-export-as-html): Move hrule detection to after
2970         plain list handling.
2972 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2974         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2976 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2978         * org.el (org-cycle-internal-local): Improved version of finding
2979         next visible line.
2980         (org-cycle-hide-drawers): Only hide drawers if this is really
2981         necessary.
2982         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2983         org-version of this function in Org-mode.  We use advice to
2984         implement this change, so that future changes to this function in
2985         outline.el wil be handled properly.
2986         (org-forward-same-level, org-backward-same-level): New commands.
2988 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2990         * org.el (org-remove-empty-overlays-at)
2991         (org-clean-visibility-after-subtree-move): New functons.
2992         (org-move-subtree-down): Simplify cleanup of display.
2994 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2996         * org-mac-message.el (org-mac-message-get-links): Improve
2997         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2998         "s".  Fix the return value.
2999         (org-mac-message-insert-flagged): Simplify.
3001         * org.el (org-refile-get-location): Tamper with refile history o
3002         that history contains compete matches instead of the entered
3003         string.
3005 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
3007         * org.el (org-store-link): Never store a link to an inline task.
3009         * org-inlinetask.el (org-inlinetask-insert-task): New command.
3011         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
3012         inline tasks when positioning footnotes.
3014         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
3015         function.
3017         * org.el (org-refile): Remove the END line when archiving an
3018         inline task that does have an END line.
3020         * org-archive.el (org-archive-subtree): Remove the END line when
3021         archiving an inline task that does have an END line.
3023         * org-macs.el (org-with-limited-levels): New macro.
3024         (org-get-limited-outline-regexp): New function.
3026         * org-exp.el (org-export-format-source-code-or-example): Fix bug
3027         that did not enumerate first line.
3028         (org-export-mark-radio-links): Skip matches in links.
3030 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
3032         * org.el (org-activate-plain-links): Make single-match.
3033         (org-adapt-indentation): Fix docstring.
3035         * org-macs.el (org-unmodified): Turn of modification hooks while
3036         running this macro.
3038 2009-08-02  Bastien Guerry  <bzg@altern.org>
3040         * org.el (org-adapt-indentation): Slightly improve the docstring.
3041         (org-occur): Sends an error when the user inputs an empty string.
3042         (org-priority): Bugfix: the tag alignement should happen within
3043         save-excursion.
3045 2009-07-31  Bastien Guerry  <bzg@altern.org>
3047         * org.el (org-make-link-regexps): Don't exclude parentheses from
3048         `org-plain-link-re'
3049         (org-cycle-internal-local): When locally cycling, switch directly
3050         from CHILDREN to FOLDED if there is no subtree
3051         (org-cycle): Update the docstring to document the new behavior of
3052         `org-cycle-internal-local'.
3054 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
3056         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
3057         an abbreviated format for days.
3059 2009-07-27  Bastien Guerry  <bzg@altern.org>
3061         * org-protocol.el (org-protocol-default-template-key): New
3062         option.
3064         * org.el (org-refile): Bugfix: save-excursion before reading the
3065         refile target, otherwise cursor moves might confuse `org-refile'.
3067         * org-html.el (org-export-as-html): Bugfix: correctly convert the
3068         footnote reference before the footnote itself.
3070         * org.el (org-toggle-heading): Bugfix: correctly convert list
3071         items before the first headline.
3073         * org-html.el (org-export-html-footnote-format): New option for
3074         formatting the footnote reference.
3075         (org-export-as-html): Use the new option.
3077         * org.el (org-provide-todo-statistics): Allow a list of TODO
3078         keywords to compute statistics against headlines containing a
3079         keyword from this list.
3080         (org-update-parent-todo-statistics): Possibly use the new allowed
3081         value of `org-provide-todo-statistics'.
3083 2009-07-26  Bastien Guerry  <bzg@altern.org>
3085         * org-timer.el: Add autoload cookie.
3087         * org.el (org-occur-link-in-agenda-files): New function.
3089         * org-timer.el (org-timer-last-timer): New variable.
3091         * org-agenda.el (org-agenda-mode-map): New key for
3092         org-timer-set-timer called from the agenda.
3094         * org.el (org-mode-map): New key for org-timer-set-timer.
3096         * org-timer.el (org-timer-reset-timers)
3097         (org-timer-show-remaining-time, org-timer-set-timer): New
3098         functions.
3100         * org-clock.el (org-show-notification): Update the docstring.
3102         * org.el (org-provide-todo-statistics): Allow new value
3103         'all-headlines for this option, which includes entries with no
3104         TODO keywords in the todo statistics.
3105         (org-update-parent-todo-statistics): Possibly use the new
3106         'all-headline value from `org-provide-todo-statistics'.
3108 2009-07-25  Bastien Guerry  <bzg@altern.org>
3110         * org-clock.el (org-dblock-write:clocktable): Add a new option
3111         :timestamp which allows display of timestamps in clock reports.
3113         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
3114         list to a subtree, preserving the structure of the list.
3115         (org-set-emph-re): Make the last element optional in the regexp.
3116         This regexp now matches an emphasized string at the end of a line.
3118         * org-list.el (org-list-goto-true-beginning)
3119         (org-list-make-subtree, org-list-make-subtrees): New functions.
3121         * org.el (org-eval-in-calendar): Select the right frame.
3122         (org-save-frame-excursion): Remove this macro.
3124 2009-07-24  Bastien Guerry  <bzg@altern.org>
3126         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
3127         trying to find the beginning of a list.
3129         * org-exp.el (org-get-file-contents): Use a new argument: markup.
3130         When present, tell org-get-file-contents not to protect org-like
3131         lines.
3133         * org-id.el (org-id-uuid-program): New option to set the name of
3134         the uuidgen program.
3135         (org-id-method): Use `org-id-uuid-program'.
3136         (org-id-new): Use `org-id-uuid-program'.
3138 2009-07-23  Bastien Guerry  <bzg@altern.org>
3140         * org-exp.el (org-export-number-lines): Allow whitespace in code
3141         references.  Allow the -r switch to remove the references in the
3142         source code even when the lines are not numbered: the labels can
3143         be explicit enough.
3145         * org.el (org-fontify-whole-heading-line): New option.
3146         (org-set-font-lock-defaults): Use the new option.
3148         * org-clock.el (org-show-notification-handler): New option.
3149         (org-show-notification): Use the new option.
3151 2009-07-21  Bastien Guerry  <bzg@altern.org>
3153         * org.el (org-eval-in-calendar): Fix a bug about calendar
3154         navigation when `calendar-setup' value is 'calendar-only.
3156 2009-07-19  Bastien Guerry  <bzg@altern.org>
3158         * org.el (orgstruct++-mode): Fix typo in docstring.
3159         (org-insert-link): Clean up: (or (...)) => (...)
3160         (org-insert-link): Use TAB for stored links completion.
3162 2009-07-18  Bastien Guerry  <bzg@altern.org>
3164         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3165         building the list of targets.
3167         * org-remember.el (org-remember-delete-empty-lines-at-end): New
3168         option.
3169         (org-remember-handler): Use the new option.
3171 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
3173         * org.el (org-tags-sort-function): New option for sorting tags.
3174         (org-set-tags): Use the new option to sort tags.
3176         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3177         premature deletion of the data when using org-plot in a script.
3179 2009-07-17  Bastien Guerry  <bzg@altern.org>
3181         * org-clock.el (org-clock-in-prepare-hook): New hook.
3182         (org-clock-in): Use this new hook.
3184 2009-07-16  Bastien Guerry  <bzg@altern.org>
3186         * org.el (org-special-ctrl-a/e): Explicitely bind the value
3187         'reversed for this option to the "true line boundary first"
3188         behavior.
3189         (org-tags-match-list-sublevels): Document the 'indented value for
3190         this variable.
3192         * org-latex.el (org-export-latex-first-lines): Fix problem with
3193         publishing the region.
3195         * org-exp.el (org-export-format-source-code-or-example): Fix
3196         bad line numbering when exporting examples in HTML.
3198         * org-colview.el (org-format-time-period): Formats a time in
3199         fractional days as days, hours, mins, seconds.
3200         (org-columns-display-here): Add special handling for SINCE and
3201         SINCE_IA to format for display.
3203 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
3205         * org.el (org-tags-sort-function): Add custom declaration for tags
3206         sorting function.
3207         (org-set-tags): Sort tags if org-tags-sort-function is set
3209 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
3211         * org-clock.el (org-clock-goto): Find hidden headlines as well.
3213         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3215         * org-plot.el (org-plot/add-options-to-plist): Add timeind
3216         option.
3218 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
3220         * org-publish.el (org-publish-remove-all-timestamps): New function.
3221         (org-publish-all): Remove all timestamp files if `org-publish-all'
3222         is called with a prefix argument.
3224         * org-list.el (org-indent-item): Fix typo.
3225         (org-item-indent-positions): Normalize ordered bullet.
3227         * org-html.el (org-export-html-home/up-format): New option.
3228         (org-export-as-html): Insert the up and HOME links.
3230 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
3232         * org-html.el (org-export-as-html): Insert the title into the
3233         option plist.
3234         (org-export-html-insert-plist-item): New function.
3235         (org-export-as-html): Call `org-export-html-insert-plist-item'.
3237         * org-macs.el (org-set-local): Make a local variable, do not make
3238         the variable buffer-local!
3240         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3242         * org-html.el (org-export-as-html): Call `org-install-letbind'.
3244         * org-docbook.el (org-export-as-docbook): Call
3245         `org-install-letbind'.
3247         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
3249         * org-exp.el (org-infile-export-plist): Read BIND lines.
3250         (org-install-letbind): New function.
3251         (org-export-as-org, org-export-preprocess-string): Call
3252         `org-install-letbind'.
3254         * org-src.el (org-edit-src-exit): Untabify the example before
3255         returning to Org.
3257         * org-list.el (org-list-demote-modify-bullet): New option.
3258         (org-first-list-item-p): Save point.
3259         (org-fix-bullet-type): New optional argument FORCE-BULLET.
3260         (org-indent-item): Honor `org-list-demote-modify-bullet'.
3261         (org-item-indent-positions): Return bullet types along with
3262         indentation.
3264 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
3266         * org.el (org-show-entry): Hide drawers.
3268 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
3270         * org-footnote.el (org-footnote-auto-adjust): New option.
3271         (org-footnote-auto-adjust-maybe): New function.
3272         (org-footnote-new, org-footnote-delete): Call
3273         `org-footnote-auto-adjust-maybe'.
3275         * org.el (org-startup-options): Add new footnote-related
3276         keywords.
3278         * org-publish.el (org-publish-timestamp-filename): Additional
3279         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3280         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3281         TRUE-PUB-DIR.  Pass them through to
3282         `org-publish-timestamp-filename'.
3283         (org-publish-update-timestamp): Additional arguments PUB-DIR and
3284         PUB-FUNC, which are included in the hash.
3285         (org-publish-file): Delay timestamp test until the publishing
3286         function is known.
3288 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
3290         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3291         setting the deadline.
3293         * org.el (org-read-date-final-answer): New variable.
3294         (org-read-date): Store the final answer string, including the date
3295         from the calendar, for reuse by agenda bulk commands.
3297         * org-publish.el (org-publish-attachment): Fix publishing of
3298         attachments.
3300         * org-latex.el (org-export-latex-quotation-marks): Fix export of
3301         quotation makrs in parenthesis.
3302         (org-remove-initial-hash): New function.
3303         (org-export-latex-preprocess): Fix bug with infinite loop if
3304         environment is not properly closed.
3306         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3307         when indented.
3309         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3310         highlight also when indented.
3312 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
3314         * org-footnote.el (org-footnote-renumber-fn:N): New command.
3315         (org-footnote-action): Offer renumbering.
3317         * org.el (org-cycle): Honor the `integrate' value of
3318         org-cycle-include-plain-lists'.
3320         * org-list.el (org-cycle-include-plain-lists): New allowed value
3321         `internal'.  Improve the docstring.
3323         * org.el (org-set-autofill-regexps): Improve the paragraph-start
3324         regexp to work better with LaTeX commands.
3326 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
3328         * org-feed.el (org-feed-update): fix problem with non-existing
3329         buffer.
3330         (org-feed-skip-http-headers): New function.
3331         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
3332         (org-feed-get-feed): Fix command line arguments for curl.
3334 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
3336         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3337         and eps extensions.
3339 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
3341         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3342         loaded.
3344         * org.el (org-map-entries): No longer force
3345         `org-tags-match-list-sublevels' to t during a todo-only tags
3346         search.
3348 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
3350         * org-latex.el (org-export-latex-low-levels): Allow user-defined
3351         environment.
3352         (org-export-latex-subcontent): Handle user-defined environment.
3354         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3355         the View dispatcher.
3357         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3358         `make-overlay'.
3360         * org-latex.el (org-export-as-pdf): Protect match data during call
3361         to shell-quote-argument.
3363         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3364         (org-agenda-view-mode-dispatch): New function.
3366 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
3368         * org-agenda.el (org-agenda-mode): Reset list of marks.
3369         (org-agenda-mode-map): Define new keys for refile and bulk action.
3370         (org-agenda-menu): Add menu itesm for refile and bulk action.
3371         (org-agenda-refile): New function.
3372         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3373         (org-agenda-marked-entries): New variable.
3374         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3375         (org-agenda-remove-all-bulk-action-marks)
3376         (org-agenda-bulk-action): New functions/commands.
3378 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
3380         * org-exp.el (org-get-file-contents): Protect org-like lines in
3381         included files.
3382         (org-export-format-source-code-or-example): Remove newlines.
3384         * org-latex.el (org-export-latex-links): Check for no-description
3385         marking.
3387         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3388         argument separator back to comma.
3389         (org-export-normalize-links): Mark links without description.
3391 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
3393         * org-exp.el (org-infile-export-plist): Fix bug in macro
3394         processing.
3396         * org-agenda.el (org-agenda-clock-out): Update line after clocking
3397         out.
3398         (org-agenda-highlight-todo): Fix bug with highlighting.
3400 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
3402         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3403         new alignment strings.
3405         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3406         command list.
3407         (org-table-align): Check for forced align type.
3409         * org.el (org-self-insert-command): Add yas/expand to command
3410         list.
3412         * org-clock.el (org-clock-in-hook): New hook.
3413         (org-clock-in): Run `org-clock-in-hook.
3414         (org-clock-out-hook): New hook.
3415         (org-clock-out): Run `org-clock-out-hook.
3416         (org-clock-cancel-hook): New hook.
3417         (org-clock-cancel): Run `org-clock-cancel-hook.
3418         (org-clock-goto-hook): New hook.
3419         (org-clock-goto): Run `org-clock-goto-hook.
3421 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
3423         * org.el (org-store-link): Better default description for link to
3424         Org-mode headline.
3426         * org-exp.el (org-export-generic): Autoload the generic exporter
3427         function.
3428         (org-export): Implement the `g' key for the generic exporter.
3430 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
3432         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3433         and for zbacktab'.
3435         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
3437         * org-exp.el (org-infile-export-plist): Get macros also from
3438         #+SETUPFILE.
3440 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
3442         * org-colview.el (org-columns-capture-view): Protect vertical bars
3443         in column values.
3444         (org-columns-capture-view): Exclude comment and archived trees.
3446         * org-colview-xemacs.el (org-columns-capture-view): Protect
3447         vertical bars in column values.
3448         (org-columns-capture-view): Exclude comment and archived trees.
3450         * org.el (org-quote-vert): New function.
3452         * org-latex.el (org-export-latex-verbatim-wrap): New option.
3454         * org-exp.el (org-export-format-source-code-or-example): Use
3455         `org-export-latex-verbatim-wrap'.
3457         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3458         time stamps.
3460         * org-html.el (org-export-table-row-tags): New option.
3461         (org-format-org-table-html): Rename `nlines' to `nline', use new
3462         option.
3465 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
3467         * org-exp-blocks.el: Declare functions and variables.
3469         * org-remember.el (org-remember-templates): Allow the headline
3470         element to be a function.
3471         (org-remember-apply-template): If the headline is a function, call
3472         it to get the true function.
3474         * org-clock.el (org-clock-menu): New function.
3475         (org-clock-update-mode-line): Update help string.
3476         (org-clock-modify-effort-estimate): New function.
3477         (org-clock-mark-default-task): New function.
3479         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3480         minutes as input.
3481         (org-org-menu): Add new clocking stuff.
3482         (org-clock-is-active): New function.
3484 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
3486         * org.el (org-open-non-existing-files): Improve docstring.
3488 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
3490         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3491         option.
3492         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3494         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3496         * org-list.el (org-get-checkbox-statistics-face): Use the new
3497         faces.
3499         * org-faces.el (org-checkbox-statistics-todo)
3500         (org-checkbox-statistics-done): New faces.
3502 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3504         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3505         (org-edit-src-exit): Better cursor positioning when returning from
3506         editing.
3508         * org-latex.el (org-export-latex-use-verb): New variable.
3509         (org-export-latex-emph-format): Prefer \texttt over \verb when
3510         org-export-latex-use-verb is set.
3512 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3514         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3515         at normal indentation.
3517         * org-html.el (org-export-html-close-lists-maybe): Also look at
3518         normal indentation.
3520         * org-remember.el (org-remember-handler): Abort remember if the
3521         buffer is empty.
3523         * org-src.el (org-edit-src-content-indentation): New option.
3524         (org-edit-src-exit): Apply extra indentation.
3526         * org-exp.el (org-export-format-source-code-or-example): Run
3527         `org-src-mode-hook'.
3529         * org-src.el (org-src-mode-hook): New variable.
3530         (org-edit-src-code): Run `org-src-mode-hook'.
3532 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3534         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3536         * org-src.el (org-edit-src-get-indentation): New function.
3537         (org-edit-src-code): Base indentation on the begin line.
3539 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3541         * org-gnus.el (org-gnus-store-link): Require message.el in
3542         org-gnus-store-link.
3544 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3546         * org-src.el: New file, split out of org.el
3548         * org-docbook.el (org-export-as-docbook): Better indentation
3549         treatment.
3551         * org-macs.el (org-replace-match-keep-properties): New function.
3553         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3554         preprocessing of center and quote and verse blocks.
3556         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3557         (org-export-as-docbook): Close lists when original indentation
3558         mandates it.
3560         * org-html.el (org-export-html-close-lists-maybe): New function.
3561         (org-export-as-html): Close lists when original indentation
3562         mandates it.
3564         * org-list.el (org-list-end): Respect the stored "original"
3565         indentation when determining the end of the list.
3567         * org-exp.el (org-export-replace-src-segments-and-examples):
3568         Remember indentation correctly.
3570 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3572         * org-clock.el (org-clock-update-mode-line): Apply face
3573         org-mode-line-clock.
3575         * org-faces.el (org-mode-line-clock): New face.
3577 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3579         * org-gnus.el (org-gnus-store-link): Fix bug where
3580         `org-gnus-store-link' used wrong subject when called in an article
3581         buffer.  Patch provided by fengli AT gmail DOT com.
3583 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3585         * org-exp.el (org-export-format-source-code-or-example): Remember
3586         the original indentation of source code snippets and examples.
3588         * org-latex.el (org-export-as-latex): Relocate the table of
3589         contents.
3591         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3593         * org-agenda.el (org-run-agenda-series): Scope global options also
3594         when creating the agenda buffer.
3596 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3598         * org.el (org-adapt-indentation): Improve documentation.
3599         (org-insert-property-drawer): Respect org-adapt-indentation when
3600         inserting the drawer.
3601         (org-remove-flyspell-overlays-in): New function.
3602         (org-do-emphasis-faces, org-activate-plain-links)
3603         (org-activate-code, org-fontify-meta-lines-and-blocks)
3604         (org-activate-angle-links, org-activate-footnote-links)
3605         (org-activate-bracket-links, org-activate-dates)
3606         (org-activate-target-links, org-activate-tags): Remove flyspell
3607         overlays.
3609 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3611         * org.el (org-edit-src-save): New function.
3613         * org-clock.el (org-clock-out-switch-to-state): New option.
3614         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3616         * org-compat.el (org-compatible-face): Improve macro.
3618         * org.el (org-global-properties-fixed): Add default for
3619         CLOCK_MODELINE_TOTAL.
3621         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3622         andd tend.
3623         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3624         org-clock-sum.
3625         (org-clock-get-sum-start): New function.
3627         * org.el (org-startup-options): New keywords blockhide and
3628         blockshow.
3629         (org-mode): Add new invisibility spec.
3630         (org-set-startup-visibility): Hide block on startup if so
3631         desired.
3632         (org-hide-block-startup): New option.
3633         (org-block-regexp): New constant.
3634         (org-hide-block-overlays): New variable.
3635         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3636         (org-show-block-all, org-hide-block-toggle-maybe)
3637         (org-hide-block-toggle): New functions.
3638         (org-edit-src-exit): Do not quote lines starting with # and no +
3639         behind it.
3640         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3641         entry.
3643 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3645         * org.el (org-buffer-property-keys): Add Effort property for
3646         completion.
3648 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3650         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3651         when retrieving total clocked time in the subtree.
3653         * org.el (org-quoting-blocks): New variable.
3655 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3657         * org-table.el (org-table-store-formulas)
3658         (org-table-get-stored-formulas, org-table-fix-formulas)
3659         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3660         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3662         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3663         indented #+TBLFM line.
3665         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3666         indented #+TBLFM line.
3668         * org-colview.el (org-dblock-write:columnview): Allow indented
3669         #+TBLFM line.
3671         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3672         indented #+TBLFM line.
3674         * org-clock.el (org-dblock-write:clocktable): Allow indented
3675         #+TBLFM line.
3677 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3679         * org-exp.el (org-export-format-source-code-or-example): Make
3680         editing indented blocks work correctly.
3682         * org.el (org-edit-src-nindent): New variable.
3683         (org-edit-src-code, org-edit-fixed-width-region)
3684         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3685         editing indented blocks work correctly.
3687 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3689         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3690         indented blocks.
3691         (org-export-format-source-code-or-example): Fix indentation of
3692         blocks.
3693         (org-export-remove-indentation): New function.
3694         (org-export-select-backend-specific-text): Allow backend-specific
3695         code to be indented.
3696         (org-export-mark-blockquote-verse-center): Allow markers to be
3697         indented.
3699         * org.el (org-fontify-meta-lines): New function.
3700         (org-set-font-lock-defaults): Call the new fontification
3701         function.
3703         * org-faces.el (org-meta-line): New face
3704         (org-block):  New face.
3706 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3708         * org.el (org-treat-insert-todo-heading-as-state-change)
3709         (org-treat-S-cursor-todo-selection-as-state-change): New
3710         variables.
3711         (org-insert-todo-heading): Honor
3712         `org-treat-insert-todo-heading-as-state-change'.
3713         (org-shiftright, org-shiftleft): Honor
3714         `org-treat-S-cursor-todo-selection-as-state-change'.
3715         (org-inhibit-logging): New variable.
3717 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3719         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3720         range for marker position checking.
3722         * org-latex.el (org-export-latex-first-lines): Fix bug when
3723         exporting a region.
3725 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3727         * org-exp.el (org-export-push-to-kill-ring): Protect using
3728         x-set-selection, because that does not always work.
3730         * org-agenda.el (org-agenda-list): Apply the new face
3731         `org-agenda-date-today'.
3733         * org-faces.el (org-agenda-date-today): New face.
3735 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3737         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3738         creating appointments.
3740         * org-latex.el (org-export-latex-low-levels): Fix customization
3741         type.
3743         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3744         priority commands.
3746         * org-agenda.el (org-agenda-priority): Disable priority commands.
3748         * org.el (org-enable-priority-commands): New option.
3750         * org-colview-xemacs.el (org-columns-compute)
3751         (org-columns-number-to-string): Fix problems with empty fields.
3753         * org-colview.el (org-columns-compute)
3754         (org-columns-number-to-string): Fix problems with empty fields.
3756         * org-exp.el (org-export-push-to-kill-ring): New function.
3757         (org-export-copy-to-kill-ring): New option.
3759         * org-latex.el (org-export-as-latex): Call
3760         `org-export-push-to-kill-ring'.
3762         * org-html.el (org-export-as-html): Call
3763         `org-export-push-to-kill-ring'.
3765         * org-docbook.el (org-export-as-docbook): Call
3766         `org-export-push-to-kill-ring'.
3768         * org-ascii.el (org-export-as-ascii): Call
3769         `org-export-push-to-kill-ring'.
3771         * org-exp.el (org-export-show-temporary-export-buffer): New
3772         option.
3774         * org-latex.el (org-export-as-latex): Use
3775         `org-export-show-temporary-export-buffer'.
3777         * org-html.el (org-export-as-html): Use
3778         `org-export-show-temporary-export-buffer'.
3780         * org-docbook.el (org-export-as-docbook): Use
3781         `org-export-show-temporary-export-buffer'.
3783         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3784         `org-export-show-temporary-export-buffer'.
3786         * org-exp.el (org-export-show-temporary-export-buffer): New
3787         option.
3788         (org-export-push-to-kill-ring): New function.
3790         * org-colview.el (org-columns-compile-map): New variable.
3791         (org-columns-new, org-columns-compute)
3792         (org-columns-number-to-string, org-columns-uncompile-format)
3793         (org-columns-compile-format): Implement new operators.
3795 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3797         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3799         * org-html.el (org-export-html-xml-declaration): New option.
3800         (org-export-as-html): Use `org-export-html-xml-declaration'.
3802         * org-list.el (org-update-checkbox-count): Make property
3803         dependent.
3805         * org.el (org-hierarchical-todo-statistics): New option.
3806         (org-update-parent-todo-statistics): Modified to handle recursive
3807         statistics.
3809 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3811         * org-publish.el (org-publish): Make this function behave
3812         correctly in interactive use when called with a prefix argument.
3814         * org.el (org-todo-statistics-hook): New hook.
3815         (org-update-parent-todo-statistics): Use new hook.
3816         (org-log-into-drawer): New function.
3817         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3818         determine if we should be logging into a drawer.
3819         (org-log-into-drawer): Update docstring.
3820         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3822         * org-list.el (org-checkbox-statistics-hook): New hook.
3823         (org-update-checkbox-count-maybe): Use new hook.
3825         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3826         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3827         to kill ring.
3829 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3831         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3832         a line.
3834 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3836         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3837         better bufer-generating mechanism.
3838         (org-edit-src-find-buffer): New function.
3840         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3841         archive tag, this is already done by `org-agenda-skip'.
3842         data while constructing lost of tags.
3844 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3846         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3847         as argument separator in macros.
3849         * org-html.el (org-export-as-html): Add xml declaration.
3851 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3853         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3854         (org-sort-entries-or-items): Run the new hook.
3855         (org-after-refile-insert-hook): New hook.
3856         (org-refile): Run `org-after-refile-insert-hook'.
3858         * org-agenda.el (org-agenda-get-progress): Never take time of day
3859         from headline when displaying progress.
3861         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3862         (org-export-as-latex): Force the correct regexp in the
3863         preprocessor buffer.
3864         (org-export-latex-set-initial-vars): Set
3865         `org-export-latex-complex-heading-re'.
3867         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3868         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3870 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3872         * org-latex.el (org-export-latex-tables-centered): New option.
3873         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3875         * org-exp.el (org-export-as-org): New command.
3876         (org-export-as-org): New command.
3878         * org-publish.el (org-publish-org-to-org): New function.
3880 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3882         * org.el (org-yank): Just call `org-yank-generic'.
3883         (org-yank-generic): New function, containing the formaer
3884         functionality of `org-yank'.
3886         * org-latex.el (org-export-latex-not-done-keywords)
3887         (org-export-latex-done-keywords): New variables.
3888         (org-export-latex-todo-keyword-markup): New option.
3889         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3890         (org-export-latex-keywords-maybe): Apply the TODO markup.
3892 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3894         * org-exp.el (org-infile-export-plist): Add more default macros.
3895         (org-export-preprocess-apply-macros): Process macro arguments.
3897 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3899         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3900         `unblocked'.
3901         (org-print-icalendar-entries): Respect the new value of
3902         `org-icalendar-include-todo'.
3904         * org.el (org-link-try-special-completion)
3905         (org-file-complete-link): New functions.
3906         (org-insert-link): Add special completion support for some link
3907         types.
3909         * org-bbdb.el (org-bbdb-complete-link): New function.
3911 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3913         * org-list.el (org-update-checkbox-count): Allow recursive
3914         statistics.
3915         (org-hierarchical-checkbox-statistics): New option.
3917         * org.el (org-cycle): Remove erraneous space character.
3919         * org-icalendar.el (org-icalendar-timezone): Initialize from
3920         environment.
3922         * org-html.el (org-format-org-table-html): Specify the scope.
3923         (org-format-table-table-html): Specify the scope.
3924         (org-export-table-header-tags): Prepare the scope parameter.
3926 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3928         * org-html.el
3929         (org-export-html-table-use-header-tags-for-first-column): New
3930         option.
3932         * org.el (org-autoload): Fix autoloading of ascii export
3933         functions.
3934         (org-modules): Add org-special-blocks.
3936 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3938         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3939         (org-ical-timezone): New option.
3941         * org-exp.el (org-export-get-coderef-format): Use the description
3942         is present.
3944         * org.el (org-sort-entries-or-items): Improve docstring, and make
3945         better implementation for time sorting.
3947 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3949         * org.el (org-edit-src-persistent-message): New option.
3950         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3951         option.
3953         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3954         patch.
3956         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3957         separate buffer instead of indirect buffer to edit source code.
3958         (org-edit-src-exit): Make this function work with the new setup.
3960         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3961         are properly fontified before shown in the selection menu.
3963         * org.el (org-fontify-like-in-org-mode): New function.
3965         * org-latex.el (org-export-latex-links): Use the property list to
3966         retrieve the default image attributes.
3968         * org-exp.el (org-export-plist-vars): Add a new option.
3970 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3972         * org-exp.el (org-export, org-export-visible): Support ASCII
3973         export to buffer
3974         (org-export-normalize-links): Do not protect the description if it
3975         is explicitly given.
3977         * org-ascii.el (org-export-as-ascii-to-buffer)
3978         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3979         commands.
3980         (org-export-as-ascii): Add all the same parameters that are also
3981         supported by the other export functions.
3983         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3984         org-checklist.el.
3985         (org-reset-checkbox-state-subtree): Call
3986         `org-reset-checkbox-state-subtree'.
3988         * org-remember.el (org-select-remember-template): For the
3989         selection of a valid template.
3991         * org-latex.el (org-export-region-as-latex): Supply the
3992         force-no-subtree argument.
3993         (org-export-as-latex): Provide better limits when exporting the
3994         first line.  When exporting to string, we still want the first
3995         lines.
3996         (org-export-latex-first-lines): New argument END, to force the end
3997         of the region.
3998         (org-export-region-as-latex): Use the property list.
3999         (org-export-as-latex):
4001         * org-colview-xemacs.el (org-columns-remove-overlays)
4002         (org-columns): Fix call to `local-variable-p'.
4004 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
4006         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
4007         (org-export-as-html): Run the new hook.
4009         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
4010         (org-export-latex-preprocess): Run the new hook.
4012         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
4013         (org-export-preprocess-string): Run the new hook.
4015 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
4017         * org-macs.el (org-check-external-command): New defsubst.
4019         * org.el (org-mode-map): New key for reload.
4020         (org-format-latex): Better error message when external programs
4021         are not available.
4023         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
4025         * org.el (org-sort-entries-or-items): Explicit sorting function
4026         for priorities, needed for XEmacs compatibility.
4028         * org-remember.el (org-remember-apply-template): Improve auto-save
4029         behavior.
4031 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
4033         * org-latex.el (org-export-latex-preprocess): Also protect
4034         environments ending in a star.
4036         * org-list.el (org-at-item-p): Fix regular expression.
4038 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
4040         * org.el (org-end-of-subtree): Improve speed.
4042         * org-agenda.el (org-agenda-get-timestamps)
4043         (org-agenda-get-progress, org-agenda-get-deadlines)
4044         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
4045         in particular, wait as long as possible to collect the tags.
4046         (org-stuck-projects): Improve docstring.
4048         * org.el (org-store-link): No errors when getting custom id before
4049         first headline.
4050         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
4052 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
4054         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
4056         * org-protocol.el: Remove dependency on url.el.
4057         (org-protocol-unhex-compound, org-protocol-open-source): Remove
4058         dependency on url.el.
4060         * org-latex.el (org-export-as-pdf): Use
4061         `org-latex-to-pdf-process'.
4063 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
4065         * org-latex.el (org-latex-to-pdf-process): New option.
4067         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
4068         New option.
4069         (org-agenda-get-timestamps): Honor
4070         `org-agenda-skip-additional-timestamps-same-entry'.
4072         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
4073         (org-clock-goto): Find recent task only if
4074         `org-clock-goto-may-find-recent-task' allows it.
4076         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
4077         drawers, and drawers that are missing the :END: line.
4079 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4081         * org-clock.el (org-clock-goto): Go to recently clocked task if no
4082         clock is running.
4084 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4086         * org.el (org-update-parent-todo-statistics): Check for
4087         STATISTICS_FROM property.
4089         * org-list.el (org-update-checkbox-count): Check for
4090         STATISTICS_FROM property.
4092         * org.el (org-tab-first-hook)
4093         (org-tab-after-check-for-table-hook)
4094         (org-tab-after-check-for-cycling-hook): New hooks.
4095         (org-cycle-internal-global, org-cycle-internal-local): New
4096         functions, split out from `org-cycle'.
4097         (org-cycle): Call the new hooks.
4099 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
4101         * org-exp.el (org-export-preprocess-string): Reset the list of
4102         preferred targets for each run of the preprocessor.
4104         * org.el (org-refile-target-verify-function): Improve
4105         documentation.
4106         (org-get-refile-targets): Respect point being moved by the
4107         verification function.
4109         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
4110         option.
4111         (org-export-latex-keywords): Use new option.
4113         * org.el (org-rear-nonsticky-at): New defsubst.
4114         (org-activate-plain-links, org-activate-angle-links)
4115         (org-activate-footnote-links, org-activate-bracket-links)
4116         (org-activate-dates, org-activate-target-links)
4117         (org-activate-tags): Place the rear-nonsticky properties at the
4118         correct location.
4120 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
4122         * org-protocol.el (server-edit): Declare `server-edit'.
4123         (org-protocol-unhex-string, org-protocol-unhex-compound): New
4124         functions.
4125         (org-protocol-check-filename-for-protocol): Call `server-edit'.
4127         * org.el (org-default-properties): New default properteis for
4128         completion.
4130         * org-exp.el (org-export-add-subtree-options): Add new properties
4131         for subtree export.
4133         * org-docbook.el (org-export-docbook-keywords-markup)
4134         (org-export-docbook-timestamp-markup): New options.
4135         (org-export-docbook-protect-tags): New function.
4137 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
4139         * org-id.el (org-id-get-with-outline-path-completion): Turn off
4140         org-refile-target-verify-function for the duration of the command.
4142         * org.el (org-link-to-org-use-id): New possible value
4143         `create-if-interactive-and-no-custom-id'.
4144         (org-store-link): Use custom IDs.
4145         (org-link-search): Find custom ID properties from #link.
4146         (org-default-properties): Add CUSTOM_ID for property completion.
4147         (org-refile-target-verify-function): New option.
4148         (org-goto): Turn off org-refile-target-verify-function
4149         for the duration of the command.
4151 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
4153         * org-html.el (org-export-as-html): Use custom IDs in the toc.
4155         * org-exp.el (org-export-preferred-target-alist): New variable.
4156         (org-export-define-heading-targets): Find the new CUSTOM_ID
4157         property.
4158         (org-export-target-internal-links): Target the custom ids when
4159         possible.
4161         * org-latex.el (org-export-latex-preprocess): Better regexp for
4162         matching latex macros with arguments.
4164 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
4166         * org-remember.el (org-remember-handler): Allow filing to non-org
4167         files.
4169 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
4171         * org-feed.el (org-feed-alist): New keyword options.
4172         (org-feed-update): Use the new options.
4173         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
4174         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
4175         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
4176         functions.
4178         * org-table.el (org-table-fix-formulas): Do not change references
4179         to remote tables.
4180         (org-table-get-remote-range): Convert standard coordinates to RC
4181         format.
4183         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4185 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
4187         * org-compat.el (org-sha1-string): Function removed.
4189         * org.el (org-refile-allow-creating-parent-nodes): New option.
4190         (org-refile-get-location): New argument NEW-NODES.
4191         (org-refile): Call `org-refile-get-location' with the new
4192         argument.
4193         (org-refile-get-location): Arrange for adding a new child.
4194         (org-refile-new-child): New function.
4196         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
4197         an additional span element.
4199         * org-clock.el: Fix a number of docstrings.
4200         (org-clock-find-position): New argument
4201         FIND-UNCLOSED to make the function find an unclosed clock in the
4202         entry.
4203         (org-clock-in): Call `org-clock-find-position' with the new
4204         argument if we might be resuming a clock.
4206 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
4208         * org-latex.el (org-export-latex-display-custom-times): New variable.
4209         (org-export-latex-timestamp-markup): New option.
4210         (org-export-latex-set-initial-vars): Remember the local value of
4211         `org-display-custom-times'.
4212         (org-export-latex-content): Process time stamps.
4213         (org-export-latex-time-stamps): New function.
4215         * org-macs.el (org-maybe-intangible): Add intangible property
4216         again to invisible text.
4218 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
4220         * org-exp.el (org-default-export-plist): Handle undefined
4221         variables.
4223 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
4225         * org.el (org-sort-entries-or-items): Match TODO keywrds
4226         case-sensitively, when sorting.
4227         (org-priority): Do not match TODO keywords with wrong case.
4229 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
4231         * org-feed.el (org-feed-update): Bind the variable
4232         `new-formatted'.
4234         * org-html.el (org-export-as-html): Start paragraphs after literal
4235         examples.
4237         * org-docbook.el (org-export-as-docbook): Start paragraphs after
4238         literal examples.
4240 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
4242         * org.el (org-todo): Honor the NOBLOCKING property.
4244         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4245         NOBLOCKING property.
4247         * org.el (org-scan-tags): Fix bug in tag scanner
4249 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
4251         * org.el (org-modules): Mark obsolete packages.
4253         * org-html.el: New file, split out from org-exp.el.
4255         * org-icalendar.el: New file, split out from org-exp.el.
4257         * org-xoxo.el: New file, split out from org-exp.el.
4259         * org-ascii.el: New file, split out from org-exp.el.
4261 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
4263         * org-compat.el (org-find-library-name): New function.
4265         * org.el (org-pre-cycle-hook): New hook.
4266         (org-cycle): Call the new hook in appropriate places.
4267         (org-reload): Only reload files that have been loaded before.
4269 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
4271         * org.el (org-set-font-lock-defaults): Enforxe space or line end
4272         after todo keyword.
4273         (org-todo): When changing TODO state, do matching
4274         case-sensitively.
4275         (org-map-continue-from): New variable.
4276         (org-scan-tags): Respect values in `org-map-continue-from'.
4277         (org-reload): Make XEmacs compatible.
4279 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
4281         * org-protocol.el (org-protocol-flatten-greedy): New function.
4282         (org-protocol-flatten): New function.
4284         * org.el (org-open-link-from-string): Pass reference buffer to
4285         `org-open-at-point'.
4286         (org-open-at-point): New optional argument `reference-buffer'.
4288 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
4290         * org.el (org-scan-tags): Make tag scan find headline in first
4291         line, 2nd attempt.
4292         (org-get-refile-targets): Add the naked file name.
4293         (org-refile): Store as top-level entry when only file name was
4294         given.
4296         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4298         * org.el (org-block-todo-from-children-or-siblings-or-parent):
4299         Renamed from org-block-todo-from-children-or-siblings, and
4300         enhanced to look for the parent's status as well.
4302         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4303         (org-agenda-get-progress): Add first notes line to log entry if so
4304         desired.
4306 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
4308         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4309         (org-agenda-cleanup-fancy-diary): Call the new hook.
4311         * org-remember.el (org-remember-apply-template): Take the default
4312         for the annotation from the :annotation property.
4314         * org-mac-message.el (org-mac-message-get-link): Remove the
4315         quotes.
4316         (org-mac-message-get-link): Return the result.
4318 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
4320         * org.el (org-refile-get-location): Add file name only if not
4321         already included in outline path.
4323         * org-faces.el (org-n-level-faces): Fix customization type from
4324         number to integer.
4326         * org-exp.el (org-export-headline-levels): Fix customization type
4327         from number to integer.
4329         * org-agenda.el (org-agenda-confirm-kill)
4330         (org-agenda-custom-commands-local-options)
4331         (org-timeline-show-empty-dates, org-agenda-ndays)
4332         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4333         customization type from number to integer.
4335 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
4337         * org-protocol.el: Declare some functions.
4339         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
4340         postion before inserting modified headline.
4342         * org-agenda.el (org-agenda-compare-effort): Honor
4343         `org-sort-agenda-noeffort-is-high'.
4344         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4345         (org-agenda-compare-effort): Implement the "?" operator for
4346         finding entries without effort setting.
4348         * org.el (org-extract-attributes-from-string): New function.
4350         * org-exp.el (org-export-splice-attributes): New function.
4352 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
4354         * org-mouse.el: XEmacs compatibility fixes
4356         * org-docbook.el (org-export-as-docbook): Process footnotes like
4357         normal text.
4359         * org.el (org-modules): Add org-inlinetasks.el
4360         (org-cycle): Implement limiting level on cycling.
4361         (org-move-subtree-down): Fix bug with swapping subtrees at end of
4362         buffer.
4364         * org-inlinetask.el: New file.
4366         * org.el (org-emphasis-regexp-components): Allow braces in
4367         emphasis pre and post match.
4369         * org-footnote.el (org-footnote-normalize): When only dorting, do
4370         not insert inline notes at the end.
4372         * org-docbook.el (org-id-find-id-file): Add function declaration.
4374         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4376         * org-docbook.el: New file.
4378 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
4380         * org.el (org-reftex-citation): New command.
4382 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
4384         * org-agenda.el (org-agenda-cmp-user-defined): New option.
4385         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4386         sorting options.
4387         (org-entries-lessp): Apply the new sorting option.
4389         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4390         blocker code, when an older sibling has children.
4392         * org-mac-message.el (org-mac-message-get-link): Improve getting
4393         links from multiple selected messages.
4395 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
4397         * org-remember.el (org-remember-finalize): Do not set buffer file
4398         name to nil.
4399         (org-remember-handler): Mark buffer as unmodified.
4400         (org-remember-handler): Delete backup file and show message about
4401         remaining backup files.
4402         (org-remember-auto-remove-backup-files): New option.
4404         * org.el (org-store-link): Use buffer name as link description in
4405         w3-mode buffers.
4406         (org-ido-switchb): Fix argument bug for completion.
4408         * org-remember.el (org-remember-apply-template): Set local
4409         variable `auto-save-visited-file-name' instead of global one.
4411 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
4413         * org-feed.el: Re-write.
4415         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4416         (org-agenda-get-todos): Mark file tags as inherited.
4417         (org-agenda-list): Always search diary lines for a time.
4419 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
4421         * org-feed.el (org-feed-assume-stable): New option.
4422         (org-feed-before-adding-hook): New hook.
4424         * org-exp.el (org-export-as-html): Close local lists depending on
4425         indentation, also when starting a table.
4427         * org-remember.el (org-remember-backup-directory)
4428         (org-remember-backup-name): New internal variable.
4430 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
4432         * org-clock.el (org-clock-out-if-current): Make buffer detection
4433         work in indirect buffers as well.
4435         * org.el (org-emphasis-regexp-components): Add the exxclamation
4436         mark to the post-emphasis characters.
4438 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
4440         * org.el (org-read-date-minibiffer-septup-hook): New hook.
4441         (org-read-date): Run the new hook.
4443         * org-mac-message.el (org-mac-flagged-mail): New group.
4444         (org-mac-mail-account): New variable.
4445         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4446         commands.
4448         * org-remember.el (org-remember-backup-directory): New variable.
4449         (org-remember-apply-template): Write file to backup directory.
4451 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
4453         * org-mouse.el (org-mouse-todo-menu): New function.
4454         (org-mouse-todo-keywords): Function removed.
4455         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4457         * org-table.el (org-table-beginning-of-field)
4458         (org-table-end-of-field): New commands
4459         (org-table-previous-field, org-table-beginning-of-field): Better
4460         error messages.
4461         (orgtbl-setup): Include `M-a' and `M-e'.
4463         * org.el (org-backward-sentence, org-forward-sentence): New
4464         commands.
4466         * org-colview.el (org-colview-initial-truncate-line-value): New
4467         variable.
4468         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4469         (org-columns): Remember the value of `truncate-lines'.
4471         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4472         New variable.
4473         (org-columns-remove-overlays): Restore the value of
4474         `truncate-lines'.
4475         (org-columns): Remember the value of `truncate-lines'.
4477         * org.el (org-columns-skip-arrchived-trees): New option.
4479         * org-agenda.el (org-agenda-export-html-style): Define color for
4480         org-agenda-done face.
4481         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4482         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4484         * org.el (org-scan-tags): Use the new face.
4486         * org-faces.el (org-agenda-done): New face.
4488         * org.el (org-scan-tags): Test the value org
4489         `org-tags-match-list-sublevels'.
4490         (org-tags-match-list-sublevels): New allowed value: indented.
4492         * org-export-latex.el (org-export-latex-make-header): Apply macros
4493         in header.
4495         * org-exp.el (org-export-apply-macros-in-string): New function.
4497         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4498         with the definition of a checked box.
4500         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4502         * org-export-latex.el (org-export-latex-low-levels): More options
4503         for how to process lower levels in LaTeX.
4504         (org-export-latex-subcontent): Better treatment for lists as a
4505         means of publishing lower levels.
4507 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4509         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4511         * org-faces.el (org-checkbox): New face.
4513         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4514         fragement images if there is an export file.
4516 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4518         * org-agenda.el (org-stuck-projects): Document that the subtree of
4519         projects that are not stuck will now be searched for stuck
4520         sub-projects.
4521         (org-agenda-skip-entry-when-regexp-matches)
4522         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4523         (org-agenda-list-stuck-projects): Use
4524         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4526         * org-export-latex.el (org-export-latex-preprocess): Improve
4527         export of verses.
4529         * org-exp.el (org-export-as-html): Implement centering as a div
4530         rather than a paragraph.  Do a better job with line-end in verse
4531         environments.
4533 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4535         * org.el (org-open-at-point): Fix tags searches by mouse click.
4537 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4539         * org-export-latex.el (org-export-latex-preprocess): Implement the
4540         centering markup.
4542         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4543         from `org-export-mark-blockquote-and-verse'.
4544         (org-export-as-html): Implement the centering markup.
4546         * org-export-latex.el (org-export-latex-tables): Fix vertical
4547         lines in tables.
4549 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4551         * org.el (org-read-date-history): New variable.
4552         (org-read-date): Use new history variable.
4553         (org-toggle-heading): Fix bug when used before first headline.
4554         (org-store-log-note): Remove drawer if empty while note is
4555         aborted.
4556         (org-remove-empty-drawer-at): New function.
4557         (org-check-after-date): New command.
4558         (org-sparse-tree): New sparse tree command "a".
4560         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4562 2009-03-14  Bastien Guerry  <bzg@altern.org>
4564         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4565         column and a space, not only a column.
4567 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4569         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4570         defaults for verbose emphasis.
4571         (org-export-latex-emph-format): New function.
4572         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4574         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4575         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4576         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4577         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4578         commands.
4580         * org.el (org-timestamp-change): Move end-time along with start
4581         time.
4583 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4585         * org-exp.el (org-export-target-internal-links)
4586         (org-export-as-html): Protect links specified as #name.
4588 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4590         * org.el (org-clone-subtree-with-time-shift): New command.
4592         * org-export-latex.el (org-export-latex-special-chars)
4593         (org-export-latex-treat-sub-super-char): Fix subscript export.
4595         * org-exp.el (org-create-multibrace-regexp): Do not add
4596         backslashes to the class.
4598 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4600         * org-colview.el (org-columns-map): Better functions for moving up
4601         and down a row, even if `truncate-line' is nil.
4603         * org.el (org-insert-todo-heading): Make sure the keyword is
4604         inserted at the correct position.
4606         * org-publish.el (org-publish-project-alist)
4607         (org-publish-projects, org-publish-org-index): Change default anme
4608         for the index of file names to "sitemap.org".
4610         * org-export-latex.el (org-export-latex-tables): Use
4611         `org-split-string', for Emacs 21 compatibility.
4613 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4615         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4617 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4619         * org-exp.el (org-export-page-description)
4620         (org-export-page-keywords): New variables.
4621         (org-export-plist-vars): Add entries for :keywords and
4622         :description.
4623         (org-infile-export-plist): Parse for new keywords.
4624         (org-get-current-options): Add new keywords
4625         (org-export-as-html): Publish description and keywords.
4627         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4628         option.
4629         (org-agenda-add-entry-text): Honor
4630         `org-agenda-add-entry-text-descriptive-links'.
4632         * org-export-latex.el (org-export-latex-preprocess): Make all
4633         external preprocess functions use a PARAMETER arg.
4635         * org-exp.el (org-export-preprocess-string)
4636         (org-export-select-backend-specific-text)
4637         (org-export-format-source-code-or-example)
4638         (org-format-org-table-html): Support docbook export.
4639         (org-export-preprocess-string): Make all external preprocess
4640         functions use a PARAMETER arg.
4642 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4644         * org-exp.el (org-export-html-style-include-scripts): New option.
4645         (org-export-plist-vars): Add new option
4646         `org-export-html-style-include-scripts'.
4647         (org-export-as-html): Honor new option
4648         `org-export-html-style-include-scripts'.
4649         (org-export-html-scripts, org-export-html-style-default): Fix
4650         xml issues with the Safari browser.
4652 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4654         * org-publish.el (org-publish-attachment): Only copy file when the
4655         directories differ.
4657 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4659         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4660         for clocktable steps.
4662         * org.el (org-additional-option-like-keywords): Add two more
4663         keywords.
4665 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4667         * org-exp.el (org-export-format-source-code-or-example): Mark
4668         temporary buffer unmodified, so that it will be killed even if
4669         mode like message mode has decided to assign a file name.
4671         * org.el (org-scan-tags): Improve tag inheritance.
4672         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4673         case-sensitive.
4674         (org-scan-tags): Use the internal tags list instead of creating it
4675         from scratch.
4676         (org-trust-scanner-tags, org-scanner-tags): New variables.
4677         (org-scan-tags): Set `org-scanner-tags'.
4678         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4679         (org-map-entries): Document the possible speedup using scanner
4680         tags.
4682 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4684         * org.el (org-add-planning-info): Fix bug with looking for keyword
4685         only at column 0.
4687         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4688         option for tags filter preset.
4689         (org-prepare-agenda): Store filter preset as a property on the
4690         filter variable.
4691         (org-finalize-agenda): Call the filter, if there is a preset.
4692         (org-agenda-filter-by-tag): Filter again after clearing the
4693         filter, when there still is a preset.
4694         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4695         Include the preset filter.
4696         (org-agenda-redo): Apply the filter again, also the preset filter.
4698         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4700         * org.el (org-uuidgen-p): New funtion.
4702         * org-agenda.el (org-agenda-fontify-priorities): New default value
4703         `cookies'.
4704         (org-agenda-fontify-priorities): Renamed from
4705         org-fontify-priorities.
4707         * org.el (org-set-font-lock-defaults): Call
4708         `org-font-lock-add-priority-faces'.
4709         (org-font-lock-add-priority-faces): New function.
4711         * org-faces.el: (org-set-tag-faces): New option.
4712         (org-priority-faces): New variable.
4714         * org-exp.el (org-export-as-html): Add a "content" div around the
4715         entire content of the body tag.
4716         (org-export-html-get-bibliography): New function.
4717         (org-export-html-validation-link): New variable.
4718         (org-export-as-html): Add validation link to exported page.
4720         * org.el (org-match-sparse-tree): Renamed from
4721         `org-tags-sparse-tree'.
4722         (org-tags-sparse-tree): New alias.
4724 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4726         * org.el (org-get-valid-level): Catch the case where the level
4727         change is nil.
4729         * org-clock.el (org-clock-find-position): Better indentation of
4730         new clock drawers.
4732 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4734         * org-agenda.el (org-agenda-quit): Delete window only when the
4735         frame-setup was not `current-window'.
4737         * org.el (org-tag-persistent-alist): New option.
4738         (org-startup-options): Add keyword `noptag'.
4739         (org-fast-todo-selection): Handle :newline correctly.
4740         (org-set-tags): Handle :newline correctly.
4741         (org-fast-tag-selection): Handle :newline correctly.
4743 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4745         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4746         outputting it.
4747         (org-export-ascii-push-links): Fix bug with pussing links into the
4748         export buffer.
4750 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4752         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4753         pasting at top level.
4755         * org-bbdb.el: Improve documentation.
4757 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4759         * org-list.el (org-insert-item): Only consider insert empty lines
4760         is `org-empty-line-terminates-plain-lists' is not nil.
4762         * org.el (org-blank-before-new-entry): Mention the dependence on
4763         `org-empty-line-terminates-plain-lists' in the docstring.
4765         * org-publish.el (org-publish-get-project-from-filename): New
4766         optional argument UP.  Only find the top project if UP is set.
4767         (org-publish-current-project): Find the top encloding project.
4769         * org-agenda.el (org-agenda-before-write-hook)
4770         (org-agenda-add-entry-text-maxlines): New options.
4771         (org-write-agenda): Run the new hook in the temporary buffer.
4772         (org-agenda-add-entry-text): New function.
4773         (org-write-agenda): Implement PDF export, using ps2pdf.
4775         * org.el (org-global-properties-fixed, org-global-properties):
4776         Improve documentation string.
4778         * org-exp.el (org-export-ascii-links-to-notes): New option.
4779         (org-export-as-ascii): Handle links better.
4780         (org-export-ascii-wrap, org-export-ascii-push-links): New
4781         functions.
4783 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4785         * org-agenda.el (org-agenda): Make prefix arg optional.
4786         (org-agenda-search-headline-for-time): New option.
4787         (org-format-agenda-item): Honor
4788         `org-agenda-search-headline-for-time'.
4790         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4791         characters.
4793         * org.el (org-self-insert-cluster-for-undo): New option.
4794         (org-self-insert-command): Cluster undo for 20 characters.
4795         (org-self-insert-command-undo-counter): New variable.
4797 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4799         * org-exp.el (org-export-as-html): Fix problem with closing colone
4800         example.
4802 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4804         * org-export-latex.el (org-export-as-latex)
4805         (org-export-latex-first-lines): Avoid modification flag when
4806         adding or removing text properties.
4807         (org-export-latex-fontify): Catch error when org-emph-alist has
4808         entries that are not defined for LaTeX export.
4810         * org.el (orgstruct++-mode): New function.
4811         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4812         (org-context-p): Allow detecting item context after the first line
4813         of an item.
4814         (orgstruct-make-binding): Detect if item-body context should be
4815         seen.
4816         (orgstruct-is-++): New variable.
4817         (org-add-planning-info): Catch the case when there is no planning
4818         info yet and the call does not want to add anything, only maybe
4819         tries to remove something.
4820         (org-special-ctrl-a/e): All value to be a cons cell with separate
4821         settings for `C-a. and `C-e'.
4822         (org-beginning-of-line, org-end-of-line): Honor separate values
4823         for `C-a' and `C-e'.
4825 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4827         * org.el (org-reload): New command.
4829 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4831         * org-exp.el (org-export-htm-get-tag-class-name)
4832         (org-export-htm-get-todo-kwd-class-name): New functions.
4833         (org-export-html-tag-class-prefix)
4834         (org-export-html-todo-kwd-class-prefix): New options.
4835         (org-export-as-html): Call
4836         `org-export-html-get-todo-kwd-class-name'.
4837         (org-html-level-start): Wrap tags into classes.
4838         (org-export-html-get-tag-class-name)
4839         (org-export-html-get-todo-kwd-class-name): New functions.
4841         * org-export-latex.el (org-export-latex-collect-header-macros):
4842         Remove fields that are used anyway.
4843         (org-export-latex-make-header): Insert the options earlier.
4845         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4846         matching.
4848         * org-list.el (org-indent-item): Allow point to be at the end of
4849         the region.
4851         * org.el (org-metaleft, org-metaright): Be more accurate about
4852         detecting a region where commands apply.
4854         * org-compat.el (org-cursor-to-region-beginning): New function.
4856         * org.el (org-priority): Also find invisible heading.
4858         * org-colview-xemacs.el (org-columns-edit-value): No special
4859         treatment for `org-todo' prefix.
4861         * org-colview.el (org-columns-edit-value): No special treatment
4862         for `org-todo' prefix.
4864         * org-remember.el (org-remember-apply-template): Use
4865         `org-completing-read-no-ido'.
4867         * org.el (org-completing-read-no-ido): New function.
4868         (org-make-tags-matcher, org-set-property): Use
4869         `org-completing-read-no-ido'.
4871         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4872         New option.
4873         (org-export-as-latex): Import in-buffer settings as TeX macros.
4874         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4875         (org-export-latex-collect-header-macros): New function.
4877         * org.el (org-refile-get-location): Turn off
4878         `partial-completion-mode'.
4880 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4882         * org.el (org-block-todo-from-checkboxes): Announce that
4883         checkboxes are the culprit.
4884         (org-block-todo-from-children-or-siblings): Call
4885         `org-up-heading-all instead' of `outline-up-heading'.
4887         * org-agenda.el (org-agenda-show-1): Renamed from
4888         `org-agenda-show'.
4889         (org-agenda-show): Re-install the old version for now.
4890         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4891         variable into the blokker hook, so that the checkbox checker can
4892         anounce that it caused the blocking.
4894         * org.el (org-track-ordered-property-with-tag): New option.
4895         (org-toggle-ordered-property): Honor
4896         `org-track-ordered-property-with-tag'.
4897         (org-tag-alist): Add newline options.
4898         (org-set-regexps-and-options): Separate option lines imply a
4899         newline.
4900         (org-set-regexps-and-options, org-assign-fast-keys)
4901         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4902         option.
4903         (org-indent-line-function): Make sure this works even if there is
4904         not `org-drawer-regexp' defined.  This can happen when
4905         orgstruct-mode is used in a non-org buffer.
4907         * org-list.el (org-checkbox-blocked-p): New function.
4908         (org-toggle-checkbox): Check for blocking.
4910         * org.el (org-modules): Add an entry for org-R.el.
4912         * org-agenda.el (org-agenda-todo-ignore-with-date)
4913         (org-agenda-todo-ignore-scheduled)
4914         (org-agenda-todo-ignore-deadlines): Mention the variable
4915         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4917         * org.el (org-get-wdays): Find the warning period also if it is in
4918         the wrong place.
4919         (org-ido-completing-read): Provide the correct arguments to
4920         ido-completing-read and bind `ido-enter-matching-directory' to
4921         nil.
4923 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4925         * org.el (org-olpath-completing-read): Never use ido for this
4926         one.
4928         * org-exp.el (org-export-normalize-links): Use new macro.
4930         * org-macs.el (org-if-unprotected-at): New macro.
4932         * org-agenda.el (org-agenda-show): Allow numerical prefix
4933         arguments to specify how much context should be shown.
4934         (org-agenda-cycle-show): New command, could be bound to SPC in
4935         org-agenda-mode-map.
4937         * org-exp.el (org-html-level-start): Space after section number.
4939 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4941         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4942         property, for sorting.
4943         (org-cmp-todo-state): Get the applicable TODO keywords directly
4944         from the buffer.
4945         (org-run-agenda-series, org-agenda-list, org-search-view)
4946         (org-todo-list, org-tags-view): Only fit agenda window when the
4947         whole series is done.
4949         * org.el (org-scan-tags): Add todo state as property, for sorting.
4951         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4952         `org-agenda-overriding-header' as an option.
4953         (org-agenda-list): Honor org-agenda-overriding-header'.
4955 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4957         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4958         after removing a checkbox.
4960         * org.el (org-show-entry): Make this work correctly also if it is
4961         the last entry in the file.
4962         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4963         falling back to normal, default command.
4964         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4965         item, call the checkbox toggler to get a box.
4967         * org-list.el (org-toggle-checkbox): Make double prefix set the
4968         checkbox to "[-]".
4969         (org-fix-bullet-type): Only replace bullet if it is changed.
4970         (org-renumber-ordered-list): Handle case when first item does not
4971         have a number.
4973         * org.el (org-add-log-setup): Fix positioning when
4974         `org-log-states-order-reversed' is nil.
4976         * org-clock.el (org-clock-in): Fix positioning when
4977         `org-log-states-order-reversed' is nil.
4978         (org-clock-find-position): Fix positioning when
4979         `org-log-states-order-reversed' is nil.
4981 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4983         * org-clock.el (org-clock-into-drawer): Take default from
4984         `org-log-into-drawer'.
4985         (org-clock-find-position): Look for the correct drawer.
4987         * org.el (org-log-into-drawer): Renamed from
4988         `org-log-state-notes-into-drawer'.
4989         (org-log-state-notes-into-drawer): New variable alias.
4990         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4991         CLOCK.
4992         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4994 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4996         * org-agenda.el (org-agenda): Fix docstring.
4998         * org.el ("org-plot"): Help loading org-plot.
4999         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
5000         (org-metadown-hook, org-shiftmetaleft-hook)
5001         (org-shiftmetaright-hook, org-shiftmetaup-hook)
5002         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
5003         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5004         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
5005         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
5007         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
5008         for selecting files with any (and even without) extension.
5010         * org.el (org-save-all-org-buffers): Also save id locations.
5011         (org-revert-all-org-buffers): Also load id locations.
5013 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
5014         * org.el (org-drawers): Add LOGBOOK to the default drawers.
5015         (org-log-state-notes-into-drawer): New option.
5016         (org-add-log-setup): Place the sate note marker into the drawer,
5017         create drawer when necessary.
5018         (org-refile-targets): Document special interpretation of LEVEL
5019         when odd-levels are used.
5021 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
5023         * org.el (org-store-log-note): Fix note indentation when adding
5024         notes to end of list.
5026         * org-exp.el (org-export-as-html): Add TODO keyword as extra
5027         class, so that each keyword can get special colors through CSS.
5029         * org-clock.el (org-clock-out): Add another nil for the previous
5030         state into the call to `org-add-log-setup'.
5032         * org.el (org-log-note-previous-state): New variable.
5033         (org-log-note-headings): New %S escape for old state.
5034         (org-todo): Call the note setup with the old state as an
5035         argument.
5036         (org-add-note): Add another nil for the previous state into the
5037         call to `org-add-log-setup'.
5038         (org-add-log-setup): New argument PREV-STATE.
5039         (org-add-log-note): Handle new %S escape.
5040         (org-store-log-note): Handle new %S escape.
5042 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
5044         * org-clock.el (org-clock-find-position): Do not swallow an item
5045         less indented than the CLOCK line itself.
5046         (org-clock-in): Push markers to lin after the clock line.
5047         (org-clock-find-position): Handle values of
5048         `org-clock-into-drawer' smaller than 2.
5050         * org-exp.el (org-html-level-start): Add a CSS class to section
5051         numbers.
5052         (org-export-html-toplevel-hlevel): Better documentation of the
5053         influence of this variables on H levels and css classes in
5054         export.
5056 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
5058         * org-agenda.el (org-agenda-custom-commands-local-options): Add
5059         timestamp and nottimestamp to the chooe menu.
5061         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
5062         (org-revert-all-org-buffers): New command.
5064 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
5066         * org.el (org-return): Implement `org-return-follows-link' in the
5067         function org-return.  This is more robust than using the mouse
5068         map, I think.
5069         (org-set-regexps-and-options): Match more general #+TODO lines.
5070         (org-make-options-regexp): New optional argument EXTRA, for an
5071         extra regexp.
5072         (org-tab-follows-link): Mark as deprecated.
5074 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
5076         * org-exp.el (org-export-preprocess-string): Remove clock lines
5077         earlier, so that they cannot cotribute to verbatim snippets.
5079 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
5081         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
5082         for finding drawers.
5083         (org-export-as-ascii, org-export-as-html): Count levels relative
5084         to the subtree header.
5085         (org-get-min-level): New optional argument OFFSET.
5086         (org-export): Make sure point is restored after popping up that
5087         window.
5089         * org.el (org-do-sort): Also take an inactive timestamp if no
5090         active one is found.
5092         * org-colview-xemacs.el (org-columns-capture-view): Copy before
5093         deleting duplicates.
5095         * org-colview.el (org-columns-capture-view): Copy before
5096         deleting duplicates.
5098         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
5099         text before first headline.
5101         * org.el (org-format-latex): Do not convert LaTeX fragments in
5102         protected examples.
5104 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
5106         * org-exp.el (org-export-html-style-default): Use color values
5107         instead of names for XHTML validation.
5109         * org.el (org-get-scheduled-time, org-get-deadline-time): New
5110         functions.
5111         (org-return-follows-link): Revert making this the default untile
5112         issues are resolved.
5114         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
5115         nottimestamp.
5117 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
5119         * org.el (org-mode): Make dependence stuff work more reliably.
5120         (org-update-parent-todo-statistics): Fix bug with updating
5121         statistics cookie.
5123         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
5124         ~ as verbatim delimiters.
5126         * org-exp.el (org-export-html-format-image): New argument
5127         PAR-OPEN.
5128         (org-export-as-html): Pass par-open to
5129         `org-export-html-format-image'.
5131 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
5133         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
5134         (org-use-fast-todo-selection, org-tags-column): New default
5135         setting for variables, based on a poll what typical uses use.
5137         * org-agenda.el (org-agenda-sorting-strategy)
5138         (org-agenda-tags-column): New default setting for variables, based
5139         on a poll what typical uses use.
5141 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
5143         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
5144         blocked entries from setting the blocked tag.
5146         * org-exp.el (org-export-html-footnotes-section): Use a more
5147         consistent id for footnotes.
5149         * org-export-latex.el (org-export-latex-classes): Remove the
5150         a4paper option from the default styles.
5152 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
5154         * org.el (org-enforce-todo-checkbox-dependencies): New option.
5155         (org-block-todo-from-checkboxes): New function.
5156         (org-todo): Make tripple prefix arg circumvent blocking.
5158         * org-timer.el (org-timer): Provide the timer feature.
5160         * org.el (org-require-autoloaded-modules): Add a few more files to
5161         the list of autoloaded modules.
5163         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5165 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
5167         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5168         drawers that are unprotected.
5169         (org-export-html-format-image): Make sure inlined LaTeX fragment
5170         images remain inlined.
5172         * org.el (org-toggle-ordered-property): New function.
5173         (org-mode-map): Add a key for `org-toggle-ordered-property'.
5174         (org-org-menu): Add menu entries for TODO dependencies.
5176 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
5178         * org.el (org-default-properties): Add ORDERED to the default
5179         properties, to get completion support for it.
5181         * org-list.el (org-update-checkbox-count): Update more than one cookie.
5183         * org.el (org-update-parent-todo-statistics): Update more than one
5184         cookie.
5186         * org-agenda.el (org-agenda-get-todos): Start search from correct
5187         position.
5189         * org.el (org-fast-todo-selection): Make sure TODO selection does
5190         not change buffer position.
5192         * org-list.el (org-toggle-checkbox): Implement adding or removing
5193         checkboxes from line or region when called with a prefix
5194         argument.
5196         * org-rmail.el (org-rmail-store-link): Protect the call to
5197         `rmail-narrow-to-non-pruned-header'.
5199         * org-clock.el (org-clock-special-range): Fix week display in
5200         clock tables.
5202         * org-exp.el (org-get-current-options): Fix bug when in indirect
5203         buffer.
5205 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
5207         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5208         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5209         (org-agenda-dim-blocked-tasks): New function.
5211         * org.el (org-enforce-todo-dependencies): New option.
5212         (org-block-todo-from-children-or-siblings): New function.
5214         * org-faces.el (org-agenda-dimmed-todo-face): New face.
5216         * org.el (org-todo): Return correct state type even if the blocker
5217         throws an error.
5218         (org-modifier-cursor-error): Renamed from
5219         `org-shiftcursor-error'.
5220         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5221         (org-shiftmetadown): Call `org-modifier-cursor-error'.
5223         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5224         to get real errors from the blocker hook.
5226         * org.el (org-shiftselect-error, org-call-for-shift-select): New
5227         functions.
5228         (org-set-visibility-according-to-property): Turn off the setting
5229         of `org-show-entry-below', to avoid overruling a FOLDED visibility
5230         property.
5232 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5234         * org.el (org-support-shift-select): New option.
5235         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5236         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5237         selection outside contexts.
5239         * org-list.el (org-at-item-bullet-p): New function.
5241         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5242         variables.
5244         * org-footnote.el (org-footnote-normalize): Remove unnecessary
5245         variable.
5246         (org-insert-footnote-reference-near-definition): Remove
5247         unnecessary let form.
5249         * org-export-latex.el (org-export-latex-first-lines): Add
5250         OPT-PLIST parameter.
5251         (org-export-as-latex): Call `org-export-latex-first-lines' with
5252         opt-plits parameter.
5253         (org-export-latex-preprocess): Remove unnecessary variables.
5255         * org-exp.el (org-infile-export-plist)
5256         (org-export-add-options-to-plist, org-export-kill-licensed-text)
5257         (org-export-remove-headline-metadata)
5258         (org-export-get-title-from-subtree, org-get-min-level)
5259         (org-html-do-expand): Remove innecessary let form.
5261         * org-colview-xemacs.el (org-columns-display-here): Remove
5262         unnecessary variables.
5264         * org-colview.el (org-columns-display-here): Remove unnecessary
5265         variables.
5267         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
5268         variables.
5270         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
5271         unnecessary variables.
5273         * org-agenda.el (org-search-view, org-agenda-get-blocks)
5274         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
5275         variables.
5277         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
5278         (org-compact-display-after-subtree-move): Remove unnecessary
5279         variables.
5280         (org-edit-fixed-width-region): Remove unnecessary variables.
5281         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
5282         (org-olpath-completing-read): Remove unnecessary variable.
5283         (org-auto-repeat-maybe): Remove unnecessary variable.
5284         (org-map-entries): Remove unnecessary variable.
5285         (org-buffer-property-keys, org-imenu-get-tree)
5286         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
5288 -----------------------------------------------------------------
5290 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5291         * org-exp.el (org-export-remove-timestamps): Never remove
5292         timestamps from tables.
5294         * org-export-latex.el (org-export-latex-first-lines): Add more
5295         options to the preprocessing of the text before the first
5296         headline.
5298 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
5300         * org-faces.el (org-clock-overlay): Make face compatible with
5301         XEmacs.
5303         * org.el (org-yank): Add property for delete-selection mode.
5305         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5307         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5308         variable.
5310         * org-table.el (org-table-insert-hline): Fix typo in fuction call
5311         to `backward-char'.
5313         * org-exp.el (org-export-as-html): Remove the initial space from
5314         colon examples.
5316         * org.el (org-scan-tags): Call
5317         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5319         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5320         customization groups.
5321         (org-agenda-tags-todo-honor-ignore-options): New option.
5322         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5323         New function.
5324         (org-agenda-get-todos): Use
5325         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5327 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
5329         * org-exp.el (org-export-format-source-code-or-example): Escape
5330         HTML characters also in examples that anre not treated with
5331         htmlize.  Also, just switch to EXAMPLE processing if we do not
5332         have a good version of htmlize.
5334         * org-rmail.el: Fix copyright notice.
5336         * org.el (org-activate-footnote-links): Improve footnote link
5337         highlighting.
5339         * org-footnote.el (org-footnote-normalize): Fix finding the end of
5340         a footnote definition at the end of the file.
5342         * org-table.el (org-table-get-specials): Add an imagined hline at
5343         the end of the table.  This can be useful for references that want
5344         to go to the end of the table.  Also fix bug when computing last
5345         row constants, in tables that do not start right at the right
5346         margin.
5347         (org-table-eval-formula): Match and replace remove references.
5348         (org-table-formula-substitute-names): Make sure that names inside
5349         a "remote" call are left alone, the will be replaced later when
5350         the remote call is handled.
5351         (org-table-convert-refs-to-rc): Do not convert things that might
5352         look like a reference, but are really part of an ID or namei n a
5353         remote reference.
5354         (org-table-get-remote-range): New function.
5356 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
5358         * org-faces.el (org-clock-overlay): Fix bug in face definition.
5360         * org-clock.el (org-clock-put-overlay): Use new face instead of
5361         `secondary-selection'.
5363         * org-faces.el (org-clock-overlay): New face.
5365 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
5367         * org-exp.el (org-get-current-options): Include the option for
5368         publishing time stamps.
5370         * org.el (org-toggle-heading): Renamed from
5371         `org-toggel-region-headings'.
5372         No longer needs a region defined, but will use it if there is one.
5373         (org-ctrl-c-star): Simplified, relying more on the internal
5374         workings of `org-toggle-heading'.
5375         (org-toggle-item): Renamed from `org-toggle-region-items'.
5376         No longer needs a region defined, but will use it if there is one.
5377         (org-ctrl-c-minus): Simplified, relying more on the inernal
5378         workings of `org-toggle-item'.
5380         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5381         environment detection.  Also, do real changes only in unprotected
5382         places.
5384 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
5386         * org-export-latex.el (org-export-latex-quotation-marks): Use
5387         `org-if-unprotected-1'.
5388         (org-export-latex-set-initial-vars): Check for class definition in
5389         property.
5391         * org-macs.el (org-if-unprotected-1): New macro.
5393 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
5395         * org-compat.el (org-count-lines): New function.
5397         * org-exp.el (org-export-format-source-code-or-example): Handle
5398         switches related to text areas.
5400         * org.el (org-activate-footnote-links): Don't allow match inside a
5401         link.
5403         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5405         * org-export-latex.el (org-export-latex-links): Keep a relative
5406         path relative also after export.
5408         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5410         * org.el (org-make-tags-matcher): Never use IDO for completing the
5411         tags matcher match string.
5412         (org-completing-read): Also remove the special biding for "?".
5414         * org-attach.el (org-attach-allow-inheritance): New option.
5415         (org-attach-inherited): New variable.
5416         (org-attach-dir): Handle properties related to the attachment
5417         directory.
5418         (org-attach-check-absolute-path): New function.
5419         (org-attach-set-directory, org-attach-set-inherit): New commands.
5420         (org-attach): Accommodate the new commands in the dispatcher.
5422 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
5424         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5425         `window-full-width-p'.
5427         * org-exp.el (org-export-as-html): Only check for images files
5428         that really can be inlined
5430         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5431         list of extensions to be a parameter.
5433         * org-exp.el (org-export-html-inline-image-extensions): New
5434         variable.
5436         * org-agenda.el (org-prepare-agenda): Use
5437         `org-agenda-block-separator'.
5438         (org-agenda-block-separator): New option.
5440 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
5442         * org-export-latex.el (org-export-latex-tables): Call
5443         `org-table-clean-before-export' with the new optional argument.
5445         * org-exp.el (org-table-clean-before-export): New optional
5446         parameter MAYBE-QUOTED, allows for quoted characters like \# in
5447         first column.
5449 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
5451         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5452         histograms.
5454         * org-colview.el (org-colview-construct-allowed-dates): Better
5455         error catching when a date/time property does not have allowed
5456         values defined.
5458         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5459         Better error catching when a date/time property does not have
5460         allowed values defined.
5462 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
5464         * org.el (org-map-entries): Restore point and restriction after
5465         `org-map-entries'.
5467 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
5469         * org.el (org-time=, org-time<, org-time<=, org-time>)
5470         (org-time>=, org-time<>): Make sure both values are dates.
5472 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
5474         * org-archive.el (org-extract-archive-heading): Allow %s for file
5475         name also in achive location heading.
5477 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
5479         * org-archive.el (org-add-archive-files): Uniquify the list before
5480         returning it.
5482 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
5484         * org-compat.el (org-fit-window-to-buffer): Use
5485         `window-full-width-p'.
5487         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5488         space after the colon in short examples.
5490         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5491         enforce a space after the colon.  However, we also allow lines
5492         that are *only* a colon.
5493         (org-export-as-html): Enforce the space after the colon in short
5494         examples.
5495         (org-export-preprocess-string): Do the colon example protection
5496         earlier.
5497         (org-export-remove-timestamps): Do not check for protection at the
5498         end of the line.
5500 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5502         * org.el (org-format-latex-options): Add new matcher for single
5503         letters between dollars.
5504         (org-get-header): Function removed.
5505         (org-heading-components): New function.
5507         * org-exp.el (org-export-define-heading-targets): Record ID's also
5508         as alternative targets.
5509         (org-export-as-html): Interpret "id:" links to other files by
5510         preserving the relative path.
5512         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5513         is nil.
5515         * org-exp.el (org-export-normalize-links): Protect the main link,
5516         to avoid special character processing.
5518         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5519         New variable.
5520         (org-export-latex-special-string-regexps): Variable removed.
5521         (org-export-latex-keywords): Use the new regexp.
5523         * org-exp.el (org-export-handle-include-files): Fetch switches and
5524         put them into the BEGIN statement.
5526         * org-timer.el (org-timer-mode-line-string): New variable.
5528         * org-clock.el (org-clock-mode-line-map): Renamed from
5529         `org-clock-mode-map'.
5530         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5531         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5532         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5533         (org-clock-remove-overlays): Renamed from
5534         `org-remove-clock-overlays'.
5536         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5537         and mode line display.
5538         (org-timer-stop): New command.
5539         (org-timer-seconds): Return correct time when timer is paused.
5540         (org-timer-mode-line-timer): New variable.
5541         (org-timer-set-mode-line, org-timer-update-mode-line): New
5542         functions.
5544         * org.el (org-insert-heading):  Handle new value `auto' for
5545         `org-blank-before-new-entry'.
5546         (org-org-menu): Add new items for timer functions.
5548         * org-list.el (org-insert-item): Handle new value `auto' for
5549         `org-blank-before-new-entry'.
5551         * org.el (org-blank-before-new-entry): New value `auto', made
5552         default.
5554 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5556         * org-exp.el (org-export-normalize-links): If the link is also
5557         used as the description, protect the description.
5559 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5561         * org.el (org-closest-date): Fix bug with yearly repeats, in
5562         combination with preference of the past as it is used for deadline
5563         and scheduling search.
5565         * org-exp.el (org-html-handle-time-stamps): No longer check for
5566         the `org-export-with-timestamps' option, because the preprocesser
5567         has taken care of this already.
5569         * org.el (org-entry-properties): Catch the case when this is
5570         called in a non-org-mode file.
5572         * org-export-latex.el (org-export-latex-remove-from-headlines):
5573         Variable made obsolete, also LaTeX export now uses the standard
5574         variables.
5575         (org-export-as-latex): Add the timestamps parameter to the
5576         preprocessor parameter list.
5577         (org-export-latex-content): Export the remaining keywords without
5578         considering to remove them.
5579         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5580         Use bold font instead of tt font for the keywords.
5581         (org-export-latex-fontify-headline): Format headlines, assuming
5582         that all keywords still present should be published.
5583         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5584         publish what ever remains of the time stamps.
5585         (org-export-latex-list-parameters): New option.
5586         (org-export-latex-lists): Pass additional parameters to the list
5587         converter.
5589         * org-exp.el (org-export-preprocess-string): Remove clock lines
5590         and timestamps already in the preprocesor.
5591         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5592         functions.
5593         (org-export-as-ascii, org-export-as-html): Add the timestamps
5594         parameter to the preprocessor parameter list.
5596         * org-list.el (org-list-parse-list): Parse for checkboxes.
5597         (org-list-to-generic): Introduce and handle new parameters :cbon
5598         and :cboff.
5599         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5600         optional parameter PARAMS.
5602         * org-export-latex.el (org-export-latex-special-chars): Fix
5603         problems with interpreting dollar signs.
5604         (org-inside-latex-math-p): New function.
5605         (org-export-latex-preprocess): Protect all the math fragments.
5607         * org.el (org-latex-regexps): Allow a dash after a dollar.
5609         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5610         mark after copying.
5612         * org-agenda.el (org-run-agenda-series): Have series options set
5613         when finalizing the agenda.
5615         * org-exp.el (org-export-format-source-code-or-example): Protect
5616         the converted examples.
5618         * org.el (org-set-regexps-and-options): Fix the regexp
5619         `org-complex-heading-regexp'.
5621 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5623         * org.el (org-edit-src-get-label-format): New function.
5624         (org-coderef-label-format): New option.
5625         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5626         a label format specification and make sure it is used in the edit
5627         buffer.
5628         (org-edit-src-get-label-format): New function.
5629         (org-store-link): Handle new coderef formats.
5630         (org-link-search): Handle new coderef formats.
5632         * org-footnote.el (org-footnote-create-definition)
5633         (org-footnote-goto-local-insertion-point): Make footnote insertion
5634         work correctly when the "Footnotes" headline is the last line in
5635         the buffer.
5637         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5638         the location.
5640 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5642         * org-w3m.el (org-w3m): New customization group.
5643         (org-w3m-deactivate-mark): New option.
5644         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5645         option say not to.
5647 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5649         * org.el (org-set-font-lock-defaults): Trigger footnote
5650         fontification.
5651         (org-activate-footnote-links): New function.
5652         (org-activate-links): New entry `footnote'.
5654         * org-faces.el (org-footnote): New face.
5656 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5658         * org-macs.el (org-re): Handle the [:word:] class.
5660         * org-exp.el (org-export-preprocess-string): Call
5661         `org-export-protect-colon-examples'.
5662         (org-export-protect-colon-examples): Renamed from
5663         `org-export-protect-examples', and scope limited to lines starting
5664         with a colon.
5666 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5668         * org-exp.el (org-export-preprocess-string): Move the preprocess
5669         hook to after turning on Org-mode.
5670         (org-export-preprocess-after-include-files-hook)
5671         (org-export-preprocess-after-tree-selection-hook)
5672         (org-export-preprocess-before-backend-specifics-hook)
5673         (org-export-preprocess-final-hook): New hooks.
5674         (org-export-preprocess-string): Run the new hooks.
5676         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5678         * org-footnote.el: New file.
5680         * org.el (org-footnote): Require footnote code.
5681         (org-startup-options): Add new footnote options.
5682         (org-mode-map): New keybindig for footnotes.
5683         (org-ctrl-c-ctrl-c): Add function at footnotes.
5684         (org-org-menu): New menu entries for footnotes.
5686         * org-export-latex.el (org-export-as-latex): Pass footnote
5687         variable to preprocessor.
5688         (org-export-latex-preprocess): Treat multiple references to a
5689         footnote.
5691         * org-exp.el (org-export-preprocess-string): Call
5692         `org-footnote-normalize'.
5693         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5694         to preprocessor.
5695         (org-export-as-html): Treat multiple references to a footnote.
5697 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5699         * org-export-latex.el (org-export-latex-links): Handle coderef
5700         links.
5702         * org.el (org-bracket-link-analytic-regexp++): New variable.
5703         (org-make-link-regexps): Initialize
5704         `org-bracket-link-analytic-regexp++'.
5705         (org-store-link): Implement special case in edit-src buffer.
5706         (org-insert-link): No use of ide to insert stored links.
5707         (org-link-search): Implement special case for coderefs.
5709         * org-exp.el (org-export-html-scripts): New constant.
5710         (org-export-html-style-default): Add a new style for highlighted
5711         code.
5712         (org-export-code-refs): New variable.
5713         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5714         Call `org-export-replace-src-segments-and-examples'
5715         No longer call `org-export-protect-examples'.
5716         (org-export-target-internal-links): Take care of coderef targets.
5717         (org-export-last-code-line-counter-value): New variable.
5718         (org-export-replace-src-segments-and-examples): Renamed from
5719         `org-export-replace-src-segments', and modified.
5720         (org-export-format-source-code-or-example): Renamed from
5721         `org-export-format-source-code'.
5722         (org-export-number-lines): New function.
5723         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5725 --------------------------------------------------------------------------
5727 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5729         * org-remember.el (org-remember-handler): Safer way to get a new
5730         buffer accessing the target file.
5732         * org.el (org-refile-get-location): Handle case of current buffer
5733         not having a file associated with it.
5735 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5737         * org-table.el (org-table-get-formula): Only ask to overwrite
5738         field formula if there really is one.
5740         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5741         number, by converting these to a string.
5743         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5744         located in a different file.
5746         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5747         org-colview.el.
5749 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5751         * org.el (org-completion-use-ido): Enhance docstring of
5752         `org-completion-use-ido'.
5754         * org-export-latex.el (org-export-latex-make-header): Double the %
5755         in the time stamp format.
5756         (org-export-latex-special-chars): Handle case where there is no
5757         match group 3.
5759 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5761         * org.el (org-get-refile-targets, org-refile-get-location): Use
5762         expanded file name to improve comparison.
5764 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5766         * org.el (org-scan-tags): Rescan for tags, to get the correct
5767         upcase/downcase stuff.  This slows things down for now, but it
5768         works.
5769         (org-mode): Make sure the tag-faces regexp is initialized.
5771         * org-export-latex.el (org-export-latex-links): Fix bug with
5772         undefined label.
5774         * org-table.el (org-table-get-specials): Set
5775         `org-table-current-last-data-line'.
5776         (org-table-current-last-data-line): New variable.
5777         (org-table-insert-column, org-table-delete-column)
5778         (org-table-move-column, org-table-fix-formulas): Call
5779         `org-table-fix-formulas' a second time to fix the $LR references.
5780         (org-table-get-specials): Add the $LR references to the tables.
5781         (org-table-get-formula): Do not offer last-row names as LHS of
5782         formulas.
5784         * org.el (org-store-link): Capture link description from
5785         `org-id-store-link'.
5787         * org-exp.el (org-export-html-format-image): Add the / to the end
5788         of the <img> tag.
5789         (org-export-format-source-code): Surround example by empty lines,
5790         to make sure it will not be inside a paragraph.
5792         * org.el (org-ido-switchb): New function.
5794 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5796         * org-agenda.el (org-agenda-show): New prefix argument
5797         FULL-ENTRY.
5799         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5800         argument.
5802         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5803         `org-agenda-change-all-lines'.
5804         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5805         tags are now retrieved locally.
5807 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5809         * org.el (org-get-outline-path): Fix bug if level is not given.
5810         (org-org-menu): Do not quote function in menu vector.
5812         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5813         name.
5815 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5817         * org.el (org-refile): Avoid refiling to within the region to be
5818         refiled.
5820         * org-export-latex.el (org-export-latex-special-chars): Replace
5821         special characters also in tables.
5823         * org-agenda.el (org-agenda-change-all-lines): New argument
5824         FORCE-TAGS.
5825         (org-agenda-set-tags): Cet the new tags and pass them to
5826         `org-format-agenda-item'.
5828 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5830         * org-export-latex.el (org-export-latex-classes): Add longable as
5831         a default package to all classes.
5832         (org-export-latex-tables): Handle the longtable attribute and the
5833         align attribute.
5835         * org-table.el (orgtbl-to-generic): Handle tables that start with
5836         a hline.
5838         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5839         \verb for colde-like snippets.
5840         (org-export-as-latex): Fix issues with region export.
5842         * org.el (org-up-heading-safe): Speed up function by using a
5843         direct regexp search.
5844         (org-olpa): New variable.
5845         (org-get-outline-path): Speed-up path constructions in cases where
5846         this is possible because the entire hierarchy is scanned anyway.
5847         (org-refile-get-location): Don't compare the truenames of files,
5848         this is too slow.
5849         (org-goto-max-level): New option.
5850         (org-goto): Use `org-goto-max-level'.
5852 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5854         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5855         Strip angle brackets from message-ids in the former and don't do
5856         it in the latter.
5857         (org-gnus-follow-link): Open summary reliable, even if the last
5858         messages were deleted, and handle empty groups, too.
5860 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5862         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5863         instead of \texttt for the =...= and ~===~ emphasis environments.
5864         (org-export-as-latex): Remove any old :org-license-to-kill text
5865         properties.
5866         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5867         (org-export-latex-make-header): Add some hard space after the
5868         table of contents.
5869         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5870         exported text so that it will be excuded in further steps.
5872         * org-table.el (org-table-get-specials): Make @0 reference the
5873         last line in a table.
5874         (org-table-recalculate): Improve docstring.
5876 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5878         * org.el (org-log-done): Fix docstring.
5880 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5882         * org-exp.el (org-export-html-format-image): Fix bugs.
5884         * org-export-latex.el (org-export-latex-tables)
5885         (org-export-latex-links): Implement attribute, label, and caption
5886         handling.
5888         * org-exp.el (org-export-html-style-default): Add style
5889         definitions for the figure div.
5890         (org-export-preprocess-string, org-export-as-html): Implement
5891         attribute, label, and caption handling.
5892         (org-export-attach-captions-and-attributes): New function.
5893         (org-export-html-format-image): New function.
5894         (org-format-org-table-html): Implement attribute, label, and
5895         caption handling.
5897         * org.el (org-find-text-property-in-string): New function.
5898         (org-extract-attributes): Use the property org-attr instead of
5899         org-attrobutes, because this property is now set with the #+ATTR
5900         lines.
5902 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5904         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5905         the case that FROM is nil.
5907         * org.el (org-before-first-heading-p): New function.
5909 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5911         * org-exp.el (org-export-as-html): Do not add a space before
5912         enforces line breaks.
5913         (org-export-as-html): Close paragraph before blockquote and verse
5914         tags.
5916 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5918         * org-id.el (org-id-locations-file): Wrap file name with
5919         `convert-standard-filename'.
5920         (org-id-files): New variable.
5921         (org-id-use-hash): New option.
5922         (org-id-update-id-locations): Also search in all files current
5923         listed in `org-id-files'.  Convert the resulting alist to a hash
5924         if the user customation says so.
5925         (org-id-locations-save): Handle he case if `org-id-locations' is a
5926         hash.
5927         (org-id-locations-load): Convert the alist to a hash.
5928         (org-id-add-location): Handle the hast case.
5929         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5930         exited.
5931         (org-id-hash-to-alist, org-id-alist-to-hash)
5932         (org-id-paste-tracker): New functions.
5934 -------------------------------------------------------------------------
5936 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5938         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5939         bindings of calendar variables.
5941         * org-table.el (org-table-find-row-type): Renamed from
5942         `org-find-row-type'.
5943         (org-table-rewrite-old-row-references): Renamed from
5944         `org-rewrite-old-row-references'.
5945         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5946         (org-table-cleanup-narrow-column-properties): Renamed from
5947         `org-cleanup-narrow-column-properties'.
5949 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5951         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5952         for better error messages.
5953         (org-table-get-descriptor-line): Supply the new arguments to
5954         `org-find-row-type'.
5955         (org-table-error-on-row-ref-crossing-hline): New option.
5957         * org.el (org-target-link-regexp): Make buffer-local.
5958         (org-move-subtree-down): Fix bug with trees at beginning of
5959         buffer.
5961 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5963         * org-faces.el (org-set-tag-faces): New function.
5964         (org-tags-special-faces-re): New variable.
5966         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5968         * org-faces.el (org-tag-faces): New option.
5969         (org-tag): Mention `org-tag-faces' in the docstring.
5971 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5973         * org-exp.el (org-export-html-style-default): Implement new
5974         quoting.
5976         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5978         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5979         command to the `w3m-minor-mode-map'.
5981         * org-archive.el (org-archive-to-archive-sibling): Protect
5982         `this-command' to avoid appending kills during archiving.
5984         * org-exp.el (org-export-with-priority): New variable.
5985         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5986         instead of internal list of strings and properties.
5987         (org-print-icalendar-entries): Retrieve the location property with
5988         inheritance.
5990 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5992         * org-exp.el (org-export-with-todo-keywords): New option.
5993         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5994         line.
5995         (org-default-export-plist, org-export-add-options-to-plist)
5996         (org-export-as-ascii, org-export-as-html): Use the new structure
5997         of `org-export-plist-vars'.
5999         * org.el (org-map-entries): Return all values.
6001 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
6003         * org.el (org-matcher-time): Recognize more special values.
6005         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
6007 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
6009         * org.el (org-tags-exclude-from-inheritance): New option.
6010         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
6011         `org-tags-exclude-from-inheritance'.
6013         * org-agenda.el (org-agenda-show-inherited-tags): New option.
6014         (org-format-agenda-item): Add inherited tags to the agenda line
6015         string, and make sure that properties are kept when downcasing the
6016         tags list.
6017         (org-agenda-add-inherited-tags): New function.
6018         (org-downcase-keep-props): New function.
6020         * org.el (org-scan-tags): Mark inherited tags with a text
6021         property.
6022         (org-get-tags-at): Mark inherited tags with a text property.
6023         (org-add-prop-inherited): New function.
6025         * org-agenda.el (org-agenda-add-inherited-tags): New function.
6026         (org-agenda-show-inherited-tags): New option.
6028 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
6030         * org.el (org-modules): Add org-w3m to the default modules.
6032         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
6033         orgtbl-mode.
6034         (orgtabl-create-or-convert-from-region): New command.
6036         * org-exp.el (org-export-as-ascii): Remove the handling of
6037         targets.
6038         (org-export-ascii-preprocess): Handle targets already in this
6039         function.
6041 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
6043         * org-timer.el (org-timer-start-time): Define this variable.
6044         (org-timer-item): Make argument optional.
6046         * org-list.el (org-insert-item): Automatically insert a timer item
6047         if the current list is a timer list.
6049         * org-timer.el: New file.
6051         * org-publish.el (org-publish-org-index): Only exclude the index
6052         file in the main directory from being added to the site-map.
6053         (org-publish-get-project-from-filename): If the current project is
6054         a component, start publishing from the parent project.
6056 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
6058         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
6060         * org-publish.el (org-publish-org-index): Improve removal of
6061         temporary buffers.
6063         * org-agenda.el (org-get-closed): Re-apply changes
6064         accidentially overwritten by last commit to Emacs.
6066         * org.el (org-outline-path-complete-in-steps): New option.
6067         (org-refile-get-location): Honor
6068         `org-outline-path-complete-in-steps'.
6069         (org-agenda-change-all-lines, org-tags-sparse-tree)
6070         (org-time-string-to-absolute, org-small-year-to-year)
6071         (org-link-escape): Re-apply changes accidentially overwritten
6072         by last commit to Emacs
6074 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
6076         * org-clock.el (org-dblock-write:clocktable): Make sure the
6077         clocktable sees the first line.
6078         (org-clock-in): Warn if the clock cannot be resumed.
6080 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
6082         * org.el (org-open-at-point): Fix mixup about interactive and
6083         non-interactive elisp links.
6085 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6087         * org-exp.el (org-export-preprocess-string): Allow one comment
6088         line before the first headline to always be included.  This is
6089         to not miss a commented target.
6091         * org-mouse.el (org-mouse-insert-item): Call
6092         `org-indent-to-column' instead of `indent-to', for XEmacs
6093         compatibility.
6095         * org.el (org-refile-targets): Fix customize definition so
6096         that it works also in XEmacs.
6097         (org-fixup-indentation): Call `org-indent-to-column' instead
6098         of `indent-to', for XEmacs compatibility.
6100 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
6102         * org-mew.el (org-mew-store-link): Get the correct case folder
6103         for refiled messages.
6105 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6107         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
6108         line break indicators.
6110         * org.el (org-ido-completing-read): Remove the "i:" prefix for
6111         ido-completion propts.
6113 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6115         * org-remember.el (org-remember-apply-template): Use
6116         `org-substring-no-properties'.
6118         * org-compat.el (org-substring-no-properties): New function.
6120         * org-remember.el (org-remember-apply-template): Use
6121         `org-substring-no-properties' for compatibility.
6123         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
6124         option.
6125         (org-fix-bullet-type): respect
6126         `org-list-two-spaces-after-bullet-regexp'.
6128         * org-clock.el (org-clock-load): Clean up the code.
6130         * org.el (org-adaptive-fill-function): Allow two spaces after
6131         "1." as a list bullet.
6133 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
6135         * org-clock.el (org-clock-save, org-clock-load): Check for
6136         live buffers, existing files, and buffer file names to ensure
6137         consistent information.
6138         (org-clock-persist): Make `clock' a special value of this
6139         variable, and improve docstring.
6141         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
6142         (org-get-string-indentation): Adapt indentation when the bullet
6143         width changes.
6145 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
6147         * org-remember.el (org-remember-finalize): Make interactive.
6148         (org-remember-kill): New command.
6149         (org-remember-finish-immediately): Call `org-remember-finalize'
6150         directly.
6151         (org-remember-finalize): Make `org-remember-finalize' an interactive
6152         function.
6154 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
6156         * org-remember.el (org-remember-apply-template): No ido completion
6157         for free prompts in remember templates.
6158         (org-remember-before-finalize-hook): New hook.
6159         (org-remember-mode): New minor mode.
6160         (org-remember-apply-template): Turn on `org-remember-mode'.
6162         * org-id.el (org-id-add-location): Avoid error when no file is
6163         given.
6165         * org-remember.el (org-remember-apply-template): Fix the way how
6166         the list of allowed properties is retrieved from the target file.
6168         * org.el (org-insert-link): Improve file link matching.
6170 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
6172         * org-colview.el (org-columns-display-here): New argument
6173         DATELINE, to trigger using the new face.
6174         (org-agenda-colview-summarize): Call `org-columns-display-here'
6175         with the new argument.
6177         * org-faces.el (org-agenda-column-dateline): New face.
6179         * org-publish.el (org-publish-org-index): Use index-title at page
6180         title, not as section.
6182         * org-exp.el (org-export-html-format-desc): Respect the
6183         org-protect property.
6184         (org-export-as-html): Protect image specifiers that are in the
6185         description part of a link.
6187         * org.el (org-sort-entries-or-items, org-completing-read)
6188         (org-refile-get-location, org-olpath-completing-read, org-todo)
6189         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6190         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6191         (org-set-property, org-delete-property)
6192         (org-delete-property-globally): Use `org-ido-completing-read'.
6194         * org-remember.el (org-remember-apply-template): Use
6195         `org-ido-completing-read'.
6197         * org-publish.el (org-publish): Use `org-ido-completing-read'.
6199         * org-colview.el (org-columns-edit-value, org-columns-new)
6200         (org-insert-columns-dblock): Use `org-ido-completing-read'.
6202         * org-colview-xemacs.el (org-columns-edit-value)
6203         (org-columns-new, org-insert-columns-dblock): Use
6204         `org-ido-completing-read'.
6206         * org-attach.el (org-attach-delete-one, org-attach-open): Use
6207         `org-ido-completing-read'.
6209         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6210         `org-ido-completing-read'.
6212         * org.el (org-time-today): New function.
6213         (org-matcher-time): Use `org-time-today'.  Add special treatment
6214         for "<tomorrow>" and "<yesterday>".
6215         (org-ido-completing-read): New function.
6216         (org-completion-use-ido): New option.
6218         * org-exp.el (org-export-format-source-code): Fix bug in require
6219         htmlize code.
6220         (org-export-target-internal-links): Fix bug in search for text
6221         property.
6223 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
6225         * org-export-latex.el (org-export-latex-subcontent): Interprete
6226         target aliases as additonal labels.
6228         * org-exp.el (org-export-target-aliases): New variable.
6229         (org-export-preprocess-string)
6230         (org-export-handle-invisible-targets): Fill the alias alist.
6231         (org-export-as-html): Remove the &nbsp; from the anchor, and also
6232         assign an id.
6233         (org-html-level-start): Insert the target aliases as additonal
6234         anchors.
6236         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6237         picture area.
6239 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
6241         * org.el (org-open-at-mouse): Ensure correct link abbreviations
6242         when following a link with the mouse from the agenda.
6244         * org-exp.el (org-export-as-html): Avoid lone </div> when no
6245         headlines are created.
6247 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
6249         * org-exp.el (org-export-preprocess-string): Reorder so that we
6250         can still see ID properties when we collect targets.
6251         (org-export-target-internal-links): Also store targets for ID's.
6253         * org.el (org-link-translation-function): New option.
6254         (org-open-at-point): Call `org-link-translation-function' if
6255         non-nil.
6256         (org-translate-link): New function.
6257         (org-translate-link-from-planner): New function.
6258         (org-open-at-point): Allow interactive commands in elisp links.
6260         * org-exp.el (org-icalendar-cleanup-string): Restore the old
6261         iCalendar quoting.  The new one seems to caus problems with
6262         applications.
6264         * org.el (org-yank): Set `this-command' to `yank', so that
6265         `yank-pop' will work.
6267 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6269         * org-id.el (org-id-search-archives): New option.
6271         * org.el (org-link-to-org-use-id): New option.
6272         (org-store-link): Use `org-link-to-org-use-id'.
6273         (org-id): Make org-id.el a standard component.
6275 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6277         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6278         hexified version of the tag.
6280         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6281         compliance as far as quoting is concerned.
6283         * org-vm.el (org-vm-follow-link): Require `vm-search'.
6285         * org.el (org-up-heading-safe, org-forward-same-level): Always
6286         call `org-back-to-heading' instead of `outline-back-to-heading'.
6287         (org-back-to-heading): New wrapper around outline-back-to-heading,
6288         with a useful error message telling where the error happened.
6290         * org-list.el (org-update-checkbox-count): Always call
6291         `org-back-to-heading' instead of `outline-back-to-heading'.
6293         * org-exp.el (org-export-as-html): Make sure that each <img> tag
6294         has an `alt' attribute, to ensure XHTML validation.
6296 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
6298         * org-publish.el (org-publish-attachment): Allow publishing to
6299         overwrite attachment files.
6301         * org-agenda.el (org-agenda-timerange-leaders): New option.
6302         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6304         * org.el (org-edit-src-exit): Untabify ASCII image before
6305         returning.
6318 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
6320         * org.el (org-yank): Make any prefix force normal yanking.
6321         Suppress folding if text would be swallowed into a folded
6322         subtree.
6323         (org-yank-folded-subtrees, org-yank): Docstring updates.
6325         * org-agenda.el (org-agenda-compare-effort): Treat no effort
6326         defined as 0.
6328         * org-exp.el (org-export-language-setup): Add Catalan and
6329         Esperanto language entries.
6331 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
6333         * org.el (org-refile): Allow refiling of entire regions.
6335         * org-clock.el (org-clock-time%): New function.
6337         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6338         retrieve property values.
6340 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
6342         * org-agenda.el (org-agenda-list): Handle the value `only' of
6343         org-agenda-show-log'.
6344         (org-agenda-log-mode): Interpret a double prefix arg.
6346 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
6348         * org-exp.el (org-export-html-footnotes-section): New variable.
6349         (org-export-as-html): Use `org-export-html-footnotes-section' to
6350         insert the footnotes.
6351         (org-export-language-setup): Add "Footnotes" to language words.
6353 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
6355         * org.el (org-yank): Fix bug when not inserting a subtree.
6357 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
6359         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6360         instead of `vm-beginning-of-message'.
6362         * org.el (org-make-link-regexps): Make sure that links to gnus can
6363         contain brackets.
6365 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
6367         * org-attach.el (org-attach-dir): Remove duplicate ID creation
6368         code.
6370         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6371         shell output.
6373         * org.el (org-link-abbrev-alist): Improve customization type.
6375         * org-attach.el (org-attach-expand-link, org-attach-expand): New
6376         functions.
6378         * org-agenda.el (org-agenda-get-progress): Renamed from
6379         `org-get-closed'.  Implement searching for state changes as well.
6380         (org-agenda-log-mode-items): New option.
6381         (org-agenda-log-mode): New option prefix argument, interpreted as
6382         request to show all possible progress info.
6383         (org-agenda-get-day-entries): Call `org-get-progress' instead of
6384         `org-get-closed'.
6385         (org-agenda-set-mode-name): Handle the more complex log mode
6386         settings.
6387         (org-get-closed): New alias, pointing to `org-get-progress'.
6389 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
6391         * org.el (org-file-apps-defaults-gnu)
6392         (org-file-apps-defaults-macosx)
6393         (org-file-apps-defaults-windowsnt): Add an entry defining the
6394         system command.
6395         (org-file-apps): Allow `system' as key and value.
6396         (org-open-at-point): Explain the effect of a double prefix arg.
6397         (org-open-file): If the argument `in-emacs' is (16),
6398         i.e. corresponding to a double prefix argument, try to open the
6399         file externally.
6401 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
6403         * org.el (org-insert-link): Abbreviate absolute files names in
6404         links.  Also, fix a bug in which the double C-u prefix would not
6405         be honored.
6407 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
6409         * org.el (org-insert-heading): If buffer does not end with a
6410         newline, add one if necessary to insert headline correctly.
6412         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6413         paragraphs, not inside.
6415         * org.el (org-todo): Quote
6416         `org-agenda-headline-snapshot-before-repeat'.
6418         * org-exp.el (org-export-as-html): Fully process link descriptions.
6419         (org-export-html-format-desc): New function.
6420         (org-export-as-html): Collect footnotes into the correct basket.
6421         (org-html-protect): No longer protect quotations marks here, this
6422         goes wrong.
6424         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6425         BEG.
6427         * org-compat.el (org-fit-window-to-buffer): New function (not
6428         really, a preliminary and incomplete version was present earlier,
6429         but not used).
6431         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6432         `org-fit-window-to-buffer'.
6434         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6436         * org-agenda.el (org-agenda-get-restriction-and-command)
6437         (org-fit-agenda-window, org-agenda-convert-date): Use
6438         `org-fit-window-to-buffer'.
6440         * org-exp.el (org-export-as-html): Process href links through
6441         `org-export-html-format-href'.
6442         (org-export-html-format-href): New function.
6444         * org-agenda.el (org-agenda-todo): Update only the current
6445         headline if this is a repeated TODO, marked done for today.
6446         (org-agenda-change-all-lines): New argument JUST-THIS, to change
6447         only the current line.
6449         * org.el (org-todo): Take a snapshot of the headline if the
6450         repeater might change it.
6452 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6454         * org-publish.el (org-publish-find-title): Remove buffers visited
6455         only for extracting the title.
6457         * org-exp.el (org-export-html-style)
6458         (org-export-html-style-default): Mark style definitions as
6459         unparsed CDATA.
6461         * org-publish.el (org-publish-validate-link): Function
6462         re-introduced.
6464 2008-11-02  Charles Sebold  <csebold@gmail.com>
6466         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6467         property.
6468         (org-plot-quote-timestamp-field): New function.
6469         (org-plot-quote-tsv-field): Call timestamp field function when
6470         necessary rather than just quoting as a string.
6471         (org-plot/gnuplot-to-data): Pass in timefmt property.
6472         (org-plot/gnuplot-script): Supports timefmt property.
6473         (org-plot/gnuplot): Checks for timestamp column before checking
6474         for text index column.
6476 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6478         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6480         * org-publish.el (org-publish-org-index): Create a section in the
6481         index file.
6482         (org-publish-org-index): Stop linking to directories.
6484         * org.el (org-emphasis-alist): Use span instead of <u> to
6485         underline text.
6487         * org-exp.el (org-export-as-html): Make sure <p> is closed before
6488         <pre> sections.
6490 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
6492         * org-jsinfo.el (org-infojs-template): Remove language attribute
6493         from script tag.
6495 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6497         * org-agenda.el (org-agenda-remove-marked-text): New function.
6498         (org-agenda-mark-filtered-text)
6499         (org-agenda-unmark-filtered-text): New functions.
6500         (org-write-agenda): Remove fltered text.
6502         * org.el (org-make-tags-matcher): Give access to TODO "property"
6503         without speed penalty.
6505 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6507         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6508         option.
6509         (org-store-link-props): Make sure adding to the plist works
6510         correctly.
6512         * org-gnus.el (org-gnus-no-new-news): New function.
6513         (org-gnus-follow-link): Allow the article ID to be a message-id,
6514         in addition to allowing article numbers.  Message IDs make much
6515         more roubust links.
6516         (org-gnus-store-link): Use message-id to create link.
6518 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6520         * org.el (org-emphasize): Reverse the selection array.
6521         (org-emphasis-alist): Set <code> tags for the verbatim
6522         environment.
6524         * org-remember.el (org-remember-handler): Fix bug with
6525         prefix-related changing of the note storage target.
6527         * org-exp.el (org-print-icalendar-entries): Make the exported
6528         priorities compatible with RFC 2445.
6530         * org-clock.el (org-clock-save): Insert time stamp without
6531         dependence on time-stamp.el.
6533 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6535         * org.el ("saveplace"): If saveplace puts point into an invisible
6536         location, make it visible.
6537         (org-make-tags-matcher): Allow inactive time stamps in time
6538         comparisons.
6539         (org-yank-adjusted-subtrees): New option.
6540         (org-yank): Incorporate adjusting trees.
6541         (org-paste-subtree): New argument FOR-YANK which will cause
6542         insertion at point without backing up over white lines, and leave
6543         point at the end of the inserted text.  Also if the cursor is
6544         at the beginning of a headline, use the same level or the inserted
6545         tree.
6547         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6548         with broken symlinks
6550 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6552         * org-exp.el (org-export-select-tags, org-get-current-options):
6553         Fix typo.
6555 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6557         * org-agenda.el (org-format-agenda-item)
6558         (org-agenda-filter-make-matcher): Make sure tags are stored and
6559         compared donwcased.
6561 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6563         * org.el (org-insert-todo-heading): Fix bug with force-heading
6564         argument.
6566 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6568         * org-clock.el (org-clock-in-resume): Add a custom option to
6569         toggle starting the clock from an open clock line.
6570         (org-clock-in): When clocking in to an entry, if
6571         `org-clock-in-resume' is set, check if the first clock line is
6572         open and if so, start the clock from the time in the clock line.
6573         (org-clock-persist): Add a custom option to toggle clock
6574         persistence.
6575         (org-clock-persist-query-save): Add a custom option to toggle
6576         asking the user if they want to save the running clock when
6577         exiting.
6578         (org-clock-persist-query-resume): Add a custom option to toggle
6579         asking the user if they want to resume the saved clock when Emacs
6580         is restarted.
6581         (org-clock-save): Add a function to save clock data.
6582         This includes the contents of `org-clock-history' and the buffer
6583         and position of the currently clocked task, if any.
6584         (org-clock-load): Add a function to load clock data.
6585         This populates `org-clock-history', and resumes the saved clocked
6586         task if there is one.
6587         (org-clock-persistence-insinuate): Add a method to set up the
6588         hooks for clock persistence.
6590 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6592         * org-exp.el (org-export-as-ascii): Handle the case that we are
6593         publishing from an indirect buffer.
6595         * org-table.el (org-table-copy-down): Fix bug with time stamp
6596         increment.
6598         * org-mouse.el (org-mouse-features): New option.
6599         (org-mode-hook): Turn on features depending on
6600         `org-mouse-features'.
6602         * org.el (org-insert-heading-respect-content): Force heading
6603         creation.
6604         (org-insert-heading): keep the folding state of the heading before
6605         the inserted one.
6607 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6609         * org-archive.el (org-archive-to-archive-sibling): Handle top
6610         level headlines better.
6612 2008-10-21  Bastien Guerry  <bzg@altern.org>
6614         * org-export-latex.el (org-export-latex-classes): Added
6615         \usepackage{graphicx} to the default list of packages.
6617 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6619         * org-agenda.el (org-agenda-filter): Renamed from
6620         `org-agenda-filter-tags'.
6622 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6624         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6625         is not defined as a property in this entry.
6626         (org-add-log-note): Mask prefix argument when immediately storing
6627         the note.
6629         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6630         option.
6632 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6634         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6635         after drawers was skipping ahead one line too many, so notes were
6636         inserted after the first note instead of before it.
6638 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6640         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6641         New variables.
6642         (org-prepare-agenda): Reset the filter tags.
6643         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6644         Show filter tags in mode line.
6646         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6647         formatter.
6649         * org-export-latex.el (org-latex-entities-regexp): New constant.
6650         (org-export-as-pdf): Use two calls to `shell-command'.
6652 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6654         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6655         Honor the {} value of the subsuperscript setting.  Make sure that
6656         longer subsuperscripts are typeset in a roman font.
6658         * org.el (org-clock-update-time-maybe): Compute negative clock
6659         intervals correctly.
6661 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6663         * org.el (org-add-log-setup): Respect
6664         `org-log-state-notes-insert-after-drawers'.
6665         (org-log-state-notes-insert-after-drawers): New option.
6666         (org-todo-trigger-tag-changes): New function.
6667         (org-todo): Call `org-todo-trigger-tag-changes'.
6669 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6671         * org.el (org-add-log-setup): Only skip drawers if the are
6672         immediately after the scheduling keywords.
6674         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6675         function
6676         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6677         call it with the current todo state to get the state to switch to
6678         when clocking in.
6679         (org-clock-in): Use org-indent-line-function to indent clock lines.
6680         (org-clock-find-position): Fix indentation of empty clock drawers.
6682 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6684         * org-publish.el (org-publish-org-to): Handle case when
6685         org-export-to-pdf does return a file name, not a buffer.
6686         (org-publish-org-to-pdf): New function.
6688         * org-export-latex.el (org-export-as-pdf)
6689         (org-export-as-pdf-and-open): New commands.
6691         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6692         forms as ranges.
6694         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6695         things in protexted regions.
6697 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6699         * org-export-latex.el (org-export-latex-preprocess): Improve
6700         quoting of LaTeX environments.
6702 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6704         * org.el (org-edit-fixed-width-region): Exclude final newline from
6705         picture area.
6707         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6708         sections, to make internal links work.
6709         (org-export-latex-fontify-headline): Do not remove all text
6710         properties, to make sure that target properties survive this
6711         process.
6713         * org-exp.el (org-export-preprocess-string): Change sequence of
6714         modifications, to make sure links are prepared before the LaTeX
6715         conversions do happen.
6717 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6719         * org-attach.el (org-attach-delete-all): Renamed from
6720         `org-attch-delete'.  Add a security query before deleting the
6721         entire directory.  New optional argument FORCE can overrule the
6722         security query.
6723         (org-attach-delete-one): New command.
6725 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6727         * org-attach.el (org-attach-file-list): Fix bug with directory.
6729 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6731         * org.el (org-apps-regexp-alist): New function.
6732         (org-file-apps): Add auto-mode to the default value.
6733         (org-open-file): Use the new structure of org-file-apps.
6735         * org-attach.el (org-attach): Support the new keys.
6736         (org-attach-method): New option.
6738 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6740         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6741         March.
6743         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6744         of the list value o `org-use-tag-inheritance'.
6746         * org-attach.el (org-attach-auto-tag): New option.
6747         (org-attach-tag, org-attach-untag): New functions.
6748         (org-attach-attach, org-attach-new, org-attach-sync): Call
6749         `org-attach-tag'.
6750         (org-attach-delete): Call `org-attach-untag'.
6752 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6754         * org-table.el (orgtbl-self-insert-command): Make this work for
6755         the keypad as well.
6757 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6759         * org.el (org-add-log-setup): Limit searc for drawers to entry
6760         text, not to subtree.
6762         * org-clock.el (org-clock-heading-for-remember): New variable.
6763         (org-clock-in): Set `org-clock-heading-for-remember'.
6765 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6767         * org-remember.el (org-remember-apply-template): Add new
6768         expansions: %k, %K for currently clocked task and a link to the
6769         currently clocked task, and %< to file notes in the currently
6770         clocked task.
6772 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6774         * org-export-latex.el (org-export-latex-make-header): Also insert
6775         the content of the property :latex-header-extra.
6777         * org-exp.el (org-infile-export-plist): Put the content of
6778         #+LATEX_HEADER: into the property :latex-header-extra.
6780         * org-colview.el (org-columns-get-format-and-top-level): Remove
6781         resetting the marker.
6783         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6784         Remove resetting the marker.
6786         * org.el (org-entry-property-inherited-from): Improve docstring.
6787         (org-entry-get-with-inheritance): Reset marker before starting the
6788         search.
6790         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6792 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6794         * org.el (org-entry-get-multivalued-property)
6795         (org-entry-protect-space, org-entry-restore-space): New
6796         functions.
6797         (org-file-apps-defaults-macosx): Let postscript files be opened by
6798         preview.
6799         (org-time-stamp-inactive): Call `org-time-stamp'.
6800         (org-time-stamp): New argument `inactive'.  Also edit inacive
6801         stamps. Convert time stamp type.
6802         (org-open-file): Interpret the `default' value for the `command'
6803         in `org-file-apps'.
6805         * org-id.el (org-id-int-to-b36-one-digit)
6806         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6807         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6808         b36.
6810 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6812         * org-id.el (org-id-reverse-string): New function.
6813         (org-id-new): Use `org-id-reverse-string' to make sure the
6814         beginning chars of the ID are mutating fast.  This allows to use a
6815         directory structure to spread things better.
6816         (org-id-prefix): Changed default to nil.
6818         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6819         restore the column of the cursor position.
6821         * org-remember.el (org-remember-apply-template): Remove properties
6822         from `initial'.
6824 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6826         * org-wl.el (org-wl-open): Remove useless call to
6827         `wl-thread-open-all'.
6829         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6830         location.
6832 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6834         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6835         `org-bbdb-anniversaries'.
6837         * org.el (org-get-next-sibling, org-forward-same-level): New
6838         functions, similar to the outline versions, but invisible headings
6839         are OK.
6841 2008-09-25  Bastien Guerry  <bzg@altern.org>
6843         * org.el (org-auto-repeat-maybe): Insert a space between
6844         the timestamp's type and the timestamp itself.
6846 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6848         * org-table.el (org-table-sum): Do not format the result with %g,
6849         it does rounding when there are too many digits.
6851         * org.el (org-map-entries): Protect the keyword-selecting variables.
6853 2008-09-23  Bastien Guerry  <bzg@altern.org>
6855         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6856         against all agenda files.
6858 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6860         * org-list.el: New file, aggregating list functions from org.el
6861         and org-export-latex.el.
6863         * org.el (org-edit-src-region-extra): New option.
6865 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6867         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6868         time before 1am.
6870 2008-09-22  Bastien Guerry  <bzg@altern.org>
6872         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6874 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6876         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6877         hline work correctly.
6878         (org-plot/gnuplot-script): Put commas at the end of each script
6879         line.
6881 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6883         * org.el (org-get-refile-targets): Replace links with their
6884         descriptions
6885         (org-imenu-get-tree): Replace links with their descriptions.
6887         * org-remember.el (org-remember-apply-template): Add a new
6888         expansion for adding properties to remember items.
6890         * org.el (org-add-log-setup): Skip over drawers (properties,
6891         clocks etc) when adding notes.
6893         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6894         items as well as the start and end times.
6896         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6897         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6899         * org-remember.el (org-get-x-clipboard): Use the compat
6900         function to get clipboard values when x-selection-value is
6901         unavailable. Use substring-no-properties instead of
6902         set-text-properties to remove text properties from the clipboard
6903         value.
6905         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6906         modeline clock string, and display the full todo value in the
6907         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6908         the currently clocked task.
6909         (org-clock-string-limit): Add a custom value for the maximum
6910         length of the clock string in the modeline.
6911         (org-clock-mode-map): Add a keymap for the modeline string
6913 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6915         * org-compat.el (org-propertize): New function.
6917 2008-09-20  Bastien Guerry  <bzg@altern.org>
6919         * org-export-latex.el (org-export-latex-tables): protect exported
6920         tables from further special chars conversion.
6921         (org-export-latex-preprocess): Preserve LaTeX environments.
6922         (org-list-parse-list): Parse descriptive lists.
6923         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6924         (org-list-to-texinfo): Export descriptive lists.
6925         (org-quote-chars): Remove.
6926         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6927         (org-export-latex-list-beginning-re): Rename to
6928         `org-list-beginning-re'
6929         (org-list-item-begin): Rename to `org-list-item-beginning'
6931 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6933         * org.el (org-refile): Allow refiling to the last entry in the
6934         buffer.
6935         (org-get-tags-at): Fix bug when inheritance is turned off.
6937 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6939         * org.el (org-indent-line-function): No longer check for src
6940         regions, this is too much overhead.
6942         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6943         matching.
6945         * org.el (org-scan-tags): Make sure that tags matching is not case
6946         sensitive.  TODO keyword matching is case sensitive, however, to
6947         avoid confusion with similar words that are not meant to be
6948         keywords.
6950 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6952         * org.el (org-get-local-tags-at): New function.
6953         (org-get-local-tags): New function.
6955         * org-exp.el (org-export-get-categories): New function.
6957         * org-agenda.el (org-sorting-choice)
6958         (org-agenda-sorting-strategy, org-agenda-get-todos)
6959         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6960         (org-agenda-get-scheduled, org-agenda-get-blocks)
6961         (org-entries-lessp): Implement sorting by TODO state.
6962         (org-cmp-todo-state): New defsubst.
6964         * org-colview.el (org-colview-construct-allowed-dates): New
6965         function.
6966         (org-columns-next-allowed-value): Use
6967         `org-colview-construct-allowed-dates'.
6969         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6970         function.
6971         (org-columns-next-allowed-value): Use
6972         `org-colview-construct-allowed-dates'.
6974 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6976         * org.el (org-protect-slash): New function.
6977         (org-get-refile-targets): Use `org-protect-slash'.
6979         * org-agenda.el (org-global-tags-completion-table): New variable.
6981         * org-exp.el (org-export-handle-export-tags): New function.
6982         (org-export-preprocess-string): Call
6983         `org-export-handle-export-tags'.
6985         * org-plot.el: New file.
6987         * org-publish.el (org-publish-expand-components): Function removed.
6988         (org-publish-expand-projects): Allow components to have components.
6990 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6992         * org.el (org-indent-line-function): Do not indent in regions that
6993         are external source code.
6994         (org-yank-and-fold-if-subtree): New function.
6996         * org-agenda.el (org-agenda-todayp): New function.
6997         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6998         `org-agenda-todayp'.
7000         * org.el (org-insert-heading-respect-content)
7001         (org-insert-todo-heading-respect-content): New commands.
7002         (org-insert-heading-respect-content): New option.
7003         (org-insert-heading): Respect `org-insert-heading-respect-content'.
7005         * org-clock.el (org-clock-find-position): Make sure the note after
7006         the clock line gets moved into the new clock drawer.
7008 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
7010         * org-id.el (org-id-new): New option.
7012 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
7014         * org-table.el (org-table-copy-down): Avoid overflow during
7015         increment.  Use prefix argument 0 to temporarily disable the
7016         increment.
7018 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
7020         * org-exp.el (org-export-as-html): Do not turn on the major mode
7021         if the buffer will be killed anyway.
7022         (org-get-current-options): Exclude the #+TEXT field.
7023         (org-export-as-html): Make sure text before the first headline is
7024         a paragraph.
7026         * org-publish.el (org-publish-org-to): Tell the exporter that this
7027         buffer will be killed, so it is not necessary to do major mode
7028         initialization.
7030         * org-archive.el (org-archive-to-archive-sibling): Show empty
7031         lines after folding the archive sibling.
7033         * org.el (org-log-note-extra): New variable.
7035 2008-09-05  Bastien Guerry  <bzg@altern.org>
7037         * org.el (org-additional-option-like-keywords): Added keywords for
7038         the _QUOTE, _VERSE and _SRC environments.
7040         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
7041         exporting _QUOTE and _VERSE environments.
7043 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
7045         * org-agenda.el (org-agenda-filter-by-tag): New command.
7047         * org-exp.el (org-get-current-options): Remove angular brackets
7048         from the date entry.
7050         * org.el (org-edit-fixed-width-region): New function.
7051         (org-edit-fixed-width-region): Also try
7052         `org-edit-fixed-width-region'.
7053         (org-edit-fixed-width-region-mode): New option.
7054         (org-activate-code): Only interprete lines starting with colon
7055         plus a space as example lines.
7057         * org-remember.el (org-remember-templates): Add nil instead of
7058         empty strings to fix the length of remember templates.
7060         * org-table.el (org-calc-default-modes): Fix the time format for
7061         calc, from 12 hour to 24 hour clock.
7063 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
7065         * org-agenda.el (org-agenda-get-deadlines)
7066         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
7067         entries that are pre-warnings of deadlines or reminders.
7069         * org.el (org-sort-entries-or-items): Make numeric and alpha
7070         comparisons ignore any TODO keyword and priority cookie.
7072         * org-remember.el (org-remember-handler): Reinterpretation of the
7073         prefix argument.
7075 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
7077         * org-agenda.el (org-agenda-get-scheduled): Use new
7078         `org-scheduled' face.
7080         * org-faces.el (org-scheduled): New face.
7082         * org-wl.el (org-wl-open): Remove incorrect declaration.
7084         * org-gnus.el (org-gnus-store-link): Support for :to information
7085         in gnus links.
7087         * org-exp.el (org-export-as-html): Fixed typo in creator
7088         information.
7089         (org-export-protect-examples): New parameter indent.  Insert extra
7090         spaces only when this parameter is specified.
7091         (org-export-preprocess-string): Call `org-export-protect-examples'
7092         with an indentation parameter when exporting to ASCII.
7094         * org-remember.el (org-remember-templates)
7095         (org-remember-apply-template): Allow the file component to be a
7096         function.
7098         * org.el (org-goto-local-search-headings): Renamed from
7099         `org-goto-local-search-forward-headings'.  Added the possibility
7100         to search backwards.
7102 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
7104         * org-export-latex.el (org-export-latex): New customization
7105         group.
7107         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
7109 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
7111         * org-exp.el (org-html-do-expand): Allow {} to terminate
7112         tex macro
7114 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
7116         * org.el (org-buffer-list): Select buffers based on major mode,
7117         not on file name.
7119 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
7121         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
7122         face property.
7124         * org-colview.el (org-columns-display-here): Use
7125         `org-columns-modify-value-for-display-function'.
7127         * org-colview-xemacs.el (org-columns-display-here): Use
7128         `org-columns-modify-value-for-display-function'.
7130 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
7132         * org.el (org-columns-modify-value-for-display-function): New option.
7144         * org-publish.el (org-publish-file): Make sure the directory match
7145         for the publishing directory works correctly.
7147         * org-agenda.el (org-agenda-execute-calendar-command)
7148         (org-agenda-diary-entry): Additional optional argument.
7150 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
7152         * org-exp.el (org-export-as-html): Add attributes also in mailto
7153         and ftp links.
7155         * org.el (org-autoload): Add `org-dblock-write:columnview'.
7164 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
7166         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7167         sure that calls from `org-export-region-as-html' do not do the
7168         special check for a subtree.
7170 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
7172         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7174 2008-07-20  Juri Linkov  <juri@jurta.org>
7176         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7177         new keymap `narrow-map' instead of binding "\C-xns".
7179 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
7181         * org.el (org-open-file): Use
7182         `org-open-directory-means-index-dot-org'.
7183         (org-open-directory-means-index-dot-org): New option.
7185 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
7187         * org.el (org-make-link-string): Remove link attributes from
7188         description.
7189         (org-open-at-point): Remove link attributes bevore using the path.
7191         * org-exp.el (org-export-as-html): Handle link attributes.
7193         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7195         * org-table.el (org-table-to-lisp): New function.
7197         * org.el (org-narrow-to-subtree): Do not include the final newline
7198         into the narrowed region.
7200         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
7201         bug with user-define skipping condition.
7203 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
7205         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
7207 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
7209         * org-exp.el (org-export-html-style-default): Automatic overflow
7210         handling for pre fields.
7211         (org-export-as-ascii, org-export-as-html): Change default format
7212         for time stamp.
7214         * org-table.el (org-table-export): Offer completion for translator
7215         functions, and do not require a heading above the table.
7217         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7218         Cater for the case of a list starting in the first line of the
7219         buffer.
7221 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
7223         * org-publish.el (org-publish-find-title): Bug fix.
7224         (org-publish-org-index): Implement new :index-style option.
7226 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
7228         * org-publish.el (org-publish-timestamp-filename): Use
7229         SHA1-encoded file names in the timestamp directory.
7231 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
7233         * org-publish.el (org-publish-needed-p): Be verbose about files
7234         published and files skipped.
7236         * org-exp.el (org-export-preprocess-string): Swap link
7237         normalization and inernal link targeting.
7239         * org-publish.el (org-publish-needed-p): Create timestamp
7240         directory when it does not exist.
7242 2008-07-04  Bastien Guerry  <bzg@altern.org>
7244         * org-clock.el (org-clock-out-when-done): Doc fix.
7246         * org.el (org-agenda-skip-unavailable-files): Doc fix.
7248         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7249         Ignore case when searching for the COMMENT cookie at export time.
7251 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
7253         * org-exp.el (org-get-file-contents)
7254         (org-get-and-remove-property): New functions.
7255         (org-export-handle-include-files): Handle the new prefix options.
7256         (org-export-as-html): Fix the verse environment.
7258 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
7260         * org.el (org-time=, org-time<, org-time<=, org-time>)
7261         (org-time>=, org-time<>, org-2ft): New functions.
7262         (org-op-to-function): Also provide for the time testing fucntions.
7264 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
7266         * org-exp.el (org-export-html-style-default): New constant.
7268 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
7270         * org-exp.el (org-export-html-style-extra): New variable.
7271         (org-export-splice-style): New function.
7273 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
7275         * org-exp.el (org-export-plist-vars, org-export-as-html):
7276         Implement `org-export-creator-info'.
7277         (org-export-creator-info): New option.
7279 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
7281         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7282         (org-property-drawer-re, org-clock-drawer-re): New constants.
7284 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
7286         * org-exp.el (org-icalendar-use-deadline)
7287         (org-icalendar-use-scheduled): New options.
7288         (org-icalendar-include-todo): Default changed to t.
7289         (org-print-icalendar-entries): Implement better utilization of
7290         scheduling and deadline time stamps.
7291         (org-export-target-internal-links, org-export-as-html): Allow file
7292         lines without the "file:" prefix if the file path is an absolute
7293         path or starts with ".".
7295         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
7296         lastweek etc.
7297         (org-clock-special-range): Also undertand yesterday, lastweek etc.
7299 2008-06-18  Glenn Morris  <rgm@gnu.org>
7300         * org.el (org-map-entries): Let-bind `file'.
7302 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
7304         * org.el (org-agenda-skip-archived-trees): Docstring now
7305         discourages using this.
7306         (org-scan-tags): Check for org-agenda-archives-mode.
7307         (org-map-entries): Make sure org-agenda-archives-mode is nil.
7308         (org-agenda-files): Functionality of second arg changed.
7310         * org-agenda.el (org-agenda-archives-mode): New variable
7311         (org-write-agenda, org-prepare-agenda, org-agenda-list)
7312         (org-search-view, org-todo-list, org-tags-view)
7313         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7314         `ifmode' argument.
7315         (org-agenda-quit): Reset the archives mode.
7316         (org-agenda-archives-mode): New command.
7317         (org-agenda-set-mode-name): Include archives info.
7319 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
7321         * org.el (org-paste-subtree): Make sure the yanked headline is
7322         visible if it was yanked at a visible point.
7323         (org-move-item-up): Fix the bug with moving white space at the end
7324         of the item.
7325         (org-show-empty-lines-in-parent): New function.
7327 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
7329         * org-colview.el (org-columns-next-allowed-value): Bug fix.
7331         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7333         * org-agenda.el (org-agenda-get-closed): Get the end time into the
7334         agenda prefix as well.
7336         * org-publish.el (org-publish-org-index): Make a properly indented
7337         list.
7339         * org.el (org-calendar-agenda-action-key): New option.
7340         (org-get-cursor-date): New function.
7341         (org-mark-entry-for-agenda-action): New command.
7342         (org-overriding-default-time): New variable.
7343         (org-read-date): Respect `org-overriding-default-time'.
7345         * org-remember.el (org-remember-apply-template): Respect the
7346         ovverriding default time.
7348         * org-agenda.el (org-agenda-action-marker): New variable.
7349         (org-agenda-action): New command.
7350         (org-agenda-do-action): New function.
7352 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7354         * org.el (org-schedule, org-deadline): Protect scheduled and
7355         deadline tasks against changes that accidently remove the
7356         repeater.  Also show a message with the new date when done.
7358 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7360         * org.el (org-beginning-of-line): Cater for the case when there
7361         are tags but no headline text.
7362         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7363         it set.
7365 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
7367         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7368         the return value is nil instead of "nil" when there is no match.
7370         * org-exp.el (org-insert-centered): Use fill-column instead of
7371         80.
7372         (org-export-as-ascii): Use string-width to measure the width of
7373         the heading.
7375         * org.el (org-diary-to-ical-string): No longer kill buffer
7376         FROMBUF, this is now done by the caller.
7378         * org-exp.el (org-print-icalendar-entries): Move the call to
7379         `org-diary-to-ical-string' out of the loop, and kill the buffer
7380         afterwords.
7382         * org-remember.el (org-remember-visit-immediately): Position
7383         cursor after moving to the note.
7384         (org-remember-apply-template): Use a text property to record the
7385         cursor position.
7386         (org-remember-handler): Align tags after pasting the note.
7388 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
7390         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7392         * org-agenda.el (org-agenda-open-link): If there is an
7393         org-bbdb-name property in the current line, jump to that bbdb
7394         entry.
7396         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7397         text property, so that the agenda knows where this entry comes
7398         from.
7400         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
7401         interaction between clocking-in from the agenda, and  automatic
7402         task state switching.
7404         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
7406         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7407         zmacs-region stays after this command in XEmacs.
7409 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
7411         * org.el (org-scan-tags): Allow new values for ACTION parameter.
7413         * org-remember.el (org-remember-templates): Fix bug in
7414         customization type definition.
7416         * org.el (org-map-entries): New function.
7418 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
7420         * org-agenda.el (org-agenda-skip-comment-trees): New option.
7421         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7423 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
7425         * org-remember.el (org-jump-to-target-location): New variable.
7426         (org-remember-apply-template): Set
7427         `org-remember-apply-template' if requested by template.
7428         (org-remember-handler): Start an idle timer to jump to
7429         remember location.
7431         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7433         * org.el (org-set-regexps-and-options): Fix bug with parsing of
7434         file tags.
7435         (org-get-tags-at): Add the content of `org-file-tags'.
7437         * org-exp.el (org-export-handle-comments): Fix bug with several
7438         comment lines after each other.
7439         (org-number-to-roman, org-number-to-counter): New functions.
7440         (org-export-section-number-format): New option.
7442 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
7444         * org-exp.el (org-export-protect-examples): Catch the case of a
7445         missing end_example line.
7447         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7448         `org-file-tags' to nil.
7450         * org-colview.el (org-columns-next-allowed-value): Handle next
7451         argument NTH to directly select a value.
7453         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7454         argument NTH to directly select a value.
7456 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
7458         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7460 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
7462         * org.el (org-columns-ellipses): New option.
7464 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
7466         * org-colview.el (org-columns-add-ellipses): New function.
7467         (org-columns-compact-links): New function.
7468         (org-columns-cleanup-item): Call `org-columns-compact-links'.
7469         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7470         when in agenda.
7471         (org-columns-edit-value): Fixed bug with editing values from
7472         agenda column view.
7473         (org-columns-redo): Also redo the agenda itself.
7475 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
7477         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7478         option.
7480         * org-colview.el (org-agenda-columns-cleanup-item): New function.
7482         * org-exp.el (org-export-ascii-preprocess): Renamed from
7483         `org-export-ascii-clean-string'.
7484         (org-export-kill-licensed-text)
7485         (org-export-define-heading-targets)
7486         (org-export-handle-invisible-targets)
7487         (org-export-target-internal-links)
7488         (org-export-remove-or-extract-drawers)
7489         (org-export-remove-archived-trees)
7490         (org-export-protect-quoted-subtrees)
7491         (org-export-protect-verbatim, org-export-protect-examples)
7492         (org-export-select-backend-specific-text)
7493         (org-export-mark-blockquote-and-verse)
7494         (org-export-remove-comment-blocks-and-subtrees)
7495         (org-export-handle-comments, org-export-mark-radio-links)
7496         (org-export-remove-special-table-lines)
7497         (org-export-normalize-links)
7498         (org-export-concatenate-multiline-links)
7499         (org-export-concatenate-multiline-emphasis): New functions,
7500         obtained from spliiting the export preprocessor.
7502         * org-table.el (org-table-recalculate): Improve error message if
7503         the row number is invalid.
7505 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7507         * org-archive.el (org-archive-save-context-info): Fix bugs in
7508         customization setup and docstring.
7510         * org-exp.el (org-export-html-style): Changed the size of in the
7511         <pre> element to 90%.
7513 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7515         * org.el (org-find-src-example-start): Function removed.
7516         (org-edit-src-find-region-and-lang): New function.
7518 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7520         * org.el (org-edit-src-exit): New function.
7521         (org-exit-edit-mode): New minor mode.
7523         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7524         comment-like lines from protected examples.
7526         * org.el (org-edit-src-example, org-find-src-example-start)
7527         (org-protect-source-example, org-edit-special): New functions.
7529 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7531         * org-publish.el (org-publish-project-alist): Fix typo in
7532         docstring.
7533         (org-publish-project-alist): Handle :index-title property.
7535 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7537         * org-export-latex.el (org-export-as-latex): Make sure region
7538         bounds are correct.  Parse subtree properties relating to export.
7540         * org-exp.el (org-export-add-options-to-plist): New function.
7541         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7543 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7545         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7546         EXPORT_TITLE.
7548         * org-exp.el (org-export-get-title-from-subtree)
7549         (org-export-as-ascii, org-export-as-html): Make sure the original
7550         region-beginning and region-end are used, even after moving
7551         point.
7552         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7553         property.
7555         * org-remember.el (org-remember-last-stored-marker): New variable.
7556         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7557         (org-remember-handler): Also use marker to remember
7558         last-stored position.
7560         * org.el (org-goto-marker-or-bmk): New function.
7562 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7564         * org.el (org-file-properties): Renamed from `org-local-properties'.
7565         (org-scan-tags): Take file tags into account.
7566         (org-tags-match-list-sublevels): Default changed to t.
7568         * org-exp.el (org-export-as-html): Close paragraph after a
7569         footnote.
7571         * org.el (org-update-parent-todo-statistics): New function.
7573         * org-exp.el (org-icalendar-store-UID): New option.
7574         (org-icalendar-force-UID): Option removed.
7575         (org-print-icalendar-entries): IMplement UIDs.
7577 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7579         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7581 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7583         * org-faces.el (org-column): Document how this face is being used
7584         and why sometimes the background faces shine through.
7586         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7588         * org-publish.el (org-publish-attachment): Create publishing
7589         directory if it does not yet exist.
7591         * org-table.el (org-calc-default-modes): Change default number
7592         format to (float 8).
7594         * org.el (org-olpath-completing-read): New function.
7595         (org-time-clocksum-format): New option.
7596         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7598         * org-clock.el (org-clock-display, org-clock-out)
7599         (org-update-mode-line): Use `org-time-clocksum-format'.
7601         * org-colview-xemacs.el (org-columns-number-to-string): Use
7602         `org-time-clocksum-format'.
7604         * org-colview.el (org-columns-number-to-string): Use
7605         `org-time-clocksum-format'.
7607 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7609         * org-id.el: New file, move from contrib to core.
7611         * org-exp.el (org-icalendar-force-UID): New option.
7613 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7615         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7616         shifted by one day if theere is a date range without an end
7617         time.
7619         * org.el (org-try-structure-completion): New function.
7621 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7623         * org.el (org-set-font-lock-defaults): Improve fontification of
7624         description lists.
7625         (org-insert-item): Handle description lists.
7626         (org-adaptive-fill-function): Improve auto indentation in
7627         description lists.
7629         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7630         Implement VERSE environment.
7631         (org-export-preprocess-string): Implement the COMMENT
7632         environment.
7634         * org-export-latex.el (org-export-latex-preprocess): Implement
7635         VERSE environment.
7637 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7639         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7640         option.
7642 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7644         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7646         * org.el (org-quote-csv-field): New functions.
7648         * org-table.el (org-table-export-default-format): Remove :splice
7649         from default format, we get the same effect by not specifying
7650         :tstart and :tend.
7651         (org-table-export): Improve setup, distinguish better between
7652         interactive and non-interactive use, allow specifying the format
7653         on the fly, better protection against wrong file names.
7654         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7655         and :tend when :splice is omitted.
7657 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7659         * org-clock.el (org-clock-select-task): Make sure the selection
7660         letters are 1-9 and A-Z, no special characters.
7662 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7664         * org-exp.el (org-export-htmlize): New group.
7665         (org-export-htmlize-output-type)
7666         (org-export-htmlize-css-font-prefix): New options.
7667         (org-export-htmlize-region-for-paste): New function.
7668         (org-export-htmlize-generate-css): New command.
7670 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7672         * org/org.el (org-modules, org-format-latex-options):
7673         * org/org-archive.el (org-archive-stamp-time)
7674         (org-archive-save-context-info):
7675         * org/org-faces.el (org-hide):
7676         * org/org-irc.el (org-irc-parse-link):
7677         * org/org-macs.el (org-call-with-arg, org-autoload):
7678         * org/org-mew.el (org-mew-store-link):
7679         * org/org-remember.el (org-remember-store-without-prompt)
7680         (org-remember-templates): Fix typos in docstrings.
7682         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7684         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7685         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7686         (org-bbdb-anniv-split): Fix typos in docstrings.
7688         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7689         (org-publish-use-timestamps-flag): Reflow docstring.
7690         (org-publish-files-alist): Fix typos in docstring.
7692 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7694         * org.el (org-set-visibility-according-to-property): New function.
7695         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7696         and compute the regular expressions, and update font-lock.
7697         (org-property-re): Allow a dash in property names.
7699         * org-archive.el (org-extract-archive-file): Insert the file name
7700         without the path into the format, to allow the location format to
7701         contain a subdirectory.
7703         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7704         of buffer, and the `org-agenda-type' property undefined, use the
7705         value from the character before.
7707         * org.el (org-add-planning-info): Don't let indentation for
7708         would-be timestamp become extra whitespace at the end of headline.
7710 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7712         * org.el (org-remove-double-quotes, org-file-contents): New
7713         functions.
7715         * org-exp.el (org-infile-export-plist): Also parse the
7716         contents of #+SETUPFILE files, recursively.
7718         * org.el (org-set-regexps-and-options): Also parse the
7719         contents of #+SETUPFILE files, recursively.
7721         * org-exp.el (org-export-handle-include-files): New function.
7722         (org-export-preprocess-string): Call
7723         `org-export-handle-include-files'.
7725         * org.el (org-delete-property-globally)
7726         (org-delete-property, org-set-property): Ignore case during
7727         completion.
7728         (org-set-property): Use `org-completing-read' instead of
7729         `completing-read'.
7731         * org.el (org-complete-expand-structure-template): New,
7732         experimental function.
7733         (org-structure-template-alist): New, experimental option.
7734         (org-complete): Call `org-complete-expand-structure-template'.
7736 2008-05-06  Bastien Guerry  <bzg@altern.org>
7738         * org-export-latex.el (org-export-latex-preprocess): Added
7739         support for blockquotes.
7741 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7743         * org.el (org-read-date-analyze): Catch the case where only a
7744         weekday is given.
7746 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7748         * org.el (org-set-font-lock-defaults): Make the description
7749         tag bold.
7751         * org-exp.el (org-export-as-html, org-close-li): Implement
7752         description lists.
7754 2008-05-04  Jason Riedy  <jason@acm.org>
7756         * org-table.el (*orgtbl-default-fmt*): New variable.
7757         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7758         when there is no other fmt available.
7760         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7761         :tend to suppress the appropriate string.
7763         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7764         table.
7766 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7768         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7769         read date.
7771         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7772         New function.
7774         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7775         New function.
7777 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7779         * org-clock.el (org-clock-find-position): Don't include notes
7780         into clock drawer.
7782         * org-archive.el (org-archive-subtree): No longer remove an
7783         extra line after cutting the subtree.  `org-cut-subtree' already
7784         takes care of this.
7786         * org-remember.el (org-remember-handler): Only kill the target
7787         buffer if it does not contain the running clock.
7789         * org.el (org-markers-to-move): New variable.
7790         (org-save-markers-in-region, org-check-and-save-marker)
7791         (org-reinstall-markers-in-region): New function.
7792         (org-move-subtree-down, org-copy-subtree): Remember relative
7793         marker positions before cutting.
7794         (org-move-subtree-down, org-paste-subtree): Restore relative
7795         marker positions after pasting.
7797         * org-remember.el (org-remember-clock-out-on-exit): New option.
7798         (org-remember-finalize): Clock out only if the setting in
7799         `org-remember-clock-out-on-exit' requires it.
7800         (org-remember-handler): Do the cleanup in the buffer, to make sure
7801         that the clock marker remains in tact.
7803 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7805         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7806         (org-clock-in): Make sure that also tasks outside the narrowed
7807         region will be clocked in correctly.
7808         (org-clock-insert-selection-line): Widen the buffer so that we can
7809         find the correct task heading.
7811         * org.el (org-base-buffer): New function.
7813         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7814         and ";" are escaped.
7815         (org-print-icalendar-entries): Also apply
7816         `org-icalendar-cleanup-string' to the headline, not only to the
7817         summary property.
7819 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7821         * org-exp.el (org-export-preprocess-hook): New hook.
7822         (org-export-preprocess-string): Call
7823         `org-export-preprocess-hook'.
7825         * org.el (org-font-lock-hook): New variable.
7826         (org-font-lock-hook): New function.
7827         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7829 ;; Local Variables:
7830 ;; coding: utf-8
7831 ;; add-log-time-zone-rule: t
7832 ;; End:
7834     Copyright (C) 2008  Free Software Foundation, Inc.
7836   This file is part of GNU Emacs.
7838   GNU Emacs is free software: you can redistribute it and/or modify
7839   it under the terms of the GNU General Public License as published by
7840   the Free Software Foundation, either version 3 of the License, or
7841   (at your option) any later version.
7843   GNU Emacs is distributed in the hope that it will be useful,
7844   but WITHOUT ANY WARRANTY; without even the implied warranty of
7845   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7846   GNU General Public License for more details.
7848   You should have received a copy of the GNU General Public License
7849   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7851 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c