Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
[org-mode.git] / lisp / ChangeLog
blob6864eaeb55fe262a6daf91fdad2685d5e47389dd
1 2010-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-html.el (org-html-level-start): Catch the case that target
4         might be nil.
6 2010-03-31  Dan Davison  <davison@stats.ox.ac.uk>
8         * org.el (org-appearance): Change Customize group variable name
9         from org-font-lock to org-appearance, and change tag from "Org
10         Font Lock" to "Org Appearance"
11         (org-odd-levels-only): Change Customize group variable name
12         (org-level-color-stars-only): Change Customize group variable name
13         (org-hide-leading-stars): Change Customize group variable name
14         (org-hidden-keywords): Change Customize group variable name
15         (org-fontify-done-headline): Change Customize group variable name
16         (org-fontify-emphasized-text): Change Customize group variable name
17         (org-fontify-whole-heading-line): Change Customize group variable name
18         (org-highlight-latex-fragments-and-specials): Change Customize
19         group variable name
20         (org-hide-emphasis-markers): Change Customize group variable name
21         (org-emphasis-alist): Change Customize group variable name
22         (org-emphasis-regexp-components): Change Customize group variable
23         name
24         (org-modules): Remove mention of org-R
26         * org-faces.el (org-faces): Change Customize group variable name
28 2010-03-29  Carsten Dominik  <carsten.dominik@gmail.com>
30         * org-agenda.el (org-diary-last-run-time): New variable.
31         (org-diary): prepare agenda buffers only if last call was some
32         time ago.
34         * org-html.el (org-export-html-preprocess): Replace \ref macros
35         with a link.
36         (org-format-org-table-html): Add the label as an anchor.
38         * org-docbook.el (org-export-docbook-format-image): Do some
39         formatting on captions.
41         * org-latex.el (org-export-latex-tables, org-export-latex-links):
42         Do some formatting on captions.
44         * org-html.el (org-export-html-format-image)
45         (org-format-org-table-html): Do some formatting on captions.
47 2010-03-28  Dan Davison  <davison@stats.ox.ac.uk>
49         * org.el (org-hidden-keywords): New customizable variable. This is
50         a list of symbols specifying which of the special keywords #+DATE,
51         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
52         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
53         implementing new faces and hiding behaviour.
55         * org-faces.el (org-document-title): New face for #+TITLE lines
56         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines
57         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL keywords
59 2010-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
61         * org-publish.el (org-publish-sanitize-plist): New function to
62         rename "index" properties to "sitemap".  Do this renaming
63         globally.
64         (org-publish-with-aux-preprocess-maybe): New macro.
65         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
66         macro.
67         (org-publish-aux-preprocess)
68         (org-publish-index-generate-theindex.inc): New function.
70 2010-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
72         * org-table.el (org-table-align): Interpret <N> at fixed width,
73         not as maximum width.
75 2010-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
77         * org-exp.el (org-export-author-info, org-export-email-info): Fix
78         docstrings.
80         * org-beamer.el (org-beamer-select-environment): Renamed from
81         `org-beamer-set-environment-tag'.  Improve docstring.
83         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
84         problem with odd levels.
86         * org-ascii.el (org-export-as-ascii): Export email only if the
87         author wants it.
89         * org-docbook.el (org-export-as-docbook): Export email only if the
90         author wants it.
92         * org-html.el (org-export-as-html): Export email only if the
93         author wants it.
95         * org-exp.el (org-export-email-info): New option.
96         (org-export-plist-vars): Add entry for `org-export-email'.
98 2010-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
100         * org-table.el (org-table-goto-line): Fix typo.
102 2010-03-25  Mikael Fornius  <mfo@abc.se>
104         * org.el (org-agenda-files): Typo.
105         (org-read-agenda-file-list): Add optional argument to help
106         `org-store-new-agenda-file-list' to remember un-expanded file
107         names.  Expand file names relative to `org-directory'.
108         (org-store-new-agenda-file-list): Keep un-expanded file names when
109         saving, if available.
110         (org-agenda-files): Update documentation.
112 2010-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
114         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
115         a buffer with no file name attached.
117         * org.el (org-log-refile): New option.
118         (org-log-note-headings): Add a heading for refiling.
119         (org-startup-options): Add keywords for logging of the refile
120         action.
121         (org-refile): Add logging action.
122         (org-add-log-note): Allow for refiling action.
124         * org-agenda.el (org-agenda-bulk-action): Make sure
125         `org-log-refile' is not `note' during a bulk action.
127 2010-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
129         * org.el (org-map-dblocks): Use save-excursion to remember the
130         position.
132         * org-attach.el (org-attach-commit): Remove dependence on xargs.
133         (org-attach-delete-one): Commit after deleting a file.
135         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
136         borders for strike-through emphasis.
138         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
139         handling of odd levels.
141         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
142         and `future' values.
143         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
144         Handle `past' and `future' values.
146         * org.el (org-read-agenda-file-list): Interpret file names
147         relative to org-directory and allow environment variables and
148         "~".
150         * org-latex.el (org-export-latex-special-chars): Allow a
151         parenthesis before an exponent or subscript.
153 2010-03-23  Dan Davison  <davison@stats.ox.ac.uk>
155         * org-src.el (org-edit-src-exit): When returning from code edit
156         buffer, if code block is hidden, leave point at start of
157         #+begin_src line
159 2010-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
161         * org.el (org-insert-heading): Do not remove all spaces if the
162         headline is empty.
164         * org-indent.el (org-indent): Fix group name.
166 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
168         * org-table.el (org-table-goto-column): Fix forcing a non-existing
169         column.
170         (org-table-get, org-table-put, org-table-goto-line)
171         (org-table-current-line): New functions.
173 2010-03-21  Jan Böcker  <jan.boecker@jboecker.de>
175         * org.el (org-open-file): Allow regular expressions in
176         org-file-apps to capture link parameters using groups.  In a
177         command string to be executed, the parameters can be referenced
178         using %1, %2, etc.  Lisp forms can access them using
179         (match-string n link).
180         (org-apps-regexp-alist): Adopt the created regexp, as this is now
181         matched against a file: link instead of the file name.
183 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
185         * org-crypt.el (org-reveal-start-hook): Add a decryption function
186         to this hook.
187         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
188         docstrings.
190         * org.el (org-point-at-end-of-empty-headline)
191         (org-level-increment, org-get-previous-line-level): New function.
192         (org-cycle-level): Rewritten to be independent of when this
193         function is called.
194         (org-in-regexps-block-p): New function.
195         (org-reveal-start-hook): New hook.
196         (org-reveal): Run new hook.
198 2010-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
200         * org-latex.el (org-export-latex-keywords): Start a new paragraph
201         after time keywords, do not add "\newline".
203         * org-html.el (org-export-as-html): Avoid double # in href.
205         * org.el (org-refile-get-location): Catch an invalid target
206         specification.
208 2010-03-18  Carsten Dominik  <carsten.dominik@gmail.com>
210         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
211         Make sure the behavior regarding to extracting time is
212         consistent.
214 2010-03-17  Stephen Eglen  <stephen@gnu.org>
216         * org-agenda.el (org-agenda-insert-diary-extract-time): New
217         variable.
218         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
219         variable rather than `org-agenda-search-headline-for-time'.
221 2010-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
223         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
225 2010-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
227         * org.el (org-adaptive-fill-regexp-backup): New variable.
228         (org-set-autofill-regexps): Store a backup of
229         `adaptive-fill-regexp'.
230         (org-adaptive-fill-function): Fix filling of comments and ordered
231         lists. If there is no other match, till try adaptive fill.
233 2010-03-15  John Wiegley  <jwiegley@gmail.com>
235         * org-agenda.el (org-agenda-include-deadlines): Added new
236         customization variable to determine whether unscheduled tasks
237         should appear in the agenda solely because of their deadline.
238         Default to true, which was the previous behavior (it just wasn't
239         configurable).
240         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
241         the agenda to show/hide deadline tasks.
242         (org-agenda-menu): Added menu option for show/hide deadlines.
243         (org-agenda-list): Make the agenda list sensitive to the value of
244         `org-agenda-include-deadlines'.
245         (org-agenda-toggle-deadlines): New function to toggle the value of
246         `org-agenda-include-deadlines' and repaint the modeline
247         indicators.
248         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
249         modeline if deadline tasks are being displayed.
251 2010-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
253         * org-table.el (org-table-eval-formula): Replace $# and @# by
254         current column and row number.
256 2010-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
258         * org.el (org-set-property, org-delete-property): Go back to
259         prompting for the property.
261         * org-latex.el (org-export-latex-make-header): Fully process
262         author line.
263         (org-export-latex-fontify-headline): Allow several arguments, not
264         just one.
265         (org-export-latex-fix-inputenc): Catch the error when
266         `latexenc-coding-system-to-inputenc' is not defined.
268         * org-agenda.el (org-agenda-skip-if-todo): New function.
269         (org-agenda-skip-if): Add conditions for TODO keywords.
270         (org-agenda-skip-if): Document the new todo conditions.
272 2010-03-11  Mikael Fornius  <mfo@abc.se>
274         * org.el (org-at-property-p): Check if we are inside a property
275         drawer not just any drawer.
276         (org-set-property, org-delete-property): When cursor is on a
277         property key value pair do not prompt for property name instead
278         use name at cursor.
279         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
280         on the first line of a property drawer.
281         (org-property-end-re): Spell check.
283 2010-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
285         * org-exp.el (org-export-attach-captions-and-attributes): Add the
286         properties to the entire table, in case the first line is
287         removed.
289         * org-archive.el (org-archive-reversed-order): New option.
290         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
291         option `org-archive-reversed-order'.
293 2010-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
295         * org-agenda.el (org-agenda-entry-types): New variable.
296         (org-agenda-list): Use `org-agenda-entry-types'.
297         (org-agenda-custom-commands-local-options): Support for setting
298         `org-agenda-entry-types' as an option.
299         (org-diary): Shift some documentation from here to the variable
300         `org-agenda-entry-types'.
302 2010-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
304         * org-latex.el (org-export-latex-make-header): Apply macros in
305         author field.
307         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
308         (org-clock-select-task, org-clock-notify-once-if-expired)
309         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
310         (org-clock-out-if-current, org-clock-save): Use the new functions.
312 2010-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
314         * org-docbook.el (org-export-as-docbook): Remove unnecessary
315         newline.
316         (org-export-as-docbook): Remove unnecessary newline.
317         (org-export-as-docbook): Fix problem with double footnote
318         reference in one place.
320         * org-exp.el (org-export-format-source-code-or-example): Remove
321         unnecessary newline.
323         * org.el (org-deadline, org-schedule): Allow rescheduling entries
324         with repeaters.
326         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
327         function calls that look like references.
329         * org.el (org-open-at-point): Get link abbreviations from
330         reference buffer.
332 2010-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
334         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
335         as a reference.
337 2010-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
339         * org.el (org-link-unescape): Solve issue with lower-case escapes.
341 2010-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
343         * org-latex.el (org-export-latex-classes): Add
344         \usepackage{latexsym} to all classes.
346 2010-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
348         * org-html.el (org-export-as-html): Do not allow protected lines
349         into the table of contents.
351         * org-latex.el (org-export-latex-special-chars): Find subsequent
352         occurrences of special characters.
353         (org-export-latex-tables): Do not convert table-like stuff that is
354         protected.
356 2010-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
358         * org-list.el (org-toggle-checkbox): No errors when updating
359         checkbox count fails because there is no heading.
361 2010-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
363         * org-clock.el (org-clock-report-include-clocking-task): New
364         option.
365         (org-clock-sum): Add the current clocking task.
367 2010-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
369         * org.el (org-cycle): Print a message when in a table.el table.
370         (org-edit-special): Recognize the table.el context.
371         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
373         * org-src.el (org-at-table.el-p): Declare.
374         (org-edit-src-code): Handle a special case for table.el editing.
375         (org-edit-src-find-region-and-lang): Recognize the table.el
376         context.
378         * org-latex.el (org-export-latex-tables): Convert table.el
379         tables.
380         (org-export-latex-convert-table.el-table): New function.
382         * org-html.el (org-html-expand): Fix table.el export.
384         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
385         headings.
387         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
388         table for the id locations.
390         * org.el (org-read-date-analyze): Match American-style dates, like
391         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
392         current year when reading ISO and American dates.
394 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
396         * org.el (org-face-from-face-or-color): New function.
397         (org-get-todo-face, org-font-lock-add-priority-faces)
398         (org-get-tag-face): Use `org-face-from-face-or-color'.
400         * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
401         simple colors as values.
402         (org-faces-easy-properties): New option.
404         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
405         restricted, as an agenda mode.
406         (org-agenda-fontify-priorities): Allow simple colors as values.
408 2010-02-25  Bastien Guerry  <bzg@altern.org>
410         * org-timer.el (org-timer-current-timer): Renamed from
411         `org-timer-last-timer'.
412         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
413         (org-timer-cancel-timer, org-timer-show-remaining-time)
414         (org-timer-set-timer): Update to use only one timer.
416         * org.el (org-set-property): Remove useless space in the prompt.
418 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
420         * org-html.el (org-export-html-style-default): Add a default style
421         for textareas.
423         * org-exp.el (org-export-format-source-code-or-example): Fix
424         textarea tag.
426 2010-02-24  Bastien Guerry  <bzg@altern.org>
428         * org-clock.el (org-clock-current-task): New variable to store
429         last clocked in task.
430         (org-clock-set-current, org-clock-delete-current): New functions.
432 2010-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
434         * org-remember.el (org-remember-apply-template): Extend comment.
435         (org-remember-handler): Implement clock sibling filing.
437 2010-02-23  Carsten Dominik  <carsten.dominik@gmail.com>
439         * org-publish.el (org-publish-all, org-publish-current-file)
440         (org-publish-current-project): When called with prefix argument
441         FORCE, also rebuild the validation file list.
443         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
444         section headings.
446 2010-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
448         * org-html.el (org-export-as-html-and-open): Kill product buffer
449         if the user wants that.
451         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
452         if the user wants that.
454         * org-exp.el (org-export-kill-product-buffer-when-displayed): New
455         option.
457         * org-agenda.el (org-batch-agenda-csv): Use the time property
458         instead of the `time-of-day' property.
460 2010-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
462         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
463         (org-timer-pause-hook, org-timer-set-hook)
464         (org-timer-cancel-hook): New hooks.
465         (org-timer-start): Run `org-timer-start-hook'.
466         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
467         (org-timer-stop): Run `org-timer-stop-hook'.
468         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
470 2010-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
472         * org.el (org-reveal): Double prefix arg shows the subtree of the
473         parent.
475 2010-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
477         * org-agenda.el (org-search-view): Fix bug with searching full
478         words in headlines in search view.
479         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
480         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
481         scheduled (if the user configures it so.
483 2010-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
485         * org.el (org-hide-archived-subtrees): Don't jump to end of
486         subtree if the match was not in a headline.
487         (org-inside-latex-macro-p): Allow more complex arguments.
488         (org-emphasize): Protect against use at end of buffer.
490 2010-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
492         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
493         text properties.
495 2010-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
497         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
498         values.
499         (org-agenda-todo-ignore-scheduled)
500         (org-agenda-todo-ignore-deadlines): More control with different
501         allowed values.
502         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
503         Honor the new option settings.
505 2010-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
507         * org.el (org-get-location): Make sure the selection buffer is
508         shown in the current frame.
510         * org-ascii.el (org-export-ascii-table-widen-columns): New
511         option.
512         (org-export-ascii-preprocess): Realign tables to remove narrowing
513         if `org-export-ascii-table-widen-columns' is set.
515         * org-table.el (org-table-do-narrow): New variable.
516         (org-table-align): Narrow only if `org-table-do-narrow' is t.
518         * org.el (org-deadline, org-schedule): Allow updating if the
519         relevant time stamp does not have a repeater, i.e. do not require
520         that no time stamp has a repeater.
522         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
523         new white space before the tags.
525         * org-latex.el (org-export-as-latex): Do nit require the buffer to
526         be visiting a file when only exporting to a buffer or string.
527         (org-export-latex-fix-inputenc): Only save the buffer is there is
528         a file name attached to it.
530 2010-02-09  Dan Davison  <davison@stats.ox.ac.uk>
532         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
534 2010-02-08  Carsten Dominik  <carsten.dominik@gmail.com>
536         * org.el (org-fontify-meta-lines-and-blocks): Honor
537         `org-fontify-quote-and-verse-blocks'.
539         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
541 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
543         * org.el (org-open-at-point): Also check for text property
544         org-linked-text before offering collected links.
546 2010-02-03  Stephen Eglen  <stephen@gnu.org>
548         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
549         Optionally extract time specification from text and add to the
550         timestamp.
552 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
554         * org-exp.el (org-html-entities): Fix typo.
556         * org-latex.el (org-export-latex-make-header): Use \providecommand
557         to make sure the \alert macro is defined.
559         * org.el (org-format-latex-signal-error)
560         (org-create-formula-image): Use `org-format-latex-signal-error'.
562 2010-02-02  Stephen Eglen  <stephen@gnu.org>
564         * org.el (org-store-link): For dired buffers, use
565         default-directory as link name if dired-get-filename returns
566         nil.
568 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
570         * org-exp.el (org-export-concatenate-multiline-links): The for
571         protectedness at beginning of match.
573         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
574         AUTO as a coding system, instead default to utf8.
576 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
578         * org.el (org-block-todo-from-children-or-siblings-or-parent)
579         (org-block-todo-from-checkboxes): Respect the local variable
580         value when deciding if blocking should be active.
582         * org-latex.el (org-export-latex-make-header): Define the align
583         macro if it is not yet defined.
585         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
586         `org-insert-heading' with the INVISIBLE-OK argument.
588         * org-mac-message.el (org-mac-message-insert-flagged): Call
589         `org-insert-heading' with the INVISIBLE-OK argument.
591         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
593         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
594         prompt message.
596         * org-html.el (org-html-level-start): Use the
597         `html-container-class' text property to set an additional class
598         for an outline container.
600         * org-exp.el (org-export-remember-html-container-classes): New
601         function.
602         (org-export-preprocess-string): Call
603         `org-export-remember-html-container-classes'.
605         * org.el (org-cycle): Mention level cycling in the docstring.
606         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
608         * org-remember.el (org-remember-apply-template): Do file insertion
609         first.
611 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
613         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
614         problem with mis-aligned graphs when showing habits.
616 2010-01-28  Mikael Fornius  <mfo@abc.se>
618         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
619         when assigning. Begin using numerical characters when all in name
620         is used up. This is to spare alphanumeric characters for better
621         match with other keywords.
623 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
625         * org-exp.el (org-export-preprocess-hook): Improve documentation.
627         * org-latex.el (org-export-latex-preprocess): More consistent
628         conversion and protection of the words LaTeX and TeX.
629         (org-export-latex-fontify-headline, org-export-latex-preprocess):
630         Allow angle brackets in commands, for beamer.
632 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
634         * org-clock.el (org-clock-in): Improve the look of the clock line
635         by formatting links.
637 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
639         * org-latex.el (org-export-latex-classes): Use AUTO as the place
640         holder string for the coding system.  And improve the
641         documentation.
642         (org-export-latex-fix-inputenc): Only modify the coding system if
643         it is given by the placeholder AUTO.
645 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
647         * org-clock.el (org-task-overrun-text): New option.
648         (org-task-overrun, org-clock-update-period): New variables.
649         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
650         overrun clock.
651         (org-clock-notify-once-if-expired): Check if clock is overrun.
653         * org-faces.el: New face `org-mode-line-clock-overrun'.
655 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
657         * org.el (org-narrow-to-subtree): Position the end of the narrowed
658         region before the line with the next heading, to prevent the user
659         from prepending text to the next headline.
661 2010-01-20  Stephen Eglen  <stephen@gnu.org>
663         * org-agenda.el (org-get-time-of-day): Use
664         org-agenda-time-leading-zero to allow leading zero (rather than
665         space) for times.
667 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
669         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
670         org-datetree.el is loaded.
672         * org-datetree.el: autoload `org-datetree-find-day-create'
674         * org-latex.el (org-export-latex-hyperref-format): New option.
675         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
677 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
679         * org-ctags.el (org-ctags-enable): Change order of functions.
680         (org-ctags-create-tags): Add wildcard to file name expansion.
682 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
684         * org.el (org-entry-properties): Fix some important bugs.
686 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
688         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
689         the table is not explicitly given.
691 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
693         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
694         as value.
695         (org-clock-out-if-current): Work with the new list value of
696         `org-clock-out-when-done'.
697         (org-clock-out, org-clock-out-if-current): Avoid circular logic
698         between clocking out and state changes.
700         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
702         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
703         accident protect a character that is before a backslash.
705 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
707         * org-agenda.el (org-diary-class): Use
708         `org-order-calendar-date-args'.
710         * org.el (org-order-calendar-date-args): New function.
712         * org-exp.el (org-export-target-internal-links): Check for
713         protectedness after the first bracket.
715         * org.el (org-entry-properties): Don't match wrong-case TODO
716         keywords.
718         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
719         Document that ARG is passed through to remove the date.
720         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
721         not read a date when the user has given a `C-u' prefix.
723 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
725         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
726         tags are hidden.
728 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org-latex.el (org-export-latex-fix-inputenc): New function.
731         (org-export-latex-inputenc-alist): New option.
733         * org-exp.el (org-export): New key SPC to publish enclosing
734         subtree.
736 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
738         * org-indent.el (org-indent-add-properties): Catch case when there
739         is no headline in the buffer.
741 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
743         * org-exp.el (org-html-entities): Add checkmark symbol.
745         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
746         verbatim code for ASCII export.
748         * org.el (org-update-statistics-cookies): Also see checkboxes in
749         ordered lists.
751 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
753         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
754         key.
756         * org-beamer.el (org-beamer-amend-header): Change the location
757         where `org-beamer-header-extra' is inserted.
759         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
760         just for computing this regexp.
762 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
764         * org-beamer.el (org-beamer-frame-default-options): New option.
765         (org-beamer-sectioning): Use default options if the user does not
766         have defined any.
767         (org-beamer-fix-toc): Put a frame around the table of contents.
769         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
770         sure case-folding works well when processing comment stuff.
772         * org-latex.el (org-export-latex-after-save-hook): New hook.
773         (org-export-as-latex): Run the new hook.
775 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
777         * org-beamer.el (org-beamer-environments-default): Add the note
778         environments.
779         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
780         lines and collect and combine the content.
781         (org-beamer-after-initial-vars): Check for note tags and make sure
782         they will be seen like a property.
784         * org.el (org-offer-links-in-entry): Fix bug when there is a
785         single link.
787         * org-exp.el (org-export): Make sure the mark is activated, also
788         when `transient-mark-mode' is off.
790         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
791         (org-agenda-search-view-search-words-only): Obsolete variable, is
792         now an alias for `org-agenda-search-view-always-boolean'.
793         (org-agenda-search-view-force-full-words): New option.
794         (org-search-view): Improve docstring, and implement a better logic
795         for Boolean and phrase searches.
796         (org-agenda-last-search-view-search-was-boolean): New variable.
797         (org-agenda-manipulate-query): Consider the type of the last
798         search when modifying the search string.
800 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
802         * org-latex.el (org-export-as-latex): Do the first letbind in the
803         right moment.
805         * org-agenda.el (org-get-entries-from-diary): Add the new face to
806         these entries.
808         * org-faces.el (org-agenda-diary): New face.
810         * org.el (org-make-link-regexps): Allow regexp-special characters
811         in link types.
812         (org-open-file): When in-emacs is `system', also force system
813         opening, like when the value was `(16)'.
814         (org-update-statistics-cookies): Handle entries without children.
816         * org-exp.el
817         (org-export-preprocess-before-normalizing-links-hook): New hook.
818         (org-export-preprocess-string): Run the new hook.
820         * org.el (org-offer-links-in-entry): Make RET open all links.
822         * org-html.el (org-export-as-html): Remove any leftover display
823         properties in the html file.
825         * org-wl.el (org-wl-store-link): Work-around for format bug with
826         text properties.
828         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
829         invisibility while adding the graphs.
831 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
833         * org-remember.el (org-select-remember-template): Use C letter to
834         customize remember templates.
836         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
837         Move cursor to next visible line.
839 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
841         * org-beamer.el (org-beamer-sectioning): Leave columns environment
842         by specifying 0 or 1 for column width.
843         (org-beamer-column-widths): Make 0 stand for 0.0.
845 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
847         * org-exp.el (org-export-mark-radio-links): Don't match inside
848         <<target>>.
850         * org.el (org-format-latex-header-extra): New variable.
851         (org-format-latex): Set org-format-latex-header-extra from
852         in-buffer stuff.
853         (org-format-latex): Add org-format-latex-header-extra to the
854         variables on which image creation depends.
855         (org-create-formula-image): Add the header stuff from in-buffer
856         settings.
857         (org-read-date-analyze): Base the analysis for future preference
858         on NOW, not on the default date.
860         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
861         for TODO keyword in inline tasks.
863         * org.el (org-log-note-headings): New headings for removing
864         deadline or scheduling date.
865         (org-deadline, org-schedule): Arrange for logging when removing a
866         date.
867         (org-add-log-note): Handle deadline and scheduling removal.
869 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
871         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
873 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
875         * org-agenda.el (org-diary-class): New function.
877 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
879         * org-latex.el (org-export-latex-preprocess): Do process the text
880         of a radio target.
882 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
884         * org.el (org-entry-properties): Add TIMESTAMP properties back
885         in.
887 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
889         * org.el (org-all-time-keywords): New variable.
890         (org-set-regexps-and-options): Set `org-all-time-keywords'.
891         (org-entry-blocked-p): New function.
892         (org-special-properties): Add BLOCKED as a new special property.
893         (org-entry-properties): New optional argument SPECIFIC, only parse
894         for this property when it is specified.
895         (org-entry-get): Pass a SPECIFIC argument to
896         `org-entry-properties'.
898         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
900 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
902         * org-latex.el (org-export-latex-tables): No forced line end if
903         there is no caption.
905 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
907         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
908         package.
910         * org-latex.el (org-export-latex-tables): Only add a caption when
911         macro in in longtable environments if one has been defined.
913         * org-html.el (org-export-as-html): Only take title from buffer if
914         not exporting body-only.
916         * org-latex.el (org-export-latex-preprocess): Better version of
917         the regular expression for protecting LaTeX macros.
918         (org-export-latex-preprocess): Start searching for macros to
919         protect from beginning of buffer.
921         * org-exp.el (org-export-target-internal-links): Check for
922         protectedness earlier in the string.
924         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
925         case sensitively.
927         * org-id.el (org-id-store-link): Match TODO keywords case
928         sensitively.
930         * org.el (org-heading-components, org-get-outline-path)
931         (org-display-outline-path): Match TODO keywords case sensitively.
933         * org-latex.el (org-export-as-latex): Ignore read-only
934         properties.
936         * org-exp.el (org-export-preprocess-string): Remove any
937         `read-only' properties.
939         * org-agenda.el (org-agenda-inactive-leader): New option.
940         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
941         (org-tags-view): Prompt for matcher if MATCH is an empty string.
942         (org-todo-list): Prompt for matcher if ARG is an empty string.
944 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
946         * org.el (org-open-link-functions): New hook.
947         (org-open-at-point): Run `org-open-link-functions'.
949 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
951         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
952         stamps as well.
954         * org.el (org-inhibit-startup-visibility-stuff): New variable.
955         (org-mode): Don't do startup visibility if inhibited.
956         (org-outline-overlay-data, org-set-outline-overlay-data): New
957         functions.
958         (org-save-outline-visibility): New macro.
959         (org-log-note-headings): Document that one should not change the
960         `state' note format.
962 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
964         * org.el (org-make-link-regexps): Capture link path into a group.
966 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
968         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
969         the options plist.
971 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
973         * org.el (org-startup-with-beamer-mode): New option.
974         (org-property-changed-functions)
975         (org-property-allowed-value-functions): New hooks.
976         (org-entry-put, org-property-get-allowed-values): Run the new
977         hooks.
978         (org-property-next-allowed-value): Run the new hooks.
980         * org-exp.el (org-export-select-backend-specific-text): Add the
981         special beamer tags.
983         * org-beamer.el
984         (org-export-preprocess-before-selecting-backend-code-hook): New
985         file.
987         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
988         (org-export-as-latex): Run
989         `org-export-latex-after-initial-vars-hook'.
990         (org-export-latex-format-toc-function)
991         (org-export-latex-make-header): Call
992         `org-export-latex-format-toc-function'.
994         * org.el (org-fill-template): Make template searches case sensitive.
996         * org-exp.el (org-export): Use "1" as a sign to export only the
997         subtree.
999         * org-colview-xemacs.el (org-columns-edit-value): Use
1000         org-unrestricted property.
1002         * org-colview.el (org-columns-edit-value):  Use
1003         org-unrestricted property.
1005         * org.el (org-compute-property-at-point): Set org-unrestricted
1006         text property if the list contains ":ETC".
1007         (org-insert-property-drawer):  Use
1008         org-unrestricted property.
1010         * org-exp.el
1011         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
1012         (org-export-preprocess-string): Run
1013         `org-export-preprocess-before-selecting-backend-code-hook'.
1015         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
1017         * org-latex.el (org-export-region-as-latex): Run
1018         `org-export-first-hook'.
1020         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
1022         * org-docbook.el (org-export-as-docbook): Run
1023         `org-export-first-hook'.
1025         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
1027         * org-exp.el (org-export-first-hook): New hook.
1029 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
1031         * org-list.el (org-previous-item): Exit at the beginning of the
1032         buffer.
1034         * org-id.el (org-id-locations-save): Only write the id locations
1035         if any are defined.
1037         * org-archive.el (org-archive-all-done): Make this work in a file
1038         with org-odd-levels-only set.
1040         * org.el (org-get-refile-targets): Catch the case when a buffer
1041         has no file.
1043         * org-latex.el (org-export-as-latex): Cleanup forced line ends
1044         where they are not needed.
1045         (org-export-latex-subcontent): Remove unnecessary newlines.
1047 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
1049         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
1050         (org-export-latex-fontify): Fix regexp bug that takes special
1051         care of protecting the right boundary characters in emphasis
1052         matches.
1053         (org-export-latex-preprocess): Allow multiple arguments to latex
1054         macros.
1056         * org.el (org-make-link-regexps): Use John Gruber's regexp for
1057         urls.
1059         * org-macs.el (org-re): Interpret :punct: in regexps.
1061         * org-exp.el (org-export-replace-src-segments-and-examples): Also
1062         take the final newline after the END line.
1064         * org.el (org-clean-visibility-after-subtree-move): Only fix
1065         entries that are not entirely invisible already.
1066         (org-insert-link): Respect org-link-file-path-type for
1067         "docview:" links in addition to "file:" links.
1069 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
1071         * org-exp.el (org-export-format-source-code-or-example): Avoid
1072         additional extra white lines in LaTeX.
1074         * org-list.el (org-list-parse-list): Leave empty lines after the
1075         list, don't consider them as part of the list.
1077         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
1078         searches.
1080         * org-clock.el (org-clock-select-task): Convert integer to
1081         character for XEmacs.
1083 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
1085         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
1086         compatible.
1088 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
1090         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
1091         variable.
1092         (org-set-tags): Use it.
1094 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
1096         * org-list.el (org-empty-line-terminates-plain-lists): Update
1097         docstring.
1099         * org.el (org-format-latex): Fix link creation for processed latex
1100         snippets.
1102 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
1104         * org-footnote.el (org-footnote-normalize): Protect replacement
1105         text.
1107         * org.el (org-inside-latex-macro-p): Save match data.
1109 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
1111         * org-docview.el: New file.
1113 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
1115         * org-latex.el (org-export-latex-class-options): New variable.
1116         (org-export-latex-set-initial-vars): Use the class options.
1118         * org.el (org-forward-same-level): Stop at headings that start
1119         with an invisible character.
1120         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
1122 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
1124         * org-footnote.el (org-footnote-normalize): Don't take optional
1125         arguments in LaTeX macros as footnotes.
1127         * org.el (org-inside-latex-macro-p): New function.
1129         * org-latex.el (org-latex-to-pdf-process): Change customization
1130         group to `org-export-pdf'.
1132         * org-agenda.el (org-agenda-get-blocks): Look at time string also
1133         on days after the first one.
1135         * org.el (org-insert-heading): Also check for item before assuming
1136         before-first-heading condition.
1138         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
1139         (org-export-pdf-logfiles): New option.
1140         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
1141         (org-export-pdf-logfiles): Fix customization type.
1143         * org.el (org-insert-link): Improve error message when there is no
1144         default link to select with RET.
1146         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
1147         parameter list.
1149 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
1151         * org-latex.el (org-export-latex-parse-global)
1152         (org-export-latex-parse-content)
1153         (org-export-latex-parse-subcontent): Use
1154         `org-re-search-forward-unprotected'.
1155         (org-export-as-pdf): Remove log files produced by XeTeX.
1157         * org-macs.el (org-re-search-forward-unprotected): New function.
1159 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
1161         * org-colview.el (org-agenda-colview-summarize): Sort out some
1162         confusion between properties and titles, which resulted in
1163         agenda summaries not working if a title was set for a column.
1165 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
1167         * org-mobile.el (org-mobile-agendas): New option.
1168         (org-mobile-sumo-agenda-command): Select the right agendas.
1170         * org-latex.el (org-export-latex-format-image): Preserve the
1171         original-indentation property.
1173 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
1175         * org-clock.el (org-clock-insert-selection-line): Catch error when
1176         an old tasks no longer exists.
1178         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
1179         (org-export-as-pdf): Don't remove the old PDF file before making
1180         the new one.
1182         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
1183         (org-mouse-context-menu): Use `org-looking-back'.
1185         * org.el (org-cycle-level): Use `org-looking-back'.
1187         * org-list.el (org-cycle-item-indentation): Use
1188         `org-looking-back'.
1190         * org-compat.el (org-looking-back): New function.
1192         * org.el (org-insert-heading): Catch before-first-headline when
1193         inserting a headline.
1195 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
1197         * org-latex.el (org-export-latex-format-image): Indent figure
1198         environment, so that it does not interrupt plain list.
1200         * org.el (org-open-at-point): Allow long link descriptions.
1202 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1204         * org-html.el (org-export-as-html): Remove empty lines at the
1205         beginning of the exported text.
1207 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
1209         * org-protocol.el (org-protocol-remember): Cater for empty title,
1210         region, link.
1212         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1213         agenda after adding new entry.
1214         (org-agenda-get-represented-tags): New function.
1215         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
1216         to get a list of tags in the agenda.
1218         * org-datetree.el (org-datetree-find-day-create): Fix regular
1219         expression.
1221         * org.el (org-display-outline-path): Use a format specifier for
1222         message, to avoid problems with heading containing `%'.
1224         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1225         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1226         (org-agenda-fix-displayed-tags): New function.
1227         (org-agenda-do-context-action): Just call
1228         `org-display-outline-path', without piping the result through
1229         `message'.
1231         * org-latex.el (org-export-latex-preprocess): Protect secondary
1232         footnote references.
1234         * org-indent.el (org-indent-initialize): Avoid empty strings as
1235         line prefixes.
1237         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1238         hat checking for the mark does not throw an error.
1239         (org-agenda-diary-entry-in-org-file): Catch the case that there is
1240         not `day' text property in the cursor line.
1242         * org.el (org-sort-entries-or-items): Make sure that the final
1243         entry has a newline before doing the sorting.
1245         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1246         property at the beginning of the line.
1248         * org.el (org-make-link-string): Don't allow a description with
1249         only white space.
1251 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
1253         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1254         (org-agenda-insert-diary-as-top-level): New function.
1255         (org-agenda-add-entry-to-org-agenda-diary-file): Call
1256         `org-agenda-insert-diary-as-top-level'.
1258         * org.el (org-occur-in-agenda-files): Make sure none of the
1259         buffers is narrowed.
1260         (org-activate-plain-links): Add the face property here.
1261         (org-set-font-lock-defaults): Do not add the face to plain links,
1262         the activator function does this.
1264         * org-habit.el (org-is-habit-p): Add doc string.
1266 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
1268         * org-archive.el (org-archive-subtree-default-with-confirmation):
1269         Autoload.
1271         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1272         after match optional (happens at the end of a line...).
1274         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1275         for special blocks.
1277         * org-faces.el (org-copy-face): Set lisp indentation.
1278         (org-quote, org-verse): New faces.
1280         * org-agenda.el (org-agenda-remove-date): Remove variable.
1282 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1284         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1286 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1288         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1289         hash keys to cache and re-use images generated by the
1290         org-exp-blocks interface to ditaa and dot.
1292 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1294         * org-html.el (org-export-as-html): Move the home/up link into
1295         the content div.
1297         * org.el (org-export-latex-packages-alist): Option definition
1298         moved here from org-latex.el.
1300 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1302         * org.el (org-format-latex): Latex images are now saved to files
1303         named by the sha1 hash of the latex source text avoiding
1304         regeneration of identical images.
1306 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
1308         * org-html.el (org-export-html-home/up-format): Add an ID to the
1309         up/home div.
1311 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
1313         * org-wl.el (org-wl-store-link): Handle the case that
1314         `wl-use-petname' is set.
1316         * org.el (org-set-effort): Improve prompt.
1317         (org-get-outline-path): Widen to get full path.
1318         (org-compact-display-after-subtree-move): Function removed.
1320         * org-latex.el (org-export-as-latex): Add the :drawers property.
1322 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
1324         * org.el (org-speed-commands-user): Allow documentation headlines.
1325         (org-speed-commands-default): Organize the value of this constant
1326         with descriptive headlines.
1327         (org-print-speed-command): Output the headlines.
1329 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1331         * org-agenda.el (org-agenda-show-outline-path): New option.
1332         (org-agenda-do-context-action): New function.
1333         (org-agenda-next-line, org-agenda-previous-line): Use
1334         `org-agenda-do-context-action'.
1336         * org.el (org-use-speed-commands): Allow function value.
1337         (org-speed-commands-default): Make headline motion safe, so that
1338         these commands always end on a headline.
1339         (org-speed-commands-default): New key `v' for `org-agenda'.
1340         (org-speed-move-safe): New function.
1341         (org-self-insert-command): Use the function value of
1342         `org-use-speed-commands'.
1343         (org-get-outline-path): Improve docstring.
1344         (org-format-outline-path): New function.
1345         (org-display-outline-path): New function.
1347 2009-11-12  John Wiegley  <jwiegley@gmail.com>
1349         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1350         a string, use that to find the LOGBOOK drawer.
1352 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
1354         * org.el (org-clone-subtree-with-time-shift): Make it work at the
1355         end of the buffer.
1357         * org-mobile.el (org-mobile-write-checksums): Specify coding
1358         system.
1359         (org-mobile-timestamp-buffer): Keep local variable/mode line at
1360         beginning of buffer.
1362         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1364         * org.el (org-block-todo-from-children-or-siblings-or-parent)
1365         (org-block-todo-from-checkboxes): Do not block changes to a nil
1366         TODO state.
1368 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
1370         * org-habit.el (org-habit-parse-todo): Indicate which habit is
1371         wrongly set up in the error messages.
1373         * org-colview.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         * org-colview-xemacs.el (org-columns-display-here): Don't try to
1381         calculate values if the underlying property is not set.
1382         (org-columns-string-to-number): Convert age strings back into
1383         fractional days.
1384         (org-agenda-colview-summarize): Handle extended summary types
1385         properly.
1387 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1389         * org-exp.el (org-export-format-drawer-function): New variable.
1390         (org-export-format-drawer): New function.
1391         (org-export-preprocess-string): Pass the backend as a parameter to
1392         `org-export-remove-or-extract-drawers'.
1393         (org-export-remove-or-extract-drawers): New parameter BACKEND.
1395         * org-protocol.el (org-protocol-char-to-string): New defsubst.
1397 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1399         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1400         message when no block is selected.
1402         * org-latex.el (org-export-latex-links): Check for protectedness
1403         in the last matched character, not after the match.
1405         * org-datetree.el (org-datetree-find-date-create): Respect
1406         restriction when KEEP-RESTRICTION is set.
1407         (org-datetree-file-entry-under): New function.
1408         (org-datetree-cleanup): New command.
1410 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
1412         * org-src.el (org-edit-src-code): New optional argument context
1413         allows calling functions to avoid altering the saved window
1414         configuration.
1415         (org-edit-src-exit): Do not restore window configuration when this
1416         function is used in the context of saving the edit buffer.
1418 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1420         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1421         instances to switching to with-current-buffer, because these seem
1422         to cause problems - no idea why.
1424         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1425         Require diary-lib for (diary-date-display-form).
1427         * org.el (org-log-reschedule, org-log-redeadline): New options.
1428         (org-log-note-headings): Add templates for rescheduling and
1429         deadline changing.
1430         (org-startup-options): Add in-buffer settings for logging changing
1431         schedule and deadline time stamps.
1432         (org-deadline, org-schedule): Check for existing date and arrange
1433         for logging if the user requests it.
1434         (org-add-log-note): Prepare proper note buffers for rescheduling
1435         and deadline changes.
1437 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1439         * org-agenda.el (org-agenda-diary-entry-in-org-file)
1440         (org-agenda-add-entry-to-org-agenda-diary-file)
1441         (org-agenda-insert-diary-make-new-entry): New functions.
1442         (org-agenda-diary-entry): Call
1443         `org-agenda-diary-entry-in-org-file' when appropriate.
1445         * org.el (org-calendar-insert-diary-entry-key): New option.
1446         (org-agenda-diary-file): New option.
1447         ("calendar"): Install our insertion function in the calendar.
1449         * org-remember.el (org-datetree): Require.
1450         (org-remember-templates): Add new positioning option.
1451         (org-remember-reference-date): New variable.
1452         (org-remember-apply-template): Store the reference date in a local
1453         variable.
1454         (org-remember-handler): Implement date tree positioning of entries.
1456         * org-datetree.el: New file.
1458         * org-latex.el (org-export-latex-preprocess): Protect targets in
1459         verbatim emphasis.
1461         * org-html.el (org-export-as-html): Protect targets in verbatim
1462         emphasis.
1464         * org-docbook.el (org-export-as-docbook): Protect targets in
1465         verbatim emphasis.
1467 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
1469         * org.el (org-link-display-format): Should be literal replacement.
1471 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1473         * org-clock.el (org-show-notification): Handle messages that
1474         contain a percent character.
1476         * org-remember.el (org-remember-apply-template): Turn of partial
1477         completion.
1479         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1480         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1482         * org.el (org-indent-mode): Define variable already in org.el.
1483         (org-unfontify-region): Remove line-prefix and wrap-prefix
1484         properties only if org-indent-mode is active.
1486 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1488         * org-icalendar.el (org-print-icalendar-entries): Save match data
1489         around call to verify function.
1490         (org-print-icalendar-entries): Add a call to the verification
1491         function.
1493         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1494         save-restrivtion' form.
1496 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
1498         * org-exp.el (org-export-format-source-code-or-example): restrict
1499         scope of preserve-indentp to the let binding.
1500         (org-src): require org-src, since org-src-preserve-indentation is used.
1502 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1504         * org-timer.el (org-timer-set-timer): Set variables
1505         org-timer-timer[123] correctly.
1508         * org-mobile.el (org-mobile-files-alist): Make it work when
1509         `agenda-archives' is included in
1510         `org-agenda-text-search-extra-files'.
1511         (org-mobile-push): Restore agenda after mobile push.
1513 2009-11-05  John Wiegley  <jwiegley@gmail.com>
1515         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1516         way the amount of idle time is presented in the minibuffer.
1518 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1520         * org-icalendar.el (org-print-icalendar-entries): Use
1521         org-icalendar-verify-function only if non-nil.
1523         * org.el (org-refile): Refile to clock only if the prefix arg is
1524         2.
1525         (org-sparse-tree): Fix docstring to be in line with prompt.
1526         (org-update-parent-todo-statistics): Call
1527         `org-after-todo-statistics-hook' on each level.
1529 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
1531         * org-remember.el (org-remember-apply-template): Make sure the
1532         buffer exists.
1534 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
1536         * org.el (org-tab-ind-state): New variable.
1537         (org-cycle-level): New function.
1538         (org-cycle-level-after-item/entry-creation): New option.
1539         (org-flag-subtree): New function.
1540         (org-hide-archived-subtrees): Call `org-flag-subtree'.
1541         (org-set-effort): Indexed access.
1543         * org-list.el (org-cycle-item-indentation): New function.
1545         * org.el (org-refile): Make prefix argument 2 refile to current
1546         clock.
1547         (org-priority): Interpret action `remove' as call to remove the
1548         priority cookie.
1550         * org-remember.el (org-remember-apply-template): Don't depend on
1551         buffer name being like file name.
1553 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
1555         * org-clock.el (org-clock-play-sound): Expand file in
1556         org-clock-sound, to allow ~ for home.
1558         * org-remember.el (org-remember-handler): Set
1559         text-before-node-creation even if this already looks like a node,
1560         because the string might be needed on non-org-mode target files.
1562         * org-agenda.el (org-agenda-open-link): Make this work in agenda
1563         clocktables.
1564         (org-agenda-switch-to): Follow a link at point if
1565         org-return-follows-link' is set and there is nothing else to do in
1566         this line.
1568 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1570         * org-colview-xemacs.el: Add in changes from org-colview.el
1572 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1574         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1575         strings.
1577 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1579         * org-colview.el (org-columns-new): Make this work with the new
1580         operators.
1581         (org-columns-store-format): Make this work with the new operators.
1583 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1585         * org-src.el (org-src-preserve-indentation): Document that this
1586         variable is also used during export.
1588         * org-exp.el (org-export-format-source-code-or-example): Preserve
1589         indentation if a block has a -i option, or if
1590         `org-src-preserve-indentation' is set.
1592         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1593         indentation if a block has a -i option, or if
1594         `org-src-preserve-indentation' is set.
1596 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1598         * org.el (org-mode-map): Define the new archiving keys.
1599         (org-speed-commands-default): Define an archiving key in the speed
1600         command map.
1601         (org-org-menu): Improve the menu structure concerning archiving.
1603         * org-archive.el (org-archive-subtree-default-with-confirmation):
1604         New command.
1606         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1607         (org-agenda-menu): Add the new archiving commands to the menu.
1608         (org-agenda-archive-default)
1609         (org-agenda-archive-default-with-confirmation): New commands.
1610         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1611         call `org-agenda-archive-with'.
1612         (org-agenda-archive-with): New function.
1614         * org-table.el (org-table-convert-region): Inert spaces around "|"
1615         to avoid line beginnings like "|-1" which will be mistaken as
1616         hlines.
1618 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1620         * org.el (org-offer-links-in-entry): Return nil if there are no
1621         links, t if a link has been selected.
1622         (org-open-at-point): Open attachment directory when called in the
1623         headline and there are no links in the entry body.
1624         (org-speed-commands-default): Add "o" for open-at-point as a speed
1625         command.
1627         * org-attach.el (org-attach-reveal): Optional prefix arg
1628         IF-EXISTS, which avoids creating the attachment directory if it
1629         does not yet exist.
1631         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1632         MATCH.
1634 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1636         * org.el ("abbrev"): Work with abbrev tables only after they have
1637         been loaded.
1639         * org-list.el (org-list-send-list): Fix bug related to match
1640         data.
1642         * org-latex.el (org-export-latex-fontify): Apply verbatim
1643         emphasis.
1644         (org-export-latex-make-header): Insert \obeylines if line breaks
1645         should be preserved.
1647         * org-exp.el (org-export-protect-verbatim): Add an
1648         `org-verbatim-emph' property to such text.
1650 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1652         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1653         (org-print-icalendar-entries): Skip entries where the timestamp is
1654         not a deadline and not scheduled, if the user requests that.
1656         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1657         before an opening quote.
1659         * org-archive.el (org-archive-subtree): Keep archive after
1660         archiving something.
1662         * org-id.el (org-id-update-id-locations): Add archive files if
1663         that is required by `org-id-extra-files'.
1665 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1667         * org-src.el (org-src-window-setup): New option.
1668         (org-src-switch-to-buffer): New function.
1669         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1670         restore window configuration.
1671         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1672         Call `org-src-switch-to-buffer'.
1674         * org.el (org-default-properties): Add STYLE property.
1675         (org-files-list): Use the function call to get the files.
1676         (org-additional-option-like-keywords): Add SETUPFILE to completion
1677         list.
1679 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1681         * org-table.el (org-table-convert-region): Correctly interpret
1682         quoting in csv import.
1684         * org.el (org-icompleting-read): Make iswitchb completion work
1685         with lists and tables.
1687         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1688         while pushing the mobile agenda.
1690 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1692         * org-clock.el
1693         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1694         and `when-no-clock-is-running'.
1695         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1696         whether or not to resolve Org buffers on clock in.
1698 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1700         * org-colview.el (org-format-time-period): Function to format
1701         times in fractional days for display.
1702         (org-columns-display-here): Add support for showing a calculated
1703         value in place of the property.
1704         (org-columns): Set `org-columns-time' to the current time so time
1705         difference calculations will work.
1706         (org-columns-time): Use to store the current time when column view
1707         is displayed, so all time differences will use the same reference
1708         point.
1709         (org-columns-compile-map): There is now an extra position in each
1710         entry specifying the function to use to calculate the displayed
1711         value for the non-calculated properties in the column,
1712         (org-columns-compute-all): Set `org-columns-time' to the current
1713         time so time difference calculations will work.
1714         (org-columns-compute): Handle column operators where the values
1715         used are calculated from the underlying property.
1716         (org-columns-number-to-string): Handle the 'age' column format
1717         (org-columns-string-to-number): Correct the function name (was
1718         org-column...). Add support for the 'age' column format.
1719         (org-columns-compile-format): Support the additional parameter in
1720         org-columns-compile-map.
1722 2009-10-26  Bastien Guerry  <bzg@altern.org>
1724         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1725         variable.
1727 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1729         * org-clock.el (org-clock-has-been-used): New variable.
1730         (org-clock-in): Set `org-clock-has-been-used'.
1731         (org-clock-save): Save only if clock data has been used or created
1732         during this session.
1734 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1736         * org-clock.el (org-clock-persist): New value, to store only the
1737         clock history.
1738         (org-clock-save): Don't save the clock if only the history should
1739         be stored.
1740         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1741         when restoring a saved clock.
1743 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1745         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1746         `org-time-clock-use-fractional'.
1748         * org.el (org-time-clocksum-use-fractional)
1749         (org-time-clocksum-fractional-format): Two new customizable
1750         variables which allow the user to select fractional times (1.25
1751         instead of 1:25) in the `org-clock-display' report.
1753 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1755         * org-habit.el (org-habit-build-graph): None of the arguments
1756         should be optional.
1757         (org-habit-parse-todo, org-habit-deadline)
1758         (org-habit-get-priority, org-habit-get-faces)
1759         (org-habit-build-graph): Further simplifications by storing all
1760         past, scheduled and deadline dates as a number of days past the
1761         epoch, and not as times.
1763         * org-habit.el (org-habit-warning-face)
1764         (org-habit-warning-future-face): Removed because these are no
1765         longer used.
1766         (org-habit-deadline, org-habit-deadline-repeat): Now always
1767         returns a date; computed if there was a scheduled repeater but no
1768         deadline repeater.
1769         (org-habit-get-priority): Further improvements to the priority
1770         algorithm.  In particular, items past due should always appear
1771         before items due or not yet due.
1772         (org-habit-get-faces): Greatly simplified the logic, now that
1773         `org-habit-deadline' always returns a valid time.
1775 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1777         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1778         New option.
1780         * org.el (org-tag-alist): Fix customization type.
1782 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1784         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1785         Make sure the regexp search can fail without throwing an error.
1786         (org-mobile-apply): Save the inbox buffer after removing
1787         successfully applied changes.
1789 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1791         * org-habit.el (org-habit-build-graph): Fix to the graph building
1792         when last DONE date is earlier than `org-habit-preceding-days'.
1794         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1795         time is reported after the user comes back (but before they
1796         resolve time).
1798         * org.el (org-get-repeat): Change so that this function can be
1799         called with either `org-scheduled-string' or
1800         `org-deadline-string'.
1802         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1803         to find the scheduled date.
1805         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1806         `org-clock-disable-clock-resolution', since negatives don't sound
1807         good in customization variables.
1808         (org-clock-in): Don't use the auto-resolution logic if the user is
1809         clocking into a different task while an active clock is running.
1810         This then allows the default behavior of clocking out of the open
1811         task and then into the new task.
1813         * org-habit.el (org-habit-parse-todo): Generate an error if a
1814         habit has a scheduled repeat period < 1.
1815         (org-habit-get-faces): Fixes to the way that colors are computed.
1816         (org-habit-build-graph): The graph wasn't displaying beyond any
1817         day that had two completions in it.
1819         * org.el (org-modules): Made this variable more consistent, since
1820         it was referring to Org, OrgMode and Org-mode, whereas the docs
1821         for the variable always refer to Org-mode.
1823 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1825         * org.el (org-repeat-re): The changed org-repeat-re no longer
1826         matched simple +2d type repeaters. Fix it so it does.
1828 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1830         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1831         macro in the VERSE environment.
1833 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1835         * org-habit.el (org-habit-get-priority): A new function that
1836         determines the relative priority of a habit, based on how long
1837         past its scheduled date it is, and how near the deadline is.
1839         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1840         using `org-habit-get-priority'.
1842         * org-habit.el (org-habit-build-graph): Start displaying colors
1843         from the first scheduled date, if that date is earlier than the
1844         first completion date.
1846         * org-habit.el: Changed all "color" variables to faces, and made
1847         them appropriate for light and dark backgrounds.
1849         * org-habit.el (org-habit-duration-to-days): Made this function
1850         more general.
1851         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1853         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1854         habits, since they don't use DEADLINE anymore.
1856         * org.el (org-repeat-re, org-display-custom-time)
1857         (org-timestamp-change): Extended to support the new ".+N/N"
1858         syntax, used for habits.
1860         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1861         variable reference.
1863         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1864         modeline when habits are being displayed (if that module is being
1865         loaded).
1867 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1869         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1870         idle time using the xscreensaver extension.
1871         (org-user-idle-seconds): Use X11 idle time if available.
1873 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1875         * org-agenda.el (org-agenda-next-line): New command.
1876         (org-agenda-previous-line): New commands.
1877         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1878         commands.
1879         (org-agenda-follow-mode): Do the follow immediately if the mode is
1880         turned on here.
1881         (previous-line, next-line): Replace keys with the corresponding
1882         org functions.
1883         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1884         command.
1886         * org.el (org-icompleting-read): Turn off partial completion mode
1887         for the duration of this completion round.
1889         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1890         macros in author lines and similar stuff.
1892         * org.el (org-file-tags): Fix docstring.
1893         (org-get-buffer-tags): Add the #+FILETAGS tags.
1894         ("ecb"): Maks ecb show context after jumping into an Org file.
1896 2009-10-20  John Wiegley  <johnw@newartisans.com>
1898         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1899         graphs after everything else in the buffer has been setup.
1901 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1903         * org-mobile.el (org-mobile-apply): Count success and failure.
1905         * org.el (org-indent-line-function): Fix regexp replace problem.
1907 2009-10-19  John Wiegley  <johnw@newartisans.com>
1909         * org-clock.el (org-clock-disable-clock-resolution): New
1910         customization variable that disable automatic clock resolution on
1911         clock in.
1912         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1913         not automatically resolve anything.  This is does not affect
1914         idle-time resolution, however, if `org-clock-idle-time' is set.
1916 2009-10-19  John Wiegley  <johnw@newartisans.com>
1918         * org-habit.el: New file, which implements code to build a "habit
1919         consistency graph".
1921         * org-agenda.el (org-agenda-get-deadlines)
1922         (org-agenda-get-scheduled): Display consistency graphs when
1923         outputting habits into the agenda.  The graphs are always relative
1924         to the current time.
1925         (org-format-agenda-item): Added new parameter `habitp', which
1926         indicates whether we are formatting a habit or not.  Do not
1927         display "extra" leading information if habitp is true.
1929         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1930         leaders for repeat strings.
1931         (org-get-repeat): Now takes a string parameter `tagline', so the
1932         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1934 2009-10-19  John Wiegley  <johnw@newartisans.com>
1936         * org-agenda.el (org-agenda-auto-exclude-function): New
1937         customization variable for allowing the user to create an "auto
1938         exclusion" filter for doing context-aware auto tag filtering.
1939         (org-agenda-filter-by-tag): Changes to support the use of
1940         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1942 2009-10-18  John Wiegley  <johnw@newartisans.com>
1944         * org.el (org-files-list): Don't attempt to return a file name for
1945         Org buffers which have no associated file.
1947         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1949 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1951         * org-mobile.el (org-mobile-locate-entry): Interpret files
1952         relative to org-directory.
1953         (org-mobile-inbox-for-pull): Document the best location for this
1954         file.
1955         (org-mobile-check-setup): Verify `org-directory'.
1956         (org-mobile-create-index-file): Sort the files to be listed in
1957         index.org.
1959 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1961         * org.el (org-fast-tag-selection): Add a way to display a
1962         description for a tag group. This is done by adding a string to
1963         either the startgroup or endgroup cell.
1965 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1967         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1968         (org-emacs-idle-seconds): Use `org-float-time' instead of
1969         `time-to-seconds'
1971 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1973         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1974         type.
1976         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1977         the value of ARG when doing local cycling.
1979 2009-10-17  John Wiegley  <johnw@newartisans.com>
1981         * org-clock.el (org-clock-resolve-clock): If keeping or
1982         subtracting time results in a clock out at a time in the past, and
1983         if the resolution occurred due to idleness or invoking `M-x
1984         org-resolve-clocks', remember that past moment in time.  On the
1985         next clock in, the user will be prompted to see if they want to
1986         back-date their new clock to then.
1987         (org-clock-resolve): Do not jump the user to the location of a
1988         dangling clock if the resolution is occuring due to an idle
1989         timeout.  In that case there is typically only one dangling clock,
1990         the active one, and there is no value gained by shuffling their
1991         windows around to show it to them.  Being prompted to resolve an
1992         idle clock should be as inobtrusive as possible.
1993         (org-resolve-clocks-if-idle): New function that resolves only the
1994         currently active clock if the user has exceeded the time returned
1995         by `org-user-idle-seconds', based on the value of
1996         `org-clock-idle-time'.
1997         (org-clock-in): If, after resolving clocks,
1998         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
2000         * org-clock.el (org-clock-resolve-clock): New function that
2001         resolves a clock to a specific time, closing or resuming as need
2002         be, and possibly even starting a new clock.
2003         (org-clock-resolve): New function used by `org-resolve-clocks'
2004         that sets up for the call to `org-clock-resolve-clock'.  It
2005         determines the time to resolve to based on a single-character
2006         selection from the user to either keep time, subtract away time or
2007         cancel the clock.
2008         (org-resolve-clocks): New user command which resolves dangling
2009         clocks -- that is, open but not active -- anywhere in the file
2010         list returned by `org-files-list'.
2011         (org-clock-in): Automatically resolve dangling clocks whenever a
2012         user clocks in.
2013         (org-clock-cancel): If the user cancels the solely clock in a
2014         LOGBOOK, remove the empty drawer.
2016         * org-clock.el (org-clock-idle-time): New user customizable option
2017         for detecting whether the user has left a clock idle.  Note: it is
2018         only used in this commit to test whether it's worthwhile to check
2019         OS X to get the Mac user's current idle time.  If the Emacs idle
2020         time is less than the value, the user hasn't been away long enough
2021         to be worth checking (a more expensive test than just getting
2022         Emacs idle time).
2023         (org-user-idle-seconds, org-mac-idle-seconds)
2024         (org-emacs-idle-seconds): This three functions, in conjunction
2025         with the user customization variable `org-clock-idle-time', return
2026         the number of seconds (as a floating point) that the user has been
2027         away from their Emacs (or, if running on OS X, their computer).
2029         * org-clock.el (org-find-open-clocks): New function that returns a
2030         list of all open clocks in the given FILE.  Note that each clock
2031         it returns is a cons cell of the format (MARKER . START-TIME).
2032         This "clock" value is used by several of the new clock module
2033         utility functions.
2034         (org-is-active-clock): New inline function which tests whether the
2035         given clock value is the same as the currently active clock.
2036         Returns non-nil if this is the case.
2037         (org-with-clock-position): New macro that evaluates FORMS with
2038         point in the buffer and at the position of the given clock.
2039         Changes to the current clock are global.
2040         (org-with-clock): New macro that evaluates FORMS with point in the
2041         buffer and at the position of the given clock.  However, changes
2042         to the current clock are local and have no effect on the user's
2043         active clock.  This allows, for example, far any clock to be
2044         cancelled without cancelling the active clock.
2045         (org-clock-clock-in): New inline function that switches the active
2046         clock to the given clock.  If either the argument RESUME, or the
2047         global `org-clock-in-resume', are non-nil, it will resume a clock
2048         that was previously left open.
2049         (org-clock-clock-out): New inline function that clocks out the
2050         given clock value without affecting the currently active clock.
2051         (org-clock-clock-cancel): New inline function that cancels the
2052         given clock value without affecting the currently active clock.
2054         * org-clock.el (org-clock-in): Before creating
2055         `org-clock-mode-line-timer', check to make sure an older timer is
2056         not currently running.
2057         (org-clock-out): Accept new third parameter `at-time', which
2058         permits a clock to be clocked out at a specific time.  Note that
2059         no attempt is made to verify that the clock out time is later than
2060         the clock in time.
2062         * org.el (org-files-list): New utility function for returning a
2063         list of all open org-mode buffers, plus all files used to build
2064         the agenda buffer.  Note that not all the files will necessarily
2065         be visited by a buffer at time of call.
2066         (org-entry-beginning-position): Like the function
2067         `line-beginning-position', this inline function returns the
2068         beginning position of the current heading/entry.
2069         (org-entry-end-position): Like the function `line-end-position',
2070         this inline function returns the end position of the current
2071         heading/entry.
2073 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
2075         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
2076         a header line.
2078 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
2080         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
2082 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
2084         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
2085         entries that have no tags.
2086         (org-agenda-search-view): New customize group.
2087         (org-agenda-search-view-search-words-only): New option.
2088         (org-search-view): Implement substring search.
2090 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
2092         * org.el (org-outline-level): Add doc string.
2094 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
2096         * org-inlinetask.el (org-inlinetask-export): Re-introduce
2097         variable.
2098         (org-inlinetask-export-handler): Only export inline task if the
2099         user option calls for it.
2101 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
2103         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
2104         END if present.
2106 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
2108         * org-latex.el (org-export-latex-tables): Don't format in
2109         protected regions.
2111 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
2113         * org-src.el (org-edit-src-code)
2114         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
2115         macro editing.
2117         * org-agenda.el (org-prefix-category-max-length): New variable.
2118         (org-format-agenda-item): Use `org-prefix-category-max-length'.
2119         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
2121 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
2123         * org-mobile.el (org-mobile-create-index-file): Improve the
2124         listing of tags and todo keywords.
2126         * org-latex.el (org-export-latex-format-image): New function.
2127         (org-export-latex-links): Use `org-export-latex-format-image'.
2129 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
2131         * org-inlinetask.el (org-inlinetask-get-current-indentation)
2132         (org-inlinetask-remove-terminator): New functions.
2133         (org-inlinetask-export-handler): Terminate the description list.
2135         * org-exp.el (org-export-select-backend-specific-text): Remove the
2136         region markers.
2138         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
2139         tasks without content.
2141         * org-clock.el: Make sure the clock-in target position does not
2142         move to a different node by widening the buffer.
2144         * org-html.el (org-export-html-format-image): Wrap image into
2145         figure div only when there is a caption.
2147         * org-archive.el (org-archive-mark-done): Change default value to
2148         nil.
2150 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
2152         * org.el (org-context): Call `bobp', not `eobp'.
2154         * org-clock.el (org-clock-cancel): Remove quotes from marker
2155         variables.
2157         * org.el (org-read-date-prefer-future): New allowed value `time'.
2158         (org-read-date-analyze): Shift day to tomorrow depending on time
2159         entered and value of `org-read-date-prefer-future'.
2161 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
2163         * org.el (org-set-tags-to): New command.
2165         * org-mobile.el (org-mobile-action-alist): Add more options and
2166         update the docstring.
2167         (org-mobile-apply-flags): Parse for and use the data.
2169         * org-latex.el (org-export-latex-set-initial-vars): Also check in
2170         the plist.
2172         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
2173         keyword.
2175         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
2177 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
2179         * org-inlinetask.el (org-inlinetask-export): Option removed.
2180         (org-inlinetask-export-handler): Better export.
2182         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
2183         (org-export-as-xoxo): Run the new hook.
2185         * org-html.el (org-export-html-final-hook): New hook.
2186         (org-export-as-html): Run the new hook.
2188         * org-docbook.el (org-export-docbook-final-hook): New hook.
2189         (org-export-as-docbook): Run the new hook.
2191         * org-ascii.el (org-export-ascii-final-hook): New hook.
2192         (org-export-as-ascii): Run the new hook.
2194         * org-mobile.el (org-mobile-create-sumo-agenda): Call
2195         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
2197         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
2198         space character as the character before the ^/_.
2199         (org-export-latex-final-hook): New hook.
2200         (org-export-as-latex): Run `org-export-latex-final-hook'.
2202 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
2204         * org-macs.el (org-if-unprotected-at): Fix docstring.
2206         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2207         text in the prefix (if category is a link).
2209         * org-latex.el (org-export-latex-preprocess): Deal properly with
2210         empty lines in verse environments.
2212         * org.el (org-format-latex-header): Inline fullpage.sty.
2214         * org-footnote.el (org-footnote-create-definition): Reveal context
2215         to add a new footnote definition.
2217         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
2218         the index file.
2219         (org-mobile-files): New option.
2220         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
2221         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
2222         functions.
2223         (org-mobile-push): Start by creating the files lists.
2224         (org-mobile-copy-agenda-files): Move killing the buffer to after
2225         the save-excursion has exited.
2226         (org-mobile-write-checksums): Write checksums also for files in
2227         sub-directories.
2229         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2230         org-table-recalculate when cursor is in TBLFM line.
2232         * org-list.el (org-renumber-ordered-list): Fix cursor position
2233         when bullet length has changed.
2235 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
2237         * org.el (org-format-latex): Mention `org-format-latex-options' in
2238         the docstring.
2240 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2242         * org.el (org-agenda-get): New function.
2244         * org-agenda.el (org-agenda-post-command-hook): No longer move
2245         point away from end of line.
2246         (org-agenda-add-entry-text, org-agenda-collect-markers)
2247         (org-finalize-agenda, org-agenda-mark-clocking-task)
2248         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2249         (org-agenda-entry-text-show, org-agenda-highlight-todo)
2250         (org-agenda-compare-effort, org-agenda-filter-apply)
2251         (org-agenda-later, org-agenda-change-time-span)
2252         (org-agenda-post-command-hook, org-agenda-show-priority)
2253         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2254         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2255         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2256         (org-agenda-open-link, org-agenda-copy-local-variable)
2257         (org-agenda-switch-to, org-agenda-check-no-diary)
2258         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2259         (org-agenda-add-note, org-agenda-change-all-lines)
2260         (org-agenda-priority, org-agenda-set-tags)
2261         (org-agenda-set-property, org-agenda-set-effort)
2262         (org-agenda-toggle-archive-tag, org-agenda-date-later)
2263         (org-agenda-show-new-time, org-agenda-date-prompt)
2264         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2265         (org-agenda-clock-in, org-agenda-bulk-mark)
2266         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2267         `org-get-at-bol'.
2269         * org-colview.el (org-columns-display-here)
2270         (org-columns-edit-allowed, org-agenda-columns): Use
2271         `org-get-at-bol'.
2273 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2275         * org.el (org-special-ctrl-a/e): Improve documentation and
2276         customize type.
2277         (org-end-of-line): Don't jump to after the ellipsis.
2278         (org-mode-map): Bind <home> and <end> as well.
2280 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
2282         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2283         space after #+ as comments.
2284         (org-open-at-point): Run `org-follow-link-hook' always.
2286         * org-latex.el (org-export-latex-emph-format): Use better commands
2287         to insert special characters in verbatim snippets.
2289 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
2291         * org-faces.el (org-copy-face): New function.  Use it to create
2292         various faces formerly created by using `copy-face'.
2294         * org-agenda.el (org-prepare-agenda): Don't officially mark this
2295         window dedicated.
2296         (org-agenda-quit): Kill the frame containing the agenda window if
2297         that frame was created for the agenda.
2299 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
2301         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2302         stamp in the agenda.
2304 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
2306         * org-mobile.el (org-mobile-create-index-file): Add the list of
2307         TODO keywords, and the list of drawers to the index file.
2309         * org-agenda.el (org-prepare-agenda): Reset
2310         `org-drawers-for-agenda'.
2311         (org-prepare-agenda): Uniquify list of drawers.
2313         * org.el (org-complex-heading-regexp-format): New variable.
2314         (org-set-regexps-and-options): Define
2315         `org-complex-heading-regexp-format'.
2316         (org-drawers-for-agenda): New variable.
2317         (org-map-entries): Bind `org-drawers-for-agenda'.
2318         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2320         * org-remember.el (org-go-to-remember-target)
2321         (org-remember-handler): Use `org-complex-heading-regexp-format'.
2323 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
2325         * org-agenda.el (org-agenda-highlight-todo): Fix text property
2326         problem.
2328         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
2329         the capture file, and make it non-configurable.
2331         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2332         always with `invisible-ok'.
2333         (org-store-link): No error when there is nothing to link to in the
2334         agenda.
2336         * org-list.el (org-update-checkbox-count): Insert changed cookie
2337         before the old, to avoid problems with invisibility at the end of
2338         the line.
2339         (org-update-checkbox-count): Insert changed cookie before the old,
2340         to avoid problems with invisibility at the end of the line.
2342         * org.el (org-sort-entries-or-items): Include the final newline.
2343         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2344         lines for fontification.
2345         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2346         (org-prepare-dblock): Store the current indentation of the BEGIN
2347         line.
2348         (org-update-dblock): Apply the indentation of the begin line to
2349         the rest of the block.
2350         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2351         (org-startup-folded): New allowed value `showeverything'.
2352         (org-startup-options): Add STARTUP keyword `showeverything'.
2353         (org-set-startup-visibility): Respect value `showeverything' in
2354         org-startup-folded.
2356 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
2358         * org.el (org-closest-date): Fix issue with past preference.
2360         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
2362         * org-archive.el (org-archive-set-tag)
2363         (org-archive-subtree-default): New commands.
2365         * org-mobile.el (org-mobile-create-index-file): Fix link to
2366         capture file.
2367         (org-mobile-copy-agenda-files): Create the capture file if it does
2368         not exist.
2370         * org-clock.el (org-clock-clocktable-default-properties): New
2371         option.
2372         (org-clock-report): Use
2373         `org-clock-clocktable-default-properties'.
2375 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
2377         * org.el (org-iswitchb-completing-read): Fix typo.
2379         * org-crypt.el: New file.
2381         * org.el: Add an entry for org-crypt.
2383 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2385         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2386         consistency.
2387         (org-batch-store-agenda-views): New function.
2388         (org-mobile-force-id-on-agenda-items): Mention variable.
2389         (org-agenda-title-append): Define variable.
2390         (org-write-agenda): New export to Org files.
2391         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2392         (org-agenda): Allow to keep the restricted file list if a special
2393         variable is bound to t.
2394         (org-agenda): Define a special agenda view for working on flagged
2395         entries.
2396         (org-agenda-get-restriction-and-command): List the new agenda
2397         view.
2398         (org-agenda-show-the-flagging-note): New command.
2399         (org-agenda-mode-map): New key `?' for looking at the flagging
2400         note.
2402         * org.el (org-autoload): Autoload org-mobile.el.
2403         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2405         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2407 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2409         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2410         statements.
2411         (org-table-get-remote-range): Match indented #+TBLNAME
2412         statements.
2414         * org.el (org-convert-to-odd-levels)
2415         (org-convert-to-oddeven-levels): Work also correctly if the file
2416         is in outline-mode.
2418 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
2420         * org.el (org-store-link): When in agenda buffer, link to
2421         referenced entry.
2422         (org-add-planning-info): Remove spaces at eol.
2424         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2425         property.
2427 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
2429         * org-latex.el (org-export-latex-first-lines): Fix problem with
2430         LaTeX export of first line and selected subtree.
2432         * org.el (org-shifttab): Interpret arg differently when using only
2433         odd levels.
2435 2009-09-09  Bastien Guerry  <bzg@altern.org>
2437         * org.el (org-check-agenda-file): Use a more explicit message
2439 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
2441         * org-exp.el (org-export-remove-special-table-lines): Don't remove
2442         normal lines.
2444 2009-09-08  Bastien Guerry  <bzg@altern.org>
2446         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2447         prompt in the temporary window.
2449         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2450         prefix for marked entries in the agenda view.
2452 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
2454         * org.el (outline-end-of-subtree): Bugfix: advise this function in
2455         a way that prevents any trailing character from being displayed.
2457 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
2459         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2460         menu.
2462         * org-exp.el (org-export-remove-special-table-lines): Remove bad
2463         slow regexp match.
2465 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
2467         * org-latex.el (org-export-latex-preprocess): Do not protect in
2468         the LaTeX header.
2470         * org-src.el (org-edit-src-save): Save window setup while saving.
2471         (org-edit-src-code): Use new buffer name construction scheme.
2473 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
2475         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2476         variable.
2477         (org-agenda-entry-text-cleanup-hook): New hook.
2478         (org-agenda-get-some-entry-text): Remove matches of
2479         `org-agenda-entry-text-exclude-regexps' and run the hook
2480         `org-agenda-entry-text-cleanup-hook'.
2482         * org.el (org-offer-links-in-entry): New argument ZERO to
2483         implement a link with index zero.
2484         (org-cycle-show-empty-lines): Not keep empty line under header
2485         hidden.
2486         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2487         to nil for special completion.
2488         (org-store-link): Don't error before the first heading.
2490         * org-agenda.el (org-agenda-open-link): Pass the prefix to
2491         `org-offer-links-in-entry'.
2493 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
2495         * org-agenda.el (org-agenda-quit): Provide the window argument for
2496         `window-dedicated-p', Emacs 22 needs it.
2497         (org-format-agenda-item): If the category is a link, arrange for
2498         invisible text to replaced with spaces.
2499         (org-compile-prefix-format): Add the extra space.
2500         (org-prefix-category-length): New variable.
2502         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2503         references from TOC lines.
2505         * org.el (org-selected-window): New variable.
2507         * org-table.el (org-table-edit-formulas): Remember the selected
2508         window.
2509         (org-table-fedit-finish, org-table-fedit-abort): Select the window
2510         that was originally selected.
2512         * org-exp.el (org-export-preprocess-apply-macros): Scan the
2513         expansion of a macro for more macro definitions.
2515         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2516         invisibility overlay starts on the newline.
2518 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
2520         * org-protocol.el (org-protocol-store-link)
2521         (org-protocol-remember, org-protocol-open-source): Add autoloads.
2523         * org-compat.el (org-float-time): New function.
2525         * org.el (org-clock-update-time-maybe)
2526         (org-sort-entries-or-items, org-do-sort)
2527         (org-evaluate-time-range, org-time-string-to-seconds)
2528         (org-closed-in-range): Use `org-float-time'.
2530         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2531         (org-timer-seconds):  Use `org-float-time'.
2533         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2534         (org-clock-sum, org-dblock-write:clocktable)
2535         (org-clocktable-steps):  Use `org-float-time'.
2537         * org-agenda.el (org-agenda-last-marker-time)
2538         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
2540         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2541         function.
2543         * org-exp.el (org-get-file-contents): Only protect lines that
2544         really need it.
2546         * org-html.el (require): Require cl for compilation.
2548         * org.el:  Avoid using `default-major-mode'.
2550         * org-plot.el (require): Require CL only at compile time.
2552         * org-exp.el (require): Require CL only at compile time.
2554         * org-agenda.el (org-agenda-quit): When the agenda window is
2555         dedicated, remove other windows before exiting, so that the frame
2556         really will be killed.
2558         * org-exp.el (org-export-handle-include-files): Reset START and
2559         END for each loop cycle.
2561 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
2563         * org.el (org-eval-in-calendar): Use
2564         `org-select-frame-set-input-focus'.
2566         * org-compat.el (org-select-frame-set-input-focus): New function.
2568         * org.el (org-update-statistics-cookies): New function.
2569         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2571 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2573         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2574         after the local variables are set.
2576         * org-latex.el (org-export-latex-protect-amp): New function.
2577         (org-export-latex-links): Protect link ampersands in tables.
2579         * org-exp.el (org-export-select-backend-specific-text): Match in
2580         two steps, to avoid regexp problems.
2582         * org.el (org-offer-links-in-entry): Improve working with many and
2583         duplicate links.
2585         * org-agenda.el (org-agenda-show-1): Make more consistent with
2586         normal cycling.
2587         (org-agenda-cycle-show): Make more consistent with normal cycling.
2589         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2590         website.
2592 2009-08-30  Bastien Guerry  <bzg@altern.org>
2594         * org-latex.el (org-export-latex-first-lines): Bugfix.
2596 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2598         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2599         about new effort.
2601         * org.el (org-set-effort): New function.
2602         (org-mode-map): New key for effort setting command.
2604         * org-agenda.el (org-agenda): Keep window setup when calling
2605         agenda from within agenda window.
2606         (org-agenda-mode-map): New keys for effort setting commands.
2607         (org-agenda-menu): Add effort setting commands to menu.
2608         (org-agenda-set-property, org-agenda-set-effort): New functions.
2610         * org-latex.el (org-export-latex-tables): Fix
2611         `org-table-last-alignment' and `org-table-last-column-widths' if
2612         the first column has been removed.
2614 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2616         * org.el (org-remove-timestamp-with-keyword): Only remove in
2617         entry, not in subtree.
2619         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2620         emacs lisp.
2622         * org.el (org-open-at-point): When on headline, offer all strings
2623         in entry.
2625         * org-remember.el (org-remember-templates): Documentation fix.
2627         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2628         `org-get-last-sibling' instead of the outline versions of these
2629         functions.
2630         (org-get-last-sibling): New function.
2631         (org-refile): Use `org-get-next-sibling' instead of the outline
2632         version of this function.
2633         (org-clean-visibility-after-subtree-move): Use
2634         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2635         outline versions of these functions.
2637 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2639         * org-agenda.el (org-prepare-agenda): When creating a new frame
2640         for the agenda, make the window dedicated.
2642         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2644         * org-table.el (org-table-align): Change the order of reinsertion
2645         and deletion, to avoid problems with overlays following the table.
2647         * org.el (org-parse-time-string): Better error message.
2648         (org-show-subtree): Use org-end-of-subtree.
2650         * org-macs.el (org-goto-line): New defsubst.
2652         * org.el (org-open-file, org-change-tag-in-region)
2653         (org-fast-tag-show-exit): Don't use `goto-line'.
2655         * org-table.el (org-table-align, org-table-insert-column)
2656         (org-table-delete-column, org-table-move-column)
2657         (org-table-sort-lines, org-table-copy-region)
2658         (org-table-paste-rectangle, org-table-wrap-region)
2659         (org-table-get-specials, org-table-rotate-recalc-marks)
2660         (org-table-get-range, org-table-recalculate)
2661         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2662         (org-table-show-reference, org-table-highlight-rectangle): Don't
2663         use `goto-line'.
2665         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2666         (org-edit-src-exit): Don't use `goto-line'.
2668         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2670         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2671         Don't use `goto-line'.
2673         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2675         * org-colview.el (org-columns, org-columns-redo)
2676         (org-agenda-columns): Don't use `goto-line'.
2678         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2679         use `goto-line'.
2681         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2682         (org-agenda-add-entry-text-maxlines): Improve docstring.
2683         (org-agenda-start-with-entry-text-mode): New option.
2684         (org-agenda-entry-text-maxlines): New option.
2685         (org-agenda-entry-text-mode): New variable.
2686         (org-agenda-mode): Set initial value of
2687         `org-agenda-entry-text-mode'.
2688         (org-agenda-mode-map): Add the `E' key.
2689         (org-agenda-menu): Add entry text mode to the menu.
2690         (org-agenda-get-some-entry-text): Fix line count bug.
2691         (org-finalize-agenda): Apply entry text mode if appropriate.
2692         (org-agenda-entry-text-show-here): New function.
2693         (org-agenda-entry-text-show): New function.
2694         (org-agenda-entry-text-hide): New function.
2695         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2696         key menu.
2697         (org-agenda-entry-text-mode): New command.
2698         (org-agenda-set-mode-name): Add entry text mode to the mode line
2699         string.
2700         (org-agenda-undo, org-agenda-get-restriction-and-command)
2701         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2702         `goto-line'.
2704 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2706         * org-clock.el (org-notify): Bugfix.
2708 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2710         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2711         check for after-string.
2713         * org-gnus.el (org-gnus-store-link): Simplify.
2715         * org.el (org-latex-regexps): Don't add extra empty lines for
2716         display formulas.
2718 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2720         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2721         (org-agenda-add-entry-text): Use
2722         `org-agenda-get-some-entry-text'.
2724         * org.el (org-cycle-separator-lines): Update docstring.
2725         (org-cycle-show-empty-lines): Handle negative values for
2726         `org-cycle-show-empty-lines'.
2728         * org-exp.el (org-export-protect-sub-super): New function.
2729         (org-export-normalize-links): Protect the url of plain links from
2730         supscript and superscript processing.
2732         * org-remember.el (org-remember-escaped-%): New function.
2733         (org-remember-apply-template): Use `org-remember-escaped-%' to
2734         detect escaped % signs.
2736 2009-08-23  Bastien Guerry  <bzg@altern.org>
2738         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2739         sound when showing the notification.
2741         * org-clock.el (org-notify): New function.
2742         (org-clock-notify-once-if-expired): Use `org-notify'.
2744         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2745         and `gnus-article-mode' separately.
2746         (gnus-summary-article-header): Fix the declare-function.
2748 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2750         * org-exp.el (org-export-format-source-code-or-example): Translate
2751         language.
2753         * org-src.el (org-src-lang-modes): New variable
2754         (org-edit-src-code): Translate language.
2756         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2757         the new structure of the `org-export-latex-listings-langs'
2758         variable.
2760         * org-latex.el (org-export-latex-listings-langs): Change structure
2761         of the variable from plist to alist.
2763 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2765         * org.el (org-in-commented-line): New function.
2767 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2769         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2771 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2773         * org.el (org-flag-drawer): More useful error.
2775 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2777         * org-remember.el (org-remember-apply-template): Use
2778         org-icompleting-read.
2780         * org-publish.el (org-publish): Use org-icompleting-read.
2782         * org-colview.el (org-columns-edit-value, org-columns-new)
2783         (org-insert-columns-dblock): Use org-icompleting-read.
2785         * org-colview-xemacs.el (org-columns-edit-value)
2786         (org-columns-new, org-insert-columns-dblock): Use
2787         org-icompleting-read.
2789         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2790         org-icompleting-read.
2792 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2794         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2795         (org-version): Return the version text.
2796         (org-org-menu): Add a menu entry for the new bug reporter.
2797         (org-submit-bug-report): New command.
2799         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2800         docstring.
2802         * org.el (org-emphasis-regexp-components): Add "`" to set of
2803         pre-emphasis characters.
2805         * org-latex.el (org-export-latex-classes): Always include the soul
2806         package.
2807         (org-export-latex-emphasis-alist): Use \st for strikethough.
2809         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2810         `indent-code-rigidly' to indent.
2812         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2813         properties only if MATCH really is a string.
2815 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2817         * org-latex.el (org-export-latex-packages-alist): Fix
2818         customization type.
2820         * org.el (org-create-formula-image): Also use
2821         `org-export-latex-packages-alist'.
2823         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2824         (org-export-as-html): Format footnotes correctly.
2826 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2828         * org.el (org-fast-tag-selection): Avoid text properties on tags
2829         in the alist.
2831         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2832         text properties on the match element.
2834 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2836         * org.el (org-set-regexps-and-options): Make sure the list of done
2837         keywords is not invalid.
2839         * org-exp.el (org-export-interpolate-newlines): New function.
2841 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2843         * org.el (org-format-latex): Avoid nested overlays.
2845         * org-latex.el (org-export-latex-listings-langs): Add a few more
2846         languages.
2848         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2849         ignore newlines and space before the first macro argument.
2851         * org-latex.el (org-export-latex-tables): Remove save-excursion
2852         around `org-table-align'.
2854 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2856         * org.el (org-export-html-special-string-regexps): Definition
2857         moved into org.el
2859         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2860         in macro calls.
2862 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2864         * org-latex.el (org-export-latex-listings)
2865         (org-export-latex-listings-langs): New options.
2867         * org-exp.el (org-export-format-source-code-or-example): Use
2868         listing package if requested by the user.
2870 2009-08-08  Bastien Guerry  <bzg@altern.org>
2872         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2873         command before actually switching to a buffer.
2875 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2877         * org-exp.el (org-get-file-contents): Only quote org lines when
2878         the markup is src or example.
2880         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2881         New option
2882         (org-agenda-get-day-entries): Remember deadline results and pass
2883         them on into the function getting the scheduling information.
2884         (org-agenda-get-scheduled): Accept deadline results as parameters
2885         and maybe skip some entries.
2886         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2888         * org.el (org-insert-heading): When respecting content, do not
2889         convert current line to headline.
2891         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2892         cheeeeeck the hd marker
2893         (org-clock-in): Also set the hd marker.
2894         (org-clock-out): Also set the hd marker.
2895         (org-clock-cancel): Reset markers.
2897         * org.el (org-clock-hd-marker): New marker.
2899         * org-faces.el (org-agenda-clocking): New face.
2901         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2902         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2904         * org.el (org-modules): Add org-track.el.
2906         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2907         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2908         `org-agenda-bulk-marked-p'.
2909         (org-agenda-bulk-toggle): New command.
2911 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2913         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2914         not just the body.
2916         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2917         messages.
2919 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2921         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2922         before gnuplot can read it.
2924 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2926         * org-latex.el (org-export-latex-first-lines): Fix bug with
2927         finding the end of the first lines.
2929         * org.el (org-create-formula-image): Remove the -E option for
2930         dvipng.
2932         * org-exp.el (org-default-export-plist): Respect #+BIND.
2933         (org-export-confirm-letbind): New function.
2935         * org.el (org-paste-subtree): Test the kill ring entry if it is
2936         going to be used.
2937         (org-copy-subtree): Use `org-forward-same-level'.
2938         (org-forward-same-level): Respect the `invisibe-ok' arg for
2939         back-to-heading.
2941 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2943         * org.el (org-table-map-tables): Make sure cursor is back at table
2944         beginning after funcall.
2946         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2947         handled before children, and do not error if an entry is not
2948         found, probably because it hase been remove when the parent was
2949         archived or refiled.
2951         * org.el (org-ido-completing-read): Accept straight lists for
2952         completion as well as alists.
2954         * org-html.el (org-export-as-html): Fix parenthesis error in
2955         footnore code.
2957         * org-timer.el (org-timer-cancel-timers): Renamed from
2958         `org-timer-cancel-timers'.
2960         * org.el (org-cycle-internal-local): Fix problem with finding next
2961         invisible line.
2963 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2965         * org-list.el (org-list-send-list): Call
2966         `org-list-goto-true-beginning' instead of
2967         `org-list-find-true-beginning', which does not exist.
2969         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2970         (org-timer-set-timer): Do not assign to heading.
2972         * org-id.el (org-id-open): Quote function name.
2974         * org-macs.el (org-unmodified): Turn off recording undo
2975         information while running inside the macro.
2977         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2978         variable.
2979         (org-indent-mode): Remember and restore value of
2980         org-hide-leading-stars before `org-indent-mode'.
2982         * org-table.el (org-table-export): Also work in file-less
2983         buffers.
2985         * org.el (org-startup-indented): New option.
2986         (org-startup-options): Add new options indent and noindent.
2987         (org-unfontify-region): Remove line-prefix and wrap-prefix
2988         properties.
2989         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2990         hooks.
2991         (org-promote, org-demote): Run the new hooks.
2993         * org-table.el (org-table-align): Replace leading \n as well.
2995         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2996         and `line-wrap' text properties.
2998         * org-compat.el (org-kill-new): New function.
3000         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
3001         `line-wrap' text properties.
3003         * org-indent.el: New file.
3005 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
3007         * org.el (org-provide-todo-statistics): Tweak docstring.
3009         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
3011 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
3013         * org-exp.el (org-export-as-org): Insert the "-source" string
3014         before the extension.
3016         * org.el (org-read-date): Make sure the calendar is in the current
3017         frame.
3018         (org-set-emph-re): Remove the ? from the post-match.
3019         (org-emphasis-regexp-components): Add backslash to the
3020         postmatch class.
3021         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
3022         optional so that also lines at the end of the buffers will still
3023         be matched as headlines.
3025         * org-table.el (org-table-error-on-row-ref-crossing-hline):
3026         Variable made obsolete.
3027         (org-table-relative-ref-may-cross-hline): New option.
3028         (org-table-find-row-type): Honow the new option
3029         `org-table-relative-ref-may-cross-hline'.
3031 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
3033         * org-table.el (org-table-cut-region, org-table-copy-region): Work
3034         on single field if no active region.
3036 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
3038         * org-latex.el (org-export-latex-make-header): Only insert title
3039         if one is defined.
3041         * org.el (org-make-options-regexp): Allow empty values.
3043         * org-html.el (org-export-as-html): Move hrule detection to after
3044         plain list handling.
3046 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
3048         * org-html.el (org-format-org-table-html): Fix colgroup tags.
3050 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
3052         * org.el (org-cycle-internal-local): Improved version of finding
3053         next visible line.
3054         (org-cycle-hide-drawers): Only hide drawers if this is really
3055         necessary.
3056         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
3057         org-version of this function in Org-mode.  We use advice to
3058         implement this change, so that future changes to this function in
3059         outline.el wil be handled properly.
3060         (org-forward-same-level, org-backward-same-level): New commands.
3062 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
3064         * org.el (org-remove-empty-overlays-at)
3065         (org-clean-visibility-after-subtree-move): New functons.
3066         (org-move-subtree-down): Simplify cleanup of display.
3068 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
3070         * org-mac-message.el (org-mac-message-get-links): Improve
3071         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
3072         "s".  Fix the return value.
3073         (org-mac-message-insert-flagged): Simplify.
3075         * org.el (org-refile-get-location): Tamper with refile history o
3076         that history contains compete matches instead of the entered
3077         string.
3079 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
3081         * org.el (org-store-link): Never store a link to an inline task.
3083         * org-inlinetask.el (org-inlinetask-insert-task): New command.
3085         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
3086         inline tasks when positioning footnotes.
3088         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
3089         function.
3091         * org.el (org-refile): Remove the END line when archiving an
3092         inline task that does have an END line.
3094         * org-archive.el (org-archive-subtree): Remove the END line when
3095         archiving an inline task that does have an END line.
3097         * org-macs.el (org-with-limited-levels): New macro.
3098         (org-get-limited-outline-regexp): New function.
3100         * org-exp.el (org-export-format-source-code-or-example): Fix bug
3101         that did not enumerate first line.
3102         (org-export-mark-radio-links): Skip matches in links.
3104 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
3106         * org.el (org-activate-plain-links): Make single-match.
3107         (org-adapt-indentation): Fix docstring.
3109         * org-macs.el (org-unmodified): Turn of modification hooks while
3110         running this macro.
3112 2009-08-02  Bastien Guerry  <bzg@altern.org>
3114         * org.el (org-adapt-indentation): Slightly improve the docstring.
3115         (org-occur): Sends an error when the user inputs an empty string.
3116         (org-priority): Bugfix: the tag alignement should happen within
3117         save-excursion.
3119 2009-07-31  Bastien Guerry  <bzg@altern.org>
3121         * org.el (org-make-link-regexps): Don't exclude parentheses from
3122         `org-plain-link-re'
3123         (org-cycle-internal-local): When locally cycling, switch directly
3124         from CHILDREN to FOLDED if there is no subtree
3125         (org-cycle): Update the docstring to document the new behavior of
3126         `org-cycle-internal-local'.
3128 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
3130         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
3131         an abbreviated format for days.
3133 2009-07-27  Bastien Guerry  <bzg@altern.org>
3135         * org-protocol.el (org-protocol-default-template-key): New
3136         option.
3138         * org.el (org-refile): Bugfix: save-excursion before reading the
3139         refile target, otherwise cursor moves might confuse `org-refile'.
3141         * org-html.el (org-export-as-html): Bugfix: correctly convert the
3142         footnote reference before the footnote itself.
3144         * org.el (org-toggle-heading): Bugfix: correctly convert list
3145         items before the first headline.
3147         * org-html.el (org-export-html-footnote-format): New option for
3148         formatting the footnote reference.
3149         (org-export-as-html): Use the new option.
3151         * org.el (org-provide-todo-statistics): Allow a list of TODO
3152         keywords to compute statistics against headlines containing a
3153         keyword from this list.
3154         (org-update-parent-todo-statistics): Possibly use the new allowed
3155         value of `org-provide-todo-statistics'.
3157 2009-07-26  Bastien Guerry  <bzg@altern.org>
3159         * org-timer.el: Add autoload cookie.
3161         * org.el (org-occur-link-in-agenda-files): New function.
3163         * org-timer.el (org-timer-last-timer): New variable.
3165         * org-agenda.el (org-agenda-mode-map): New key for
3166         org-timer-set-timer called from the agenda.
3168         * org.el (org-mode-map): New key for org-timer-set-timer.
3170         * org-timer.el (org-timer-reset-timers)
3171         (org-timer-show-remaining-time, org-timer-set-timer): New
3172         functions.
3174         * org-clock.el (org-show-notification): Update the docstring.
3176         * org.el (org-provide-todo-statistics): Allow new value
3177         'all-headlines for this option, which includes entries with no
3178         TODO keywords in the todo statistics.
3179         (org-update-parent-todo-statistics): Possibly use the new
3180         'all-headline value from `org-provide-todo-statistics'.
3182 2009-07-25  Bastien Guerry  <bzg@altern.org>
3184         * org-clock.el (org-dblock-write:clocktable): Add a new option
3185         :timestamp which allows display of timestamps in clock reports.
3187         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
3188         list to a subtree, preserving the structure of the list.
3189         (org-set-emph-re): Make the last element optional in the regexp.
3190         This regexp now matches an emphasized string at the end of a line.
3192         * org-list.el (org-list-goto-true-beginning)
3193         (org-list-make-subtree, org-list-make-subtrees): New functions.
3195         * org.el (org-eval-in-calendar): Select the right frame.
3196         (org-save-frame-excursion): Remove this macro.
3198 2009-07-24  Bastien Guerry  <bzg@altern.org>
3200         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
3201         trying to find the beginning of a list.
3203         * org-exp.el (org-get-file-contents): Use a new argument: markup.
3204         When present, tell org-get-file-contents not to protect org-like
3205         lines.
3207         * org-id.el (org-id-uuid-program): New option to set the name of
3208         the uuidgen program.
3209         (org-id-method): Use `org-id-uuid-program'.
3210         (org-id-new): Use `org-id-uuid-program'.
3212 2009-07-23  Bastien Guerry  <bzg@altern.org>
3214         * org-exp.el (org-export-number-lines): Allow whitespace in code
3215         references.  Allow the -r switch to remove the references in the
3216         source code even when the lines are not numbered: the labels can
3217         be explicit enough.
3219         * org.el (org-fontify-whole-heading-line): New option.
3220         (org-set-font-lock-defaults): Use the new option.
3222         * org-clock.el (org-show-notification-handler): New option.
3223         (org-show-notification): Use the new option.
3225 2009-07-21  Bastien Guerry  <bzg@altern.org>
3227         * org.el (org-eval-in-calendar): Fix a bug about calendar
3228         navigation when `calendar-setup' value is 'calendar-only.
3230 2009-07-19  Bastien Guerry  <bzg@altern.org>
3232         * org.el (orgstruct++-mode): Fix typo in docstring.
3233         (org-insert-link): Clean up: (or (...)) => (...)
3234         (org-insert-link): Use TAB for stored links completion.
3236 2009-07-18  Bastien Guerry  <bzg@altern.org>
3238         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3239         building the list of targets.
3241         * org-remember.el (org-remember-delete-empty-lines-at-end): New
3242         option.
3243         (org-remember-handler): Use the new option.
3245 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
3247         * org.el (org-tags-sort-function): New option for sorting tags.
3248         (org-set-tags): Use the new option to sort tags.
3250         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3251         premature deletion of the data when using org-plot in a script.
3253 2009-07-17  Bastien Guerry  <bzg@altern.org>
3255         * org-clock.el (org-clock-in-prepare-hook): New hook.
3256         (org-clock-in): Use this new hook.
3258 2009-07-16  Bastien Guerry  <bzg@altern.org>
3260         * org.el (org-special-ctrl-a/e): Explicitely bind the value
3261         'reversed for this option to the "true line boundary first"
3262         behavior.
3263         (org-tags-match-list-sublevels): Document the 'indented value for
3264         this variable.
3266         * org-latex.el (org-export-latex-first-lines): Fix problem with
3267         publishing the region.
3269         * org-exp.el (org-export-format-source-code-or-example): Fix
3270         bad line numbering when exporting examples in HTML.
3272         * org-colview.el (org-format-time-period): Formats a time in
3273         fractional days as days, hours, mins, seconds.
3274         (org-columns-display-here): Add special handling for SINCE and
3275         SINCE_IA to format for display.
3277 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
3279         * org.el (org-tags-sort-function): Add custom declaration for tags
3280         sorting function.
3281         (org-set-tags): Sort tags if org-tags-sort-function is set
3283 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
3285         * org-clock.el (org-clock-goto): Find hidden headlines as well.
3287         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3289         * org-plot.el (org-plot/add-options-to-plist): Add timeind
3290         option.
3292 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
3294         * org-publish.el (org-publish-remove-all-timestamps): New function.
3295         (org-publish-all): Remove all timestamp files if `org-publish-all'
3296         is called with a prefix argument.
3298         * org-list.el (org-indent-item): Fix typo.
3299         (org-item-indent-positions): Normalize ordered bullet.
3301         * org-html.el (org-export-html-home/up-format): New option.
3302         (org-export-as-html): Insert the up and HOME links.
3304 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
3306         * org-html.el (org-export-as-html): Insert the title into the
3307         option plist.
3308         (org-export-html-insert-plist-item): New function.
3309         (org-export-as-html): Call `org-export-html-insert-plist-item'.
3311         * org-macs.el (org-set-local): Make a local variable, do not make
3312         the variable buffer-local!
3314         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3316         * org-html.el (org-export-as-html): Call `org-install-letbind'.
3318         * org-docbook.el (org-export-as-docbook): Call
3319         `org-install-letbind'.
3321         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
3323         * org-exp.el (org-infile-export-plist): Read BIND lines.
3324         (org-install-letbind): New function.
3325         (org-export-as-org, org-export-preprocess-string): Call
3326         `org-install-letbind'.
3328         * org-src.el (org-edit-src-exit): Untabify the example before
3329         returning to Org.
3331         * org-list.el (org-list-demote-modify-bullet): New option.
3332         (org-first-list-item-p): Save point.
3333         (org-fix-bullet-type): New optional argument FORCE-BULLET.
3334         (org-indent-item): Honor `org-list-demote-modify-bullet'.
3335         (org-item-indent-positions): Return bullet types along with
3336         indentation.
3338 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
3340         * org.el (org-show-entry): Hide drawers.
3342 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
3344         * org-footnote.el (org-footnote-auto-adjust): New option.
3345         (org-footnote-auto-adjust-maybe): New function.
3346         (org-footnote-new, org-footnote-delete): Call
3347         `org-footnote-auto-adjust-maybe'.
3349         * org.el (org-startup-options): Add new footnote-related
3350         keywords.
3352         * org-publish.el (org-publish-timestamp-filename): Additional
3353         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3354         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3355         TRUE-PUB-DIR.  Pass them through to
3356         `org-publish-timestamp-filename'.
3357         (org-publish-update-timestamp): Additional arguments PUB-DIR and
3358         PUB-FUNC, which are included in the hash.
3359         (org-publish-file): Delay timestamp test until the publishing
3360         function is known.
3362 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
3364         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3365         setting the deadline.
3367         * org.el (org-read-date-final-answer): New variable.
3368         (org-read-date): Store the final answer string, including the date
3369         from the calendar, for reuse by agenda bulk commands.
3371         * org-publish.el (org-publish-attachment): Fix publishing of
3372         attachments.
3374         * org-latex.el (org-export-latex-quotation-marks): Fix export of
3375         quotation makrs in parenthesis.
3376         (org-remove-initial-hash): New function.
3377         (org-export-latex-preprocess): Fix bug with infinite loop if
3378         environment is not properly closed.
3380         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3381         when indented.
3383         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3384         highlight also when indented.
3386 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
3388         * org-footnote.el (org-footnote-renumber-fn:N): New command.
3389         (org-footnote-action): Offer renumbering.
3391         * org.el (org-cycle): Honor the `integrate' value of
3392         org-cycle-include-plain-lists'.
3394         * org-list.el (org-cycle-include-plain-lists): New allowed value
3395         `internal'.  Improve the docstring.
3397         * org.el (org-set-autofill-regexps): Improve the paragraph-start
3398         regexp to work better with LaTeX commands.
3400 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
3402         * org-feed.el (org-feed-update): fix problem with non-existing
3403         buffer.
3404         (org-feed-skip-http-headers): New function.
3405         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
3406         (org-feed-get-feed): Fix command line arguments for curl.
3408 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
3410         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3411         and eps extensions.
3413 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
3415         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3416         loaded.
3418         * org.el (org-map-entries): No longer force
3419         `org-tags-match-list-sublevels' to t during a todo-only tags
3420         search.
3422 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
3424         * org-latex.el (org-export-latex-low-levels): Allow user-defined
3425         environment.
3426         (org-export-latex-subcontent): Handle user-defined environment.
3428         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3429         the View dispatcher.
3431         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3432         `make-overlay'.
3434         * org-latex.el (org-export-as-pdf): Protect match data during call
3435         to shell-quote-argument.
3437         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3438         (org-agenda-view-mode-dispatch): New function.
3440 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
3442         * org-agenda.el (org-agenda-mode): Reset list of marks.
3443         (org-agenda-mode-map): Define new keys for refile and bulk action.
3444         (org-agenda-menu): Add menu itesm for refile and bulk action.
3445         (org-agenda-refile): New function.
3446         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3447         (org-agenda-marked-entries): New variable.
3448         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3449         (org-agenda-remove-all-bulk-action-marks)
3450         (org-agenda-bulk-action): New functions/commands.
3452 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
3454         * org-exp.el (org-get-file-contents): Protect org-like lines in
3455         included files.
3456         (org-export-format-source-code-or-example): Remove newlines.
3458         * org-latex.el (org-export-latex-links): Check for no-description
3459         marking.
3461         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3462         argument separator back to comma.
3463         (org-export-normalize-links): Mark links without description.
3465 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
3467         * org-exp.el (org-infile-export-plist): Fix bug in macro
3468         processing.
3470         * org-agenda.el (org-agenda-clock-out): Update line after clocking
3471         out.
3472         (org-agenda-highlight-todo): Fix bug with highlighting.
3474 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
3476         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3477         new alignment strings.
3479         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3480         command list.
3481         (org-table-align): Check for forced align type.
3483         * org.el (org-self-insert-command): Add yas/expand to command
3484         list.
3486         * org-clock.el (org-clock-in-hook): New hook.
3487         (org-clock-in): Run `org-clock-in-hook.
3488         (org-clock-out-hook): New hook.
3489         (org-clock-out): Run `org-clock-out-hook.
3490         (org-clock-cancel-hook): New hook.
3491         (org-clock-cancel): Run `org-clock-cancel-hook.
3492         (org-clock-goto-hook): New hook.
3493         (org-clock-goto): Run `org-clock-goto-hook.
3495 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
3497         * org.el (org-store-link): Better default description for link to
3498         Org-mode headline.
3500         * org-exp.el (org-export-generic): Autoload the generic exporter
3501         function.
3502         (org-export): Implement the `g' key for the generic exporter.
3504 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
3506         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3507         and for zbacktab'.
3509         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
3511         * org-exp.el (org-infile-export-plist): Get macros also from
3512         #+SETUPFILE.
3514 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
3516         * org-colview.el (org-columns-capture-view): Protect vertical bars
3517         in column values.
3518         (org-columns-capture-view): Exclude comment and archived trees.
3520         * org-colview-xemacs.el (org-columns-capture-view): Protect
3521         vertical bars in column values.
3522         (org-columns-capture-view): Exclude comment and archived trees.
3524         * org.el (org-quote-vert): New function.
3526         * org-latex.el (org-export-latex-verbatim-wrap): New option.
3528         * org-exp.el (org-export-format-source-code-or-example): Use
3529         `org-export-latex-verbatim-wrap'.
3531         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3532         time stamps.
3534         * org-html.el (org-export-table-row-tags): New option.
3535         (org-format-org-table-html): Rename `nlines' to `nline', use new
3536         option.
3539 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
3541         * org-exp-blocks.el: Declare functions and variables.
3543         * org-remember.el (org-remember-templates): Allow the headline
3544         element to be a function.
3545         (org-remember-apply-template): If the headline is a function, call
3546         it to get the true function.
3548         * org-clock.el (org-clock-menu): New function.
3549         (org-clock-update-mode-line): Update help string.
3550         (org-clock-modify-effort-estimate): New function.
3551         (org-clock-mark-default-task): New function.
3553         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3554         minutes as input.
3555         (org-org-menu): Add new clocking stuff.
3556         (org-clock-is-active): New function.
3558 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
3560         * org.el (org-open-non-existing-files): Improve docstring.
3562 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
3564         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3565         option.
3566         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3568         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3570         * org-list.el (org-get-checkbox-statistics-face): Use the new
3571         faces.
3573         * org-faces.el (org-checkbox-statistics-todo)
3574         (org-checkbox-statistics-done): New faces.
3576 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3578         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3579         (org-edit-src-exit): Better cursor positioning when returning from
3580         editing.
3582         * org-latex.el (org-export-latex-use-verb): New variable.
3583         (org-export-latex-emph-format): Prefer \texttt over \verb when
3584         org-export-latex-use-verb is set.
3586 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3588         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3589         at normal indentation.
3591         * org-html.el (org-export-html-close-lists-maybe): Also look at
3592         normal indentation.
3594         * org-remember.el (org-remember-handler): Abort remember if the
3595         buffer is empty.
3597         * org-src.el (org-edit-src-content-indentation): New option.
3598         (org-edit-src-exit): Apply extra indentation.
3600         * org-exp.el (org-export-format-source-code-or-example): Run
3601         `org-src-mode-hook'.
3603         * org-src.el (org-src-mode-hook): New variable.
3604         (org-edit-src-code): Run `org-src-mode-hook'.
3606 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3608         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3610         * org-src.el (org-edit-src-get-indentation): New function.
3611         (org-edit-src-code): Base indentation on the begin line.
3613 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3615         * org-gnus.el (org-gnus-store-link): Require message.el in
3616         org-gnus-store-link.
3618 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3620         * org-src.el: New file, split out of org.el
3622         * org-docbook.el (org-export-as-docbook): Better indentation
3623         treatment.
3625         * org-macs.el (org-replace-match-keep-properties): New function.
3627         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3628         preprocessing of center and quote and verse blocks.
3630         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3631         (org-export-as-docbook): Close lists when original indentation
3632         mandates it.
3634         * org-html.el (org-export-html-close-lists-maybe): New function.
3635         (org-export-as-html): Close lists when original indentation
3636         mandates it.
3638         * org-list.el (org-list-end): Respect the stored "original"
3639         indentation when determining the end of the list.
3641         * org-exp.el (org-export-replace-src-segments-and-examples):
3642         Remember indentation correctly.
3644 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3646         * org-clock.el (org-clock-update-mode-line): Apply face
3647         org-mode-line-clock.
3649         * org-faces.el (org-mode-line-clock): New face.
3651 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3653         * org-gnus.el (org-gnus-store-link): Fix bug where
3654         `org-gnus-store-link' used wrong subject when called in an article
3655         buffer.  Patch provided by fengli AT gmail DOT com.
3657 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3659         * org-exp.el (org-export-format-source-code-or-example): Remember
3660         the original indentation of source code snippets and examples.
3662         * org-latex.el (org-export-as-latex): Relocate the table of
3663         contents.
3665         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3667         * org-agenda.el (org-run-agenda-series): Scope global options also
3668         when creating the agenda buffer.
3670 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3672         * org.el (org-adapt-indentation): Improve documentation.
3673         (org-insert-property-drawer): Respect org-adapt-indentation when
3674         inserting the drawer.
3675         (org-remove-flyspell-overlays-in): New function.
3676         (org-do-emphasis-faces, org-activate-plain-links)
3677         (org-activate-code, org-fontify-meta-lines-and-blocks)
3678         (org-activate-angle-links, org-activate-footnote-links)
3679         (org-activate-bracket-links, org-activate-dates)
3680         (org-activate-target-links, org-activate-tags): Remove flyspell
3681         overlays.
3683 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3685         * org.el (org-edit-src-save): New function.
3687         * org-clock.el (org-clock-out-switch-to-state): New option.
3688         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3690         * org-compat.el (org-compatible-face): Improve macro.
3692         * org.el (org-global-properties-fixed): Add default for
3693         CLOCK_MODELINE_TOTAL.
3695         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3696         andd tend.
3697         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3698         org-clock-sum.
3699         (org-clock-get-sum-start): New function.
3701         * org.el (org-startup-options): New keywords blockhide and
3702         blockshow.
3703         (org-mode): Add new invisibility spec.
3704         (org-set-startup-visibility): Hide block on startup if so
3705         desired.
3706         (org-hide-block-startup): New option.
3707         (org-block-regexp): New constant.
3708         (org-hide-block-overlays): New variable.
3709         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3710         (org-show-block-all, org-hide-block-toggle-maybe)
3711         (org-hide-block-toggle): New functions.
3712         (org-edit-src-exit): Do not quote lines starting with # and no +
3713         behind it.
3714         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3715         entry.
3717 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3719         * org.el (org-buffer-property-keys): Add Effort property for
3720         completion.
3722 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3724         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3725         when retrieving total clocked time in the subtree.
3727         * org.el (org-quoting-blocks): New variable.
3729 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3731         * org-table.el (org-table-store-formulas)
3732         (org-table-get-stored-formulas, org-table-fix-formulas)
3733         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3734         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3736         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3737         indented #+TBLFM line.
3739         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3740         indented #+TBLFM line.
3742         * org-colview.el (org-dblock-write:columnview): Allow indented
3743         #+TBLFM line.
3745         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3746         indented #+TBLFM line.
3748         * org-clock.el (org-dblock-write:clocktable): Allow indented
3749         #+TBLFM line.
3751 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3753         * org-exp.el (org-export-format-source-code-or-example): Make
3754         editing indented blocks work correctly.
3756         * org.el (org-edit-src-nindent): New variable.
3757         (org-edit-src-code, org-edit-fixed-width-region)
3758         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3759         editing indented blocks work correctly.
3761 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3763         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3764         indented blocks.
3765         (org-export-format-source-code-or-example): Fix indentation of
3766         blocks.
3767         (org-export-remove-indentation): New function.
3768         (org-export-select-backend-specific-text): Allow backend-specific
3769         code to be indented.
3770         (org-export-mark-blockquote-verse-center): Allow markers to be
3771         indented.
3773         * org.el (org-fontify-meta-lines): New function.
3774         (org-set-font-lock-defaults): Call the new fontification
3775         function.
3777         * org-faces.el (org-meta-line): New face
3778         (org-block):  New face.
3780 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3782         * org.el (org-treat-insert-todo-heading-as-state-change)
3783         (org-treat-S-cursor-todo-selection-as-state-change): New
3784         variables.
3785         (org-insert-todo-heading): Honor
3786         `org-treat-insert-todo-heading-as-state-change'.
3787         (org-shiftright, org-shiftleft): Honor
3788         `org-treat-S-cursor-todo-selection-as-state-change'.
3789         (org-inhibit-logging): New variable.
3791 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3793         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3794         range for marker position checking.
3796         * org-latex.el (org-export-latex-first-lines): Fix bug when
3797         exporting a region.
3799 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3801         * org-exp.el (org-export-push-to-kill-ring): Protect using
3802         x-set-selection, because that does not always work.
3804         * org-agenda.el (org-agenda-list): Apply the new face
3805         `org-agenda-date-today'.
3807         * org-faces.el (org-agenda-date-today): New face.
3809 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3811         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3812         creating appointments.
3814         * org-latex.el (org-export-latex-low-levels): Fix customization
3815         type.
3817         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3818         priority commands.
3820         * org-agenda.el (org-agenda-priority): Disable priority commands.
3822         * org.el (org-enable-priority-commands): New option.
3824         * org-colview-xemacs.el (org-columns-compute)
3825         (org-columns-number-to-string): Fix problems with empty fields.
3827         * org-colview.el (org-columns-compute)
3828         (org-columns-number-to-string): Fix problems with empty fields.
3830         * org-exp.el (org-export-push-to-kill-ring): New function.
3831         (org-export-copy-to-kill-ring): New option.
3833         * org-latex.el (org-export-as-latex): Call
3834         `org-export-push-to-kill-ring'.
3836         * org-html.el (org-export-as-html): Call
3837         `org-export-push-to-kill-ring'.
3839         * org-docbook.el (org-export-as-docbook): Call
3840         `org-export-push-to-kill-ring'.
3842         * org-ascii.el (org-export-as-ascii): Call
3843         `org-export-push-to-kill-ring'.
3845         * org-exp.el (org-export-show-temporary-export-buffer): New
3846         option.
3848         * org-latex.el (org-export-as-latex): Use
3849         `org-export-show-temporary-export-buffer'.
3851         * org-html.el (org-export-as-html): Use
3852         `org-export-show-temporary-export-buffer'.
3854         * org-docbook.el (org-export-as-docbook): Use
3855         `org-export-show-temporary-export-buffer'.
3857         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3858         `org-export-show-temporary-export-buffer'.
3860         * org-exp.el (org-export-show-temporary-export-buffer): New
3861         option.
3862         (org-export-push-to-kill-ring): New function.
3864         * org-colview.el (org-columns-compile-map): New variable.
3865         (org-columns-new, org-columns-compute)
3866         (org-columns-number-to-string, org-columns-uncompile-format)
3867         (org-columns-compile-format): Implement new operators.
3869 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3871         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3873         * org-html.el (org-export-html-xml-declaration): New option.
3874         (org-export-as-html): Use `org-export-html-xml-declaration'.
3876         * org-list.el (org-update-checkbox-count): Make property
3877         dependent.
3879         * org.el (org-hierarchical-todo-statistics): New option.
3880         (org-update-parent-todo-statistics): Modified to handle recursive
3881         statistics.
3883 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3885         * org-publish.el (org-publish): Make this function behave
3886         correctly in interactive use when called with a prefix argument.
3888         * org.el (org-todo-statistics-hook): New hook.
3889         (org-update-parent-todo-statistics): Use new hook.
3890         (org-log-into-drawer): New function.
3891         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3892         determine if we should be logging into a drawer.
3893         (org-log-into-drawer): Update docstring.
3894         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3896         * org-list.el (org-checkbox-statistics-hook): New hook.
3897         (org-update-checkbox-count-maybe): Use new hook.
3899         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3900         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3901         to kill ring.
3903 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3905         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3906         a line.
3908 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3910         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3911         better bufer-generating mechanism.
3912         (org-edit-src-find-buffer): New function.
3914         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3915         archive tag, this is already done by `org-agenda-skip'.
3916         data while constructing lost of tags.
3918 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3920         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3921         as argument separator in macros.
3923         * org-html.el (org-export-as-html): Add xml declaration.
3925 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3927         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3928         (org-sort-entries-or-items): Run the new hook.
3929         (org-after-refile-insert-hook): New hook.
3930         (org-refile): Run `org-after-refile-insert-hook'.
3932         * org-agenda.el (org-agenda-get-progress): Never take time of day
3933         from headline when displaying progress.
3935         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3936         (org-export-as-latex): Force the correct regexp in the
3937         preprocessor buffer.
3938         (org-export-latex-set-initial-vars): Set
3939         `org-export-latex-complex-heading-re'.
3941         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3942         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3944 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3946         * org-latex.el (org-export-latex-tables-centered): New option.
3947         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3949         * org-exp.el (org-export-as-org): New command.
3950         (org-export-as-org): New command.
3952         * org-publish.el (org-publish-org-to-org): New function.
3954 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3956         * org.el (org-yank): Just call `org-yank-generic'.
3957         (org-yank-generic): New function, containing the formaer
3958         functionality of `org-yank'.
3960         * org-latex.el (org-export-latex-not-done-keywords)
3961         (org-export-latex-done-keywords): New variables.
3962         (org-export-latex-todo-keyword-markup): New option.
3963         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3964         (org-export-latex-keywords-maybe): Apply the TODO markup.
3966 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3968         * org-exp.el (org-infile-export-plist): Add more default macros.
3969         (org-export-preprocess-apply-macros): Process macro arguments.
3971 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3973         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3974         `unblocked'.
3975         (org-print-icalendar-entries): Respect the new value of
3976         `org-icalendar-include-todo'.
3978         * org.el (org-link-try-special-completion)
3979         (org-file-complete-link): New functions.
3980         (org-insert-link): Add special completion support for some link
3981         types.
3983         * org-bbdb.el (org-bbdb-complete-link): New function.
3985 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3987         * org-list.el (org-update-checkbox-count): Allow recursive
3988         statistics.
3989         (org-hierarchical-checkbox-statistics): New option.
3991         * org.el (org-cycle): Remove erraneous space character.
3993         * org-icalendar.el (org-icalendar-timezone): Initialize from
3994         environment.
3996         * org-html.el (org-format-org-table-html): Specify the scope.
3997         (org-format-table-table-html): Specify the scope.
3998         (org-export-table-header-tags): Prepare the scope parameter.
4000 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
4002         * org-html.el
4003         (org-export-html-table-use-header-tags-for-first-column): New
4004         option.
4006         * org.el (org-autoload): Fix autoloading of ascii export
4007         functions.
4008         (org-modules): Add org-special-blocks.
4010 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
4012         * org-icalendar.el (org-start-icalendar-file): Use the new option.
4013         (org-ical-timezone): New option.
4015         * org-exp.el (org-export-get-coderef-format): Use the description
4016         is present.
4018         * org.el (org-sort-entries-or-items): Improve docstring, and make
4019         better implementation for time sorting.
4021 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
4023         * org.el (org-edit-src-persistent-message): New option.
4024         (org-edit-src-code, org-edit-fixed-width-region): Use the new
4025         option.
4027         * org-clock.el (org-clock-insert-selection-line): Fix prefious
4028         patch.
4030         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
4031         separate buffer instead of indirect buffer to edit source code.
4032         (org-edit-src-exit): Make this function work with the new setup.
4034         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
4035         are properly fontified before shown in the selection menu.
4037         * org.el (org-fontify-like-in-org-mode): New function.
4039         * org-latex.el (org-export-latex-links): Use the property list to
4040         retrieve the default image attributes.
4042         * org-exp.el (org-export-plist-vars): Add a new option.
4044 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
4046         * org-exp.el (org-export, org-export-visible): Support ASCII
4047         export to buffer
4048         (org-export-normalize-links): Do not protect the description if it
4049         is explicitly given.
4051         * org-ascii.el (org-export-as-ascii-to-buffer)
4052         (org-replace-region-by-ascii, org-export-region-as-ascii): New
4053         commands.
4054         (org-export-as-ascii): Add all the same parameters that are also
4055         supported by the other export functions.
4057         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
4058         org-checklist.el.
4059         (org-reset-checkbox-state-subtree): Call
4060         `org-reset-checkbox-state-subtree'.
4062         * org-remember.el (org-select-remember-template): For the
4063         selection of a valid template.
4065         * org-latex.el (org-export-region-as-latex): Supply the
4066         force-no-subtree argument.
4067         (org-export-as-latex): Provide better limits when exporting the
4068         first line.  When exporting to string, we still want the first
4069         lines.
4070         (org-export-latex-first-lines): New argument END, to force the end
4071         of the region.
4072         (org-export-region-as-latex): Use the property list.
4073         (org-export-as-latex):
4075         * org-colview-xemacs.el (org-columns-remove-overlays)
4076         (org-columns): Fix call to `local-variable-p'.
4078 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
4080         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
4081         (org-export-as-html): Run the new hook.
4083         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
4084         (org-export-latex-preprocess): Run the new hook.
4086         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
4087         (org-export-preprocess-string): Run the new hook.
4089 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
4091         * org-macs.el (org-check-external-command): New defsubst.
4093         * org.el (org-mode-map): New key for reload.
4094         (org-format-latex): Better error message when external programs
4095         are not available.
4097         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
4099         * org.el (org-sort-entries-or-items): Explicit sorting function
4100         for priorities, needed for XEmacs compatibility.
4102         * org-remember.el (org-remember-apply-template): Improve auto-save
4103         behavior.
4105 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
4107         * org-latex.el (org-export-latex-preprocess): Also protect
4108         environments ending in a star.
4110         * org-list.el (org-at-item-p): Fix regular expression.
4112 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
4114         * org.el (org-end-of-subtree): Improve speed.
4116         * org-agenda.el (org-agenda-get-timestamps)
4117         (org-agenda-get-progress, org-agenda-get-deadlines)
4118         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
4119         in particular, wait as long as possible to collect the tags.
4120         (org-stuck-projects): Improve docstring.
4122         * org.el (org-store-link): No errors when getting custom id before
4123         first headline.
4124         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
4126 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
4128         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
4130         * org-protocol.el: Remove dependency on url.el.
4131         (org-protocol-unhex-compound, org-protocol-open-source): Remove
4132         dependency on url.el.
4134         * org-latex.el (org-export-as-pdf): Use
4135         `org-latex-to-pdf-process'.
4137 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
4139         * org-latex.el (org-latex-to-pdf-process): New option.
4141         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
4142         New option.
4143         (org-agenda-get-timestamps): Honor
4144         `org-agenda-skip-additional-timestamps-same-entry'.
4146         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
4147         (org-clock-goto): Find recent task only if
4148         `org-clock-goto-may-find-recent-task' allows it.
4150         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
4151         drawers, and drawers that are missing the :END: line.
4153 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4155         * org-clock.el (org-clock-goto): Go to recently clocked task if no
4156         clock is running.
4158 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4160         * org.el (org-update-parent-todo-statistics): Check for
4161         STATISTICS_FROM property.
4163         * org-list.el (org-update-checkbox-count): Check for
4164         STATISTICS_FROM property.
4166         * org.el (org-tab-first-hook)
4167         (org-tab-after-check-for-table-hook)
4168         (org-tab-after-check-for-cycling-hook): New hooks.
4169         (org-cycle-internal-global, org-cycle-internal-local): New
4170         functions, split out from `org-cycle'.
4171         (org-cycle): Call the new hooks.
4173 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
4175         * org-exp.el (org-export-preprocess-string): Reset the list of
4176         preferred targets for each run of the preprocessor.
4178         * org.el (org-refile-target-verify-function): Improve
4179         documentation.
4180         (org-get-refile-targets): Respect point being moved by the
4181         verification function.
4183         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
4184         option.
4185         (org-export-latex-keywords): Use new option.
4187         * org.el (org-rear-nonsticky-at): New defsubst.
4188         (org-activate-plain-links, org-activate-angle-links)
4189         (org-activate-footnote-links, org-activate-bracket-links)
4190         (org-activate-dates, org-activate-target-links)
4191         (org-activate-tags): Place the rear-nonsticky properties at the
4192         correct location.
4194 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
4196         * org-protocol.el (server-edit): Declare `server-edit'.
4197         (org-protocol-unhex-string, org-protocol-unhex-compound): New
4198         functions.
4199         (org-protocol-check-filename-for-protocol): Call `server-edit'.
4201         * org.el (org-default-properties): New default properteis for
4202         completion.
4204         * org-exp.el (org-export-add-subtree-options): Add new properties
4205         for subtree export.
4207         * org-docbook.el (org-export-docbook-keywords-markup)
4208         (org-export-docbook-timestamp-markup): New options.
4209         (org-export-docbook-protect-tags): New function.
4211 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
4213         * org-id.el (org-id-get-with-outline-path-completion): Turn off
4214         org-refile-target-verify-function for the duration of the command.
4216         * org.el (org-link-to-org-use-id): New possible value
4217         `create-if-interactive-and-no-custom-id'.
4218         (org-store-link): Use custom IDs.
4219         (org-link-search): Find custom ID properties from #link.
4220         (org-default-properties): Add CUSTOM_ID for property completion.
4221         (org-refile-target-verify-function): New option.
4222         (org-goto): Turn off org-refile-target-verify-function
4223         for the duration of the command.
4225 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
4227         * org-html.el (org-export-as-html): Use custom IDs in the toc.
4229         * org-exp.el (org-export-preferred-target-alist): New variable.
4230         (org-export-define-heading-targets): Find the new CUSTOM_ID
4231         property.
4232         (org-export-target-internal-links): Target the custom ids when
4233         possible.
4235         * org-latex.el (org-export-latex-preprocess): Better regexp for
4236         matching latex macros with arguments.
4238 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
4240         * org-remember.el (org-remember-handler): Allow filing to non-org
4241         files.
4243 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
4245         * org-feed.el (org-feed-alist): New keyword options.
4246         (org-feed-update): Use the new options.
4247         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
4248         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
4249         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
4250         functions.
4252         * org-table.el (org-table-fix-formulas): Do not change references
4253         to remote tables.
4254         (org-table-get-remote-range): Convert standard coordinates to RC
4255         format.
4257         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4259 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
4261         * org-compat.el (org-sha1-string): Function removed.
4263         * org.el (org-refile-allow-creating-parent-nodes): New option.
4264         (org-refile-get-location): New argument NEW-NODES.
4265         (org-refile): Call `org-refile-get-location' with the new
4266         argument.
4267         (org-refile-get-location): Arrange for adding a new child.
4268         (org-refile-new-child): New function.
4270         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
4271         an additional span element.
4273         * org-clock.el: Fix a number of docstrings.
4274         (org-clock-find-position): New argument
4275         FIND-UNCLOSED to make the function find an unclosed clock in the
4276         entry.
4277         (org-clock-in): Call `org-clock-find-position' with the new
4278         argument if we might be resuming a clock.
4280 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
4282         * org-latex.el (org-export-latex-display-custom-times): New variable.
4283         (org-export-latex-timestamp-markup): New option.
4284         (org-export-latex-set-initial-vars): Remember the local value of
4285         `org-display-custom-times'.
4286         (org-export-latex-content): Process time stamps.
4287         (org-export-latex-time-stamps): New function.
4289         * org-macs.el (org-maybe-intangible): Add intangible property
4290         again to invisible text.
4292 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
4294         * org-exp.el (org-default-export-plist): Handle undefined
4295         variables.
4297 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
4299         * org.el (org-sort-entries-or-items): Match TODO keywrds
4300         case-sensitively, when sorting.
4301         (org-priority): Do not match TODO keywords with wrong case.
4303 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
4305         * org-feed.el (org-feed-update): Bind the variable
4306         `new-formatted'.
4308         * org-html.el (org-export-as-html): Start paragraphs after literal
4309         examples.
4311         * org-docbook.el (org-export-as-docbook): Start paragraphs after
4312         literal examples.
4314 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
4316         * org.el (org-todo): Honor the NOBLOCKING property.
4318         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4319         NOBLOCKING property.
4321         * org.el (org-scan-tags): Fix bug in tag scanner
4323 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
4325         * org.el (org-modules): Mark obsolete packages.
4327         * org-html.el: New file, split out from org-exp.el.
4329         * org-icalendar.el: New file, split out from org-exp.el.
4331         * org-xoxo.el: New file, split out from org-exp.el.
4333         * org-ascii.el: New file, split out from org-exp.el.
4335 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
4337         * org-compat.el (org-find-library-name): New function.
4339         * org.el (org-pre-cycle-hook): New hook.
4340         (org-cycle): Call the new hook in appropriate places.
4341         (org-reload): Only reload files that have been loaded before.
4343 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
4345         * org.el (org-set-font-lock-defaults): Enforxe space or line end
4346         after todo keyword.
4347         (org-todo): When changing TODO state, do matching
4348         case-sensitively.
4349         (org-map-continue-from): New variable.
4350         (org-scan-tags): Respect values in `org-map-continue-from'.
4351         (org-reload): Make XEmacs compatible.
4353 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
4355         * org-protocol.el (org-protocol-flatten-greedy): New function.
4356         (org-protocol-flatten): New function.
4358         * org.el (org-open-link-from-string): Pass reference buffer to
4359         `org-open-at-point'.
4360         (org-open-at-point): New optional argument `reference-buffer'.
4362 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
4364         * org.el (org-scan-tags): Make tag scan find headline in first
4365         line, 2nd attempt.
4366         (org-get-refile-targets): Add the naked file name.
4367         (org-refile): Store as top-level entry when only file name was
4368         given.
4370         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4372         * org.el (org-block-todo-from-children-or-siblings-or-parent):
4373         Renamed from org-block-todo-from-children-or-siblings, and
4374         enhanced to look for the parent's status as well.
4376         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4377         (org-agenda-get-progress): Add first notes line to log entry if so
4378         desired.
4380 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
4382         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4383         (org-agenda-cleanup-fancy-diary): Call the new hook.
4385         * org-remember.el (org-remember-apply-template): Take the default
4386         for the annotation from the :annotation property.
4388         * org-mac-message.el (org-mac-message-get-link): Remove the
4389         quotes.
4390         (org-mac-message-get-link): Return the result.
4392 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
4394         * org.el (org-refile-get-location): Add file name only if not
4395         already included in outline path.
4397         * org-faces.el (org-n-level-faces): Fix customization type from
4398         number to integer.
4400         * org-exp.el (org-export-headline-levels): Fix customization type
4401         from number to integer.
4403         * org-agenda.el (org-agenda-confirm-kill)
4404         (org-agenda-custom-commands-local-options)
4405         (org-timeline-show-empty-dates, org-agenda-ndays)
4406         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4407         customization type from number to integer.
4409 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
4411         * org-protocol.el: Declare some functions.
4413         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
4414         postion before inserting modified headline.
4416         * org-agenda.el (org-agenda-compare-effort): Honor
4417         `org-sort-agenda-noeffort-is-high'.
4418         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4419         (org-agenda-compare-effort): Implement the "?" operator for
4420         finding entries without effort setting.
4422         * org.el (org-extract-attributes-from-string): New function.
4424         * org-exp.el (org-export-splice-attributes): New function.
4426 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
4428         * org-mouse.el: XEmacs compatibility fixes
4430         * org-docbook.el (org-export-as-docbook): Process footnotes like
4431         normal text.
4433         * org.el (org-modules): Add org-inlinetasks.el
4434         (org-cycle): Implement limiting level on cycling.
4435         (org-move-subtree-down): Fix bug with swapping subtrees at end of
4436         buffer.
4438         * org-inlinetask.el: New file.
4440         * org.el (org-emphasis-regexp-components): Allow braces in
4441         emphasis pre and post match.
4443         * org-footnote.el (org-footnote-normalize): When only dorting, do
4444         not insert inline notes at the end.
4446         * org-docbook.el (org-id-find-id-file): Add function declaration.
4448         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4450         * org-docbook.el: New file.
4452 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
4454         * org.el (org-reftex-citation): New command.
4456 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
4458         * org-agenda.el (org-agenda-cmp-user-defined): New option.
4459         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4460         sorting options.
4461         (org-entries-lessp): Apply the new sorting option.
4463         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4464         blocker code, when an older sibling has children.
4466         * org-mac-message.el (org-mac-message-get-link): Improve getting
4467         links from multiple selected messages.
4469 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
4471         * org-remember.el (org-remember-finalize): Do not set buffer file
4472         name to nil.
4473         (org-remember-handler): Mark buffer as unmodified.
4474         (org-remember-handler): Delete backup file and show message about
4475         remaining backup files.
4476         (org-remember-auto-remove-backup-files): New option.
4478         * org.el (org-store-link): Use buffer name as link description in
4479         w3-mode buffers.
4480         (org-ido-switchb): Fix argument bug for completion.
4482         * org-remember.el (org-remember-apply-template): Set local
4483         variable `auto-save-visited-file-name' instead of global one.
4485 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
4487         * org-feed.el: Re-write.
4489         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4490         (org-agenda-get-todos): Mark file tags as inherited.
4491         (org-agenda-list): Always search diary lines for a time.
4493 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
4495         * org-feed.el (org-feed-assume-stable): New option.
4496         (org-feed-before-adding-hook): New hook.
4498         * org-exp.el (org-export-as-html): Close local lists depending on
4499         indentation, also when starting a table.
4501         * org-remember.el (org-remember-backup-directory)
4502         (org-remember-backup-name): New internal variable.
4504 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
4506         * org-clock.el (org-clock-out-if-current): Make buffer detection
4507         work in indirect buffers as well.
4509         * org.el (org-emphasis-regexp-components): Add the exxclamation
4510         mark to the post-emphasis characters.
4512 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
4514         * org.el (org-read-date-minibiffer-septup-hook): New hook.
4515         (org-read-date): Run the new hook.
4517         * org-mac-message.el (org-mac-flagged-mail): New group.
4518         (org-mac-mail-account): New variable.
4519         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4520         commands.
4522         * org-remember.el (org-remember-backup-directory): New variable.
4523         (org-remember-apply-template): Write file to backup directory.
4525 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
4527         * org-mouse.el (org-mouse-todo-menu): New function.
4528         (org-mouse-todo-keywords): Function removed.
4529         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4531         * org-table.el (org-table-beginning-of-field)
4532         (org-table-end-of-field): New commands
4533         (org-table-previous-field, org-table-beginning-of-field): Better
4534         error messages.
4535         (orgtbl-setup): Include `M-a' and `M-e'.
4537         * org.el (org-backward-sentence, org-forward-sentence): New
4538         commands.
4540         * org-colview.el (org-colview-initial-truncate-line-value): New
4541         variable.
4542         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4543         (org-columns): Remember the value of `truncate-lines'.
4545         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4546         New variable.
4547         (org-columns-remove-overlays): Restore the value of
4548         `truncate-lines'.
4549         (org-columns): Remember the value of `truncate-lines'.
4551         * org.el (org-columns-skip-arrchived-trees): New option.
4553         * org-agenda.el (org-agenda-export-html-style): Define color for
4554         org-agenda-done face.
4555         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4556         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4558         * org.el (org-scan-tags): Use the new face.
4560         * org-faces.el (org-agenda-done): New face.
4562         * org.el (org-scan-tags): Test the value org
4563         `org-tags-match-list-sublevels'.
4564         (org-tags-match-list-sublevels): New allowed value: indented.
4566         * org-export-latex.el (org-export-latex-make-header): Apply macros
4567         in header.
4569         * org-exp.el (org-export-apply-macros-in-string): New function.
4571         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4572         with the definition of a checked box.
4574         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4576         * org-export-latex.el (org-export-latex-low-levels): More options
4577         for how to process lower levels in LaTeX.
4578         (org-export-latex-subcontent): Better treatment for lists as a
4579         means of publishing lower levels.
4581 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4583         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4585         * org-faces.el (org-checkbox): New face.
4587         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4588         fragement images if there is an export file.
4590 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4592         * org-agenda.el (org-stuck-projects): Document that the subtree of
4593         projects that are not stuck will now be searched for stuck
4594         sub-projects.
4595         (org-agenda-skip-entry-when-regexp-matches)
4596         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4597         (org-agenda-list-stuck-projects): Use
4598         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4600         * org-export-latex.el (org-export-latex-preprocess): Improve
4601         export of verses.
4603         * org-exp.el (org-export-as-html): Implement centering as a div
4604         rather than a paragraph.  Do a better job with line-end in verse
4605         environments.
4607 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4609         * org.el (org-open-at-point): Fix tags searches by mouse click.
4611 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4613         * org-export-latex.el (org-export-latex-preprocess): Implement the
4614         centering markup.
4616         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4617         from `org-export-mark-blockquote-and-verse'.
4618         (org-export-as-html): Implement the centering markup.
4620         * org-export-latex.el (org-export-latex-tables): Fix vertical
4621         lines in tables.
4623 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4625         * org.el (org-read-date-history): New variable.
4626         (org-read-date): Use new history variable.
4627         (org-toggle-heading): Fix bug when used before first headline.
4628         (org-store-log-note): Remove drawer if empty while note is
4629         aborted.
4630         (org-remove-empty-drawer-at): New function.
4631         (org-check-after-date): New command.
4632         (org-sparse-tree): New sparse tree command "a".
4634         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4636 2009-03-14  Bastien Guerry  <bzg@altern.org>
4638         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4639         column and a space, not only a column.
4641 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4643         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4644         defaults for verbose emphasis.
4645         (org-export-latex-emph-format): New function.
4646         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4648         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4649         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4650         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4651         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4652         commands.
4654         * org.el (org-timestamp-change): Move end-time along with start
4655         time.
4657 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4659         * org-exp.el (org-export-target-internal-links)
4660         (org-export-as-html): Protect links specified as #name.
4662 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4664         * org.el (org-clone-subtree-with-time-shift): New command.
4666         * org-export-latex.el (org-export-latex-special-chars)
4667         (org-export-latex-treat-sub-super-char): Fix subscript export.
4669         * org-exp.el (org-create-multibrace-regexp): Do not add
4670         backslashes to the class.
4672 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4674         * org-colview.el (org-columns-map): Better functions for moving up
4675         and down a row, even if `truncate-line' is nil.
4677         * org.el (org-insert-todo-heading): Make sure the keyword is
4678         inserted at the correct position.
4680         * org-publish.el (org-publish-project-alist)
4681         (org-publish-projects, org-publish-org-index): Change default anme
4682         for the index of file names to "sitemap.org".
4684         * org-export-latex.el (org-export-latex-tables): Use
4685         `org-split-string', for Emacs 21 compatibility.
4687 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4689         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4691 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4693         * org-exp.el (org-export-page-description)
4694         (org-export-page-keywords): New variables.
4695         (org-export-plist-vars): Add entries for :keywords and
4696         :description.
4697         (org-infile-export-plist): Parse for new keywords.
4698         (org-get-current-options): Add new keywords
4699         (org-export-as-html): Publish description and keywords.
4701         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4702         option.
4703         (org-agenda-add-entry-text): Honor
4704         `org-agenda-add-entry-text-descriptive-links'.
4706         * org-export-latex.el (org-export-latex-preprocess): Make all
4707         external preprocess functions use a PARAMETER arg.
4709         * org-exp.el (org-export-preprocess-string)
4710         (org-export-select-backend-specific-text)
4711         (org-export-format-source-code-or-example)
4712         (org-format-org-table-html): Support docbook export.
4713         (org-export-preprocess-string): Make all external preprocess
4714         functions use a PARAMETER arg.
4716 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4718         * org-exp.el (org-export-html-style-include-scripts): New option.
4719         (org-export-plist-vars): Add new option
4720         `org-export-html-style-include-scripts'.
4721         (org-export-as-html): Honor new option
4722         `org-export-html-style-include-scripts'.
4723         (org-export-html-scripts, org-export-html-style-default): Fix
4724         xml issues with the Safari browser.
4726 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4728         * org-publish.el (org-publish-attachment): Only copy file when the
4729         directories differ.
4731 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4733         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4734         for clocktable steps.
4736         * org.el (org-additional-option-like-keywords): Add two more
4737         keywords.
4739 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4741         * org-exp.el (org-export-format-source-code-or-example): Mark
4742         temporary buffer unmodified, so that it will be killed even if
4743         mode like message mode has decided to assign a file name.
4745         * org.el (org-scan-tags): Improve tag inheritance.
4746         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4747         case-sensitive.
4748         (org-scan-tags): Use the internal tags list instead of creating it
4749         from scratch.
4750         (org-trust-scanner-tags, org-scanner-tags): New variables.
4751         (org-scan-tags): Set `org-scanner-tags'.
4752         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4753         (org-map-entries): Document the possible speedup using scanner
4754         tags.
4756 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4758         * org.el (org-add-planning-info): Fix bug with looking for keyword
4759         only at column 0.
4761         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4762         option for tags filter preset.
4763         (org-prepare-agenda): Store filter preset as a property on the
4764         filter variable.
4765         (org-finalize-agenda): Call the filter, if there is a preset.
4766         (org-agenda-filter-by-tag): Filter again after clearing the
4767         filter, when there still is a preset.
4768         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4769         Include the preset filter.
4770         (org-agenda-redo): Apply the filter again, also the preset filter.
4772         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4774         * org.el (org-uuidgen-p): New funtion.
4776         * org-agenda.el (org-agenda-fontify-priorities): New default value
4777         `cookies'.
4778         (org-agenda-fontify-priorities): Renamed from
4779         org-fontify-priorities.
4781         * org.el (org-set-font-lock-defaults): Call
4782         `org-font-lock-add-priority-faces'.
4783         (org-font-lock-add-priority-faces): New function.
4785         * org-faces.el: (org-set-tag-faces): New option.
4786         (org-priority-faces): New variable.
4788         * org-exp.el (org-export-as-html): Add a "content" div around the
4789         entire content of the body tag.
4790         (org-export-html-get-bibliography): New function.
4791         (org-export-html-validation-link): New variable.
4792         (org-export-as-html): Add validation link to exported page.
4794         * org.el (org-match-sparse-tree): Renamed from
4795         `org-tags-sparse-tree'.
4796         (org-tags-sparse-tree): New alias.
4798 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4800         * org.el (org-get-valid-level): Catch the case where the level
4801         change is nil.
4803         * org-clock.el (org-clock-find-position): Better indentation of
4804         new clock drawers.
4806 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4808         * org-agenda.el (org-agenda-quit): Delete window only when the
4809         frame-setup was not `current-window'.
4811         * org.el (org-tag-persistent-alist): New option.
4812         (org-startup-options): Add keyword `noptag'.
4813         (org-fast-todo-selection): Handle :newline correctly.
4814         (org-set-tags): Handle :newline correctly.
4815         (org-fast-tag-selection): Handle :newline correctly.
4817 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4819         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4820         outputting it.
4821         (org-export-ascii-push-links): Fix bug with pussing links into the
4822         export buffer.
4824 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4826         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4827         pasting at top level.
4829         * org-bbdb.el: Improve documentation.
4831 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4833         * org-list.el (org-insert-item): Only consider insert empty lines
4834         is `org-empty-line-terminates-plain-lists' is not nil.
4836         * org.el (org-blank-before-new-entry): Mention the dependence on
4837         `org-empty-line-terminates-plain-lists' in the docstring.
4839         * org-publish.el (org-publish-get-project-from-filename): New
4840         optional argument UP.  Only find the top project if UP is set.
4841         (org-publish-current-project): Find the top encloding project.
4843         * org-agenda.el (org-agenda-before-write-hook)
4844         (org-agenda-add-entry-text-maxlines): New options.
4845         (org-write-agenda): Run the new hook in the temporary buffer.
4846         (org-agenda-add-entry-text): New function.
4847         (org-write-agenda): Implement PDF export, using ps2pdf.
4849         * org.el (org-global-properties-fixed, org-global-properties):
4850         Improve documentation string.
4852         * org-exp.el (org-export-ascii-links-to-notes): New option.
4853         (org-export-as-ascii): Handle links better.
4854         (org-export-ascii-wrap, org-export-ascii-push-links): New
4855         functions.
4857 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4859         * org-agenda.el (org-agenda): Make prefix arg optional.
4860         (org-agenda-search-headline-for-time): New option.
4861         (org-format-agenda-item): Honor
4862         `org-agenda-search-headline-for-time'.
4864         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4865         characters.
4867         * org.el (org-self-insert-cluster-for-undo): New option.
4868         (org-self-insert-command): Cluster undo for 20 characters.
4869         (org-self-insert-command-undo-counter): New variable.
4871 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4873         * org-exp.el (org-export-as-html): Fix problem with closing colone
4874         example.
4876 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4878         * org-export-latex.el (org-export-as-latex)
4879         (org-export-latex-first-lines): Avoid modification flag when
4880         adding or removing text properties.
4881         (org-export-latex-fontify): Catch error when org-emph-alist has
4882         entries that are not defined for LaTeX export.
4884         * org.el (orgstruct++-mode): New function.
4885         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4886         (org-context-p): Allow detecting item context after the first line
4887         of an item.
4888         (orgstruct-make-binding): Detect if item-body context should be
4889         seen.
4890         (orgstruct-is-++): New variable.
4891         (org-add-planning-info): Catch the case when there is no planning
4892         info yet and the call does not want to add anything, only maybe
4893         tries to remove something.
4894         (org-special-ctrl-a/e): All value to be a cons cell with separate
4895         settings for `C-a. and `C-e'.
4896         (org-beginning-of-line, org-end-of-line): Honor separate values
4897         for `C-a' and `C-e'.
4899 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4901         * org.el (org-reload): New command.
4903 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4905         * org-exp.el (org-export-htm-get-tag-class-name)
4906         (org-export-htm-get-todo-kwd-class-name): New functions.
4907         (org-export-html-tag-class-prefix)
4908         (org-export-html-todo-kwd-class-prefix): New options.
4909         (org-export-as-html): Call
4910         `org-export-html-get-todo-kwd-class-name'.
4911         (org-html-level-start): Wrap tags into classes.
4912         (org-export-html-get-tag-class-name)
4913         (org-export-html-get-todo-kwd-class-name): New functions.
4915         * org-export-latex.el (org-export-latex-collect-header-macros):
4916         Remove fields that are used anyway.
4917         (org-export-latex-make-header): Insert the options earlier.
4919         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4920         matching.
4922         * org-list.el (org-indent-item): Allow point to be at the end of
4923         the region.
4925         * org.el (org-metaleft, org-metaright): Be more accurate about
4926         detecting a region where commands apply.
4928         * org-compat.el (org-cursor-to-region-beginning): New function.
4930         * org.el (org-priority): Also find invisible heading.
4932         * org-colview-xemacs.el (org-columns-edit-value): No special
4933         treatment for `org-todo' prefix.
4935         * org-colview.el (org-columns-edit-value): No special treatment
4936         for `org-todo' prefix.
4938         * org-remember.el (org-remember-apply-template): Use
4939         `org-completing-read-no-ido'.
4941         * org.el (org-completing-read-no-ido): New function.
4942         (org-make-tags-matcher, org-set-property): Use
4943         `org-completing-read-no-ido'.
4945         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4946         New option.
4947         (org-export-as-latex): Import in-buffer settings as TeX macros.
4948         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4949         (org-export-latex-collect-header-macros): New function.
4951         * org.el (org-refile-get-location): Turn off
4952         `partial-completion-mode'.
4954 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4956         * org.el (org-block-todo-from-checkboxes): Announce that
4957         checkboxes are the culprit.
4958         (org-block-todo-from-children-or-siblings): Call
4959         `org-up-heading-all instead' of `outline-up-heading'.
4961         * org-agenda.el (org-agenda-show-1): Renamed from
4962         `org-agenda-show'.
4963         (org-agenda-show): Re-install the old version for now.
4964         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4965         variable into the blokker hook, so that the checkbox checker can
4966         anounce that it caused the blocking.
4968         * org.el (org-track-ordered-property-with-tag): New option.
4969         (org-toggle-ordered-property): Honor
4970         `org-track-ordered-property-with-tag'.
4971         (org-tag-alist): Add newline options.
4972         (org-set-regexps-and-options): Separate option lines imply a
4973         newline.
4974         (org-set-regexps-and-options, org-assign-fast-keys)
4975         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4976         option.
4977         (org-indent-line-function): Make sure this works even if there is
4978         not `org-drawer-regexp' defined.  This can happen when
4979         orgstruct-mode is used in a non-org buffer.
4981         * org-list.el (org-checkbox-blocked-p): New function.
4982         (org-toggle-checkbox): Check for blocking.
4984         * org.el (org-modules): Add an entry for org-R.el.
4986         * org-agenda.el (org-agenda-todo-ignore-with-date)
4987         (org-agenda-todo-ignore-scheduled)
4988         (org-agenda-todo-ignore-deadlines): Mention the variable
4989         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4991         * org.el (org-get-wdays): Find the warning period also if it is in
4992         the wrong place.
4993         (org-ido-completing-read): Provide the correct arguments to
4994         ido-completing-read and bind `ido-enter-matching-directory' to
4995         nil.
4997 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4999         * org.el (org-olpath-completing-read): Never use ido for this
5000         one.
5002         * org-exp.el (org-export-normalize-links): Use new macro.
5004         * org-macs.el (org-if-unprotected-at): New macro.
5006         * org-agenda.el (org-agenda-show): Allow numerical prefix
5007         arguments to specify how much context should be shown.
5008         (org-agenda-cycle-show): New command, could be bound to SPC in
5009         org-agenda-mode-map.
5011         * org-exp.el (org-html-level-start): Space after section number.
5013 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
5015         * org-agenda.el (org-agenda-get-sexps): Add todo state as
5016         property, for sorting.
5017         (org-cmp-todo-state): Get the applicable TODO keywords directly
5018         from the buffer.
5019         (org-run-agenda-series, org-agenda-list, org-search-view)
5020         (org-todo-list, org-tags-view): Only fit agenda window when the
5021         whole series is done.
5023         * org.el (org-scan-tags): Add todo state as property, for sorting.
5025         * org-agenda.el (org-agenda-custom-commands-local-options): Add
5026         `org-agenda-overriding-header' as an option.
5027         (org-agenda-list): Honor org-agenda-overriding-header'.
5029 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
5031         * org-list.el (org-toggle-checkbox): Improve cursor positioning
5032         after removing a checkbox.
5034         * org.el (org-show-entry): Make this work correctly also if it is
5035         the last entry in the file.
5036         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
5037         falling back to normal, default command.
5038         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
5039         item, call the checkbox toggler to get a box.
5041         * org-list.el (org-toggle-checkbox): Make double prefix set the
5042         checkbox to "[-]".
5043         (org-fix-bullet-type): Only replace bullet if it is changed.
5044         (org-renumber-ordered-list): Handle case when first item does not
5045         have a number.
5047         * org.el (org-add-log-setup): Fix positioning when
5048         `org-log-states-order-reversed' is nil.
5050         * org-clock.el (org-clock-in): Fix positioning when
5051         `org-log-states-order-reversed' is nil.
5052         (org-clock-find-position): Fix positioning when
5053         `org-log-states-order-reversed' is nil.
5055 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
5057         * org-clock.el (org-clock-into-drawer): Take default from
5058         `org-log-into-drawer'.
5059         (org-clock-find-position): Look for the correct drawer.
5061         * org.el (org-log-into-drawer): Renamed from
5062         `org-log-state-notes-into-drawer'.
5063         (org-log-state-notes-into-drawer): New variable alias.
5064         (org-add-log-setup): Make drawer name default to LOGBOOK, not
5065         CLOCK.
5066         (org-insert-property-drawer): Also skip LOGBOOK drawers.
5068 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
5070         * org-agenda.el (org-agenda): Fix docstring.
5072         * org.el ("org-plot"): Help loading org-plot.
5073         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
5074         (org-metadown-hook, org-shiftmetaleft-hook)
5075         (org-shiftmetaright-hook, org-shiftmetaup-hook)
5076         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
5077         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5078         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
5079         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
5081         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
5082         for selecting files with any (and even without) extension.
5084         * org.el (org-save-all-org-buffers): Also save id locations.
5085         (org-revert-all-org-buffers): Also load id locations.
5087 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
5088         * org.el (org-drawers): Add LOGBOOK to the default drawers.
5089         (org-log-state-notes-into-drawer): New option.
5090         (org-add-log-setup): Place the sate note marker into the drawer,
5091         create drawer when necessary.
5092         (org-refile-targets): Document special interpretation of LEVEL
5093         when odd-levels are used.
5095 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
5097         * org.el (org-store-log-note): Fix note indentation when adding
5098         notes to end of list.
5100         * org-exp.el (org-export-as-html): Add TODO keyword as extra
5101         class, so that each keyword can get special colors through CSS.
5103         * org-clock.el (org-clock-out): Add another nil for the previous
5104         state into the call to `org-add-log-setup'.
5106         * org.el (org-log-note-previous-state): New variable.
5107         (org-log-note-headings): New %S escape for old state.
5108         (org-todo): Call the note setup with the old state as an
5109         argument.
5110         (org-add-note): Add another nil for the previous state into the
5111         call to `org-add-log-setup'.
5112         (org-add-log-setup): New argument PREV-STATE.
5113         (org-add-log-note): Handle new %S escape.
5114         (org-store-log-note): Handle new %S escape.
5116 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
5118         * org-clock.el (org-clock-find-position): Do not swallow an item
5119         less indented than the CLOCK line itself.
5120         (org-clock-in): Push markers to lin after the clock line.
5121         (org-clock-find-position): Handle values of
5122         `org-clock-into-drawer' smaller than 2.
5124         * org-exp.el (org-html-level-start): Add a CSS class to section
5125         numbers.
5126         (org-export-html-toplevel-hlevel): Better documentation of the
5127         influence of this variables on H levels and css classes in
5128         export.
5130 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
5132         * org-agenda.el (org-agenda-custom-commands-local-options): Add
5133         timestamp and nottimestamp to the chooe menu.
5135         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
5136         (org-revert-all-org-buffers): New command.
5138 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
5140         * org.el (org-return): Implement `org-return-follows-link' in the
5141         function org-return.  This is more robust than using the mouse
5142         map, I think.
5143         (org-set-regexps-and-options): Match more general #+TODO lines.
5144         (org-make-options-regexp): New optional argument EXTRA, for an
5145         extra regexp.
5146         (org-tab-follows-link): Mark as deprecated.
5148 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
5150         * org-exp.el (org-export-preprocess-string): Remove clock lines
5151         earlier, so that they cannot cotribute to verbatim snippets.
5153 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
5155         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
5156         for finding drawers.
5157         (org-export-as-ascii, org-export-as-html): Count levels relative
5158         to the subtree header.
5159         (org-get-min-level): New optional argument OFFSET.
5160         (org-export): Make sure point is restored after popping up that
5161         window.
5163         * org.el (org-do-sort): Also take an inactive timestamp if no
5164         active one is found.
5166         * org-colview-xemacs.el (org-columns-capture-view): Copy before
5167         deleting duplicates.
5169         * org-colview.el (org-columns-capture-view): Copy before
5170         deleting duplicates.
5172         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
5173         text before first headline.
5175         * org.el (org-format-latex): Do not convert LaTeX fragments in
5176         protected examples.
5178 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
5180         * org-exp.el (org-export-html-style-default): Use color values
5181         instead of names for XHTML validation.
5183         * org.el (org-get-scheduled-time, org-get-deadline-time): New
5184         functions.
5185         (org-return-follows-link): Revert making this the default untile
5186         issues are resolved.
5188         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
5189         nottimestamp.
5191 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
5193         * org.el (org-mode): Make dependence stuff work more reliably.
5194         (org-update-parent-todo-statistics): Fix bug with updating
5195         statistics cookie.
5197         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
5198         ~ as verbatim delimiters.
5200         * org-exp.el (org-export-html-format-image): New argument
5201         PAR-OPEN.
5202         (org-export-as-html): Pass par-open to
5203         `org-export-html-format-image'.
5205 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
5207         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
5208         (org-use-fast-todo-selection, org-tags-column): New default
5209         setting for variables, based on a poll what typical uses use.
5211         * org-agenda.el (org-agenda-sorting-strategy)
5212         (org-agenda-tags-column): New default setting for variables, based
5213         on a poll what typical uses use.
5215 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
5217         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
5218         blocked entries from setting the blocked tag.
5220         * org-exp.el (org-export-html-footnotes-section): Use a more
5221         consistent id for footnotes.
5223         * org-export-latex.el (org-export-latex-classes): Remove the
5224         a4paper option from the default styles.
5226 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
5228         * org.el (org-enforce-todo-checkbox-dependencies): New option.
5229         (org-block-todo-from-checkboxes): New function.
5230         (org-todo): Make tripple prefix arg circumvent blocking.
5232         * org-timer.el (org-timer): Provide the timer feature.
5234         * org.el (org-require-autoloaded-modules): Add a few more files to
5235         the list of autoloaded modules.
5237         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5239 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
5241         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5242         drawers that are unprotected.
5243         (org-export-html-format-image): Make sure inlined LaTeX fragment
5244         images remain inlined.
5246         * org.el (org-toggle-ordered-property): New function.
5247         (org-mode-map): Add a key for `org-toggle-ordered-property'.
5248         (org-org-menu): Add menu entries for TODO dependencies.
5250 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
5252         * org.el (org-default-properties): Add ORDERED to the default
5253         properties, to get completion support for it.
5255         * org-list.el (org-update-checkbox-count): Update more than one cookie.
5257         * org.el (org-update-parent-todo-statistics): Update more than one
5258         cookie.
5260         * org-agenda.el (org-agenda-get-todos): Start search from correct
5261         position.
5263         * org.el (org-fast-todo-selection): Make sure TODO selection does
5264         not change buffer position.
5266         * org-list.el (org-toggle-checkbox): Implement adding or removing
5267         checkboxes from line or region when called with a prefix
5268         argument.
5270         * org-rmail.el (org-rmail-store-link): Protect the call to
5271         `rmail-narrow-to-non-pruned-header'.
5273         * org-clock.el (org-clock-special-range): Fix week display in
5274         clock tables.
5276         * org-exp.el (org-get-current-options): Fix bug when in indirect
5277         buffer.
5279 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
5281         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5282         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5283         (org-agenda-dim-blocked-tasks): New function.
5285         * org.el (org-enforce-todo-dependencies): New option.
5286         (org-block-todo-from-children-or-siblings): New function.
5288         * org-faces.el (org-agenda-dimmed-todo-face): New face.
5290         * org.el (org-todo): Return correct state type even if the blocker
5291         throws an error.
5292         (org-modifier-cursor-error): Renamed from
5293         `org-shiftcursor-error'.
5294         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5295         (org-shiftmetadown): Call `org-modifier-cursor-error'.
5297         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5298         to get real errors from the blocker hook.
5300         * org.el (org-shiftselect-error, org-call-for-shift-select): New
5301         functions.
5302         (org-set-visibility-according-to-property): Turn off the setting
5303         of `org-show-entry-below', to avoid overruling a FOLDED visibility
5304         property.
5306 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5308         * org.el (org-support-shift-select): New option.
5309         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5310         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5311         selection outside contexts.
5313         * org-list.el (org-at-item-bullet-p): New function.
5315         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5316         variables.
5318         * org-footnote.el (org-footnote-normalize): Remove unnecessary
5319         variable.
5320         (org-insert-footnote-reference-near-definition): Remove
5321         unnecessary let form.
5323         * org-export-latex.el (org-export-latex-first-lines): Add
5324         OPT-PLIST parameter.
5325         (org-export-as-latex): Call `org-export-latex-first-lines' with
5326         opt-plits parameter.
5327         (org-export-latex-preprocess): Remove unnecessary variables.
5329         * org-exp.el (org-infile-export-plist)
5330         (org-export-add-options-to-plist, org-export-kill-licensed-text)
5331         (org-export-remove-headline-metadata)
5332         (org-export-get-title-from-subtree, org-get-min-level)
5333         (org-html-do-expand): Remove innecessary let form.
5335         * org-colview-xemacs.el (org-columns-display-here): Remove
5336         unnecessary variables.
5338         * org-colview.el (org-columns-display-here): Remove unnecessary
5339         variables.
5341         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
5342         variables.
5344         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
5345         unnecessary variables.
5347         * org-agenda.el (org-search-view, org-agenda-get-blocks)
5348         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
5349         variables.
5351         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
5352         (org-compact-display-after-subtree-move): Remove unnecessary
5353         variables.
5354         (org-edit-fixed-width-region): Remove unnecessary variables.
5355         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
5356         (org-olpath-completing-read): Remove unnecessary variable.
5357         (org-auto-repeat-maybe): Remove unnecessary variable.
5358         (org-map-entries): Remove unnecessary variable.
5359         (org-buffer-property-keys, org-imenu-get-tree)
5360         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
5362 -----------------------------------------------------------------
5364 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5365         * org-exp.el (org-export-remove-timestamps): Never remove
5366         timestamps from tables.
5368         * org-export-latex.el (org-export-latex-first-lines): Add more
5369         options to the preprocessing of the text before the first
5370         headline.
5372 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
5374         * org-faces.el (org-clock-overlay): Make face compatible with
5375         XEmacs.
5377         * org.el (org-yank): Add property for delete-selection mode.
5379         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5381         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5382         variable.
5384         * org-table.el (org-table-insert-hline): Fix typo in fuction call
5385         to `backward-char'.
5387         * org-exp.el (org-export-as-html): Remove the initial space from
5388         colon examples.
5390         * org.el (org-scan-tags): Call
5391         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5393         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5394         customization groups.
5395         (org-agenda-tags-todo-honor-ignore-options): New option.
5396         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5397         New function.
5398         (org-agenda-get-todos): Use
5399         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5401 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
5403         * org-exp.el (org-export-format-source-code-or-example): Escape
5404         HTML characters also in examples that anre not treated with
5405         htmlize.  Also, just switch to EXAMPLE processing if we do not
5406         have a good version of htmlize.
5408         * org-rmail.el: Fix copyright notice.
5410         * org.el (org-activate-footnote-links): Improve footnote link
5411         highlighting.
5413         * org-footnote.el (org-footnote-normalize): Fix finding the end of
5414         a footnote definition at the end of the file.
5416         * org-table.el (org-table-get-specials): Add an imagined hline at
5417         the end of the table.  This can be useful for references that want
5418         to go to the end of the table.  Also fix bug when computing last
5419         row constants, in tables that do not start right at the right
5420         margin.
5421         (org-table-eval-formula): Match and replace remove references.
5422         (org-table-formula-substitute-names): Make sure that names inside
5423         a "remote" call are left alone, the will be replaced later when
5424         the remote call is handled.
5425         (org-table-convert-refs-to-rc): Do not convert things that might
5426         look like a reference, but are really part of an ID or namei n a
5427         remote reference.
5428         (org-table-get-remote-range): New function.
5430 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
5432         * org-faces.el (org-clock-overlay): Fix bug in face definition.
5434         * org-clock.el (org-clock-put-overlay): Use new face instead of
5435         `secondary-selection'.
5437         * org-faces.el (org-clock-overlay): New face.
5439 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
5441         * org-exp.el (org-get-current-options): Include the option for
5442         publishing time stamps.
5444         * org.el (org-toggle-heading): Renamed from
5445         `org-toggel-region-headings'.
5446         No longer needs a region defined, but will use it if there is one.
5447         (org-ctrl-c-star): Simplified, relying more on the internal
5448         workings of `org-toggle-heading'.
5449         (org-toggle-item): Renamed from `org-toggle-region-items'.
5450         No longer needs a region defined, but will use it if there is one.
5451         (org-ctrl-c-minus): Simplified, relying more on the inernal
5452         workings of `org-toggle-item'.
5454         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5455         environment detection.  Also, do real changes only in unprotected
5456         places.
5458 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
5460         * org-export-latex.el (org-export-latex-quotation-marks): Use
5461         `org-if-unprotected-1'.
5462         (org-export-latex-set-initial-vars): Check for class definition in
5463         property.
5465         * org-macs.el (org-if-unprotected-1): New macro.
5467 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
5469         * org-compat.el (org-count-lines): New function.
5471         * org-exp.el (org-export-format-source-code-or-example): Handle
5472         switches related to text areas.
5474         * org.el (org-activate-footnote-links): Don't allow match inside a
5475         link.
5477         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5479         * org-export-latex.el (org-export-latex-links): Keep a relative
5480         path relative also after export.
5482         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5484         * org.el (org-make-tags-matcher): Never use IDO for completing the
5485         tags matcher match string.
5486         (org-completing-read): Also remove the special biding for "?".
5488         * org-attach.el (org-attach-allow-inheritance): New option.
5489         (org-attach-inherited): New variable.
5490         (org-attach-dir): Handle properties related to the attachment
5491         directory.
5492         (org-attach-check-absolute-path): New function.
5493         (org-attach-set-directory, org-attach-set-inherit): New commands.
5494         (org-attach): Accommodate the new commands in the dispatcher.
5496 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
5498         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5499         `window-full-width-p'.
5501         * org-exp.el (org-export-as-html): Only check for images files
5502         that really can be inlined
5504         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5505         list of extensions to be a parameter.
5507         * org-exp.el (org-export-html-inline-image-extensions): New
5508         variable.
5510         * org-agenda.el (org-prepare-agenda): Use
5511         `org-agenda-block-separator'.
5512         (org-agenda-block-separator): New option.
5514 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
5516         * org-export-latex.el (org-export-latex-tables): Call
5517         `org-table-clean-before-export' with the new optional argument.
5519         * org-exp.el (org-table-clean-before-export): New optional
5520         parameter MAYBE-QUOTED, allows for quoted characters like \# in
5521         first column.
5523 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
5525         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5526         histograms.
5528         * org-colview.el (org-colview-construct-allowed-dates): Better
5529         error catching when a date/time property does not have allowed
5530         values defined.
5532         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5533         Better error catching when a date/time property does not have
5534         allowed values defined.
5536 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
5538         * org.el (org-map-entries): Restore point and restriction after
5539         `org-map-entries'.
5541 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
5543         * org.el (org-time=, org-time<, org-time<=, org-time>)
5544         (org-time>=, org-time<>): Make sure both values are dates.
5546 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
5548         * org-archive.el (org-extract-archive-heading): Allow %s for file
5549         name also in achive location heading.
5551 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
5553         * org-archive.el (org-add-archive-files): Uniquify the list before
5554         returning it.
5556 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
5558         * org-compat.el (org-fit-window-to-buffer): Use
5559         `window-full-width-p'.
5561         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5562         space after the colon in short examples.
5564         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5565         enforce a space after the colon.  However, we also allow lines
5566         that are *only* a colon.
5567         (org-export-as-html): Enforce the space after the colon in short
5568         examples.
5569         (org-export-preprocess-string): Do the colon example protection
5570         earlier.
5571         (org-export-remove-timestamps): Do not check for protection at the
5572         end of the line.
5574 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5576         * org.el (org-format-latex-options): Add new matcher for single
5577         letters between dollars.
5578         (org-get-header): Function removed.
5579         (org-heading-components): New function.
5581         * org-exp.el (org-export-define-heading-targets): Record ID's also
5582         as alternative targets.
5583         (org-export-as-html): Interpret "id:" links to other files by
5584         preserving the relative path.
5586         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5587         is nil.
5589         * org-exp.el (org-export-normalize-links): Protect the main link,
5590         to avoid special character processing.
5592         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5593         New variable.
5594         (org-export-latex-special-string-regexps): Variable removed.
5595         (org-export-latex-keywords): Use the new regexp.
5597         * org-exp.el (org-export-handle-include-files): Fetch switches and
5598         put them into the BEGIN statement.
5600         * org-timer.el (org-timer-mode-line-string): New variable.
5602         * org-clock.el (org-clock-mode-line-map): Renamed from
5603         `org-clock-mode-map'.
5604         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5605         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5606         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5607         (org-clock-remove-overlays): Renamed from
5608         `org-remove-clock-overlays'.
5610         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5611         and mode line display.
5612         (org-timer-stop): New command.
5613         (org-timer-seconds): Return correct time when timer is paused.
5614         (org-timer-mode-line-timer): New variable.
5615         (org-timer-set-mode-line, org-timer-update-mode-line): New
5616         functions.
5618         * org.el (org-insert-heading):  Handle new value `auto' for
5619         `org-blank-before-new-entry'.
5620         (org-org-menu): Add new items for timer functions.
5622         * org-list.el (org-insert-item): Handle new value `auto' for
5623         `org-blank-before-new-entry'.
5625         * org.el (org-blank-before-new-entry): New value `auto', made
5626         default.
5628 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5630         * org-exp.el (org-export-normalize-links): If the link is also
5631         used as the description, protect the description.
5633 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5635         * org.el (org-closest-date): Fix bug with yearly repeats, in
5636         combination with preference of the past as it is used for deadline
5637         and scheduling search.
5639         * org-exp.el (org-html-handle-time-stamps): No longer check for
5640         the `org-export-with-timestamps' option, because the preprocesser
5641         has taken care of this already.
5643         * org.el (org-entry-properties): Catch the case when this is
5644         called in a non-org-mode file.
5646         * org-export-latex.el (org-export-latex-remove-from-headlines):
5647         Variable made obsolete, also LaTeX export now uses the standard
5648         variables.
5649         (org-export-as-latex): Add the timestamps parameter to the
5650         preprocessor parameter list.
5651         (org-export-latex-content): Export the remaining keywords without
5652         considering to remove them.
5653         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5654         Use bold font instead of tt font for the keywords.
5655         (org-export-latex-fontify-headline): Format headlines, assuming
5656         that all keywords still present should be published.
5657         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5658         publish what ever remains of the time stamps.
5659         (org-export-latex-list-parameters): New option.
5660         (org-export-latex-lists): Pass additional parameters to the list
5661         converter.
5663         * org-exp.el (org-export-preprocess-string): Remove clock lines
5664         and timestamps already in the preprocesor.
5665         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5666         functions.
5667         (org-export-as-ascii, org-export-as-html): Add the timestamps
5668         parameter to the preprocessor parameter list.
5670         * org-list.el (org-list-parse-list): Parse for checkboxes.
5671         (org-list-to-generic): Introduce and handle new parameters :cbon
5672         and :cboff.
5673         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5674         optional parameter PARAMS.
5676         * org-export-latex.el (org-export-latex-special-chars): Fix
5677         problems with interpreting dollar signs.
5678         (org-inside-latex-math-p): New function.
5679         (org-export-latex-preprocess): Protect all the math fragments.
5681         * org.el (org-latex-regexps): Allow a dash after a dollar.
5683         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5684         mark after copying.
5686         * org-agenda.el (org-run-agenda-series): Have series options set
5687         when finalizing the agenda.
5689         * org-exp.el (org-export-format-source-code-or-example): Protect
5690         the converted examples.
5692         * org.el (org-set-regexps-and-options): Fix the regexp
5693         `org-complex-heading-regexp'.
5695 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5697         * org.el (org-edit-src-get-label-format): New function.
5698         (org-coderef-label-format): New option.
5699         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5700         a label format specification and make sure it is used in the edit
5701         buffer.
5702         (org-edit-src-get-label-format): New function.
5703         (org-store-link): Handle new coderef formats.
5704         (org-link-search): Handle new coderef formats.
5706         * org-footnote.el (org-footnote-create-definition)
5707         (org-footnote-goto-local-insertion-point): Make footnote insertion
5708         work correctly when the "Footnotes" headline is the last line in
5709         the buffer.
5711         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5712         the location.
5714 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5716         * org-w3m.el (org-w3m): New customization group.
5717         (org-w3m-deactivate-mark): New option.
5718         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5719         option say not to.
5721 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5723         * org.el (org-set-font-lock-defaults): Trigger footnote
5724         fontification.
5725         (org-activate-footnote-links): New function.
5726         (org-activate-links): New entry `footnote'.
5728         * org-faces.el (org-footnote): New face.
5730 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5732         * org-macs.el (org-re): Handle the [:word:] class.
5734         * org-exp.el (org-export-preprocess-string): Call
5735         `org-export-protect-colon-examples'.
5736         (org-export-protect-colon-examples): Renamed from
5737         `org-export-protect-examples', and scope limited to lines starting
5738         with a colon.
5740 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5742         * org-exp.el (org-export-preprocess-string): Move the preprocess
5743         hook to after turning on Org-mode.
5744         (org-export-preprocess-after-include-files-hook)
5745         (org-export-preprocess-after-tree-selection-hook)
5746         (org-export-preprocess-before-backend-specifics-hook)
5747         (org-export-preprocess-final-hook): New hooks.
5748         (org-export-preprocess-string): Run the new hooks.
5750         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5752         * org-footnote.el: New file.
5754         * org.el (org-footnote): Require footnote code.
5755         (org-startup-options): Add new footnote options.
5756         (org-mode-map): New keybindig for footnotes.
5757         (org-ctrl-c-ctrl-c): Add function at footnotes.
5758         (org-org-menu): New menu entries for footnotes.
5760         * org-export-latex.el (org-export-as-latex): Pass footnote
5761         variable to preprocessor.
5762         (org-export-latex-preprocess): Treat multiple references to a
5763         footnote.
5765         * org-exp.el (org-export-preprocess-string): Call
5766         `org-footnote-normalize'.
5767         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5768         to preprocessor.
5769         (org-export-as-html): Treat multiple references to a footnote.
5771 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5773         * org-export-latex.el (org-export-latex-links): Handle coderef
5774         links.
5776         * org.el (org-bracket-link-analytic-regexp++): New variable.
5777         (org-make-link-regexps): Initialize
5778         `org-bracket-link-analytic-regexp++'.
5779         (org-store-link): Implement special case in edit-src buffer.
5780         (org-insert-link): No use of ide to insert stored links.
5781         (org-link-search): Implement special case for coderefs.
5783         * org-exp.el (org-export-html-scripts): New constant.
5784         (org-export-html-style-default): Add a new style for highlighted
5785         code.
5786         (org-export-code-refs): New variable.
5787         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5788         Call `org-export-replace-src-segments-and-examples'
5789         No longer call `org-export-protect-examples'.
5790         (org-export-target-internal-links): Take care of coderef targets.
5791         (org-export-last-code-line-counter-value): New variable.
5792         (org-export-replace-src-segments-and-examples): Renamed from
5793         `org-export-replace-src-segments', and modified.
5794         (org-export-format-source-code-or-example): Renamed from
5795         `org-export-format-source-code'.
5796         (org-export-number-lines): New function.
5797         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5799 --------------------------------------------------------------------------
5801 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5803         * org-remember.el (org-remember-handler): Safer way to get a new
5804         buffer accessing the target file.
5806         * org.el (org-refile-get-location): Handle case of current buffer
5807         not having a file associated with it.
5809 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5811         * org-table.el (org-table-get-formula): Only ask to overwrite
5812         field formula if there really is one.
5814         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5815         number, by converting these to a string.
5817         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5818         located in a different file.
5820         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5821         org-colview.el.
5823 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5825         * org.el (org-completion-use-ido): Enhance docstring of
5826         `org-completion-use-ido'.
5828         * org-export-latex.el (org-export-latex-make-header): Double the %
5829         in the time stamp format.
5830         (org-export-latex-special-chars): Handle case where there is no
5831         match group 3.
5833 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5835         * org.el (org-get-refile-targets, org-refile-get-location): Use
5836         expanded file name to improve comparison.
5838 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5840         * org.el (org-scan-tags): Rescan for tags, to get the correct
5841         upcase/downcase stuff.  This slows things down for now, but it
5842         works.
5843         (org-mode): Make sure the tag-faces regexp is initialized.
5845         * org-export-latex.el (org-export-latex-links): Fix bug with
5846         undefined label.
5848         * org-table.el (org-table-get-specials): Set
5849         `org-table-current-last-data-line'.
5850         (org-table-current-last-data-line): New variable.
5851         (org-table-insert-column, org-table-delete-column)
5852         (org-table-move-column, org-table-fix-formulas): Call
5853         `org-table-fix-formulas' a second time to fix the $LR references.
5854         (org-table-get-specials): Add the $LR references to the tables.
5855         (org-table-get-formula): Do not offer last-row names as LHS of
5856         formulas.
5858         * org.el (org-store-link): Capture link description from
5859         `org-id-store-link'.
5861         * org-exp.el (org-export-html-format-image): Add the / to the end
5862         of the <img> tag.
5863         (org-export-format-source-code): Surround example by empty lines,
5864         to make sure it will not be inside a paragraph.
5866         * org.el (org-ido-switchb): New function.
5868 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5870         * org-agenda.el (org-agenda-show): New prefix argument
5871         FULL-ENTRY.
5873         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5874         argument.
5876         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5877         `org-agenda-change-all-lines'.
5878         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5879         tags are now retrieved locally.
5881 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5883         * org.el (org-get-outline-path): Fix bug if level is not given.
5884         (org-org-menu): Do not quote function in menu vector.
5886         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5887         name.
5889 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5891         * org.el (org-refile): Avoid refiling to within the region to be
5892         refiled.
5894         * org-export-latex.el (org-export-latex-special-chars): Replace
5895         special characters also in tables.
5897         * org-agenda.el (org-agenda-change-all-lines): New argument
5898         FORCE-TAGS.
5899         (org-agenda-set-tags): Cet the new tags and pass them to
5900         `org-format-agenda-item'.
5902 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5904         * org-export-latex.el (org-export-latex-classes): Add longable as
5905         a default package to all classes.
5906         (org-export-latex-tables): Handle the longtable attribute and the
5907         align attribute.
5909         * org-table.el (orgtbl-to-generic): Handle tables that start with
5910         a hline.
5912         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5913         \verb for colde-like snippets.
5914         (org-export-as-latex): Fix issues with region export.
5916         * org.el (org-up-heading-safe): Speed up function by using a
5917         direct regexp search.
5918         (org-olpa): New variable.
5919         (org-get-outline-path): Speed-up path constructions in cases where
5920         this is possible because the entire hierarchy is scanned anyway.
5921         (org-refile-get-location): Don't compare the truenames of files,
5922         this is too slow.
5923         (org-goto-max-level): New option.
5924         (org-goto): Use `org-goto-max-level'.
5926 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5928         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5929         Strip angle brackets from message-ids in the former and don't do
5930         it in the latter.
5931         (org-gnus-follow-link): Open summary reliable, even if the last
5932         messages were deleted, and handle empty groups, too.
5934 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5936         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5937         instead of \texttt for the =...= and ~===~ emphasis environments.
5938         (org-export-as-latex): Remove any old :org-license-to-kill text
5939         properties.
5940         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5941         (org-export-latex-make-header): Add some hard space after the
5942         table of contents.
5943         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5944         exported text so that it will be excuded in further steps.
5946         * org-table.el (org-table-get-specials): Make @0 reference the
5947         last line in a table.
5948         (org-table-recalculate): Improve docstring.
5950 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5952         * org.el (org-log-done): Fix docstring.
5954 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5956         * org-exp.el (org-export-html-format-image): Fix bugs.
5958         * org-export-latex.el (org-export-latex-tables)
5959         (org-export-latex-links): Implement attribute, label, and caption
5960         handling.
5962         * org-exp.el (org-export-html-style-default): Add style
5963         definitions for the figure div.
5964         (org-export-preprocess-string, org-export-as-html): Implement
5965         attribute, label, and caption handling.
5966         (org-export-attach-captions-and-attributes): New function.
5967         (org-export-html-format-image): New function.
5968         (org-format-org-table-html): Implement attribute, label, and
5969         caption handling.
5971         * org.el (org-find-text-property-in-string): New function.
5972         (org-extract-attributes): Use the property org-attr instead of
5973         org-attrobutes, because this property is now set with the #+ATTR
5974         lines.
5976 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5978         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5979         the case that FROM is nil.
5981         * org.el (org-before-first-heading-p): New function.
5983 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5985         * org-exp.el (org-export-as-html): Do not add a space before
5986         enforces line breaks.
5987         (org-export-as-html): Close paragraph before blockquote and verse
5988         tags.
5990 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5992         * org-id.el (org-id-locations-file): Wrap file name with
5993         `convert-standard-filename'.
5994         (org-id-files): New variable.
5995         (org-id-use-hash): New option.
5996         (org-id-update-id-locations): Also search in all files current
5997         listed in `org-id-files'.  Convert the resulting alist to a hash
5998         if the user customation says so.
5999         (org-id-locations-save): Handle he case if `org-id-locations' is a
6000         hash.
6001         (org-id-locations-load): Convert the alist to a hash.
6002         (org-id-add-location): Handle the hast case.
6003         (kill-emacs-hook): Make sure id locations are saved when Emacs is
6004         exited.
6005         (org-id-hash-to-alist, org-id-alist-to-hash)
6006         (org-id-paste-tracker): New functions.
6008 -------------------------------------------------------------------------
6010 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
6012         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
6013         bindings of calendar variables.
6015         * org-table.el (org-table-find-row-type): Renamed from
6016         `org-find-row-type'.
6017         (org-table-rewrite-old-row-references): Renamed from
6018         `org-rewrite-old-row-references'.
6019         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
6020         (org-table-cleanup-narrow-column-properties): Renamed from
6021         `org-cleanup-narrow-column-properties'.
6023 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
6025         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
6026         for better error messages.
6027         (org-table-get-descriptor-line): Supply the new arguments to
6028         `org-find-row-type'.
6029         (org-table-error-on-row-ref-crossing-hline): New option.
6031         * org.el (org-target-link-regexp): Make buffer-local.
6032         (org-move-subtree-down): Fix bug with trees at beginning of
6033         buffer.
6035 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
6037         * org-faces.el (org-set-tag-faces): New function.
6038         (org-tags-special-faces-re): New variable.
6040         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
6042         * org-faces.el (org-tag-faces): New option.
6043         (org-tag): Mention `org-tag-faces' in the docstring.
6045 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
6047         * org-exp.el (org-export-html-style-default): Implement new
6048         quoting.
6050         * org-jsinfo.el (org-infojs-template): Implement new quoting.
6052         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
6053         command to the `w3m-minor-mode-map'.
6055         * org-archive.el (org-archive-to-archive-sibling): Protect
6056         `this-command' to avoid appending kills during archiving.
6058         * org-exp.el (org-export-with-priority): New variable.
6059         (org-export-add-options-to-plist): Use `org-export-plist-vars'
6060         instead of internal list of strings and properties.
6061         (org-print-icalendar-entries): Retrieve the location property with
6062         inheritance.
6064 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
6066         * org-exp.el (org-export-with-todo-keywords): New option.
6067         (org-export-plist-vars): Include also the keys for the #+OPTIONS
6068         line.
6069         (org-default-export-plist, org-export-add-options-to-plist)
6070         (org-export-as-ascii, org-export-as-html): Use the new structure
6071         of `org-export-plist-vars'.
6073         * org.el (org-map-entries): Return all values.
6075 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
6077         * org.el (org-matcher-time): Recognize more special values.
6079         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
6081 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
6083         * org.el (org-tags-exclude-from-inheritance): New option.
6084         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
6085         `org-tags-exclude-from-inheritance'.
6087         * org-agenda.el (org-agenda-show-inherited-tags): New option.
6088         (org-format-agenda-item): Add inherited tags to the agenda line
6089         string, and make sure that properties are kept when downcasing the
6090         tags list.
6091         (org-agenda-add-inherited-tags): New function.
6092         (org-downcase-keep-props): New function.
6094         * org.el (org-scan-tags): Mark inherited tags with a text
6095         property.
6096         (org-get-tags-at): Mark inherited tags with a text property.
6097         (org-add-prop-inherited): New function.
6099         * org-agenda.el (org-agenda-add-inherited-tags): New function.
6100         (org-agenda-show-inherited-tags): New option.
6102 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
6104         * org.el (org-modules): Add org-w3m to the default modules.
6106         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
6107         orgtbl-mode.
6108         (orgtabl-create-or-convert-from-region): New command.
6110         * org-exp.el (org-export-as-ascii): Remove the handling of
6111         targets.
6112         (org-export-ascii-preprocess): Handle targets already in this
6113         function.
6115 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
6117         * org-timer.el (org-timer-start-time): Define this variable.
6118         (org-timer-item): Make argument optional.
6120         * org-list.el (org-insert-item): Automatically insert a timer item
6121         if the current list is a timer list.
6123         * org-timer.el: New file.
6125         * org-publish.el (org-publish-org-index): Only exclude the index
6126         file in the main directory from being added to the site-map.
6127         (org-publish-get-project-from-filename): If the current project is
6128         a component, start publishing from the parent project.
6130 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
6132         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
6134         * org-publish.el (org-publish-org-index): Improve removal of
6135         temporary buffers.
6137         * org-agenda.el (org-get-closed): Re-apply changes
6138         accidentially overwritten by last commit to Emacs.
6140         * org.el (org-outline-path-complete-in-steps): New option.
6141         (org-refile-get-location): Honor
6142         `org-outline-path-complete-in-steps'.
6143         (org-agenda-change-all-lines, org-tags-sparse-tree)
6144         (org-time-string-to-absolute, org-small-year-to-year)
6145         (org-link-escape): Re-apply changes accidentially overwritten
6146         by last commit to Emacs
6148 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
6150         * org-clock.el (org-dblock-write:clocktable): Make sure the
6151         clocktable sees the first line.
6152         (org-clock-in): Warn if the clock cannot be resumed.
6154 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
6156         * org.el (org-open-at-point): Fix mixup about interactive and
6157         non-interactive elisp links.
6159 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6161         * org-exp.el (org-export-preprocess-string): Allow one comment
6162         line before the first headline to always be included.  This is
6163         to not miss a commented target.
6165         * org-mouse.el (org-mouse-insert-item): Call
6166         `org-indent-to-column' instead of `indent-to', for XEmacs
6167         compatibility.
6169         * org.el (org-refile-targets): Fix customize definition so
6170         that it works also in XEmacs.
6171         (org-fixup-indentation): Call `org-indent-to-column' instead
6172         of `indent-to', for XEmacs compatibility.
6174 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
6176         * org-mew.el (org-mew-store-link): Get the correct case folder
6177         for refiled messages.
6179 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6181         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
6182         line break indicators.
6184         * org.el (org-ido-completing-read): Remove the "i:" prefix for
6185         ido-completion propts.
6187 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6189         * org-remember.el (org-remember-apply-template): Use
6190         `org-substring-no-properties'.
6192         * org-compat.el (org-substring-no-properties): New function.
6194         * org-remember.el (org-remember-apply-template): Use
6195         `org-substring-no-properties' for compatibility.
6197         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
6198         option.
6199         (org-fix-bullet-type): respect
6200         `org-list-two-spaces-after-bullet-regexp'.
6202         * org-clock.el (org-clock-load): Clean up the code.
6204         * org.el (org-adaptive-fill-function): Allow two spaces after
6205         "1." as a list bullet.
6207 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
6209         * org-clock.el (org-clock-save, org-clock-load): Check for
6210         live buffers, existing files, and buffer file names to ensure
6211         consistent information.
6212         (org-clock-persist): Make `clock' a special value of this
6213         variable, and improve docstring.
6215         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
6216         (org-get-string-indentation): Adapt indentation when the bullet
6217         width changes.
6219 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
6221         * org-remember.el (org-remember-finalize): Make interactive.
6222         (org-remember-kill): New command.
6223         (org-remember-finish-immediately): Call `org-remember-finalize'
6224         directly.
6225         (org-remember-finalize): Make `org-remember-finalize' an interactive
6226         function.
6228 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
6230         * org-remember.el (org-remember-apply-template): No ido completion
6231         for free prompts in remember templates.
6232         (org-remember-before-finalize-hook): New hook.
6233         (org-remember-mode): New minor mode.
6234         (org-remember-apply-template): Turn on `org-remember-mode'.
6236         * org-id.el (org-id-add-location): Avoid error when no file is
6237         given.
6239         * org-remember.el (org-remember-apply-template): Fix the way how
6240         the list of allowed properties is retrieved from the target file.
6242         * org.el (org-insert-link): Improve file link matching.
6244 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
6246         * org-colview.el (org-columns-display-here): New argument
6247         DATELINE, to trigger using the new face.
6248         (org-agenda-colview-summarize): Call `org-columns-display-here'
6249         with the new argument.
6251         * org-faces.el (org-agenda-column-dateline): New face.
6253         * org-publish.el (org-publish-org-index): Use index-title at page
6254         title, not as section.
6256         * org-exp.el (org-export-html-format-desc): Respect the
6257         org-protect property.
6258         (org-export-as-html): Protect image specifiers that are in the
6259         description part of a link.
6261         * org.el (org-sort-entries-or-items, org-completing-read)
6262         (org-refile-get-location, org-olpath-completing-read, org-todo)
6263         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6264         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6265         (org-set-property, org-delete-property)
6266         (org-delete-property-globally): Use `org-ido-completing-read'.
6268         * org-remember.el (org-remember-apply-template): Use
6269         `org-ido-completing-read'.
6271         * org-publish.el (org-publish): Use `org-ido-completing-read'.
6273         * org-colview.el (org-columns-edit-value, org-columns-new)
6274         (org-insert-columns-dblock): Use `org-ido-completing-read'.
6276         * org-colview-xemacs.el (org-columns-edit-value)
6277         (org-columns-new, org-insert-columns-dblock): Use
6278         `org-ido-completing-read'.
6280         * org-attach.el (org-attach-delete-one, org-attach-open): Use
6281         `org-ido-completing-read'.
6283         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6284         `org-ido-completing-read'.
6286         * org.el (org-time-today): New function.
6287         (org-matcher-time): Use `org-time-today'.  Add special treatment
6288         for "<tomorrow>" and "<yesterday>".
6289         (org-ido-completing-read): New function.
6290         (org-completion-use-ido): New option.
6292         * org-exp.el (org-export-format-source-code): Fix bug in require
6293         htmlize code.
6294         (org-export-target-internal-links): Fix bug in search for text
6295         property.
6297 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
6299         * org-export-latex.el (org-export-latex-subcontent): Interprete
6300         target aliases as additonal labels.
6302         * org-exp.el (org-export-target-aliases): New variable.
6303         (org-export-preprocess-string)
6304         (org-export-handle-invisible-targets): Fill the alias alist.
6305         (org-export-as-html): Remove the &nbsp; from the anchor, and also
6306         assign an id.
6307         (org-html-level-start): Insert the target aliases as additonal
6308         anchors.
6310         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6311         picture area.
6313 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
6315         * org.el (org-open-at-mouse): Ensure correct link abbreviations
6316         when following a link with the mouse from the agenda.
6318         * org-exp.el (org-export-as-html): Avoid lone </div> when no
6319         headlines are created.
6321 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
6323         * org-exp.el (org-export-preprocess-string): Reorder so that we
6324         can still see ID properties when we collect targets.
6325         (org-export-target-internal-links): Also store targets for ID's.
6327         * org.el (org-link-translation-function): New option.
6328         (org-open-at-point): Call `org-link-translation-function' if
6329         non-nil.
6330         (org-translate-link): New function.
6331         (org-translate-link-from-planner): New function.
6332         (org-open-at-point): Allow interactive commands in elisp links.
6334         * org-exp.el (org-icalendar-cleanup-string): Restore the old
6335         iCalendar quoting.  The new one seems to caus problems with
6336         applications.
6338         * org.el (org-yank): Set `this-command' to `yank', so that
6339         `yank-pop' will work.
6341 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6343         * org-id.el (org-id-search-archives): New option.
6345         * org.el (org-link-to-org-use-id): New option.
6346         (org-store-link): Use `org-link-to-org-use-id'.
6347         (org-id): Make org-id.el a standard component.
6349 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6351         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6352         hexified version of the tag.
6354         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6355         compliance as far as quoting is concerned.
6357         * org-vm.el (org-vm-follow-link): Require `vm-search'.
6359         * org.el (org-up-heading-safe, org-forward-same-level): Always
6360         call `org-back-to-heading' instead of `outline-back-to-heading'.
6361         (org-back-to-heading): New wrapper around outline-back-to-heading,
6362         with a useful error message telling where the error happened.
6364         * org-list.el (org-update-checkbox-count): Always call
6365         `org-back-to-heading' instead of `outline-back-to-heading'.
6367         * org-exp.el (org-export-as-html): Make sure that each <img> tag
6368         has an `alt' attribute, to ensure XHTML validation.
6370 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
6372         * org-publish.el (org-publish-attachment): Allow publishing to
6373         overwrite attachment files.
6375         * org-agenda.el (org-agenda-timerange-leaders): New option.
6376         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6378         * org.el (org-edit-src-exit): Untabify ASCII image before
6379         returning.
6392 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
6394         * org.el (org-yank): Make any prefix force normal yanking.
6395         Suppress folding if text would be swallowed into a folded
6396         subtree.
6397         (org-yank-folded-subtrees, org-yank): Docstring updates.
6399         * org-agenda.el (org-agenda-compare-effort): Treat no effort
6400         defined as 0.
6402         * org-exp.el (org-export-language-setup): Add Catalan and
6403         Esperanto language entries.
6405 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
6407         * org.el (org-refile): Allow refiling of entire regions.
6409         * org-clock.el (org-clock-time%): New function.
6411         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6412         retrieve property values.
6414 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
6416         * org-agenda.el (org-agenda-list): Handle the value `only' of
6417         org-agenda-show-log'.
6418         (org-agenda-log-mode): Interpret a double prefix arg.
6420 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
6422         * org-exp.el (org-export-html-footnotes-section): New variable.
6423         (org-export-as-html): Use `org-export-html-footnotes-section' to
6424         insert the footnotes.
6425         (org-export-language-setup): Add "Footnotes" to language words.
6427 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
6429         * org.el (org-yank): Fix bug when not inserting a subtree.
6431 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
6433         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6434         instead of `vm-beginning-of-message'.
6436         * org.el (org-make-link-regexps): Make sure that links to gnus can
6437         contain brackets.
6439 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
6441         * org-attach.el (org-attach-dir): Remove duplicate ID creation
6442         code.
6444         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6445         shell output.
6447         * org.el (org-link-abbrev-alist): Improve customization type.
6449         * org-attach.el (org-attach-expand-link, org-attach-expand): New
6450         functions.
6452         * org-agenda.el (org-agenda-get-progress): Renamed from
6453         `org-get-closed'.  Implement searching for state changes as well.
6454         (org-agenda-log-mode-items): New option.
6455         (org-agenda-log-mode): New option prefix argument, interpreted as
6456         request to show all possible progress info.
6457         (org-agenda-get-day-entries): Call `org-get-progress' instead of
6458         `org-get-closed'.
6459         (org-agenda-set-mode-name): Handle the more complex log mode
6460         settings.
6461         (org-get-closed): New alias, pointing to `org-get-progress'.
6463 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
6465         * org.el (org-file-apps-defaults-gnu)
6466         (org-file-apps-defaults-macosx)
6467         (org-file-apps-defaults-windowsnt): Add an entry defining the
6468         system command.
6469         (org-file-apps): Allow `system' as key and value.
6470         (org-open-at-point): Explain the effect of a double prefix arg.
6471         (org-open-file): If the argument `in-emacs' is (16),
6472         i.e. corresponding to a double prefix argument, try to open the
6473         file externally.
6475 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
6477         * org.el (org-insert-link): Abbreviate absolute files names in
6478         links.  Also, fix a bug in which the double C-u prefix would not
6479         be honored.
6481 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
6483         * org.el (org-insert-heading): If buffer does not end with a
6484         newline, add one if necessary to insert headline correctly.
6486         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6487         paragraphs, not inside.
6489         * org.el (org-todo): Quote
6490         `org-agenda-headline-snapshot-before-repeat'.
6492         * org-exp.el (org-export-as-html): Fully process link descriptions.
6493         (org-export-html-format-desc): New function.
6494         (org-export-as-html): Collect footnotes into the correct basket.
6495         (org-html-protect): No longer protect quotations marks here, this
6496         goes wrong.
6498         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6499         BEG.
6501         * org-compat.el (org-fit-window-to-buffer): New function (not
6502         really, a preliminary and incomplete version was present earlier,
6503         but not used).
6505         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6506         `org-fit-window-to-buffer'.
6508         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6510         * org-agenda.el (org-agenda-get-restriction-and-command)
6511         (org-fit-agenda-window, org-agenda-convert-date): Use
6512         `org-fit-window-to-buffer'.
6514         * org-exp.el (org-export-as-html): Process href links through
6515         `org-export-html-format-href'.
6516         (org-export-html-format-href): New function.
6518         * org-agenda.el (org-agenda-todo): Update only the current
6519         headline if this is a repeated TODO, marked done for today.
6520         (org-agenda-change-all-lines): New argument JUST-THIS, to change
6521         only the current line.
6523         * org.el (org-todo): Take a snapshot of the headline if the
6524         repeater might change it.
6526 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6528         * org-publish.el (org-publish-find-title): Remove buffers visited
6529         only for extracting the title.
6531         * org-exp.el (org-export-html-style)
6532         (org-export-html-style-default): Mark style definitions as
6533         unparsed CDATA.
6535         * org-publish.el (org-publish-validate-link): Function
6536         re-introduced.
6538 2008-11-02  Charles Sebold  <csebold@gmail.com>
6540         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6541         property.
6542         (org-plot-quote-timestamp-field): New function.
6543         (org-plot-quote-tsv-field): Call timestamp field function when
6544         necessary rather than just quoting as a string.
6545         (org-plot/gnuplot-to-data): Pass in timefmt property.
6546         (org-plot/gnuplot-script): Supports timefmt property.
6547         (org-plot/gnuplot): Checks for timestamp column before checking
6548         for text index column.
6550 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6552         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6554         * org-publish.el (org-publish-org-index): Create a section in the
6555         index file.
6556         (org-publish-org-index): Stop linking to directories.
6558         * org.el (org-emphasis-alist): Use span instead of <u> to
6559         underline text.
6561         * org-exp.el (org-export-as-html): Make sure <p> is closed before
6562         <pre> sections.
6564 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
6566         * org-jsinfo.el (org-infojs-template): Remove language attribute
6567         from script tag.
6569 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6571         * org-agenda.el (org-agenda-remove-marked-text): New function.
6572         (org-agenda-mark-filtered-text)
6573         (org-agenda-unmark-filtered-text): New functions.
6574         (org-write-agenda): Remove fltered text.
6576         * org.el (org-make-tags-matcher): Give access to TODO "property"
6577         without speed penalty.
6579 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6581         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6582         option.
6583         (org-store-link-props): Make sure adding to the plist works
6584         correctly.
6586         * org-gnus.el (org-gnus-no-new-news): New function.
6587         (org-gnus-follow-link): Allow the article ID to be a message-id,
6588         in addition to allowing article numbers.  Message IDs make much
6589         more roubust links.
6590         (org-gnus-store-link): Use message-id to create link.
6592 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6594         * org.el (org-emphasize): Reverse the selection array.
6595         (org-emphasis-alist): Set <code> tags for the verbatim
6596         environment.
6598         * org-remember.el (org-remember-handler): Fix bug with
6599         prefix-related changing of the note storage target.
6601         * org-exp.el (org-print-icalendar-entries): Make the exported
6602         priorities compatible with RFC 2445.
6604         * org-clock.el (org-clock-save): Insert time stamp without
6605         dependence on time-stamp.el.
6607 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6609         * org.el ("saveplace"): If saveplace puts point into an invisible
6610         location, make it visible.
6611         (org-make-tags-matcher): Allow inactive time stamps in time
6612         comparisons.
6613         (org-yank-adjusted-subtrees): New option.
6614         (org-yank): Incorporate adjusting trees.
6615         (org-paste-subtree): New argument FOR-YANK which will cause
6616         insertion at point without backing up over white lines, and leave
6617         point at the end of the inserted text.  Also if the cursor is
6618         at the beginning of a headline, use the same level or the inserted
6619         tree.
6621         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6622         with broken symlinks
6624 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6626         * org-exp.el (org-export-select-tags, org-get-current-options):
6627         Fix typo.
6629 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6631         * org-agenda.el (org-format-agenda-item)
6632         (org-agenda-filter-make-matcher): Make sure tags are stored and
6633         compared donwcased.
6635 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6637         * org.el (org-insert-todo-heading): Fix bug with force-heading
6638         argument.
6640 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6642         * org-clock.el (org-clock-in-resume): Add a custom option to
6643         toggle starting the clock from an open clock line.
6644         (org-clock-in): When clocking in to an entry, if
6645         `org-clock-in-resume' is set, check if the first clock line is
6646         open and if so, start the clock from the time in the clock line.
6647         (org-clock-persist): Add a custom option to toggle clock
6648         persistence.
6649         (org-clock-persist-query-save): Add a custom option to toggle
6650         asking the user if they want to save the running clock when
6651         exiting.
6652         (org-clock-persist-query-resume): Add a custom option to toggle
6653         asking the user if they want to resume the saved clock when Emacs
6654         is restarted.
6655         (org-clock-save): Add a function to save clock data.
6656         This includes the contents of `org-clock-history' and the buffer
6657         and position of the currently clocked task, if any.
6658         (org-clock-load): Add a function to load clock data.
6659         This populates `org-clock-history', and resumes the saved clocked
6660         task if there is one.
6661         (org-clock-persistence-insinuate): Add a method to set up the
6662         hooks for clock persistence.
6664 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6666         * org-exp.el (org-export-as-ascii): Handle the case that we are
6667         publishing from an indirect buffer.
6669         * org-table.el (org-table-copy-down): Fix bug with time stamp
6670         increment.
6672         * org-mouse.el (org-mouse-features): New option.
6673         (org-mode-hook): Turn on features depending on
6674         `org-mouse-features'.
6676         * org.el (org-insert-heading-respect-content): Force heading
6677         creation.
6678         (org-insert-heading): keep the folding state of the heading before
6679         the inserted one.
6681 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6683         * org-archive.el (org-archive-to-archive-sibling): Handle top
6684         level headlines better.
6686 2008-10-21  Bastien Guerry  <bzg@altern.org>
6688         * org-export-latex.el (org-export-latex-classes): Added
6689         \usepackage{graphicx} to the default list of packages.
6691 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6693         * org-agenda.el (org-agenda-filter): Renamed from
6694         `org-agenda-filter-tags'.
6696 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6698         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6699         is not defined as a property in this entry.
6700         (org-add-log-note): Mask prefix argument when immediately storing
6701         the note.
6703         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6704         option.
6706 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6708         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6709         after drawers was skipping ahead one line too many, so notes were
6710         inserted after the first note instead of before it.
6712 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6714         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6715         New variables.
6716         (org-prepare-agenda): Reset the filter tags.
6717         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6718         Show filter tags in mode line.
6720         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6721         formatter.
6723         * org-export-latex.el (org-latex-entities-regexp): New constant.
6724         (org-export-as-pdf): Use two calls to `shell-command'.
6726 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6728         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6729         Honor the {} value of the subsuperscript setting.  Make sure that
6730         longer subsuperscripts are typeset in a roman font.
6732         * org.el (org-clock-update-time-maybe): Compute negative clock
6733         intervals correctly.
6735 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6737         * org.el (org-add-log-setup): Respect
6738         `org-log-state-notes-insert-after-drawers'.
6739         (org-log-state-notes-insert-after-drawers): New option.
6740         (org-todo-trigger-tag-changes): New function.
6741         (org-todo): Call `org-todo-trigger-tag-changes'.
6743 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6745         * org.el (org-add-log-setup): Only skip drawers if the are
6746         immediately after the scheduling keywords.
6748         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6749         function
6750         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6751         call it with the current todo state to get the state to switch to
6752         when clocking in.
6753         (org-clock-in): Use org-indent-line-function to indent clock lines.
6754         (org-clock-find-position): Fix indentation of empty clock drawers.
6756 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6758         * org-publish.el (org-publish-org-to): Handle case when
6759         org-export-to-pdf does return a file name, not a buffer.
6760         (org-publish-org-to-pdf): New function.
6762         * org-export-latex.el (org-export-as-pdf)
6763         (org-export-as-pdf-and-open): New commands.
6765         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6766         forms as ranges.
6768         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6769         things in protexted regions.
6771 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6773         * org-export-latex.el (org-export-latex-preprocess): Improve
6774         quoting of LaTeX environments.
6776 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6778         * org.el (org-edit-fixed-width-region): Exclude final newline from
6779         picture area.
6781         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6782         sections, to make internal links work.
6783         (org-export-latex-fontify-headline): Do not remove all text
6784         properties, to make sure that target properties survive this
6785         process.
6787         * org-exp.el (org-export-preprocess-string): Change sequence of
6788         modifications, to make sure links are prepared before the LaTeX
6789         conversions do happen.
6791 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6793         * org-attach.el (org-attach-delete-all): Renamed from
6794         `org-attch-delete'.  Add a security query before deleting the
6795         entire directory.  New optional argument FORCE can overrule the
6796         security query.
6797         (org-attach-delete-one): New command.
6799 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6801         * org-attach.el (org-attach-file-list): Fix bug with directory.
6803 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6805         * org.el (org-apps-regexp-alist): New function.
6806         (org-file-apps): Add auto-mode to the default value.
6807         (org-open-file): Use the new structure of org-file-apps.
6809         * org-attach.el (org-attach): Support the new keys.
6810         (org-attach-method): New option.
6812 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6814         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6815         March.
6817         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6818         of the list value o `org-use-tag-inheritance'.
6820         * org-attach.el (org-attach-auto-tag): New option.
6821         (org-attach-tag, org-attach-untag): New functions.
6822         (org-attach-attach, org-attach-new, org-attach-sync): Call
6823         `org-attach-tag'.
6824         (org-attach-delete): Call `org-attach-untag'.
6826 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6828         * org-table.el (orgtbl-self-insert-command): Make this work for
6829         the keypad as well.
6831 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6833         * org.el (org-add-log-setup): Limit searc for drawers to entry
6834         text, not to subtree.
6836         * org-clock.el (org-clock-heading-for-remember): New variable.
6837         (org-clock-in): Set `org-clock-heading-for-remember'.
6839 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6841         * org-remember.el (org-remember-apply-template): Add new
6842         expansions: %k, %K for currently clocked task and a link to the
6843         currently clocked task, and %< to file notes in the currently
6844         clocked task.
6846 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6848         * org-export-latex.el (org-export-latex-make-header): Also insert
6849         the content of the property :latex-header-extra.
6851         * org-exp.el (org-infile-export-plist): Put the content of
6852         #+LATEX_HEADER: into the property :latex-header-extra.
6854         * org-colview.el (org-columns-get-format-and-top-level): Remove
6855         resetting the marker.
6857         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6858         Remove resetting the marker.
6860         * org.el (org-entry-property-inherited-from): Improve docstring.
6861         (org-entry-get-with-inheritance): Reset marker before starting the
6862         search.
6864         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6866 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6868         * org.el (org-entry-get-multivalued-property)
6869         (org-entry-protect-space, org-entry-restore-space): New
6870         functions.
6871         (org-file-apps-defaults-macosx): Let postscript files be opened by
6872         preview.
6873         (org-time-stamp-inactive): Call `org-time-stamp'.
6874         (org-time-stamp): New argument `inactive'.  Also edit inacive
6875         stamps. Convert time stamp type.
6876         (org-open-file): Interpret the `default' value for the `command'
6877         in `org-file-apps'.
6879         * org-id.el (org-id-int-to-b36-one-digit)
6880         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6881         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6882         b36.
6884 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6886         * org-id.el (org-id-reverse-string): New function.
6887         (org-id-new): Use `org-id-reverse-string' to make sure the
6888         beginning chars of the ID are mutating fast.  This allows to use a
6889         directory structure to spread things better.
6890         (org-id-prefix): Changed default to nil.
6892         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6893         restore the column of the cursor position.
6895         * org-remember.el (org-remember-apply-template): Remove properties
6896         from `initial'.
6898 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6900         * org-wl.el (org-wl-open): Remove useless call to
6901         `wl-thread-open-all'.
6903         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6904         location.
6906 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6908         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6909         `org-bbdb-anniversaries'.
6911         * org.el (org-get-next-sibling, org-forward-same-level): New
6912         functions, similar to the outline versions, but invisible headings
6913         are OK.
6915 2008-09-25  Bastien Guerry  <bzg@altern.org>
6917         * org.el (org-auto-repeat-maybe): Insert a space between
6918         the timestamp's type and the timestamp itself.
6920 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6922         * org-table.el (org-table-sum): Do not format the result with %g,
6923         it does rounding when there are too many digits.
6925         * org.el (org-map-entries): Protect the keyword-selecting variables.
6927 2008-09-23  Bastien Guerry  <bzg@altern.org>
6929         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6930         against all agenda files.
6932 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6934         * org-list.el: New file, aggregating list functions from org.el
6935         and org-export-latex.el.
6937         * org.el (org-edit-src-region-extra): New option.
6939 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6941         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6942         time before 1am.
6944 2008-09-22  Bastien Guerry  <bzg@altern.org>
6946         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6948 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6950         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6951         hline work correctly.
6952         (org-plot/gnuplot-script): Put commas at the end of each script
6953         line.
6955 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6957         * org.el (org-get-refile-targets): Replace links with their
6958         descriptions
6959         (org-imenu-get-tree): Replace links with their descriptions.
6961         * org-remember.el (org-remember-apply-template): Add a new
6962         expansion for adding properties to remember items.
6964         * org.el (org-add-log-setup): Skip over drawers (properties,
6965         clocks etc) when adding notes.
6967         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6968         items as well as the start and end times.
6970         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6971         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6973         * org-remember.el (org-get-x-clipboard): Use the compat
6974         function to get clipboard values when x-selection-value is
6975         unavailable. Use substring-no-properties instead of
6976         set-text-properties to remove text properties from the clipboard
6977         value.
6979         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6980         modeline clock string, and display the full todo value in the
6981         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6982         the currently clocked task.
6983         (org-clock-string-limit): Add a custom value for the maximum
6984         length of the clock string in the modeline.
6985         (org-clock-mode-map): Add a keymap for the modeline string
6987 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6989         * org-compat.el (org-propertize): New function.
6991 2008-09-20  Bastien Guerry  <bzg@altern.org>
6993         * org-export-latex.el (org-export-latex-tables): protect exported
6994         tables from further special chars conversion.
6995         (org-export-latex-preprocess): Preserve LaTeX environments.
6996         (org-list-parse-list): Parse descriptive lists.
6997         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6998         (org-list-to-texinfo): Export descriptive lists.
6999         (org-quote-chars): Remove.
7000         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
7001         (org-export-latex-list-beginning-re): Rename to
7002         `org-list-beginning-re'
7003         (org-list-item-begin): Rename to `org-list-item-beginning'
7005 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
7007         * org.el (org-refile): Allow refiling to the last entry in the
7008         buffer.
7009         (org-get-tags-at): Fix bug when inheritance is turned off.
7011 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
7013         * org.el (org-indent-line-function): No longer check for src
7014         regions, this is too much overhead.
7016         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
7017         matching.
7019         * org.el (org-scan-tags): Make sure that tags matching is not case
7020         sensitive.  TODO keyword matching is case sensitive, however, to
7021         avoid confusion with similar words that are not meant to be
7022         keywords.
7024 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
7026         * org.el (org-get-local-tags-at): New function.
7027         (org-get-local-tags): New function.
7029         * org-exp.el (org-export-get-categories): New function.
7031         * org-agenda.el (org-sorting-choice)
7032         (org-agenda-sorting-strategy, org-agenda-get-todos)
7033         (org-agenda-get-timestamps, org-agenda-get-deadlines)
7034         (org-agenda-get-scheduled, org-agenda-get-blocks)
7035         (org-entries-lessp): Implement sorting by TODO state.
7036         (org-cmp-todo-state): New defsubst.
7038         * org-colview.el (org-colview-construct-allowed-dates): New
7039         function.
7040         (org-columns-next-allowed-value): Use
7041         `org-colview-construct-allowed-dates'.
7043         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
7044         function.
7045         (org-columns-next-allowed-value): Use
7046         `org-colview-construct-allowed-dates'.
7048 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
7050         * org.el (org-protect-slash): New function.
7051         (org-get-refile-targets): Use `org-protect-slash'.
7053         * org-agenda.el (org-global-tags-completion-table): New variable.
7055         * org-exp.el (org-export-handle-export-tags): New function.
7056         (org-export-preprocess-string): Call
7057         `org-export-handle-export-tags'.
7059         * org-plot.el: New file.
7061         * org-publish.el (org-publish-expand-components): Function removed.
7062         (org-publish-expand-projects): Allow components to have components.
7064 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
7066         * org.el (org-indent-line-function): Do not indent in regions that
7067         are external source code.
7068         (org-yank-and-fold-if-subtree): New function.
7070         * org-agenda.el (org-agenda-todayp): New function.
7071         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
7072         `org-agenda-todayp'.
7074         * org.el (org-insert-heading-respect-content)
7075         (org-insert-todo-heading-respect-content): New commands.
7076         (org-insert-heading-respect-content): New option.
7077         (org-insert-heading): Respect `org-insert-heading-respect-content'.
7079         * org-clock.el (org-clock-find-position): Make sure the note after
7080         the clock line gets moved into the new clock drawer.
7082 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
7084         * org-id.el (org-id-new): New option.
7086 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
7088         * org-table.el (org-table-copy-down): Avoid overflow during
7089         increment.  Use prefix argument 0 to temporarily disable the
7090         increment.
7092 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
7094         * org-exp.el (org-export-as-html): Do not turn on the major mode
7095         if the buffer will be killed anyway.
7096         (org-get-current-options): Exclude the #+TEXT field.
7097         (org-export-as-html): Make sure text before the first headline is
7098         a paragraph.
7100         * org-publish.el (org-publish-org-to): Tell the exporter that this
7101         buffer will be killed, so it is not necessary to do major mode
7102         initialization.
7104         * org-archive.el (org-archive-to-archive-sibling): Show empty
7105         lines after folding the archive sibling.
7107         * org.el (org-log-note-extra): New variable.
7109 2008-09-05  Bastien Guerry  <bzg@altern.org>
7111         * org.el (org-additional-option-like-keywords): Added keywords for
7112         the _QUOTE, _VERSE and _SRC environments.
7114         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
7115         exporting _QUOTE and _VERSE environments.
7117 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
7119         * org-agenda.el (org-agenda-filter-by-tag): New command.
7121         * org-exp.el (org-get-current-options): Remove angular brackets
7122         from the date entry.
7124         * org.el (org-edit-fixed-width-region): New function.
7125         (org-edit-fixed-width-region): Also try
7126         `org-edit-fixed-width-region'.
7127         (org-edit-fixed-width-region-mode): New option.
7128         (org-activate-code): Only interprete lines starting with colon
7129         plus a space as example lines.
7131         * org-remember.el (org-remember-templates): Add nil instead of
7132         empty strings to fix the length of remember templates.
7134         * org-table.el (org-calc-default-modes): Fix the time format for
7135         calc, from 12 hour to 24 hour clock.
7137 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
7139         * org-agenda.el (org-agenda-get-deadlines)
7140         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
7141         entries that are pre-warnings of deadlines or reminders.
7143         * org.el (org-sort-entries-or-items): Make numeric and alpha
7144         comparisons ignore any TODO keyword and priority cookie.
7146         * org-remember.el (org-remember-handler): Reinterpretation of the
7147         prefix argument.
7149 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
7151         * org-agenda.el (org-agenda-get-scheduled): Use new
7152         `org-scheduled' face.
7154         * org-faces.el (org-scheduled): New face.
7156         * org-wl.el (org-wl-open): Remove incorrect declaration.
7158         * org-gnus.el (org-gnus-store-link): Support for :to information
7159         in gnus links.
7161         * org-exp.el (org-export-as-html): Fixed typo in creator
7162         information.
7163         (org-export-protect-examples): New parameter indent.  Insert extra
7164         spaces only when this parameter is specified.
7165         (org-export-preprocess-string): Call `org-export-protect-examples'
7166         with an indentation parameter when exporting to ASCII.
7168         * org-remember.el (org-remember-templates)
7169         (org-remember-apply-template): Allow the file component to be a
7170         function.
7172         * org.el (org-goto-local-search-headings): Renamed from
7173         `org-goto-local-search-forward-headings'.  Added the possibility
7174         to search backwards.
7176 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
7178         * org-export-latex.el (org-export-latex): New customization
7179         group.
7181         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
7183 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
7185         * org-exp.el (org-html-do-expand): Allow {} to terminate
7186         tex macro
7188 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
7190         * org.el (org-buffer-list): Select buffers based on major mode,
7191         not on file name.
7193 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
7195         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
7196         face property.
7198         * org-colview.el (org-columns-display-here): Use
7199         `org-columns-modify-value-for-display-function'.
7201         * org-colview-xemacs.el (org-columns-display-here): Use
7202         `org-columns-modify-value-for-display-function'.
7204 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
7206         * org.el (org-columns-modify-value-for-display-function): New option.
7218         * org-publish.el (org-publish-file): Make sure the directory match
7219         for the publishing directory works correctly.
7221         * org-agenda.el (org-agenda-execute-calendar-command)
7222         (org-agenda-diary-entry): Additional optional argument.
7224 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
7226         * org-exp.el (org-export-as-html): Add attributes also in mailto
7227         and ftp links.
7229         * org.el (org-autoload): Add `org-dblock-write:columnview'.
7238 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
7240         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7241         sure that calls from `org-export-region-as-html' do not do the
7242         special check for a subtree.
7244 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
7246         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7248 2008-07-20  Juri Linkov  <juri@jurta.org>
7250         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7251         new keymap `narrow-map' instead of binding "\C-xns".
7253 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
7255         * org.el (org-open-file): Use
7256         `org-open-directory-means-index-dot-org'.
7257         (org-open-directory-means-index-dot-org): New option.
7259 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
7261         * org.el (org-make-link-string): Remove link attributes from
7262         description.
7263         (org-open-at-point): Remove link attributes bevore using the path.
7265         * org-exp.el (org-export-as-html): Handle link attributes.
7267         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7269         * org-table.el (org-table-to-lisp): New function.
7271         * org.el (org-narrow-to-subtree): Do not include the final newline
7272         into the narrowed region.
7274         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
7275         bug with user-define skipping condition.
7277 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
7279         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
7281 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
7283         * org-exp.el (org-export-html-style-default): Automatic overflow
7284         handling for pre fields.
7285         (org-export-as-ascii, org-export-as-html): Change default format
7286         for time stamp.
7288         * org-table.el (org-table-export): Offer completion for translator
7289         functions, and do not require a heading above the table.
7291         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7292         Cater for the case of a list starting in the first line of the
7293         buffer.
7295 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
7297         * org-publish.el (org-publish-find-title): Bug fix.
7298         (org-publish-org-index): Implement new :index-style option.
7300 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
7302         * org-publish.el (org-publish-timestamp-filename): Use
7303         SHA1-encoded file names in the timestamp directory.
7305 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
7307         * org-publish.el (org-publish-needed-p): Be verbose about files
7308         published and files skipped.
7310         * org-exp.el (org-export-preprocess-string): Swap link
7311         normalization and inernal link targeting.
7313         * org-publish.el (org-publish-needed-p): Create timestamp
7314         directory when it does not exist.
7316 2008-07-04  Bastien Guerry  <bzg@altern.org>
7318         * org-clock.el (org-clock-out-when-done): Doc fix.
7320         * org.el (org-agenda-skip-unavailable-files): Doc fix.
7322         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7323         Ignore case when searching for the COMMENT cookie at export time.
7325 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
7327         * org-exp.el (org-get-file-contents)
7328         (org-get-and-remove-property): New functions.
7329         (org-export-handle-include-files): Handle the new prefix options.
7330         (org-export-as-html): Fix the verse environment.
7332 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
7334         * org.el (org-time=, org-time<, org-time<=, org-time>)
7335         (org-time>=, org-time<>, org-2ft): New functions.
7336         (org-op-to-function): Also provide for the time testing fucntions.
7338 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
7340         * org-exp.el (org-export-html-style-default): New constant.
7342 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
7344         * org-exp.el (org-export-html-style-extra): New variable.
7345         (org-export-splice-style): New function.
7347 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
7349         * org-exp.el (org-export-plist-vars, org-export-as-html):
7350         Implement `org-export-creator-info'.
7351         (org-export-creator-info): New option.
7353 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
7355         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7356         (org-property-drawer-re, org-clock-drawer-re): New constants.
7358 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
7360         * org-exp.el (org-icalendar-use-deadline)
7361         (org-icalendar-use-scheduled): New options.
7362         (org-icalendar-include-todo): Default changed to t.
7363         (org-print-icalendar-entries): Implement better utilization of
7364         scheduling and deadline time stamps.
7365         (org-export-target-internal-links, org-export-as-html): Allow file
7366         lines without the "file:" prefix if the file path is an absolute
7367         path or starts with ".".
7369         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
7370         lastweek etc.
7371         (org-clock-special-range): Also undertand yesterday, lastweek etc.
7373 2008-06-18  Glenn Morris  <rgm@gnu.org>
7374         * org.el (org-map-entries): Let-bind `file'.
7376 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
7378         * org.el (org-agenda-skip-archived-trees): Docstring now
7379         discourages using this.
7380         (org-scan-tags): Check for org-agenda-archives-mode.
7381         (org-map-entries): Make sure org-agenda-archives-mode is nil.
7382         (org-agenda-files): Functionality of second arg changed.
7384         * org-agenda.el (org-agenda-archives-mode): New variable
7385         (org-write-agenda, org-prepare-agenda, org-agenda-list)
7386         (org-search-view, org-todo-list, org-tags-view)
7387         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7388         `ifmode' argument.
7389         (org-agenda-quit): Reset the archives mode.
7390         (org-agenda-archives-mode): New command.
7391         (org-agenda-set-mode-name): Include archives info.
7393 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
7395         * org.el (org-paste-subtree): Make sure the yanked headline is
7396         visible if it was yanked at a visible point.
7397         (org-move-item-up): Fix the bug with moving white space at the end
7398         of the item.
7399         (org-show-empty-lines-in-parent): New function.
7401 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
7403         * org-colview.el (org-columns-next-allowed-value): Bug fix.
7405         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7407         * org-agenda.el (org-agenda-get-closed): Get the end time into the
7408         agenda prefix as well.
7410         * org-publish.el (org-publish-org-index): Make a properly indented
7411         list.
7413         * org.el (org-calendar-agenda-action-key): New option.
7414         (org-get-cursor-date): New function.
7415         (org-mark-entry-for-agenda-action): New command.
7416         (org-overriding-default-time): New variable.
7417         (org-read-date): Respect `org-overriding-default-time'.
7419         * org-remember.el (org-remember-apply-template): Respect the
7420         ovverriding default time.
7422         * org-agenda.el (org-agenda-action-marker): New variable.
7423         (org-agenda-action): New command.
7424         (org-agenda-do-action): New function.
7426 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7428         * org.el (org-schedule, org-deadline): Protect scheduled and
7429         deadline tasks against changes that accidently remove the
7430         repeater.  Also show a message with the new date when done.
7432 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7434         * org.el (org-beginning-of-line): Cater for the case when there
7435         are tags but no headline text.
7436         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7437         it set.
7439 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
7441         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7442         the return value is nil instead of "nil" when there is no match.
7444         * org-exp.el (org-insert-centered): Use fill-column instead of
7445         80.
7446         (org-export-as-ascii): Use string-width to measure the width of
7447         the heading.
7449         * org.el (org-diary-to-ical-string): No longer kill buffer
7450         FROMBUF, this is now done by the caller.
7452         * org-exp.el (org-print-icalendar-entries): Move the call to
7453         `org-diary-to-ical-string' out of the loop, and kill the buffer
7454         afterwords.
7456         * org-remember.el (org-remember-visit-immediately): Position
7457         cursor after moving to the note.
7458         (org-remember-apply-template): Use a text property to record the
7459         cursor position.
7460         (org-remember-handler): Align tags after pasting the note.
7462 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
7464         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7466         * org-agenda.el (org-agenda-open-link): If there is an
7467         org-bbdb-name property in the current line, jump to that bbdb
7468         entry.
7470         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7471         text property, so that the agenda knows where this entry comes
7472         from.
7474         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
7475         interaction between clocking-in from the agenda, and  automatic
7476         task state switching.
7478         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
7480         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7481         zmacs-region stays after this command in XEmacs.
7483 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
7485         * org.el (org-scan-tags): Allow new values for ACTION parameter.
7487         * org-remember.el (org-remember-templates): Fix bug in
7488         customization type definition.
7490         * org.el (org-map-entries): New function.
7492 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
7494         * org-agenda.el (org-agenda-skip-comment-trees): New option.
7495         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7497 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
7499         * org-remember.el (org-jump-to-target-location): New variable.
7500         (org-remember-apply-template): Set
7501         `org-remember-apply-template' if requested by template.
7502         (org-remember-handler): Start an idle timer to jump to
7503         remember location.
7505         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7507         * org.el (org-set-regexps-and-options): Fix bug with parsing of
7508         file tags.
7509         (org-get-tags-at): Add the content of `org-file-tags'.
7511         * org-exp.el (org-export-handle-comments): Fix bug with several
7512         comment lines after each other.
7513         (org-number-to-roman, org-number-to-counter): New functions.
7514         (org-export-section-number-format): New option.
7516 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
7518         * org-exp.el (org-export-protect-examples): Catch the case of a
7519         missing end_example line.
7521         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7522         `org-file-tags' to nil.
7524         * org-colview.el (org-columns-next-allowed-value): Handle next
7525         argument NTH to directly select a value.
7527         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7528         argument NTH to directly select a value.
7530 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
7532         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7534 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
7536         * org.el (org-columns-ellipses): New option.
7538 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
7540         * org-colview.el (org-columns-add-ellipses): New function.
7541         (org-columns-compact-links): New function.
7542         (org-columns-cleanup-item): Call `org-columns-compact-links'.
7543         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7544         when in agenda.
7545         (org-columns-edit-value): Fixed bug with editing values from
7546         agenda column view.
7547         (org-columns-redo): Also redo the agenda itself.
7549 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
7551         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7552         option.
7554         * org-colview.el (org-agenda-columns-cleanup-item): New function.
7556         * org-exp.el (org-export-ascii-preprocess): Renamed from
7557         `org-export-ascii-clean-string'.
7558         (org-export-kill-licensed-text)
7559         (org-export-define-heading-targets)
7560         (org-export-handle-invisible-targets)
7561         (org-export-target-internal-links)
7562         (org-export-remove-or-extract-drawers)
7563         (org-export-remove-archived-trees)
7564         (org-export-protect-quoted-subtrees)
7565         (org-export-protect-verbatim, org-export-protect-examples)
7566         (org-export-select-backend-specific-text)
7567         (org-export-mark-blockquote-and-verse)
7568         (org-export-remove-comment-blocks-and-subtrees)
7569         (org-export-handle-comments, org-export-mark-radio-links)
7570         (org-export-remove-special-table-lines)
7571         (org-export-normalize-links)
7572         (org-export-concatenate-multiline-links)
7573         (org-export-concatenate-multiline-emphasis): New functions,
7574         obtained from spliiting the export preprocessor.
7576         * org-table.el (org-table-recalculate): Improve error message if
7577         the row number is invalid.
7579 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7581         * org-archive.el (org-archive-save-context-info): Fix bugs in
7582         customization setup and docstring.
7584         * org-exp.el (org-export-html-style): Changed the size of in the
7585         <pre> element to 90%.
7587 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7589         * org.el (org-find-src-example-start): Function removed.
7590         (org-edit-src-find-region-and-lang): New function.
7592 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7594         * org.el (org-edit-src-exit): New function.
7595         (org-exit-edit-mode): New minor mode.
7597         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7598         comment-like lines from protected examples.
7600         * org.el (org-edit-src-example, org-find-src-example-start)
7601         (org-protect-source-example, org-edit-special): New functions.
7603 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7605         * org-publish.el (org-publish-project-alist): Fix typo in
7606         docstring.
7607         (org-publish-project-alist): Handle :index-title property.
7609 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7611         * org-export-latex.el (org-export-as-latex): Make sure region
7612         bounds are correct.  Parse subtree properties relating to export.
7614         * org-exp.el (org-export-add-options-to-plist): New function.
7615         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7617 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7619         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7620         EXPORT_TITLE.
7622         * org-exp.el (org-export-get-title-from-subtree)
7623         (org-export-as-ascii, org-export-as-html): Make sure the original
7624         region-beginning and region-end are used, even after moving
7625         point.
7626         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7627         property.
7629         * org-remember.el (org-remember-last-stored-marker): New variable.
7630         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7631         (org-remember-handler): Also use marker to remember
7632         last-stored position.
7634         * org.el (org-goto-marker-or-bmk): New function.
7636 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7638         * org.el (org-file-properties): Renamed from `org-local-properties'.
7639         (org-scan-tags): Take file tags into account.
7640         (org-tags-match-list-sublevels): Default changed to t.
7642         * org-exp.el (org-export-as-html): Close paragraph after a
7643         footnote.
7645         * org.el (org-update-parent-todo-statistics): New function.
7647         * org-exp.el (org-icalendar-store-UID): New option.
7648         (org-icalendar-force-UID): Option removed.
7649         (org-print-icalendar-entries): IMplement UIDs.
7651 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7653         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7655 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7657         * org-faces.el (org-column): Document how this face is being used
7658         and why sometimes the background faces shine through.
7660         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7662         * org-publish.el (org-publish-attachment): Create publishing
7663         directory if it does not yet exist.
7665         * org-table.el (org-calc-default-modes): Change default number
7666         format to (float 8).
7668         * org.el (org-olpath-completing-read): New function.
7669         (org-time-clocksum-format): New option.
7670         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7672         * org-clock.el (org-clock-display, org-clock-out)
7673         (org-update-mode-line): Use `org-time-clocksum-format'.
7675         * org-colview-xemacs.el (org-columns-number-to-string): Use
7676         `org-time-clocksum-format'.
7678         * org-colview.el (org-columns-number-to-string): Use
7679         `org-time-clocksum-format'.
7681 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7683         * org-id.el: New file, move from contrib to core.
7685         * org-exp.el (org-icalendar-force-UID): New option.
7687 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7689         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7690         shifted by one day if theere is a date range without an end
7691         time.
7693         * org.el (org-try-structure-completion): New function.
7695 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7697         * org.el (org-set-font-lock-defaults): Improve fontification of
7698         description lists.
7699         (org-insert-item): Handle description lists.
7700         (org-adaptive-fill-function): Improve auto indentation in
7701         description lists.
7703         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7704         Implement VERSE environment.
7705         (org-export-preprocess-string): Implement the COMMENT
7706         environment.
7708         * org-export-latex.el (org-export-latex-preprocess): Implement
7709         VERSE environment.
7711 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7713         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7714         option.
7716 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7718         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7720         * org.el (org-quote-csv-field): New functions.
7722         * org-table.el (org-table-export-default-format): Remove :splice
7723         from default format, we get the same effect by not specifying
7724         :tstart and :tend.
7725         (org-table-export): Improve setup, distinguish better between
7726         interactive and non-interactive use, allow specifying the format
7727         on the fly, better protection against wrong file names.
7728         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7729         and :tend when :splice is omitted.
7731 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7733         * org-clock.el (org-clock-select-task): Make sure the selection
7734         letters are 1-9 and A-Z, no special characters.
7736 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7738         * org-exp.el (org-export-htmlize): New group.
7739         (org-export-htmlize-output-type)
7740         (org-export-htmlize-css-font-prefix): New options.
7741         (org-export-htmlize-region-for-paste): New function.
7742         (org-export-htmlize-generate-css): New command.
7744 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7746         * org/org.el (org-modules, org-format-latex-options):
7747         * org/org-archive.el (org-archive-stamp-time)
7748         (org-archive-save-context-info):
7749         * org/org-faces.el (org-hide):
7750         * org/org-irc.el (org-irc-parse-link):
7751         * org/org-macs.el (org-call-with-arg, org-autoload):
7752         * org/org-mew.el (org-mew-store-link):
7753         * org/org-remember.el (org-remember-store-without-prompt)
7754         (org-remember-templates): Fix typos in docstrings.
7756         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7758         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7759         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7760         (org-bbdb-anniv-split): Fix typos in docstrings.
7762         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7763         (org-publish-use-timestamps-flag): Reflow docstring.
7764         (org-publish-files-alist): Fix typos in docstring.
7766 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7768         * org.el (org-set-visibility-according-to-property): New function.
7769         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7770         and compute the regular expressions, and update font-lock.
7771         (org-property-re): Allow a dash in property names.
7773         * org-archive.el (org-extract-archive-file): Insert the file name
7774         without the path into the format, to allow the location format to
7775         contain a subdirectory.
7777         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7778         of buffer, and the `org-agenda-type' property undefined, use the
7779         value from the character before.
7781         * org.el (org-add-planning-info): Don't let indentation for
7782         would-be timestamp become extra whitespace at the end of headline.
7784 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7786         * org.el (org-remove-double-quotes, org-file-contents): New
7787         functions.
7789         * org-exp.el (org-infile-export-plist): Also parse the
7790         contents of #+SETUPFILE files, recursively.
7792         * org.el (org-set-regexps-and-options): Also parse the
7793         contents of #+SETUPFILE files, recursively.
7795         * org-exp.el (org-export-handle-include-files): New function.
7796         (org-export-preprocess-string): Call
7797         `org-export-handle-include-files'.
7799         * org.el (org-delete-property-globally)
7800         (org-delete-property, org-set-property): Ignore case during
7801         completion.
7802         (org-set-property): Use `org-completing-read' instead of
7803         `completing-read'.
7805         * org.el (org-complete-expand-structure-template): New,
7806         experimental function.
7807         (org-structure-template-alist): New, experimental option.
7808         (org-complete): Call `org-complete-expand-structure-template'.
7810 2008-05-06  Bastien Guerry  <bzg@altern.org>
7812         * org-export-latex.el (org-export-latex-preprocess): Added
7813         support for blockquotes.
7815 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7817         * org.el (org-read-date-analyze): Catch the case where only a
7818         weekday is given.
7820 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7822         * org.el (org-set-font-lock-defaults): Make the description
7823         tag bold.
7825         * org-exp.el (org-export-as-html, org-close-li): Implement
7826         description lists.
7828 2008-05-04  Jason Riedy  <jason@acm.org>
7830         * org-table.el (*orgtbl-default-fmt*): New variable.
7831         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7832         when there is no other fmt available.
7834         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7835         :tend to suppress the appropriate string.
7837         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7838         table.
7840 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7842         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7843         read date.
7845         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7846         New function.
7848         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7849         New function.
7851 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7853         * org-clock.el (org-clock-find-position): Don't include notes
7854         into clock drawer.
7856         * org-archive.el (org-archive-subtree): No longer remove an
7857         extra line after cutting the subtree.  `org-cut-subtree' already
7858         takes care of this.
7860         * org-remember.el (org-remember-handler): Only kill the target
7861         buffer if it does not contain the running clock.
7863         * org.el (org-markers-to-move): New variable.
7864         (org-save-markers-in-region, org-check-and-save-marker)
7865         (org-reinstall-markers-in-region): New function.
7866         (org-move-subtree-down, org-copy-subtree): Remember relative
7867         marker positions before cutting.
7868         (org-move-subtree-down, org-paste-subtree): Restore relative
7869         marker positions after pasting.
7871         * org-remember.el (org-remember-clock-out-on-exit): New option.
7872         (org-remember-finalize): Clock out only if the setting in
7873         `org-remember-clock-out-on-exit' requires it.
7874         (org-remember-handler): Do the cleanup in the buffer, to make sure
7875         that the clock marker remains in tact.
7877 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7879         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7880         (org-clock-in): Make sure that also tasks outside the narrowed
7881         region will be clocked in correctly.
7882         (org-clock-insert-selection-line): Widen the buffer so that we can
7883         find the correct task heading.
7885         * org.el (org-base-buffer): New function.
7887         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7888         and ";" are escaped.
7889         (org-print-icalendar-entries): Also apply
7890         `org-icalendar-cleanup-string' to the headline, not only to the
7891         summary property.
7893 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7895         * org-exp.el (org-export-preprocess-hook): New hook.
7896         (org-export-preprocess-string): Call
7897         `org-export-preprocess-hook'.
7899         * org.el (org-font-lock-hook): New variable.
7900         (org-font-lock-hook): New function.
7901         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7903 ;; Local Variables:
7904 ;; coding: utf-8
7905 ;; add-log-time-zone-rule: t
7906 ;; End:
7908     Copyright (C) 2008  Free Software Foundation, Inc.
7910   This file is part of GNU Emacs.
7912   GNU Emacs is free software: you can redistribute it and/or modify
7913   it under the terms of the GNU General Public License as published by
7914   the Free Software Foundation, either version 3 of the License, or
7915   (at your option) any later version.
7917   GNU Emacs is distributed in the hope that it will be useful,
7918   but WITHOUT ANY WARRANTY; without even the implied warranty of
7919   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7920   GNU General Public License for more details.
7922   You should have received a copy of the GNU General Public License
7923   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7925 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c