Remove org-R from org-modules.
[org-mode/org-tableheadings.git] / lisp / ChangeLog
blobe0c7014461e9acd7e5d8313cfdc0731a0ad3ffdc
1 2010-03-31  Dan Davison  <davison@stats.ox.ac.uk>
3         * org.el (org-appearance): Change Customize group variable name
4         from org-font-lock to org-appearance, and change tag from "Org
5         Font Lock" to "Org Appearance"
6         (org-odd-levels-only): Change Customize group variable name
7         (org-level-color-stars-only): Change Customize group variable name
8         (org-hide-leading-stars): Change Customize group variable name
9         (org-hidden-keywords): Change Customize group variable name
10         (org-fontify-done-headline): Change Customize group variable name
11         (org-fontify-emphasized-text): Change Customize group variable name
12         (org-fontify-whole-heading-line): Change Customize group variable name
13         (org-highlight-latex-fragments-and-specials): Change Customize group variable name
14         (org-hide-emphasis-markers): Change Customize group variable name
15         (org-emphasis-alist): Change Customize group variable name
16         (org-emphasis-regexp-components): Change Customize group variable name
17         (org-modules): Remove mention of org-R
19         * org-faces.el (org-faces): Change Customize group variable name
21 2010-03-29  Carsten Dominik  <carsten.dominik@gmail.com>
23         * org-agenda.el (org-diary-last-run-time): New variable.
24         (org-diary): prepare agenda buffers only if last call was some
25         time ago.
27         * org-html.el (org-export-html-preprocess): Replace \ref macros
28         with a link.
29         (org-format-org-table-html): Add the label as an anchor.
31         * org-docbook.el (org-export-docbook-format-image): Do some
32         formatting on captions.
34         * org-latex.el (org-export-latex-tables, org-export-latex-links):
35         Do some formatting on captions.
37         * org-html.el (org-export-html-format-image)
38         (org-format-org-table-html): Do some formatting on captions.
40 2010-03-28  Dan Davison  <davison@stats.ox.ac.uk>
42         * org.el (org-hidden-keywords): New customizable variable. This is
43         a list of symbols specifying which of the special keywords #+DATE,
44         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
45         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
46         implementing new faces and hiding behaviour.
48         * org-faces.el (org-document-title): New face for #+TITLE lines
49         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines
50         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL keywords
52 2010-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
54         * org-publish.el (org-publish-sanitize-plist): New function to
55         rename "index" properties to "sitemap".  Do this renaming
56         globally.
57         (org-publish-with-aux-preprocess-maybe): New macro.
58         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
59         macro.
60         (org-publish-aux-preprocess)
61         (org-publish-index-generate-theindex.inc): New function.
63 2010-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
65         * org-table.el (org-table-align): Interpret <N> at fixed width,
66         not as maximum width.
68 2010-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
70         * org-exp.el (org-export-author-info, org-export-email-info): Fix
71         docstrings.
73         * org-beamer.el (org-beamer-select-environment): Renamed from
74         `org-beamer-set-environment-tag'.  Improve docstring.
76         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
77         problem with odd levels.
79         * org-ascii.el (org-export-as-ascii): Export email only if the
80         author wants it.
82         * org-docbook.el (org-export-as-docbook): Export email only if the
83         author wants it.
85         * org-html.el (org-export-as-html): Export email only if the
86         author wants it.
88         * org-exp.el (org-export-email-info): New option.
89         (org-export-plist-vars): Add entry for `org-export-email'.
91 2010-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
93         * org-table.el (org-table-goto-line): Fix typo.
95 2010-03-25  Mikael Fornius  <mfo@abc.se>
97         * org.el (org-agenda-files): Typo.
98         (org-read-agenda-file-list): Add optional argument to help
99         `org-store-new-agenda-file-list' to remember un-expanded file
100         names.  Expand file names relative to `org-directory'.
101         (org-store-new-agenda-file-list): Keep un-expanded file names when
102         saving, if available.
103         (org-agenda-files): Update documentation.
105 2010-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
107         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
108         a buffer with no file name attached.
110         * org.el (org-log-refile): New option.
111         (org-log-note-headings): Add a heading for refiling.
112         (org-startup-options): Add keywords for logging of the refile
113         action.
114         (org-refile): Add logging action.
115         (org-add-log-note): Allow for refiling action.
117         * org-agenda.el (org-agenda-bulk-action): Make sure
118         `org-log-refile' is not `note' during a bulk action.
120 2010-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
122         * org.el (org-map-dblocks): Use save-excursion to remember the
123         position.
125         * org-attach.el (org-attach-commit): Remove dependence on xargs.
126         (org-attach-delete-one): Commit after deleting a file.
128         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
129         borders for strike-through emphasis.
131         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
132         handling of odd levels.
134         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
135         and `future' values.
136         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
137         Handle `past' and `future' values.
139         * org.el (org-read-agenda-file-list): Interpret file names
140         relative to org-directory and allow environment variables and
141         "~".
143         * org-latex.el (org-export-latex-special-chars): Allow a
144         parenthesis before an exponent or subscript.
146 2010-03-23  Dan Davison  <davison@stats.ox.ac.uk>
148         * org-src.el (org-edit-src-exit): When returning from code edit
149         buffer, if code block is hidden, leave point at start of
150         #+begin_src line
152 2010-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
154         * org.el (org-insert-heading): Do not remove all spaces if the
155         headline is empty.
157         * org-indent.el (org-indent): Fix group name.
159 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
161         * org-table.el (org-table-goto-column): Fix forcing a non-existing
162         column.
163         (org-table-get, org-table-put, org-table-goto-line)
164         (org-table-current-line): New functions.
166 2010-03-21  Jan Böcker  <jan.boecker@jboecker.de>
168         * org.el (org-open-file): Allow regular expressions in
169         org-file-apps to capture link parameters using groups.  In a
170         command string to be executed, the parameters can be referenced
171         using %1, %2, etc.  Lisp forms can access them using
172         (match-string n link).
173         (org-apps-regexp-alist): Adopt the created regexp, as this is now
174         matched against a file: link instead of the file name.
176 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
178         * org-crypt.el (org-reveal-start-hook): Add a decryption function
179         to this hook.
180         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
181         docstrings.
183         * org.el (org-point-at-end-of-empty-headline)
184         (org-level-increment, org-get-previous-line-level): New function.
185         (org-cycle-level): Rewritten to be independent of when this
186         function is called.
187         (org-in-regexps-block-p): New function.
188         (org-reveal-start-hook): New hook.
189         (org-reveal): Run new hook.
191 2010-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
193         * org-latex.el (org-export-latex-keywords): Start a new paragraph
194         after time keywords, do not add "\newline".
196         * org-html.el (org-export-as-html): Avoid double # in href.
198         * org.el (org-refile-get-location): Catch an invalid target
199         specification.
201 2010-03-18  Carsten Dominik  <carsten.dominik@gmail.com>
203         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
204         Make sure the behavior regarding to extracting time is
205         consistent.
207 2010-03-17  Stephen Eglen  <stephen@gnu.org>
209         * org-agenda.el (org-agenda-insert-diary-extract-time): New
210         variable.
211         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
212         variable rather than `org-agenda-search-headline-for-time'.
214 2010-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
216         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
218 2010-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
220         * org.el (org-adaptive-fill-regexp-backup): New variable.
221         (org-set-autofill-regexps): Store a backup of
222         `adaptive-fill-regexp'.
223         (org-adaptive-fill-function): Fix filling of comments and ordered
224         lists. If there is no other match, till try adaptive fill.
226 2010-03-15  John Wiegley  <jwiegley@gmail.com>
228         * org-agenda.el (org-agenda-include-deadlines): Added new
229         customization variable to determine whether unscheduled tasks
230         should appear in the agenda solely because of their deadline.
231         Default to true, which was the previous behavior (it just wasn't
232         configurable).
233         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
234         the agenda to show/hide deadline tasks.
235         (org-agenda-menu): Added menu option for show/hide deadlines.
236         (org-agenda-list): Make the agenda list sensitive to the value of
237         `org-agenda-include-deadlines'.
238         (org-agenda-toggle-deadlines): New function to toggle the value of
239         `org-agenda-include-deadlines' and repaint the modeline
240         indicators.
241         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
242         modeline if deadline tasks are being displayed.
244 2010-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
246         * org-table.el (org-table-eval-formula): Replace $# and @# by
247         current column and row number.
249 2010-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
251         * org.el (org-set-property, org-delete-property): Go back to
252         prompting for the property.
254         * org-latex.el (org-export-latex-make-header): Fully process
255         author line.
256         (org-export-latex-fontify-headline): Allow several arguments, not
257         just one.
258         (org-export-latex-fix-inputenc): Catch the error when
259         `latexenc-coding-system-to-inputenc' is not defined.
261         * org-agenda.el (org-agenda-skip-if-todo): New function.
262         (org-agenda-skip-if): Add conditions for TODO keywords.
263         (org-agenda-skip-if): Document the new todo conditions.
265 2010-03-11  Mikael Fornius  <mfo@abc.se>
267         * org.el (org-at-property-p): Check if we are inside a property
268         drawer not just any drawer.
269         (org-set-property, org-delete-property): When cursor is on a
270         property key value pair do not prompt for property name instead
271         use name at cursor.
272         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
273         on the first line of a property drawer.
274         (org-property-end-re): Spell check.
276 2010-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
278         * org-exp.el (org-export-attach-captions-and-attributes): Add the
279         properties to the entire table, in case the first line is
280         removed.
282         * org-archive.el (org-archive-reversed-order): New option.
283         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
284         option `org-archive-reversed-order'.
286 2010-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
288         * org-agenda.el (org-agenda-entry-types): New variable.
289         (org-agenda-list): Use `org-agenda-entry-types'.
290         (org-agenda-custom-commands-local-options): Support for setting
291         `org-agenda-entry-types' as an option.
292         (org-diary): Shift some documentation from here to the variable
293         `org-agenda-entry-types'.
295 2010-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
297         * org-latex.el (org-export-latex-make-header): Apply macros in
298         author field.
300         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
301         (org-clock-select-task, org-clock-notify-once-if-expired)
302         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
303         (org-clock-out-if-current, org-clock-save): Use the new functions.
305 2010-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
307         * org-docbook.el (org-export-as-docbook): Remove unnecessary
308         newline.
309         (org-export-as-docbook): Remove unnecessary newline.
310         (org-export-as-docbook): Fix problem with double footnote
311         reference in one place.
313         * org-exp.el (org-export-format-source-code-or-example): Remove
314         unnecessary newline.
316         * org.el (org-deadline, org-schedule): Allow rescheduling entries
317         with repeaters.
319         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
320         function calls that look like references.
322         * org.el (org-open-at-point): Get link abbreviations from
323         reference buffer.
325 2010-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
327         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
328         as a reference.
330 2010-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
332         * org.el (org-link-unescape): Solve issue with lower-case escapes.
334 2010-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
336         * org-latex.el (org-export-latex-classes): Add
337         \usepackage{latexsym} to all classes.
339 2010-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
341         * org-html.el (org-export-as-html): Do not allow protected lines
342         into the table of contents.
344         * org-latex.el (org-export-latex-special-chars): Find subsequent
345         occurrences of special characters.
346         (org-export-latex-tables): Do not convert table-like stuff that is
347         protected.
349 2010-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
351         * org-list.el (org-toggle-checkbox): No errors when updating
352         checkbox count fails because there is no heading.
354 2010-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
356         * org-clock.el (org-clock-report-include-clocking-task): New
357         option.
358         (org-clock-sum): Add the current clocking task.
360 2010-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
362         * org.el (org-cycle): Print a message when in a table.el table.
363         (org-edit-special): Recognize the table.el context.
364         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
366         * org-src.el (org-at-table.el-p): Declare.
367         (org-edit-src-code): Handle a special case for table.el editing.
368         (org-edit-src-find-region-and-lang): Recognize the table.el
369         context.
371         * org-latex.el (org-export-latex-tables): Convert table.el
372         tables.
373         (org-export-latex-convert-table.el-table): New function.
375         * org-html.el (org-html-expand): Fix table.el export.
377         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
378         headings.
380         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
381         table for the id locations.
383         * org.el (org-read-date-analyze): Match American-style dates, like
384         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
385         current year when reading ISO and American dates.
387 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
389         * org.el (org-face-from-face-or-color): New function.
390         (org-get-todo-face, org-font-lock-add-priority-faces)
391         (org-get-tag-face): Use `org-face-from-face-or-color'.
393         * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
394         simple colors as values.
395         (org-faces-easy-properties): New option.
397         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
398         restricted, as an agenda mode.
399         (org-agenda-fontify-priorities): Allow simple colors as values.
401 2010-02-25  Bastien Guerry  <bzg@altern.org>
403         * org-timer.el (org-timer-current-timer): Renamed from
404         `org-timer-last-timer'.
405         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
406         (org-timer-cancel-timer, org-timer-show-remaining-time)
407         (org-timer-set-timer): Update to use only one timer.
409         * org.el (org-set-property): Remove useless space in the prompt.
411 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
413         * org-html.el (org-export-html-style-default): Add a default style
414         for textareas.
416         * org-exp.el (org-export-format-source-code-or-example): Fix
417         textarea tag.
419 2010-02-24  Bastien Guerry  <bzg@altern.org>
421         * org-clock.el (org-clock-current-task): New variable to store
422         last clocked in task.
423         (org-clock-set-current, org-clock-delete-current): New functions.
425 2010-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
427         * org-remember.el (org-remember-apply-template): Extend comment.
428         (org-remember-handler): Implement clock sibling filing.
430 2010-02-23  Carsten Dominik  <carsten.dominik@gmail.com>
432         * org-publish.el (org-publish-all, org-publish-current-file)
433         (org-publish-current-project): When called with prefix argument
434         FORCE, also rebuild the validation file list.
436         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
437         section headings.
439 2010-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
441         * org-html.el (org-export-as-html-and-open): Kill product buffer
442         if the user wants that.
444         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
445         if the user wants that.
447         * org-exp.el (org-export-kill-product-buffer-when-displayed): New
448         option.
450         * org-agenda.el (org-batch-agenda-csv): Use the time property
451         instead of the `time-of-day' property.
453 2010-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
455         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
456         (org-timer-pause-hook, org-timer-set-hook)
457         (org-timer-cancel-hook): New hooks.
458         (org-timer-start): Run `org-timer-start-hook'.
459         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
460         (org-timer-stop): Run `org-timer-stop-hook'.
461         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
463 2010-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
465         * org.el (org-reveal): Double prefix arg shows the subtree of the
466         parent.
468 2010-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
470         * org-agenda.el (org-search-view): Fix bug with searching full
471         words in headlines in search view.
472         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
473         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
474         scheduled (if the user configures it so.
476 2010-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
478         * org.el (org-hide-archived-subtrees): Don't jump to end of
479         subtree if the match was not in a headline.
480         (org-inside-latex-macro-p): Allow more complex arguments.
481         (org-emphasize): Protect against use at end of buffer.
483 2010-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
485         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
486         text properties.
488 2010-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
490         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
491         values.
492         (org-agenda-todo-ignore-scheduled)
493         (org-agenda-todo-ignore-deadlines): More control with different
494         allowed values.
495         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
496         Honor the new option settings.
498 2010-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
500         * org.el (org-get-location): Make sure the selection buffer is
501         shown in the current frame.
503         * org-ascii.el (org-export-ascii-table-widen-columns): New
504         option.
505         (org-export-ascii-preprocess): Realign tables to remove narrowing
506         if `org-export-ascii-table-widen-columns' is set.
508         * org-table.el (org-table-do-narrow): New variable.
509         (org-table-align): Narrow only if `org-table-do-narrow' is t.
511         * org.el (org-deadline, org-schedule): Allow updating if the
512         relevant time stamp does not have a repeater, i.e. do not require
513         that no time stamp has a repeater.
515         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
516         new white space before the tags.
518         * org-latex.el (org-export-as-latex): Do nit require the buffer to
519         be visiting a file when only exporting to a buffer or string.
520         (org-export-latex-fix-inputenc): Only save the buffer is there is
521         a file name attached to it.
523 2010-02-09  Dan Davison  <davison@stats.ox.ac.uk>
525         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
527 2010-02-08  Carsten Dominik  <carsten.dominik@gmail.com>
529         * org.el (org-fontify-meta-lines-and-blocks): Honor
530         `org-fontify-quote-and-verse-blocks'.
532         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
534 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
536         * org.el (org-open-at-point): Also check for text property
537         org-linked-text before offering collected links.
539 2010-02-03  Stephen Eglen  <stephen@gnu.org>
541         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
542         Optionally extract time specification from text and add to the
543         timestamp.
545 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
547         * org-exp.el (org-html-entities): Fix typo.
549         * org-latex.el (org-export-latex-make-header): Use \providecommand
550         to make sure the \alert macro is defined.
552         * org.el (org-format-latex-signal-error)
553         (org-create-formula-image): Use `org-format-latex-signal-error'.
555 2010-02-02  Stephen Eglen  <stephen@gnu.org>
557         * org.el (org-store-link): For dired buffers, use
558         default-directory as link name if dired-get-filename returns
559         nil.
561 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
563         * org-exp.el (org-export-concatenate-multiline-links): The for
564         protectedness at beginning of match.
566         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
567         AUTO as a coding system, instead default to utf8.
569 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
571         * org.el (org-block-todo-from-children-or-siblings-or-parent)
572         (org-block-todo-from-checkboxes): Respect the local variable
573         value when deciding if blocking should be active.
575         * org-latex.el (org-export-latex-make-header): Define the align
576         macro if it is not yet defined.
578         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
579         `org-insert-heading' with the INVISIBLE-OK argument.
581         * org-mac-message.el (org-mac-message-insert-flagged): Call
582         `org-insert-heading' with the INVISIBLE-OK argument.
584         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
586         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
587         prompt message.
589         * org-html.el (org-html-level-start): Use the
590         `html-container-class' text property to set an additional class
591         for an outline container.
593         * org-exp.el (org-export-remember-html-container-classes): New
594         function.
595         (org-export-preprocess-string): Call
596         `org-export-remember-html-container-classes'.
598         * org.el (org-cycle): Mention level cycling in the docstring.
599         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
601         * org-remember.el (org-remember-apply-template): Do file insertion
602         first.
604 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
606         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
607         problem with mis-aligned graphs when showing habits.
609 2010-01-28  Mikael Fornius  <mfo@abc.se>
611         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
612         when assigning. Begin using numerical characters when all in name
613         is used up. This is to spare alphanumeric characters for better
614         match with other keywords.
616 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
618         * org-exp.el (org-export-preprocess-hook): Improve documentation.
620         * org-latex.el (org-export-latex-preprocess): More consistent
621         conversion and protection of the words LaTeX and TeX.
622         (org-export-latex-fontify-headline, org-export-latex-preprocess):
623         Allow angle brackets in commands, for beamer.
625 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
627         * org-clock.el (org-clock-in): Improve the look of the clock line
628         by formatting links.
630 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
632         * org-latex.el (org-export-latex-classes): Use AUTO as the place
633         holder string for the coding system.  And improve the
634         documentation.
635         (org-export-latex-fix-inputenc): Only modify the coding system if
636         it is given by the placeholder AUTO.
638 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
640         * org-clock.el (org-task-overrun-text): New option.
641         (org-task-overrun, org-clock-update-period): New variables.
642         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
643         overrun clock.
644         (org-clock-notify-once-if-expired): Check if clock is overrun.
646         * org-faces.el: New face `org-mode-line-clock-overrun'.
648 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
650         * org.el (org-narrow-to-subtree): Position the end of the narrowed
651         region before the line with the next heading, to prevent the user
652         from prepending text to the next headline.
654 2010-01-20  Stephen Eglen  <stephen@gnu.org>
656         * org-agenda.el (org-get-time-of-day): Use
657         org-agenda-time-leading-zero to allow leading zero (rather than
658         space) for times.
660 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
662         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
663         org-datetree.el is loaded.
665         * org-datetree.el: autoload `org-datetree-find-day-create'
667         * org-latex.el (org-export-latex-hyperref-format): New option.
668         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
670 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
672         * org-ctags.el (org-ctags-enable): Change order of functions.
673         (org-ctags-create-tags): Add wildcard to file name expansion.
675 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
677         * org.el (org-entry-properties): Fix some important bugs.
679 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
681         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
682         the table is not explicitly given.
684 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
686         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
687         as value.
688         (org-clock-out-if-current): Work with the new list value of
689         `org-clock-out-when-done'.
690         (org-clock-out, org-clock-out-if-current): Avoid circular logic
691         between clocking out and state changes.
693         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
695         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
696         accident protect a character that is before a backslash.
698 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
700         * org-agenda.el (org-diary-class): Use
701         `org-order-calendar-date-args'.
703         * org.el (org-order-calendar-date-args): New function.
705         * org-exp.el (org-export-target-internal-links): Check for
706         protectedness after the first bracket.
708         * org.el (org-entry-properties): Don't match wrong-case TODO
709         keywords.
711         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
712         Document that ARG is passed through to remove the date.
713         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
714         not read a date when the user has given a `C-u' prefix.
716 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
718         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
719         tags are hidden.
721 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
723         * org-latex.el (org-export-latex-fix-inputenc): New function.
724         (org-export-latex-inputenc-alist): New option.
726         * org-exp.el (org-export): New key SPC to publish enclosing
727         subtree.
729 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
731         * org-indent.el (org-indent-add-properties): Catch case when there
732         is no headline in the buffer.
734 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
736         * org-exp.el (org-html-entities): Add checkmark symbol.
738         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
739         verbatim code for ASCII export.
741         * org.el (org-update-statistics-cookies): Also see checkboxes in
742         ordered lists.
744 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
746         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
747         key.
749         * org-beamer.el (org-beamer-amend-header): Change the location
750         where `org-beamer-header-extra' is inserted.
752         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
753         just for computing this regexp.
755 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
757         * org-beamer.el (org-beamer-frame-default-options): New option.
758         (org-beamer-sectioning): Use default options if the user does not
759         have defined any.
760         (org-beamer-fix-toc): Put a frame around the table of contents.
762         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
763         sure case-folding works well when processing comment stuff.
765         * org-latex.el (org-export-latex-after-save-hook): New hook.
766         (org-export-as-latex): Run the new hook.
768 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
770         * org-beamer.el (org-beamer-environments-default): Add the note
771         environments.
772         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
773         lines and collect and combine the content.
774         (org-beamer-after-initial-vars): Check for note tags and make sure
775         they will be seen like a property.
777         * org.el (org-offer-links-in-entry): Fix bug when there is a
778         single link.
780         * org-exp.el (org-export): Make sure the mark is activated, also
781         when `transient-mark-mode' is off.
783         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
784         (org-agenda-search-view-search-words-only): Obsolete variable, is
785         now an alias for `org-agenda-search-view-always-boolean'.
786         (org-agenda-search-view-force-full-words): New option.
787         (org-search-view): Improve docstring, and implement a better logic
788         for Boolean and phrase searches.
789         (org-agenda-last-search-view-search-was-boolean): New variable.
790         (org-agenda-manipulate-query): Consider the type of the last
791         search when modifying the search string.
793 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
795         * org-latex.el (org-export-as-latex): Do the first letbind in the
796         right moment.
798         * org-agenda.el (org-get-entries-from-diary): Add the new face to
799         these entries.
801         * org-faces.el (org-agenda-diary): New face.
803         * org.el (org-make-link-regexps): Allow regexp-special characters
804         in link types.
805         (org-open-file): When in-emacs is `system', also force system
806         opening, like when the value was `(16)'.
807         (org-update-statistics-cookies): Handle entries without children.
809         * org-exp.el
810         (org-export-preprocess-before-normalizing-links-hook): New hook.
811         (org-export-preprocess-string): Run the new hook.
813         * org.el (org-offer-links-in-entry): Make RET open all links.
815         * org-html.el (org-export-as-html): Remove any leftover display
816         properties in the html file.
818         * org-wl.el (org-wl-store-link): Work-around for format bug with
819         text properties.
821         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
822         invisibility while adding the graphs.
824 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
826         * org-remember.el (org-select-remember-template): Use C letter to
827         customize remember templates.
829         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
830         Move cursor to next visible line.
832 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
834         * org-beamer.el (org-beamer-sectioning): Leave columns environment
835         by specifying 0 or 1 for column width.
836         (org-beamer-column-widths): Make 0 stand for 0.0.
838 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
840         * org-exp.el (org-export-mark-radio-links): Don't match inside
841         <<target>>.
843         * org.el (org-format-latex-header-extra): New variable.
844         (org-format-latex): Set org-format-latex-header-extra from
845         in-buffer stuff.
846         (org-format-latex): Add org-format-latex-header-extra to the
847         variables on which image creation depends.
848         (org-create-formula-image): Add the header stuff from in-buffer
849         settings.
850         (org-read-date-analyze): Base the analysis for future preference
851         on NOW, not on the default date.
853         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
854         for TODO keyword in inline tasks.
856         * org.el (org-log-note-headings): New headings for removing
857         deadline or scheduling date.
858         (org-deadline, org-schedule): Arrange for logging when removing a
859         date.
860         (org-add-log-note): Handle deadline and scheduling removal.
862 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
864         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
866 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
868         * org-agenda.el (org-diary-class): New function.
870 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
872         * org-latex.el (org-export-latex-preprocess): Do process the text
873         of a radio target.
875 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
877         * org.el (org-entry-properties): Add TIMESTAMP properties back
878         in.
880 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
882         * org.el (org-all-time-keywords): New variable.
883         (org-set-regexps-and-options): Set `org-all-time-keywords'.
884         (org-entry-blocked-p): New function.
885         (org-special-properties): Add BLOCKED as a new special property.
886         (org-entry-properties): New optional argument SPECIFIC, only parse
887         for this property when it is specified.
888         (org-entry-get): Pass a SPECIFIC argument to
889         `org-entry-properties'.
891         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
893 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
895         * org-latex.el (org-export-latex-tables): No forced line end if
896         there is no caption.
898 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
900         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
901         package.
903         * org-latex.el (org-export-latex-tables): Only add a caption when
904         macro in in longtable environments if one has been defined.
906         * org-html.el (org-export-as-html): Only take title from buffer if
907         not exporting body-only.
909         * org-latex.el (org-export-latex-preprocess): Better version of
910         the regular expression for protecting LaTeX macros.
911         (org-export-latex-preprocess): Start searching for macros to
912         protect from beginning of buffer.
914         * org-exp.el (org-export-target-internal-links): Check for
915         protectedness earlier in the string.
917         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
918         case sensitively.
920         * org-id.el (org-id-store-link): Match TODO keywords case
921         sensitively.
923         * org.el (org-heading-components, org-get-outline-path)
924         (org-display-outline-path): Match TODO keywords case sensitively.
926         * org-latex.el (org-export-as-latex): Ignore read-only
927         properties.
929         * org-exp.el (org-export-preprocess-string): Remove any
930         `read-only' properties.
932         * org-agenda.el (org-agenda-inactive-leader): New option.
933         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
934         (org-tags-view): Prompt for matcher if MATCH is an empty string.
935         (org-todo-list): Prompt for matcher if ARG is an empty string.
937 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
939         * org.el (org-open-link-functions): New hook.
940         (org-open-at-point): Run `org-open-link-functions'.
942 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
944         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
945         stamps as well.
947         * org.el (org-inhibit-startup-visibility-stuff): New variable.
948         (org-mode): Don't do startup visibility if inhibited.
949         (org-outline-overlay-data, org-set-outline-overlay-data): New
950         functions.
951         (org-save-outline-visibility): New macro.
952         (org-log-note-headings): Document that one should not change the
953         `state' note format.
955 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
957         * org.el (org-make-link-regexps): Capture link path into a group.
959 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
961         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
962         the options plist.
964 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
966         * org.el (org-startup-with-beamer-mode): New option.
967         (org-property-changed-functions)
968         (org-property-allowed-value-functions): New hooks.
969         (org-entry-put, org-property-get-allowed-values): Run the new
970         hooks.
971         (org-property-next-allowed-value): Run the new hooks.
973         * org-exp.el (org-export-select-backend-specific-text): Add the
974         special beamer tags.
976         * org-beamer.el
977         (org-export-preprocess-before-selecting-backend-code-hook): New
978         file.
980         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
981         (org-export-as-latex): Run
982         `org-export-latex-after-initial-vars-hook'.
983         (org-export-latex-format-toc-function)
984         (org-export-latex-make-header): Call
985         `org-export-latex-format-toc-function'.
987         * org.el (org-fill-template): Make template searches case sensitive.
989         * org-exp.el (org-export): Use "1" as a sign to export only the
990         subtree.
992         * org-colview-xemacs.el (org-columns-edit-value): Use
993         org-unrestricted property.
995         * org-colview.el (org-columns-edit-value):  Use
996         org-unrestricted property.
998         * org.el (org-compute-property-at-point): Set org-unrestricted
999         text property if the list contains ":ETC".
1000         (org-insert-property-drawer):  Use
1001         org-unrestricted property.
1003         * org-exp.el
1004         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
1005         (org-export-preprocess-string): Run
1006         `org-export-preprocess-before-selecting-backend-code-hook'.
1008         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
1010         * org-latex.el (org-export-region-as-latex): Run
1011         `org-export-first-hook'.
1013         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
1015         * org-docbook.el (org-export-as-docbook): Run
1016         `org-export-first-hook'.
1018         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
1020         * org-exp.el (org-export-first-hook): New hook.
1022 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
1024         * org-list.el (org-previous-item): Exit at the beginning of the
1025         buffer.
1027         * org-id.el (org-id-locations-save): Only write the id locations
1028         if any are defined.
1030         * org-archive.el (org-archive-all-done): Make this work in a file
1031         with org-odd-levels-only set.
1033         * org.el (org-get-refile-targets): Catch the case when a buffer
1034         has no file.
1036         * org-latex.el (org-export-as-latex): Cleanup forced line ends
1037         where they are not needed.
1038         (org-export-latex-subcontent): Remove unnecessary newlines.
1040 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
1042         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
1043         (org-export-latex-fontify): Fix regexp bug that takes special
1044         care of protecting the right boundary characters in emphasis
1045         matches.
1046         (org-export-latex-preprocess): Allow multiple arguments to latex
1047         macros.
1049         * org.el (org-make-link-regexps): Use John Gruber's regexp for
1050         urls.
1052         * org-macs.el (org-re): Interpret :punct: in regexps.
1054         * org-exp.el (org-export-replace-src-segments-and-examples): Also
1055         take the final newline after the END line.
1057         * org.el (org-clean-visibility-after-subtree-move): Only fix
1058         entries that are not entirely invisible already.
1059         (org-insert-link): Respect org-link-file-path-type for
1060         "docview:" links in addition to "file:" links.
1062 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
1064         * org-exp.el (org-export-format-source-code-or-example): Avoid
1065         additional extra white lines in LaTeX.
1067         * org-list.el (org-list-parse-list): Leave empty lines after the
1068         list, don't consider them as part of the list.
1070         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
1071         searches.
1073         * org-clock.el (org-clock-select-task): Convert integer to
1074         character for XEmacs.
1076 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
1078         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
1079         compatible.
1081 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
1083         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
1084         variable.
1085         (org-set-tags): Use it.
1087 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
1089         * org-list.el (org-empty-line-terminates-plain-lists): Update
1090         docstring.
1092         * org.el (org-format-latex): Fix link creation for processed latex
1093         snippets.
1095 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
1097         * org-footnote.el (org-footnote-normalize): Protect replacement
1098         text.
1100         * org.el (org-inside-latex-macro-p): Save match data.
1102 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
1104         * org-docview.el: New file.
1106 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
1108         * org-latex.el (org-export-latex-class-options): New variable.
1109         (org-export-latex-set-initial-vars): Use the class options.
1111         * org.el (org-forward-same-level): Stop at headings that start
1112         with an invisible character.
1113         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
1115 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
1117         * org-footnote.el (org-footnote-normalize): Don't take optional
1118         arguments in LaTeX macros as footnotes.
1120         * org.el (org-inside-latex-macro-p): New function.
1122         * org-latex.el (org-latex-to-pdf-process): Change customization
1123         group to `org-export-pdf'.
1125         * org-agenda.el (org-agenda-get-blocks): Look at time string also
1126         on days after the first one.
1128         * org.el (org-insert-heading): Also check for item before assuming
1129         before-first-heading condition.
1131         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
1132         (org-export-pdf-logfiles): New option.
1133         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
1134         (org-export-pdf-logfiles): Fix customization type.
1136         * org.el (org-insert-link): Improve error message when there is no
1137         default link to select with RET.
1139         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
1140         parameter list.
1142 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
1144         * org-latex.el (org-export-latex-parse-global)
1145         (org-export-latex-parse-content)
1146         (org-export-latex-parse-subcontent): Use
1147         `org-re-search-forward-unprotected'.
1148         (org-export-as-pdf): Remove log files produced by XeTeX.
1150         * org-macs.el (org-re-search-forward-unprotected): New function.
1152 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
1154         * org-colview.el (org-agenda-colview-summarize): Sort out some
1155         confusion between properties and titles, which resulted in
1156         agenda summaries not working if a title was set for a column.
1158 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
1160         * org-mobile.el (org-mobile-agendas): New option.
1161         (org-mobile-sumo-agenda-command): Select the right agendas.
1163         * org-latex.el (org-export-latex-format-image): Preserve the
1164         original-indentation property.
1166 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
1168         * org-clock.el (org-clock-insert-selection-line): Catch error when
1169         an old tasks no longer exists.
1171         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
1172         (org-export-as-pdf): Don't remove the old PDF file before making
1173         the new one.
1175         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
1176         (org-mouse-context-menu): Use `org-looking-back'.
1178         * org.el (org-cycle-level): Use `org-looking-back'.
1180         * org-list.el (org-cycle-item-indentation): Use
1181         `org-looking-back'.
1183         * org-compat.el (org-looking-back): New function.
1185         * org.el (org-insert-heading): Catch before-first-headline when
1186         inserting a headline.
1188 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
1190         * org-latex.el (org-export-latex-format-image): Indent figure
1191         environment, so that it does not interrupt plain list.
1193         * org.el (org-open-at-point): Allow long link descriptions.
1195 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1197         * org-html.el (org-export-as-html): Remove empty lines at the
1198         beginning of the exported text.
1200 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
1202         * org-protocol.el (org-protocol-remember): Cater for empty title,
1203         region, link.
1205         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1206         agenda after adding new entry.
1207         (org-agenda-get-represented-tags): New function.
1208         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
1209         to get a list of tags in the agenda.
1211         * org-datetree.el (org-datetree-find-day-create): Fix regular
1212         expression.
1214         * org.el (org-display-outline-path): Use a format specifier for
1215         message, to avoid problems with heading containing `%'.
1217         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1218         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1219         (org-agenda-fix-displayed-tags): New function.
1220         (org-agenda-do-context-action): Just call
1221         `org-display-outline-path', without piping the result through
1222         `message'.
1224         * org-latex.el (org-export-latex-preprocess): Protect secondary
1225         footnote references.
1227         * org-indent.el (org-indent-initialize): Avoid empty strings as
1228         line prefixes.
1230         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1231         hat checking for the mark does not throw an error.
1232         (org-agenda-diary-entry-in-org-file): Catch the case that there is
1233         not `day' text property in the cursor line.
1235         * org.el (org-sort-entries-or-items): Make sure that the final
1236         entry has a newline before doing the sorting.
1238         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1239         property at the beginning of the line.
1241         * org.el (org-make-link-string): Don't allow a description with
1242         only white space.
1244 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
1246         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1247         (org-agenda-insert-diary-as-top-level): New function.
1248         (org-agenda-add-entry-to-org-agenda-diary-file): Call
1249         `org-agenda-insert-diary-as-top-level'.
1251         * org.el (org-occur-in-agenda-files): Make sure none of the
1252         buffers is narrowed.
1253         (org-activate-plain-links): Add the face property here.
1254         (org-set-font-lock-defaults): Do not add the face to plain links,
1255         the activator function does this.
1257         * org-habit.el (org-is-habit-p): Add doc string.
1259 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
1261         * org-archive.el (org-archive-subtree-default-with-confirmation):
1262         Autoload.
1264         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1265         after match optional (happens at the end of a line...).
1267         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1268         for special blocks.
1270         * org-faces.el (org-copy-face): Set lisp indentation.
1271         (org-quote, org-verse): New faces.
1273         * org-agenda.el (org-agenda-remove-date): Remove variable.
1275 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1277         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1279 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1281         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1282         hash keys to cache and re-use images generated by the
1283         org-exp-blocks interface to ditaa and dot.
1285 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1287         * org-html.el (org-export-as-html): Move the home/up link into
1288         the content div.
1290         * org.el (org-export-latex-packages-alist): Option definition
1291         moved here from org-latex.el.
1293 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1295         * org.el (org-format-latex): Latex images are now saved to files
1296         named by the sha1 hash of the latex source text avoiding
1297         regeneration of identical images.
1299 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
1301         * org-html.el (org-export-html-home/up-format): Add an ID to the
1302         up/home div.
1304 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
1306         * org-wl.el (org-wl-store-link): Handle the case that
1307         `wl-use-petname' is set.
1309         * org.el (org-set-effort): Improve prompt.
1310         (org-get-outline-path): Widen to get full path.
1311         (org-compact-display-after-subtree-move): Function removed.
1313         * org-latex.el (org-export-as-latex): Add the :drawers property.
1315 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
1317         * org.el (org-speed-commands-user): Allow documentation headlines.
1318         (org-speed-commands-default): Organize the value of this constant
1319         with descriptive headlines.
1320         (org-print-speed-command): Output the headlines.
1322 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1324         * org-agenda.el (org-agenda-show-outline-path): New option.
1325         (org-agenda-do-context-action): New function.
1326         (org-agenda-next-line, org-agenda-previous-line): Use
1327         `org-agenda-do-context-action'.
1329         * org.el (org-use-speed-commands): Allow function value.
1330         (org-speed-commands-default): Make headline motion safe, so that
1331         these commands always end on a headline.
1332         (org-speed-commands-default): New key `v' for `org-agenda'.
1333         (org-speed-move-safe): New function.
1334         (org-self-insert-command): Use the function value of
1335         `org-use-speed-commands'.
1336         (org-get-outline-path): Improve docstring.
1337         (org-format-outline-path): New function.
1338         (org-display-outline-path): New function.
1340 2009-11-12  John Wiegley  <jwiegley@gmail.com>
1342         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1343         a string, use that to find the LOGBOOK drawer.
1345 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
1347         * org.el (org-clone-subtree-with-time-shift): Make it work at the
1348         end of the buffer.
1350         * org-mobile.el (org-mobile-write-checksums): Specify coding
1351         system.
1352         (org-mobile-timestamp-buffer): Keep local variable/mode line at
1353         beginning of buffer.
1355         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1357         * org.el (org-block-todo-from-children-or-siblings-or-parent)
1358         (org-block-todo-from-checkboxes): Do not block changes to a nil
1359         TODO state.
1361 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
1363         * org-habit.el (org-habit-parse-todo): Indicate which habit is
1364         wrongly set up in the error messages.
1366         * org-colview.el (org-columns-display-here): Don't try to
1367         calculate values if the underlying property is not set.
1368         (org-columns-string-to-number): Convert age strings back into
1369         fractional days.
1370         (org-agenda-colview-summarize): Handle extended summary types
1371         properly.
1373         * org-colview-xemacs.el (org-columns-display-here): Don't try to
1374         calculate values if the underlying property is not set.
1375         (org-columns-string-to-number): Convert age strings back into
1376         fractional days.
1377         (org-agenda-colview-summarize): Handle extended summary types
1378         properly.
1380 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1382         * org-exp.el (org-export-format-drawer-function): New variable.
1383         (org-export-format-drawer): New function.
1384         (org-export-preprocess-string): Pass the backend as a parameter to
1385         `org-export-remove-or-extract-drawers'.
1386         (org-export-remove-or-extract-drawers): New parameter BACKEND.
1388         * org-protocol.el (org-protocol-char-to-string): New defsubst.
1390 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1392         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1393         message when no block is selected.
1395         * org-latex.el (org-export-latex-links): Check for protectedness
1396         in the last matched character, not after the match.
1398         * org-datetree.el (org-datetree-find-date-create): Respect
1399         restriction when KEEP-RESTRICTION is set.
1400         (org-datetree-file-entry-under): New function.
1401         (org-datetree-cleanup): New command.
1403 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
1405         * org-src.el (org-edit-src-code): New optional argument context
1406         allows calling functions to avoid altering the saved window
1407         configuration.
1408         (org-edit-src-exit): Do not restore window configuration when this
1409         function is used in the context of saving the edit buffer.
1411 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1413         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1414         instances to switching to with-current-buffer, because these seem
1415         to cause problems - no idea why.
1417         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1418         Require diary-lib for (diary-date-display-form).
1420         * org.el (org-log-reschedule, org-log-redeadline): New options.
1421         (org-log-note-headings): Add templates for rescheduling and
1422         deadline changing.
1423         (org-startup-options): Add in-buffer settings for logging changing
1424         schedule and deadline time stamps.
1425         (org-deadline, org-schedule): Check for existing date and arrange
1426         for logging if the user requests it.
1427         (org-add-log-note): Prepare proper note buffers for rescheduling
1428         and deadline changes.
1430 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1432         * org-agenda.el (org-agenda-diary-entry-in-org-file)
1433         (org-agenda-add-entry-to-org-agenda-diary-file)
1434         (org-agenda-insert-diary-make-new-entry): New functions.
1435         (org-agenda-diary-entry): Call
1436         `org-agenda-diary-entry-in-org-file' when appropriate.
1438         * org.el (org-calendar-insert-diary-entry-key): New option.
1439         (org-agenda-diary-file): New option.
1440         ("calendar"): Install our insertion function in the calendar.
1442         * org-remember.el (org-datetree): Require.
1443         (org-remember-templates): Add new positioning option.
1444         (org-remember-reference-date): New variable.
1445         (org-remember-apply-template): Store the reference date in a local
1446         variable.
1447         (org-remember-handler): Implement date tree positioning of entries.
1449         * org-datetree.el: New file.
1451         * org-latex.el (org-export-latex-preprocess): Protect targets in
1452         verbatim emphasis.
1454         * org-html.el (org-export-as-html): Protect targets in verbatim
1455         emphasis.
1457         * org-docbook.el (org-export-as-docbook): Protect targets in
1458         verbatim emphasis.
1460 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
1462         * org.el (org-link-display-format): Should be literal replacement.
1464 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1466         * org-clock.el (org-show-notification): Handle messages that
1467         contain a percent character.
1469         * org-remember.el (org-remember-apply-template): Turn of partial
1470         completion.
1472         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1473         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1475         * org.el (org-indent-mode): Define variable already in org.el.
1476         (org-unfontify-region): Remove line-prefix and wrap-prefix
1477         properties only if org-indent-mode is active.
1479 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1481         * org-icalendar.el (org-print-icalendar-entries): Save match data
1482         around call to verify function.
1483         (org-print-icalendar-entries): Add a call to the verification
1484         function.
1486         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1487         save-restrivtion' form.
1489 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
1491         * org-exp.el (org-export-format-source-code-or-example): restrict
1492         scope of preserve-indentp to the let binding.
1493         (org-src): require org-src, since org-src-preserve-indentation is used.
1495 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1497         * org-timer.el (org-timer-set-timer): Set variables
1498         org-timer-timer[123] correctly.
1501         * org-mobile.el (org-mobile-files-alist): Make it work when
1502         `agenda-archives' is included in
1503         `org-agenda-text-search-extra-files'.
1504         (org-mobile-push): Restore agenda after mobile push.
1506 2009-11-05  John Wiegley  <jwiegley@gmail.com>
1508         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1509         way the amount of idle time is presented in the minibuffer.
1511 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1513         * org-icalendar.el (org-print-icalendar-entries): Use
1514         org-icalendar-verify-function only if non-nil.
1516         * org.el (org-refile): Refile to clock only if the prefix arg is
1517         2.
1518         (org-sparse-tree): Fix docstring to be in line with prompt.
1519         (org-update-parent-todo-statistics): Call
1520         `org-after-todo-statistics-hook' on each level.
1522 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
1524         * org-remember.el (org-remember-apply-template): Make sure the
1525         buffer exists.
1527 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
1529         * org.el (org-tab-ind-state): New variable.
1530         (org-cycle-level): New function.
1531         (org-cycle-level-after-item/entry-creation): New option.
1532         (org-flag-subtree): New function.
1533         (org-hide-archived-subtrees): Call `org-flag-subtree'.
1534         (org-set-effort): Indexed access.
1536         * org-list.el (org-cycle-item-indentation): New function.
1538         * org.el (org-refile): Make prefix argument 2 refile to current
1539         clock.
1540         (org-priority): Interpret action `remove' as call to remove the
1541         priority cookie.
1543         * org-remember.el (org-remember-apply-template): Don't depend on
1544         buffer name being like file name.
1546 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
1548         * org-clock.el (org-clock-play-sound): Expand file in
1549         org-clock-sound, to allow ~ for home.
1551         * org-remember.el (org-remember-handler): Set
1552         text-before-node-creation even if this already looks like a node,
1553         because the string might be needed on non-org-mode target files.
1555         * org-agenda.el (org-agenda-open-link): Make this work in agenda
1556         clocktables.
1557         (org-agenda-switch-to): Follow a link at point if
1558         org-return-follows-link' is set and there is nothing else to do in
1559         this line.
1561 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1563         * org-colview-xemacs.el: Add in changes from org-colview.el
1565 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1567         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1568         strings.
1570 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1572         * org-colview.el (org-columns-new): Make this work with the new
1573         operators.
1574         (org-columns-store-format): Make this work with the new operators.
1576 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1578         * org-src.el (org-src-preserve-indentation): Document that this
1579         variable is also used during export.
1581         * org-exp.el (org-export-format-source-code-or-example): Preserve
1582         indentation if a block has a -i option, or if
1583         `org-src-preserve-indentation' is set.
1585         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1586         indentation if a block has a -i option, or if
1587         `org-src-preserve-indentation' is set.
1589 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1591         * org.el (org-mode-map): Define the new archiving keys.
1592         (org-speed-commands-default): Define an archiving key in the speed
1593         command map.
1594         (org-org-menu): Improve the menu structure concerning archiving.
1596         * org-archive.el (org-archive-subtree-default-with-confirmation):
1597         New command.
1599         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1600         (org-agenda-menu): Add the new archiving commands to the menu.
1601         (org-agenda-archive-default)
1602         (org-agenda-archive-default-with-confirmation): New commands.
1603         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1604         call `org-agenda-archive-with'.
1605         (org-agenda-archive-with): New function.
1607         * org-table.el (org-table-convert-region): Inert spaces around "|"
1608         to avoid line beginnings like "|-1" which will be mistaken as
1609         hlines.
1611 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1613         * org.el (org-offer-links-in-entry): Return nil if there are no
1614         links, t if a link has been selected.
1615         (org-open-at-point): Open attachment directory when called in the
1616         headline and there are no links in the entry body.
1617         (org-speed-commands-default): Add "o" for open-at-point as a speed
1618         command.
1620         * org-attach.el (org-attach-reveal): Optional prefix arg
1621         IF-EXISTS, which avoids creating the attachment directory if it
1622         does not yet exist.
1624         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1625         MATCH.
1627 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1629         * org.el ("abbrev"): Work with abbrev tables only after they have
1630         been loaded.
1632         * org-list.el (org-list-send-list): Fix bug related to match
1633         data.
1635         * org-latex.el (org-export-latex-fontify): Apply verbatim
1636         emphasis.
1637         (org-export-latex-make-header): Insert \obeylines if line breaks
1638         should be preserved.
1640         * org-exp.el (org-export-protect-verbatim): Add an
1641         `org-verbatim-emph' property to such text.
1643 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1645         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1646         (org-print-icalendar-entries): Skip entries where the timestamp is
1647         not a deadline and not scheduled, if the user requests that.
1649         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1650         before an opening quote.
1652         * org-archive.el (org-archive-subtree): Keep archive after
1653         archiving something.
1655         * org-id.el (org-id-update-id-locations): Add archive files if
1656         that is required by `org-id-extra-files'.
1658 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1660         * org-src.el (org-src-window-setup): New option.
1661         (org-src-switch-to-buffer): New function.
1662         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1663         restore window configuration.
1664         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1665         Call `org-src-switch-to-buffer'.
1667         * org.el (org-default-properties): Add STYLE property.
1668         (org-files-list): Use the function call to get the files.
1669         (org-additional-option-like-keywords): Add SETUPFILE to completion
1670         list.
1672 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1674         * org-table.el (org-table-convert-region): Correctly interpret
1675         quoting in csv import.
1677         * org.el (org-icompleting-read): Make iswitchb completion work
1678         with lists and tables.
1680         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1681         while pushing the mobile agenda.
1683 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1685         * org-clock.el
1686         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1687         and `when-no-clock-is-running'.
1688         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1689         whether or not to resolve Org buffers on clock in.
1691 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1693         * org-colview.el (org-format-time-period): Function to format
1694         times in fractional days for display.
1695         (org-columns-display-here): Add support for showing a calculated
1696         value in place of the property.
1697         (org-columns): Set `org-columns-time' to the current time so time
1698         difference calculations will work.
1699         (org-columns-time): Use to store the current time when column view
1700         is displayed, so all time differences will use the same reference
1701         point.
1702         (org-columns-compile-map): There is now an extra position in each
1703         entry specifying the function to use to calculate the displayed
1704         value for the non-calculated properties in the column,
1705         (org-columns-compute-all): Set `org-columns-time' to the current
1706         time so time difference calculations will work.
1707         (org-columns-compute): Handle column operators where the values
1708         used are calculated from the underlying property.
1709         (org-columns-number-to-string): Handle the 'age' column format
1710         (org-columns-string-to-number): Correct the function name (was
1711         org-column...). Add support for the 'age' column format.
1712         (org-columns-compile-format): Support the additional parameter in
1713         org-columns-compile-map.
1715 2009-10-26  Bastien Guerry  <bzg@altern.org>
1717         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1718         variable.
1720 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1722         * org-clock.el (org-clock-has-been-used): New variable.
1723         (org-clock-in): Set `org-clock-has-been-used'.
1724         (org-clock-save): Save only if clock data has been used or created
1725         during this session.
1727 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1729         * org-clock.el (org-clock-persist): New value, to store only the
1730         clock history.
1731         (org-clock-save): Don't save the clock if only the history should
1732         be stored.
1733         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1734         when restoring a saved clock.
1736 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1738         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1739         `org-time-clock-use-fractional'.
1741         * org.el (org-time-clocksum-use-fractional)
1742         (org-time-clocksum-fractional-format): Two new customizable
1743         variables which allow the user to select fractional times (1.25
1744         instead of 1:25) in the `org-clock-display' report.
1746 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1748         * org-habit.el (org-habit-build-graph): None of the arguments
1749         should be optional.
1750         (org-habit-parse-todo, org-habit-deadline)
1751         (org-habit-get-priority, org-habit-get-faces)
1752         (org-habit-build-graph): Further simplifications by storing all
1753         past, scheduled and deadline dates as a number of days past the
1754         epoch, and not as times.
1756         * org-habit.el (org-habit-warning-face)
1757         (org-habit-warning-future-face): Removed because these are no
1758         longer used.
1759         (org-habit-deadline, org-habit-deadline-repeat): Now always
1760         returns a date; computed if there was a scheduled repeater but no
1761         deadline repeater.
1762         (org-habit-get-priority): Further improvements to the priority
1763         algorithm.  In particular, items past due should always appear
1764         before items due or not yet due.
1765         (org-habit-get-faces): Greatly simplified the logic, now that
1766         `org-habit-deadline' always returns a valid time.
1768 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1770         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1771         New option.
1773         * org.el (org-tag-alist): Fix customization type.
1775 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1777         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1778         Make sure the regexp search can fail without throwing an error.
1779         (org-mobile-apply): Save the inbox buffer after removing
1780         successfully applied changes.
1782 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1784         * org-habit.el (org-habit-build-graph): Fix to the graph building
1785         when last DONE date is earlier than `org-habit-preceding-days'.
1787         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1788         time is reported after the user comes back (but before they
1789         resolve time).
1791         * org.el (org-get-repeat): Change so that this function can be
1792         called with either `org-scheduled-string' or
1793         `org-deadline-string'.
1795         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1796         to find the scheduled date.
1798         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1799         `org-clock-disable-clock-resolution', since negatives don't sound
1800         good in customization variables.
1801         (org-clock-in): Don't use the auto-resolution logic if the user is
1802         clocking into a different task while an active clock is running.
1803         This then allows the default behavior of clocking out of the open
1804         task and then into the new task.
1806         * org-habit.el (org-habit-parse-todo): Generate an error if a
1807         habit has a scheduled repeat period < 1.
1808         (org-habit-get-faces): Fixes to the way that colors are computed.
1809         (org-habit-build-graph): The graph wasn't displaying beyond any
1810         day that had two completions in it.
1812         * org.el (org-modules): Made this variable more consistent, since
1813         it was referring to Org, OrgMode and Org-mode, whereas the docs
1814         for the variable always refer to Org-mode.
1816 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1818         * org.el (org-repeat-re): The changed org-repeat-re no longer
1819         matched simple +2d type repeaters. Fix it so it does.
1821 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1823         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1824         macro in the VERSE environment.
1826 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1828         * org-habit.el (org-habit-get-priority): A new function that
1829         determines the relative priority of a habit, based on how long
1830         past its scheduled date it is, and how near the deadline is.
1832         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1833         using `org-habit-get-priority'.
1835         * org-habit.el (org-habit-build-graph): Start displaying colors
1836         from the first scheduled date, if that date is earlier than the
1837         first completion date.
1839         * org-habit.el: Changed all "color" variables to faces, and made
1840         them appropriate for light and dark backgrounds.
1842         * org-habit.el (org-habit-duration-to-days): Made this function
1843         more general.
1844         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1846         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1847         habits, since they don't use DEADLINE anymore.
1849         * org.el (org-repeat-re, org-display-custom-time)
1850         (org-timestamp-change): Extended to support the new ".+N/N"
1851         syntax, used for habits.
1853         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1854         variable reference.
1856         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1857         modeline when habits are being displayed (if that module is being
1858         loaded).
1860 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1862         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1863         idle time using the xscreensaver extension.
1864         (org-user-idle-seconds): Use X11 idle time if available.
1866 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1868         * org-agenda.el (org-agenda-next-line): New command.
1869         (org-agenda-previous-line): New commands.
1870         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1871         commands.
1872         (org-agenda-follow-mode): Do the follow immediately if the mode is
1873         turned on here.
1874         (previous-line, next-line): Replace keys with the corresponding
1875         org functions.
1876         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1877         command.
1879         * org.el (org-icompleting-read): Turn off partial completion mode
1880         for the duration of this completion round.
1882         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1883         macros in author lines and similar stuff.
1885         * org.el (org-file-tags): Fix docstring.
1886         (org-get-buffer-tags): Add the #+FILETAGS tags.
1887         ("ecb"): Maks ecb show context after jumping into an Org file.
1889 2009-10-20  John Wiegley  <johnw@newartisans.com>
1891         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1892         graphs after everything else in the buffer has been setup.
1894 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1896         * org-mobile.el (org-mobile-apply): Count success and failure.
1898         * org.el (org-indent-line-function): Fix regexp replace problem.
1900 2009-10-19  John Wiegley  <johnw@newartisans.com>
1902         * org-clock.el (org-clock-disable-clock-resolution): New
1903         customization variable that disable automatic clock resolution on
1904         clock in.
1905         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1906         not automatically resolve anything.  This is does not affect
1907         idle-time resolution, however, if `org-clock-idle-time' is set.
1909 2009-10-19  John Wiegley  <johnw@newartisans.com>
1911         * org-habit.el: New file, which implements code to build a "habit
1912         consistency graph".
1914         * org-agenda.el (org-agenda-get-deadlines)
1915         (org-agenda-get-scheduled): Display consistency graphs when
1916         outputting habits into the agenda.  The graphs are always relative
1917         to the current time.
1918         (org-format-agenda-item): Added new parameter `habitp', which
1919         indicates whether we are formatting a habit or not.  Do not
1920         display "extra" leading information if habitp is true.
1922         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1923         leaders for repeat strings.
1924         (org-get-repeat): Now takes a string parameter `tagline', so the
1925         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1927 2009-10-19  John Wiegley  <johnw@newartisans.com>
1929         * org-agenda.el (org-agenda-auto-exclude-function): New
1930         customization variable for allowing the user to create an "auto
1931         exclusion" filter for doing context-aware auto tag filtering.
1932         (org-agenda-filter-by-tag): Changes to support the use of
1933         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1935 2009-10-18  John Wiegley  <johnw@newartisans.com>
1937         * org.el (org-files-list): Don't attempt to return a file name for
1938         Org buffers which have no associated file.
1940         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1942 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1944         * org-mobile.el (org-mobile-locate-entry): Interpret files
1945         relative to org-directory.
1946         (org-mobile-inbox-for-pull): Document the best location for this
1947         file.
1948         (org-mobile-check-setup): Verify `org-directory'.
1949         (org-mobile-create-index-file): Sort the files to be listed in
1950         index.org.
1952 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1954         * org.el (org-fast-tag-selection): Add a way to display a
1955         description for a tag group. This is done by adding a string to
1956         either the startgroup or endgroup cell.
1958 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1960         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1961         (org-emacs-idle-seconds): Use `org-float-time' instead of
1962         `time-to-seconds'
1964 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1966         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1967         type.
1969         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1970         the value of ARG when doing local cycling.
1972 2009-10-17  John Wiegley  <johnw@newartisans.com>
1974         * org-clock.el (org-clock-resolve-clock): If keeping or
1975         subtracting time results in a clock out at a time in the past, and
1976         if the resolution occurred due to idleness or invoking `M-x
1977         org-resolve-clocks', remember that past moment in time.  On the
1978         next clock in, the user will be prompted to see if they want to
1979         back-date their new clock to then.
1980         (org-clock-resolve): Do not jump the user to the location of a
1981         dangling clock if the resolution is occuring due to an idle
1982         timeout.  In that case there is typically only one dangling clock,
1983         the active one, and there is no value gained by shuffling their
1984         windows around to show it to them.  Being prompted to resolve an
1985         idle clock should be as inobtrusive as possible.
1986         (org-resolve-clocks-if-idle): New function that resolves only the
1987         currently active clock if the user has exceeded the time returned
1988         by `org-user-idle-seconds', based on the value of
1989         `org-clock-idle-time'.
1990         (org-clock-in): If, after resolving clocks,
1991         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1993         * org-clock.el (org-clock-resolve-clock): New function that
1994         resolves a clock to a specific time, closing or resuming as need
1995         be, and possibly even starting a new clock.
1996         (org-clock-resolve): New function used by `org-resolve-clocks'
1997         that sets up for the call to `org-clock-resolve-clock'.  It
1998         determines the time to resolve to based on a single-character
1999         selection from the user to either keep time, subtract away time or
2000         cancel the clock.
2001         (org-resolve-clocks): New user command which resolves dangling
2002         clocks -- that is, open but not active -- anywhere in the file
2003         list returned by `org-files-list'.
2004         (org-clock-in): Automatically resolve dangling clocks whenever a
2005         user clocks in.
2006         (org-clock-cancel): If the user cancels the solely clock in a
2007         LOGBOOK, remove the empty drawer.
2009         * org-clock.el (org-clock-idle-time): New user customizable option
2010         for detecting whether the user has left a clock idle.  Note: it is
2011         only used in this commit to test whether it's worthwhile to check
2012         OS X to get the Mac user's current idle time.  If the Emacs idle
2013         time is less than the value, the user hasn't been away long enough
2014         to be worth checking (a more expensive test than just getting
2015         Emacs idle time).
2016         (org-user-idle-seconds, org-mac-idle-seconds)
2017         (org-emacs-idle-seconds): This three functions, in conjunction
2018         with the user customization variable `org-clock-idle-time', return
2019         the number of seconds (as a floating point) that the user has been
2020         away from their Emacs (or, if running on OS X, their computer).
2022         * org-clock.el (org-find-open-clocks): New function that returns a
2023         list of all open clocks in the given FILE.  Note that each clock
2024         it returns is a cons cell of the format (MARKER . START-TIME).
2025         This "clock" value is used by several of the new clock module
2026         utility functions.
2027         (org-is-active-clock): New inline function which tests whether the
2028         given clock value is the same as the currently active clock.
2029         Returns non-nil if this is the case.
2030         (org-with-clock-position): New macro that evaluates FORMS with
2031         point in the buffer and at the position of the given clock.
2032         Changes to the current clock are global.
2033         (org-with-clock): New macro that evaluates FORMS with point in the
2034         buffer and at the position of the given clock.  However, changes
2035         to the current clock are local and have no effect on the user's
2036         active clock.  This allows, for example, far any clock to be
2037         cancelled without cancelling the active clock.
2038         (org-clock-clock-in): New inline function that switches the active
2039         clock to the given clock.  If either the argument RESUME, or the
2040         global `org-clock-in-resume', are non-nil, it will resume a clock
2041         that was previously left open.
2042         (org-clock-clock-out): New inline function that clocks out the
2043         given clock value without affecting the currently active clock.
2044         (org-clock-clock-cancel): New inline function that cancels the
2045         given clock value without affecting the currently active clock.
2047         * org-clock.el (org-clock-in): Before creating
2048         `org-clock-mode-line-timer', check to make sure an older timer is
2049         not currently running.
2050         (org-clock-out): Accept new third parameter `at-time', which
2051         permits a clock to be clocked out at a specific time.  Note that
2052         no attempt is made to verify that the clock out time is later than
2053         the clock in time.
2055         * org.el (org-files-list): New utility function for returning a
2056         list of all open org-mode buffers, plus all files used to build
2057         the agenda buffer.  Note that not all the files will necessarily
2058         be visited by a buffer at time of call.
2059         (org-entry-beginning-position): Like the function
2060         `line-beginning-position', this inline function returns the
2061         beginning position of the current heading/entry.
2062         (org-entry-end-position): Like the function `line-end-position',
2063         this inline function returns the end position of the current
2064         heading/entry.
2066 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
2068         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
2069         a header line.
2071 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
2073         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
2075 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
2077         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
2078         entries that have no tags.
2079         (org-agenda-search-view): New customize group.
2080         (org-agenda-search-view-search-words-only): New option.
2081         (org-search-view): Implement substring search.
2083 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
2085         * org.el (org-outline-level): Add doc string.
2087 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
2089         * org-inlinetask.el (org-inlinetask-export): Re-introduce
2090         variable.
2091         (org-inlinetask-export-handler): Only export inline task if the
2092         user option calls for it.
2094 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
2096         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
2097         END if present.
2099 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
2101         * org-latex.el (org-export-latex-tables): Don't format in
2102         protected regions.
2104 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
2106         * org-src.el (org-edit-src-code)
2107         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
2108         macro editing.
2110         * org-agenda.el (org-prefix-category-max-length): New variable.
2111         (org-format-agenda-item): Use `org-prefix-category-max-length'.
2112         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
2114 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
2116         * org-mobile.el (org-mobile-create-index-file): Improve the
2117         listing of tags and todo keywords.
2119         * org-latex.el (org-export-latex-format-image): New function.
2120         (org-export-latex-links): Use `org-export-latex-format-image'.
2122 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
2124         * org-inlinetask.el (org-inlinetask-get-current-indentation)
2125         (org-inlinetask-remove-terminator): New functions.
2126         (org-inlinetask-export-handler): Terminate the description list.
2128         * org-exp.el (org-export-select-backend-specific-text): Remove the
2129         region markers.
2131         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
2132         tasks without content.
2134         * org-clock.el: Make sure the clock-in target position does not
2135         move to a different node by widening the buffer.
2137         * org-html.el (org-export-html-format-image): Wrap image into
2138         figure div only when there is a caption.
2140         * org-archive.el (org-archive-mark-done): Change default value to
2141         nil.
2143 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
2145         * org.el (org-context): Call `bobp', not `eobp'.
2147         * org-clock.el (org-clock-cancel): Remove quotes from marker
2148         variables.
2150         * org.el (org-read-date-prefer-future): New allowed value `time'.
2151         (org-read-date-analyze): Shift day to tomorrow depending on time
2152         entered and value of `org-read-date-prefer-future'.
2154 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
2156         * org.el (org-set-tags-to): New command.
2158         * org-mobile.el (org-mobile-action-alist): Add more options and
2159         update the docstring.
2160         (org-mobile-apply-flags): Parse for and use the data.
2162         * org-latex.el (org-export-latex-set-initial-vars): Also check in
2163         the plist.
2165         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
2166         keyword.
2168         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
2170 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
2172         * org-inlinetask.el (org-inlinetask-export): Option removed.
2173         (org-inlinetask-export-handler): Better export.
2175         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
2176         (org-export-as-xoxo): Run the new hook.
2178         * org-html.el (org-export-html-final-hook): New hook.
2179         (org-export-as-html): Run the new hook.
2181         * org-docbook.el (org-export-docbook-final-hook): New hook.
2182         (org-export-as-docbook): Run the new hook.
2184         * org-ascii.el (org-export-ascii-final-hook): New hook.
2185         (org-export-as-ascii): Run the new hook.
2187         * org-mobile.el (org-mobile-create-sumo-agenda): Call
2188         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
2190         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
2191         space character as the character before the ^/_.
2192         (org-export-latex-final-hook): New hook.
2193         (org-export-as-latex): Run `org-export-latex-final-hook'.
2195 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
2197         * org-macs.el (org-if-unprotected-at): Fix docstring.
2199         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2200         text in the prefix (if category is a link).
2202         * org-latex.el (org-export-latex-preprocess): Deal properly with
2203         empty lines in verse environments.
2205         * org.el (org-format-latex-header): Inline fullpage.sty.
2207         * org-footnote.el (org-footnote-create-definition): Reveal context
2208         to add a new footnote definition.
2210         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
2211         the index file.
2212         (org-mobile-files): New option.
2213         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
2214         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
2215         functions.
2216         (org-mobile-push): Start by creating the files lists.
2217         (org-mobile-copy-agenda-files): Move killing the buffer to after
2218         the save-excursion has exited.
2219         (org-mobile-write-checksums): Write checksums also for files in
2220         sub-directories.
2222         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2223         org-table-recalculate when cursor is in TBLFM line.
2225         * org-list.el (org-renumber-ordered-list): Fix cursor position
2226         when bullet length has changed.
2228 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
2230         * org.el (org-format-latex): Mention `org-format-latex-options' in
2231         the docstring.
2233 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2235         * org.el (org-agenda-get): New function.
2237         * org-agenda.el (org-agenda-post-command-hook): No longer move
2238         point away from end of line.
2239         (org-agenda-add-entry-text, org-agenda-collect-markers)
2240         (org-finalize-agenda, org-agenda-mark-clocking-task)
2241         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2242         (org-agenda-entry-text-show, org-agenda-highlight-todo)
2243         (org-agenda-compare-effort, org-agenda-filter-apply)
2244         (org-agenda-later, org-agenda-change-time-span)
2245         (org-agenda-post-command-hook, org-agenda-show-priority)
2246         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2247         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2248         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2249         (org-agenda-open-link, org-agenda-copy-local-variable)
2250         (org-agenda-switch-to, org-agenda-check-no-diary)
2251         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2252         (org-agenda-add-note, org-agenda-change-all-lines)
2253         (org-agenda-priority, org-agenda-set-tags)
2254         (org-agenda-set-property, org-agenda-set-effort)
2255         (org-agenda-toggle-archive-tag, org-agenda-date-later)
2256         (org-agenda-show-new-time, org-agenda-date-prompt)
2257         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2258         (org-agenda-clock-in, org-agenda-bulk-mark)
2259         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2260         `org-get-at-bol'.
2262         * org-colview.el (org-columns-display-here)
2263         (org-columns-edit-allowed, org-agenda-columns): Use
2264         `org-get-at-bol'.
2266 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2268         * org.el (org-special-ctrl-a/e): Improve documentation and
2269         customize type.
2270         (org-end-of-line): Don't jump to after the ellipsis.
2271         (org-mode-map): Bind <home> and <end> as well.
2273 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
2275         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2276         space after #+ as comments.
2277         (org-open-at-point): Run `org-follow-link-hook' always.
2279         * org-latex.el (org-export-latex-emph-format): Use better commands
2280         to insert special characters in verbatim snippets.
2282 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
2284         * org-faces.el (org-copy-face): New function.  Use it to create
2285         various faces formerly created by using `copy-face'.
2287         * org-agenda.el (org-prepare-agenda): Don't officially mark this
2288         window dedicated.
2289         (org-agenda-quit): Kill the frame containing the agenda window if
2290         that frame was created for the agenda.
2292 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
2294         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2295         stamp in the agenda.
2297 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
2299         * org-mobile.el (org-mobile-create-index-file): Add the list of
2300         TODO keywords, and the list of drawers to the index file.
2302         * org-agenda.el (org-prepare-agenda): Reset
2303         `org-drawers-for-agenda'.
2304         (org-prepare-agenda): Uniquify list of drawers.
2306         * org.el (org-complex-heading-regexp-format): New variable.
2307         (org-set-regexps-and-options): Define
2308         `org-complex-heading-regexp-format'.
2309         (org-drawers-for-agenda): New variable.
2310         (org-map-entries): Bind `org-drawers-for-agenda'.
2311         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2313         * org-remember.el (org-go-to-remember-target)
2314         (org-remember-handler): Use `org-complex-heading-regexp-format'.
2316 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
2318         * org-agenda.el (org-agenda-highlight-todo): Fix text property
2319         problem.
2321         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
2322         the capture file, and make it non-configurable.
2324         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2325         always with `invisible-ok'.
2326         (org-store-link): No error when there is nothing to link to in the
2327         agenda.
2329         * org-list.el (org-update-checkbox-count): Insert changed cookie
2330         before the old, to avoid problems with invisibility at the end of
2331         the line.
2332         (org-update-checkbox-count): Insert changed cookie before the old,
2333         to avoid problems with invisibility at the end of the line.
2335         * org.el (org-sort-entries-or-items): Include the final newline.
2336         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2337         lines for fontification.
2338         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2339         (org-prepare-dblock): Store the current indentation of the BEGIN
2340         line.
2341         (org-update-dblock): Apply the indentation of the begin line to
2342         the rest of the block.
2343         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2344         (org-startup-folded): New allowed value `showeverything'.
2345         (org-startup-options): Add STARTUP keyword `showeverything'.
2346         (org-set-startup-visibility): Respect value `showeverything' in
2347         org-startup-folded.
2349 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
2351         * org.el (org-closest-date): Fix issue with past preference.
2353         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
2355         * org-archive.el (org-archive-set-tag)
2356         (org-archive-subtree-default): New commands.
2358         * org-mobile.el (org-mobile-create-index-file): Fix link to
2359         capture file.
2360         (org-mobile-copy-agenda-files): Create the capture file if it does
2361         not exist.
2363         * org-clock.el (org-clock-clocktable-default-properties): New
2364         option.
2365         (org-clock-report): Use
2366         `org-clock-clocktable-default-properties'.
2368 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
2370         * org.el (org-iswitchb-completing-read): Fix typo.
2372         * org-crypt.el: New file.
2374         * org.el: Add an entry for org-crypt.
2376 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2378         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2379         consistency.
2380         (org-batch-store-agenda-views): New function.
2381         (org-mobile-force-id-on-agenda-items): Mention variable.
2382         (org-agenda-title-append): Define variable.
2383         (org-write-agenda): New export to Org files.
2384         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2385         (org-agenda): Allow to keep the restricted file list if a special
2386         variable is bound to t.
2387         (org-agenda): Define a special agenda view for working on flagged
2388         entries.
2389         (org-agenda-get-restriction-and-command): List the new agenda
2390         view.
2391         (org-agenda-show-the-flagging-note): New command.
2392         (org-agenda-mode-map): New key `?' for looking at the flagging
2393         note.
2395         * org.el (org-autoload): Autoload org-mobile.el.
2396         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2398         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2400 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2402         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2403         statements.
2404         (org-table-get-remote-range): Match indented #+TBLNAME
2405         statements.
2407         * org.el (org-convert-to-odd-levels)
2408         (org-convert-to-oddeven-levels): Work also correctly if the file
2409         is in outline-mode.
2411 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
2413         * org.el (org-store-link): When in agenda buffer, link to
2414         referenced entry.
2415         (org-add-planning-info): Remove spaces at eol.
2417         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2418         property.
2420 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
2422         * org-latex.el (org-export-latex-first-lines): Fix problem with
2423         LaTeX export of first line and selected subtree.
2425         * org.el (org-shifttab): Interpret arg differently when using only
2426         odd levels.
2428 2009-09-09  Bastien Guerry  <bzg@altern.org>
2430         * org.el (org-check-agenda-file): Use a more explicit message
2432 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
2434         * org-exp.el (org-export-remove-special-table-lines): Don't remove
2435         normal lines.
2437 2009-09-08  Bastien Guerry  <bzg@altern.org>
2439         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2440         prompt in the temporary window.
2442         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2443         prefix for marked entries in the agenda view.
2445 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
2447         * org.el (outline-end-of-subtree): Bugfix: advise this function in
2448         a way that prevents any trailing character from being displayed.
2450 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
2452         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2453         menu.
2455         * org-exp.el (org-export-remove-special-table-lines): Remove bad
2456         slow regexp match.
2458 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
2460         * org-latex.el (org-export-latex-preprocess): Do not protect in
2461         the LaTeX header.
2463         * org-src.el (org-edit-src-save): Save window setup while saving.
2464         (org-edit-src-code): Use new buffer name construction scheme.
2466 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
2468         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2469         variable.
2470         (org-agenda-entry-text-cleanup-hook): New hook.
2471         (org-agenda-get-some-entry-text): Remove matches of
2472         `org-agenda-entry-text-exclude-regexps' and run the hook
2473         `org-agenda-entry-text-cleanup-hook'.
2475         * org.el (org-offer-links-in-entry): New argument ZERO to
2476         implement a link with index zero.
2477         (org-cycle-show-empty-lines): Not keep empty line under header
2478         hidden.
2479         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2480         to nil for special completion.
2481         (org-store-link): Don't error before the first heading.
2483         * org-agenda.el (org-agenda-open-link): Pass the prefix to
2484         `org-offer-links-in-entry'.
2486 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
2488         * org-agenda.el (org-agenda-quit): Provide the window argument for
2489         `window-dedicated-p', Emacs 22 needs it.
2490         (org-format-agenda-item): If the category is a link, arrange for
2491         invisible text to replaced with spaces.
2492         (org-compile-prefix-format): Add the extra space.
2493         (org-prefix-category-length): New variable.
2495         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2496         references from TOC lines.
2498         * org.el (org-selected-window): New variable.
2500         * org-table.el (org-table-edit-formulas): Remember the selected
2501         window.
2502         (org-table-fedit-finish, org-table-fedit-abort): Select the window
2503         that was originally selected.
2505         * org-exp.el (org-export-preprocess-apply-macros): Scan the
2506         expansion of a macro for more macro definitions.
2508         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2509         invisibility overlay starts on the newline.
2511 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
2513         * org-protocol.el (org-protocol-store-link)
2514         (org-protocol-remember, org-protocol-open-source): Add autoloads.
2516         * org-compat.el (org-float-time): New function.
2518         * org.el (org-clock-update-time-maybe)
2519         (org-sort-entries-or-items, org-do-sort)
2520         (org-evaluate-time-range, org-time-string-to-seconds)
2521         (org-closed-in-range): Use `org-float-time'.
2523         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2524         (org-timer-seconds):  Use `org-float-time'.
2526         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2527         (org-clock-sum, org-dblock-write:clocktable)
2528         (org-clocktable-steps):  Use `org-float-time'.
2530         * org-agenda.el (org-agenda-last-marker-time)
2531         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
2533         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2534         function.
2536         * org-exp.el (org-get-file-contents): Only protect lines that
2537         really need it.
2539         * org-html.el (require): Require cl for compilation.
2541         * org.el:  Avoid using `default-major-mode'.
2543         * org-plot.el (require): Require CL only at compile time.
2545         * org-exp.el (require): Require CL only at compile time.
2547         * org-agenda.el (org-agenda-quit): When the agenda window is
2548         dedicated, remove other windows before exiting, so that the frame
2549         really will be killed.
2551         * org-exp.el (org-export-handle-include-files): Reset START and
2552         END for each loop cycle.
2554 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
2556         * org.el (org-eval-in-calendar): Use
2557         `org-select-frame-set-input-focus'.
2559         * org-compat.el (org-select-frame-set-input-focus): New function.
2561         * org.el (org-update-statistics-cookies): New function.
2562         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2564 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2566         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2567         after the local variables are set.
2569         * org-latex.el (org-export-latex-protect-amp): New function.
2570         (org-export-latex-links): Protect link ampersands in tables.
2572         * org-exp.el (org-export-select-backend-specific-text): Match in
2573         two steps, to avoid regexp problems.
2575         * org.el (org-offer-links-in-entry): Improve working with many and
2576         duplicate links.
2578         * org-agenda.el (org-agenda-show-1): Make more consistent with
2579         normal cycling.
2580         (org-agenda-cycle-show): Make more consistent with normal cycling.
2582         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2583         website.
2585 2009-08-30  Bastien Guerry  <bzg@altern.org>
2587         * org-latex.el (org-export-latex-first-lines): Bugfix.
2589 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2591         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2592         about new effort.
2594         * org.el (org-set-effort): New function.
2595         (org-mode-map): New key for effort setting command.
2597         * org-agenda.el (org-agenda): Keep window setup when calling
2598         agenda from within agenda window.
2599         (org-agenda-mode-map): New keys for effort setting commands.
2600         (org-agenda-menu): Add effort setting commands to menu.
2601         (org-agenda-set-property, org-agenda-set-effort): New functions.
2603         * org-latex.el (org-export-latex-tables): Fix
2604         `org-table-last-alignment' and `org-table-last-column-widths' if
2605         the first column has been removed.
2607 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2609         * org.el (org-remove-timestamp-with-keyword): Only remove in
2610         entry, not in subtree.
2612         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2613         emacs lisp.
2615         * org.el (org-open-at-point): When on headline, offer all strings
2616         in entry.
2618         * org-remember.el (org-remember-templates): Documentation fix.
2620         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2621         `org-get-last-sibling' instead of the outline versions of these
2622         functions.
2623         (org-get-last-sibling): New function.
2624         (org-refile): Use `org-get-next-sibling' instead of the outline
2625         version of this function.
2626         (org-clean-visibility-after-subtree-move): Use
2627         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2628         outline versions of these functions.
2630 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2632         * org-agenda.el (org-prepare-agenda): When creating a new frame
2633         for the agenda, make the window dedicated.
2635         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2637         * org-table.el (org-table-align): Change the order of reinsertion
2638         and deletion, to avoid problems with overlays following the table.
2640         * org.el (org-parse-time-string): Better error message.
2641         (org-show-subtree): Use org-end-of-subtree.
2643         * org-macs.el (org-goto-line): New defsubst.
2645         * org.el (org-open-file, org-change-tag-in-region)
2646         (org-fast-tag-show-exit): Don't use `goto-line'.
2648         * org-table.el (org-table-align, org-table-insert-column)
2649         (org-table-delete-column, org-table-move-column)
2650         (org-table-sort-lines, org-table-copy-region)
2651         (org-table-paste-rectangle, org-table-wrap-region)
2652         (org-table-get-specials, org-table-rotate-recalc-marks)
2653         (org-table-get-range, org-table-recalculate)
2654         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2655         (org-table-show-reference, org-table-highlight-rectangle): Don't
2656         use `goto-line'.
2658         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2659         (org-edit-src-exit): Don't use `goto-line'.
2661         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2663         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2664         Don't use `goto-line'.
2666         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2668         * org-colview.el (org-columns, org-columns-redo)
2669         (org-agenda-columns): Don't use `goto-line'.
2671         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2672         use `goto-line'.
2674         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2675         (org-agenda-add-entry-text-maxlines): Improve docstring.
2676         (org-agenda-start-with-entry-text-mode): New option.
2677         (org-agenda-entry-text-maxlines): New option.
2678         (org-agenda-entry-text-mode): New variable.
2679         (org-agenda-mode): Set initial value of
2680         `org-agenda-entry-text-mode'.
2681         (org-agenda-mode-map): Add the `E' key.
2682         (org-agenda-menu): Add entry text mode to the menu.
2683         (org-agenda-get-some-entry-text): Fix line count bug.
2684         (org-finalize-agenda): Apply entry text mode if appropriate.
2685         (org-agenda-entry-text-show-here): New function.
2686         (org-agenda-entry-text-show): New function.
2687         (org-agenda-entry-text-hide): New function.
2688         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2689         key menu.
2690         (org-agenda-entry-text-mode): New command.
2691         (org-agenda-set-mode-name): Add entry text mode to the mode line
2692         string.
2693         (org-agenda-undo, org-agenda-get-restriction-and-command)
2694         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2695         `goto-line'.
2697 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2699         * org-clock.el (org-notify): Bugfix.
2701 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2703         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2704         check for after-string.
2706         * org-gnus.el (org-gnus-store-link): Simplify.
2708         * org.el (org-latex-regexps): Don't add extra empty lines for
2709         display formulas.
2711 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2713         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2714         (org-agenda-add-entry-text): Use
2715         `org-agenda-get-some-entry-text'.
2717         * org.el (org-cycle-separator-lines): Update docstring.
2718         (org-cycle-show-empty-lines): Handle negative values for
2719         `org-cycle-show-empty-lines'.
2721         * org-exp.el (org-export-protect-sub-super): New function.
2722         (org-export-normalize-links): Protect the url of plain links from
2723         supscript and superscript processing.
2725         * org-remember.el (org-remember-escaped-%): New function.
2726         (org-remember-apply-template): Use `org-remember-escaped-%' to
2727         detect escaped % signs.
2729 2009-08-23  Bastien Guerry  <bzg@altern.org>
2731         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2732         sound when showing the notification.
2734         * org-clock.el (org-notify): New function.
2735         (org-clock-notify-once-if-expired): Use `org-notify'.
2737         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2738         and `gnus-article-mode' separately.
2739         (gnus-summary-article-header): Fix the declare-function.
2741 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2743         * org-exp.el (org-export-format-source-code-or-example): Translate
2744         language.
2746         * org-src.el (org-src-lang-modes): New variable
2747         (org-edit-src-code): Translate language.
2749         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2750         the new structure of the `org-export-latex-listings-langs'
2751         variable.
2753         * org-latex.el (org-export-latex-listings-langs): Change structure
2754         of the variable from plist to alist.
2756 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2758         * org.el (org-in-commented-line): New function.
2760 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2762         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2764 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2766         * org.el (org-flag-drawer): More useful error.
2768 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2770         * org-remember.el (org-remember-apply-template): Use
2771         org-icompleting-read.
2773         * org-publish.el (org-publish): Use org-icompleting-read.
2775         * org-colview.el (org-columns-edit-value, org-columns-new)
2776         (org-insert-columns-dblock): Use org-icompleting-read.
2778         * org-colview-xemacs.el (org-columns-edit-value)
2779         (org-columns-new, org-insert-columns-dblock): Use
2780         org-icompleting-read.
2782         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2783         org-icompleting-read.
2785 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2787         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2788         (org-version): Return the version text.
2789         (org-org-menu): Add a menu entry for the new bug reporter.
2790         (org-submit-bug-report): New command.
2792         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2793         docstring.
2795         * org.el (org-emphasis-regexp-components): Add "`" to set of
2796         pre-emphasis characters.
2798         * org-latex.el (org-export-latex-classes): Always include the soul
2799         package.
2800         (org-export-latex-emphasis-alist): Use \st for strikethough.
2802         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2803         `indent-code-rigidly' to indent.
2805         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2806         properties only if MATCH really is a string.
2808 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2810         * org-latex.el (org-export-latex-packages-alist): Fix
2811         customization type.
2813         * org.el (org-create-formula-image): Also use
2814         `org-export-latex-packages-alist'.
2816         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2817         (org-export-as-html): Format footnotes correctly.
2819 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2821         * org.el (org-fast-tag-selection): Avoid text properties on tags
2822         in the alist.
2824         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2825         text properties on the match element.
2827 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2829         * org.el (org-set-regexps-and-options): Make sure the list of done
2830         keywords is not invalid.
2832         * org-exp.el (org-export-interpolate-newlines): New function.
2834 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2836         * org.el (org-format-latex): Avoid nested overlays.
2838         * org-latex.el (org-export-latex-listings-langs): Add a few more
2839         languages.
2841         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2842         ignore newlines and space before the first macro argument.
2844         * org-latex.el (org-export-latex-tables): Remove save-excursion
2845         around `org-table-align'.
2847 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2849         * org.el (org-export-html-special-string-regexps): Definition
2850         moved into org.el
2852         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2853         in macro calls.
2855 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2857         * org-latex.el (org-export-latex-listings)
2858         (org-export-latex-listings-langs): New options.
2860         * org-exp.el (org-export-format-source-code-or-example): Use
2861         listing package if requested by the user.
2863 2009-08-08  Bastien Guerry  <bzg@altern.org>
2865         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2866         command before actually switching to a buffer.
2868 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2870         * org-exp.el (org-get-file-contents): Only quote org lines when
2871         the markup is src or example.
2873         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2874         New option
2875         (org-agenda-get-day-entries): Remember deadline results and pass
2876         them on into the function getting the scheduling information.
2877         (org-agenda-get-scheduled): Accept deadline results as parameters
2878         and maybe skip some entries.
2879         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2881         * org.el (org-insert-heading): When respecting content, do not
2882         convert current line to headline.
2884         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2885         cheeeeeck the hd marker
2886         (org-clock-in): Also set the hd marker.
2887         (org-clock-out): Also set the hd marker.
2888         (org-clock-cancel): Reset markers.
2890         * org.el (org-clock-hd-marker): New marker.
2892         * org-faces.el (org-agenda-clocking): New face.
2894         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2895         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2897         * org.el (org-modules): Add org-track.el.
2899         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2900         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2901         `org-agenda-bulk-marked-p'.
2902         (org-agenda-bulk-toggle): New command.
2904 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2906         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2907         not just the body.
2909         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2910         messages.
2912 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2914         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2915         before gnuplot can read it.
2917 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2919         * org-latex.el (org-export-latex-first-lines): Fix bug with
2920         finding the end of the first lines.
2922         * org.el (org-create-formula-image): Remove the -E option for
2923         dvipng.
2925         * org-exp.el (org-default-export-plist): Respect #+BIND.
2926         (org-export-confirm-letbind): New function.
2928         * org.el (org-paste-subtree): Test the kill ring entry if it is
2929         going to be used.
2930         (org-copy-subtree): Use `org-forward-same-level'.
2931         (org-forward-same-level): Respect the `invisibe-ok' arg for
2932         back-to-heading.
2934 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2936         * org.el (org-table-map-tables): Make sure cursor is back at table
2937         beginning after funcall.
2939         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2940         handled before children, and do not error if an entry is not
2941         found, probably because it hase been remove when the parent was
2942         archived or refiled.
2944         * org.el (org-ido-completing-read): Accept straight lists for
2945         completion as well as alists.
2947         * org-html.el (org-export-as-html): Fix parenthesis error in
2948         footnore code.
2950         * org-timer.el (org-timer-cancel-timers): Renamed from
2951         `org-timer-cancel-timers'.
2953         * org.el (org-cycle-internal-local): Fix problem with finding next
2954         invisible line.
2956 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2958         * org-list.el (org-list-send-list): Call
2959         `org-list-goto-true-beginning' instead of
2960         `org-list-find-true-beginning', which does not exist.
2962         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2963         (org-timer-set-timer): Do not assign to heading.
2965         * org-id.el (org-id-open): Quote function name.
2967         * org-macs.el (org-unmodified): Turn off recording undo
2968         information while running inside the macro.
2970         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2971         variable.
2972         (org-indent-mode): Remember and restore value of
2973         org-hide-leading-stars before `org-indent-mode'.
2975         * org-table.el (org-table-export): Also work in file-less
2976         buffers.
2978         * org.el (org-startup-indented): New option.
2979         (org-startup-options): Add new options indent and noindent.
2980         (org-unfontify-region): Remove line-prefix and wrap-prefix
2981         properties.
2982         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2983         hooks.
2984         (org-promote, org-demote): Run the new hooks.
2986         * org-table.el (org-table-align): Replace leading \n as well.
2988         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2989         and `line-wrap' text properties.
2991         * org-compat.el (org-kill-new): New function.
2993         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2994         `line-wrap' text properties.
2996         * org-indent.el: New file.
2998 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
3000         * org.el (org-provide-todo-statistics): Tweak docstring.
3002         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
3004 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
3006         * org-exp.el (org-export-as-org): Insert the "-source" string
3007         before the extension.
3009         * org.el (org-read-date): Make sure the calendar is in the current
3010         frame.
3011         (org-set-emph-re): Remove the ? from the post-match.
3012         (org-emphasis-regexp-components): Add backslash to the
3013         postmatch class.
3014         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
3015         optional so that also lines at the end of the buffers will still
3016         be matched as headlines.
3018         * org-table.el (org-table-error-on-row-ref-crossing-hline):
3019         Variable made obsolete.
3020         (org-table-relative-ref-may-cross-hline): New option.
3021         (org-table-find-row-type): Honow the new option
3022         `org-table-relative-ref-may-cross-hline'.
3024 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
3026         * org-table.el (org-table-cut-region, org-table-copy-region): Work
3027         on single field if no active region.
3029 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
3031         * org-latex.el (org-export-latex-make-header): Only insert title
3032         if one is defined.
3034         * org.el (org-make-options-regexp): Allow empty values.
3036         * org-html.el (org-export-as-html): Move hrule detection to after
3037         plain list handling.
3039 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
3041         * org-html.el (org-format-org-table-html): Fix colgroup tags.
3043 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
3045         * org.el (org-cycle-internal-local): Improved version of finding
3046         next visible line.
3047         (org-cycle-hide-drawers): Only hide drawers if this is really
3048         necessary.
3049         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
3050         org-version of this function in Org-mode.  We use advice to
3051         implement this change, so that future changes to this function in
3052         outline.el wil be handled properly.
3053         (org-forward-same-level, org-backward-same-level): New commands.
3055 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
3057         * org.el (org-remove-empty-overlays-at)
3058         (org-clean-visibility-after-subtree-move): New functons.
3059         (org-move-subtree-down): Simplify cleanup of display.
3061 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
3063         * org-mac-message.el (org-mac-message-get-links): Improve
3064         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
3065         "s".  Fix the return value.
3066         (org-mac-message-insert-flagged): Simplify.
3068         * org.el (org-refile-get-location): Tamper with refile history o
3069         that history contains compete matches instead of the entered
3070         string.
3072 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
3074         * org.el (org-store-link): Never store a link to an inline task.
3076         * org-inlinetask.el (org-inlinetask-insert-task): New command.
3078         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
3079         inline tasks when positioning footnotes.
3081         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
3082         function.
3084         * org.el (org-refile): Remove the END line when archiving an
3085         inline task that does have an END line.
3087         * org-archive.el (org-archive-subtree): Remove the END line when
3088         archiving an inline task that does have an END line.
3090         * org-macs.el (org-with-limited-levels): New macro.
3091         (org-get-limited-outline-regexp): New function.
3093         * org-exp.el (org-export-format-source-code-or-example): Fix bug
3094         that did not enumerate first line.
3095         (org-export-mark-radio-links): Skip matches in links.
3097 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
3099         * org.el (org-activate-plain-links): Make single-match.
3100         (org-adapt-indentation): Fix docstring.
3102         * org-macs.el (org-unmodified): Turn of modification hooks while
3103         running this macro.
3105 2009-08-02  Bastien Guerry  <bzg@altern.org>
3107         * org.el (org-adapt-indentation): Slightly improve the docstring.
3108         (org-occur): Sends an error when the user inputs an empty string.
3109         (org-priority): Bugfix: the tag alignement should happen within
3110         save-excursion.
3112 2009-07-31  Bastien Guerry  <bzg@altern.org>
3114         * org.el (org-make-link-regexps): Don't exclude parentheses from
3115         `org-plain-link-re'
3116         (org-cycle-internal-local): When locally cycling, switch directly
3117         from CHILDREN to FOLDED if there is no subtree
3118         (org-cycle): Update the docstring to document the new behavior of
3119         `org-cycle-internal-local'.
3121 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
3123         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
3124         an abbreviated format for days.
3126 2009-07-27  Bastien Guerry  <bzg@altern.org>
3128         * org-protocol.el (org-protocol-default-template-key): New
3129         option.
3131         * org.el (org-refile): Bugfix: save-excursion before reading the
3132         refile target, otherwise cursor moves might confuse `org-refile'.
3134         * org-html.el (org-export-as-html): Bugfix: correctly convert the
3135         footnote reference before the footnote itself.
3137         * org.el (org-toggle-heading): Bugfix: correctly convert list
3138         items before the first headline.
3140         * org-html.el (org-export-html-footnote-format): New option for
3141         formatting the footnote reference.
3142         (org-export-as-html): Use the new option.
3144         * org.el (org-provide-todo-statistics): Allow a list of TODO
3145         keywords to compute statistics against headlines containing a
3146         keyword from this list.
3147         (org-update-parent-todo-statistics): Possibly use the new allowed
3148         value of `org-provide-todo-statistics'.
3150 2009-07-26  Bastien Guerry  <bzg@altern.org>
3152         * org-timer.el: Add autoload cookie.
3154         * org.el (org-occur-link-in-agenda-files): New function.
3156         * org-timer.el (org-timer-last-timer): New variable.
3158         * org-agenda.el (org-agenda-mode-map): New key for
3159         org-timer-set-timer called from the agenda.
3161         * org.el (org-mode-map): New key for org-timer-set-timer.
3163         * org-timer.el (org-timer-reset-timers)
3164         (org-timer-show-remaining-time, org-timer-set-timer): New
3165         functions.
3167         * org-clock.el (org-show-notification): Update the docstring.
3169         * org.el (org-provide-todo-statistics): Allow new value
3170         'all-headlines for this option, which includes entries with no
3171         TODO keywords in the todo statistics.
3172         (org-update-parent-todo-statistics): Possibly use the new
3173         'all-headline value from `org-provide-todo-statistics'.
3175 2009-07-25  Bastien Guerry  <bzg@altern.org>
3177         * org-clock.el (org-dblock-write:clocktable): Add a new option
3178         :timestamp which allows display of timestamps in clock reports.
3180         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
3181         list to a subtree, preserving the structure of the list.
3182         (org-set-emph-re): Make the last element optional in the regexp.
3183         This regexp now matches an emphasized string at the end of a line.
3185         * org-list.el (org-list-goto-true-beginning)
3186         (org-list-make-subtree, org-list-make-subtrees): New functions.
3188         * org.el (org-eval-in-calendar): Select the right frame.
3189         (org-save-frame-excursion): Remove this macro.
3191 2009-07-24  Bastien Guerry  <bzg@altern.org>
3193         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
3194         trying to find the beginning of a list.
3196         * org-exp.el (org-get-file-contents): Use a new argument: markup.
3197         When present, tell org-get-file-contents not to protect org-like
3198         lines.
3200         * org-id.el (org-id-uuid-program): New option to set the name of
3201         the uuidgen program.
3202         (org-id-method): Use `org-id-uuid-program'.
3203         (org-id-new): Use `org-id-uuid-program'.
3205 2009-07-23  Bastien Guerry  <bzg@altern.org>
3207         * org-exp.el (org-export-number-lines): Allow whitespace in code
3208         references.  Allow the -r switch to remove the references in the
3209         source code even when the lines are not numbered: the labels can
3210         be explicit enough.
3212         * org.el (org-fontify-whole-heading-line): New option.
3213         (org-set-font-lock-defaults): Use the new option.
3215         * org-clock.el (org-show-notification-handler): New option.
3216         (org-show-notification): Use the new option.
3218 2009-07-21  Bastien Guerry  <bzg@altern.org>
3220         * org.el (org-eval-in-calendar): Fix a bug about calendar
3221         navigation when `calendar-setup' value is 'calendar-only.
3223 2009-07-19  Bastien Guerry  <bzg@altern.org>
3225         * org.el (orgstruct++-mode): Fix typo in docstring.
3226         (org-insert-link): Clean up: (or (...)) => (...)
3227         (org-insert-link): Use TAB for stored links completion.
3229 2009-07-18  Bastien Guerry  <bzg@altern.org>
3231         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3232         building the list of targets.
3234         * org-remember.el (org-remember-delete-empty-lines-at-end): New
3235         option.
3236         (org-remember-handler): Use the new option.
3238 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
3240         * org.el (org-tags-sort-function): New option for sorting tags.
3241         (org-set-tags): Use the new option to sort tags.
3243         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3244         premature deletion of the data when using org-plot in a script.
3246 2009-07-17  Bastien Guerry  <bzg@altern.org>
3248         * org-clock.el (org-clock-in-prepare-hook): New hook.
3249         (org-clock-in): Use this new hook.
3251 2009-07-16  Bastien Guerry  <bzg@altern.org>
3253         * org.el (org-special-ctrl-a/e): Explicitely bind the value
3254         'reversed for this option to the "true line boundary first"
3255         behavior.
3256         (org-tags-match-list-sublevels): Document the 'indented value for
3257         this variable.
3259         * org-latex.el (org-export-latex-first-lines): Fix problem with
3260         publishing the region.
3262         * org-exp.el (org-export-format-source-code-or-example): Fix
3263         bad line numbering when exporting examples in HTML.
3265         * org-colview.el (org-format-time-period): Formats a time in
3266         fractional days as days, hours, mins, seconds.
3267         (org-columns-display-here): Add special handling for SINCE and
3268         SINCE_IA to format for display.
3270 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
3272         * org.el (org-tags-sort-function): Add custom declaration for tags
3273         sorting function.
3274         (org-set-tags): Sort tags if org-tags-sort-function is set
3276 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
3278         * org-clock.el (org-clock-goto): Find hidden headlines as well.
3280         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3282         * org-plot.el (org-plot/add-options-to-plist): Add timeind
3283         option.
3285 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
3287         * org-publish.el (org-publish-remove-all-timestamps): New function.
3288         (org-publish-all): Remove all timestamp files if `org-publish-all'
3289         is called with a prefix argument.
3291         * org-list.el (org-indent-item): Fix typo.
3292         (org-item-indent-positions): Normalize ordered bullet.
3294         * org-html.el (org-export-html-home/up-format): New option.
3295         (org-export-as-html): Insert the up and HOME links.
3297 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
3299         * org-html.el (org-export-as-html): Insert the title into the
3300         option plist.
3301         (org-export-html-insert-plist-item): New function.
3302         (org-export-as-html): Call `org-export-html-insert-plist-item'.
3304         * org-macs.el (org-set-local): Make a local variable, do not make
3305         the variable buffer-local!
3307         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3309         * org-html.el (org-export-as-html): Call `org-install-letbind'.
3311         * org-docbook.el (org-export-as-docbook): Call
3312         `org-install-letbind'.
3314         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
3316         * org-exp.el (org-infile-export-plist): Read BIND lines.
3317         (org-install-letbind): New function.
3318         (org-export-as-org, org-export-preprocess-string): Call
3319         `org-install-letbind'.
3321         * org-src.el (org-edit-src-exit): Untabify the example before
3322         returning to Org.
3324         * org-list.el (org-list-demote-modify-bullet): New option.
3325         (org-first-list-item-p): Save point.
3326         (org-fix-bullet-type): New optional argument FORCE-BULLET.
3327         (org-indent-item): Honor `org-list-demote-modify-bullet'.
3328         (org-item-indent-positions): Return bullet types along with
3329         indentation.
3331 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
3333         * org.el (org-show-entry): Hide drawers.
3335 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
3337         * org-footnote.el (org-footnote-auto-adjust): New option.
3338         (org-footnote-auto-adjust-maybe): New function.
3339         (org-footnote-new, org-footnote-delete): Call
3340         `org-footnote-auto-adjust-maybe'.
3342         * org.el (org-startup-options): Add new footnote-related
3343         keywords.
3345         * org-publish.el (org-publish-timestamp-filename): Additional
3346         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3347         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3348         TRUE-PUB-DIR.  Pass them through to
3349         `org-publish-timestamp-filename'.
3350         (org-publish-update-timestamp): Additional arguments PUB-DIR and
3351         PUB-FUNC, which are included in the hash.
3352         (org-publish-file): Delay timestamp test until the publishing
3353         function is known.
3355 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
3357         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3358         setting the deadline.
3360         * org.el (org-read-date-final-answer): New variable.
3361         (org-read-date): Store the final answer string, including the date
3362         from the calendar, for reuse by agenda bulk commands.
3364         * org-publish.el (org-publish-attachment): Fix publishing of
3365         attachments.
3367         * org-latex.el (org-export-latex-quotation-marks): Fix export of
3368         quotation makrs in parenthesis.
3369         (org-remove-initial-hash): New function.
3370         (org-export-latex-preprocess): Fix bug with infinite loop if
3371         environment is not properly closed.
3373         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3374         when indented.
3376         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3377         highlight also when indented.
3379 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
3381         * org-footnote.el (org-footnote-renumber-fn:N): New command.
3382         (org-footnote-action): Offer renumbering.
3384         * org.el (org-cycle): Honor the `integrate' value of
3385         org-cycle-include-plain-lists'.
3387         * org-list.el (org-cycle-include-plain-lists): New allowed value
3388         `internal'.  Improve the docstring.
3390         * org.el (org-set-autofill-regexps): Improve the paragraph-start
3391         regexp to work better with LaTeX commands.
3393 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
3395         * org-feed.el (org-feed-update): fix problem with non-existing
3396         buffer.
3397         (org-feed-skip-http-headers): New function.
3398         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
3399         (org-feed-get-feed): Fix command line arguments for curl.
3401 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
3403         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3404         and eps extensions.
3406 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
3408         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3409         loaded.
3411         * org.el (org-map-entries): No longer force
3412         `org-tags-match-list-sublevels' to t during a todo-only tags
3413         search.
3415 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
3417         * org-latex.el (org-export-latex-low-levels): Allow user-defined
3418         environment.
3419         (org-export-latex-subcontent): Handle user-defined environment.
3421         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3422         the View dispatcher.
3424         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3425         `make-overlay'.
3427         * org-latex.el (org-export-as-pdf): Protect match data during call
3428         to shell-quote-argument.
3430         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3431         (org-agenda-view-mode-dispatch): New function.
3433 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
3435         * org-agenda.el (org-agenda-mode): Reset list of marks.
3436         (org-agenda-mode-map): Define new keys for refile and bulk action.
3437         (org-agenda-menu): Add menu itesm for refile and bulk action.
3438         (org-agenda-refile): New function.
3439         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3440         (org-agenda-marked-entries): New variable.
3441         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3442         (org-agenda-remove-all-bulk-action-marks)
3443         (org-agenda-bulk-action): New functions/commands.
3445 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
3447         * org-exp.el (org-get-file-contents): Protect org-like lines in
3448         included files.
3449         (org-export-format-source-code-or-example): Remove newlines.
3451         * org-latex.el (org-export-latex-links): Check for no-description
3452         marking.
3454         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3455         argument separator back to comma.
3456         (org-export-normalize-links): Mark links without description.
3458 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
3460         * org-exp.el (org-infile-export-plist): Fix bug in macro
3461         processing.
3463         * org-agenda.el (org-agenda-clock-out): Update line after clocking
3464         out.
3465         (org-agenda-highlight-todo): Fix bug with highlighting.
3467 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
3469         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3470         new alignment strings.
3472         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3473         command list.
3474         (org-table-align): Check for forced align type.
3476         * org.el (org-self-insert-command): Add yas/expand to command
3477         list.
3479         * org-clock.el (org-clock-in-hook): New hook.
3480         (org-clock-in): Run `org-clock-in-hook.
3481         (org-clock-out-hook): New hook.
3482         (org-clock-out): Run `org-clock-out-hook.
3483         (org-clock-cancel-hook): New hook.
3484         (org-clock-cancel): Run `org-clock-cancel-hook.
3485         (org-clock-goto-hook): New hook.
3486         (org-clock-goto): Run `org-clock-goto-hook.
3488 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
3490         * org.el (org-store-link): Better default description for link to
3491         Org-mode headline.
3493         * org-exp.el (org-export-generic): Autoload the generic exporter
3494         function.
3495         (org-export): Implement the `g' key for the generic exporter.
3497 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
3499         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3500         and for zbacktab'.
3502         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
3504         * org-exp.el (org-infile-export-plist): Get macros also from
3505         #+SETUPFILE.
3507 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
3509         * org-colview.el (org-columns-capture-view): Protect vertical bars
3510         in column values.
3511         (org-columns-capture-view): Exclude comment and archived trees.
3513         * org-colview-xemacs.el (org-columns-capture-view): Protect
3514         vertical bars in column values.
3515         (org-columns-capture-view): Exclude comment and archived trees.
3517         * org.el (org-quote-vert): New function.
3519         * org-latex.el (org-export-latex-verbatim-wrap): New option.
3521         * org-exp.el (org-export-format-source-code-or-example): Use
3522         `org-export-latex-verbatim-wrap'.
3524         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3525         time stamps.
3527         * org-html.el (org-export-table-row-tags): New option.
3528         (org-format-org-table-html): Rename `nlines' to `nline', use new
3529         option.
3532 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
3534         * org-exp-blocks.el: Declare functions and variables.
3536         * org-remember.el (org-remember-templates): Allow the headline
3537         element to be a function.
3538         (org-remember-apply-template): If the headline is a function, call
3539         it to get the true function.
3541         * org-clock.el (org-clock-menu): New function.
3542         (org-clock-update-mode-line): Update help string.
3543         (org-clock-modify-effort-estimate): New function.
3544         (org-clock-mark-default-task): New function.
3546         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3547         minutes as input.
3548         (org-org-menu): Add new clocking stuff.
3549         (org-clock-is-active): New function.
3551 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
3553         * org.el (org-open-non-existing-files): Improve docstring.
3555 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
3557         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3558         option.
3559         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3561         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3563         * org-list.el (org-get-checkbox-statistics-face): Use the new
3564         faces.
3566         * org-faces.el (org-checkbox-statistics-todo)
3567         (org-checkbox-statistics-done): New faces.
3569 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3571         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3572         (org-edit-src-exit): Better cursor positioning when returning from
3573         editing.
3575         * org-latex.el (org-export-latex-use-verb): New variable.
3576         (org-export-latex-emph-format): Prefer \texttt over \verb when
3577         org-export-latex-use-verb is set.
3579 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3581         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3582         at normal indentation.
3584         * org-html.el (org-export-html-close-lists-maybe): Also look at
3585         normal indentation.
3587         * org-remember.el (org-remember-handler): Abort remember if the
3588         buffer is empty.
3590         * org-src.el (org-edit-src-content-indentation): New option.
3591         (org-edit-src-exit): Apply extra indentation.
3593         * org-exp.el (org-export-format-source-code-or-example): Run
3594         `org-src-mode-hook'.
3596         * org-src.el (org-src-mode-hook): New variable.
3597         (org-edit-src-code): Run `org-src-mode-hook'.
3599 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3601         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3603         * org-src.el (org-edit-src-get-indentation): New function.
3604         (org-edit-src-code): Base indentation on the begin line.
3606 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3608         * org-gnus.el (org-gnus-store-link): Require message.el in
3609         org-gnus-store-link.
3611 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3613         * org-src.el: New file, split out of org.el
3615         * org-docbook.el (org-export-as-docbook): Better indentation
3616         treatment.
3618         * org-macs.el (org-replace-match-keep-properties): New function.
3620         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3621         preprocessing of center and quote and verse blocks.
3623         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3624         (org-export-as-docbook): Close lists when original indentation
3625         mandates it.
3627         * org-html.el (org-export-html-close-lists-maybe): New function.
3628         (org-export-as-html): Close lists when original indentation
3629         mandates it.
3631         * org-list.el (org-list-end): Respect the stored "original"
3632         indentation when determining the end of the list.
3634         * org-exp.el (org-export-replace-src-segments-and-examples):
3635         Remember indentation correctly.
3637 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3639         * org-clock.el (org-clock-update-mode-line): Apply face
3640         org-mode-line-clock.
3642         * org-faces.el (org-mode-line-clock): New face.
3644 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3646         * org-gnus.el (org-gnus-store-link): Fix bug where
3647         `org-gnus-store-link' used wrong subject when called in an article
3648         buffer.  Patch provided by fengli AT gmail DOT com.
3650 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3652         * org-exp.el (org-export-format-source-code-or-example): Remember
3653         the original indentation of source code snippets and examples.
3655         * org-latex.el (org-export-as-latex): Relocate the table of
3656         contents.
3658         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3660         * org-agenda.el (org-run-agenda-series): Scope global options also
3661         when creating the agenda buffer.
3663 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3665         * org.el (org-adapt-indentation): Improve documentation.
3666         (org-insert-property-drawer): Respect org-adapt-indentation when
3667         inserting the drawer.
3668         (org-remove-flyspell-overlays-in): New function.
3669         (org-do-emphasis-faces, org-activate-plain-links)
3670         (org-activate-code, org-fontify-meta-lines-and-blocks)
3671         (org-activate-angle-links, org-activate-footnote-links)
3672         (org-activate-bracket-links, org-activate-dates)
3673         (org-activate-target-links, org-activate-tags): Remove flyspell
3674         overlays.
3676 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3678         * org.el (org-edit-src-save): New function.
3680         * org-clock.el (org-clock-out-switch-to-state): New option.
3681         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3683         * org-compat.el (org-compatible-face): Improve macro.
3685         * org.el (org-global-properties-fixed): Add default for
3686         CLOCK_MODELINE_TOTAL.
3688         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3689         andd tend.
3690         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3691         org-clock-sum.
3692         (org-clock-get-sum-start): New function.
3694         * org.el (org-startup-options): New keywords blockhide and
3695         blockshow.
3696         (org-mode): Add new invisibility spec.
3697         (org-set-startup-visibility): Hide block on startup if so
3698         desired.
3699         (org-hide-block-startup): New option.
3700         (org-block-regexp): New constant.
3701         (org-hide-block-overlays): New variable.
3702         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3703         (org-show-block-all, org-hide-block-toggle-maybe)
3704         (org-hide-block-toggle): New functions.
3705         (org-edit-src-exit): Do not quote lines starting with # and no +
3706         behind it.
3707         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3708         entry.
3710 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3712         * org.el (org-buffer-property-keys): Add Effort property for
3713         completion.
3715 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3717         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3718         when retrieving total clocked time in the subtree.
3720         * org.el (org-quoting-blocks): New variable.
3722 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3724         * org-table.el (org-table-store-formulas)
3725         (org-table-get-stored-formulas, org-table-fix-formulas)
3726         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3727         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3729         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3730         indented #+TBLFM line.
3732         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3733         indented #+TBLFM line.
3735         * org-colview.el (org-dblock-write:columnview): Allow indented
3736         #+TBLFM line.
3738         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3739         indented #+TBLFM line.
3741         * org-clock.el (org-dblock-write:clocktable): Allow indented
3742         #+TBLFM line.
3744 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3746         * org-exp.el (org-export-format-source-code-or-example): Make
3747         editing indented blocks work correctly.
3749         * org.el (org-edit-src-nindent): New variable.
3750         (org-edit-src-code, org-edit-fixed-width-region)
3751         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3752         editing indented blocks work correctly.
3754 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3756         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3757         indented blocks.
3758         (org-export-format-source-code-or-example): Fix indentation of
3759         blocks.
3760         (org-export-remove-indentation): New function.
3761         (org-export-select-backend-specific-text): Allow backend-specific
3762         code to be indented.
3763         (org-export-mark-blockquote-verse-center): Allow markers to be
3764         indented.
3766         * org.el (org-fontify-meta-lines): New function.
3767         (org-set-font-lock-defaults): Call the new fontification
3768         function.
3770         * org-faces.el (org-meta-line): New face
3771         (org-block):  New face.
3773 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3775         * org.el (org-treat-insert-todo-heading-as-state-change)
3776         (org-treat-S-cursor-todo-selection-as-state-change): New
3777         variables.
3778         (org-insert-todo-heading): Honor
3779         `org-treat-insert-todo-heading-as-state-change'.
3780         (org-shiftright, org-shiftleft): Honor
3781         `org-treat-S-cursor-todo-selection-as-state-change'.
3782         (org-inhibit-logging): New variable.
3784 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3786         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3787         range for marker position checking.
3789         * org-latex.el (org-export-latex-first-lines): Fix bug when
3790         exporting a region.
3792 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3794         * org-exp.el (org-export-push-to-kill-ring): Protect using
3795         x-set-selection, because that does not always work.
3797         * org-agenda.el (org-agenda-list): Apply the new face
3798         `org-agenda-date-today'.
3800         * org-faces.el (org-agenda-date-today): New face.
3802 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3804         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3805         creating appointments.
3807         * org-latex.el (org-export-latex-low-levels): Fix customization
3808         type.
3810         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3811         priority commands.
3813         * org-agenda.el (org-agenda-priority): Disable priority commands.
3815         * org.el (org-enable-priority-commands): New option.
3817         * org-colview-xemacs.el (org-columns-compute)
3818         (org-columns-number-to-string): Fix problems with empty fields.
3820         * org-colview.el (org-columns-compute)
3821         (org-columns-number-to-string): Fix problems with empty fields.
3823         * org-exp.el (org-export-push-to-kill-ring): New function.
3824         (org-export-copy-to-kill-ring): New option.
3826         * org-latex.el (org-export-as-latex): Call
3827         `org-export-push-to-kill-ring'.
3829         * org-html.el (org-export-as-html): Call
3830         `org-export-push-to-kill-ring'.
3832         * org-docbook.el (org-export-as-docbook): Call
3833         `org-export-push-to-kill-ring'.
3835         * org-ascii.el (org-export-as-ascii): Call
3836         `org-export-push-to-kill-ring'.
3838         * org-exp.el (org-export-show-temporary-export-buffer): New
3839         option.
3841         * org-latex.el (org-export-as-latex): Use
3842         `org-export-show-temporary-export-buffer'.
3844         * org-html.el (org-export-as-html): Use
3845         `org-export-show-temporary-export-buffer'.
3847         * org-docbook.el (org-export-as-docbook): Use
3848         `org-export-show-temporary-export-buffer'.
3850         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3851         `org-export-show-temporary-export-buffer'.
3853         * org-exp.el (org-export-show-temporary-export-buffer): New
3854         option.
3855         (org-export-push-to-kill-ring): New function.
3857         * org-colview.el (org-columns-compile-map): New variable.
3858         (org-columns-new, org-columns-compute)
3859         (org-columns-number-to-string, org-columns-uncompile-format)
3860         (org-columns-compile-format): Implement new operators.
3862 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3864         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3866         * org-html.el (org-export-html-xml-declaration): New option.
3867         (org-export-as-html): Use `org-export-html-xml-declaration'.
3869         * org-list.el (org-update-checkbox-count): Make property
3870         dependent.
3872         * org.el (org-hierarchical-todo-statistics): New option.
3873         (org-update-parent-todo-statistics): Modified to handle recursive
3874         statistics.
3876 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3878         * org-publish.el (org-publish): Make this function behave
3879         correctly in interactive use when called with a prefix argument.
3881         * org.el (org-todo-statistics-hook): New hook.
3882         (org-update-parent-todo-statistics): Use new hook.
3883         (org-log-into-drawer): New function.
3884         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3885         determine if we should be logging into a drawer.
3886         (org-log-into-drawer): Update docstring.
3887         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3889         * org-list.el (org-checkbox-statistics-hook): New hook.
3890         (org-update-checkbox-count-maybe): Use new hook.
3892         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3893         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3894         to kill ring.
3896 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3898         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3899         a line.
3901 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3903         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3904         better bufer-generating mechanism.
3905         (org-edit-src-find-buffer): New function.
3907         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3908         archive tag, this is already done by `org-agenda-skip'.
3909         data while constructing lost of tags.
3911 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3913         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3914         as argument separator in macros.
3916         * org-html.el (org-export-as-html): Add xml declaration.
3918 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3920         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3921         (org-sort-entries-or-items): Run the new hook.
3922         (org-after-refile-insert-hook): New hook.
3923         (org-refile): Run `org-after-refile-insert-hook'.
3925         * org-agenda.el (org-agenda-get-progress): Never take time of day
3926         from headline when displaying progress.
3928         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3929         (org-export-as-latex): Force the correct regexp in the
3930         preprocessor buffer.
3931         (org-export-latex-set-initial-vars): Set
3932         `org-export-latex-complex-heading-re'.
3934         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3935         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3937 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3939         * org-latex.el (org-export-latex-tables-centered): New option.
3940         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3942         * org-exp.el (org-export-as-org): New command.
3943         (org-export-as-org): New command.
3945         * org-publish.el (org-publish-org-to-org): New function.
3947 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3949         * org.el (org-yank): Just call `org-yank-generic'.
3950         (org-yank-generic): New function, containing the formaer
3951         functionality of `org-yank'.
3953         * org-latex.el (org-export-latex-not-done-keywords)
3954         (org-export-latex-done-keywords): New variables.
3955         (org-export-latex-todo-keyword-markup): New option.
3956         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3957         (org-export-latex-keywords-maybe): Apply the TODO markup.
3959 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3961         * org-exp.el (org-infile-export-plist): Add more default macros.
3962         (org-export-preprocess-apply-macros): Process macro arguments.
3964 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3966         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3967         `unblocked'.
3968         (org-print-icalendar-entries): Respect the new value of
3969         `org-icalendar-include-todo'.
3971         * org.el (org-link-try-special-completion)
3972         (org-file-complete-link): New functions.
3973         (org-insert-link): Add special completion support for some link
3974         types.
3976         * org-bbdb.el (org-bbdb-complete-link): New function.
3978 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3980         * org-list.el (org-update-checkbox-count): Allow recursive
3981         statistics.
3982         (org-hierarchical-checkbox-statistics): New option.
3984         * org.el (org-cycle): Remove erraneous space character.
3986         * org-icalendar.el (org-icalendar-timezone): Initialize from
3987         environment.
3989         * org-html.el (org-format-org-table-html): Specify the scope.
3990         (org-format-table-table-html): Specify the scope.
3991         (org-export-table-header-tags): Prepare the scope parameter.
3993 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3995         * org-html.el
3996         (org-export-html-table-use-header-tags-for-first-column): New
3997         option.
3999         * org.el (org-autoload): Fix autoloading of ascii export
4000         functions.
4001         (org-modules): Add org-special-blocks.
4003 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
4005         * org-icalendar.el (org-start-icalendar-file): Use the new option.
4006         (org-ical-timezone): New option.
4008         * org-exp.el (org-export-get-coderef-format): Use the description
4009         is present.
4011         * org.el (org-sort-entries-or-items): Improve docstring, and make
4012         better implementation for time sorting.
4014 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
4016         * org.el (org-edit-src-persistent-message): New option.
4017         (org-edit-src-code, org-edit-fixed-width-region): Use the new
4018         option.
4020         * org-clock.el (org-clock-insert-selection-line): Fix prefious
4021         patch.
4023         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
4024         separate buffer instead of indirect buffer to edit source code.
4025         (org-edit-src-exit): Make this function work with the new setup.
4027         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
4028         are properly fontified before shown in the selection menu.
4030         * org.el (org-fontify-like-in-org-mode): New function.
4032         * org-latex.el (org-export-latex-links): Use the property list to
4033         retrieve the default image attributes.
4035         * org-exp.el (org-export-plist-vars): Add a new option.
4037 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
4039         * org-exp.el (org-export, org-export-visible): Support ASCII
4040         export to buffer
4041         (org-export-normalize-links): Do not protect the description if it
4042         is explicitly given.
4044         * org-ascii.el (org-export-as-ascii-to-buffer)
4045         (org-replace-region-by-ascii, org-export-region-as-ascii): New
4046         commands.
4047         (org-export-as-ascii): Add all the same parameters that are also
4048         supported by the other export functions.
4050         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
4051         org-checklist.el.
4052         (org-reset-checkbox-state-subtree): Call
4053         `org-reset-checkbox-state-subtree'.
4055         * org-remember.el (org-select-remember-template): For the
4056         selection of a valid template.
4058         * org-latex.el (org-export-region-as-latex): Supply the
4059         force-no-subtree argument.
4060         (org-export-as-latex): Provide better limits when exporting the
4061         first line.  When exporting to string, we still want the first
4062         lines.
4063         (org-export-latex-first-lines): New argument END, to force the end
4064         of the region.
4065         (org-export-region-as-latex): Use the property list.
4066         (org-export-as-latex):
4068         * org-colview-xemacs.el (org-columns-remove-overlays)
4069         (org-columns): Fix call to `local-variable-p'.
4071 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
4073         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
4074         (org-export-as-html): Run the new hook.
4076         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
4077         (org-export-latex-preprocess): Run the new hook.
4079         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
4080         (org-export-preprocess-string): Run the new hook.
4082 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
4084         * org-macs.el (org-check-external-command): New defsubst.
4086         * org.el (org-mode-map): New key for reload.
4087         (org-format-latex): Better error message when external programs
4088         are not available.
4090         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
4092         * org.el (org-sort-entries-or-items): Explicit sorting function
4093         for priorities, needed for XEmacs compatibility.
4095         * org-remember.el (org-remember-apply-template): Improve auto-save
4096         behavior.
4098 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
4100         * org-latex.el (org-export-latex-preprocess): Also protect
4101         environments ending in a star.
4103         * org-list.el (org-at-item-p): Fix regular expression.
4105 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
4107         * org.el (org-end-of-subtree): Improve speed.
4109         * org-agenda.el (org-agenda-get-timestamps)
4110         (org-agenda-get-progress, org-agenda-get-deadlines)
4111         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
4112         in particular, wait as long as possible to collect the tags.
4113         (org-stuck-projects): Improve docstring.
4115         * org.el (org-store-link): No errors when getting custom id before
4116         first headline.
4117         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
4119 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
4121         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
4123         * org-protocol.el: Remove dependency on url.el.
4124         (org-protocol-unhex-compound, org-protocol-open-source): Remove
4125         dependency on url.el.
4127         * org-latex.el (org-export-as-pdf): Use
4128         `org-latex-to-pdf-process'.
4130 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
4132         * org-latex.el (org-latex-to-pdf-process): New option.
4134         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
4135         New option.
4136         (org-agenda-get-timestamps): Honor
4137         `org-agenda-skip-additional-timestamps-same-entry'.
4139         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
4140         (org-clock-goto): Find recent task only if
4141         `org-clock-goto-may-find-recent-task' allows it.
4143         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
4144         drawers, and drawers that are missing the :END: line.
4146 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4148         * org-clock.el (org-clock-goto): Go to recently clocked task if no
4149         clock is running.
4151 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4153         * org.el (org-update-parent-todo-statistics): Check for
4154         STATISTICS_FROM property.
4156         * org-list.el (org-update-checkbox-count): Check for
4157         STATISTICS_FROM property.
4159         * org.el (org-tab-first-hook)
4160         (org-tab-after-check-for-table-hook)
4161         (org-tab-after-check-for-cycling-hook): New hooks.
4162         (org-cycle-internal-global, org-cycle-internal-local): New
4163         functions, split out from `org-cycle'.
4164         (org-cycle): Call the new hooks.
4166 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
4168         * org-exp.el (org-export-preprocess-string): Reset the list of
4169         preferred targets for each run of the preprocessor.
4171         * org.el (org-refile-target-verify-function): Improve
4172         documentation.
4173         (org-get-refile-targets): Respect point being moved by the
4174         verification function.
4176         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
4177         option.
4178         (org-export-latex-keywords): Use new option.
4180         * org.el (org-rear-nonsticky-at): New defsubst.
4181         (org-activate-plain-links, org-activate-angle-links)
4182         (org-activate-footnote-links, org-activate-bracket-links)
4183         (org-activate-dates, org-activate-target-links)
4184         (org-activate-tags): Place the rear-nonsticky properties at the
4185         correct location.
4187 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
4189         * org-protocol.el (server-edit): Declare `server-edit'.
4190         (org-protocol-unhex-string, org-protocol-unhex-compound): New
4191         functions.
4192         (org-protocol-check-filename-for-protocol): Call `server-edit'.
4194         * org.el (org-default-properties): New default properteis for
4195         completion.
4197         * org-exp.el (org-export-add-subtree-options): Add new properties
4198         for subtree export.
4200         * org-docbook.el (org-export-docbook-keywords-markup)
4201         (org-export-docbook-timestamp-markup): New options.
4202         (org-export-docbook-protect-tags): New function.
4204 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
4206         * org-id.el (org-id-get-with-outline-path-completion): Turn off
4207         org-refile-target-verify-function for the duration of the command.
4209         * org.el (org-link-to-org-use-id): New possible value
4210         `create-if-interactive-and-no-custom-id'.
4211         (org-store-link): Use custom IDs.
4212         (org-link-search): Find custom ID properties from #link.
4213         (org-default-properties): Add CUSTOM_ID for property completion.
4214         (org-refile-target-verify-function): New option.
4215         (org-goto): Turn off org-refile-target-verify-function
4216         for the duration of the command.
4218 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
4220         * org-html.el (org-export-as-html): Use custom IDs in the toc.
4222         * org-exp.el (org-export-preferred-target-alist): New variable.
4223         (org-export-define-heading-targets): Find the new CUSTOM_ID
4224         property.
4225         (org-export-target-internal-links): Target the custom ids when
4226         possible.
4228         * org-latex.el (org-export-latex-preprocess): Better regexp for
4229         matching latex macros with arguments.
4231 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
4233         * org-remember.el (org-remember-handler): Allow filing to non-org
4234         files.
4236 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
4238         * org-feed.el (org-feed-alist): New keyword options.
4239         (org-feed-update): Use the new options.
4240         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
4241         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
4242         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
4243         functions.
4245         * org-table.el (org-table-fix-formulas): Do not change references
4246         to remote tables.
4247         (org-table-get-remote-range): Convert standard coordinates to RC
4248         format.
4250         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4252 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
4254         * org-compat.el (org-sha1-string): Function removed.
4256         * org.el (org-refile-allow-creating-parent-nodes): New option.
4257         (org-refile-get-location): New argument NEW-NODES.
4258         (org-refile): Call `org-refile-get-location' with the new
4259         argument.
4260         (org-refile-get-location): Arrange for adding a new child.
4261         (org-refile-new-child): New function.
4263         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
4264         an additional span element.
4266         * org-clock.el: Fix a number of docstrings.
4267         (org-clock-find-position): New argument
4268         FIND-UNCLOSED to make the function find an unclosed clock in the
4269         entry.
4270         (org-clock-in): Call `org-clock-find-position' with the new
4271         argument if we might be resuming a clock.
4273 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
4275         * org-latex.el (org-export-latex-display-custom-times): New variable.
4276         (org-export-latex-timestamp-markup): New option.
4277         (org-export-latex-set-initial-vars): Remember the local value of
4278         `org-display-custom-times'.
4279         (org-export-latex-content): Process time stamps.
4280         (org-export-latex-time-stamps): New function.
4282         * org-macs.el (org-maybe-intangible): Add intangible property
4283         again to invisible text.
4285 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
4287         * org-exp.el (org-default-export-plist): Handle undefined
4288         variables.
4290 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
4292         * org.el (org-sort-entries-or-items): Match TODO keywrds
4293         case-sensitively, when sorting.
4294         (org-priority): Do not match TODO keywords with wrong case.
4296 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
4298         * org-feed.el (org-feed-update): Bind the variable
4299         `new-formatted'.
4301         * org-html.el (org-export-as-html): Start paragraphs after literal
4302         examples.
4304         * org-docbook.el (org-export-as-docbook): Start paragraphs after
4305         literal examples.
4307 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
4309         * org.el (org-todo): Honor the NOBLOCKING property.
4311         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4312         NOBLOCKING property.
4314         * org.el (org-scan-tags): Fix bug in tag scanner
4316 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
4318         * org.el (org-modules): Mark obsolete packages.
4320         * org-html.el: New file, split out from org-exp.el.
4322         * org-icalendar.el: New file, split out from org-exp.el.
4324         * org-xoxo.el: New file, split out from org-exp.el.
4326         * org-ascii.el: New file, split out from org-exp.el.
4328 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
4330         * org-compat.el (org-find-library-name): New function.
4332         * org.el (org-pre-cycle-hook): New hook.
4333         (org-cycle): Call the new hook in appropriate places.
4334         (org-reload): Only reload files that have been loaded before.
4336 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
4338         * org.el (org-set-font-lock-defaults): Enforxe space or line end
4339         after todo keyword.
4340         (org-todo): When changing TODO state, do matching
4341         case-sensitively.
4342         (org-map-continue-from): New variable.
4343         (org-scan-tags): Respect values in `org-map-continue-from'.
4344         (org-reload): Make XEmacs compatible.
4346 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
4348         * org-protocol.el (org-protocol-flatten-greedy): New function.
4349         (org-protocol-flatten): New function.
4351         * org.el (org-open-link-from-string): Pass reference buffer to
4352         `org-open-at-point'.
4353         (org-open-at-point): New optional argument `reference-buffer'.
4355 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
4357         * org.el (org-scan-tags): Make tag scan find headline in first
4358         line, 2nd attempt.
4359         (org-get-refile-targets): Add the naked file name.
4360         (org-refile): Store as top-level entry when only file name was
4361         given.
4363         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4365         * org.el (org-block-todo-from-children-or-siblings-or-parent):
4366         Renamed from org-block-todo-from-children-or-siblings, and
4367         enhanced to look for the parent's status as well.
4369         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4370         (org-agenda-get-progress): Add first notes line to log entry if so
4371         desired.
4373 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
4375         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4376         (org-agenda-cleanup-fancy-diary): Call the new hook.
4378         * org-remember.el (org-remember-apply-template): Take the default
4379         for the annotation from the :annotation property.
4381         * org-mac-message.el (org-mac-message-get-link): Remove the
4382         quotes.
4383         (org-mac-message-get-link): Return the result.
4385 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
4387         * org.el (org-refile-get-location): Add file name only if not
4388         already included in outline path.
4390         * org-faces.el (org-n-level-faces): Fix customization type from
4391         number to integer.
4393         * org-exp.el (org-export-headline-levels): Fix customization type
4394         from number to integer.
4396         * org-agenda.el (org-agenda-confirm-kill)
4397         (org-agenda-custom-commands-local-options)
4398         (org-timeline-show-empty-dates, org-agenda-ndays)
4399         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4400         customization type from number to integer.
4402 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
4404         * org-protocol.el: Declare some functions.
4406         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
4407         postion before inserting modified headline.
4409         * org-agenda.el (org-agenda-compare-effort): Honor
4410         `org-sort-agenda-noeffort-is-high'.
4411         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4412         (org-agenda-compare-effort): Implement the "?" operator for
4413         finding entries without effort setting.
4415         * org.el (org-extract-attributes-from-string): New function.
4417         * org-exp.el (org-export-splice-attributes): New function.
4419 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
4421         * org-mouse.el: XEmacs compatibility fixes
4423         * org-docbook.el (org-export-as-docbook): Process footnotes like
4424         normal text.
4426         * org.el (org-modules): Add org-inlinetasks.el
4427         (org-cycle): Implement limiting level on cycling.
4428         (org-move-subtree-down): Fix bug with swapping subtrees at end of
4429         buffer.
4431         * org-inlinetask.el: New file.
4433         * org.el (org-emphasis-regexp-components): Allow braces in
4434         emphasis pre and post match.
4436         * org-footnote.el (org-footnote-normalize): When only dorting, do
4437         not insert inline notes at the end.
4439         * org-docbook.el (org-id-find-id-file): Add function declaration.
4441         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4443         * org-docbook.el: New file.
4445 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
4447         * org.el (org-reftex-citation): New command.
4449 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
4451         * org-agenda.el (org-agenda-cmp-user-defined): New option.
4452         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4453         sorting options.
4454         (org-entries-lessp): Apply the new sorting option.
4456         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4457         blocker code, when an older sibling has children.
4459         * org-mac-message.el (org-mac-message-get-link): Improve getting
4460         links from multiple selected messages.
4462 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
4464         * org-remember.el (org-remember-finalize): Do not set buffer file
4465         name to nil.
4466         (org-remember-handler): Mark buffer as unmodified.
4467         (org-remember-handler): Delete backup file and show message about
4468         remaining backup files.
4469         (org-remember-auto-remove-backup-files): New option.
4471         * org.el (org-store-link): Use buffer name as link description in
4472         w3-mode buffers.
4473         (org-ido-switchb): Fix argument bug for completion.
4475         * org-remember.el (org-remember-apply-template): Set local
4476         variable `auto-save-visited-file-name' instead of global one.
4478 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
4480         * org-feed.el: Re-write.
4482         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4483         (org-agenda-get-todos): Mark file tags as inherited.
4484         (org-agenda-list): Always search diary lines for a time.
4486 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
4488         * org-feed.el (org-feed-assume-stable): New option.
4489         (org-feed-before-adding-hook): New hook.
4491         * org-exp.el (org-export-as-html): Close local lists depending on
4492         indentation, also when starting a table.
4494         * org-remember.el (org-remember-backup-directory)
4495         (org-remember-backup-name): New internal variable.
4497 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
4499         * org-clock.el (org-clock-out-if-current): Make buffer detection
4500         work in indirect buffers as well.
4502         * org.el (org-emphasis-regexp-components): Add the exxclamation
4503         mark to the post-emphasis characters.
4505 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
4507         * org.el (org-read-date-minibiffer-septup-hook): New hook.
4508         (org-read-date): Run the new hook.
4510         * org-mac-message.el (org-mac-flagged-mail): New group.
4511         (org-mac-mail-account): New variable.
4512         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4513         commands.
4515         * org-remember.el (org-remember-backup-directory): New variable.
4516         (org-remember-apply-template): Write file to backup directory.
4518 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
4520         * org-mouse.el (org-mouse-todo-menu): New function.
4521         (org-mouse-todo-keywords): Function removed.
4522         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4524         * org-table.el (org-table-beginning-of-field)
4525         (org-table-end-of-field): New commands
4526         (org-table-previous-field, org-table-beginning-of-field): Better
4527         error messages.
4528         (orgtbl-setup): Include `M-a' and `M-e'.
4530         * org.el (org-backward-sentence, org-forward-sentence): New
4531         commands.
4533         * org-colview.el (org-colview-initial-truncate-line-value): New
4534         variable.
4535         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4536         (org-columns): Remember the value of `truncate-lines'.
4538         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4539         New variable.
4540         (org-columns-remove-overlays): Restore the value of
4541         `truncate-lines'.
4542         (org-columns): Remember the value of `truncate-lines'.
4544         * org.el (org-columns-skip-arrchived-trees): New option.
4546         * org-agenda.el (org-agenda-export-html-style): Define color for
4547         org-agenda-done face.
4548         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4549         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4551         * org.el (org-scan-tags): Use the new face.
4553         * org-faces.el (org-agenda-done): New face.
4555         * org.el (org-scan-tags): Test the value org
4556         `org-tags-match-list-sublevels'.
4557         (org-tags-match-list-sublevels): New allowed value: indented.
4559         * org-export-latex.el (org-export-latex-make-header): Apply macros
4560         in header.
4562         * org-exp.el (org-export-apply-macros-in-string): New function.
4564         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4565         with the definition of a checked box.
4567         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4569         * org-export-latex.el (org-export-latex-low-levels): More options
4570         for how to process lower levels in LaTeX.
4571         (org-export-latex-subcontent): Better treatment for lists as a
4572         means of publishing lower levels.
4574 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4576         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4578         * org-faces.el (org-checkbox): New face.
4580         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4581         fragement images if there is an export file.
4583 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4585         * org-agenda.el (org-stuck-projects): Document that the subtree of
4586         projects that are not stuck will now be searched for stuck
4587         sub-projects.
4588         (org-agenda-skip-entry-when-regexp-matches)
4589         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4590         (org-agenda-list-stuck-projects): Use
4591         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4593         * org-export-latex.el (org-export-latex-preprocess): Improve
4594         export of verses.
4596         * org-exp.el (org-export-as-html): Implement centering as a div
4597         rather than a paragraph.  Do a better job with line-end in verse
4598         environments.
4600 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4602         * org.el (org-open-at-point): Fix tags searches by mouse click.
4604 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4606         * org-export-latex.el (org-export-latex-preprocess): Implement the
4607         centering markup.
4609         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4610         from `org-export-mark-blockquote-and-verse'.
4611         (org-export-as-html): Implement the centering markup.
4613         * org-export-latex.el (org-export-latex-tables): Fix vertical
4614         lines in tables.
4616 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4618         * org.el (org-read-date-history): New variable.
4619         (org-read-date): Use new history variable.
4620         (org-toggle-heading): Fix bug when used before first headline.
4621         (org-store-log-note): Remove drawer if empty while note is
4622         aborted.
4623         (org-remove-empty-drawer-at): New function.
4624         (org-check-after-date): New command.
4625         (org-sparse-tree): New sparse tree command "a".
4627         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4629 2009-03-14  Bastien Guerry  <bzg@altern.org>
4631         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4632         column and a space, not only a column.
4634 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4636         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4637         defaults for verbose emphasis.
4638         (org-export-latex-emph-format): New function.
4639         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4641         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4642         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4643         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4644         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4645         commands.
4647         * org.el (org-timestamp-change): Move end-time along with start
4648         time.
4650 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4652         * org-exp.el (org-export-target-internal-links)
4653         (org-export-as-html): Protect links specified as #name.
4655 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4657         * org.el (org-clone-subtree-with-time-shift): New command.
4659         * org-export-latex.el (org-export-latex-special-chars)
4660         (org-export-latex-treat-sub-super-char): Fix subscript export.
4662         * org-exp.el (org-create-multibrace-regexp): Do not add
4663         backslashes to the class.
4665 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4667         * org-colview.el (org-columns-map): Better functions for moving up
4668         and down a row, even if `truncate-line' is nil.
4670         * org.el (org-insert-todo-heading): Make sure the keyword is
4671         inserted at the correct position.
4673         * org-publish.el (org-publish-project-alist)
4674         (org-publish-projects, org-publish-org-index): Change default anme
4675         for the index of file names to "sitemap.org".
4677         * org-export-latex.el (org-export-latex-tables): Use
4678         `org-split-string', for Emacs 21 compatibility.
4680 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4682         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4684 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4686         * org-exp.el (org-export-page-description)
4687         (org-export-page-keywords): New variables.
4688         (org-export-plist-vars): Add entries for :keywords and
4689         :description.
4690         (org-infile-export-plist): Parse for new keywords.
4691         (org-get-current-options): Add new keywords
4692         (org-export-as-html): Publish description and keywords.
4694         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4695         option.
4696         (org-agenda-add-entry-text): Honor
4697         `org-agenda-add-entry-text-descriptive-links'.
4699         * org-export-latex.el (org-export-latex-preprocess): Make all
4700         external preprocess functions use a PARAMETER arg.
4702         * org-exp.el (org-export-preprocess-string)
4703         (org-export-select-backend-specific-text)
4704         (org-export-format-source-code-or-example)
4705         (org-format-org-table-html): Support docbook export.
4706         (org-export-preprocess-string): Make all external preprocess
4707         functions use a PARAMETER arg.
4709 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4711         * org-exp.el (org-export-html-style-include-scripts): New option.
4712         (org-export-plist-vars): Add new option
4713         `org-export-html-style-include-scripts'.
4714         (org-export-as-html): Honor new option
4715         `org-export-html-style-include-scripts'.
4716         (org-export-html-scripts, org-export-html-style-default): Fix
4717         xml issues with the Safari browser.
4719 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4721         * org-publish.el (org-publish-attachment): Only copy file when the
4722         directories differ.
4724 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4726         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4727         for clocktable steps.
4729         * org.el (org-additional-option-like-keywords): Add two more
4730         keywords.
4732 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4734         * org-exp.el (org-export-format-source-code-or-example): Mark
4735         temporary buffer unmodified, so that it will be killed even if
4736         mode like message mode has decided to assign a file name.
4738         * org.el (org-scan-tags): Improve tag inheritance.
4739         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4740         case-sensitive.
4741         (org-scan-tags): Use the internal tags list instead of creating it
4742         from scratch.
4743         (org-trust-scanner-tags, org-scanner-tags): New variables.
4744         (org-scan-tags): Set `org-scanner-tags'.
4745         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4746         (org-map-entries): Document the possible speedup using scanner
4747         tags.
4749 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4751         * org.el (org-add-planning-info): Fix bug with looking for keyword
4752         only at column 0.
4754         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4755         option for tags filter preset.
4756         (org-prepare-agenda): Store filter preset as a property on the
4757         filter variable.
4758         (org-finalize-agenda): Call the filter, if there is a preset.
4759         (org-agenda-filter-by-tag): Filter again after clearing the
4760         filter, when there still is a preset.
4761         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4762         Include the preset filter.
4763         (org-agenda-redo): Apply the filter again, also the preset filter.
4765         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4767         * org.el (org-uuidgen-p): New funtion.
4769         * org-agenda.el (org-agenda-fontify-priorities): New default value
4770         `cookies'.
4771         (org-agenda-fontify-priorities): Renamed from
4772         org-fontify-priorities.
4774         * org.el (org-set-font-lock-defaults): Call
4775         `org-font-lock-add-priority-faces'.
4776         (org-font-lock-add-priority-faces): New function.
4778         * org-faces.el: (org-set-tag-faces): New option.
4779         (org-priority-faces): New variable.
4781         * org-exp.el (org-export-as-html): Add a "content" div around the
4782         entire content of the body tag.
4783         (org-export-html-get-bibliography): New function.
4784         (org-export-html-validation-link): New variable.
4785         (org-export-as-html): Add validation link to exported page.
4787         * org.el (org-match-sparse-tree): Renamed from
4788         `org-tags-sparse-tree'.
4789         (org-tags-sparse-tree): New alias.
4791 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4793         * org.el (org-get-valid-level): Catch the case where the level
4794         change is nil.
4796         * org-clock.el (org-clock-find-position): Better indentation of
4797         new clock drawers.
4799 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4801         * org-agenda.el (org-agenda-quit): Delete window only when the
4802         frame-setup was not `current-window'.
4804         * org.el (org-tag-persistent-alist): New option.
4805         (org-startup-options): Add keyword `noptag'.
4806         (org-fast-todo-selection): Handle :newline correctly.
4807         (org-set-tags): Handle :newline correctly.
4808         (org-fast-tag-selection): Handle :newline correctly.
4810 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4812         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4813         outputting it.
4814         (org-export-ascii-push-links): Fix bug with pussing links into the
4815         export buffer.
4817 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4819         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4820         pasting at top level.
4822         * org-bbdb.el: Improve documentation.
4824 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4826         * org-list.el (org-insert-item): Only consider insert empty lines
4827         is `org-empty-line-terminates-plain-lists' is not nil.
4829         * org.el (org-blank-before-new-entry): Mention the dependence on
4830         `org-empty-line-terminates-plain-lists' in the docstring.
4832         * org-publish.el (org-publish-get-project-from-filename): New
4833         optional argument UP.  Only find the top project if UP is set.
4834         (org-publish-current-project): Find the top encloding project.
4836         * org-agenda.el (org-agenda-before-write-hook)
4837         (org-agenda-add-entry-text-maxlines): New options.
4838         (org-write-agenda): Run the new hook in the temporary buffer.
4839         (org-agenda-add-entry-text): New function.
4840         (org-write-agenda): Implement PDF export, using ps2pdf.
4842         * org.el (org-global-properties-fixed, org-global-properties):
4843         Improve documentation string.
4845         * org-exp.el (org-export-ascii-links-to-notes): New option.
4846         (org-export-as-ascii): Handle links better.
4847         (org-export-ascii-wrap, org-export-ascii-push-links): New
4848         functions.
4850 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4852         * org-agenda.el (org-agenda): Make prefix arg optional.
4853         (org-agenda-search-headline-for-time): New option.
4854         (org-format-agenda-item): Honor
4855         `org-agenda-search-headline-for-time'.
4857         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4858         characters.
4860         * org.el (org-self-insert-cluster-for-undo): New option.
4861         (org-self-insert-command): Cluster undo for 20 characters.
4862         (org-self-insert-command-undo-counter): New variable.
4864 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4866         * org-exp.el (org-export-as-html): Fix problem with closing colone
4867         example.
4869 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4871         * org-export-latex.el (org-export-as-latex)
4872         (org-export-latex-first-lines): Avoid modification flag when
4873         adding or removing text properties.
4874         (org-export-latex-fontify): Catch error when org-emph-alist has
4875         entries that are not defined for LaTeX export.
4877         * org.el (orgstruct++-mode): New function.
4878         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4879         (org-context-p): Allow detecting item context after the first line
4880         of an item.
4881         (orgstruct-make-binding): Detect if item-body context should be
4882         seen.
4883         (orgstruct-is-++): New variable.
4884         (org-add-planning-info): Catch the case when there is no planning
4885         info yet and the call does not want to add anything, only maybe
4886         tries to remove something.
4887         (org-special-ctrl-a/e): All value to be a cons cell with separate
4888         settings for `C-a. and `C-e'.
4889         (org-beginning-of-line, org-end-of-line): Honor separate values
4890         for `C-a' and `C-e'.
4892 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4894         * org.el (org-reload): New command.
4896 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4898         * org-exp.el (org-export-htm-get-tag-class-name)
4899         (org-export-htm-get-todo-kwd-class-name): New functions.
4900         (org-export-html-tag-class-prefix)
4901         (org-export-html-todo-kwd-class-prefix): New options.
4902         (org-export-as-html): Call
4903         `org-export-html-get-todo-kwd-class-name'.
4904         (org-html-level-start): Wrap tags into classes.
4905         (org-export-html-get-tag-class-name)
4906         (org-export-html-get-todo-kwd-class-name): New functions.
4908         * org-export-latex.el (org-export-latex-collect-header-macros):
4909         Remove fields that are used anyway.
4910         (org-export-latex-make-header): Insert the options earlier.
4912         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4913         matching.
4915         * org-list.el (org-indent-item): Allow point to be at the end of
4916         the region.
4918         * org.el (org-metaleft, org-metaright): Be more accurate about
4919         detecting a region where commands apply.
4921         * org-compat.el (org-cursor-to-region-beginning): New function.
4923         * org.el (org-priority): Also find invisible heading.
4925         * org-colview-xemacs.el (org-columns-edit-value): No special
4926         treatment for `org-todo' prefix.
4928         * org-colview.el (org-columns-edit-value): No special treatment
4929         for `org-todo' prefix.
4931         * org-remember.el (org-remember-apply-template): Use
4932         `org-completing-read-no-ido'.
4934         * org.el (org-completing-read-no-ido): New function.
4935         (org-make-tags-matcher, org-set-property): Use
4936         `org-completing-read-no-ido'.
4938         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4939         New option.
4940         (org-export-as-latex): Import in-buffer settings as TeX macros.
4941         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4942         (org-export-latex-collect-header-macros): New function.
4944         * org.el (org-refile-get-location): Turn off
4945         `partial-completion-mode'.
4947 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4949         * org.el (org-block-todo-from-checkboxes): Announce that
4950         checkboxes are the culprit.
4951         (org-block-todo-from-children-or-siblings): Call
4952         `org-up-heading-all instead' of `outline-up-heading'.
4954         * org-agenda.el (org-agenda-show-1): Renamed from
4955         `org-agenda-show'.
4956         (org-agenda-show): Re-install the old version for now.
4957         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4958         variable into the blokker hook, so that the checkbox checker can
4959         anounce that it caused the blocking.
4961         * org.el (org-track-ordered-property-with-tag): New option.
4962         (org-toggle-ordered-property): Honor
4963         `org-track-ordered-property-with-tag'.
4964         (org-tag-alist): Add newline options.
4965         (org-set-regexps-and-options): Separate option lines imply a
4966         newline.
4967         (org-set-regexps-and-options, org-assign-fast-keys)
4968         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4969         option.
4970         (org-indent-line-function): Make sure this works even if there is
4971         not `org-drawer-regexp' defined.  This can happen when
4972         orgstruct-mode is used in a non-org buffer.
4974         * org-list.el (org-checkbox-blocked-p): New function.
4975         (org-toggle-checkbox): Check for blocking.
4977         * org.el (org-modules): Add an entry for org-R.el.
4979         * org-agenda.el (org-agenda-todo-ignore-with-date)
4980         (org-agenda-todo-ignore-scheduled)
4981         (org-agenda-todo-ignore-deadlines): Mention the variable
4982         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4984         * org.el (org-get-wdays): Find the warning period also if it is in
4985         the wrong place.
4986         (org-ido-completing-read): Provide the correct arguments to
4987         ido-completing-read and bind `ido-enter-matching-directory' to
4988         nil.
4990 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4992         * org.el (org-olpath-completing-read): Never use ido for this
4993         one.
4995         * org-exp.el (org-export-normalize-links): Use new macro.
4997         * org-macs.el (org-if-unprotected-at): New macro.
4999         * org-agenda.el (org-agenda-show): Allow numerical prefix
5000         arguments to specify how much context should be shown.
5001         (org-agenda-cycle-show): New command, could be bound to SPC in
5002         org-agenda-mode-map.
5004         * org-exp.el (org-html-level-start): Space after section number.
5006 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
5008         * org-agenda.el (org-agenda-get-sexps): Add todo state as
5009         property, for sorting.
5010         (org-cmp-todo-state): Get the applicable TODO keywords directly
5011         from the buffer.
5012         (org-run-agenda-series, org-agenda-list, org-search-view)
5013         (org-todo-list, org-tags-view): Only fit agenda window when the
5014         whole series is done.
5016         * org.el (org-scan-tags): Add todo state as property, for sorting.
5018         * org-agenda.el (org-agenda-custom-commands-local-options): Add
5019         `org-agenda-overriding-header' as an option.
5020         (org-agenda-list): Honor org-agenda-overriding-header'.
5022 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
5024         * org-list.el (org-toggle-checkbox): Improve cursor positioning
5025         after removing a checkbox.
5027         * org.el (org-show-entry): Make this work correctly also if it is
5028         the last entry in the file.
5029         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
5030         falling back to normal, default command.
5031         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
5032         item, call the checkbox toggler to get a box.
5034         * org-list.el (org-toggle-checkbox): Make double prefix set the
5035         checkbox to "[-]".
5036         (org-fix-bullet-type): Only replace bullet if it is changed.
5037         (org-renumber-ordered-list): Handle case when first item does not
5038         have a number.
5040         * org.el (org-add-log-setup): Fix positioning when
5041         `org-log-states-order-reversed' is nil.
5043         * org-clock.el (org-clock-in): Fix positioning when
5044         `org-log-states-order-reversed' is nil.
5045         (org-clock-find-position): Fix positioning when
5046         `org-log-states-order-reversed' is nil.
5048 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
5050         * org-clock.el (org-clock-into-drawer): Take default from
5051         `org-log-into-drawer'.
5052         (org-clock-find-position): Look for the correct drawer.
5054         * org.el (org-log-into-drawer): Renamed from
5055         `org-log-state-notes-into-drawer'.
5056         (org-log-state-notes-into-drawer): New variable alias.
5057         (org-add-log-setup): Make drawer name default to LOGBOOK, not
5058         CLOCK.
5059         (org-insert-property-drawer): Also skip LOGBOOK drawers.
5061 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
5063         * org-agenda.el (org-agenda): Fix docstring.
5065         * org.el ("org-plot"): Help loading org-plot.
5066         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
5067         (org-metadown-hook, org-shiftmetaleft-hook)
5068         (org-shiftmetaright-hook, org-shiftmetaup-hook)
5069         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
5070         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5071         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
5072         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
5074         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
5075         for selecting files with any (and even without) extension.
5077         * org.el (org-save-all-org-buffers): Also save id locations.
5078         (org-revert-all-org-buffers): Also load id locations.
5080 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
5081         * org.el (org-drawers): Add LOGBOOK to the default drawers.
5082         (org-log-state-notes-into-drawer): New option.
5083         (org-add-log-setup): Place the sate note marker into the drawer,
5084         create drawer when necessary.
5085         (org-refile-targets): Document special interpretation of LEVEL
5086         when odd-levels are used.
5088 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
5090         * org.el (org-store-log-note): Fix note indentation when adding
5091         notes to end of list.
5093         * org-exp.el (org-export-as-html): Add TODO keyword as extra
5094         class, so that each keyword can get special colors through CSS.
5096         * org-clock.el (org-clock-out): Add another nil for the previous
5097         state into the call to `org-add-log-setup'.
5099         * org.el (org-log-note-previous-state): New variable.
5100         (org-log-note-headings): New %S escape for old state.
5101         (org-todo): Call the note setup with the old state as an
5102         argument.
5103         (org-add-note): Add another nil for the previous state into the
5104         call to `org-add-log-setup'.
5105         (org-add-log-setup): New argument PREV-STATE.
5106         (org-add-log-note): Handle new %S escape.
5107         (org-store-log-note): Handle new %S escape.
5109 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
5111         * org-clock.el (org-clock-find-position): Do not swallow an item
5112         less indented than the CLOCK line itself.
5113         (org-clock-in): Push markers to lin after the clock line.
5114         (org-clock-find-position): Handle values of
5115         `org-clock-into-drawer' smaller than 2.
5117         * org-exp.el (org-html-level-start): Add a CSS class to section
5118         numbers.
5119         (org-export-html-toplevel-hlevel): Better documentation of the
5120         influence of this variables on H levels and css classes in
5121         export.
5123 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
5125         * org-agenda.el (org-agenda-custom-commands-local-options): Add
5126         timestamp and nottimestamp to the chooe menu.
5128         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
5129         (org-revert-all-org-buffers): New command.
5131 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
5133         * org.el (org-return): Implement `org-return-follows-link' in the
5134         function org-return.  This is more robust than using the mouse
5135         map, I think.
5136         (org-set-regexps-and-options): Match more general #+TODO lines.
5137         (org-make-options-regexp): New optional argument EXTRA, for an
5138         extra regexp.
5139         (org-tab-follows-link): Mark as deprecated.
5141 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
5143         * org-exp.el (org-export-preprocess-string): Remove clock lines
5144         earlier, so that they cannot cotribute to verbatim snippets.
5146 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
5148         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
5149         for finding drawers.
5150         (org-export-as-ascii, org-export-as-html): Count levels relative
5151         to the subtree header.
5152         (org-get-min-level): New optional argument OFFSET.
5153         (org-export): Make sure point is restored after popping up that
5154         window.
5156         * org.el (org-do-sort): Also take an inactive timestamp if no
5157         active one is found.
5159         * org-colview-xemacs.el (org-columns-capture-view): Copy before
5160         deleting duplicates.
5162         * org-colview.el (org-columns-capture-view): Copy before
5163         deleting duplicates.
5165         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
5166         text before first headline.
5168         * org.el (org-format-latex): Do not convert LaTeX fragments in
5169         protected examples.
5171 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
5173         * org-exp.el (org-export-html-style-default): Use color values
5174         instead of names for XHTML validation.
5176         * org.el (org-get-scheduled-time, org-get-deadline-time): New
5177         functions.
5178         (org-return-follows-link): Revert making this the default untile
5179         issues are resolved.
5181         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
5182         nottimestamp.
5184 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
5186         * org.el (org-mode): Make dependence stuff work more reliably.
5187         (org-update-parent-todo-statistics): Fix bug with updating
5188         statistics cookie.
5190         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
5191         ~ as verbatim delimiters.
5193         * org-exp.el (org-export-html-format-image): New argument
5194         PAR-OPEN.
5195         (org-export-as-html): Pass par-open to
5196         `org-export-html-format-image'.
5198 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
5200         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
5201         (org-use-fast-todo-selection, org-tags-column): New default
5202         setting for variables, based on a poll what typical uses use.
5204         * org-agenda.el (org-agenda-sorting-strategy)
5205         (org-agenda-tags-column): New default setting for variables, based
5206         on a poll what typical uses use.
5208 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
5210         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
5211         blocked entries from setting the blocked tag.
5213         * org-exp.el (org-export-html-footnotes-section): Use a more
5214         consistent id for footnotes.
5216         * org-export-latex.el (org-export-latex-classes): Remove the
5217         a4paper option from the default styles.
5219 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
5221         * org.el (org-enforce-todo-checkbox-dependencies): New option.
5222         (org-block-todo-from-checkboxes): New function.
5223         (org-todo): Make tripple prefix arg circumvent blocking.
5225         * org-timer.el (org-timer): Provide the timer feature.
5227         * org.el (org-require-autoloaded-modules): Add a few more files to
5228         the list of autoloaded modules.
5230         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5232 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
5234         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5235         drawers that are unprotected.
5236         (org-export-html-format-image): Make sure inlined LaTeX fragment
5237         images remain inlined.
5239         * org.el (org-toggle-ordered-property): New function.
5240         (org-mode-map): Add a key for `org-toggle-ordered-property'.
5241         (org-org-menu): Add menu entries for TODO dependencies.
5243 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
5245         * org.el (org-default-properties): Add ORDERED to the default
5246         properties, to get completion support for it.
5248         * org-list.el (org-update-checkbox-count): Update more than one cookie.
5250         * org.el (org-update-parent-todo-statistics): Update more than one
5251         cookie.
5253         * org-agenda.el (org-agenda-get-todos): Start search from correct
5254         position.
5256         * org.el (org-fast-todo-selection): Make sure TODO selection does
5257         not change buffer position.
5259         * org-list.el (org-toggle-checkbox): Implement adding or removing
5260         checkboxes from line or region when called with a prefix
5261         argument.
5263         * org-rmail.el (org-rmail-store-link): Protect the call to
5264         `rmail-narrow-to-non-pruned-header'.
5266         * org-clock.el (org-clock-special-range): Fix week display in
5267         clock tables.
5269         * org-exp.el (org-get-current-options): Fix bug when in indirect
5270         buffer.
5272 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
5274         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5275         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5276         (org-agenda-dim-blocked-tasks): New function.
5278         * org.el (org-enforce-todo-dependencies): New option.
5279         (org-block-todo-from-children-or-siblings): New function.
5281         * org-faces.el (org-agenda-dimmed-todo-face): New face.
5283         * org.el (org-todo): Return correct state type even if the blocker
5284         throws an error.
5285         (org-modifier-cursor-error): Renamed from
5286         `org-shiftcursor-error'.
5287         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5288         (org-shiftmetadown): Call `org-modifier-cursor-error'.
5290         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5291         to get real errors from the blocker hook.
5293         * org.el (org-shiftselect-error, org-call-for-shift-select): New
5294         functions.
5295         (org-set-visibility-according-to-property): Turn off the setting
5296         of `org-show-entry-below', to avoid overruling a FOLDED visibility
5297         property.
5299 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5301         * org.el (org-support-shift-select): New option.
5302         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5303         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5304         selection outside contexts.
5306         * org-list.el (org-at-item-bullet-p): New function.
5308         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5309         variables.
5311         * org-footnote.el (org-footnote-normalize): Remove unnecessary
5312         variable.
5313         (org-insert-footnote-reference-near-definition): Remove
5314         unnecessary let form.
5316         * org-export-latex.el (org-export-latex-first-lines): Add
5317         OPT-PLIST parameter.
5318         (org-export-as-latex): Call `org-export-latex-first-lines' with
5319         opt-plits parameter.
5320         (org-export-latex-preprocess): Remove unnecessary variables.
5322         * org-exp.el (org-infile-export-plist)
5323         (org-export-add-options-to-plist, org-export-kill-licensed-text)
5324         (org-export-remove-headline-metadata)
5325         (org-export-get-title-from-subtree, org-get-min-level)
5326         (org-html-do-expand): Remove innecessary let form.
5328         * org-colview-xemacs.el (org-columns-display-here): Remove
5329         unnecessary variables.
5331         * org-colview.el (org-columns-display-here): Remove unnecessary
5332         variables.
5334         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
5335         variables.
5337         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
5338         unnecessary variables.
5340         * org-agenda.el (org-search-view, org-agenda-get-blocks)
5341         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
5342         variables.
5344         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
5345         (org-compact-display-after-subtree-move): Remove unnecessary
5346         variables.
5347         (org-edit-fixed-width-region): Remove unnecessary variables.
5348         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
5349         (org-olpath-completing-read): Remove unnecessary variable.
5350         (org-auto-repeat-maybe): Remove unnecessary variable.
5351         (org-map-entries): Remove unnecessary variable.
5352         (org-buffer-property-keys, org-imenu-get-tree)
5353         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
5355 -----------------------------------------------------------------
5357 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5358         * org-exp.el (org-export-remove-timestamps): Never remove
5359         timestamps from tables.
5361         * org-export-latex.el (org-export-latex-first-lines): Add more
5362         options to the preprocessing of the text before the first
5363         headline.
5365 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
5367         * org-faces.el (org-clock-overlay): Make face compatible with
5368         XEmacs.
5370         * org.el (org-yank): Add property for delete-selection mode.
5372         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5374         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5375         variable.
5377         * org-table.el (org-table-insert-hline): Fix typo in fuction call
5378         to `backward-char'.
5380         * org-exp.el (org-export-as-html): Remove the initial space from
5381         colon examples.
5383         * org.el (org-scan-tags): Call
5384         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5386         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5387         customization groups.
5388         (org-agenda-tags-todo-honor-ignore-options): New option.
5389         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5390         New function.
5391         (org-agenda-get-todos): Use
5392         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5394 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
5396         * org-exp.el (org-export-format-source-code-or-example): Escape
5397         HTML characters also in examples that anre not treated with
5398         htmlize.  Also, just switch to EXAMPLE processing if we do not
5399         have a good version of htmlize.
5401         * org-rmail.el: Fix copyright notice.
5403         * org.el (org-activate-footnote-links): Improve footnote link
5404         highlighting.
5406         * org-footnote.el (org-footnote-normalize): Fix finding the end of
5407         a footnote definition at the end of the file.
5409         * org-table.el (org-table-get-specials): Add an imagined hline at
5410         the end of the table.  This can be useful for references that want
5411         to go to the end of the table.  Also fix bug when computing last
5412         row constants, in tables that do not start right at the right
5413         margin.
5414         (org-table-eval-formula): Match and replace remove references.
5415         (org-table-formula-substitute-names): Make sure that names inside
5416         a "remote" call are left alone, the will be replaced later when
5417         the remote call is handled.
5418         (org-table-convert-refs-to-rc): Do not convert things that might
5419         look like a reference, but are really part of an ID or namei n a
5420         remote reference.
5421         (org-table-get-remote-range): New function.
5423 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
5425         * org-faces.el (org-clock-overlay): Fix bug in face definition.
5427         * org-clock.el (org-clock-put-overlay): Use new face instead of
5428         `secondary-selection'.
5430         * org-faces.el (org-clock-overlay): New face.
5432 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
5434         * org-exp.el (org-get-current-options): Include the option for
5435         publishing time stamps.
5437         * org.el (org-toggle-heading): Renamed from
5438         `org-toggel-region-headings'.
5439         No longer needs a region defined, but will use it if there is one.
5440         (org-ctrl-c-star): Simplified, relying more on the internal
5441         workings of `org-toggle-heading'.
5442         (org-toggle-item): Renamed from `org-toggle-region-items'.
5443         No longer needs a region defined, but will use it if there is one.
5444         (org-ctrl-c-minus): Simplified, relying more on the inernal
5445         workings of `org-toggle-item'.
5447         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5448         environment detection.  Also, do real changes only in unprotected
5449         places.
5451 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
5453         * org-export-latex.el (org-export-latex-quotation-marks): Use
5454         `org-if-unprotected-1'.
5455         (org-export-latex-set-initial-vars): Check for class definition in
5456         property.
5458         * org-macs.el (org-if-unprotected-1): New macro.
5460 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
5462         * org-compat.el (org-count-lines): New function.
5464         * org-exp.el (org-export-format-source-code-or-example): Handle
5465         switches related to text areas.
5467         * org.el (org-activate-footnote-links): Don't allow match inside a
5468         link.
5470         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5472         * org-export-latex.el (org-export-latex-links): Keep a relative
5473         path relative also after export.
5475         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5477         * org.el (org-make-tags-matcher): Never use IDO for completing the
5478         tags matcher match string.
5479         (org-completing-read): Also remove the special biding for "?".
5481         * org-attach.el (org-attach-allow-inheritance): New option.
5482         (org-attach-inherited): New variable.
5483         (org-attach-dir): Handle properties related to the attachment
5484         directory.
5485         (org-attach-check-absolute-path): New function.
5486         (org-attach-set-directory, org-attach-set-inherit): New commands.
5487         (org-attach): Accommodate the new commands in the dispatcher.
5489 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
5491         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5492         `window-full-width-p'.
5494         * org-exp.el (org-export-as-html): Only check for images files
5495         that really can be inlined
5497         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5498         list of extensions to be a parameter.
5500         * org-exp.el (org-export-html-inline-image-extensions): New
5501         variable.
5503         * org-agenda.el (org-prepare-agenda): Use
5504         `org-agenda-block-separator'.
5505         (org-agenda-block-separator): New option.
5507 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
5509         * org-export-latex.el (org-export-latex-tables): Call
5510         `org-table-clean-before-export' with the new optional argument.
5512         * org-exp.el (org-table-clean-before-export): New optional
5513         parameter MAYBE-QUOTED, allows for quoted characters like \# in
5514         first column.
5516 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
5518         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5519         histograms.
5521         * org-colview.el (org-colview-construct-allowed-dates): Better
5522         error catching when a date/time property does not have allowed
5523         values defined.
5525         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5526         Better error catching when a date/time property does not have
5527         allowed values defined.
5529 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
5531         * org.el (org-map-entries): Restore point and restriction after
5532         `org-map-entries'.
5534 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
5536         * org.el (org-time=, org-time<, org-time<=, org-time>)
5537         (org-time>=, org-time<>): Make sure both values are dates.
5539 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
5541         * org-archive.el (org-extract-archive-heading): Allow %s for file
5542         name also in achive location heading.
5544 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
5546         * org-archive.el (org-add-archive-files): Uniquify the list before
5547         returning it.
5549 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
5551         * org-compat.el (org-fit-window-to-buffer): Use
5552         `window-full-width-p'.
5554         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5555         space after the colon in short examples.
5557         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5558         enforce a space after the colon.  However, we also allow lines
5559         that are *only* a colon.
5560         (org-export-as-html): Enforce the space after the colon in short
5561         examples.
5562         (org-export-preprocess-string): Do the colon example protection
5563         earlier.
5564         (org-export-remove-timestamps): Do not check for protection at the
5565         end of the line.
5567 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5569         * org.el (org-format-latex-options): Add new matcher for single
5570         letters between dollars.
5571         (org-get-header): Function removed.
5572         (org-heading-components): New function.
5574         * org-exp.el (org-export-define-heading-targets): Record ID's also
5575         as alternative targets.
5576         (org-export-as-html): Interpret "id:" links to other files by
5577         preserving the relative path.
5579         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5580         is nil.
5582         * org-exp.el (org-export-normalize-links): Protect the main link,
5583         to avoid special character processing.
5585         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5586         New variable.
5587         (org-export-latex-special-string-regexps): Variable removed.
5588         (org-export-latex-keywords): Use the new regexp.
5590         * org-exp.el (org-export-handle-include-files): Fetch switches and
5591         put them into the BEGIN statement.
5593         * org-timer.el (org-timer-mode-line-string): New variable.
5595         * org-clock.el (org-clock-mode-line-map): Renamed from
5596         `org-clock-mode-map'.
5597         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5598         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5599         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5600         (org-clock-remove-overlays): Renamed from
5601         `org-remove-clock-overlays'.
5603         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5604         and mode line display.
5605         (org-timer-stop): New command.
5606         (org-timer-seconds): Return correct time when timer is paused.
5607         (org-timer-mode-line-timer): New variable.
5608         (org-timer-set-mode-line, org-timer-update-mode-line): New
5609         functions.
5611         * org.el (org-insert-heading):  Handle new value `auto' for
5612         `org-blank-before-new-entry'.
5613         (org-org-menu): Add new items for timer functions.
5615         * org-list.el (org-insert-item): Handle new value `auto' for
5616         `org-blank-before-new-entry'.
5618         * org.el (org-blank-before-new-entry): New value `auto', made
5619         default.
5621 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5623         * org-exp.el (org-export-normalize-links): If the link is also
5624         used as the description, protect the description.
5626 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5628         * org.el (org-closest-date): Fix bug with yearly repeats, in
5629         combination with preference of the past as it is used for deadline
5630         and scheduling search.
5632         * org-exp.el (org-html-handle-time-stamps): No longer check for
5633         the `org-export-with-timestamps' option, because the preprocesser
5634         has taken care of this already.
5636         * org.el (org-entry-properties): Catch the case when this is
5637         called in a non-org-mode file.
5639         * org-export-latex.el (org-export-latex-remove-from-headlines):
5640         Variable made obsolete, also LaTeX export now uses the standard
5641         variables.
5642         (org-export-as-latex): Add the timestamps parameter to the
5643         preprocessor parameter list.
5644         (org-export-latex-content): Export the remaining keywords without
5645         considering to remove them.
5646         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5647         Use bold font instead of tt font for the keywords.
5648         (org-export-latex-fontify-headline): Format headlines, assuming
5649         that all keywords still present should be published.
5650         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5651         publish what ever remains of the time stamps.
5652         (org-export-latex-list-parameters): New option.
5653         (org-export-latex-lists): Pass additional parameters to the list
5654         converter.
5656         * org-exp.el (org-export-preprocess-string): Remove clock lines
5657         and timestamps already in the preprocesor.
5658         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5659         functions.
5660         (org-export-as-ascii, org-export-as-html): Add the timestamps
5661         parameter to the preprocessor parameter list.
5663         * org-list.el (org-list-parse-list): Parse for checkboxes.
5664         (org-list-to-generic): Introduce and handle new parameters :cbon
5665         and :cboff.
5666         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5667         optional parameter PARAMS.
5669         * org-export-latex.el (org-export-latex-special-chars): Fix
5670         problems with interpreting dollar signs.
5671         (org-inside-latex-math-p): New function.
5672         (org-export-latex-preprocess): Protect all the math fragments.
5674         * org.el (org-latex-regexps): Allow a dash after a dollar.
5676         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5677         mark after copying.
5679         * org-agenda.el (org-run-agenda-series): Have series options set
5680         when finalizing the agenda.
5682         * org-exp.el (org-export-format-source-code-or-example): Protect
5683         the converted examples.
5685         * org.el (org-set-regexps-and-options): Fix the regexp
5686         `org-complex-heading-regexp'.
5688 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5690         * org.el (org-edit-src-get-label-format): New function.
5691         (org-coderef-label-format): New option.
5692         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5693         a label format specification and make sure it is used in the edit
5694         buffer.
5695         (org-edit-src-get-label-format): New function.
5696         (org-store-link): Handle new coderef formats.
5697         (org-link-search): Handle new coderef formats.
5699         * org-footnote.el (org-footnote-create-definition)
5700         (org-footnote-goto-local-insertion-point): Make footnote insertion
5701         work correctly when the "Footnotes" headline is the last line in
5702         the buffer.
5704         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5705         the location.
5707 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5709         * org-w3m.el (org-w3m): New customization group.
5710         (org-w3m-deactivate-mark): New option.
5711         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5712         option say not to.
5714 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5716         * org.el (org-set-font-lock-defaults): Trigger footnote
5717         fontification.
5718         (org-activate-footnote-links): New function.
5719         (org-activate-links): New entry `footnote'.
5721         * org-faces.el (org-footnote): New face.
5723 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5725         * org-macs.el (org-re): Handle the [:word:] class.
5727         * org-exp.el (org-export-preprocess-string): Call
5728         `org-export-protect-colon-examples'.
5729         (org-export-protect-colon-examples): Renamed from
5730         `org-export-protect-examples', and scope limited to lines starting
5731         with a colon.
5733 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5735         * org-exp.el (org-export-preprocess-string): Move the preprocess
5736         hook to after turning on Org-mode.
5737         (org-export-preprocess-after-include-files-hook)
5738         (org-export-preprocess-after-tree-selection-hook)
5739         (org-export-preprocess-before-backend-specifics-hook)
5740         (org-export-preprocess-final-hook): New hooks.
5741         (org-export-preprocess-string): Run the new hooks.
5743         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5745         * org-footnote.el: New file.
5747         * org.el (org-footnote): Require footnote code.
5748         (org-startup-options): Add new footnote options.
5749         (org-mode-map): New keybindig for footnotes.
5750         (org-ctrl-c-ctrl-c): Add function at footnotes.
5751         (org-org-menu): New menu entries for footnotes.
5753         * org-export-latex.el (org-export-as-latex): Pass footnote
5754         variable to preprocessor.
5755         (org-export-latex-preprocess): Treat multiple references to a
5756         footnote.
5758         * org-exp.el (org-export-preprocess-string): Call
5759         `org-footnote-normalize'.
5760         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5761         to preprocessor.
5762         (org-export-as-html): Treat multiple references to a footnote.
5764 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5766         * org-export-latex.el (org-export-latex-links): Handle coderef
5767         links.
5769         * org.el (org-bracket-link-analytic-regexp++): New variable.
5770         (org-make-link-regexps): Initialize
5771         `org-bracket-link-analytic-regexp++'.
5772         (org-store-link): Implement special case in edit-src buffer.
5773         (org-insert-link): No use of ide to insert stored links.
5774         (org-link-search): Implement special case for coderefs.
5776         * org-exp.el (org-export-html-scripts): New constant.
5777         (org-export-html-style-default): Add a new style for highlighted
5778         code.
5779         (org-export-code-refs): New variable.
5780         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5781         Call `org-export-replace-src-segments-and-examples'
5782         No longer call `org-export-protect-examples'.
5783         (org-export-target-internal-links): Take care of coderef targets.
5784         (org-export-last-code-line-counter-value): New variable.
5785         (org-export-replace-src-segments-and-examples): Renamed from
5786         `org-export-replace-src-segments', and modified.
5787         (org-export-format-source-code-or-example): Renamed from
5788         `org-export-format-source-code'.
5789         (org-export-number-lines): New function.
5790         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5792 --------------------------------------------------------------------------
5794 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5796         * org-remember.el (org-remember-handler): Safer way to get a new
5797         buffer accessing the target file.
5799         * org.el (org-refile-get-location): Handle case of current buffer
5800         not having a file associated with it.
5802 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5804         * org-table.el (org-table-get-formula): Only ask to overwrite
5805         field formula if there really is one.
5807         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5808         number, by converting these to a string.
5810         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5811         located in a different file.
5813         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5814         org-colview.el.
5816 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5818         * org.el (org-completion-use-ido): Enhance docstring of
5819         `org-completion-use-ido'.
5821         * org-export-latex.el (org-export-latex-make-header): Double the %
5822         in the time stamp format.
5823         (org-export-latex-special-chars): Handle case where there is no
5824         match group 3.
5826 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5828         * org.el (org-get-refile-targets, org-refile-get-location): Use
5829         expanded file name to improve comparison.
5831 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5833         * org.el (org-scan-tags): Rescan for tags, to get the correct
5834         upcase/downcase stuff.  This slows things down for now, but it
5835         works.
5836         (org-mode): Make sure the tag-faces regexp is initialized.
5838         * org-export-latex.el (org-export-latex-links): Fix bug with
5839         undefined label.
5841         * org-table.el (org-table-get-specials): Set
5842         `org-table-current-last-data-line'.
5843         (org-table-current-last-data-line): New variable.
5844         (org-table-insert-column, org-table-delete-column)
5845         (org-table-move-column, org-table-fix-formulas): Call
5846         `org-table-fix-formulas' a second time to fix the $LR references.
5847         (org-table-get-specials): Add the $LR references to the tables.
5848         (org-table-get-formula): Do not offer last-row names as LHS of
5849         formulas.
5851         * org.el (org-store-link): Capture link description from
5852         `org-id-store-link'.
5854         * org-exp.el (org-export-html-format-image): Add the / to the end
5855         of the <img> tag.
5856         (org-export-format-source-code): Surround example by empty lines,
5857         to make sure it will not be inside a paragraph.
5859         * org.el (org-ido-switchb): New function.
5861 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5863         * org-agenda.el (org-agenda-show): New prefix argument
5864         FULL-ENTRY.
5866         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5867         argument.
5869         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5870         `org-agenda-change-all-lines'.
5871         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5872         tags are now retrieved locally.
5874 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5876         * org.el (org-get-outline-path): Fix bug if level is not given.
5877         (org-org-menu): Do not quote function in menu vector.
5879         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5880         name.
5882 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5884         * org.el (org-refile): Avoid refiling to within the region to be
5885         refiled.
5887         * org-export-latex.el (org-export-latex-special-chars): Replace
5888         special characters also in tables.
5890         * org-agenda.el (org-agenda-change-all-lines): New argument
5891         FORCE-TAGS.
5892         (org-agenda-set-tags): Cet the new tags and pass them to
5893         `org-format-agenda-item'.
5895 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5897         * org-export-latex.el (org-export-latex-classes): Add longable as
5898         a default package to all classes.
5899         (org-export-latex-tables): Handle the longtable attribute and the
5900         align attribute.
5902         * org-table.el (orgtbl-to-generic): Handle tables that start with
5903         a hline.
5905         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5906         \verb for colde-like snippets.
5907         (org-export-as-latex): Fix issues with region export.
5909         * org.el (org-up-heading-safe): Speed up function by using a
5910         direct regexp search.
5911         (org-olpa): New variable.
5912         (org-get-outline-path): Speed-up path constructions in cases where
5913         this is possible because the entire hierarchy is scanned anyway.
5914         (org-refile-get-location): Don't compare the truenames of files,
5915         this is too slow.
5916         (org-goto-max-level): New option.
5917         (org-goto): Use `org-goto-max-level'.
5919 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5921         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5922         Strip angle brackets from message-ids in the former and don't do
5923         it in the latter.
5924         (org-gnus-follow-link): Open summary reliable, even if the last
5925         messages were deleted, and handle empty groups, too.
5927 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5929         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5930         instead of \texttt for the =...= and ~===~ emphasis environments.
5931         (org-export-as-latex): Remove any old :org-license-to-kill text
5932         properties.
5933         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5934         (org-export-latex-make-header): Add some hard space after the
5935         table of contents.
5936         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5937         exported text so that it will be excuded in further steps.
5939         * org-table.el (org-table-get-specials): Make @0 reference the
5940         last line in a table.
5941         (org-table-recalculate): Improve docstring.
5943 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5945         * org.el (org-log-done): Fix docstring.
5947 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5949         * org-exp.el (org-export-html-format-image): Fix bugs.
5951         * org-export-latex.el (org-export-latex-tables)
5952         (org-export-latex-links): Implement attribute, label, and caption
5953         handling.
5955         * org-exp.el (org-export-html-style-default): Add style
5956         definitions for the figure div.
5957         (org-export-preprocess-string, org-export-as-html): Implement
5958         attribute, label, and caption handling.
5959         (org-export-attach-captions-and-attributes): New function.
5960         (org-export-html-format-image): New function.
5961         (org-format-org-table-html): Implement attribute, label, and
5962         caption handling.
5964         * org.el (org-find-text-property-in-string): New function.
5965         (org-extract-attributes): Use the property org-attr instead of
5966         org-attrobutes, because this property is now set with the #+ATTR
5967         lines.
5969 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5971         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5972         the case that FROM is nil.
5974         * org.el (org-before-first-heading-p): New function.
5976 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5978         * org-exp.el (org-export-as-html): Do not add a space before
5979         enforces line breaks.
5980         (org-export-as-html): Close paragraph before blockquote and verse
5981         tags.
5983 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5985         * org-id.el (org-id-locations-file): Wrap file name with
5986         `convert-standard-filename'.
5987         (org-id-files): New variable.
5988         (org-id-use-hash): New option.
5989         (org-id-update-id-locations): Also search in all files current
5990         listed in `org-id-files'.  Convert the resulting alist to a hash
5991         if the user customation says so.
5992         (org-id-locations-save): Handle he case if `org-id-locations' is a
5993         hash.
5994         (org-id-locations-load): Convert the alist to a hash.
5995         (org-id-add-location): Handle the hast case.
5996         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5997         exited.
5998         (org-id-hash-to-alist, org-id-alist-to-hash)
5999         (org-id-paste-tracker): New functions.
6001 -------------------------------------------------------------------------
6003 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
6005         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
6006         bindings of calendar variables.
6008         * org-table.el (org-table-find-row-type): Renamed from
6009         `org-find-row-type'.
6010         (org-table-rewrite-old-row-references): Renamed from
6011         `org-rewrite-old-row-references'.
6012         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
6013         (org-table-cleanup-narrow-column-properties): Renamed from
6014         `org-cleanup-narrow-column-properties'.
6016 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
6018         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
6019         for better error messages.
6020         (org-table-get-descriptor-line): Supply the new arguments to
6021         `org-find-row-type'.
6022         (org-table-error-on-row-ref-crossing-hline): New option.
6024         * org.el (org-target-link-regexp): Make buffer-local.
6025         (org-move-subtree-down): Fix bug with trees at beginning of
6026         buffer.
6028 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
6030         * org-faces.el (org-set-tag-faces): New function.
6031         (org-tags-special-faces-re): New variable.
6033         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
6035         * org-faces.el (org-tag-faces): New option.
6036         (org-tag): Mention `org-tag-faces' in the docstring.
6038 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
6040         * org-exp.el (org-export-html-style-default): Implement new
6041         quoting.
6043         * org-jsinfo.el (org-infojs-template): Implement new quoting.
6045         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
6046         command to the `w3m-minor-mode-map'.
6048         * org-archive.el (org-archive-to-archive-sibling): Protect
6049         `this-command' to avoid appending kills during archiving.
6051         * org-exp.el (org-export-with-priority): New variable.
6052         (org-export-add-options-to-plist): Use `org-export-plist-vars'
6053         instead of internal list of strings and properties.
6054         (org-print-icalendar-entries): Retrieve the location property with
6055         inheritance.
6057 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
6059         * org-exp.el (org-export-with-todo-keywords): New option.
6060         (org-export-plist-vars): Include also the keys for the #+OPTIONS
6061         line.
6062         (org-default-export-plist, org-export-add-options-to-plist)
6063         (org-export-as-ascii, org-export-as-html): Use the new structure
6064         of `org-export-plist-vars'.
6066         * org.el (org-map-entries): Return all values.
6068 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
6070         * org.el (org-matcher-time): Recognize more special values.
6072         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
6074 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
6076         * org.el (org-tags-exclude-from-inheritance): New option.
6077         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
6078         `org-tags-exclude-from-inheritance'.
6080         * org-agenda.el (org-agenda-show-inherited-tags): New option.
6081         (org-format-agenda-item): Add inherited tags to the agenda line
6082         string, and make sure that properties are kept when downcasing the
6083         tags list.
6084         (org-agenda-add-inherited-tags): New function.
6085         (org-downcase-keep-props): New function.
6087         * org.el (org-scan-tags): Mark inherited tags with a text
6088         property.
6089         (org-get-tags-at): Mark inherited tags with a text property.
6090         (org-add-prop-inherited): New function.
6092         * org-agenda.el (org-agenda-add-inherited-tags): New function.
6093         (org-agenda-show-inherited-tags): New option.
6095 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
6097         * org.el (org-modules): Add org-w3m to the default modules.
6099         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
6100         orgtbl-mode.
6101         (orgtabl-create-or-convert-from-region): New command.
6103         * org-exp.el (org-export-as-ascii): Remove the handling of
6104         targets.
6105         (org-export-ascii-preprocess): Handle targets already in this
6106         function.
6108 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
6110         * org-timer.el (org-timer-start-time): Define this variable.
6111         (org-timer-item): Make argument optional.
6113         * org-list.el (org-insert-item): Automatically insert a timer item
6114         if the current list is a timer list.
6116         * org-timer.el: New file.
6118         * org-publish.el (org-publish-org-index): Only exclude the index
6119         file in the main directory from being added to the site-map.
6120         (org-publish-get-project-from-filename): If the current project is
6121         a component, start publishing from the parent project.
6123 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
6125         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
6127         * org-publish.el (org-publish-org-index): Improve removal of
6128         temporary buffers.
6130         * org-agenda.el (org-get-closed): Re-apply changes
6131         accidentially overwritten by last commit to Emacs.
6133         * org.el (org-outline-path-complete-in-steps): New option.
6134         (org-refile-get-location): Honor
6135         `org-outline-path-complete-in-steps'.
6136         (org-agenda-change-all-lines, org-tags-sparse-tree)
6137         (org-time-string-to-absolute, org-small-year-to-year)
6138         (org-link-escape): Re-apply changes accidentially overwritten
6139         by last commit to Emacs
6141 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
6143         * org-clock.el (org-dblock-write:clocktable): Make sure the
6144         clocktable sees the first line.
6145         (org-clock-in): Warn if the clock cannot be resumed.
6147 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
6149         * org.el (org-open-at-point): Fix mixup about interactive and
6150         non-interactive elisp links.
6152 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6154         * org-exp.el (org-export-preprocess-string): Allow one comment
6155         line before the first headline to always be included.  This is
6156         to not miss a commented target.
6158         * org-mouse.el (org-mouse-insert-item): Call
6159         `org-indent-to-column' instead of `indent-to', for XEmacs
6160         compatibility.
6162         * org.el (org-refile-targets): Fix customize definition so
6163         that it works also in XEmacs.
6164         (org-fixup-indentation): Call `org-indent-to-column' instead
6165         of `indent-to', for XEmacs compatibility.
6167 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
6169         * org-mew.el (org-mew-store-link): Get the correct case folder
6170         for refiled messages.
6172 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6174         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
6175         line break indicators.
6177         * org.el (org-ido-completing-read): Remove the "i:" prefix for
6178         ido-completion propts.
6180 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6182         * org-remember.el (org-remember-apply-template): Use
6183         `org-substring-no-properties'.
6185         * org-compat.el (org-substring-no-properties): New function.
6187         * org-remember.el (org-remember-apply-template): Use
6188         `org-substring-no-properties' for compatibility.
6190         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
6191         option.
6192         (org-fix-bullet-type): respect
6193         `org-list-two-spaces-after-bullet-regexp'.
6195         * org-clock.el (org-clock-load): Clean up the code.
6197         * org.el (org-adaptive-fill-function): Allow two spaces after
6198         "1." as a list bullet.
6200 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
6202         * org-clock.el (org-clock-save, org-clock-load): Check for
6203         live buffers, existing files, and buffer file names to ensure
6204         consistent information.
6205         (org-clock-persist): Make `clock' a special value of this
6206         variable, and improve docstring.
6208         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
6209         (org-get-string-indentation): Adapt indentation when the bullet
6210         width changes.
6212 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
6214         * org-remember.el (org-remember-finalize): Make interactive.
6215         (org-remember-kill): New command.
6216         (org-remember-finish-immediately): Call `org-remember-finalize'
6217         directly.
6218         (org-remember-finalize): Make `org-remember-finalize' an interactive
6219         function.
6221 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
6223         * org-remember.el (org-remember-apply-template): No ido completion
6224         for free prompts in remember templates.
6225         (org-remember-before-finalize-hook): New hook.
6226         (org-remember-mode): New minor mode.
6227         (org-remember-apply-template): Turn on `org-remember-mode'.
6229         * org-id.el (org-id-add-location): Avoid error when no file is
6230         given.
6232         * org-remember.el (org-remember-apply-template): Fix the way how
6233         the list of allowed properties is retrieved from the target file.
6235         * org.el (org-insert-link): Improve file link matching.
6237 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
6239         * org-colview.el (org-columns-display-here): New argument
6240         DATELINE, to trigger using the new face.
6241         (org-agenda-colview-summarize): Call `org-columns-display-here'
6242         with the new argument.
6244         * org-faces.el (org-agenda-column-dateline): New face.
6246         * org-publish.el (org-publish-org-index): Use index-title at page
6247         title, not as section.
6249         * org-exp.el (org-export-html-format-desc): Respect the
6250         org-protect property.
6251         (org-export-as-html): Protect image specifiers that are in the
6252         description part of a link.
6254         * org.el (org-sort-entries-or-items, org-completing-read)
6255         (org-refile-get-location, org-olpath-completing-read, org-todo)
6256         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6257         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6258         (org-set-property, org-delete-property)
6259         (org-delete-property-globally): Use `org-ido-completing-read'.
6261         * org-remember.el (org-remember-apply-template): Use
6262         `org-ido-completing-read'.
6264         * org-publish.el (org-publish): Use `org-ido-completing-read'.
6266         * org-colview.el (org-columns-edit-value, org-columns-new)
6267         (org-insert-columns-dblock): Use `org-ido-completing-read'.
6269         * org-colview-xemacs.el (org-columns-edit-value)
6270         (org-columns-new, org-insert-columns-dblock): Use
6271         `org-ido-completing-read'.
6273         * org-attach.el (org-attach-delete-one, org-attach-open): Use
6274         `org-ido-completing-read'.
6276         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6277         `org-ido-completing-read'.
6279         * org.el (org-time-today): New function.
6280         (org-matcher-time): Use `org-time-today'.  Add special treatment
6281         for "<tomorrow>" and "<yesterday>".
6282         (org-ido-completing-read): New function.
6283         (org-completion-use-ido): New option.
6285         * org-exp.el (org-export-format-source-code): Fix bug in require
6286         htmlize code.
6287         (org-export-target-internal-links): Fix bug in search for text
6288         property.
6290 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
6292         * org-export-latex.el (org-export-latex-subcontent): Interprete
6293         target aliases as additonal labels.
6295         * org-exp.el (org-export-target-aliases): New variable.
6296         (org-export-preprocess-string)
6297         (org-export-handle-invisible-targets): Fill the alias alist.
6298         (org-export-as-html): Remove the &nbsp; from the anchor, and also
6299         assign an id.
6300         (org-html-level-start): Insert the target aliases as additonal
6301         anchors.
6303         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6304         picture area.
6306 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
6308         * org.el (org-open-at-mouse): Ensure correct link abbreviations
6309         when following a link with the mouse from the agenda.
6311         * org-exp.el (org-export-as-html): Avoid lone </div> when no
6312         headlines are created.
6314 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
6316         * org-exp.el (org-export-preprocess-string): Reorder so that we
6317         can still see ID properties when we collect targets.
6318         (org-export-target-internal-links): Also store targets for ID's.
6320         * org.el (org-link-translation-function): New option.
6321         (org-open-at-point): Call `org-link-translation-function' if
6322         non-nil.
6323         (org-translate-link): New function.
6324         (org-translate-link-from-planner): New function.
6325         (org-open-at-point): Allow interactive commands in elisp links.
6327         * org-exp.el (org-icalendar-cleanup-string): Restore the old
6328         iCalendar quoting.  The new one seems to caus problems with
6329         applications.
6331         * org.el (org-yank): Set `this-command' to `yank', so that
6332         `yank-pop' will work.
6334 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6336         * org-id.el (org-id-search-archives): New option.
6338         * org.el (org-link-to-org-use-id): New option.
6339         (org-store-link): Use `org-link-to-org-use-id'.
6340         (org-id): Make org-id.el a standard component.
6342 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6344         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6345         hexified version of the tag.
6347         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6348         compliance as far as quoting is concerned.
6350         * org-vm.el (org-vm-follow-link): Require `vm-search'.
6352         * org.el (org-up-heading-safe, org-forward-same-level): Always
6353         call `org-back-to-heading' instead of `outline-back-to-heading'.
6354         (org-back-to-heading): New wrapper around outline-back-to-heading,
6355         with a useful error message telling where the error happened.
6357         * org-list.el (org-update-checkbox-count): Always call
6358         `org-back-to-heading' instead of `outline-back-to-heading'.
6360         * org-exp.el (org-export-as-html): Make sure that each <img> tag
6361         has an `alt' attribute, to ensure XHTML validation.
6363 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
6365         * org-publish.el (org-publish-attachment): Allow publishing to
6366         overwrite attachment files.
6368         * org-agenda.el (org-agenda-timerange-leaders): New option.
6369         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6371         * org.el (org-edit-src-exit): Untabify ASCII image before
6372         returning.
6385 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
6387         * org.el (org-yank): Make any prefix force normal yanking.
6388         Suppress folding if text would be swallowed into a folded
6389         subtree.
6390         (org-yank-folded-subtrees, org-yank): Docstring updates.
6392         * org-agenda.el (org-agenda-compare-effort): Treat no effort
6393         defined as 0.
6395         * org-exp.el (org-export-language-setup): Add Catalan and
6396         Esperanto language entries.
6398 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
6400         * org.el (org-refile): Allow refiling of entire regions.
6402         * org-clock.el (org-clock-time%): New function.
6404         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6405         retrieve property values.
6407 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
6409         * org-agenda.el (org-agenda-list): Handle the value `only' of
6410         org-agenda-show-log'.
6411         (org-agenda-log-mode): Interpret a double prefix arg.
6413 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
6415         * org-exp.el (org-export-html-footnotes-section): New variable.
6416         (org-export-as-html): Use `org-export-html-footnotes-section' to
6417         insert the footnotes.
6418         (org-export-language-setup): Add "Footnotes" to language words.
6420 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
6422         * org.el (org-yank): Fix bug when not inserting a subtree.
6424 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
6426         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6427         instead of `vm-beginning-of-message'.
6429         * org.el (org-make-link-regexps): Make sure that links to gnus can
6430         contain brackets.
6432 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
6434         * org-attach.el (org-attach-dir): Remove duplicate ID creation
6435         code.
6437         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6438         shell output.
6440         * org.el (org-link-abbrev-alist): Improve customization type.
6442         * org-attach.el (org-attach-expand-link, org-attach-expand): New
6443         functions.
6445         * org-agenda.el (org-agenda-get-progress): Renamed from
6446         `org-get-closed'.  Implement searching for state changes as well.
6447         (org-agenda-log-mode-items): New option.
6448         (org-agenda-log-mode): New option prefix argument, interpreted as
6449         request to show all possible progress info.
6450         (org-agenda-get-day-entries): Call `org-get-progress' instead of
6451         `org-get-closed'.
6452         (org-agenda-set-mode-name): Handle the more complex log mode
6453         settings.
6454         (org-get-closed): New alias, pointing to `org-get-progress'.
6456 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
6458         * org.el (org-file-apps-defaults-gnu)
6459         (org-file-apps-defaults-macosx)
6460         (org-file-apps-defaults-windowsnt): Add an entry defining the
6461         system command.
6462         (org-file-apps): Allow `system' as key and value.
6463         (org-open-at-point): Explain the effect of a double prefix arg.
6464         (org-open-file): If the argument `in-emacs' is (16),
6465         i.e. corresponding to a double prefix argument, try to open the
6466         file externally.
6468 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
6470         * org.el (org-insert-link): Abbreviate absolute files names in
6471         links.  Also, fix a bug in which the double C-u prefix would not
6472         be honored.
6474 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
6476         * org.el (org-insert-heading): If buffer does not end with a
6477         newline, add one if necessary to insert headline correctly.
6479         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6480         paragraphs, not inside.
6482         * org.el (org-todo): Quote
6483         `org-agenda-headline-snapshot-before-repeat'.
6485         * org-exp.el (org-export-as-html): Fully process link descriptions.
6486         (org-export-html-format-desc): New function.
6487         (org-export-as-html): Collect footnotes into the correct basket.
6488         (org-html-protect): No longer protect quotations marks here, this
6489         goes wrong.
6491         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6492         BEG.
6494         * org-compat.el (org-fit-window-to-buffer): New function (not
6495         really, a preliminary and incomplete version was present earlier,
6496         but not used).
6498         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6499         `org-fit-window-to-buffer'.
6501         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6503         * org-agenda.el (org-agenda-get-restriction-and-command)
6504         (org-fit-agenda-window, org-agenda-convert-date): Use
6505         `org-fit-window-to-buffer'.
6507         * org-exp.el (org-export-as-html): Process href links through
6508         `org-export-html-format-href'.
6509         (org-export-html-format-href): New function.
6511         * org-agenda.el (org-agenda-todo): Update only the current
6512         headline if this is a repeated TODO, marked done for today.
6513         (org-agenda-change-all-lines): New argument JUST-THIS, to change
6514         only the current line.
6516         * org.el (org-todo): Take a snapshot of the headline if the
6517         repeater might change it.
6519 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6521         * org-publish.el (org-publish-find-title): Remove buffers visited
6522         only for extracting the title.
6524         * org-exp.el (org-export-html-style)
6525         (org-export-html-style-default): Mark style definitions as
6526         unparsed CDATA.
6528         * org-publish.el (org-publish-validate-link): Function
6529         re-introduced.
6531 2008-11-02  Charles Sebold  <csebold@gmail.com>
6533         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6534         property.
6535         (org-plot-quote-timestamp-field): New function.
6536         (org-plot-quote-tsv-field): Call timestamp field function when
6537         necessary rather than just quoting as a string.
6538         (org-plot/gnuplot-to-data): Pass in timefmt property.
6539         (org-plot/gnuplot-script): Supports timefmt property.
6540         (org-plot/gnuplot): Checks for timestamp column before checking
6541         for text index column.
6543 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6545         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6547         * org-publish.el (org-publish-org-index): Create a section in the
6548         index file.
6549         (org-publish-org-index): Stop linking to directories.
6551         * org.el (org-emphasis-alist): Use span instead of <u> to
6552         underline text.
6554         * org-exp.el (org-export-as-html): Make sure <p> is closed before
6555         <pre> sections.
6557 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
6559         * org-jsinfo.el (org-infojs-template): Remove language attribute
6560         from script tag.
6562 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6564         * org-agenda.el (org-agenda-remove-marked-text): New function.
6565         (org-agenda-mark-filtered-text)
6566         (org-agenda-unmark-filtered-text): New functions.
6567         (org-write-agenda): Remove fltered text.
6569         * org.el (org-make-tags-matcher): Give access to TODO "property"
6570         without speed penalty.
6572 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6574         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6575         option.
6576         (org-store-link-props): Make sure adding to the plist works
6577         correctly.
6579         * org-gnus.el (org-gnus-no-new-news): New function.
6580         (org-gnus-follow-link): Allow the article ID to be a message-id,
6581         in addition to allowing article numbers.  Message IDs make much
6582         more roubust links.
6583         (org-gnus-store-link): Use message-id to create link.
6585 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6587         * org.el (org-emphasize): Reverse the selection array.
6588         (org-emphasis-alist): Set <code> tags for the verbatim
6589         environment.
6591         * org-remember.el (org-remember-handler): Fix bug with
6592         prefix-related changing of the note storage target.
6594         * org-exp.el (org-print-icalendar-entries): Make the exported
6595         priorities compatible with RFC 2445.
6597         * org-clock.el (org-clock-save): Insert time stamp without
6598         dependence on time-stamp.el.
6600 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6602         * org.el ("saveplace"): If saveplace puts point into an invisible
6603         location, make it visible.
6604         (org-make-tags-matcher): Allow inactive time stamps in time
6605         comparisons.
6606         (org-yank-adjusted-subtrees): New option.
6607         (org-yank): Incorporate adjusting trees.
6608         (org-paste-subtree): New argument FOR-YANK which will cause
6609         insertion at point without backing up over white lines, and leave
6610         point at the end of the inserted text.  Also if the cursor is
6611         at the beginning of a headline, use the same level or the inserted
6612         tree.
6614         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6615         with broken symlinks
6617 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6619         * org-exp.el (org-export-select-tags, org-get-current-options):
6620         Fix typo.
6622 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6624         * org-agenda.el (org-format-agenda-item)
6625         (org-agenda-filter-make-matcher): Make sure tags are stored and
6626         compared donwcased.
6628 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6630         * org.el (org-insert-todo-heading): Fix bug with force-heading
6631         argument.
6633 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6635         * org-clock.el (org-clock-in-resume): Add a custom option to
6636         toggle starting the clock from an open clock line.
6637         (org-clock-in): When clocking in to an entry, if
6638         `org-clock-in-resume' is set, check if the first clock line is
6639         open and if so, start the clock from the time in the clock line.
6640         (org-clock-persist): Add a custom option to toggle clock
6641         persistence.
6642         (org-clock-persist-query-save): Add a custom option to toggle
6643         asking the user if they want to save the running clock when
6644         exiting.
6645         (org-clock-persist-query-resume): Add a custom option to toggle
6646         asking the user if they want to resume the saved clock when Emacs
6647         is restarted.
6648         (org-clock-save): Add a function to save clock data.
6649         This includes the contents of `org-clock-history' and the buffer
6650         and position of the currently clocked task, if any.
6651         (org-clock-load): Add a function to load clock data.
6652         This populates `org-clock-history', and resumes the saved clocked
6653         task if there is one.
6654         (org-clock-persistence-insinuate): Add a method to set up the
6655         hooks for clock persistence.
6657 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6659         * org-exp.el (org-export-as-ascii): Handle the case that we are
6660         publishing from an indirect buffer.
6662         * org-table.el (org-table-copy-down): Fix bug with time stamp
6663         increment.
6665         * org-mouse.el (org-mouse-features): New option.
6666         (org-mode-hook): Turn on features depending on
6667         `org-mouse-features'.
6669         * org.el (org-insert-heading-respect-content): Force heading
6670         creation.
6671         (org-insert-heading): keep the folding state of the heading before
6672         the inserted one.
6674 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6676         * org-archive.el (org-archive-to-archive-sibling): Handle top
6677         level headlines better.
6679 2008-10-21  Bastien Guerry  <bzg@altern.org>
6681         * org-export-latex.el (org-export-latex-classes): Added
6682         \usepackage{graphicx} to the default list of packages.
6684 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6686         * org-agenda.el (org-agenda-filter): Renamed from
6687         `org-agenda-filter-tags'.
6689 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6691         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6692         is not defined as a property in this entry.
6693         (org-add-log-note): Mask prefix argument when immediately storing
6694         the note.
6696         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6697         option.
6699 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6701         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6702         after drawers was skipping ahead one line too many, so notes were
6703         inserted after the first note instead of before it.
6705 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6707         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6708         New variables.
6709         (org-prepare-agenda): Reset the filter tags.
6710         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6711         Show filter tags in mode line.
6713         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6714         formatter.
6716         * org-export-latex.el (org-latex-entities-regexp): New constant.
6717         (org-export-as-pdf): Use two calls to `shell-command'.
6719 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6721         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6722         Honor the {} value of the subsuperscript setting.  Make sure that
6723         longer subsuperscripts are typeset in a roman font.
6725         * org.el (org-clock-update-time-maybe): Compute negative clock
6726         intervals correctly.
6728 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6730         * org.el (org-add-log-setup): Respect
6731         `org-log-state-notes-insert-after-drawers'.
6732         (org-log-state-notes-insert-after-drawers): New option.
6733         (org-todo-trigger-tag-changes): New function.
6734         (org-todo): Call `org-todo-trigger-tag-changes'.
6736 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6738         * org.el (org-add-log-setup): Only skip drawers if the are
6739         immediately after the scheduling keywords.
6741         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6742         function
6743         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6744         call it with the current todo state to get the state to switch to
6745         when clocking in.
6746         (org-clock-in): Use org-indent-line-function to indent clock lines.
6747         (org-clock-find-position): Fix indentation of empty clock drawers.
6749 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6751         * org-publish.el (org-publish-org-to): Handle case when
6752         org-export-to-pdf does return a file name, not a buffer.
6753         (org-publish-org-to-pdf): New function.
6755         * org-export-latex.el (org-export-as-pdf)
6756         (org-export-as-pdf-and-open): New commands.
6758         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6759         forms as ranges.
6761         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6762         things in protexted regions.
6764 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6766         * org-export-latex.el (org-export-latex-preprocess): Improve
6767         quoting of LaTeX environments.
6769 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6771         * org.el (org-edit-fixed-width-region): Exclude final newline from
6772         picture area.
6774         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6775         sections, to make internal links work.
6776         (org-export-latex-fontify-headline): Do not remove all text
6777         properties, to make sure that target properties survive this
6778         process.
6780         * org-exp.el (org-export-preprocess-string): Change sequence of
6781         modifications, to make sure links are prepared before the LaTeX
6782         conversions do happen.
6784 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6786         * org-attach.el (org-attach-delete-all): Renamed from
6787         `org-attch-delete'.  Add a security query before deleting the
6788         entire directory.  New optional argument FORCE can overrule the
6789         security query.
6790         (org-attach-delete-one): New command.
6792 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6794         * org-attach.el (org-attach-file-list): Fix bug with directory.
6796 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6798         * org.el (org-apps-regexp-alist): New function.
6799         (org-file-apps): Add auto-mode to the default value.
6800         (org-open-file): Use the new structure of org-file-apps.
6802         * org-attach.el (org-attach): Support the new keys.
6803         (org-attach-method): New option.
6805 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6807         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6808         March.
6810         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6811         of the list value o `org-use-tag-inheritance'.
6813         * org-attach.el (org-attach-auto-tag): New option.
6814         (org-attach-tag, org-attach-untag): New functions.
6815         (org-attach-attach, org-attach-new, org-attach-sync): Call
6816         `org-attach-tag'.
6817         (org-attach-delete): Call `org-attach-untag'.
6819 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6821         * org-table.el (orgtbl-self-insert-command): Make this work for
6822         the keypad as well.
6824 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6826         * org.el (org-add-log-setup): Limit searc for drawers to entry
6827         text, not to subtree.
6829         * org-clock.el (org-clock-heading-for-remember): New variable.
6830         (org-clock-in): Set `org-clock-heading-for-remember'.
6832 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6834         * org-remember.el (org-remember-apply-template): Add new
6835         expansions: %k, %K for currently clocked task and a link to the
6836         currently clocked task, and %< to file notes in the currently
6837         clocked task.
6839 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6841         * org-export-latex.el (org-export-latex-make-header): Also insert
6842         the content of the property :latex-header-extra.
6844         * org-exp.el (org-infile-export-plist): Put the content of
6845         #+LATEX_HEADER: into the property :latex-header-extra.
6847         * org-colview.el (org-columns-get-format-and-top-level): Remove
6848         resetting the marker.
6850         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6851         Remove resetting the marker.
6853         * org.el (org-entry-property-inherited-from): Improve docstring.
6854         (org-entry-get-with-inheritance): Reset marker before starting the
6855         search.
6857         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6859 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6861         * org.el (org-entry-get-multivalued-property)
6862         (org-entry-protect-space, org-entry-restore-space): New
6863         functions.
6864         (org-file-apps-defaults-macosx): Let postscript files be opened by
6865         preview.
6866         (org-time-stamp-inactive): Call `org-time-stamp'.
6867         (org-time-stamp): New argument `inactive'.  Also edit inacive
6868         stamps. Convert time stamp type.
6869         (org-open-file): Interpret the `default' value for the `command'
6870         in `org-file-apps'.
6872         * org-id.el (org-id-int-to-b36-one-digit)
6873         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6874         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6875         b36.
6877 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6879         * org-id.el (org-id-reverse-string): New function.
6880         (org-id-new): Use `org-id-reverse-string' to make sure the
6881         beginning chars of the ID are mutating fast.  This allows to use a
6882         directory structure to spread things better.
6883         (org-id-prefix): Changed default to nil.
6885         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6886         restore the column of the cursor position.
6888         * org-remember.el (org-remember-apply-template): Remove properties
6889         from `initial'.
6891 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6893         * org-wl.el (org-wl-open): Remove useless call to
6894         `wl-thread-open-all'.
6896         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6897         location.
6899 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6901         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6902         `org-bbdb-anniversaries'.
6904         * org.el (org-get-next-sibling, org-forward-same-level): New
6905         functions, similar to the outline versions, but invisible headings
6906         are OK.
6908 2008-09-25  Bastien Guerry  <bzg@altern.org>
6910         * org.el (org-auto-repeat-maybe): Insert a space between
6911         the timestamp's type and the timestamp itself.
6913 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6915         * org-table.el (org-table-sum): Do not format the result with %g,
6916         it does rounding when there are too many digits.
6918         * org.el (org-map-entries): Protect the keyword-selecting variables.
6920 2008-09-23  Bastien Guerry  <bzg@altern.org>
6922         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6923         against all agenda files.
6925 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6927         * org-list.el: New file, aggregating list functions from org.el
6928         and org-export-latex.el.
6930         * org.el (org-edit-src-region-extra): New option.
6932 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6934         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6935         time before 1am.
6937 2008-09-22  Bastien Guerry  <bzg@altern.org>
6939         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6941 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6943         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6944         hline work correctly.
6945         (org-plot/gnuplot-script): Put commas at the end of each script
6946         line.
6948 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6950         * org.el (org-get-refile-targets): Replace links with their
6951         descriptions
6952         (org-imenu-get-tree): Replace links with their descriptions.
6954         * org-remember.el (org-remember-apply-template): Add a new
6955         expansion for adding properties to remember items.
6957         * org.el (org-add-log-setup): Skip over drawers (properties,
6958         clocks etc) when adding notes.
6960         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6961         items as well as the start and end times.
6963         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6964         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6966         * org-remember.el (org-get-x-clipboard): Use the compat
6967         function to get clipboard values when x-selection-value is
6968         unavailable. Use substring-no-properties instead of
6969         set-text-properties to remove text properties from the clipboard
6970         value.
6972         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6973         modeline clock string, and display the full todo value in the
6974         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6975         the currently clocked task.
6976         (org-clock-string-limit): Add a custom value for the maximum
6977         length of the clock string in the modeline.
6978         (org-clock-mode-map): Add a keymap for the modeline string
6980 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6982         * org-compat.el (org-propertize): New function.
6984 2008-09-20  Bastien Guerry  <bzg@altern.org>
6986         * org-export-latex.el (org-export-latex-tables): protect exported
6987         tables from further special chars conversion.
6988         (org-export-latex-preprocess): Preserve LaTeX environments.
6989         (org-list-parse-list): Parse descriptive lists.
6990         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6991         (org-list-to-texinfo): Export descriptive lists.
6992         (org-quote-chars): Remove.
6993         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6994         (org-export-latex-list-beginning-re): Rename to
6995         `org-list-beginning-re'
6996         (org-list-item-begin): Rename to `org-list-item-beginning'
6998 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
7000         * org.el (org-refile): Allow refiling to the last entry in the
7001         buffer.
7002         (org-get-tags-at): Fix bug when inheritance is turned off.
7004 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
7006         * org.el (org-indent-line-function): No longer check for src
7007         regions, this is too much overhead.
7009         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
7010         matching.
7012         * org.el (org-scan-tags): Make sure that tags matching is not case
7013         sensitive.  TODO keyword matching is case sensitive, however, to
7014         avoid confusion with similar words that are not meant to be
7015         keywords.
7017 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
7019         * org.el (org-get-local-tags-at): New function.
7020         (org-get-local-tags): New function.
7022         * org-exp.el (org-export-get-categories): New function.
7024         * org-agenda.el (org-sorting-choice)
7025         (org-agenda-sorting-strategy, org-agenda-get-todos)
7026         (org-agenda-get-timestamps, org-agenda-get-deadlines)
7027         (org-agenda-get-scheduled, org-agenda-get-blocks)
7028         (org-entries-lessp): Implement sorting by TODO state.
7029         (org-cmp-todo-state): New defsubst.
7031         * org-colview.el (org-colview-construct-allowed-dates): New
7032         function.
7033         (org-columns-next-allowed-value): Use
7034         `org-colview-construct-allowed-dates'.
7036         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
7037         function.
7038         (org-columns-next-allowed-value): Use
7039         `org-colview-construct-allowed-dates'.
7041 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
7043         * org.el (org-protect-slash): New function.
7044         (org-get-refile-targets): Use `org-protect-slash'.
7046         * org-agenda.el (org-global-tags-completion-table): New variable.
7048         * org-exp.el (org-export-handle-export-tags): New function.
7049         (org-export-preprocess-string): Call
7050         `org-export-handle-export-tags'.
7052         * org-plot.el: New file.
7054         * org-publish.el (org-publish-expand-components): Function removed.
7055         (org-publish-expand-projects): Allow components to have components.
7057 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
7059         * org.el (org-indent-line-function): Do not indent in regions that
7060         are external source code.
7061         (org-yank-and-fold-if-subtree): New function.
7063         * org-agenda.el (org-agenda-todayp): New function.
7064         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
7065         `org-agenda-todayp'.
7067         * org.el (org-insert-heading-respect-content)
7068         (org-insert-todo-heading-respect-content): New commands.
7069         (org-insert-heading-respect-content): New option.
7070         (org-insert-heading): Respect `org-insert-heading-respect-content'.
7072         * org-clock.el (org-clock-find-position): Make sure the note after
7073         the clock line gets moved into the new clock drawer.
7075 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
7077         * org-id.el (org-id-new): New option.
7079 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
7081         * org-table.el (org-table-copy-down): Avoid overflow during
7082         increment.  Use prefix argument 0 to temporarily disable the
7083         increment.
7085 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
7087         * org-exp.el (org-export-as-html): Do not turn on the major mode
7088         if the buffer will be killed anyway.
7089         (org-get-current-options): Exclude the #+TEXT field.
7090         (org-export-as-html): Make sure text before the first headline is
7091         a paragraph.
7093         * org-publish.el (org-publish-org-to): Tell the exporter that this
7094         buffer will be killed, so it is not necessary to do major mode
7095         initialization.
7097         * org-archive.el (org-archive-to-archive-sibling): Show empty
7098         lines after folding the archive sibling.
7100         * org.el (org-log-note-extra): New variable.
7102 2008-09-05  Bastien Guerry  <bzg@altern.org>
7104         * org.el (org-additional-option-like-keywords): Added keywords for
7105         the _QUOTE, _VERSE and _SRC environments.
7107         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
7108         exporting _QUOTE and _VERSE environments.
7110 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
7112         * org-agenda.el (org-agenda-filter-by-tag): New command.
7114         * org-exp.el (org-get-current-options): Remove angular brackets
7115         from the date entry.
7117         * org.el (org-edit-fixed-width-region): New function.
7118         (org-edit-fixed-width-region): Also try
7119         `org-edit-fixed-width-region'.
7120         (org-edit-fixed-width-region-mode): New option.
7121         (org-activate-code): Only interprete lines starting with colon
7122         plus a space as example lines.
7124         * org-remember.el (org-remember-templates): Add nil instead of
7125         empty strings to fix the length of remember templates.
7127         * org-table.el (org-calc-default-modes): Fix the time format for
7128         calc, from 12 hour to 24 hour clock.
7130 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
7132         * org-agenda.el (org-agenda-get-deadlines)
7133         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
7134         entries that are pre-warnings of deadlines or reminders.
7136         * org.el (org-sort-entries-or-items): Make numeric and alpha
7137         comparisons ignore any TODO keyword and priority cookie.
7139         * org-remember.el (org-remember-handler): Reinterpretation of the
7140         prefix argument.
7142 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
7144         * org-agenda.el (org-agenda-get-scheduled): Use new
7145         `org-scheduled' face.
7147         * org-faces.el (org-scheduled): New face.
7149         * org-wl.el (org-wl-open): Remove incorrect declaration.
7151         * org-gnus.el (org-gnus-store-link): Support for :to information
7152         in gnus links.
7154         * org-exp.el (org-export-as-html): Fixed typo in creator
7155         information.
7156         (org-export-protect-examples): New parameter indent.  Insert extra
7157         spaces only when this parameter is specified.
7158         (org-export-preprocess-string): Call `org-export-protect-examples'
7159         with an indentation parameter when exporting to ASCII.
7161         * org-remember.el (org-remember-templates)
7162         (org-remember-apply-template): Allow the file component to be a
7163         function.
7165         * org.el (org-goto-local-search-headings): Renamed from
7166         `org-goto-local-search-forward-headings'.  Added the possibility
7167         to search backwards.
7169 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
7171         * org-export-latex.el (org-export-latex): New customization
7172         group.
7174         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
7176 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
7178         * org-exp.el (org-html-do-expand): Allow {} to terminate
7179         tex macro
7181 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
7183         * org.el (org-buffer-list): Select buffers based on major mode,
7184         not on file name.
7186 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
7188         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
7189         face property.
7191         * org-colview.el (org-columns-display-here): Use
7192         `org-columns-modify-value-for-display-function'.
7194         * org-colview-xemacs.el (org-columns-display-here): Use
7195         `org-columns-modify-value-for-display-function'.
7197 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
7199         * org.el (org-columns-modify-value-for-display-function): New option.
7211         * org-publish.el (org-publish-file): Make sure the directory match
7212         for the publishing directory works correctly.
7214         * org-agenda.el (org-agenda-execute-calendar-command)
7215         (org-agenda-diary-entry): Additional optional argument.
7217 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
7219         * org-exp.el (org-export-as-html): Add attributes also in mailto
7220         and ftp links.
7222         * org.el (org-autoload): Add `org-dblock-write:columnview'.
7231 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
7233         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7234         sure that calls from `org-export-region-as-html' do not do the
7235         special check for a subtree.
7237 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
7239         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7241 2008-07-20  Juri Linkov  <juri@jurta.org>
7243         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7244         new keymap `narrow-map' instead of binding "\C-xns".
7246 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
7248         * org.el (org-open-file): Use
7249         `org-open-directory-means-index-dot-org'.
7250         (org-open-directory-means-index-dot-org): New option.
7252 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
7254         * org.el (org-make-link-string): Remove link attributes from
7255         description.
7256         (org-open-at-point): Remove link attributes bevore using the path.
7258         * org-exp.el (org-export-as-html): Handle link attributes.
7260         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7262         * org-table.el (org-table-to-lisp): New function.
7264         * org.el (org-narrow-to-subtree): Do not include the final newline
7265         into the narrowed region.
7267         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
7268         bug with user-define skipping condition.
7270 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
7272         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
7274 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
7276         * org-exp.el (org-export-html-style-default): Automatic overflow
7277         handling for pre fields.
7278         (org-export-as-ascii, org-export-as-html): Change default format
7279         for time stamp.
7281         * org-table.el (org-table-export): Offer completion for translator
7282         functions, and do not require a heading above the table.
7284         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7285         Cater for the case of a list starting in the first line of the
7286         buffer.
7288 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
7290         * org-publish.el (org-publish-find-title): Bug fix.
7291         (org-publish-org-index): Implement new :index-style option.
7293 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
7295         * org-publish.el (org-publish-timestamp-filename): Use
7296         SHA1-encoded file names in the timestamp directory.
7298 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
7300         * org-publish.el (org-publish-needed-p): Be verbose about files
7301         published and files skipped.
7303         * org-exp.el (org-export-preprocess-string): Swap link
7304         normalization and inernal link targeting.
7306         * org-publish.el (org-publish-needed-p): Create timestamp
7307         directory when it does not exist.
7309 2008-07-04  Bastien Guerry  <bzg@altern.org>
7311         * org-clock.el (org-clock-out-when-done): Doc fix.
7313         * org.el (org-agenda-skip-unavailable-files): Doc fix.
7315         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7316         Ignore case when searching for the COMMENT cookie at export time.
7318 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
7320         * org-exp.el (org-get-file-contents)
7321         (org-get-and-remove-property): New functions.
7322         (org-export-handle-include-files): Handle the new prefix options.
7323         (org-export-as-html): Fix the verse environment.
7325 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
7327         * org.el (org-time=, org-time<, org-time<=, org-time>)
7328         (org-time>=, org-time<>, org-2ft): New functions.
7329         (org-op-to-function): Also provide for the time testing fucntions.
7331 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
7333         * org-exp.el (org-export-html-style-default): New constant.
7335 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
7337         * org-exp.el (org-export-html-style-extra): New variable.
7338         (org-export-splice-style): New function.
7340 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
7342         * org-exp.el (org-export-plist-vars, org-export-as-html):
7343         Implement `org-export-creator-info'.
7344         (org-export-creator-info): New option.
7346 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
7348         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7349         (org-property-drawer-re, org-clock-drawer-re): New constants.
7351 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
7353         * org-exp.el (org-icalendar-use-deadline)
7354         (org-icalendar-use-scheduled): New options.
7355         (org-icalendar-include-todo): Default changed to t.
7356         (org-print-icalendar-entries): Implement better utilization of
7357         scheduling and deadline time stamps.
7358         (org-export-target-internal-links, org-export-as-html): Allow file
7359         lines without the "file:" prefix if the file path is an absolute
7360         path or starts with ".".
7362         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
7363         lastweek etc.
7364         (org-clock-special-range): Also undertand yesterday, lastweek etc.
7366 2008-06-18  Glenn Morris  <rgm@gnu.org>
7367         * org.el (org-map-entries): Let-bind `file'.
7369 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
7371         * org.el (org-agenda-skip-archived-trees): Docstring now
7372         discourages using this.
7373         (org-scan-tags): Check for org-agenda-archives-mode.
7374         (org-map-entries): Make sure org-agenda-archives-mode is nil.
7375         (org-agenda-files): Functionality of second arg changed.
7377         * org-agenda.el (org-agenda-archives-mode): New variable
7378         (org-write-agenda, org-prepare-agenda, org-agenda-list)
7379         (org-search-view, org-todo-list, org-tags-view)
7380         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7381         `ifmode' argument.
7382         (org-agenda-quit): Reset the archives mode.
7383         (org-agenda-archives-mode): New command.
7384         (org-agenda-set-mode-name): Include archives info.
7386 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
7388         * org.el (org-paste-subtree): Make sure the yanked headline is
7389         visible if it was yanked at a visible point.
7390         (org-move-item-up): Fix the bug with moving white space at the end
7391         of the item.
7392         (org-show-empty-lines-in-parent): New function.
7394 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
7396         * org-colview.el (org-columns-next-allowed-value): Bug fix.
7398         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7400         * org-agenda.el (org-agenda-get-closed): Get the end time into the
7401         agenda prefix as well.
7403         * org-publish.el (org-publish-org-index): Make a properly indented
7404         list.
7406         * org.el (org-calendar-agenda-action-key): New option.
7407         (org-get-cursor-date): New function.
7408         (org-mark-entry-for-agenda-action): New command.
7409         (org-overriding-default-time): New variable.
7410         (org-read-date): Respect `org-overriding-default-time'.
7412         * org-remember.el (org-remember-apply-template): Respect the
7413         ovverriding default time.
7415         * org-agenda.el (org-agenda-action-marker): New variable.
7416         (org-agenda-action): New command.
7417         (org-agenda-do-action): New function.
7419 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7421         * org.el (org-schedule, org-deadline): Protect scheduled and
7422         deadline tasks against changes that accidently remove the
7423         repeater.  Also show a message with the new date when done.
7425 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7427         * org.el (org-beginning-of-line): Cater for the case when there
7428         are tags but no headline text.
7429         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7430         it set.
7432 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
7434         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7435         the return value is nil instead of "nil" when there is no match.
7437         * org-exp.el (org-insert-centered): Use fill-column instead of
7438         80.
7439         (org-export-as-ascii): Use string-width to measure the width of
7440         the heading.
7442         * org.el (org-diary-to-ical-string): No longer kill buffer
7443         FROMBUF, this is now done by the caller.
7445         * org-exp.el (org-print-icalendar-entries): Move the call to
7446         `org-diary-to-ical-string' out of the loop, and kill the buffer
7447         afterwords.
7449         * org-remember.el (org-remember-visit-immediately): Position
7450         cursor after moving to the note.
7451         (org-remember-apply-template): Use a text property to record the
7452         cursor position.
7453         (org-remember-handler): Align tags after pasting the note.
7455 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
7457         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7459         * org-agenda.el (org-agenda-open-link): If there is an
7460         org-bbdb-name property in the current line, jump to that bbdb
7461         entry.
7463         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7464         text property, so that the agenda knows where this entry comes
7465         from.
7467         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
7468         interaction between clocking-in from the agenda, and  automatic
7469         task state switching.
7471         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
7473         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7474         zmacs-region stays after this command in XEmacs.
7476 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
7478         * org.el (org-scan-tags): Allow new values for ACTION parameter.
7480         * org-remember.el (org-remember-templates): Fix bug in
7481         customization type definition.
7483         * org.el (org-map-entries): New function.
7485 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
7487         * org-agenda.el (org-agenda-skip-comment-trees): New option.
7488         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7490 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
7492         * org-remember.el (org-jump-to-target-location): New variable.
7493         (org-remember-apply-template): Set
7494         `org-remember-apply-template' if requested by template.
7495         (org-remember-handler): Start an idle timer to jump to
7496         remember location.
7498         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7500         * org.el (org-set-regexps-and-options): Fix bug with parsing of
7501         file tags.
7502         (org-get-tags-at): Add the content of `org-file-tags'.
7504         * org-exp.el (org-export-handle-comments): Fix bug with several
7505         comment lines after each other.
7506         (org-number-to-roman, org-number-to-counter): New functions.
7507         (org-export-section-number-format): New option.
7509 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
7511         * org-exp.el (org-export-protect-examples): Catch the case of a
7512         missing end_example line.
7514         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7515         `org-file-tags' to nil.
7517         * org-colview.el (org-columns-next-allowed-value): Handle next
7518         argument NTH to directly select a value.
7520         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7521         argument NTH to directly select a value.
7523 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
7525         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7527 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
7529         * org.el (org-columns-ellipses): New option.
7531 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
7533         * org-colview.el (org-columns-add-ellipses): New function.
7534         (org-columns-compact-links): New function.
7535         (org-columns-cleanup-item): Call `org-columns-compact-links'.
7536         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7537         when in agenda.
7538         (org-columns-edit-value): Fixed bug with editing values from
7539         agenda column view.
7540         (org-columns-redo): Also redo the agenda itself.
7542 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
7544         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7545         option.
7547         * org-colview.el (org-agenda-columns-cleanup-item): New function.
7549         * org-exp.el (org-export-ascii-preprocess): Renamed from
7550         `org-export-ascii-clean-string'.
7551         (org-export-kill-licensed-text)
7552         (org-export-define-heading-targets)
7553         (org-export-handle-invisible-targets)
7554         (org-export-target-internal-links)
7555         (org-export-remove-or-extract-drawers)
7556         (org-export-remove-archived-trees)
7557         (org-export-protect-quoted-subtrees)
7558         (org-export-protect-verbatim, org-export-protect-examples)
7559         (org-export-select-backend-specific-text)
7560         (org-export-mark-blockquote-and-verse)
7561         (org-export-remove-comment-blocks-and-subtrees)
7562         (org-export-handle-comments, org-export-mark-radio-links)
7563         (org-export-remove-special-table-lines)
7564         (org-export-normalize-links)
7565         (org-export-concatenate-multiline-links)
7566         (org-export-concatenate-multiline-emphasis): New functions,
7567         obtained from spliiting the export preprocessor.
7569         * org-table.el (org-table-recalculate): Improve error message if
7570         the row number is invalid.
7572 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7574         * org-archive.el (org-archive-save-context-info): Fix bugs in
7575         customization setup and docstring.
7577         * org-exp.el (org-export-html-style): Changed the size of in the
7578         <pre> element to 90%.
7580 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7582         * org.el (org-find-src-example-start): Function removed.
7583         (org-edit-src-find-region-and-lang): New function.
7585 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7587         * org.el (org-edit-src-exit): New function.
7588         (org-exit-edit-mode): New minor mode.
7590         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7591         comment-like lines from protected examples.
7593         * org.el (org-edit-src-example, org-find-src-example-start)
7594         (org-protect-source-example, org-edit-special): New functions.
7596 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7598         * org-publish.el (org-publish-project-alist): Fix typo in
7599         docstring.
7600         (org-publish-project-alist): Handle :index-title property.
7602 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7604         * org-export-latex.el (org-export-as-latex): Make sure region
7605         bounds are correct.  Parse subtree properties relating to export.
7607         * org-exp.el (org-export-add-options-to-plist): New function.
7608         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7610 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7612         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7613         EXPORT_TITLE.
7615         * org-exp.el (org-export-get-title-from-subtree)
7616         (org-export-as-ascii, org-export-as-html): Make sure the original
7617         region-beginning and region-end are used, even after moving
7618         point.
7619         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7620         property.
7622         * org-remember.el (org-remember-last-stored-marker): New variable.
7623         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7624         (org-remember-handler): Also use marker to remember
7625         last-stored position.
7627         * org.el (org-goto-marker-or-bmk): New function.
7629 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7631         * org.el (org-file-properties): Renamed from `org-local-properties'.
7632         (org-scan-tags): Take file tags into account.
7633         (org-tags-match-list-sublevels): Default changed to t.
7635         * org-exp.el (org-export-as-html): Close paragraph after a
7636         footnote.
7638         * org.el (org-update-parent-todo-statistics): New function.
7640         * org-exp.el (org-icalendar-store-UID): New option.
7641         (org-icalendar-force-UID): Option removed.
7642         (org-print-icalendar-entries): IMplement UIDs.
7644 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7646         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7648 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7650         * org-faces.el (org-column): Document how this face is being used
7651         and why sometimes the background faces shine through.
7653         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7655         * org-publish.el (org-publish-attachment): Create publishing
7656         directory if it does not yet exist.
7658         * org-table.el (org-calc-default-modes): Change default number
7659         format to (float 8).
7661         * org.el (org-olpath-completing-read): New function.
7662         (org-time-clocksum-format): New option.
7663         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7665         * org-clock.el (org-clock-display, org-clock-out)
7666         (org-update-mode-line): Use `org-time-clocksum-format'.
7668         * org-colview-xemacs.el (org-columns-number-to-string): Use
7669         `org-time-clocksum-format'.
7671         * org-colview.el (org-columns-number-to-string): Use
7672         `org-time-clocksum-format'.
7674 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7676         * org-id.el: New file, move from contrib to core.
7678         * org-exp.el (org-icalendar-force-UID): New option.
7680 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7682         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7683         shifted by one day if theere is a date range without an end
7684         time.
7686         * org.el (org-try-structure-completion): New function.
7688 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7690         * org.el (org-set-font-lock-defaults): Improve fontification of
7691         description lists.
7692         (org-insert-item): Handle description lists.
7693         (org-adaptive-fill-function): Improve auto indentation in
7694         description lists.
7696         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7697         Implement VERSE environment.
7698         (org-export-preprocess-string): Implement the COMMENT
7699         environment.
7701         * org-export-latex.el (org-export-latex-preprocess): Implement
7702         VERSE environment.
7704 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7706         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7707         option.
7709 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7711         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7713         * org.el (org-quote-csv-field): New functions.
7715         * org-table.el (org-table-export-default-format): Remove :splice
7716         from default format, we get the same effect by not specifying
7717         :tstart and :tend.
7718         (org-table-export): Improve setup, distinguish better between
7719         interactive and non-interactive use, allow specifying the format
7720         on the fly, better protection against wrong file names.
7721         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7722         and :tend when :splice is omitted.
7724 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7726         * org-clock.el (org-clock-select-task): Make sure the selection
7727         letters are 1-9 and A-Z, no special characters.
7729 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7731         * org-exp.el (org-export-htmlize): New group.
7732         (org-export-htmlize-output-type)
7733         (org-export-htmlize-css-font-prefix): New options.
7734         (org-export-htmlize-region-for-paste): New function.
7735         (org-export-htmlize-generate-css): New command.
7737 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7739         * org/org.el (org-modules, org-format-latex-options):
7740         * org/org-archive.el (org-archive-stamp-time)
7741         (org-archive-save-context-info):
7742         * org/org-faces.el (org-hide):
7743         * org/org-irc.el (org-irc-parse-link):
7744         * org/org-macs.el (org-call-with-arg, org-autoload):
7745         * org/org-mew.el (org-mew-store-link):
7746         * org/org-remember.el (org-remember-store-without-prompt)
7747         (org-remember-templates): Fix typos in docstrings.
7749         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7751         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7752         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7753         (org-bbdb-anniv-split): Fix typos in docstrings.
7755         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7756         (org-publish-use-timestamps-flag): Reflow docstring.
7757         (org-publish-files-alist): Fix typos in docstring.
7759 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7761         * org.el (org-set-visibility-according-to-property): New function.
7762         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7763         and compute the regular expressions, and update font-lock.
7764         (org-property-re): Allow a dash in property names.
7766         * org-archive.el (org-extract-archive-file): Insert the file name
7767         without the path into the format, to allow the location format to
7768         contain a subdirectory.
7770         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7771         of buffer, and the `org-agenda-type' property undefined, use the
7772         value from the character before.
7774         * org.el (org-add-planning-info): Don't let indentation for
7775         would-be timestamp become extra whitespace at the end of headline.
7777 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7779         * org.el (org-remove-double-quotes, org-file-contents): New
7780         functions.
7782         * org-exp.el (org-infile-export-plist): Also parse the
7783         contents of #+SETUPFILE files, recursively.
7785         * org.el (org-set-regexps-and-options): Also parse the
7786         contents of #+SETUPFILE files, recursively.
7788         * org-exp.el (org-export-handle-include-files): New function.
7789         (org-export-preprocess-string): Call
7790         `org-export-handle-include-files'.
7792         * org.el (org-delete-property-globally)
7793         (org-delete-property, org-set-property): Ignore case during
7794         completion.
7795         (org-set-property): Use `org-completing-read' instead of
7796         `completing-read'.
7798         * org.el (org-complete-expand-structure-template): New,
7799         experimental function.
7800         (org-structure-template-alist): New, experimental option.
7801         (org-complete): Call `org-complete-expand-structure-template'.
7803 2008-05-06  Bastien Guerry  <bzg@altern.org>
7805         * org-export-latex.el (org-export-latex-preprocess): Added
7806         support for blockquotes.
7808 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7810         * org.el (org-read-date-analyze): Catch the case where only a
7811         weekday is given.
7813 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7815         * org.el (org-set-font-lock-defaults): Make the description
7816         tag bold.
7818         * org-exp.el (org-export-as-html, org-close-li): Implement
7819         description lists.
7821 2008-05-04  Jason Riedy  <jason@acm.org>
7823         * org-table.el (*orgtbl-default-fmt*): New variable.
7824         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7825         when there is no other fmt available.
7827         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7828         :tend to suppress the appropriate string.
7830         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7831         table.
7833 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7835         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7836         read date.
7838         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7839         New function.
7841         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7842         New function.
7844 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7846         * org-clock.el (org-clock-find-position): Don't include notes
7847         into clock drawer.
7849         * org-archive.el (org-archive-subtree): No longer remove an
7850         extra line after cutting the subtree.  `org-cut-subtree' already
7851         takes care of this.
7853         * org-remember.el (org-remember-handler): Only kill the target
7854         buffer if it does not contain the running clock.
7856         * org.el (org-markers-to-move): New variable.
7857         (org-save-markers-in-region, org-check-and-save-marker)
7858         (org-reinstall-markers-in-region): New function.
7859         (org-move-subtree-down, org-copy-subtree): Remember relative
7860         marker positions before cutting.
7861         (org-move-subtree-down, org-paste-subtree): Restore relative
7862         marker positions after pasting.
7864         * org-remember.el (org-remember-clock-out-on-exit): New option.
7865         (org-remember-finalize): Clock out only if the setting in
7866         `org-remember-clock-out-on-exit' requires it.
7867         (org-remember-handler): Do the cleanup in the buffer, to make sure
7868         that the clock marker remains in tact.
7870 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7872         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7873         (org-clock-in): Make sure that also tasks outside the narrowed
7874         region will be clocked in correctly.
7875         (org-clock-insert-selection-line): Widen the buffer so that we can
7876         find the correct task heading.
7878         * org.el (org-base-buffer): New function.
7880         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7881         and ";" are escaped.
7882         (org-print-icalendar-entries): Also apply
7883         `org-icalendar-cleanup-string' to the headline, not only to the
7884         summary property.
7886 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7888         * org-exp.el (org-export-preprocess-hook): New hook.
7889         (org-export-preprocess-string): Call
7890         `org-export-preprocess-hook'.
7892         * org.el (org-font-lock-hook): New variable.
7893         (org-font-lock-hook): New function.
7894         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7896 ;; Local Variables:
7897 ;; coding: utf-8
7898 ;; add-log-time-zone-rule: t
7899 ;; End:
7901     Copyright (C) 2008  Free Software Foundation, Inc.
7903   This file is part of GNU Emacs.
7905   GNU Emacs is free software: you can redistribute it and/or modify
7906   it under the terms of the GNU General Public License as published by
7907   the Free Software Foundation, either version 3 of the License, or
7908   (at your option) any later version.
7910   GNU Emacs is distributed in the hope that it will be useful,
7911   but WITHOUT ANY WARRANTY; without even the implied warranty of
7912   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7913   GNU General Public License for more details.
7915   You should have received a copy of the GNU General Public License
7916   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7918 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c