Use save-excursion to remember position when updating dblocks
[org-mode.git] / lisp / ChangeLog
blobcdf06e88de2d1c829101028ff306d3df552a230e
1 2010-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-map-dblocks): Use save-excursion to remember the
4         position.
6         * org-attach.el (org-attach-commit): Remove dependence on xargs.
7         (org-attach-delete-one): Commit after deleting a file.
9         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
10         borders for strike-through emphasis.
12         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
13         handling of odd levels.
15         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
16         and `future' values.
17         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
18         Handle `past' and `future' values.
20         * org.el (org-read-agenda-file-list): Interpret file names
21         relative to org-directory and allow environment variables and
22         "~".
24         * org-latex.el (org-export-latex-special-chars): Allow a
25         parenthesis before an exponent or subscript.
27 2010-03-23  Dan Davison  <davison@stats.ox.ac.uk>
29         * org-src.el (org-edit-src-exit): When returning from code edit
30         buffer, if code block is hidden, leave point at start of
31         #+begin_src line
33 2010-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
35         * org.el (org-insert-heading): Do not remove all spaces if the
36         headline is empty.
38         * org-indent.el (org-indent): Fix group name.
40 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
42         * org-table.el (org-table-goto-column): Fix forcing a non-existing
43         column.
44         (org-table-get, org-table-put, org-table-goto-line)
45         (org-table-current-line): New functions.
47 2010-03-21  Jan Böcker  <jan.boecker@jboecker.de>
49         * org.el (org-open-file): Allow regular expressions in
50         org-file-apps to capture link parameters using groups.  In a
51         command string to be executed, the parameters can be referenced
52         using %1, %2, etc.  Lisp forms can access them using
53         (match-string n link).
54         (org-apps-regexp-alist): Adopt the created regexp, as this is now
55         matched against a file: link instead of the file name.
57 2010-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
59         * org-crypt.el (org-reveal-start-hook): Add a decryption function
60         to this hook.
61         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
62         docstrings.
64         * org.el (org-point-at-end-of-empty-headline)
65         (org-level-increment, org-get-previous-line-level): New function.
66         (org-cycle-level): Rewritten to be independent of when this
67         function is called.
68         (org-in-regexps-block-p): New function.
69         (org-reveal-start-hook): New hook.
70         (org-reveal): Run new hook.
72 2010-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
74         * org-latex.el (org-export-latex-keywords): Start a new paragraph
75         after time keywords, do not add "\newline".
77         * org-html.el (org-export-as-html): Avoid double # in href.
79         * org.el (org-refile-get-location): Catch an invalid target
80         specification.
82 2010-03-18  Carsten Dominik  <carsten.dominik@gmail.com>
84         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
85         Make sure the behavior regarding to extracting time is
86         consistent.
88 2010-03-17  Stephen Eglen  <stephen@gnu.org>
90         * org-agenda.el (org-agenda-insert-diary-extract-time): New
91         variable.
92         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
93         variable rather than `org-agenda-search-headline-for-time'.
95 2010-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
97         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
99 2010-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
101         * org.el (org-adaptive-fill-regexp-backup): New variable.
102         (org-set-autofill-regexps): Store a backup of
103         `adaptive-fill-regexp'.
104         (org-adaptive-fill-function): Fix filling of comments and ordered
105         lists. If there is no other match, till try adaptive fill.
107 2010-03-15  John Wiegley  <jwiegley@gmail.com>
109         * org-agenda.el (org-agenda-include-deadlines): Added new
110         customization variable to determine whether unscheduled tasks
111         should appear in the agenda solely because of their deadline.
112         Default to true, which was the previous behavior (it just wasn't
113         configurable).
114         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
115         the agenda to show/hide deadline tasks.
116         (org-agenda-menu): Added menu option for show/hide deadlines.
117         (org-agenda-list): Make the agenda list sensitive to the value of
118         `org-agenda-include-deadlines'.
119         (org-agenda-toggle-deadlines): New function to toggle the value of
120         `org-agenda-include-deadlines' and repaint the modeline
121         indicators.
122         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
123         modeline if deadline tasks are being displayed.
125 2010-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
127         * org-table.el (org-table-eval-formula): Replace $# and @# by
128         current column and row number.
130 2010-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
132         * org.el (org-set-property, org-delete-property): Go back to
133         prompting for the property.
135         * org-latex.el (org-export-latex-make-header): Fully process
136         author line.
137         (org-export-latex-fontify-headline): Allow several arguments, not
138         just one.
139         (org-export-latex-fix-inputenc): Catch the error when
140         `latexenc-coding-system-to-inputenc' is not defined.
142         * org-agenda.el (org-agenda-skip-if-todo): New function.
143         (org-agenda-skip-if): Add conditions for TODO keywords.
144         (org-agenda-skip-if): Document the new todo conditions.
146 2010-03-11  Mikael Fornius  <mfo@abc.se>
148         * org.el (org-at-property-p): Check if we are inside a property
149         drawer not just any drawer.
150         (org-set-property, org-delete-property): When cursor is on a
151         property key value pair do not prompt for property name instead
152         use name at cursor.
153         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
154         on the first line of a property drawer.
155         (org-property-end-re): Spell check.
157 2010-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
159         * org-exp.el (org-export-attach-captions-and-attributes): Add the
160         properties to the entire table, in case the first line is
161         removed.
163         * org-archive.el (org-archive-reversed-order): New option.
164         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
165         option `org-archive-reversed-order'.
167 2010-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
169         * org-agenda.el (org-agenda-entry-types): New variable.
170         (org-agenda-list): Use `org-agenda-entry-types'.
171         (org-agenda-custom-commands-local-options): Support for setting
172         `org-agenda-entry-types' as an option.
173         (org-diary): Shift some documentation from here to the variable
174         `org-agenda-entry-types'.
176 2010-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
178         * org-latex.el (org-export-latex-make-header): Apply macros in
179         author field.
181         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
182         (org-clock-select-task, org-clock-notify-once-if-expired)
183         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
184         (org-clock-out-if-current, org-clock-save): Use the new functions.
186 2010-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
188         * org-docbook.el (org-export-as-docbook): Remove unnecessary
189         newline.
190         (org-export-as-docbook): Remove unnecessary newline.
191         (org-export-as-docbook): Fix problem with double footnote
192         reference in one place.
194         * org-exp.el (org-export-format-source-code-or-example): Remove
195         unnecessary newline.
197         * org.el (org-deadline, org-schedule): Allow rescheduling entries
198         with repeaters.
200         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
201         function calls that look like references.
203         * org.el (org-open-at-point): Get link abbreviations from
204         reference buffer.
206 2010-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
208         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
209         as a reference.
211 2010-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
213         * org.el (org-link-unescape): Solve issue with lower-case escapes.
215 2010-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
217         * org-latex.el (org-export-latex-classes): Add
218         \usepackage{latexsym} to all classes.
220 2010-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
222         * org-html.el (org-export-as-html): Do not allow protected lines
223         into the table of contents.
225         * org-latex.el (org-export-latex-special-chars): Find subsequent
226         occurrences of special characters.
227         (org-export-latex-tables): Do not convert table-like stuff that is
228         protected.
230 2010-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
232         * org-list.el (org-toggle-checkbox): No errors when updating
233         checkbox count fails because there is no heading.
235 2010-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
237         * org-clock.el (org-clock-report-include-clocking-task): New
238         option.
239         (org-clock-sum): Add the current clocking task.
241 2010-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
243         * org.el (org-cycle): Print a message when in a table.el table.
244         (org-edit-special): Recognize the table.el context.
245         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
247         * org-src.el (org-at-table.el-p): Declare.
248         (org-edit-src-code): Handle a special case for table.el editing.
249         (org-edit-src-find-region-and-lang): Recognize the table.el
250         context.
252         * org-latex.el (org-export-latex-tables): Convert table.el
253         tables.
254         (org-export-latex-convert-table.el-table): New function.
256         * org-html.el (org-html-expand): Fix table.el export.
258         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
259         headings.
261         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
262         table for the id locations.
264         * org.el (org-read-date-analyze): Match American-style dates, like
265         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
266         current year when reading ISO and American dates.
268 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
270         * org.el (org-face-from-face-or-color): New function.
271         (org-get-todo-face, org-font-lock-add-priority-faces)
272         (org-get-tag-face): Use `org-face-from-face-or-color'.
274         * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
275         simple colors as values.
276         (org-faces-easy-properties): New option.
278         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
279         restricted, as an agenda mode.
280         (org-agenda-fontify-priorities): Allow simple colors as values.
282 2010-02-25  Bastien Guerry  <bzg@altern.org>
284         * org-timer.el (org-timer-current-timer): Renamed from
285         `org-timer-last-timer'.
286         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
287         (org-timer-cancel-timer, org-timer-show-remaining-time)
288         (org-timer-set-timer): Update to use only one timer.
290         * org.el (org-set-property): Remove useless space in the prompt.
292 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
294         * org-html.el (org-export-html-style-default): Add a default style
295         for textareas.
297         * org-exp.el (org-export-format-source-code-or-example): Fix
298         textarea tag.
300 2010-02-24  Bastien Guerry  <bzg@altern.org>
302         * org-clock.el (org-clock-current-task): New variable to store
303         last clocked in task.
304         (org-clock-set-current, org-clock-delete-current): New functions.
306 2010-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
308         * org-remember.el (org-remember-apply-template): Extend comment.
309         (org-remember-handler): Implement clock sibling filing.
311 2010-02-23  Carsten Dominik  <carsten.dominik@gmail.com>
313         * org-publish.el (org-publish-all, org-publish-current-file)
314         (org-publish-current-project): When called with prefix argument
315         FORCE, also rebuild the validation file list.
317         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
318         section headings.
320 2010-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
322         * org-html.el (org-export-as-html-and-open): Kill product buffer
323         if the user wants that.
325         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
326         if the user wants that.
328         * org-exp.el (org-export-kill-product-buffer-when-displayed): New
329         option.
331         * org-agenda.el (org-batch-agenda-csv): Use the time property
332         instead of the `time-of-day' property.
334 2010-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
336         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
337         (org-timer-pause-hook, org-timer-set-hook)
338         (org-timer-cancel-hook): New hooks.
339         (org-timer-start): Run `org-timer-start-hook'.
340         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
341         (org-timer-stop): Run `org-timer-stop-hook'.
342         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
344 2010-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
346         * org.el (org-reveal): Double prefix arg shows the subtree of the
347         parent.
349 2010-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
351         * org-agenda.el (org-search-view): Fix bug with searching full
352         words in headlines in search view.
353         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
354         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
355         scheduled (if the user configures it so.
357 2010-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
359         * org.el (org-hide-archived-subtrees): Don't jump to end of
360         subtree if the match was not in a headline.
361         (org-inside-latex-macro-p): Allow more complex arguments.
362         (org-emphasize): Protect against use at end of buffer.
364 2010-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
366         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
367         text properties.
369 2010-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
371         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
372         values.
373         (org-agenda-todo-ignore-scheduled)
374         (org-agenda-todo-ignore-deadlines): More control with different
375         allowed values.
376         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
377         Honor the new option settings.
379 2010-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
381         * org.el (org-get-location): Make sure the selection buffer is
382         shown in the current frame.
384         * org-ascii.el (org-export-ascii-table-widen-columns): New
385         option.
386         (org-export-ascii-preprocess): Realign tables to remove narrowing
387         if `org-export-ascii-table-widen-columns' is set.
389         * org-table.el (org-table-do-narrow): New variable.
390         (org-table-align): Narrow only if `org-table-do-narrow' is t.
392         * org.el (org-deadline, org-schedule): Allow updating if the
393         relevant time stamp does not have a repeater, i.e. do not require
394         that no time stamp has a repeater.
396         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
397         new white space before the tags.
399         * org-latex.el (org-export-as-latex): Do nit require the buffer to
400         be visiting a file when only exporting to a buffer or string.
401         (org-export-latex-fix-inputenc): Only save the buffer is there is
402         a file name attached to it.
404 2010-02-09  Dan Davison  <davison@stats.ox.ac.uk>
406         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
408 2010-02-08  Carsten Dominik  <carsten.dominik@gmail.com>
410         * org.el (org-fontify-meta-lines-and-blocks): Honor
411         `org-fontify-quote-and-verse-blocks'.
413         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
415 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
417         * org.el (org-open-at-point): Also check for text property
418         org-linked-text before offering collected links.
420 2010-02-03  Stephen Eglen  <stephen@gnu.org>
422         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
423         Optionally extract time specification from text and add to the
424         timestamp.
426 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
428         * org-exp.el (org-html-entities): Fix typo.
430         * org-latex.el (org-export-latex-make-header): Use \providecommand
431         to make sure the \alert macro is defined.
433         * org.el (org-format-latex-signal-error)
434         (org-create-formula-image): Use `org-format-latex-signal-error'.
436 2010-02-02  Stephen Eglen  <stephen@gnu.org>
438         * org.el (org-store-link): For dired buffers, use
439         default-directory as link name if dired-get-filename returns
440         nil.
442 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
444         * org-exp.el (org-export-concatenate-multiline-links): The for
445         protectedness at beginning of match.
447         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
448         AUTO as a coding system, instead default to utf8.
450 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
452         * org.el (org-block-todo-from-children-or-siblings-or-parent)
453         (org-block-todo-from-checkboxes): Respect the local variable
454         value when deciding if blocking should be active.
456         * org-latex.el (org-export-latex-make-header): Define the align
457         macro if it is not yet defined.
459         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
460         `org-insert-heading' with the INVISIBLE-OK argument.
462         * org-mac-message.el (org-mac-message-insert-flagged): Call
463         `org-insert-heading' with the INVISIBLE-OK argument.
465         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
467         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
468         prompt message.
470         * org-html.el (org-html-level-start): Use the
471         `html-container-class' text property to set an additional class
472         for an outline container.
474         * org-exp.el (org-export-remember-html-container-classes): New
475         function.
476         (org-export-preprocess-string): Call
477         `org-export-remember-html-container-classes'.
479         * org.el (org-cycle): Mention level cycling in the docstring.
480         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
482         * org-remember.el (org-remember-apply-template): Do file insertion
483         first.
485 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
487         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
488         problem with mis-aligned graphs when showing habits.
490 2010-01-28  Mikael Fornius  <mfo@abc.se>
492         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
493         when assigning. Begin using numerical characters when all in name
494         is used up. This is to spare alphanumeric characters for better
495         match with other keywords.
497 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
499         * org-exp.el (org-export-preprocess-hook): Improve documentation.
501         * org-latex.el (org-export-latex-preprocess): More consistent
502         conversion and protection of the words LaTeX and TeX.
503         (org-export-latex-fontify-headline, org-export-latex-preprocess):
504         Allow angle brackets in commands, for beamer.
506 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
508         * org-clock.el (org-clock-in): Improve the look of the clock line
509         by formatting links.
511 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
513         * org-latex.el (org-export-latex-classes): Use AUTO as the place
514         holder string for the coding system.  And improve the
515         documentation.
516         (org-export-latex-fix-inputenc): Only modify the coding system if
517         it is given by the placeholder AUTO.
519 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
521         * org-clock.el (org-task-overrun-text): New option.
522         (org-task-overrun, org-clock-update-period): New variables.
523         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
524         overrun clock.
525         (org-clock-notify-once-if-expired): Check if clock is overrun.
527         * org-faces.el: New face `org-mode-line-clock-overrun'.
529 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
531         * org.el (org-narrow-to-subtree): Position the end of the narrowed
532         region before the line with the next heading, to prevent the user
533         from prepending text to the next headline.
535 2010-01-20  Stephen Eglen  <stephen@gnu.org>
537         * org-agenda.el (org-get-time-of-day): Use
538         org-agenda-time-leading-zero to allow leading zero (rather than
539         space) for times.
541 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
543         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
544         org-datetree.el is loaded.
546         * org-datetree.el: autoload `org-datetree-find-day-create'
548         * org-latex.el (org-export-latex-hyperref-format): New option.
549         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
551 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
553         * org-ctags.el (org-ctags-enable): Change order of functions.
554         (org-ctags-create-tags): Add wildcard to file name expansion.
556 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
558         * org.el (org-entry-properties): Fix some important bugs.
560 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
562         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
563         the table is not explicitly given.
565 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
567         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
568         as value.
569         (org-clock-out-if-current): Work with the new list value of
570         `org-clock-out-when-done'.
571         (org-clock-out, org-clock-out-if-current): Avoid circular logic
572         between clocking out and state changes.
574         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
576         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
577         accident protect a character that is before a backslash.
579 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
581         * org-agenda.el (org-diary-class): Use
582         `org-order-calendar-date-args'.
584         * org.el (org-order-calendar-date-args): New function.
586         * org-exp.el (org-export-target-internal-links): Check for
587         protectedness after the first bracket.
589         * org.el (org-entry-properties): Don't match wrong-case TODO
590         keywords.
592         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
593         Document that ARG is passed through to remove the date.
594         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
595         not read a date when the user has given a `C-u' prefix.
597 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
599         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
600         tags are hidden.
602 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
604         * org-latex.el (org-export-latex-fix-inputenc): New function.
605         (org-export-latex-inputenc-alist): New option.
607         * org-exp.el (org-export): New key SPC to publish enclosing
608         subtree.
610 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
612         * org-indent.el (org-indent-add-properties): Catch case when there
613         is no headline in the buffer.
615 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
617         * org-exp.el (org-html-entities): Add checkmark symbol.
619         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
620         verbatim code for ASCII export.
622         * org.el (org-update-statistics-cookies): Also see checkboxes in
623         ordered lists.
625 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
627         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
628         key.
630         * org-beamer.el (org-beamer-amend-header): Change the location
631         where `org-beamer-header-extra' is inserted.
633         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
634         just for computing this regexp.
636 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
638         * org-beamer.el (org-beamer-frame-default-options): New option.
639         (org-beamer-sectioning): Use default options if the user does not
640         have defined any.
641         (org-beamer-fix-toc): Put a frame around the table of contents.
643         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
644         sure case-folding works well when processing comment stuff.
646         * org-latex.el (org-export-latex-after-save-hook): New hook.
647         (org-export-as-latex): Run the new hook.
649 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
651         * org-beamer.el (org-beamer-environments-default): Add the note
652         environments.
653         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
654         lines and collect and combine the content.
655         (org-beamer-after-initial-vars): Check for note tags and make sure
656         they will be seen like a property.
658         * org.el (org-offer-links-in-entry): Fix bug when there is a
659         single link.
661         * org-exp.el (org-export): Make sure the mark is activated, also
662         when `transient-mark-mode' is off.
664         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
665         (org-agenda-search-view-search-words-only): Obsolete variable, is
666         now an alias for `org-agenda-search-view-always-boolean'.
667         (org-agenda-search-view-force-full-words): New option.
668         (org-search-view): Improve docstring, and implement a better logic
669         for Boolean and phrase searches.
670         (org-agenda-last-search-view-search-was-boolean): New variable.
671         (org-agenda-manipulate-query): Consider the type of the last
672         search when modifying the search string.
674 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
676         * org-latex.el (org-export-as-latex): Do the first letbind in the
677         right moment.
679         * org-agenda.el (org-get-entries-from-diary): Add the new face to
680         these entries.
682         * org-faces.el (org-agenda-diary): New face.
684         * org.el (org-make-link-regexps): Allow regexp-special characters
685         in link types.
686         (org-open-file): When in-emacs is `system', also force system
687         opening, like when the value was `(16)'.
688         (org-update-statistics-cookies): Handle entries without children.
690         * org-exp.el
691         (org-export-preprocess-before-normalizing-links-hook): New hook.
692         (org-export-preprocess-string): Run the new hook.
694         * org.el (org-offer-links-in-entry): Make RET open all links.
696         * org-html.el (org-export-as-html): Remove any left-over display
697         properties in the html file.
699         * org-wl.el (org-wl-store-link): Work-around for format bug with
700         text properties.
702         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
703         invisibility while adding the graphs.
705 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
707         * org-remember.el (org-select-remember-template): Use C letter to
708         customize remember templates.
710         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
711         Move cursor to next visible line.
713 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
715         * org-beamer.el (org-beamer-sectioning): Leave columns environment
716         by specifying 0 or 1 for column width.
717         (org-beamer-column-widths): Make 0 stand for 0.0.
719 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
721         * org-exp.el (org-export-mark-radio-links): Don't match inside
722         <<target>>.
724         * org.el (org-format-latex-header-extra): New variable.
725         (org-format-latex): Set org-format-latex-header-extra from
726         in-buffer stuff.
727         (org-format-latex): Add org-format-latex-header-extra to the
728         variables on which image creation depends.
729         (org-create-formula-image): Add the header stuff from in-buffer
730         settings.
731         (org-read-date-analyze): Base the analysis for future preference
732         on NOW, not on the default date.
734         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
735         for TODO keyword in inline tasks.
737         * org.el (org-log-note-headings): New headings for removing
738         deadline or scheduling date.
739         (org-deadline, org-schedule): Arrange for logging when removing a
740         date.
741         (org-add-log-note): Handle deadline and scheduling removal.
743 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
745         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
747 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
749         * org-agenda.el (org-diary-class): New function.
751 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
753         * org-latex.el (org-export-latex-preprocess): Do process the text
754         of a radio target.
756 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
758         * org.el (org-entry-properties): Add TIMESTAMP properties back
759         in.
761 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
763         * org.el (org-all-time-keywords): New variable.
764         (org-set-regexps-and-options): Set `org-all-time-keywords'.
765         (org-entry-blocked-p): New function.
766         (org-special-properties): Add BLOCKED as a new special property.
767         (org-entry-properties): New optional argument SPECIFIC, only parse
768         for this property when it is specified.
769         (org-entry-get): Pass a SPECIFIC argument to
770         `org-entry-properties'.
772         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
774 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
776         * org-latex.el (org-export-latex-tables): No forced line end if
777         there is no caption.
779 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
781         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
782         package.
784         * org-latex.el (org-export-latex-tables): Only add a caption when
785         macro in in longtable environments if one has been defined.
787         * org-html.el (org-export-as-html): Only take title from buffer if
788         not exporting body-only.
790         * org-latex.el (org-export-latex-preprocess): Better version of
791         the regular expression for protecting LaTeX macros.
792         (org-export-latex-preprocess): Start searching for macros to
793         protect from beginning of buffer.
795         * org-exp.el (org-export-target-internal-links): Check for
796         protectedness earlier in the string.
798         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
799         case sensitively.
801         * org-id.el (org-id-store-link): Match TODO keywords case
802         sensitively.
804         * org.el (org-heading-components, org-get-outline-path)
805         (org-display-outline-path): Match TODO keywords case sensitively.
807         * org-latex.el (org-export-as-latex): Ignore read-only
808         properties.
810         * org-exp.el (org-export-preprocess-string): Remove any
811         `read-only' properties.
813         * org-agenda.el (org-agenda-inactive-leader): New option.
814         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
815         (org-tags-view): Prompt for matcher if MATCH is an empty string.
816         (org-todo-list): Prompt for matcher if ARG is an empty string.
818 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
820         * org.el (org-open-link-functions): New hook.
821         (org-open-at-point): Run `org-open-link-functions'.
823 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
825         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
826         stamps as well.
828         * org.el (org-inhibit-startup-visibility-stuff): New variable.
829         (org-mode): Don't do startup visibility if inhibited.
830         (org-outline-overlay-data, org-set-outline-overlay-data): New
831         functions.
832         (org-save-outline-visibility): New macro.
833         (org-log-note-headings): Document that one should not change the
834         `state' note format.
836 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
838         * org.el (org-make-link-regexps): Capture link path into a group.
840 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
842         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
843         the options plist.
845 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
847         * org.el (org-startup-with-beamer-mode): New option.
848         (org-property-changed-functions)
849         (org-property-allowed-value-functions): New hooks.
850         (org-entry-put, org-property-get-allowed-values): Run the new
851         hooks.
852         (org-property-next-allowed-value): Run the new hooks.
854         * org-exp.el (org-export-select-backend-specific-text): Add the
855         special beamer tags.
857         * org-beamer.el
858         (org-export-preprocess-before-selecting-backend-code-hook): New
859         file.
861         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
862         (org-export-as-latex): Run
863         `org-export-latex-after-initial-vars-hook'.
864         (org-export-latex-format-toc-function)
865         (org-export-latex-make-header): Call
866         `org-export-latex-format-toc-function'.
868         * org.el (org-fill-template): Make template searches case sensitive.
870         * org-exp.el (org-export): Use "1" as a sign to export only the
871         subtree.
873         * org-colview-xemacs.el (org-columns-edit-value): Use
874         org-unrestricted property.
876         * org-colview.el (org-columns-edit-value):  Use
877         org-unrestricted property.
879         * org.el (org-compute-property-at-point): Set org-unrestricted
880         text property if the list contains ":ETC".
881         (org-insert-property-drawer):  Use
882         org-unrestricted property.
884         * org-exp.el
885         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
886         (org-export-preprocess-string): Run
887         `org-export-preprocess-before-selecting-backend-code-hook'.
889         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
891         * org-latex.el (org-export-region-as-latex): Run
892         `org-export-first-hook'.
894         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
896         * org-docbook.el (org-export-as-docbook): Run
897         `org-export-first-hook'.
899         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
901         * org-exp.el (org-export-first-hook): New hook.
903 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
905         * org-list.el (org-previous-item): Exit at the beginning of the
906         buffer.
908         * org-id.el (org-id-locations-save): Only write the id locations
909         if any are defined.
911         * org-archive.el (org-archive-all-done): Make this work in a file
912         with org-odd-levels-only set.
914         * org.el (org-get-refile-targets): Catch the case when a buffer
915         has no file.
917         * org-latex.el (org-export-as-latex): Cleanup forced line ends
918         where they are not needed.
919         (org-export-latex-subcontent): Remove unnecessary newlines.
921 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
923         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
924         (org-export-latex-fontify): Fix regexp bug that takes special
925         care of protecting the right boundary characters in emphasis
926         matches.
927         (org-export-latex-preprocess): Allow multiple arguments to latex
928         macros.
930         * org.el (org-make-link-regexps): Use John Gruber's regexp for
931         urls.
933         * org-macs.el (org-re): Interpret :punct: in regexps.
935         * org-exp.el (org-export-replace-src-segments-and-examples): Also
936         take the final newline after the END line.
938         * org.el (org-clean-visibility-after-subtree-move): Only fix
939         entries that are not entirely invisible already.
940         (org-insert-link): Respect org-link-file-path-type for
941         "docview:" links in addition to "file:" links.
943 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
945         * org-exp.el (org-export-format-source-code-or-example): Avoid
946         additional extra white lines in LaTeX.
948         * org-list.el (org-list-parse-list): Leave empty lines after the
949         list, don't consider them as part of the list.
951         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
952         searches.
954         * org-clock.el (org-clock-select-task): Convert integer to
955         character for XEmacs.
957 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
959         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
960         compatible.
962 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
964         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
965         variable.
966         (org-set-tags): Use it.
968 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
970         * org-list.el (org-empty-line-terminates-plain-lists): Update
971         docstring.
973         * org.el (org-format-latex): Fix link creation for processed latex
974         snippets.
976 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
978         * org-footnote.el (org-footnote-normalize): Protect replacement
979         text.
981         * org.el (org-inside-latex-macro-p): Save match data.
983 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
985         * org-docview.el: New file.
987 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
989         * org-latex.el (org-export-latex-class-options): New variable.
990         (org-export-latex-set-initial-vars): Use the class options.
992         * org.el (org-forward-same-level): Stop at headings that start
993         with an invisible character.
994         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
996 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
998         * org-footnote.el (org-footnote-normalize): Don't take optional
999         arguments in LaTeX macros as footnotes.
1001         * org.el (org-inside-latex-macro-p): New function.
1003         * org-latex.el (org-latex-to-pdf-process): Change customization
1004         group to `org-export-pdf'.
1006         * org-agenda.el (org-agenda-get-blocks): Look at time string also
1007         on days after the first one.
1009         * org.el (org-insert-heading): Also check for item before assuming
1010         before-first-heading condition.
1012         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
1013         (org-export-pdf-logfiles): New option.
1014         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
1015         (org-export-pdf-logfiles): Fix customization type.
1017         * org.el (org-insert-link): Improve error message when there is no
1018         default link to select with RET.
1020         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
1021         parameter list.
1023 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
1025         * org-latex.el (org-export-latex-parse-global)
1026         (org-export-latex-parse-content)
1027         (org-export-latex-parse-subcontent): Use
1028         `org-re-search-forward-unprotected'.
1029         (org-export-as-pdf): Remove log files produced by XeTeX.
1031         * org-macs.el (org-re-search-forward-unprotected): New function.
1033 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
1035         * org-colview.el (org-agenda-colview-summarize): Sort out some
1036         confusion between properties and titles, which resulted in
1037         agenda summaries not working if a title was set for a column.
1039 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
1041         * org-mobile.el (org-mobile-agendas): New option.
1042         (org-mobile-sumo-agenda-command): Select the right agendas.
1044         * org-latex.el (org-export-latex-format-image): Preserve the
1045         original-indentation property.
1047 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
1049         * org-clock.el (org-clock-insert-selection-line): Catch error when
1050         an old tasks no longer exists.
1052         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
1053         (org-export-as-pdf): Don't remove the old PDF file before making
1054         the new one.
1056         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
1057         (org-mouse-context-menu): Use `org-looking-back'.
1059         * org.el (org-cycle-level): Use `org-looking-back'.
1061         * org-list.el (org-cycle-item-indentation): Use
1062         `org-looking-back'.
1064         * org-compat.el (org-looking-back): New function.
1066         * org.el (org-insert-heading): Catch before-first-headline when
1067         inserting a headline.
1069 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
1071         * org-latex.el (org-export-latex-format-image): Indent figure
1072         environment, so that it does not interrupt plain list.
1074         * org.el (org-open-at-point): Allow long link descriptions.
1076 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1078         * org-html.el (org-export-as-html): Remove empty lines at the
1079         beginning of the exported text.
1081 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
1083         * org-protocol.el (org-protocol-remember): Cater for empty title,
1084         region, link.
1086         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1087         agenda after adding new entry.
1088         (org-agenda-get-represented-tags): New function.
1089         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
1090         to get a list of tags in the agenda.
1092         * org-datetree.el (org-datetree-find-day-create): Fix regular
1093         expression.
1095         * org.el (org-display-outline-path): Use a format specifier for
1096         message, to avoid problems with heading containing `%'.
1098         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1099         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1100         (org-agenda-fix-displayed-tags): New function.
1101         (org-agenda-do-context-action): Just call
1102         `org-display-outline-path', without piping the result through
1103         `message'.
1105         * org-latex.el (org-export-latex-preprocess): Protect secondary
1106         footnote references.
1108         * org-indent.el (org-indent-initialize): Avoid empty strings as
1109         line prefixes.
1111         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1112         hat checking for the mark does not throw an error.
1113         (org-agenda-diary-entry-in-org-file): Catch the case that there is
1114         not `day' text property in the cursor line.
1116         * org.el (org-sort-entries-or-items): Make sure that the final
1117         entry has a newline before doing the sorting.
1119         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1120         property at the beginning of the line.
1122         * org.el (org-make-link-string): Don't allow a description with
1123         only white space.
1125 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
1127         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1128         (org-agenda-insert-diary-as-top-level): New function.
1129         (org-agenda-add-entry-to-org-agenda-diary-file): Call
1130         `org-agenda-insert-diary-as-top-level'.
1132         * org.el (org-occur-in-agenda-files): Make sure none of the
1133         buffers is narrowed.
1134         (org-activate-plain-links): Add the face property here.
1135         (org-set-font-lock-defaults): Do not add the face to plain links,
1136         the activator function does this.
1138         * org-habit.el (org-is-habit-p): Add doc string.
1140 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
1142         * org-archive.el (org-archive-subtree-default-with-confirmation):
1143         Autoload.
1145         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1146         after match optional (happens at the end of a line...).
1148         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1149         for special blocks.
1151         * org-faces.el (org-copy-face): Set lisp indentation.
1152         (org-quote, org-verse): New faces.
1154         * org-agenda.el (org-agenda-remove-date): Remove variable.
1156 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1158         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1160 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1162         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1163         hash keys to cache and re-use images generated by the
1164         org-exp-blocks interface to ditaa and dot.
1166 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1168         * org-html.el (org-export-as-html): Move the home/up link into
1169         the content div.
1171         * org.el (org-export-latex-packages-alist): Option definition
1172         moved here from org-latex.el.
1174 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1176         * org.el (org-format-latex): Latex images are now saved to files
1177         named by the sha1 hash of the latex source text avoiding
1178         regeneration of identical images.
1180 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
1182         * org-html.el (org-export-html-home/up-format): Add an ID to the
1183         up/home div.
1185 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
1187         * org-wl.el (org-wl-store-link): Handle the case that
1188         `wl-use-petname' is set.
1190         * org.el (org-set-effort): Improve prompt.
1191         (org-get-outline-path): Widen to get full path.
1192         (org-compact-display-after-subtree-move): Function removed.
1194         * org-latex.el (org-export-as-latex): Add the :drawers property.
1196 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
1198         * org.el (org-speed-commands-user): Allow documentation headlines.
1199         (org-speed-commands-default): Organize the value of this constant
1200         with descriptive headlines.
1201         (org-print-speed-command): Output the headlines.
1203 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1205         * org-agenda.el (org-agenda-show-outline-path): New option.
1206         (org-agenda-do-context-action): New function.
1207         (org-agenda-next-line, org-agenda-previous-line): Use
1208         `org-agenda-do-context-action'.
1210         * org.el (org-use-speed-commands): Allow function value.
1211         (org-speed-commands-default): Make headline motion safe, so that
1212         these commands always end on a headline.
1213         (org-speed-commands-default): New key `v' for `org-agenda'.
1214         (org-speed-move-safe): New function.
1215         (org-self-insert-command): Use the function value of
1216         `org-use-speed-commands'.
1217         (org-get-outline-path): Improve docstring.
1218         (org-format-outline-path): New function.
1219         (org-display-outline-path): New function.
1221 2009-11-12  John Wiegley  <jwiegley@gmail.com>
1223         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1224         a string, use that to find the LOGBOOK drawer.
1226 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
1228         * org.el (org-clone-subtree-with-time-shift): Make it work at the
1229         end of the buffer.
1231         * org-mobile.el (org-mobile-write-checksums): Specify coding
1232         system.
1233         (org-mobile-timestamp-buffer): Keep local variable/mode line at
1234         beginning of buffer.
1236         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1238         * org.el (org-block-todo-from-children-or-siblings-or-parent)
1239         (org-block-todo-from-checkboxes): Do not block changes to a nil
1240         TODO state.
1242 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
1244         * org-habit.el (org-habit-parse-todo): Indicate which habit is
1245         wrongly set up in the error messages.
1247         * org-colview.el (org-columns-display-here): Don't try to
1248         calculate values if the underlying property is not set.
1249         (org-columns-string-to-number): Convert age strings back into
1250         fractional days.
1251         (org-agenda-colview-summarize): Handle extended summary types
1252         properly.
1254         * org-colview-xemacs.el (org-columns-display-here): Don't try to
1255         calculate values if the underlying property is not set.
1256         (org-columns-string-to-number): Convert age strings back into
1257         fractional days.
1258         (org-agenda-colview-summarize): Handle extended summary types
1259         properly.
1261 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1263         * org-exp.el (org-export-format-drawer-function): New variable.
1264         (org-export-format-drawer): New function.
1265         (org-export-preprocess-string): Pass the backend as a parameter to
1266         `org-export-remove-or-extract-drawers'.
1267         (org-export-remove-or-extract-drawers): New parameter BACKEND.
1269         * org-protocol.el (org-protocol-char-to-string): New defsubst.
1271 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1273         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1274         message when no block is selected.
1276         * org-latex.el (org-export-latex-links): Check for protectedness
1277         in the last matched character, not after the match.
1279         * org-datetree.el (org-datetree-find-date-create): Respect
1280         restriction when KEEP-RESTRICTION is set.
1281         (org-datetree-file-entry-under): New function.
1282         (org-datetree-cleanup): New command.
1284 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
1286         * org-src.el (org-edit-src-code): New optional argument context
1287         allows calling functions to avoid altering the saved window
1288         configuration.
1289         (org-edit-src-exit): Do not restore window configuration when this
1290         function is used in the context of saving the edit buffer.
1292 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1294         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1295         instances to switching to with-current-buffer, because these seem
1296         to cause problems - no idea why.
1298         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1299         Require diary-lib for (diary-date-display-form).
1301         * org.el (org-log-reschedule, org-log-redeadline): New options.
1302         (org-log-note-headings): Add templates for rescheduling and
1303         deadline changing.
1304         (org-startup-options): Add in-buffer settings for logging changing
1305         schedule and deadline time stamps.
1306         (org-deadline, org-schedule): Check for existing date and arrange
1307         for logging if the user requests it.
1308         (org-add-log-note): Prepare proper note buffers for rescheduling
1309         and deadline changes.
1311 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1313         * org-agenda.el (org-agenda-diary-entry-in-org-file)
1314         (org-agenda-add-entry-to-org-agenda-diary-file)
1315         (org-agenda-insert-diary-make-new-entry): New functions.
1316         (org-agenda-diary-entry): Call
1317         `org-agenda-diary-entry-in-org-file' when appropriate.
1319         * org.el (org-calendar-insert-diary-entry-key): New option.
1320         (org-agenda-diary-file): New option.
1321         ("calendar"): Install our insertion function in the calendar.
1323         * org-remember.el (org-datetree): Require.
1324         (org-remember-templates): Add new positioning option.
1325         (org-remember-reference-date): New variable.
1326         (org-remember-apply-template): Store the reference date in a local
1327         variable.
1328         (org-remember-handler): Implement date tree positioning of entries.
1330         * org-datetree.el: New file.
1332         * org-latex.el (org-export-latex-preprocess): Protect targets in
1333         verbatim emphasis.
1335         * org-html.el (org-export-as-html): Protect targets in verbatim
1336         emphasis.
1338         * org-docbook.el (org-export-as-docbook): Protect targets in
1339         verbatim emphasis.
1341 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
1343         * org.el (org-link-display-format): Should be literal replacement.
1345 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1347         * org-clock.el (org-show-notification): Handle messages that
1348         contain a percent character.
1350         * org-remember.el (org-remember-apply-template): Turn of partial
1351         completion.
1353         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1354         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1356         * org.el (org-indent-mode): Define variable already in org.el.
1357         (org-unfontify-region): Remove line-prefix and wrap-prefix
1358         properties only if org-indent-mode is active.
1360 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1362         * org-icalendar.el (org-print-icalendar-entries): Save match data
1363         around call to verify function.
1364         (org-print-icalendar-entries): Add a call to the verification
1365         function.
1367         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1368         save-restrivtion' form.
1370 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
1372         * org-exp.el (org-export-format-source-code-or-example): restrict
1373         scope of preserve-indentp to the let binding.
1374         (org-src): require org-src, since org-src-preserve-indentation is used.
1376 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1378         * org-timer.el (org-timer-set-timer): Set variables
1379         org-timer-timer[123] correctly.
1382         * org-mobile.el (org-mobile-files-alist): Make it work when
1383         `agenda-archives' is included in
1384         `org-agenda-text-search-extra-files'.
1385         (org-mobile-push): Restore agenda after mobile push.
1387 2009-11-05  John Wiegley  <jwiegley@gmail.com>
1389         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1390         way the amount of idle time is presented in the minibuffer.
1392 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1394         * org-icalendar.el (org-print-icalendar-entries): Use
1395         org-icalendar-verify-function only if non-nil.
1397         * org.el (org-refile): Refile to clock only if the prefix arg is
1398         2.
1399         (org-sparse-tree): Fix docstring to be in line with prompt.
1400         (org-update-parent-todo-statistics): Call
1401         `org-after-todo-statistics-hook' on each level.
1403 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
1405         * org-remember.el (org-remember-apply-template): Make sure the
1406         buffer exists.
1408 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
1410         * org.el (org-tab-ind-state): New variable.
1411         (org-cycle-level): New function.
1412         (org-cycle-level-after-item/entry-creation): New option.
1413         (org-flag-subtree): New function.
1414         (org-hide-archived-subtrees): Call `org-flag-subtree'.
1415         (org-set-effort): Indexed access.
1417         * org-list.el (org-cycle-item-indentation): New function.
1419         * org.el (org-refile): Make prefix argument 2 refile to current
1420         clock.
1421         (org-priority): Interpret action `remove' as call to remove the
1422         priority cookie.
1424         * org-remember.el (org-remember-apply-template): Don't depend on
1425         buffer name being like file name.
1427 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
1429         * org-clock.el (org-clock-play-sound): Expand file in
1430         org-clock-sound, to allow ~ for home.
1432         * org-remember.el (org-remember-handler): Set
1433         text-before-node-creation even if this already looks like a node,
1434         because the string might be needed on non-org-mode target files.
1436         * org-agenda.el (org-agenda-open-link): Make this work in agenda
1437         clocktables.
1438         (org-agenda-switch-to): Follow a link at point if
1439         org-return-follows-link' is set and there is nothing else to do in
1440         this line.
1442 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1444         * org-colview-xemacs.el: Add in changes from org-colview.el
1446 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1448         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1449         strings.
1451 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1453         * org-colview.el (org-columns-new): Make this work with the new
1454         operators.
1455         (org-columns-store-format): Make this work with the new operators.
1457 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1459         * org-src.el (org-src-preserve-indentation): Document that this
1460         variable is also used during export.
1462         * org-exp.el (org-export-format-source-code-or-example): Preserve
1463         indentation if a block has a -i option, or if
1464         `org-src-preserve-indentation' is set.
1466         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1467         indentation if a block has a -i option, or if
1468         `org-src-preserve-indentation' is set.
1470 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1472         * org.el (org-mode-map): Define the new archiving keys.
1473         (org-speed-commands-default): Define an archiving key in the speed
1474         command map.
1475         (org-org-menu): Improve the menu structure concerning archiving.
1477         * org-archive.el (org-archive-subtree-default-with-confirmation):
1478         New command.
1480         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1481         (org-agenda-menu): Add the new archiving commands to the menu.
1482         (org-agenda-archive-default)
1483         (org-agenda-archive-default-with-confirmation): New commands.
1484         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1485         call `org-agenda-archive-with'.
1486         (org-agenda-archive-with): New function.
1488         * org-table.el (org-table-convert-region): Inert spaces around "|"
1489         to avoid line beginnings like "|-1" which will be mistaken as
1490         hlines.
1492 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1494         * org.el (org-offer-links-in-entry): Return nil if there are no
1495         links, t if a link has been selected.
1496         (org-open-at-point): Open attachment directory when called in the
1497         headline and there are no links in the entry body.
1498         (org-speed-commands-default): Add "o" for open-at-point as a speed
1499         command.
1501         * org-attach.el (org-attach-reveal): Optional prefix arg
1502         IF-EXISTS, which avoids creating the attachment directory if it
1503         does not yet exist.
1505         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1506         MATCH.
1508 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1510         * org.el ("abbrev"): Work with abbrev tables only after they have
1511         been loaded.
1513         * org-list.el (org-list-send-list): Fix bug related to match
1514         data.
1516         * org-latex.el (org-export-latex-fontify): Apply verbatim
1517         emphasis.
1518         (org-export-latex-make-header): Insert \obeylines if line breaks
1519         should be preserved.
1521         * org-exp.el (org-export-protect-verbatim): Add an
1522         `org-verbatim-emph' property to such text.
1524 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1526         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1527         (org-print-icalendar-entries): Skip entries where the timestamp is
1528         not a deadline and not scheduled, if the user requests that.
1530         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1531         before an opening quote.
1533         * org-archive.el (org-archive-subtree): Keep archive after
1534         archiving something.
1536         * org-id.el (org-id-update-id-locations): Add archive files if
1537         that is required by `org-id-extra-files'.
1539 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1541         * org-src.el (org-src-window-setup): New option.
1542         (org-src-switch-to-buffer): New function.
1543         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1544         restore window configuration.
1545         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1546         Call `org-src-switch-to-buffer'.
1548         * org.el (org-default-properties): Add STYLE property.
1549         (org-files-list): Use the function call to get the files.
1550         (org-additional-option-like-keywords): Add SETUPFILE to completion
1551         list.
1553 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1555         * org-table.el (org-table-convert-region): Correctly interpret
1556         quoting in csv import.
1558         * org.el (org-icompleting-read): Make iswitchb completion work
1559         with lists and tables.
1561         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1562         while pushing the mobile agenda.
1564 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1566         * org-clock.el
1567         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1568         and `when-no-clock-is-running'.
1569         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1570         whether or not to resolve Org buffers on clock in.
1572 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1574         * org-colview.el (org-format-time-period): Function to format
1575         times in fractional days for display.
1576         (org-columns-display-here): Add support for showing a calculated
1577         value in place of the property.
1578         (org-columns): Set `org-columns-time' to the current time so time
1579         difference calculations will work.
1580         (org-columns-time): Use to store the current time when column view
1581         is displayed, so all time differences will use the same reference
1582         point.
1583         (org-columns-compile-map): There is now an extra position in each
1584         entry specifying the function to use to calculate the displayed
1585         value for the non-calculated properties in the column,
1586         (org-columns-compute-all): Set `org-columns-time' to the current
1587         time so time difference calculations will work.
1588         (org-columns-compute): Handle column operators where the values
1589         used are calculated from the underlying property.
1590         (org-columns-number-to-string): Handle the 'age' column format
1591         (org-columns-string-to-number): Correct the function name (was
1592         org-column...). Add support for the 'age' column format.
1593         (org-columns-compile-format): Support the additional parameter in
1594         org-columns-compile-map.
1596 2009-10-26  Bastien Guerry  <bzg@altern.org>
1598         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1599         variable.
1601 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1603         * org-clock.el (org-clock-has-been-used): New variable.
1604         (org-clock-in): Set `org-clock-has-been-used'.
1605         (org-clock-save): Save only if clock data has been used or created
1606         during this session.
1608 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1610         * org-clock.el (org-clock-persist): New value, to store only the
1611         clock history.
1612         (org-clock-save): Don't save the clock if only the history should
1613         be stored.
1614         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1615         when restoring a saved clock.
1617 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1619         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1620         `org-time-clock-use-fractional'.
1622         * org.el (org-time-clocksum-use-fractional)
1623         (org-time-clocksum-fractional-format): Two new customizable
1624         variables which allow the user to select fractional times (1.25
1625         instead of 1:25) in the `org-clock-display' report.
1627 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1629         * org-habit.el (org-habit-build-graph): None of the arguments
1630         should be optional.
1631         (org-habit-parse-todo, org-habit-deadline)
1632         (org-habit-get-priority, org-habit-get-faces)
1633         (org-habit-build-graph): Further simplifications by storing all
1634         past, scheduled and deadline dates as a number of days past the
1635         epoch, and not as times.
1637         * org-habit.el (org-habit-warning-face)
1638         (org-habit-warning-future-face): Removed because these are no
1639         longer used.
1640         (org-habit-deadline, org-habit-deadline-repeat): Now always
1641         returns a date; computed if there was a scheduled repeater but no
1642         deadline repeater.
1643         (org-habit-get-priority): Further improvements to the priority
1644         algorithm.  In particular, items past due should always appear
1645         before items due or not yet due.
1646         (org-habit-get-faces): Greatly simplified the logic, now that
1647         `org-habit-deadline' always returns a valid time.
1649 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1651         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1652         New option.
1654         * org.el (org-tag-alist): Fix customization type.
1656 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1658         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1659         Make sure the regexp search can fail without throwing an error.
1660         (org-mobile-apply): Save the inbox buffer after removing
1661         successfully applied changes.
1663 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1665         * org-habit.el (org-habit-build-graph): Fix to the graph building
1666         when last DONE date is earlier than `org-habit-preceding-days'.
1668         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1669         time is reported after the user comes back (but before they
1670         resolve time).
1672         * org.el (org-get-repeat): Change so that this function can be
1673         called with either `org-scheduled-string' or
1674         `org-deadline-string'.
1676         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1677         to find the scheduled date.
1679         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1680         `org-clock-disable-clock-resolution', since negatives don't sound
1681         good in customization variables.
1682         (org-clock-in): Don't use the auto-resolution logic if the user is
1683         clocking into a different task while an active clock is running.
1684         This then allows the default behavior of clocking out of the open
1685         task and then into the new task.
1687         * org-habit.el (org-habit-parse-todo): Generate an error if a
1688         habit has a scheduled repeat period < 1.
1689         (org-habit-get-faces): Fixes to the way that colors are computed.
1690         (org-habit-build-graph): The graph wasn't displaying beyond any
1691         day that had two completions in it.
1693         * org.el (org-modules): Made this variable more consistent, since
1694         it was referring to Org, OrgMode and Org-mode, whereas the docs
1695         for the variable always refer to Org-mode.
1697 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1699         * org.el (org-repeat-re): The changed org-repeat-re no longer
1700         matched simple +2d type repeaters. Fix it so it does.
1702 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1704         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1705         macro in the VERSE environment.
1707 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1709         * org-habit.el (org-habit-get-priority): A new function that
1710         determines the relative priority of a habit, based on how long
1711         past its scheduled date it is, and how near the deadline is.
1713         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1714         using `org-habit-get-priority'.
1716         * org-habit.el (org-habit-build-graph): Start displaying colors
1717         from the first scheduled date, if that date is earlier than the
1718         first completion date.
1720         * org-habit.el: Changed all "color" variables to faces, and made
1721         them appropriate for light and dark backgrounds.
1723         * org-habit.el (org-habit-duration-to-days): Made this function
1724         more general.
1725         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1727         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1728         habits, since they don't use DEADLINE anymore.
1730         * org.el (org-repeat-re, org-display-custom-time)
1731         (org-timestamp-change): Extended to support the new ".+N/N"
1732         syntax, used for habits.
1734         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1735         variable reference.
1737         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1738         modeline when habits are being displayed (if that module is being
1739         loaded).
1741 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1743         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1744         idle time using the xscreensaver extension.
1745         (org-user-idle-seconds): Use X11 idle time if available.
1747 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1749         * org-agenda.el (org-agenda-next-line): New command.
1750         (org-agenda-previous-line): New commands.
1751         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1752         commands.
1753         (org-agenda-follow-mode): Do the follow immediately if the mode is
1754         turned on here.
1755         (previous-line, next-line): Replace keys with the corresponding
1756         org functions.
1757         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1758         command.
1760         * org.el (org-icompleting-read): Turn off partial completion mode
1761         for the duration of this completion round.
1763         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1764         macros in author lines and similar stuff.
1766         * org.el (org-file-tags): Fix docstring.
1767         (org-get-buffer-tags): Add the #+FILETAGS tags.
1768         ("ecb"): Maks ecb show context after jumping into an Org file.
1770 2009-10-20  John Wiegley  <johnw@newartisans.com>
1772         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1773         graphs after everything else in the buffer has been setup.
1775 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1777         * org-mobile.el (org-mobile-apply): Count success and failure.
1779         * org.el (org-indent-line-function): Fix regexp replace problem.
1781 2009-10-19  John Wiegley  <johnw@newartisans.com>
1783         * org-clock.el (org-clock-disable-clock-resolution): New
1784         customization variable that disable automatic clock resolution on
1785         clock in.
1786         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1787         not automatically resolve anything.  This is does not affect
1788         idle-time resolution, however, if `org-clock-idle-time' is set.
1790 2009-10-19  John Wiegley  <johnw@newartisans.com>
1792         * org-habit.el: New file, which implements code to build a "habit
1793         consistency graph".
1795         * org-agenda.el (org-agenda-get-deadlines)
1796         (org-agenda-get-scheduled): Display consistency graphs when
1797         outputting habits into the agenda.  The graphs are always relative
1798         to the current time.
1799         (org-format-agenda-item): Added new parameter `habitp', which
1800         indicates whether we are formatting a habit or not.  Do not
1801         display "extra" leading information if habitp is true.
1803         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1804         leaders for repeat strings.
1805         (org-get-repeat): Now takes a string parameter `tagline', so the
1806         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1808 2009-10-19  John Wiegley  <johnw@newartisans.com>
1810         * org-agenda.el (org-agenda-auto-exclude-function): New
1811         customization variable for allowing the user to create an "auto
1812         exclusion" filter for doing context-aware auto tag filtering.
1813         (org-agenda-filter-by-tag): Changes to support the use of
1814         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1816 2009-10-18  John Wiegley  <johnw@newartisans.com>
1818         * org.el (org-files-list): Don't attempt to return a file name for
1819         Org buffers which have no associated file.
1821         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1823 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1825         * org-mobile.el (org-mobile-locate-entry): Interpret files
1826         relative to org-directory.
1827         (org-mobile-inbox-for-pull): Document the best location for this
1828         file.
1829         (org-mobile-check-setup): Verify `org-directory'.
1830         (org-mobile-create-index-file): Sort the files to be listed in
1831         index.org.
1833 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1835         * org.el (org-fast-tag-selection): Add a way to display a
1836         description for a tag group. This is done by adding a string to
1837         either the startgroup or endgroup cell.
1839 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1841         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1842         (org-emacs-idle-seconds): Use `org-float-time' instead of
1843         `time-to-seconds'
1845 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1847         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1848         type.
1850         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1851         the value of ARG when doing local cycling.
1853 2009-10-17  John Wiegley  <johnw@newartisans.com>
1855         * org-clock.el (org-clock-resolve-clock): If keeping or
1856         subtracting time results in a clock out at a time in the past, and
1857         if the resolution occurred due to idleness or invoking `M-x
1858         org-resolve-clocks', remember that past moment in time.  On the
1859         next clock in, the user will be prompted to see if they want to
1860         back-date their new clock to then.
1861         (org-clock-resolve): Do not jump the user to the location of a
1862         dangling clock if the resolution is occuring due to an idle
1863         timeout.  In that case there is typically only one dangling clock,
1864         the active one, and there is no value gained by shuffling their
1865         windows around to show it to them.  Being prompted to resolve an
1866         idle clock should be as inobtrusive as possible.
1867         (org-resolve-clocks-if-idle): New function that resolves only the
1868         currently active clock if the user has exceeded the time returned
1869         by `org-user-idle-seconds', based on the value of
1870         `org-clock-idle-time'.
1871         (org-clock-in): If, after resolving clocks,
1872         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1874         * org-clock.el (org-clock-resolve-clock): New function that
1875         resolves a clock to a specific time, closing or resuming as need
1876         be, and possibly even starting a new clock.
1877         (org-clock-resolve): New function used by `org-resolve-clocks'
1878         that sets up for the call to `org-clock-resolve-clock'.  It
1879         determines the time to resolve to based on a single-character
1880         selection from the user to either keep time, subtract away time or
1881         cancel the clock.
1882         (org-resolve-clocks): New user command which resolves dangling
1883         clocks -- that is, open but not active -- anywhere in the file
1884         list returned by `org-files-list'.
1885         (org-clock-in): Automatically resolve dangling clocks whenever a
1886         user clocks in.
1887         (org-clock-cancel): If the user cancels the solely clock in a
1888         LOGBOOK, remove the empty drawer.
1890         * org-clock.el (org-clock-idle-time): New user customizable option
1891         for detecting whether the user has left a clock idle.  Note: it is
1892         only used in this commit to test whether it's worthwhile to check
1893         OS X to get the Mac user's current idle time.  If the Emacs idle
1894         time is less than the value, the user hasn't been away long enough
1895         to be worth checking (a more expensive test than just getting
1896         Emacs idle time).
1897         (org-user-idle-seconds, org-mac-idle-seconds)
1898         (org-emacs-idle-seconds): This three functions, in conjunction
1899         with the user customization variable `org-clock-idle-time', return
1900         the number of seconds (as a floating point) that the user has been
1901         away from their Emacs (or, if running on OS X, their computer).
1903         * org-clock.el (org-find-open-clocks): New function that returns a
1904         list of all open clocks in the given FILE.  Note that each clock
1905         it returns is a cons cell of the format (MARKER . START-TIME).
1906         This "clock" value is used by several of the new clock module
1907         utility functions.
1908         (org-is-active-clock): New inline function which tests whether the
1909         given clock value is the same as the currently active clock.
1910         Returns non-nil if this is the case.
1911         (org-with-clock-position): New macro that evaluates FORMS with
1912         point in the buffer and at the position of the given clock.
1913         Changes to the current clock are global.
1914         (org-with-clock): New macro that evaluates FORMS with point in the
1915         buffer and at the position of the given clock.  However, changes
1916         to the current clock are local and have no effect on the user's
1917         active clock.  This allows, for example, far any clock to be
1918         cancelled without cancelling the active clock.
1919         (org-clock-clock-in): New inline function that switches the active
1920         clock to the given clock.  If either the argument RESUME, or the
1921         global `org-clock-in-resume', are non-nil, it will resume a clock
1922         that was previously left open.
1923         (org-clock-clock-out): New inline function that clocks out the
1924         given clock value without affecting the currently active clock.
1925         (org-clock-clock-cancel): New inline function that cancels the
1926         given clock value without affecting the currently active clock.
1928         * org-clock.el (org-clock-in): Before creating
1929         `org-clock-mode-line-timer', check to make sure an older timer is
1930         not currently running.
1931         (org-clock-out): Accept new third parameter `at-time', which
1932         permits a clock to be clocked out at a specific time.  Note that
1933         no attempt is made to verify that the clock out time is later than
1934         the clock in time.
1936         * org.el (org-files-list): New utility function for returning a
1937         list of all open org-mode buffers, plus all files used to build
1938         the agenda buffer.  Note that not all the files will necessarily
1939         be visited by a buffer at time of call.
1940         (org-entry-beginning-position): Like the function
1941         `line-beginning-position', this inline function returns the
1942         beginning position of the current heading/entry.
1943         (org-entry-end-position): Like the function `line-end-position',
1944         this inline function returns the end position of the current
1945         heading/entry.
1947 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1949         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1950         a header line.
1952 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1954         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1956 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1958         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1959         entries that have no tags.
1960         (org-agenda-search-view): New customize group.
1961         (org-agenda-search-view-search-words-only): New option.
1962         (org-search-view): Implement substring search.
1964 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1966         * org.el (org-outline-level): Add doc string.
1968 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1970         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1971         variable.
1972         (org-inlinetask-export-handler): Only export inline task if the
1973         user option calls for it.
1975 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1977         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1978         END if present.
1980 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1982         * org-latex.el (org-export-latex-tables): Don't format in
1983         protected regions.
1985 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1987         * org-src.el (org-edit-src-code)
1988         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1989         macro editing.
1991         * org-agenda.el (org-prefix-category-max-length): New variable.
1992         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1993         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1995 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1997         * org-mobile.el (org-mobile-create-index-file): Improve the
1998         listing of tags and todo keywords.
2000         * org-latex.el (org-export-latex-format-image): New function.
2001         (org-export-latex-links): Use `org-export-latex-format-image'.
2003 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
2005         * org-inlinetask.el (org-inlinetask-get-current-indentation)
2006         (org-inlinetask-remove-terminator): New functions.
2007         (org-inlinetask-export-handler): Terminate the description list.
2009         * org-exp.el (org-export-select-backend-specific-text): Remove the
2010         region markers.
2012         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
2013         tasks without content.
2015         * org-clock.el: Make sure the clock-in target position does not
2016         move to a different node by widening the buffer.
2018         * org-html.el (org-export-html-format-image): Wrap image into
2019         figure div only when there is a caption.
2021         * org-archive.el (org-archive-mark-done): Change default value to
2022         nil.
2024 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
2026         * org.el (org-context): Call `bobp', not `eobp'.
2028         * org-clock.el (org-clock-cancel): Remove quotes from marker
2029         variables.
2031         * org.el (org-read-date-prefer-future): New allowed value `time'.
2032         (org-read-date-analyze): Shift day to tomorrow depending on time
2033         entered and value of `org-read-date-prefer-future'.
2035 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
2037         * org.el (org-set-tags-to): New command.
2039         * org-mobile.el (org-mobile-action-alist): Add more options and
2040         update the docstring.
2041         (org-mobile-apply-flags): Parse for and use the data.
2043         * org-latex.el (org-export-latex-set-initial-vars): Also check in
2044         the plist.
2046         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
2047         keyword.
2049         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
2051 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
2053         * org-inlinetask.el (org-inlinetask-export): Option removed.
2054         (org-inlinetask-export-handler): Better export.
2056         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
2057         (org-export-as-xoxo): Run the new hook.
2059         * org-html.el (org-export-html-final-hook): New hook.
2060         (org-export-as-html): Run the new hook.
2062         * org-docbook.el (org-export-docbook-final-hook): New hook.
2063         (org-export-as-docbook): Run the new hook.
2065         * org-ascii.el (org-export-ascii-final-hook): New hook.
2066         (org-export-as-ascii): Run the new hook.
2068         * org-mobile.el (org-mobile-create-sumo-agenda): Call
2069         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
2071         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
2072         space character as the character before the ^/_.
2073         (org-export-latex-final-hook): New hook.
2074         (org-export-as-latex): Run `org-export-latex-final-hook'.
2076 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
2078         * org-macs.el (org-if-unprotected-at): Fix docstring.
2080         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2081         text in the prefix (if category is a link).
2083         * org-latex.el (org-export-latex-preprocess): Deal properly with
2084         empty lines in verse environments.
2086         * org.el (org-format-latex-header): Inline fullpage.sty.
2088         * org-footnote.el (org-footnote-create-definition): Reveal context
2089         to add a new footnote definition.
2091         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
2092         the index file.
2093         (org-mobile-files): New option.
2094         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
2095         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
2096         functions.
2097         (org-mobile-push): Start by creating the files lists.
2098         (org-mobile-copy-agenda-files): Move killing the buffer to after
2099         the save-excursion has exited.
2100         (org-mobile-write-checksums): Write checksums also for files in
2101         sub-directories.
2103         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2104         org-table-recalculate when cursor is in TBLFM line.
2106         * org-list.el (org-renumber-ordered-list): Fix cursor position
2107         when bullet length has changed.
2109 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
2111         * org.el (org-format-latex): Mention `org-format-latex-options' in
2112         the docstring.
2114 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2116         * org.el (org-agenda-get): New function.
2118         * org-agenda.el (org-agenda-post-command-hook): No longer move
2119         point away from end of line.
2120         (org-agenda-add-entry-text, org-agenda-collect-markers)
2121         (org-finalize-agenda, org-agenda-mark-clocking-task)
2122         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2123         (org-agenda-entry-text-show, org-agenda-highlight-todo)
2124         (org-agenda-compare-effort, org-agenda-filter-apply)
2125         (org-agenda-later, org-agenda-change-time-span)
2126         (org-agenda-post-command-hook, org-agenda-show-priority)
2127         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2128         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2129         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2130         (org-agenda-open-link, org-agenda-copy-local-variable)
2131         (org-agenda-switch-to, org-agenda-check-no-diary)
2132         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2133         (org-agenda-add-note, org-agenda-change-all-lines)
2134         (org-agenda-priority, org-agenda-set-tags)
2135         (org-agenda-set-property, org-agenda-set-effort)
2136         (org-agenda-toggle-archive-tag, org-agenda-date-later)
2137         (org-agenda-show-new-time, org-agenda-date-prompt)
2138         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2139         (org-agenda-clock-in, org-agenda-bulk-mark)
2140         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2141         `org-get-at-bol'.
2143         * org-colview.el (org-columns-display-here)
2144         (org-columns-edit-allowed, org-agenda-columns): Use
2145         `org-get-at-bol'.
2147 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2149         * org.el (org-special-ctrl-a/e): Improve documentation and
2150         customize type.
2151         (org-end-of-line): Don't jump to after the ellipsis.
2152         (org-mode-map): Bind <home> and <end> as well.
2154 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
2156         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2157         space after #+ as comments.
2158         (org-open-at-point): Run `org-follow-link-hook' always.
2160         * org-latex.el (org-export-latex-emph-format): Use better commands
2161         to insert special characters in verbatim snippets.
2163 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
2165         * org-faces.el (org-copy-face): New function.  Use it to create
2166         various faces formerly created by using `copy-face'.
2168         * org-agenda.el (org-prepare-agenda): Don't officially mark this
2169         window dedicated.
2170         (org-agenda-quit): Kill the frame containing the agenda window if
2171         that frame was created for the agenda.
2173 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
2175         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2176         stamp in the agenda.
2178 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
2180         * org-mobile.el (org-mobile-create-index-file): Add the list of
2181         TODO keywords, and the list of drawers to the index file.
2183         * org-agenda.el (org-prepare-agenda): Reset
2184         `org-drawers-for-agenda'.
2185         (org-prepare-agenda): Uniquify list of drawers.
2187         * org.el (org-complex-heading-regexp-format): New variable.
2188         (org-set-regexps-and-options): Define
2189         `org-complex-heading-regexp-format'.
2190         (org-drawers-for-agenda): New variable.
2191         (org-map-entries): Bind `org-drawers-for-agenda'.
2192         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2194         * org-remember.el (org-go-to-remember-target)
2195         (org-remember-handler): Use `org-complex-heading-regexp-format'.
2197 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
2199         * org-agenda.el (org-agenda-highlight-todo): Fix text property
2200         problem.
2202         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
2203         the capture file, and make it non-configurable.
2205         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2206         always with `invisible-ok'.
2207         (org-store-link): No error when there is nothing to link to in the
2208         agenda.
2210         * org-list.el (org-update-checkbox-count): Insert changed cookie
2211         before the old, to avoid problems with invisibility at the end of
2212         the line.
2213         (org-update-checkbox-count): Insert changed cookie before the old,
2214         to avoid problems with invisibility at the end of the line.
2216         * org.el (org-sort-entries-or-items): Include the final newline.
2217         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2218         lines for fontification.
2219         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2220         (org-prepare-dblock): Store the current indentation of the BEGIN
2221         line.
2222         (org-update-dblock): Apply the indentation of the begin line to
2223         the rest of the block.
2224         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2225         (org-startup-folded): New allowed value `showeverything'.
2226         (org-startup-options): Add STARTUP keyword `showeverything'.
2227         (org-set-startup-visibility): Respect value `showeverything' in
2228         org-startup-folded.
2230 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
2232         * org.el (org-closest-date): Fix issue with past preference.
2234         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
2236         * org-archive.el (org-archive-set-tag)
2237         (org-archive-subtree-default): New commands.
2239         * org-mobile.el (org-mobile-create-index-file): Fix link to
2240         capture file.
2241         (org-mobile-copy-agenda-files): Create the capture file if it does
2242         not exist.
2244         * org-clock.el (org-clock-clocktable-default-properties): New
2245         option.
2246         (org-clock-report): Use
2247         `org-clock-clocktable-default-properties'.
2249 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
2251         * org.el (org-iswitchb-completing-read): Fix typo.
2253         * org-crypt.el: New file.
2255         * org.el: Add an entry for org-crypt.
2257 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2259         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2260         consistency.
2261         (org-batch-store-agenda-views): New function.
2262         (org-mobile-force-id-on-agenda-items): Mention variable.
2263         (org-agenda-title-append): Define variable.
2264         (org-write-agenda): New export to Org files.
2265         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2266         (org-agenda): Allow to keep the restricted file list if a special
2267         variable is bound to t.
2268         (org-agenda): Define a special agenda view for working on flagged
2269         entries.
2270         (org-agenda-get-restriction-and-command): List the new agenda
2271         view.
2272         (org-agenda-show-the-flagging-note): New command.
2273         (org-agenda-mode-map): New key `?' for looking at the flagging
2274         note.
2276         * org.el (org-autoload): Autoload org-mobile.el.
2277         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2279         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2281 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2283         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2284         statements.
2285         (org-table-get-remote-range): Match indented #+TBLNAME
2286         statements.
2288         * org.el (org-convert-to-odd-levels)
2289         (org-convert-to-oddeven-levels): Work also correctly if the file
2290         is in outline-mode.
2292 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
2294         * org.el (org-store-link): When in agenda buffer, link to
2295         referenced entry.
2296         (org-add-planning-info): Remove spaces at eol.
2298         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2299         property.
2301 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
2303         * org-latex.el (org-export-latex-first-lines): Fix problem with
2304         LaTeX export of first line and selected subtree.
2306         * org.el (org-shifttab): Interpret arg differently when using only
2307         odd levels.
2309 2009-09-09  Bastien Guerry  <bzg@altern.org>
2311         * org.el (org-check-agenda-file): Use a more explicit message
2313 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
2315         * org-exp.el (org-export-remove-special-table-lines): Don't remove
2316         normal lines.
2318 2009-09-08  Bastien Guerry  <bzg@altern.org>
2320         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2321         prompt in the temporary window.
2323         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2324         prefix for marked entries in the agenda view.
2326 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
2328         * org.el (outline-end-of-subtree): Bugfix: advise this function in
2329         a way that prevents any trailing character from being displayed.
2331 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
2333         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2334         menu.
2336         * org-exp.el (org-export-remove-special-table-lines): Remove bad
2337         slow regexp match.
2339 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
2341         * org-latex.el (org-export-latex-preprocess): Do not protect in
2342         the LaTeX header.
2344         * org-src.el (org-edit-src-save): Save window setup while saving.
2345         (org-edit-src-code): Use new buffer name construction scheme.
2347 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
2349         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2350         variable.
2351         (org-agenda-entry-text-cleanup-hook): New hook.
2352         (org-agenda-get-some-entry-text): Remove matches of
2353         `org-agenda-entry-text-exclude-regexps' and run the hook
2354         `org-agenda-entry-text-cleanup-hook'.
2356         * org.el (org-offer-links-in-entry): New argument ZERO to
2357         implement a link with index zero.
2358         (org-cycle-show-empty-lines): Not keep empty line under header
2359         hidden.
2360         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2361         to nil for special completion.
2362         (org-store-link): Don't error before the first heading.
2364         * org-agenda.el (org-agenda-open-link): Pass the prefix to
2365         `org-offer-links-in-entry'.
2367 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
2369         * org-agenda.el (org-agenda-quit): Provide the window argument for
2370         `window-dedicated-p', Emacs 22 needs it.
2371         (org-format-agenda-item): If the category is a link, arrange for
2372         invisible text to replaced with spaces.
2373         (org-compile-prefix-format): Add the extra space.
2374         (org-prefix-category-length): New variable.
2376         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2377         references from TOC lines.
2379         * org.el (org-selected-window): New variable.
2381         * org-table.el (org-table-edit-formulas): Remember the selected
2382         window.
2383         (org-table-fedit-finish, org-table-fedit-abort): Select the window
2384         that was originally selected.
2386         * org-exp.el (org-export-preprocess-apply-macros): Scan the
2387         expansion of a macro for more macro definitions.
2389         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2390         invisibility overlay starts on the newline.
2392 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
2394         * org-protocol.el (org-protocol-store-link)
2395         (org-protocol-remember, org-protocol-open-source): Add autoloads.
2397         * org-compat.el (org-float-time): New function.
2399         * org.el (org-clock-update-time-maybe)
2400         (org-sort-entries-or-items, org-do-sort)
2401         (org-evaluate-time-range, org-time-string-to-seconds)
2402         (org-closed-in-range): Use `org-float-time'.
2404         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2405         (org-timer-seconds):  Use `org-float-time'.
2407         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2408         (org-clock-sum, org-dblock-write:clocktable)
2409         (org-clocktable-steps):  Use `org-float-time'.
2411         * org-agenda.el (org-agenda-last-marker-time)
2412         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
2414         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2415         function.
2417         * org-exp.el (org-get-file-contents): Only protect lines that
2418         really need it.
2420         * org-html.el (require): Require cl for compilation.
2422         * org.el:  Avoid using `default-major-mode'.
2424         * org-plot.el (require): Require CL only at compile time.
2426         * org-exp.el (require): Require CL only at compile time.
2428         * org-agenda.el (org-agenda-quit): When the agenda window is
2429         dedicated, remove other windows before exiting, so that the frame
2430         really will be killed.
2432         * org-exp.el (org-export-handle-include-files): Reset START and
2433         END for each loop cycle.
2435 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
2437         * org.el (org-eval-in-calendar): Use
2438         `org-select-frame-set-input-focus'.
2440         * org-compat.el (org-select-frame-set-input-focus): New function.
2442         * org.el (org-update-statistics-cookies): New function.
2443         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2445 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2447         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2448         after the local variables are set.
2450         * org-latex.el (org-export-latex-protect-amp): New function.
2451         (org-export-latex-links): Protect link ampersands in tables.
2453         * org-exp.el (org-export-select-backend-specific-text): Match in
2454         two steps, to avoid regexp problems.
2456         * org.el (org-offer-links-in-entry): Improve working with many and
2457         duplicate links.
2459         * org-agenda.el (org-agenda-show-1): Make more consistent with
2460         normal cycling.
2461         (org-agenda-cycle-show): Make more consistent with normal cycling.
2463         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2464         website.
2466 2009-08-30  Bastien Guerry  <bzg@altern.org>
2468         * org-latex.el (org-export-latex-first-lines): Bugfix.
2470 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2472         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2473         about new effort.
2475         * org.el (org-set-effort): New function.
2476         (org-mode-map): New key for effort setting command.
2478         * org-agenda.el (org-agenda): Keep window setup when calling
2479         agenda from within agenda window.
2480         (org-agenda-mode-map): New keys for effort setting commands.
2481         (org-agenda-menu): Add effort setting commands to menu.
2482         (org-agenda-set-property, org-agenda-set-effort): New functions.
2484         * org-latex.el (org-export-latex-tables): Fix
2485         `org-table-last-alignment' and `org-table-last-column-widths' if
2486         the first column has been removed.
2488 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2490         * org.el (org-remove-timestamp-with-keyword): Only remove in
2491         entry, not in subtree.
2493         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2494         emacs lisp.
2496         * org.el (org-open-at-point): When on headline, offer all strings
2497         in entry.
2499         * org-remember.el (org-remember-templates): Documentation fix.
2501         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2502         `org-get-last-sibling' instead of the outline versions of these
2503         functions.
2504         (org-get-last-sibling): New function.
2505         (org-refile): Use `org-get-next-sibling' instead of the outline
2506         version of this function.
2507         (org-clean-visibility-after-subtree-move): Use
2508         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2509         outline versions of these functions.
2511 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2513         * org-agenda.el (org-prepare-agenda): When creating a new frame
2514         for the agenda, make the window dedicated.
2516         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2518         * org-table.el (org-table-align): Change the order of reinsertion
2519         and deletion, to avoid problems with overlays following the table.
2521         * org.el (org-parse-time-string): Better error message.
2522         (org-show-subtree): Use org-end-of-subtree.
2524         * org-macs.el (org-goto-line): New defsubst.
2526         * org.el (org-open-file, org-change-tag-in-region)
2527         (org-fast-tag-show-exit): Don't use `goto-line'.
2529         * org-table.el (org-table-align, org-table-insert-column)
2530         (org-table-delete-column, org-table-move-column)
2531         (org-table-sort-lines, org-table-copy-region)
2532         (org-table-paste-rectangle, org-table-wrap-region)
2533         (org-table-get-specials, org-table-rotate-recalc-marks)
2534         (org-table-get-range, org-table-recalculate)
2535         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2536         (org-table-show-reference, org-table-highlight-rectangle): Don't
2537         use `goto-line'.
2539         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2540         (org-edit-src-exit): Don't use `goto-line'.
2542         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2544         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2545         Don't use `goto-line'.
2547         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2549         * org-colview.el (org-columns, org-columns-redo)
2550         (org-agenda-columns): Don't use `goto-line'.
2552         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2553         use `goto-line'.
2555         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2556         (org-agenda-add-entry-text-maxlines): Improve docstring.
2557         (org-agenda-start-with-entry-text-mode): New option.
2558         (org-agenda-entry-text-maxlines): New option.
2559         (org-agenda-entry-text-mode): New variable.
2560         (org-agenda-mode): Set initial value of
2561         `org-agenda-entry-text-mode'.
2562         (org-agenda-mode-map): Add the `E' key.
2563         (org-agenda-menu): Add entry text mode to the menu.
2564         (org-agenda-get-some-entry-text): Fix line count bug.
2565         (org-finalize-agenda): Apply entry text mode if appropriate.
2566         (org-agenda-entry-text-show-here): New function.
2567         (org-agenda-entry-text-show): New function.
2568         (org-agenda-entry-text-hide): New function.
2569         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2570         key menu.
2571         (org-agenda-entry-text-mode): New command.
2572         (org-agenda-set-mode-name): Add entry text mode to the mode line
2573         string.
2574         (org-agenda-undo, org-agenda-get-restriction-and-command)
2575         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2576         `goto-line'.
2578 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2580         * org-clock.el (org-notify): Bugfix.
2582 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2584         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2585         check for after-string.
2587         * org-gnus.el (org-gnus-store-link): Simplify.
2589         * org.el (org-latex-regexps): Don't add extra empty lines for
2590         display formulas.
2592 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2594         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2595         (org-agenda-add-entry-text): Use
2596         `org-agenda-get-some-entry-text'.
2598         * org.el (org-cycle-separator-lines): Update docstring.
2599         (org-cycle-show-empty-lines): Handle negative values for
2600         `org-cycle-show-empty-lines'.
2602         * org-exp.el (org-export-protect-sub-super): New function.
2603         (org-export-normalize-links): Protect the url of plain links from
2604         supscript and superscript processing.
2606         * org-remember.el (org-remember-escaped-%): New function.
2607         (org-remember-apply-template): Use `org-remember-escaped-%' to
2608         detect escaped % signs.
2610 2009-08-23  Bastien Guerry  <bzg@altern.org>
2612         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2613         sound when showing the notification.
2615         * org-clock.el (org-notify): New function.
2616         (org-clock-notify-once-if-expired): Use `org-notify'.
2618         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2619         and `gnus-article-mode' separately.
2620         (gnus-summary-article-header): Fix the declare-function.
2622 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2624         * org-exp.el (org-export-format-source-code-or-example): Translate
2625         language.
2627         * org-src.el (org-src-lang-modes): New variable
2628         (org-edit-src-code): Translate language.
2630         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2631         the new structure of the `org-export-latex-listings-langs'
2632         variable.
2634         * org-latex.el (org-export-latex-listings-langs): Change structure
2635         of the variable from plist to alist.
2637 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2639         * org.el (org-in-commented-line): New function.
2641 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2643         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2645 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2647         * org.el (org-flag-drawer): More useful error.
2649 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2651         * org-remember.el (org-remember-apply-template): Use
2652         org-icompleting-read.
2654         * org-publish.el (org-publish): Use org-icompleting-read.
2656         * org-colview.el (org-columns-edit-value, org-columns-new)
2657         (org-insert-columns-dblock): Use org-icompleting-read.
2659         * org-colview-xemacs.el (org-columns-edit-value)
2660         (org-columns-new, org-insert-columns-dblock): Use
2661         org-icompleting-read.
2663         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2664         org-icompleting-read.
2666 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2668         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2669         (org-version): Return the version text.
2670         (org-org-menu): Add a menu entry for the new bug reporter.
2671         (org-submit-bug-report): New command.
2673         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2674         docstring.
2676         * org.el (org-emphasis-regexp-components): Add "`" to set of
2677         pre-emphasis characters.
2679         * org-latex.el (org-export-latex-classes): Always include the soul
2680         package.
2681         (org-export-latex-emphasis-alist): Use \st for strikethough.
2683         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2684         `indent-code-rigidly' to indent.
2686         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2687         properties only if MATCH really is a string.
2689 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2691         * org-latex.el (org-export-latex-packages-alist): Fix
2692         customization type.
2694         * org.el (org-create-formula-image): Also use
2695         `org-export-latex-packages-alist'.
2697         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2698         (org-export-as-html): Format footnotes correctly.
2700 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2702         * org.el (org-fast-tag-selection): Avoid text properties on tags
2703         in the alist.
2705         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2706         text properties on the match element.
2708 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2710         * org.el (org-set-regexps-and-options): Make sure the list of done
2711         keywords is not invalid.
2713         * org-exp.el (org-export-interpolate-newlines): New function.
2715 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2717         * org.el (org-format-latex): Avoid nested overlays.
2719         * org-latex.el (org-export-latex-listings-langs): Add a few more
2720         languages.
2722         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2723         ignore newlines and space before the first macro argument.
2725         * org-latex.el (org-export-latex-tables): Remove save-excursion
2726         around `org-table-align'.
2728 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2730         * org.el (org-export-html-special-string-regexps): Definition
2731         moved into org.el
2733         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2734         in macro calls.
2736 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2738         * org-latex.el (org-export-latex-listings)
2739         (org-export-latex-listings-langs): New options.
2741         * org-exp.el (org-export-format-source-code-or-example): Use
2742         listing package if requested by the user.
2744 2009-08-08  Bastien Guerry  <bzg@altern.org>
2746         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2747         command before actually switching to a buffer.
2749 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2751         * org-exp.el (org-get-file-contents): Only quote org lines when
2752         the markup is src or example.
2754         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2755         New option
2756         (org-agenda-get-day-entries): Remember deadline results and pass
2757         them on into the function getting the scheduling information.
2758         (org-agenda-get-scheduled): Accept deadline results as parameters
2759         and maybe skip some entries.
2760         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2762         * org.el (org-insert-heading): When respecting content, do not
2763         convert current line to headline.
2765         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2766         cheeeeeck the hd marker
2767         (org-clock-in): Also set the hd marker.
2768         (org-clock-out): Also set the hd marker.
2769         (org-clock-cancel): Reset markers.
2771         * org.el (org-clock-hd-marker): New marker.
2773         * org-faces.el (org-agenda-clocking): New face.
2775         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2776         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2778         * org.el (org-modules): Add org-track.el.
2780         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2781         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2782         `org-agenda-bulk-marked-p'.
2783         (org-agenda-bulk-toggle): New command.
2785 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2787         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2788         not just the body.
2790         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2791         messages.
2793 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2795         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2796         before gnuplot can read it.
2798 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2800         * org-latex.el (org-export-latex-first-lines): Fix bug with
2801         finding the end of the first lines.
2803         * org.el (org-create-formula-image): Remove the -E option for
2804         dvipng.
2806         * org-exp.el (org-default-export-plist): Respect #+BIND.
2807         (org-export-confirm-letbind): New function.
2809         * org.el (org-paste-subtree): Test the kill ring entry if it is
2810         going to be used.
2811         (org-copy-subtree): Use `org-forward-same-level'.
2812         (org-forward-same-level): Respect the `invisibe-ok' arg for
2813         back-to-heading.
2815 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2817         * org.el (org-table-map-tables): Make sure cursor is back at table
2818         beginning after funcall.
2820         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2821         handled before children, and do not error if an entry is not
2822         found, probably because it hase been remove when the parent was
2823         archived or refiled.
2825         * org.el (org-ido-completing-read): Accept straight lists for
2826         completion as well as alists.
2828         * org-html.el (org-export-as-html): Fix parenthesis error in
2829         footnore code.
2831         * org-timer.el (org-timer-cancel-timers): Renamed from
2832         `org-timer-cancel-timers'.
2834         * org.el (org-cycle-internal-local): Fix problem with finding next
2835         invisible line.
2837 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2839         * org-list.el (org-list-send-list): Call
2840         `org-list-goto-true-beginning' instead of
2841         `org-list-find-true-beginning', which does not exist.
2843         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2844         (org-timer-set-timer): Do not assign to heading.
2846         * org-id.el (org-id-open): Quote function name.
2848         * org-macs.el (org-unmodified): Turn off recording undo
2849         information while running inside the macro.
2851         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2852         variable.
2853         (org-indent-mode): Remember and restore value of
2854         org-hide-leading-stars before `org-indent-mode'.
2856         * org-table.el (org-table-export): Also work in file-less
2857         buffers.
2859         * org.el (org-startup-indented): New option.
2860         (org-startup-options): Add new options indent and noindent.
2861         (org-unfontify-region): Remove line-prefix and wrap-prefix
2862         properties.
2863         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2864         hooks.
2865         (org-promote, org-demote): Run the new hooks.
2867         * org-table.el (org-table-align): Replace leading \n as well.
2869         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2870         and `line-wrap' text properties.
2872         * org-compat.el (org-kill-new): New function.
2874         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2875         `line-wrap' text properties.
2877         * org-indent.el: New file.
2879 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2881         * org.el (org-provide-todo-statistics): Tweak docstring.
2883         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2885 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2887         * org-exp.el (org-export-as-org): Insert the "-source" string
2888         before the extension.
2890         * org.el (org-read-date): Make sure the calendar is in the current
2891         frame.
2892         (org-set-emph-re): Remove the ? from the post-match.
2893         (org-emphasis-regexp-components): Add backslash to the
2894         postmatch class.
2895         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2896         optional so that also lines at the end of the buffers will still
2897         be matched as headlines.
2899         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2900         Variable made obsolete.
2901         (org-table-relative-ref-may-cross-hline): New option.
2902         (org-table-find-row-type): Honow the new option
2903         `org-table-relative-ref-may-cross-hline'.
2905 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2907         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2908         on single field if no active region.
2910 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2912         * org-latex.el (org-export-latex-make-header): Only insert title
2913         if one is defined.
2915         * org.el (org-make-options-regexp): Allow empty values.
2917         * org-html.el (org-export-as-html): Move hrule detection to after
2918         plain list handling.
2920 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2922         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2924 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2926         * org.el (org-cycle-internal-local): Improved version of finding
2927         next visible line.
2928         (org-cycle-hide-drawers): Only hide drawers if this is really
2929         necessary.
2930         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2931         org-version of this function in Org-mode.  We use advice to
2932         implement this change, so that future changes to this function in
2933         outline.el wil be handled properly.
2934         (org-forward-same-level, org-backward-same-level): New commands.
2936 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2938         * org.el (org-remove-empty-overlays-at)
2939         (org-clean-visibility-after-subtree-move): New functons.
2940         (org-move-subtree-down): Simplify cleanup of display.
2942 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2944         * org-mac-message.el (org-mac-message-get-links): Improve
2945         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2946         "s".  Fix the return value.
2947         (org-mac-message-insert-flagged): Simplify.
2949         * org.el (org-refile-get-location): Tamper with refile history o
2950         that history contains compete matches instead of the entered
2951         string.
2953 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2955         * org.el (org-store-link): Never store a link to an inline task.
2957         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2959         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2960         inline tasks when positioning footnotes.
2962         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2963         function.
2965         * org.el (org-refile): Remove the END line when archiving an
2966         inline task that does have an END line.
2968         * org-archive.el (org-archive-subtree): Remove the END line when
2969         archiving an inline task that does have an END line.
2971         * org-macs.el (org-with-limited-levels): New macro.
2972         (org-get-limited-outline-regexp): New function.
2974         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2975         that did not enumerate first line.
2976         (org-export-mark-radio-links): Skip matches in links.
2978 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2980         * org.el (org-activate-plain-links): Make single-match.
2981         (org-adapt-indentation): Fix docstring.
2983         * org-macs.el (org-unmodified): Turn of modification hooks while
2984         running this macro.
2986 2009-08-02  Bastien Guerry  <bzg@altern.org>
2988         * org.el (org-adapt-indentation): Slightly improve the docstring.
2989         (org-occur): Sends an error when the user inputs an empty string.
2990         (org-priority): Bugfix: the tag alignement should happen within
2991         save-excursion.
2993 2009-07-31  Bastien Guerry  <bzg@altern.org>
2995         * org.el (org-make-link-regexps): Don't exclude parentheses from
2996         `org-plain-link-re'
2997         (org-cycle-internal-local): When locally cycling, switch directly
2998         from CHILDREN to FOLDED if there is no subtree
2999         (org-cycle): Update the docstring to document the new behavior of
3000         `org-cycle-internal-local'.
3002 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
3004         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
3005         an abbreviated format for days.
3007 2009-07-27  Bastien Guerry  <bzg@altern.org>
3009         * org-protocol.el (org-protocol-default-template-key): New
3010         option.
3012         * org.el (org-refile): Bugfix: save-excursion before reading the
3013         refile target, otherwise cursor moves might confuse `org-refile'.
3015         * org-html.el (org-export-as-html): Bugfix: correctly convert the
3016         footnote reference before the footnote itself.
3018         * org.el (org-toggle-heading): Bugfix: correctly convert list
3019         items before the first headline.
3021         * org-html.el (org-export-html-footnote-format): New option for
3022         formatting the footnote reference.
3023         (org-export-as-html): Use the new option.
3025         * org.el (org-provide-todo-statistics): Allow a list of TODO
3026         keywords to compute statistics against headlines containing a
3027         keyword from this list.
3028         (org-update-parent-todo-statistics): Possibly use the new allowed
3029         value of `org-provide-todo-statistics'.
3031 2009-07-26  Bastien Guerry  <bzg@altern.org>
3033         * org-timer.el: Add autoload cookie.
3035         * org.el (org-occur-link-in-agenda-files): New function.
3037         * org-timer.el (org-timer-last-timer): New variable.
3039         * org-agenda.el (org-agenda-mode-map): New key for
3040         org-timer-set-timer called from the agenda.
3042         * org.el (org-mode-map): New key for org-timer-set-timer.
3044         * org-timer.el (org-timer-reset-timers)
3045         (org-timer-show-remaining-time, org-timer-set-timer): New
3046         functions.
3048         * org-clock.el (org-show-notification): Update the docstring.
3050         * org.el (org-provide-todo-statistics): Allow new value
3051         'all-headlines for this option, which includes entries with no
3052         TODO keywords in the todo statistics.
3053         (org-update-parent-todo-statistics): Possibly use the new
3054         'all-headline value from `org-provide-todo-statistics'.
3056 2009-07-25  Bastien Guerry  <bzg@altern.org>
3058         * org-clock.el (org-dblock-write:clocktable): Add a new option
3059         :timestamp which allows display of timestamps in clock reports.
3061         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
3062         list to a subtree, preserving the structure of the list.
3063         (org-set-emph-re): Make the last element optional in the regexp.
3064         This regexp now matches an emphasized string at the end of a line.
3066         * org-list.el (org-list-goto-true-beginning)
3067         (org-list-make-subtree, org-list-make-subtrees): New functions.
3069         * org.el (org-eval-in-calendar): Select the right frame.
3070         (org-save-frame-excursion): Remove this macro.
3072 2009-07-24  Bastien Guerry  <bzg@altern.org>
3074         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
3075         trying to find the beginning of a list.
3077         * org-exp.el (org-get-file-contents): Use a new argument: markup.
3078         When present, tell org-get-file-contents not to protect org-like
3079         lines.
3081         * org-id.el (org-id-uuid-program): New option to set the name of
3082         the uuidgen program.
3083         (org-id-method): Use `org-id-uuid-program'.
3084         (org-id-new): Use `org-id-uuid-program'.
3086 2009-07-23  Bastien Guerry  <bzg@altern.org>
3088         * org-exp.el (org-export-number-lines): Allow whitespace in code
3089         references.  Allow the -r switch to remove the references in the
3090         source code even when the lines are not numbered: the labels can
3091         be explicit enough.
3093         * org.el (org-fontify-whole-heading-line): New option.
3094         (org-set-font-lock-defaults): Use the new option.
3096         * org-clock.el (org-show-notification-handler): New option.
3097         (org-show-notification): Use the new option.
3099 2009-07-21  Bastien Guerry  <bzg@altern.org>
3101         * org.el (org-eval-in-calendar): Fix a bug about calendar
3102         navigation when `calendar-setup' value is 'calendar-only.
3104 2009-07-19  Bastien Guerry  <bzg@altern.org>
3106         * org.el (orgstruct++-mode): Fix typo in docstring.
3107         (org-insert-link): Clean up: (or (...)) => (...)
3108         (org-insert-link): Use TAB for stored links completion.
3110 2009-07-18  Bastien Guerry  <bzg@altern.org>
3112         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3113         building the list of targets.
3115         * org-remember.el (org-remember-delete-empty-lines-at-end): New
3116         option.
3117         (org-remember-handler): Use the new option.
3119 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
3121         * org.el (org-tags-sort-function): New option for sorting tags.
3122         (org-set-tags): Use the new option to sort tags.
3124         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3125         premature deletion of the data when using org-plot in a script.
3127 2009-07-17  Bastien Guerry  <bzg@altern.org>
3129         * org-clock.el (org-clock-in-prepare-hook): New hook.
3130         (org-clock-in): Use this new hook.
3132 2009-07-16  Bastien Guerry  <bzg@altern.org>
3134         * org.el (org-special-ctrl-a/e): Explicitely bind the value
3135         'reversed for this option to the "true line boundary first"
3136         behavior.
3137         (org-tags-match-list-sublevels): Document the 'indented value for
3138         this variable.
3140         * org-latex.el (org-export-latex-first-lines): Fix problem with
3141         publishing the region.
3143         * org-exp.el (org-export-format-source-code-or-example): Fix
3144         bad line numbering when exporting examples in HTML.
3146         * org-colview.el (org-format-time-period): Formats a time in
3147         fractional days as days, hours, mins, seconds.
3148         (org-columns-display-here): Add special handling for SINCE and
3149         SINCE_IA to format for display.
3151 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
3153         * org.el (org-tags-sort-function): Add custom declaration for tags
3154         sorting function.
3155         (org-set-tags): Sort tags if org-tags-sort-function is set
3157 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
3159         * org-clock.el (org-clock-goto): Find hidden headlines as well.
3161         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3163         * org-plot.el (org-plot/add-options-to-plist): Add timeind
3164         option.
3166 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
3168         * org-publish.el (org-publish-remove-all-timestamps): New function.
3169         (org-publish-all): Remove all timestamp files if `org-publish-all'
3170         is called with a prefix argument.
3172         * org-list.el (org-indent-item): Fix typo.
3173         (org-item-indent-positions): Normalize ordered bullet.
3175         * org-html.el (org-export-html-home/up-format): New option.
3176         (org-export-as-html): Insert the up and HOME links.
3178 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
3180         * org-html.el (org-export-as-html): Insert the title into the
3181         option plist.
3182         (org-export-html-insert-plist-item): New function.
3183         (org-export-as-html): Call `org-export-html-insert-plist-item'.
3185         * org-macs.el (org-set-local): Make a local variable, do not make
3186         the variable buffer-local!
3188         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3190         * org-html.el (org-export-as-html): Call `org-install-letbind'.
3192         * org-docbook.el (org-export-as-docbook): Call
3193         `org-install-letbind'.
3195         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
3197         * org-exp.el (org-infile-export-plist): Read BIND lines.
3198         (org-install-letbind): New function.
3199         (org-export-as-org, org-export-preprocess-string): Call
3200         `org-install-letbind'.
3202         * org-src.el (org-edit-src-exit): Untabify the example before
3203         returning to Org.
3205         * org-list.el (org-list-demote-modify-bullet): New option.
3206         (org-first-list-item-p): Save point.
3207         (org-fix-bullet-type): New optional argument FORCE-BULLET.
3208         (org-indent-item): Honor `org-list-demote-modify-bullet'.
3209         (org-item-indent-positions): Return bullet types along with
3210         indentation.
3212 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
3214         * org.el (org-show-entry): Hide drawers.
3216 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
3218         * org-footnote.el (org-footnote-auto-adjust): New option.
3219         (org-footnote-auto-adjust-maybe): New function.
3220         (org-footnote-new, org-footnote-delete): Call
3221         `org-footnote-auto-adjust-maybe'.
3223         * org.el (org-startup-options): Add new footnote-related
3224         keywords.
3226         * org-publish.el (org-publish-timestamp-filename): Additional
3227         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3228         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3229         TRUE-PUB-DIR.  Pass them through to
3230         `org-publish-timestamp-filename'.
3231         (org-publish-update-timestamp): Additional arguments PUB-DIR and
3232         PUB-FUNC, which are included in the hash.
3233         (org-publish-file): Delay timestamp test until the publishing
3234         function is known.
3236 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
3238         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3239         setting the deadline.
3241         * org.el (org-read-date-final-answer): New variable.
3242         (org-read-date): Store the final answer string, including the date
3243         from the calendar, for reuse by agenda bulk commands.
3245         * org-publish.el (org-publish-attachment): Fix publishing of
3246         attachments.
3248         * org-latex.el (org-export-latex-quotation-marks): Fix export of
3249         quotation makrs in parenthesis.
3250         (org-remove-initial-hash): New function.
3251         (org-export-latex-preprocess): Fix bug with infinite loop if
3252         environment is not properly closed.
3254         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3255         when indented.
3257         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3258         highlight also when indented.
3260 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
3262         * org-footnote.el (org-footnote-renumber-fn:N): New command.
3263         (org-footnote-action): Offer renumbering.
3265         * org.el (org-cycle): Honor the `integrate' value of
3266         org-cycle-include-plain-lists'.
3268         * org-list.el (org-cycle-include-plain-lists): New allowed value
3269         `internal'.  Improve the docstring.
3271         * org.el (org-set-autofill-regexps): Improve the paragraph-start
3272         regexp to work better with LaTeX commands.
3274 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
3276         * org-feed.el (org-feed-update): fix problem with non-existing
3277         buffer.
3278         (org-feed-skip-http-headers): New function.
3279         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
3280         (org-feed-get-feed): Fix command line arguments for curl.
3282 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
3284         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3285         and eps extensions.
3287 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
3289         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3290         loaded.
3292         * org.el (org-map-entries): No longer force
3293         `org-tags-match-list-sublevels' to t during a todo-only tags
3294         search.
3296 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
3298         * org-latex.el (org-export-latex-low-levels): Allow user-defined
3299         environment.
3300         (org-export-latex-subcontent): Handle user-defined environment.
3302         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3303         the View dispatcher.
3305         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3306         `make-overlay'.
3308         * org-latex.el (org-export-as-pdf): Protect match data during call
3309         to shell-quote-argument.
3311         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3312         (org-agenda-view-mode-dispatch): New function.
3314 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
3316         * org-agenda.el (org-agenda-mode): Reset list of marks.
3317         (org-agenda-mode-map): Define new keys for refile and bulk action.
3318         (org-agenda-menu): Add menu itesm for refile and bulk action.
3319         (org-agenda-refile): New function.
3320         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3321         (org-agenda-marked-entries): New variable.
3322         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3323         (org-agenda-remove-all-bulk-action-marks)
3324         (org-agenda-bulk-action): New functions/commands.
3326 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
3328         * org-exp.el (org-get-file-contents): Protect org-like lines in
3329         included files.
3330         (org-export-format-source-code-or-example): Remove newlines.
3332         * org-latex.el (org-export-latex-links): Check for no-description
3333         marking.
3335         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3336         argument separator back to comma.
3337         (org-export-normalize-links): Mark links without description.
3339 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
3341         * org-exp.el (org-infile-export-plist): Fix bug in macro
3342         processing.
3344         * org-agenda.el (org-agenda-clock-out): Update line after clocking
3345         out.
3346         (org-agenda-highlight-todo): Fix bug with highlighting.
3348 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
3350         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3351         new alignment strings.
3353         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3354         command list.
3355         (org-table-align): Check for forced align type.
3357         * org.el (org-self-insert-command): Add yas/expand to command
3358         list.
3360         * org-clock.el (org-clock-in-hook): New hook.
3361         (org-clock-in): Run `org-clock-in-hook.
3362         (org-clock-out-hook): New hook.
3363         (org-clock-out): Run `org-clock-out-hook.
3364         (org-clock-cancel-hook): New hook.
3365         (org-clock-cancel): Run `org-clock-cancel-hook.
3366         (org-clock-goto-hook): New hook.
3367         (org-clock-goto): Run `org-clock-goto-hook.
3369 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
3371         * org.el (org-store-link): Better default description for link to
3372         Org-mode headline.
3374         * org-exp.el (org-export-generic): Autoload the generic exporter
3375         function.
3376         (org-export): Implement the `g' key for the generic exporter.
3378 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
3380         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3381         and for zbacktab'.
3383         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
3385         * org-exp.el (org-infile-export-plist): Get macros also from
3386         #+SETUPFILE.
3388 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
3390         * org-colview.el (org-columns-capture-view): Protect vertical bars
3391         in column values.
3392         (org-columns-capture-view): Exclude comment and archived trees.
3394         * org-colview-xemacs.el (org-columns-capture-view): Protect
3395         vertical bars in column values.
3396         (org-columns-capture-view): Exclude comment and archived trees.
3398         * org.el (org-quote-vert): New function.
3400         * org-latex.el (org-export-latex-verbatim-wrap): New option.
3402         * org-exp.el (org-export-format-source-code-or-example): Use
3403         `org-export-latex-verbatim-wrap'.
3405         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3406         time stamps.
3408         * org-html.el (org-export-table-row-tags): New option.
3409         (org-format-org-table-html): Rename `nlines' to `nline', use new
3410         option.
3413 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
3415         * org-exp-blocks.el: Declare functions and variables.
3417         * org-remember.el (org-remember-templates): Allow the headline
3418         element to be a function.
3419         (org-remember-apply-template): If the headline is a function, call
3420         it to get the true function.
3422         * org-clock.el (org-clock-menu): New function.
3423         (org-clock-update-mode-line): Update help string.
3424         (org-clock-modify-effort-estimate): New function.
3425         (org-clock-mark-default-task): New function.
3427         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3428         minutes as input.
3429         (org-org-menu): Add new clocking stuff.
3430         (org-clock-is-active): New function.
3432 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
3434         * org.el (org-open-non-existing-files): Improve docstring.
3436 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
3438         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3439         option.
3440         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3442         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3444         * org-list.el (org-get-checkbox-statistics-face): Use the new
3445         faces.
3447         * org-faces.el (org-checkbox-statistics-todo)
3448         (org-checkbox-statistics-done): New faces.
3450 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3452         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3453         (org-edit-src-exit): Better cursor positioning when returning from
3454         editing.
3456         * org-latex.el (org-export-latex-use-verb): New variable.
3457         (org-export-latex-emph-format): Prefer \texttt over \verb when
3458         org-export-latex-use-verb is set.
3460 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3462         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3463         at normal indentation.
3465         * org-html.el (org-export-html-close-lists-maybe): Also look at
3466         normal indentation.
3468         * org-remember.el (org-remember-handler): Abort remember if the
3469         buffer is empty.
3471         * org-src.el (org-edit-src-content-indentation): New option.
3472         (org-edit-src-exit): Apply extra indentation.
3474         * org-exp.el (org-export-format-source-code-or-example): Run
3475         `org-src-mode-hook'.
3477         * org-src.el (org-src-mode-hook): New variable.
3478         (org-edit-src-code): Run `org-src-mode-hook'.
3480 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3482         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3484         * org-src.el (org-edit-src-get-indentation): New function.
3485         (org-edit-src-code): Base indentation on the begin line.
3487 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3489         * org-gnus.el (org-gnus-store-link): Require message.el in
3490         org-gnus-store-link.
3492 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3494         * org-src.el: New file, split out of org.el
3496         * org-docbook.el (org-export-as-docbook): Better indentation
3497         treatment.
3499         * org-macs.el (org-replace-match-keep-properties): New function.
3501         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3502         preprocessing of center and quote and verse blocks.
3504         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3505         (org-export-as-docbook): Close lists when original indentation
3506         mandates it.
3508         * org-html.el (org-export-html-close-lists-maybe): New function.
3509         (org-export-as-html): Close lists when original indentation
3510         mandates it.
3512         * org-list.el (org-list-end): Respect the stored "original"
3513         indentation when determining the end of the list.
3515         * org-exp.el (org-export-replace-src-segments-and-examples):
3516         Remember indentation correctly.
3518 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3520         * org-clock.el (org-clock-update-mode-line): Apply face
3521         org-mode-line-clock.
3523         * org-faces.el (org-mode-line-clock): New face.
3525 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3527         * org-gnus.el (org-gnus-store-link): Fix bug where
3528         `org-gnus-store-link' used wrong subject when called in an article
3529         buffer.  Patch provided by fengli AT gmail DOT com.
3531 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3533         * org-exp.el (org-export-format-source-code-or-example): Remember
3534         the original indentation of source code snippets and examples.
3536         * org-latex.el (org-export-as-latex): Relocate the table of
3537         contents.
3539         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3541         * org-agenda.el (org-run-agenda-series): Scope global options also
3542         when creating the agenda buffer.
3544 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3546         * org.el (org-adapt-indentation): Improve documentation.
3547         (org-insert-property-drawer): Respect org-adapt-indentation when
3548         inserting the drawer.
3549         (org-remove-flyspell-overlays-in): New function.
3550         (org-do-emphasis-faces, org-activate-plain-links)
3551         (org-activate-code, org-fontify-meta-lines-and-blocks)
3552         (org-activate-angle-links, org-activate-footnote-links)
3553         (org-activate-bracket-links, org-activate-dates)
3554         (org-activate-target-links, org-activate-tags): Remove flyspell
3555         overlays.
3557 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3559         * org.el (org-edit-src-save): New function.
3561         * org-clock.el (org-clock-out-switch-to-state): New option.
3562         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3564         * org-compat.el (org-compatible-face): Improve macro.
3566         * org.el (org-global-properties-fixed): Add default for
3567         CLOCK_MODELINE_TOTAL.
3569         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3570         andd tend.
3571         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3572         org-clock-sum.
3573         (org-clock-get-sum-start): New function.
3575         * org.el (org-startup-options): New keywords blockhide and
3576         blockshow.
3577         (org-mode): Add new invisibility spec.
3578         (org-set-startup-visibility): Hide block on startup if so
3579         desired.
3580         (org-hide-block-startup): New option.
3581         (org-block-regexp): New constant.
3582         (org-hide-block-overlays): New variable.
3583         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3584         (org-show-block-all, org-hide-block-toggle-maybe)
3585         (org-hide-block-toggle): New functions.
3586         (org-edit-src-exit): Do not quote lines starting with # and no +
3587         behind it.
3588         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3589         entry.
3591 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3593         * org.el (org-buffer-property-keys): Add Effort property for
3594         completion.
3596 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3598         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3599         when retrieving total clocked time in the subtree.
3601         * org.el (org-quoting-blocks): New variable.
3603 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3605         * org-table.el (org-table-store-formulas)
3606         (org-table-get-stored-formulas, org-table-fix-formulas)
3607         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3608         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3610         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3611         indented #+TBLFM line.
3613         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3614         indented #+TBLFM line.
3616         * org-colview.el (org-dblock-write:columnview): Allow indented
3617         #+TBLFM line.
3619         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3620         indented #+TBLFM line.
3622         * org-clock.el (org-dblock-write:clocktable): Allow indented
3623         #+TBLFM line.
3625 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3627         * org-exp.el (org-export-format-source-code-or-example): Make
3628         editing indented blocks work correctly.
3630         * org.el (org-edit-src-nindent): New variable.
3631         (org-edit-src-code, org-edit-fixed-width-region)
3632         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3633         editing indented blocks work correctly.
3635 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3637         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3638         indented blocks.
3639         (org-export-format-source-code-or-example): Fix indentation of
3640         blocks.
3641         (org-export-remove-indentation): New function.
3642         (org-export-select-backend-specific-text): Allow backend-specific
3643         code to be indented.
3644         (org-export-mark-blockquote-verse-center): Allow markers to be
3645         indented.
3647         * org.el (org-fontify-meta-lines): New function.
3648         (org-set-font-lock-defaults): Call the new fontification
3649         function.
3651         * org-faces.el (org-meta-line): New face
3652         (org-block):  New face.
3654 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3656         * org.el (org-treat-insert-todo-heading-as-state-change)
3657         (org-treat-S-cursor-todo-selection-as-state-change): New
3658         variables.
3659         (org-insert-todo-heading): Honor
3660         `org-treat-insert-todo-heading-as-state-change'.
3661         (org-shiftright, org-shiftleft): Honor
3662         `org-treat-S-cursor-todo-selection-as-state-change'.
3663         (org-inhibit-logging): New variable.
3665 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3667         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3668         range for marker position checking.
3670         * org-latex.el (org-export-latex-first-lines): Fix bug when
3671         exporting a region.
3673 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3675         * org-exp.el (org-export-push-to-kill-ring): Protect using
3676         x-set-selection, because that does not always work.
3678         * org-agenda.el (org-agenda-list): Apply the new face
3679         `org-agenda-date-today'.
3681         * org-faces.el (org-agenda-date-today): New face.
3683 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3685         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3686         creating appointments.
3688         * org-latex.el (org-export-latex-low-levels): Fix customization
3689         type.
3691         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3692         priority commands.
3694         * org-agenda.el (org-agenda-priority): Disable priority commands.
3696         * org.el (org-enable-priority-commands): New option.
3698         * org-colview-xemacs.el (org-columns-compute)
3699         (org-columns-number-to-string): Fix problems with empty fields.
3701         * org-colview.el (org-columns-compute)
3702         (org-columns-number-to-string): Fix problems with empty fields.
3704         * org-exp.el (org-export-push-to-kill-ring): New function.
3705         (org-export-copy-to-kill-ring): New option.
3707         * org-latex.el (org-export-as-latex): Call
3708         `org-export-push-to-kill-ring'.
3710         * org-html.el (org-export-as-html): Call
3711         `org-export-push-to-kill-ring'.
3713         * org-docbook.el (org-export-as-docbook): Call
3714         `org-export-push-to-kill-ring'.
3716         * org-ascii.el (org-export-as-ascii): Call
3717         `org-export-push-to-kill-ring'.
3719         * org-exp.el (org-export-show-temporary-export-buffer): New
3720         option.
3722         * org-latex.el (org-export-as-latex): Use
3723         `org-export-show-temporary-export-buffer'.
3725         * org-html.el (org-export-as-html): Use
3726         `org-export-show-temporary-export-buffer'.
3728         * org-docbook.el (org-export-as-docbook): Use
3729         `org-export-show-temporary-export-buffer'.
3731         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3732         `org-export-show-temporary-export-buffer'.
3734         * org-exp.el (org-export-show-temporary-export-buffer): New
3735         option.
3736         (org-export-push-to-kill-ring): New function.
3738         * org-colview.el (org-columns-compile-map): New variable.
3739         (org-columns-new, org-columns-compute)
3740         (org-columns-number-to-string, org-columns-uncompile-format)
3741         (org-columns-compile-format): Implement new operators.
3743 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3745         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3747         * org-html.el (org-export-html-xml-declaration): New option.
3748         (org-export-as-html): Use `org-export-html-xml-declaration'.
3750         * org-list.el (org-update-checkbox-count): Make property
3751         dependent.
3753         * org.el (org-hierarchical-todo-statistics): New option.
3754         (org-update-parent-todo-statistics): Modified to handle recursive
3755         statistics.
3757 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3759         * org-publish.el (org-publish): Make this function behave
3760         correctly in interactive use when called with a prefix argument.
3762         * org.el (org-todo-statistics-hook): New hook.
3763         (org-update-parent-todo-statistics): Use new hook.
3764         (org-log-into-drawer): New function.
3765         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3766         determine if we should be logging into a drawer.
3767         (org-log-into-drawer): Update docstring.
3768         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3770         * org-list.el (org-checkbox-statistics-hook): New hook.
3771         (org-update-checkbox-count-maybe): Use new hook.
3773         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3774         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3775         to kill ring.
3777 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3779         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3780         a line.
3782 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3784         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3785         better bufer-generating mechanism.
3786         (org-edit-src-find-buffer): New function.
3788         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3789         archive tag, this is already done by `org-agenda-skip'.
3790         data while constructing lost of tags.
3792 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3794         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3795         as argument separator in macros.
3797         * org-html.el (org-export-as-html): Add xml declaration.
3799 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3801         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3802         (org-sort-entries-or-items): Run the new hook.
3803         (org-after-refile-insert-hook): New hook.
3804         (org-refile): Run `org-after-refile-insert-hook'.
3806         * org-agenda.el (org-agenda-get-progress): Never take time of day
3807         from headline when displaying progress.
3809         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3810         (org-export-as-latex): Force the correct regexp in the
3811         preprocessor buffer.
3812         (org-export-latex-set-initial-vars): Set
3813         `org-export-latex-complex-heading-re'.
3815         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3816         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3818 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3820         * org-latex.el (org-export-latex-tables-centered): New option.
3821         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3823         * org-exp.el (org-export-as-org): New command.
3824         (org-export-as-org): New command.
3826         * org-publish.el (org-publish-org-to-org): New function.
3828 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3830         * org.el (org-yank): Just call `org-yank-generic'.
3831         (org-yank-generic): New function, containing the formaer
3832         functionality of `org-yank'.
3834         * org-latex.el (org-export-latex-not-done-keywords)
3835         (org-export-latex-done-keywords): New variables.
3836         (org-export-latex-todo-keyword-markup): New option.
3837         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3838         (org-export-latex-keywords-maybe): Apply the TODO markup.
3840 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3842         * org-exp.el (org-infile-export-plist): Add more default macros.
3843         (org-export-preprocess-apply-macros): Process macro arguments.
3845 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3847         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3848         `unblocked'.
3849         (org-print-icalendar-entries): Respect the new value of
3850         `org-icalendar-include-todo'.
3852         * org.el (org-link-try-special-completion)
3853         (org-file-complete-link): New functions.
3854         (org-insert-link): Add special completion support for some link
3855         types.
3857         * org-bbdb.el (org-bbdb-complete-link): New function.
3859 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3861         * org-list.el (org-update-checkbox-count): Allow recursive
3862         statistics.
3863         (org-hierarchical-checkbox-statistics): New option.
3865         * org.el (org-cycle): Remove erraneous space character.
3867         * org-icalendar.el (org-icalendar-timezone): Initialize from
3868         environment.
3870         * org-html.el (org-format-org-table-html): Specify the scope.
3871         (org-format-table-table-html): Specify the scope.
3872         (org-export-table-header-tags): Prepare the scope parameter.
3874 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3876         * org-html.el
3877         (org-export-html-table-use-header-tags-for-first-column): New
3878         option.
3880         * org.el (org-autoload): Fix autoloading of ascii export
3881         functions.
3882         (org-modules): Add org-special-blocks.
3884 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3886         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3887         (org-ical-timezone): New option.
3889         * org-exp.el (org-export-get-coderef-format): Use the description
3890         is present.
3892         * org.el (org-sort-entries-or-items): Improve docstring, and make
3893         better implementation for time sorting.
3895 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3897         * org.el (org-edit-src-persistent-message): New option.
3898         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3899         option.
3901         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3902         patch.
3904         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3905         separate buffer instead of indirect buffer to edit source code.
3906         (org-edit-src-exit): Make this function work with the new setup.
3908         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3909         are properly fontified before shown in the selection menu.
3911         * org.el (org-fontify-like-in-org-mode): New function.
3913         * org-latex.el (org-export-latex-links): Use the property list to
3914         retrieve the default image attributes.
3916         * org-exp.el (org-export-plist-vars): Add a new option.
3918 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3920         * org-exp.el (org-export, org-export-visible): Support ASCII
3921         export to buffer
3922         (org-export-normalize-links): Do not protect the description if it
3923         is explicitly given.
3925         * org-ascii.el (org-export-as-ascii-to-buffer)
3926         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3927         commands.
3928         (org-export-as-ascii): Add all the same parameters that are also
3929         supported by the other export functions.
3931         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3932         org-checklist.el.
3933         (org-reset-checkbox-state-subtree): Call
3934         `org-reset-checkbox-state-subtree'.
3936         * org-remember.el (org-select-remember-template): For the
3937         selection of a valid template.
3939         * org-latex.el (org-export-region-as-latex): Supply the
3940         force-no-subtree argument.
3941         (org-export-as-latex): Provide better limits when exporting the
3942         first line.  When exporting to string, we still want the first
3943         lines.
3944         (org-export-latex-first-lines): New argument END, to force the end
3945         of the region.
3946         (org-export-region-as-latex): Use the property list.
3947         (org-export-as-latex):
3949         * org-colview-xemacs.el (org-columns-remove-overlays)
3950         (org-columns): Fix call to `local-variable-p'.
3952 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3954         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3955         (org-export-as-html): Run the new hook.
3957         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3958         (org-export-latex-preprocess): Run the new hook.
3960         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3961         (org-export-preprocess-string): Run the new hook.
3963 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3965         * org-macs.el (org-check-external-command): New defsubst.
3967         * org.el (org-mode-map): New key for reload.
3968         (org-format-latex): Better error message when external programs
3969         are not available.
3971         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3973         * org.el (org-sort-entries-or-items): Explicit sorting function
3974         for priorities, needed for XEmacs compatibility.
3976         * org-remember.el (org-remember-apply-template): Improve auto-save
3977         behavior.
3979 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3981         * org-latex.el (org-export-latex-preprocess): Also protect
3982         environments ending in a star.
3984         * org-list.el (org-at-item-p): Fix regular expression.
3986 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3988         * org.el (org-end-of-subtree): Improve speed.
3990         * org-agenda.el (org-agenda-get-timestamps)
3991         (org-agenda-get-progress, org-agenda-get-deadlines)
3992         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3993         in particular, wait as long as possible to collect the tags.
3994         (org-stuck-projects): Improve docstring.
3996         * org.el (org-store-link): No errors when getting custom id before
3997         first headline.
3998         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
4000 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
4002         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
4004         * org-protocol.el: Remove dependency on url.el.
4005         (org-protocol-unhex-compound, org-protocol-open-source): Remove
4006         dependency on url.el.
4008         * org-latex.el (org-export-as-pdf): Use
4009         `org-latex-to-pdf-process'.
4011 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
4013         * org-latex.el (org-latex-to-pdf-process): New option.
4015         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
4016         New option.
4017         (org-agenda-get-timestamps): Honor
4018         `org-agenda-skip-additional-timestamps-same-entry'.
4020         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
4021         (org-clock-goto): Find recent task only if
4022         `org-clock-goto-may-find-recent-task' allows it.
4024         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
4025         drawers, and drawers that are missing the :END: line.
4027 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4029         * org-clock.el (org-clock-goto): Go to recently clocked task if no
4030         clock is running.
4032 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
4034         * org.el (org-update-parent-todo-statistics): Check for
4035         STATISTICS_FROM property.
4037         * org-list.el (org-update-checkbox-count): Check for
4038         STATISTICS_FROM property.
4040         * org.el (org-tab-first-hook)
4041         (org-tab-after-check-for-table-hook)
4042         (org-tab-after-check-for-cycling-hook): New hooks.
4043         (org-cycle-internal-global, org-cycle-internal-local): New
4044         functions, split out from `org-cycle'.
4045         (org-cycle): Call the new hooks.
4047 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
4049         * org-exp.el (org-export-preprocess-string): Reset the list of
4050         preferred targets for each run of the preprocessor.
4052         * org.el (org-refile-target-verify-function): Improve
4053         documentation.
4054         (org-get-refile-targets): Respect point being moved by the
4055         verification function.
4057         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
4058         option.
4059         (org-export-latex-keywords): Use new option.
4061         * org.el (org-rear-nonsticky-at): New defsubst.
4062         (org-activate-plain-links, org-activate-angle-links)
4063         (org-activate-footnote-links, org-activate-bracket-links)
4064         (org-activate-dates, org-activate-target-links)
4065         (org-activate-tags): Place the rear-nonsticky properties at the
4066         correct location.
4068 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
4070         * org-protocol.el (server-edit): Declare `server-edit'.
4071         (org-protocol-unhex-string, org-protocol-unhex-compound): New
4072         functions.
4073         (org-protocol-check-filename-for-protocol): Call `server-edit'.
4075         * org.el (org-default-properties): New default properteis for
4076         completion.
4078         * org-exp.el (org-export-add-subtree-options): Add new properties
4079         for subtree export.
4081         * org-docbook.el (org-export-docbook-keywords-markup)
4082         (org-export-docbook-timestamp-markup): New options.
4083         (org-export-docbook-protect-tags): New function.
4085 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
4087         * org-id.el (org-id-get-with-outline-path-completion): Turn off
4088         org-refile-target-verify-function for the duration of the command.
4090         * org.el (org-link-to-org-use-id): New possible value
4091         `create-if-interactive-and-no-custom-id'.
4092         (org-store-link): Use custom IDs.
4093         (org-link-search): Find custom ID properties from #link.
4094         (org-default-properties): Add CUSTOM_ID for property completion.
4095         (org-refile-target-verify-function): New option.
4096         (org-goto): Turn off org-refile-target-verify-function
4097         for the duration of the command.
4099 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
4101         * org-html.el (org-export-as-html): Use custom IDs in the toc.
4103         * org-exp.el (org-export-preferred-target-alist): New variable.
4104         (org-export-define-heading-targets): Find the new CUSTOM_ID
4105         property.
4106         (org-export-target-internal-links): Target the custom ids when
4107         possible.
4109         * org-latex.el (org-export-latex-preprocess): Better regexp for
4110         matching latex macros with arguments.
4112 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
4114         * org-remember.el (org-remember-handler): Allow filing to non-org
4115         files.
4117 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
4119         * org-feed.el (org-feed-alist): New keyword options.
4120         (org-feed-update): Use the new options.
4121         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
4122         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
4123         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
4124         functions.
4126         * org-table.el (org-table-fix-formulas): Do not change references
4127         to remote tables.
4128         (org-table-get-remote-range): Convert standard coordinates to RC
4129         format.
4131         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4133 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
4135         * org-compat.el (org-sha1-string): Function removed.
4137         * org.el (org-refile-allow-creating-parent-nodes): New option.
4138         (org-refile-get-location): New argument NEW-NODES.
4139         (org-refile): Call `org-refile-get-location' with the new
4140         argument.
4141         (org-refile-get-location): Arrange for adding a new child.
4142         (org-refile-new-child): New function.
4144         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
4145         an additional span element.
4147         * org-clock.el: Fix a number of docstrings.
4148         (org-clock-find-position): New argument
4149         FIND-UNCLOSED to make the function find an unclosed clock in the
4150         entry.
4151         (org-clock-in): Call `org-clock-find-position' with the new
4152         argument if we might be resuming a clock.
4154 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
4156         * org-latex.el (org-export-latex-display-custom-times): New variable.
4157         (org-export-latex-timestamp-markup): New option.
4158         (org-export-latex-set-initial-vars): Remember the local value of
4159         `org-display-custom-times'.
4160         (org-export-latex-content): Process time stamps.
4161         (org-export-latex-time-stamps): New function.
4163         * org-macs.el (org-maybe-intangible): Add intangible property
4164         again to invisible text.
4166 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
4168         * org-exp.el (org-default-export-plist): Handle undefined
4169         variables.
4171 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
4173         * org.el (org-sort-entries-or-items): Match TODO keywrds
4174         case-sensitively, when sorting.
4175         (org-priority): Do not match TODO keywords with wrong case.
4177 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
4179         * org-feed.el (org-feed-update): Bind the variable
4180         `new-formatted'.
4182         * org-html.el (org-export-as-html): Start paragraphs after literal
4183         examples.
4185         * org-docbook.el (org-export-as-docbook): Start paragraphs after
4186         literal examples.
4188 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
4190         * org.el (org-todo): Honor the NOBLOCKING property.
4192         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4193         NOBLOCKING property.
4195         * org.el (org-scan-tags): Fix bug in tag scanner
4197 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
4199         * org.el (org-modules): Mark obsolete packages.
4201         * org-html.el: New file, split out from org-exp.el.
4203         * org-icalendar.el: New file, split out from org-exp.el.
4205         * org-xoxo.el: New file, split out from org-exp.el.
4207         * org-ascii.el: New file, split out from org-exp.el.
4209 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
4211         * org-compat.el (org-find-library-name): New function.
4213         * org.el (org-pre-cycle-hook): New hook.
4214         (org-cycle): Call the new hook in appropriate places.
4215         (org-reload): Only reload files that have been loaded before.
4217 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
4219         * org.el (org-set-font-lock-defaults): Enforxe space or line end
4220         after todo keyword.
4221         (org-todo): When changing TODO state, do matching
4222         case-sensitively.
4223         (org-map-continue-from): New variable.
4224         (org-scan-tags): Respect values in `org-map-continue-from'.
4225         (org-reload): Make XEmacs compatible.
4227 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
4229         * org-protocol.el (org-protocol-flatten-greedy): New function.
4230         (org-protocol-flatten): New function.
4232         * org.el (org-open-link-from-string): Pass reference buffer to
4233         `org-open-at-point'.
4234         (org-open-at-point): New optional argument `reference-buffer'.
4236 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
4238         * org.el (org-scan-tags): Make tag scan find headline in first
4239         line, 2nd attempt.
4240         (org-get-refile-targets): Add the naked file name.
4241         (org-refile): Store as top-level entry when only file name was
4242         given.
4244         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4246         * org.el (org-block-todo-from-children-or-siblings-or-parent):
4247         Renamed from org-block-todo-from-children-or-siblings, and
4248         enhanced to look for the parent's status as well.
4250         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4251         (org-agenda-get-progress): Add first notes line to log entry if so
4252         desired.
4254 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
4256         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4257         (org-agenda-cleanup-fancy-diary): Call the new hook.
4259         * org-remember.el (org-remember-apply-template): Take the default
4260         for the annotation from the :annotation property.
4262         * org-mac-message.el (org-mac-message-get-link): Remove the
4263         quotes.
4264         (org-mac-message-get-link): Return the result.
4266 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
4268         * org.el (org-refile-get-location): Add file name only if not
4269         already included in outline path.
4271         * org-faces.el (org-n-level-faces): Fix customization type from
4272         number to integer.
4274         * org-exp.el (org-export-headline-levels): Fix customization type
4275         from number to integer.
4277         * org-agenda.el (org-agenda-confirm-kill)
4278         (org-agenda-custom-commands-local-options)
4279         (org-timeline-show-empty-dates, org-agenda-ndays)
4280         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4281         customization type from number to integer.
4283 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
4285         * org-protocol.el: Declare some functions.
4287         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
4288         postion before inserting modified headline.
4290         * org-agenda.el (org-agenda-compare-effort): Honor
4291         `org-sort-agenda-noeffort-is-high'.
4292         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4293         (org-agenda-compare-effort): Implement the "?" operator for
4294         finding entries without effort setting.
4296         * org.el (org-extract-attributes-from-string): New function.
4298         * org-exp.el (org-export-splice-attributes): New function.
4300 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
4302         * org-mouse.el: XEmacs compatibility fixes
4304         * org-docbook.el (org-export-as-docbook): Process footnotes like
4305         normal text.
4307         * org.el (org-modules): Add org-inlinetasks.el
4308         (org-cycle): Implement limiting level on cycling.
4309         (org-move-subtree-down): Fix bug with swapping subtrees at end of
4310         buffer.
4312         * org-inlinetask.el: New file.
4314         * org.el (org-emphasis-regexp-components): Allow braces in
4315         emphasis pre and post match.
4317         * org-footnote.el (org-footnote-normalize): When only dorting, do
4318         not insert inline notes at the end.
4320         * org-docbook.el (org-id-find-id-file): Add function declaration.
4322         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4324         * org-docbook.el: New file.
4326 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
4328         * org.el (org-reftex-citation): New command.
4330 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
4332         * org-agenda.el (org-agenda-cmp-user-defined): New option.
4333         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4334         sorting options.
4335         (org-entries-lessp): Apply the new sorting option.
4337         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4338         blocker code, when an older sibling has children.
4340         * org-mac-message.el (org-mac-message-get-link): Improve getting
4341         links from multiple selected messages.
4343 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
4345         * org-remember.el (org-remember-finalize): Do not set buffer file
4346         name to nil.
4347         (org-remember-handler): Mark buffer as unmodified.
4348         (org-remember-handler): Delete backup file and show message about
4349         remaining backup files.
4350         (org-remember-auto-remove-backup-files): New option.
4352         * org.el (org-store-link): Use buffer name as link description in
4353         w3-mode buffers.
4354         (org-ido-switchb): Fix argument bug for completion.
4356         * org-remember.el (org-remember-apply-template): Set local
4357         variable `auto-save-visited-file-name' instead of global one.
4359 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
4361         * org-feed.el: Re-write.
4363         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4364         (org-agenda-get-todos): Mark file tags as inherited.
4365         (org-agenda-list): Always search diary lines for a time.
4367 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
4369         * org-feed.el (org-feed-assume-stable): New option.
4370         (org-feed-before-adding-hook): New hook.
4372         * org-exp.el (org-export-as-html): Close local lists depending on
4373         indentation, also when starting a table.
4375         * org-remember.el (org-remember-backup-directory)
4376         (org-remember-backup-name): New internal variable.
4378 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
4380         * org-clock.el (org-clock-out-if-current): Make buffer detection
4381         work in indirect buffers as well.
4383         * org.el (org-emphasis-regexp-components): Add the exxclamation
4384         mark to the post-emphasis characters.
4386 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
4388         * org.el (org-read-date-minibiffer-septup-hook): New hook.
4389         (org-read-date): Run the new hook.
4391         * org-mac-message.el (org-mac-flagged-mail): New group.
4392         (org-mac-mail-account): New variable.
4393         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4394         commands.
4396         * org-remember.el (org-remember-backup-directory): New variable.
4397         (org-remember-apply-template): Write file to backup directory.
4399 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
4401         * org-mouse.el (org-mouse-todo-menu): New function.
4402         (org-mouse-todo-keywords): Function removed.
4403         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4405         * org-table.el (org-table-beginning-of-field)
4406         (org-table-end-of-field): New commands
4407         (org-table-previous-field, org-table-beginning-of-field): Better
4408         error messages.
4409         (orgtbl-setup): Include `M-a' and `M-e'.
4411         * org.el (org-backward-sentence, org-forward-sentence): New
4412         commands.
4414         * org-colview.el (org-colview-initial-truncate-line-value): New
4415         variable.
4416         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4417         (org-columns): Remember the value of `truncate-lines'.
4419         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4420         New variable.
4421         (org-columns-remove-overlays): Restore the value of
4422         `truncate-lines'.
4423         (org-columns): Remember the value of `truncate-lines'.
4425         * org.el (org-columns-skip-arrchived-trees): New option.
4427         * org-agenda.el (org-agenda-export-html-style): Define color for
4428         org-agenda-done face.
4429         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4430         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4432         * org.el (org-scan-tags): Use the new face.
4434         * org-faces.el (org-agenda-done): New face.
4436         * org.el (org-scan-tags): Test the value org
4437         `org-tags-match-list-sublevels'.
4438         (org-tags-match-list-sublevels): New allowed value: indented.
4440         * org-export-latex.el (org-export-latex-make-header): Apply macros
4441         in header.
4443         * org-exp.el (org-export-apply-macros-in-string): New function.
4445         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4446         with the definition of a checked box.
4448         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4450         * org-export-latex.el (org-export-latex-low-levels): More options
4451         for how to process lower levels in LaTeX.
4452         (org-export-latex-subcontent): Better treatment for lists as a
4453         means of publishing lower levels.
4455 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4457         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4459         * org-faces.el (org-checkbox): New face.
4461         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4462         fragement images if there is an export file.
4464 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4466         * org-agenda.el (org-stuck-projects): Document that the subtree of
4467         projects that are not stuck will now be searched for stuck
4468         sub-projects.
4469         (org-agenda-skip-entry-when-regexp-matches)
4470         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4471         (org-agenda-list-stuck-projects): Use
4472         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4474         * org-export-latex.el (org-export-latex-preprocess): Improve
4475         export of verses.
4477         * org-exp.el (org-export-as-html): Implement centering as a div
4478         rather than a paragraph.  Do a better job with line-end in verse
4479         environments.
4481 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4483         * org.el (org-open-at-point): Fix tags searches by mouse click.
4485 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4487         * org-export-latex.el (org-export-latex-preprocess): Implement the
4488         centering markup.
4490         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4491         from `org-export-mark-blockquote-and-verse'.
4492         (org-export-as-html): Implement the centering markup.
4494         * org-export-latex.el (org-export-latex-tables): Fix vertical
4495         lines in tables.
4497 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4499         * org.el (org-read-date-history): New variable.
4500         (org-read-date): Use new history variable.
4501         (org-toggle-heading): Fix bug when used before first headline.
4502         (org-store-log-note): Remove drawer if empty while note is
4503         aborted.
4504         (org-remove-empty-drawer-at): New function.
4505         (org-check-after-date): New command.
4506         (org-sparse-tree): New sparse tree command "a".
4508         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4510 2009-03-14  Bastien Guerry  <bzg@altern.org>
4512         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4513         column and a space, not only a column.
4515 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4517         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4518         defaults for verbose emphasis.
4519         (org-export-latex-emph-format): New function.
4520         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4522         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4523         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4524         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4525         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4526         commands.
4528         * org.el (org-timestamp-change): Move end-time along with start
4529         time.
4531 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4533         * org-exp.el (org-export-target-internal-links)
4534         (org-export-as-html): Protect links specified as #name.
4536 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4538         * org.el (org-clone-subtree-with-time-shift): New command.
4540         * org-export-latex.el (org-export-latex-special-chars)
4541         (org-export-latex-treat-sub-super-char): Fix subscript export.
4543         * org-exp.el (org-create-multibrace-regexp): Do not add
4544         backslashes to the class.
4546 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4548         * org-colview.el (org-columns-map): Better functions for moving up
4549         and down a row, even if `truncate-line' is nil.
4551         * org.el (org-insert-todo-heading): Make sure the keyword is
4552         inserted at the correct position.
4554         * org-publish.el (org-publish-project-alist)
4555         (org-publish-projects, org-publish-org-index): Change default anme
4556         for the index of file names to "sitemap.org".
4558         * org-export-latex.el (org-export-latex-tables): Use
4559         `org-split-string', for Emacs 21 compatibility.
4561 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4563         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4565 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4567         * org-exp.el (org-export-page-description)
4568         (org-export-page-keywords): New variables.
4569         (org-export-plist-vars): Add entries for :keywords and
4570         :description.
4571         (org-infile-export-plist): Parse for new keywords.
4572         (org-get-current-options): Add new keywords
4573         (org-export-as-html): Publish description and keywords.
4575         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4576         option.
4577         (org-agenda-add-entry-text): Honor
4578         `org-agenda-add-entry-text-descriptive-links'.
4580         * org-export-latex.el (org-export-latex-preprocess): Make all
4581         external preprocess functions use a PARAMETER arg.
4583         * org-exp.el (org-export-preprocess-string)
4584         (org-export-select-backend-specific-text)
4585         (org-export-format-source-code-or-example)
4586         (org-format-org-table-html): Support docbook export.
4587         (org-export-preprocess-string): Make all external preprocess
4588         functions use a PARAMETER arg.
4590 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4592         * org-exp.el (org-export-html-style-include-scripts): New option.
4593         (org-export-plist-vars): Add new option
4594         `org-export-html-style-include-scripts'.
4595         (org-export-as-html): Honor new option
4596         `org-export-html-style-include-scripts'.
4597         (org-export-html-scripts, org-export-html-style-default): Fix
4598         xml issues with the Safari browser.
4600 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4602         * org-publish.el (org-publish-attachment): Only copy file when the
4603         directories differ.
4605 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4607         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4608         for clocktable steps.
4610         * org.el (org-additional-option-like-keywords): Add two more
4611         keywords.
4613 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4615         * org-exp.el (org-export-format-source-code-or-example): Mark
4616         temporary buffer unmodified, so that it will be killed even if
4617         mode like message mode has decided to assign a file name.
4619         * org.el (org-scan-tags): Improve tag inheritance.
4620         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4621         case-sensitive.
4622         (org-scan-tags): Use the internal tags list instead of creating it
4623         from scratch.
4624         (org-trust-scanner-tags, org-scanner-tags): New variables.
4625         (org-scan-tags): Set `org-scanner-tags'.
4626         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4627         (org-map-entries): Document the possible speedup using scanner
4628         tags.
4630 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4632         * org.el (org-add-planning-info): Fix bug with looking for keyword
4633         only at column 0.
4635         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4636         option for tags filter preset.
4637         (org-prepare-agenda): Store filter preset as a property on the
4638         filter variable.
4639         (org-finalize-agenda): Call the filter, if there is a preset.
4640         (org-agenda-filter-by-tag): Filter again after clearing the
4641         filter, when there still is a preset.
4642         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4643         Include the preset filter.
4644         (org-agenda-redo): Apply the filter again, also the preset filter.
4646         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4648         * org.el (org-uuidgen-p): New funtion.
4650         * org-agenda.el (org-agenda-fontify-priorities): New default value
4651         `cookies'.
4652         (org-agenda-fontify-priorities): Renamed from
4653         org-fontify-priorities.
4655         * org.el (org-set-font-lock-defaults): Call
4656         `org-font-lock-add-priority-faces'.
4657         (org-font-lock-add-priority-faces): New function.
4659         * org-faces.el: (org-set-tag-faces): New option.
4660         (org-priority-faces): New variable.
4662         * org-exp.el (org-export-as-html): Add a "content" div around the
4663         entire content of the body tag.
4664         (org-export-html-get-bibliography): New function.
4665         (org-export-html-validation-link): New variable.
4666         (org-export-as-html): Add validation link to exported page.
4668         * org.el (org-match-sparse-tree): Renamed from
4669         `org-tags-sparse-tree'.
4670         (org-tags-sparse-tree): New alias.
4672 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4674         * org.el (org-get-valid-level): Catch the case where the level
4675         change is nil.
4677         * org-clock.el (org-clock-find-position): Better indentation of
4678         new clock drawers.
4680 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4682         * org-agenda.el (org-agenda-quit): Delete window only when the
4683         frame-setup was not `current-window'.
4685         * org.el (org-tag-persistent-alist): New option.
4686         (org-startup-options): Add keyword `noptag'.
4687         (org-fast-todo-selection): Handle :newline correctly.
4688         (org-set-tags): Handle :newline correctly.
4689         (org-fast-tag-selection): Handle :newline correctly.
4691 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4693         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4694         outputting it.
4695         (org-export-ascii-push-links): Fix bug with pussing links into the
4696         export buffer.
4698 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4700         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4701         pasting at top level.
4703         * org-bbdb.el: Improve documentation.
4705 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4707         * org-list.el (org-insert-item): Only consider insert empty lines
4708         is `org-empty-line-terminates-plain-lists' is not nil.
4710         * org.el (org-blank-before-new-entry): Mention the dependence on
4711         `org-empty-line-terminates-plain-lists' in the docstring.
4713         * org-publish.el (org-publish-get-project-from-filename): New
4714         optional argument UP.  Only find the top project if UP is set.
4715         (org-publish-current-project): Find the top encloding project.
4717         * org-agenda.el (org-agenda-before-write-hook)
4718         (org-agenda-add-entry-text-maxlines): New options.
4719         (org-write-agenda): Run the new hook in the temporary buffer.
4720         (org-agenda-add-entry-text): New function.
4721         (org-write-agenda): Implement PDF export, using ps2pdf.
4723         * org.el (org-global-properties-fixed, org-global-properties):
4724         Improve documentation string.
4726         * org-exp.el (org-export-ascii-links-to-notes): New option.
4727         (org-export-as-ascii): Handle links better.
4728         (org-export-ascii-wrap, org-export-ascii-push-links): New
4729         functions.
4731 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4733         * org-agenda.el (org-agenda): Make prefix arg optional.
4734         (org-agenda-search-headline-for-time): New option.
4735         (org-format-agenda-item): Honor
4736         `org-agenda-search-headline-for-time'.
4738         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4739         characters.
4741         * org.el (org-self-insert-cluster-for-undo): New option.
4742         (org-self-insert-command): Cluster undo for 20 characters.
4743         (org-self-insert-command-undo-counter): New variable.
4745 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4747         * org-exp.el (org-export-as-html): Fix problem with closing colone
4748         example.
4750 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4752         * org-export-latex.el (org-export-as-latex)
4753         (org-export-latex-first-lines): Avoid modification flag when
4754         adding or removing text properties.
4755         (org-export-latex-fontify): Catch error when org-emph-alist has
4756         entries that are not defined for LaTeX export.
4758         * org.el (orgstruct++-mode): New function.
4759         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4760         (org-context-p): Allow detecting item context after the first line
4761         of an item.
4762         (orgstruct-make-binding): Detect if item-body context should be
4763         seen.
4764         (orgstruct-is-++): New variable.
4765         (org-add-planning-info): Catch the case when there is no planning
4766         info yet and the call does not want to add anything, only maybe
4767         tries to remove something.
4768         (org-special-ctrl-a/e): All value to be a cons cell with separate
4769         settings for `C-a. and `C-e'.
4770         (org-beginning-of-line, org-end-of-line): Honor separate values
4771         for `C-a' and `C-e'.
4773 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4775         * org.el (org-reload): New command.
4777 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4779         * org-exp.el (org-export-htm-get-tag-class-name)
4780         (org-export-htm-get-todo-kwd-class-name): New functions.
4781         (org-export-html-tag-class-prefix)
4782         (org-export-html-todo-kwd-class-prefix): New options.
4783         (org-export-as-html): Call
4784         `org-export-html-get-todo-kwd-class-name'.
4785         (org-html-level-start): Wrap tags into classes.
4786         (org-export-html-get-tag-class-name)
4787         (org-export-html-get-todo-kwd-class-name): New functions.
4789         * org-export-latex.el (org-export-latex-collect-header-macros):
4790         Remove fields that are used anyway.
4791         (org-export-latex-make-header): Insert the options earlier.
4793         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4794         matching.
4796         * org-list.el (org-indent-item): Allow point to be at the end of
4797         the region.
4799         * org.el (org-metaleft, org-metaright): Be more accurate about
4800         detecting a region where commands apply.
4802         * org-compat.el (org-cursor-to-region-beginning): New function.
4804         * org.el (org-priority): Also find invisible heading.
4806         * org-colview-xemacs.el (org-columns-edit-value): No special
4807         treatment for `org-todo' prefix.
4809         * org-colview.el (org-columns-edit-value): No special treatment
4810         for `org-todo' prefix.
4812         * org-remember.el (org-remember-apply-template): Use
4813         `org-completing-read-no-ido'.
4815         * org.el (org-completing-read-no-ido): New function.
4816         (org-make-tags-matcher, org-set-property): Use
4817         `org-completing-read-no-ido'.
4819         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4820         New option.
4821         (org-export-as-latex): Import in-buffer settings as TeX macros.
4822         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4823         (org-export-latex-collect-header-macros): New function.
4825         * org.el (org-refile-get-location): Turn off
4826         `partial-completion-mode'.
4828 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4830         * org.el (org-block-todo-from-checkboxes): Announce that
4831         checkboxes are the culprit.
4832         (org-block-todo-from-children-or-siblings): Call
4833         `org-up-heading-all instead' of `outline-up-heading'.
4835         * org-agenda.el (org-agenda-show-1): Renamed from
4836         `org-agenda-show'.
4837         (org-agenda-show): Re-install the old version for now.
4838         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4839         variable into the blokker hook, so that the checkbox checker can
4840         anounce that it caused the blocking.
4842         * org.el (org-track-ordered-property-with-tag): New option.
4843         (org-toggle-ordered-property): Honor
4844         `org-track-ordered-property-with-tag'.
4845         (org-tag-alist): Add newline options.
4846         (org-set-regexps-and-options): Separate option lines imply a
4847         newline.
4848         (org-set-regexps-and-options, org-assign-fast-keys)
4849         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4850         option.
4851         (org-indent-line-function): Make sure this works even if there is
4852         not `org-drawer-regexp' defined.  This can happen when
4853         orgstruct-mode is used in a non-org buffer.
4855         * org-list.el (org-checkbox-blocked-p): New function.
4856         (org-toggle-checkbox): Check for blocking.
4858         * org.el (org-modules): Add an entry for org-R.el.
4860         * org-agenda.el (org-agenda-todo-ignore-with-date)
4861         (org-agenda-todo-ignore-scheduled)
4862         (org-agenda-todo-ignore-deadlines): Mention the variable
4863         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4865         * org.el (org-get-wdays): Find the warning period also if it is in
4866         the wrong place.
4867         (org-ido-completing-read): Provide the correct arguments to
4868         ido-completing-read and bind `ido-enter-matching-directory' to
4869         nil.
4871 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4873         * org.el (org-olpath-completing-read): Never use ido for this
4874         one.
4876         * org-exp.el (org-export-normalize-links): Use new macro.
4878         * org-macs.el (org-if-unprotected-at): New macro.
4880         * org-agenda.el (org-agenda-show): Allow numerical prefix
4881         arguments to specify how much context should be shown.
4882         (org-agenda-cycle-show): New command, could be bound to SPC in
4883         org-agenda-mode-map.
4885         * org-exp.el (org-html-level-start): Space after section number.
4887 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4889         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4890         property, for sorting.
4891         (org-cmp-todo-state): Get the applicable TODO keywords directly
4892         from the buffer.
4893         (org-run-agenda-series, org-agenda-list, org-search-view)
4894         (org-todo-list, org-tags-view): Only fit agenda window when the
4895         whole series is done.
4897         * org.el (org-scan-tags): Add todo state as property, for sorting.
4899         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4900         `org-agenda-overriding-header' as an option.
4901         (org-agenda-list): Honor org-agenda-overriding-header'.
4903 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4905         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4906         after removing a checkbox.
4908         * org.el (org-show-entry): Make this work correctly also if it is
4909         the last entry in the file.
4910         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4911         falling back to normal, default command.
4912         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4913         item, call the checkbox toggler to get a box.
4915         * org-list.el (org-toggle-checkbox): Make double prefix set the
4916         checkbox to "[-]".
4917         (org-fix-bullet-type): Only replace bullet if it is changed.
4918         (org-renumber-ordered-list): Handle case when first item does not
4919         have a number.
4921         * org.el (org-add-log-setup): Fix positioning when
4922         `org-log-states-order-reversed' is nil.
4924         * org-clock.el (org-clock-in): Fix positioning when
4925         `org-log-states-order-reversed' is nil.
4926         (org-clock-find-position): Fix positioning when
4927         `org-log-states-order-reversed' is nil.
4929 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4931         * org-clock.el (org-clock-into-drawer): Take default from
4932         `org-log-into-drawer'.
4933         (org-clock-find-position): Look for the correct drawer.
4935         * org.el (org-log-into-drawer): Renamed from
4936         `org-log-state-notes-into-drawer'.
4937         (org-log-state-notes-into-drawer): New variable alias.
4938         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4939         CLOCK.
4940         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4942 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4944         * org-agenda.el (org-agenda): Fix docstring.
4946         * org.el ("org-plot"): Help loading org-plot.
4947         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4948         (org-metadown-hook, org-shiftmetaleft-hook)
4949         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4950         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4951         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4952         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4953         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4955         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4956         for selecting files with any (and even without) extension.
4958         * org.el (org-save-all-org-buffers): Also save id locations.
4959         (org-revert-all-org-buffers): Also load id locations.
4961 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4962         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4963         (org-log-state-notes-into-drawer): New option.
4964         (org-add-log-setup): Place the sate note marker into the drawer,
4965         create drawer when necessary.
4966         (org-refile-targets): Document special interpretation of LEVEL
4967         when odd-levels are used.
4969 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4971         * org.el (org-store-log-note): Fix note indentation when adding
4972         notes to end of list.
4974         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4975         class, so that each keyword can get special colors through CSS.
4977         * org-clock.el (org-clock-out): Add another nil for the previous
4978         state into the call to `org-add-log-setup'.
4980         * org.el (org-log-note-previous-state): New variable.
4981         (org-log-note-headings): New %S escape for old state.
4982         (org-todo): Call the note setup with the old state as an
4983         argument.
4984         (org-add-note): Add another nil for the previous state into the
4985         call to `org-add-log-setup'.
4986         (org-add-log-setup): New argument PREV-STATE.
4987         (org-add-log-note): Handle new %S escape.
4988         (org-store-log-note): Handle new %S escape.
4990 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4992         * org-clock.el (org-clock-find-position): Do not swallow an item
4993         less indented than the CLOCK line itself.
4994         (org-clock-in): Push markers to lin after the clock line.
4995         (org-clock-find-position): Handle values of
4996         `org-clock-into-drawer' smaller than 2.
4998         * org-exp.el (org-html-level-start): Add a CSS class to section
4999         numbers.
5000         (org-export-html-toplevel-hlevel): Better documentation of the
5001         influence of this variables on H levels and css classes in
5002         export.
5004 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
5006         * org-agenda.el (org-agenda-custom-commands-local-options): Add
5007         timestamp and nottimestamp to the chooe menu.
5009         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
5010         (org-revert-all-org-buffers): New command.
5012 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
5014         * org.el (org-return): Implement `org-return-follows-link' in the
5015         function org-return.  This is more robust than using the mouse
5016         map, I think.
5017         (org-set-regexps-and-options): Match more general #+TODO lines.
5018         (org-make-options-regexp): New optional argument EXTRA, for an
5019         extra regexp.
5020         (org-tab-follows-link): Mark as deprecated.
5022 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
5024         * org-exp.el (org-export-preprocess-string): Remove clock lines
5025         earlier, so that they cannot cotribute to verbatim snippets.
5027 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
5029         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
5030         for finding drawers.
5031         (org-export-as-ascii, org-export-as-html): Count levels relative
5032         to the subtree header.
5033         (org-get-min-level): New optional argument OFFSET.
5034         (org-export): Make sure point is restored after popping up that
5035         window.
5037         * org.el (org-do-sort): Also take an inactive timestamp if no
5038         active one is found.
5040         * org-colview-xemacs.el (org-columns-capture-view): Copy before
5041         deleting duplicates.
5043         * org-colview.el (org-columns-capture-view): Copy before
5044         deleting duplicates.
5046         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
5047         text before first headline.
5049         * org.el (org-format-latex): Do not convert LaTeX fragments in
5050         protected examples.
5052 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
5054         * org-exp.el (org-export-html-style-default): Use color values
5055         instead of names for XHTML validation.
5057         * org.el (org-get-scheduled-time, org-get-deadline-time): New
5058         functions.
5059         (org-return-follows-link): Revert making this the default untile
5060         issues are resolved.
5062         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
5063         nottimestamp.
5065 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
5067         * org.el (org-mode): Make dependence stuff work more reliably.
5068         (org-update-parent-todo-statistics): Fix bug with updating
5069         statistics cookie.
5071         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
5072         ~ as verbatim delimiters.
5074         * org-exp.el (org-export-html-format-image): New argument
5075         PAR-OPEN.
5076         (org-export-as-html): Pass par-open to
5077         `org-export-html-format-image'.
5079 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
5081         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
5082         (org-use-fast-todo-selection, org-tags-column): New default
5083         setting for variables, based on a poll what typical uses use.
5085         * org-agenda.el (org-agenda-sorting-strategy)
5086         (org-agenda-tags-column): New default setting for variables, based
5087         on a poll what typical uses use.
5089 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
5091         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
5092         blocked entries from setting the blocked tag.
5094         * org-exp.el (org-export-html-footnotes-section): Use a more
5095         consistent id for footnotes.
5097         * org-export-latex.el (org-export-latex-classes): Remove the
5098         a4paper option from the default styles.
5100 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
5102         * org.el (org-enforce-todo-checkbox-dependencies): New option.
5103         (org-block-todo-from-checkboxes): New function.
5104         (org-todo): Make tripple prefix arg circumvent blocking.
5106         * org-timer.el (org-timer): Provide the timer feature.
5108         * org.el (org-require-autoloaded-modules): Add a few more files to
5109         the list of autoloaded modules.
5111         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5113 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
5115         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5116         drawers that are unprotected.
5117         (org-export-html-format-image): Make sure inlined LaTeX fragment
5118         images remain inlined.
5120         * org.el (org-toggle-ordered-property): New function.
5121         (org-mode-map): Add a key for `org-toggle-ordered-property'.
5122         (org-org-menu): Add menu entries for TODO dependencies.
5124 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
5126         * org.el (org-default-properties): Add ORDERED to the default
5127         properties, to get completion support for it.
5129         * org-list.el (org-update-checkbox-count): Update more than one cookie.
5131         * org.el (org-update-parent-todo-statistics): Update more than one
5132         cookie.
5134         * org-agenda.el (org-agenda-get-todos): Start search from correct
5135         position.
5137         * org.el (org-fast-todo-selection): Make sure TODO selection does
5138         not change buffer position.
5140         * org-list.el (org-toggle-checkbox): Implement adding or removing
5141         checkboxes from line or region when called with a prefix
5142         argument.
5144         * org-rmail.el (org-rmail-store-link): Protect the call to
5145         `rmail-narrow-to-non-pruned-header'.
5147         * org-clock.el (org-clock-special-range): Fix week display in
5148         clock tables.
5150         * org-exp.el (org-get-current-options): Fix bug when in indirect
5151         buffer.
5153 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
5155         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5156         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5157         (org-agenda-dim-blocked-tasks): New function.
5159         * org.el (org-enforce-todo-dependencies): New option.
5160         (org-block-todo-from-children-or-siblings): New function.
5162         * org-faces.el (org-agenda-dimmed-todo-face): New face.
5164         * org.el (org-todo): Return correct state type even if the blocker
5165         throws an error.
5166         (org-modifier-cursor-error): Renamed from
5167         `org-shiftcursor-error'.
5168         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5169         (org-shiftmetadown): Call `org-modifier-cursor-error'.
5171         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5172         to get real errors from the blocker hook.
5174         * org.el (org-shiftselect-error, org-call-for-shift-select): New
5175         functions.
5176         (org-set-visibility-according-to-property): Turn off the setting
5177         of `org-show-entry-below', to avoid overruling a FOLDED visibility
5178         property.
5180 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5182         * org.el (org-support-shift-select): New option.
5183         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5184         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5185         selection outside contexts.
5187         * org-list.el (org-at-item-bullet-p): New function.
5189         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5190         variables.
5192         * org-footnote.el (org-footnote-normalize): Remove unnecessary
5193         variable.
5194         (org-insert-footnote-reference-near-definition): Remove
5195         unnecessary let form.
5197         * org-export-latex.el (org-export-latex-first-lines): Add
5198         OPT-PLIST parameter.
5199         (org-export-as-latex): Call `org-export-latex-first-lines' with
5200         opt-plits parameter.
5201         (org-export-latex-preprocess): Remove unnecessary variables.
5203         * org-exp.el (org-infile-export-plist)
5204         (org-export-add-options-to-plist, org-export-kill-licensed-text)
5205         (org-export-remove-headline-metadata)
5206         (org-export-get-title-from-subtree, org-get-min-level)
5207         (org-html-do-expand): Remove innecessary let form.
5209         * org-colview-xemacs.el (org-columns-display-here): Remove
5210         unnecessary variables.
5212         * org-colview.el (org-columns-display-here): Remove unnecessary
5213         variables.
5215         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
5216         variables.
5218         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
5219         unnecessary variables.
5221         * org-agenda.el (org-search-view, org-agenda-get-blocks)
5222         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
5223         variables.
5225         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
5226         (org-compact-display-after-subtree-move): Remove unnecessary
5227         variables.
5228         (org-edit-fixed-width-region): Remove unnecessary variables.
5229         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
5230         (org-olpath-completing-read): Remove unnecessary variable.
5231         (org-auto-repeat-maybe): Remove unnecessary variable.
5232         (org-map-entries): Remove unnecessary variable.
5233         (org-buffer-property-keys, org-imenu-get-tree)
5234         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
5236 -----------------------------------------------------------------
5238 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5239         * org-exp.el (org-export-remove-timestamps): Never remove
5240         timestamps from tables.
5242         * org-export-latex.el (org-export-latex-first-lines): Add more
5243         options to the preprocessing of the text before the first
5244         headline.
5246 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
5248         * org-faces.el (org-clock-overlay): Make face compatible with
5249         XEmacs.
5251         * org.el (org-yank): Add property for delete-selection mode.
5253         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5255         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5256         variable.
5258         * org-table.el (org-table-insert-hline): Fix typo in fuction call
5259         to `backward-char'.
5261         * org-exp.el (org-export-as-html): Remove the initial space from
5262         colon examples.
5264         * org.el (org-scan-tags): Call
5265         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5267         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5268         customization groups.
5269         (org-agenda-tags-todo-honor-ignore-options): New option.
5270         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5271         New function.
5272         (org-agenda-get-todos): Use
5273         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5275 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
5277         * org-exp.el (org-export-format-source-code-or-example): Escape
5278         HTML characters also in examples that anre not treated with
5279         htmlize.  Also, just switch to EXAMPLE processing if we do not
5280         have a good version of htmlize.
5282         * org-rmail.el: Fix copyright notice.
5284         * org.el (org-activate-footnote-links): Improve footnote link
5285         highlighting.
5287         * org-footnote.el (org-footnote-normalize): Fix finding the end of
5288         a footnote definition at the end of the file.
5290         * org-table.el (org-table-get-specials): Add an imagined hline at
5291         the end of the table.  This can be useful for references that want
5292         to go to the end of the table.  Also fix bug when computing last
5293         row constants, in tables that do not start right at the right
5294         margin.
5295         (org-table-eval-formula): Match and replace remove references.
5296         (org-table-formula-substitute-names): Make sure that names inside
5297         a "remote" call are left alone, the will be replaced later when
5298         the remote call is handled.
5299         (org-table-convert-refs-to-rc): Do not convert things that might
5300         look like a reference, but are really part of an ID or namei n a
5301         remote reference.
5302         (org-table-get-remote-range): New function.
5304 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
5306         * org-faces.el (org-clock-overlay): Fix bug in face definition.
5308         * org-clock.el (org-clock-put-overlay): Use new face instead of
5309         `secondary-selection'.
5311         * org-faces.el (org-clock-overlay): New face.
5313 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
5315         * org-exp.el (org-get-current-options): Include the option for
5316         publishing time stamps.
5318         * org.el (org-toggle-heading): Renamed from
5319         `org-toggel-region-headings'.
5320         No longer needs a region defined, but will use it if there is one.
5321         (org-ctrl-c-star): Simplified, relying more on the internal
5322         workings of `org-toggle-heading'.
5323         (org-toggle-item): Renamed from `org-toggle-region-items'.
5324         No longer needs a region defined, but will use it if there is one.
5325         (org-ctrl-c-minus): Simplified, relying more on the inernal
5326         workings of `org-toggle-item'.
5328         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5329         environment detection.  Also, do real changes only in unprotected
5330         places.
5332 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
5334         * org-export-latex.el (org-export-latex-quotation-marks): Use
5335         `org-if-unprotected-1'.
5336         (org-export-latex-set-initial-vars): Check for class definition in
5337         property.
5339         * org-macs.el (org-if-unprotected-1): New macro.
5341 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
5343         * org-compat.el (org-count-lines): New function.
5345         * org-exp.el (org-export-format-source-code-or-example): Handle
5346         switches related to text areas.
5348         * org.el (org-activate-footnote-links): Don't allow match inside a
5349         link.
5351         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5353         * org-export-latex.el (org-export-latex-links): Keep a relative
5354         path relative also after export.
5356         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5358         * org.el (org-make-tags-matcher): Never use IDO for completing the
5359         tags matcher match string.
5360         (org-completing-read): Also remove the special biding for "?".
5362         * org-attach.el (org-attach-allow-inheritance): New option.
5363         (org-attach-inherited): New variable.
5364         (org-attach-dir): Handle properties related to the attachment
5365         directory.
5366         (org-attach-check-absolute-path): New function.
5367         (org-attach-set-directory, org-attach-set-inherit): New commands.
5368         (org-attach): Accommodate the new commands in the dispatcher.
5370 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
5372         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5373         `window-full-width-p'.
5375         * org-exp.el (org-export-as-html): Only check for images files
5376         that really can be inlined
5378         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5379         list of extensions to be a parameter.
5381         * org-exp.el (org-export-html-inline-image-extensions): New
5382         variable.
5384         * org-agenda.el (org-prepare-agenda): Use
5385         `org-agenda-block-separator'.
5386         (org-agenda-block-separator): New option.
5388 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
5390         * org-export-latex.el (org-export-latex-tables): Call
5391         `org-table-clean-before-export' with the new optional argument.
5393         * org-exp.el (org-table-clean-before-export): New optional
5394         parameter MAYBE-QUOTED, allows for quoted characters like \# in
5395         first column.
5397 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
5399         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5400         histograms.
5402         * org-colview.el (org-colview-construct-allowed-dates): Better
5403         error catching when a date/time property does not have allowed
5404         values defined.
5406         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5407         Better error catching when a date/time property does not have
5408         allowed values defined.
5410 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
5412         * org.el (org-map-entries): Restore point and restriction after
5413         `org-map-entries'.
5415 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
5417         * org.el (org-time=, org-time<, org-time<=, org-time>)
5418         (org-time>=, org-time<>): Make sure both values are dates.
5420 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
5422         * org-archive.el (org-extract-archive-heading): Allow %s for file
5423         name also in achive location heading.
5425 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
5427         * org-archive.el (org-add-archive-files): Uniquify the list before
5428         returning it.
5430 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
5432         * org-compat.el (org-fit-window-to-buffer): Use
5433         `window-full-width-p'.
5435         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5436         space after the colon in short examples.
5438         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5439         enforce a space after the colon.  However, we also allow lines
5440         that are *only* a colon.
5441         (org-export-as-html): Enforce the space after the colon in short
5442         examples.
5443         (org-export-preprocess-string): Do the colon example protection
5444         earlier.
5445         (org-export-remove-timestamps): Do not check for protection at the
5446         end of the line.
5448 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5450         * org.el (org-format-latex-options): Add new matcher for single
5451         letters between dollars.
5452         (org-get-header): Function removed.
5453         (org-heading-components): New function.
5455         * org-exp.el (org-export-define-heading-targets): Record ID's also
5456         as alternative targets.
5457         (org-export-as-html): Interpret "id:" links to other files by
5458         preserving the relative path.
5460         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5461         is nil.
5463         * org-exp.el (org-export-normalize-links): Protect the main link,
5464         to avoid special character processing.
5466         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5467         New variable.
5468         (org-export-latex-special-string-regexps): Variable removed.
5469         (org-export-latex-keywords): Use the new regexp.
5471         * org-exp.el (org-export-handle-include-files): Fetch switches and
5472         put them into the BEGIN statement.
5474         * org-timer.el (org-timer-mode-line-string): New variable.
5476         * org-clock.el (org-clock-mode-line-map): Renamed from
5477         `org-clock-mode-map'.
5478         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5479         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5480         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5481         (org-clock-remove-overlays): Renamed from
5482         `org-remove-clock-overlays'.
5484         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5485         and mode line display.
5486         (org-timer-stop): New command.
5487         (org-timer-seconds): Return correct time when timer is paused.
5488         (org-timer-mode-line-timer): New variable.
5489         (org-timer-set-mode-line, org-timer-update-mode-line): New
5490         functions.
5492         * org.el (org-insert-heading):  Handle new value `auto' for
5493         `org-blank-before-new-entry'.
5494         (org-org-menu): Add new items for timer functions.
5496         * org-list.el (org-insert-item): Handle new value `auto' for
5497         `org-blank-before-new-entry'.
5499         * org.el (org-blank-before-new-entry): New value `auto', made
5500         default.
5502 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5504         * org-exp.el (org-export-normalize-links): If the link is also
5505         used as the description, protect the description.
5507 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5509         * org.el (org-closest-date): Fix bug with yearly repeats, in
5510         combination with preference of the past as it is used for deadline
5511         and scheduling search.
5513         * org-exp.el (org-html-handle-time-stamps): No longer check for
5514         the `org-export-with-timestamps' option, because the preprocesser
5515         has taken care of this already.
5517         * org.el (org-entry-properties): Catch the case when this is
5518         called in a non-org-mode file.
5520         * org-export-latex.el (org-export-latex-remove-from-headlines):
5521         Variable made obsolete, also LaTeX export now uses the standard
5522         variables.
5523         (org-export-as-latex): Add the timestamps parameter to the
5524         preprocessor parameter list.
5525         (org-export-latex-content): Export the remaining keywords without
5526         considering to remove them.
5527         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5528         Use bold font instead of tt font for the keywords.
5529         (org-export-latex-fontify-headline): Format headlines, assuming
5530         that all keywords still present should be published.
5531         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5532         publish what ever remains of the time stamps.
5533         (org-export-latex-list-parameters): New option.
5534         (org-export-latex-lists): Pass additional parameters to the list
5535         converter.
5537         * org-exp.el (org-export-preprocess-string): Remove clock lines
5538         and timestamps already in the preprocesor.
5539         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5540         functions.
5541         (org-export-as-ascii, org-export-as-html): Add the timestamps
5542         parameter to the preprocessor parameter list.
5544         * org-list.el (org-list-parse-list): Parse for checkboxes.
5545         (org-list-to-generic): Introduce and handle new parameters :cbon
5546         and :cboff.
5547         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5548         optional parameter PARAMS.
5550         * org-export-latex.el (org-export-latex-special-chars): Fix
5551         problems with interpreting dollar signs.
5552         (org-inside-latex-math-p): New function.
5553         (org-export-latex-preprocess): Protect all the math fragments.
5555         * org.el (org-latex-regexps): Allow a dash after a dollar.
5557         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5558         mark after copying.
5560         * org-agenda.el (org-run-agenda-series): Have series options set
5561         when finalizing the agenda.
5563         * org-exp.el (org-export-format-source-code-or-example): Protect
5564         the converted examples.
5566         * org.el (org-set-regexps-and-options): Fix the regexp
5567         `org-complex-heading-regexp'.
5569 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5571         * org.el (org-edit-src-get-label-format): New function.
5572         (org-coderef-label-format): New option.
5573         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5574         a label format specification and make sure it is used in the edit
5575         buffer.
5576         (org-edit-src-get-label-format): New function.
5577         (org-store-link): Handle new coderef formats.
5578         (org-link-search): Handle new coderef formats.
5580         * org-footnote.el (org-footnote-create-definition)
5581         (org-footnote-goto-local-insertion-point): Make footnote insertion
5582         work correctly when the "Footnotes" headline is the last line in
5583         the buffer.
5585         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5586         the location.
5588 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5590         * org-w3m.el (org-w3m): New customization group.
5591         (org-w3m-deactivate-mark): New option.
5592         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5593         option say not to.
5595 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5597         * org.el (org-set-font-lock-defaults): Trigger footnote
5598         fontification.
5599         (org-activate-footnote-links): New function.
5600         (org-activate-links): New entry `footnote'.
5602         * org-faces.el (org-footnote): New face.
5604 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5606         * org-macs.el (org-re): Handle the [:word:] class.
5608         * org-exp.el (org-export-preprocess-string): Call
5609         `org-export-protect-colon-examples'.
5610         (org-export-protect-colon-examples): Renamed from
5611         `org-export-protect-examples', and scope limited to lines starting
5612         with a colon.
5614 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5616         * org-exp.el (org-export-preprocess-string): Move the preprocess
5617         hook to after turning on Org-mode.
5618         (org-export-preprocess-after-include-files-hook)
5619         (org-export-preprocess-after-tree-selection-hook)
5620         (org-export-preprocess-before-backend-specifics-hook)
5621         (org-export-preprocess-final-hook): New hooks.
5622         (org-export-preprocess-string): Run the new hooks.
5624         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5626         * org-footnote.el: New file.
5628         * org.el (org-footnote): Require footnote code.
5629         (org-startup-options): Add new footnote options.
5630         (org-mode-map): New keybindig for footnotes.
5631         (org-ctrl-c-ctrl-c): Add function at footnotes.
5632         (org-org-menu): New menu entries for footnotes.
5634         * org-export-latex.el (org-export-as-latex): Pass footnote
5635         variable to preprocessor.
5636         (org-export-latex-preprocess): Treat multiple references to a
5637         footnote.
5639         * org-exp.el (org-export-preprocess-string): Call
5640         `org-footnote-normalize'.
5641         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5642         to preprocessor.
5643         (org-export-as-html): Treat multiple references to a footnote.
5645 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5647         * org-export-latex.el (org-export-latex-links): Handle coderef
5648         links.
5650         * org.el (org-bracket-link-analytic-regexp++): New variable.
5651         (org-make-link-regexps): Initialize
5652         `org-bracket-link-analytic-regexp++'.
5653         (org-store-link): Implement special case in edit-src buffer.
5654         (org-insert-link): No use of ide to insert stored links.
5655         (org-link-search): Implement special case for coderefs.
5657         * org-exp.el (org-export-html-scripts): New constant.
5658         (org-export-html-style-default): Add a new style for highlighted
5659         code.
5660         (org-export-code-refs): New variable.
5661         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5662         Call `org-export-replace-src-segments-and-examples'
5663         No longer call `org-export-protect-examples'.
5664         (org-export-target-internal-links): Take care of coderef targets.
5665         (org-export-last-code-line-counter-value): New variable.
5666         (org-export-replace-src-segments-and-examples): Renamed from
5667         `org-export-replace-src-segments', and modified.
5668         (org-export-format-source-code-or-example): Renamed from
5669         `org-export-format-source-code'.
5670         (org-export-number-lines): New function.
5671         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5673 --------------------------------------------------------------------------
5675 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5677         * org-remember.el (org-remember-handler): Safer way to get a new
5678         buffer accessing the target file.
5680         * org.el (org-refile-get-location): Handle case of current buffer
5681         not having a file associated with it.
5683 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5685         * org-table.el (org-table-get-formula): Only ask to overwrite
5686         field formula if there really is one.
5688         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5689         number, by converting these to a string.
5691         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5692         located in a different file.
5694         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5695         org-colview.el.
5697 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5699         * org.el (org-completion-use-ido): Enhance docstring of
5700         `org-completion-use-ido'.
5702         * org-export-latex.el (org-export-latex-make-header): Double the %
5703         in the time stamp format.
5704         (org-export-latex-special-chars): Handle case where there is no
5705         match group 3.
5707 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5709         * org.el (org-get-refile-targets, org-refile-get-location): Use
5710         expanded file name to improve comparison.
5712 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5714         * org.el (org-scan-tags): Rescan for tags, to get the correct
5715         upcase/downcase stuff.  This slows things down for now, but it
5716         works.
5717         (org-mode): Make sure the tag-faces regexp is initialized.
5719         * org-export-latex.el (org-export-latex-links): Fix bug with
5720         undefined label.
5722         * org-table.el (org-table-get-specials): Set
5723         `org-table-current-last-data-line'.
5724         (org-table-current-last-data-line): New variable.
5725         (org-table-insert-column, org-table-delete-column)
5726         (org-table-move-column, org-table-fix-formulas): Call
5727         `org-table-fix-formulas' a second time to fix the $LR references.
5728         (org-table-get-specials): Add the $LR references to the tables.
5729         (org-table-get-formula): Do not offer last-row names as LHS of
5730         formulas.
5732         * org.el (org-store-link): Capture link description from
5733         `org-id-store-link'.
5735         * org-exp.el (org-export-html-format-image): Add the / to the end
5736         of the <img> tag.
5737         (org-export-format-source-code): Surround example by empty lines,
5738         to make sure it will not be inside a paragraph.
5740         * org.el (org-ido-switchb): New function.
5742 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5744         * org-agenda.el (org-agenda-show): New prefix argument
5745         FULL-ENTRY.
5747         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5748         argument.
5750         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5751         `org-agenda-change-all-lines'.
5752         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5753         tags are now retrieved locally.
5755 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5757         * org.el (org-get-outline-path): Fix bug if level is not given.
5758         (org-org-menu): Do not quote function in menu vector.
5760         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5761         name.
5763 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5765         * org.el (org-refile): Avoid refiling to within the region to be
5766         refiled.
5768         * org-export-latex.el (org-export-latex-special-chars): Replace
5769         special characters also in tables.
5771         * org-agenda.el (org-agenda-change-all-lines): New argument
5772         FORCE-TAGS.
5773         (org-agenda-set-tags): Cet the new tags and pass them to
5774         `org-format-agenda-item'.
5776 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5778         * org-export-latex.el (org-export-latex-classes): Add longable as
5779         a default package to all classes.
5780         (org-export-latex-tables): Handle the longtable attribute and the
5781         align attribute.
5783         * org-table.el (orgtbl-to-generic): Handle tables that start with
5784         a hline.
5786         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5787         \verb for colde-like snippets.
5788         (org-export-as-latex): Fix issues with region export.
5790         * org.el (org-up-heading-safe): Speed up function by using a
5791         direct regexp search.
5792         (org-olpa): New variable.
5793         (org-get-outline-path): Speed-up path constructions in cases where
5794         this is possible because the entire hierarchy is scanned anyway.
5795         (org-refile-get-location): Don't compare the truenames of files,
5796         this is too slow.
5797         (org-goto-max-level): New option.
5798         (org-goto): Use `org-goto-max-level'.
5800 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5802         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5803         Strip angle brackets from message-ids in the former and don't do
5804         it in the latter.
5805         (org-gnus-follow-link): Open summary reliable, even if the last
5806         messages were deleted, and handle empty groups, too.
5808 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5810         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5811         instead of \texttt for the =...= and ~===~ emphasis environments.
5812         (org-export-as-latex): Remove any old :org-license-to-kill text
5813         properties.
5814         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5815         (org-export-latex-make-header): Add some hard space after the
5816         table of contents.
5817         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5818         exported text so that it will be excuded in further steps.
5820         * org-table.el (org-table-get-specials): Make @0 reference the
5821         last line in a table.
5822         (org-table-recalculate): Improve docstring.
5824 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5826         * org.el (org-log-done): Fix docstring.
5828 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5830         * org-exp.el (org-export-html-format-image): Fix bugs.
5832         * org-export-latex.el (org-export-latex-tables)
5833         (org-export-latex-links): Implement attribute, label, and caption
5834         handling.
5836         * org-exp.el (org-export-html-style-default): Add style
5837         definitions for the figure div.
5838         (org-export-preprocess-string, org-export-as-html): Implement
5839         attribute, label, and caption handling.
5840         (org-export-attach-captions-and-attributes): New function.
5841         (org-export-html-format-image): New function.
5842         (org-format-org-table-html): Implement attribute, label, and
5843         caption handling.
5845         * org.el (org-find-text-property-in-string): New function.
5846         (org-extract-attributes): Use the property org-attr instead of
5847         org-attrobutes, because this property is now set with the #+ATTR
5848         lines.
5850 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5852         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5853         the case that FROM is nil.
5855         * org.el (org-before-first-heading-p): New function.
5857 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5859         * org-exp.el (org-export-as-html): Do not add a space before
5860         enforces line breaks.
5861         (org-export-as-html): Close paragraph before blockquote and verse
5862         tags.
5864 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5866         * org-id.el (org-id-locations-file): Wrap file name with
5867         `convert-standard-filename'.
5868         (org-id-files): New variable.
5869         (org-id-use-hash): New option.
5870         (org-id-update-id-locations): Also search in all files current
5871         listed in `org-id-files'.  Convert the resulting alist to a hash
5872         if the user customation says so.
5873         (org-id-locations-save): Handle he case if `org-id-locations' is a
5874         hash.
5875         (org-id-locations-load): Convert the alist to a hash.
5876         (org-id-add-location): Handle the hast case.
5877         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5878         exited.
5879         (org-id-hash-to-alist, org-id-alist-to-hash)
5880         (org-id-paste-tracker): New functions.
5882 -------------------------------------------------------------------------
5884 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5886         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5887         bindings of calendar variables.
5889         * org-table.el (org-table-find-row-type): Renamed from
5890         `org-find-row-type'.
5891         (org-table-rewrite-old-row-references): Renamed from
5892         `org-rewrite-old-row-references'.
5893         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5894         (org-table-cleanup-narrow-column-properties): Renamed from
5895         `org-cleanup-narrow-column-properties'.
5897 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5899         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5900         for better error messages.
5901         (org-table-get-descriptor-line): Supply the new arguments to
5902         `org-find-row-type'.
5903         (org-table-error-on-row-ref-crossing-hline): New option.
5905         * org.el (org-target-link-regexp): Make buffer-local.
5906         (org-move-subtree-down): Fix bug with trees at beginning of
5907         buffer.
5909 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5911         * org-faces.el (org-set-tag-faces): New function.
5912         (org-tags-special-faces-re): New variable.
5914         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5916         * org-faces.el (org-tag-faces): New option.
5917         (org-tag): Mention `org-tag-faces' in the docstring.
5919 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5921         * org-exp.el (org-export-html-style-default): Implement new
5922         quoting.
5924         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5926         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5927         command to the `w3m-minor-mode-map'.
5929         * org-archive.el (org-archive-to-archive-sibling): Protect
5930         `this-command' to avoid appending kills during archiving.
5932         * org-exp.el (org-export-with-priority): New variable.
5933         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5934         instead of internal list of strings and properties.
5935         (org-print-icalendar-entries): Retrieve the location property with
5936         inheritance.
5938 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5940         * org-exp.el (org-export-with-todo-keywords): New option.
5941         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5942         line.
5943         (org-default-export-plist, org-export-add-options-to-plist)
5944         (org-export-as-ascii, org-export-as-html): Use the new structure
5945         of `org-export-plist-vars'.
5947         * org.el (org-map-entries): Return all values.
5949 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5951         * org.el (org-matcher-time): Recognize more special values.
5953         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5955 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5957         * org.el (org-tags-exclude-from-inheritance): New option.
5958         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5959         `org-tags-exclude-from-inheritance'.
5961         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5962         (org-format-agenda-item): Add inherited tags to the agenda line
5963         string, and make sure that properties are kept when downcasing the
5964         tags list.
5965         (org-agenda-add-inherited-tags): New function.
5966         (org-downcase-keep-props): New function.
5968         * org.el (org-scan-tags): Mark inherited tags with a text
5969         property.
5970         (org-get-tags-at): Mark inherited tags with a text property.
5971         (org-add-prop-inherited): New function.
5973         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5974         (org-agenda-show-inherited-tags): New option.
5976 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5978         * org.el (org-modules): Add org-w3m to the default modules.
5980         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5981         orgtbl-mode.
5982         (orgtabl-create-or-convert-from-region): New command.
5984         * org-exp.el (org-export-as-ascii): Remove the handling of
5985         targets.
5986         (org-export-ascii-preprocess): Handle targets already in this
5987         function.
5989 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5991         * org-timer.el (org-timer-start-time): Define this variable.
5992         (org-timer-item): Make argument optional.
5994         * org-list.el (org-insert-item): Automatically insert a timer item
5995         if the current list is a timer list.
5997         * org-timer.el: New file.
5999         * org-publish.el (org-publish-org-index): Only exclude the index
6000         file in the main directory from being added to the site-map.
6001         (org-publish-get-project-from-filename): If the current project is
6002         a component, start publishing from the parent project.
6004 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
6006         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
6008         * org-publish.el (org-publish-org-index): Improve removal of
6009         temporary buffers.
6011         * org-agenda.el (org-get-closed): Re-apply changes
6012         accidentially overwritten by last commit to Emacs.
6014         * org.el (org-outline-path-complete-in-steps): New option.
6015         (org-refile-get-location): Honor
6016         `org-outline-path-complete-in-steps'.
6017         (org-agenda-change-all-lines, org-tags-sparse-tree)
6018         (org-time-string-to-absolute, org-small-year-to-year)
6019         (org-link-escape): Re-apply changes accidentially overwritten
6020         by last commit to Emacs
6022 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
6024         * org-clock.el (org-dblock-write:clocktable): Make sure the
6025         clocktable sees the first line.
6026         (org-clock-in): Warn if the clock cannot be resumed.
6028 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
6030         * org.el (org-open-at-point): Fix mixup about interactive and
6031         non-interactive elisp links.
6033 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6035         * org-exp.el (org-export-preprocess-string): Allow one comment
6036         line before the first headline to always be included.  This is
6037         to not miss a commented target.
6039         * org-mouse.el (org-mouse-insert-item): Call
6040         `org-indent-to-column' instead of `indent-to', for XEmacs
6041         compatibility.
6043         * org.el (org-refile-targets): Fix customize definition so
6044         that it works also in XEmacs.
6045         (org-fixup-indentation): Call `org-indent-to-column' instead
6046         of `indent-to', for XEmacs compatibility.
6048 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
6050         * org-mew.el (org-mew-store-link): Get the correct case folder
6051         for refiled messages.
6053 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6055         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
6056         line break indicators.
6058         * org.el (org-ido-completing-read): Remove the "i:" prefix for
6059         ido-completion propts.
6061 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
6063         * org-remember.el (org-remember-apply-template): Use
6064         `org-substring-no-properties'.
6066         * org-compat.el (org-substring-no-properties): New function.
6068         * org-remember.el (org-remember-apply-template): Use
6069         `org-substring-no-properties' for compatibility.
6071         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
6072         option.
6073         (org-fix-bullet-type): respect
6074         `org-list-two-spaces-after-bullet-regexp'.
6076         * org-clock.el (org-clock-load): Clean up the code.
6078         * org.el (org-adaptive-fill-function): Allow two spaces after
6079         "1." as a list bullet.
6081 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
6083         * org-clock.el (org-clock-save, org-clock-load): Check for
6084         live buffers, existing files, and buffer file names to ensure
6085         consistent information.
6086         (org-clock-persist): Make `clock' a special value of this
6087         variable, and improve docstring.
6089         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
6090         (org-get-string-indentation): Adapt indentation when the bullet
6091         width changes.
6093 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
6095         * org-remember.el (org-remember-finalize): Make interactive.
6096         (org-remember-kill): New command.
6097         (org-remember-finish-immediately): Call `org-remember-finalize'
6098         directly.
6099         (org-remember-finalize): Make `org-remember-finalize' an interactive
6100         function.
6102 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
6104         * org-remember.el (org-remember-apply-template): No ido completion
6105         for free prompts in remember templates.
6106         (org-remember-before-finalize-hook): New hook.
6107         (org-remember-mode): New minor mode.
6108         (org-remember-apply-template): Turn on `org-remember-mode'.
6110         * org-id.el (org-id-add-location): Avoid error when no file is
6111         given.
6113         * org-remember.el (org-remember-apply-template): Fix the way how
6114         the list of allowed properties is retrieved from the target file.
6116         * org.el (org-insert-link): Improve file link matching.
6118 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
6120         * org-colview.el (org-columns-display-here): New argument
6121         DATELINE, to trigger using the new face.
6122         (org-agenda-colview-summarize): Call `org-columns-display-here'
6123         with the new argument.
6125         * org-faces.el (org-agenda-column-dateline): New face.
6127         * org-publish.el (org-publish-org-index): Use index-title at page
6128         title, not as section.
6130         * org-exp.el (org-export-html-format-desc): Respect the
6131         org-protect property.
6132         (org-export-as-html): Protect image specifiers that are in the
6133         description part of a link.
6135         * org.el (org-sort-entries-or-items, org-completing-read)
6136         (org-refile-get-location, org-olpath-completing-read, org-todo)
6137         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6138         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6139         (org-set-property, org-delete-property)
6140         (org-delete-property-globally): Use `org-ido-completing-read'.
6142         * org-remember.el (org-remember-apply-template): Use
6143         `org-ido-completing-read'.
6145         * org-publish.el (org-publish): Use `org-ido-completing-read'.
6147         * org-colview.el (org-columns-edit-value, org-columns-new)
6148         (org-insert-columns-dblock): Use `org-ido-completing-read'.
6150         * org-colview-xemacs.el (org-columns-edit-value)
6151         (org-columns-new, org-insert-columns-dblock): Use
6152         `org-ido-completing-read'.
6154         * org-attach.el (org-attach-delete-one, org-attach-open): Use
6155         `org-ido-completing-read'.
6157         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6158         `org-ido-completing-read'.
6160         * org.el (org-time-today): New function.
6161         (org-matcher-time): Use `org-time-today'.  Add special treatment
6162         for "<tomorrow>" and "<yesterday>".
6163         (org-ido-completing-read): New function.
6164         (org-completion-use-ido): New option.
6166         * org-exp.el (org-export-format-source-code): Fix bug in require
6167         htmlize code.
6168         (org-export-target-internal-links): Fix bug in search for text
6169         property.
6171 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
6173         * org-export-latex.el (org-export-latex-subcontent): Interprete
6174         target aliases as additonal labels.
6176         * org-exp.el (org-export-target-aliases): New variable.
6177         (org-export-preprocess-string)
6178         (org-export-handle-invisible-targets): Fill the alias alist.
6179         (org-export-as-html): Remove the &nbsp; from the anchor, and also
6180         assign an id.
6181         (org-html-level-start): Insert the target aliases as additonal
6182         anchors.
6184         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6185         picture area.
6187 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
6189         * org.el (org-open-at-mouse): Ensure correct link abbreviations
6190         when following a link with the mouse from the agenda.
6192         * org-exp.el (org-export-as-html): Avoid lone </div> when no
6193         headlines are created.
6195 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
6197         * org-exp.el (org-export-preprocess-string): Reorder so that we
6198         can still see ID properties when we collect targets.
6199         (org-export-target-internal-links): Also store targets for ID's.
6201         * org.el (org-link-translation-function): New option.
6202         (org-open-at-point): Call `org-link-translation-function' if
6203         non-nil.
6204         (org-translate-link): New function.
6205         (org-translate-link-from-planner): New function.
6206         (org-open-at-point): Allow interactive commands in elisp links.
6208         * org-exp.el (org-icalendar-cleanup-string): Restore the old
6209         iCalendar quoting.  The new one seems to caus problems with
6210         applications.
6212         * org.el (org-yank): Set `this-command' to `yank', so that
6213         `yank-pop' will work.
6215 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6217         * org-id.el (org-id-search-archives): New option.
6219         * org.el (org-link-to-org-use-id): New option.
6220         (org-store-link): Use `org-link-to-org-use-id'.
6221         (org-id): Make org-id.el a standard component.
6223 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6225         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6226         hexified version of the tag.
6228         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6229         compliance as far as quoting is concerned.
6231         * org-vm.el (org-vm-follow-link): Require `vm-search'.
6233         * org.el (org-up-heading-safe, org-forward-same-level): Always
6234         call `org-back-to-heading' instead of `outline-back-to-heading'.
6235         (org-back-to-heading): New wrapper around outline-back-to-heading,
6236         with a useful error message telling where the error happened.
6238         * org-list.el (org-update-checkbox-count): Always call
6239         `org-back-to-heading' instead of `outline-back-to-heading'.
6241         * org-exp.el (org-export-as-html): Make sure that each <img> tag
6242         has an `alt' attribute, to ensure XHTML validation.
6244 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
6246         * org-publish.el (org-publish-attachment): Allow publishing to
6247         overwrite attachment files.
6249         * org-agenda.el (org-agenda-timerange-leaders): New option.
6250         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6252         * org.el (org-edit-src-exit): Untabify ASCII image before
6253         returning.
6266 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
6268         * org.el (org-yank): Make any prefix force normal yanking.
6269         Suppress folding if text would be swallowed into a folded
6270         subtree.
6271         (org-yank-folded-subtrees, org-yank): Docstring updates.
6273         * org-agenda.el (org-agenda-compare-effort): Treat no effort
6274         defined as 0.
6276         * org-exp.el (org-export-language-setup): Add Catalan and
6277         Esperanto language entries.
6279 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
6281         * org.el (org-refile): Allow refiling of entire regions.
6283         * org-clock.el (org-clock-time%): New function.
6285         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6286         retrieve property values.
6288 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
6290         * org-agenda.el (org-agenda-list): Handle the value `only' of
6291         org-agenda-show-log'.
6292         (org-agenda-log-mode): Interpret a double prefix arg.
6294 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
6296         * org-exp.el (org-export-html-footnotes-section): New variable.
6297         (org-export-as-html): Use `org-export-html-footnotes-section' to
6298         insert the footnotes.
6299         (org-export-language-setup): Add "Footnotes" to language words.
6301 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
6303         * org.el (org-yank): Fix bug when not inserting a subtree.
6305 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
6307         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6308         instead of `vm-beginning-of-message'.
6310         * org.el (org-make-link-regexps): Make sure that links to gnus can
6311         contain brackets.
6313 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
6315         * org-attach.el (org-attach-dir): Remove duplicate ID creation
6316         code.
6318         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6319         shell output.
6321         * org.el (org-link-abbrev-alist): Improve customization type.
6323         * org-attach.el (org-attach-expand-link, org-attach-expand): New
6324         functions.
6326         * org-agenda.el (org-agenda-get-progress): Renamed from
6327         `org-get-closed'.  Implement searching for state changes as well.
6328         (org-agenda-log-mode-items): New option.
6329         (org-agenda-log-mode): New option prefix argument, interpreted as
6330         request to show all possible progress info.
6331         (org-agenda-get-day-entries): Call `org-get-progress' instead of
6332         `org-get-closed'.
6333         (org-agenda-set-mode-name): Handle the more complex log mode
6334         settings.
6335         (org-get-closed): New alias, pointing to `org-get-progress'.
6337 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
6339         * org.el (org-file-apps-defaults-gnu)
6340         (org-file-apps-defaults-macosx)
6341         (org-file-apps-defaults-windowsnt): Add an entry defining the
6342         system command.
6343         (org-file-apps): Allow `system' as key and value.
6344         (org-open-at-point): Explain the effect of a double prefix arg.
6345         (org-open-file): If the argument `in-emacs' is (16),
6346         i.e. corresponding to a double prefix argument, try to open the
6347         file externally.
6349 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
6351         * org.el (org-insert-link): Abbreviate absolute files names in
6352         links.  Also, fix a bug in which the double C-u prefix would not
6353         be honored.
6355 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
6357         * org.el (org-insert-heading): If buffer does not end with a
6358         newline, add one if necessary to insert headline correctly.
6360         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6361         paragraphs, not inside.
6363         * org.el (org-todo): Quote
6364         `org-agenda-headline-snapshot-before-repeat'.
6366         * org-exp.el (org-export-as-html): Fully process link descriptions.
6367         (org-export-html-format-desc): New function.
6368         (org-export-as-html): Collect footnotes into the correct basket.
6369         (org-html-protect): No longer protect quotations marks here, this
6370         goes wrong.
6372         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6373         BEG.
6375         * org-compat.el (org-fit-window-to-buffer): New function (not
6376         really, a preliminary and incomplete version was present earlier,
6377         but not used).
6379         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6380         `org-fit-window-to-buffer'.
6382         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6384         * org-agenda.el (org-agenda-get-restriction-and-command)
6385         (org-fit-agenda-window, org-agenda-convert-date): Use
6386         `org-fit-window-to-buffer'.
6388         * org-exp.el (org-export-as-html): Process href links through
6389         `org-export-html-format-href'.
6390         (org-export-html-format-href): New function.
6392         * org-agenda.el (org-agenda-todo): Update only the current
6393         headline if this is a repeated TODO, marked done for today.
6394         (org-agenda-change-all-lines): New argument JUST-THIS, to change
6395         only the current line.
6397         * org.el (org-todo): Take a snapshot of the headline if the
6398         repeater might change it.
6400 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6402         * org-publish.el (org-publish-find-title): Remove buffers visited
6403         only for extracting the title.
6405         * org-exp.el (org-export-html-style)
6406         (org-export-html-style-default): Mark style definitions as
6407         unparsed CDATA.
6409         * org-publish.el (org-publish-validate-link): Function
6410         re-introduced.
6412 2008-11-02  Charles Sebold  <csebold@gmail.com>
6414         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6415         property.
6416         (org-plot-quote-timestamp-field): New function.
6417         (org-plot-quote-tsv-field): Call timestamp field function when
6418         necessary rather than just quoting as a string.
6419         (org-plot/gnuplot-to-data): Pass in timefmt property.
6420         (org-plot/gnuplot-script): Supports timefmt property.
6421         (org-plot/gnuplot): Checks for timestamp column before checking
6422         for text index column.
6424 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6426         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6428         * org-publish.el (org-publish-org-index): Create a section in the
6429         index file.
6430         (org-publish-org-index): Stop linking to directories.
6432         * org.el (org-emphasis-alist): Use span instead of <u> to
6433         underline text.
6435         * org-exp.el (org-export-as-html): Make sure <p> is closed before
6436         <pre> sections.
6438 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
6440         * org-jsinfo.el (org-infojs-template): Remove language attribute
6441         from script tag.
6443 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6445         * org-agenda.el (org-agenda-remove-marked-text): New function.
6446         (org-agenda-mark-filtered-text)
6447         (org-agenda-unmark-filtered-text): New functions.
6448         (org-write-agenda): Remove fltered text.
6450         * org.el (org-make-tags-matcher): Give access to TODO "property"
6451         without speed penalty.
6453 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6455         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6456         option.
6457         (org-store-link-props): Make sure adding to the plist works
6458         correctly.
6460         * org-gnus.el (org-gnus-no-new-news): New function.
6461         (org-gnus-follow-link): Allow the article ID to be a message-id,
6462         in addition to allowing article numbers.  Message IDs make much
6463         more roubust links.
6464         (org-gnus-store-link): Use message-id to create link.
6466 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6468         * org.el (org-emphasize): Reverse the selection array.
6469         (org-emphasis-alist): Set <code> tags for the verbatim
6470         environment.
6472         * org-remember.el (org-remember-handler): Fix bug with
6473         prefix-related changing of the note storage target.
6475         * org-exp.el (org-print-icalendar-entries): Make the exported
6476         priorities compatible with RFC 2445.
6478         * org-clock.el (org-clock-save): Insert time stamp without
6479         dependence on time-stamp.el.
6481 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6483         * org.el ("saveplace"): If saveplace puts point into an invisible
6484         location, make it visible.
6485         (org-make-tags-matcher): Allow inactive time stamps in time
6486         comparisons.
6487         (org-yank-adjusted-subtrees): New option.
6488         (org-yank): Incorporate adjusting trees.
6489         (org-paste-subtree): New argument FOR-YANK which will cause
6490         insertion at point without backing up over white lines, and leave
6491         point at the end of the inserted text.  Also if the cursor is
6492         at the beginning of a headline, use the same level or the inserted
6493         tree.
6495         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6496         with broken symlinks
6498 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6500         * org-exp.el (org-export-select-tags, org-get-current-options):
6501         Fix typo.
6503 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6505         * org-agenda.el (org-format-agenda-item)
6506         (org-agenda-filter-make-matcher): Make sure tags are stored and
6507         compared donwcased.
6509 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6511         * org.el (org-insert-todo-heading): Fix bug with force-heading
6512         argument.
6514 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6516         * org-clock.el (org-clock-in-resume): Add a custom option to
6517         toggle starting the clock from an open clock line.
6518         (org-clock-in): When clocking in to an entry, if
6519         `org-clock-in-resume' is set, check if the first clock line is
6520         open and if so, start the clock from the time in the clock line.
6521         (org-clock-persist): Add a custom option to toggle clock
6522         persistence.
6523         (org-clock-persist-query-save): Add a custom option to toggle
6524         asking the user if they want to save the running clock when
6525         exiting.
6526         (org-clock-persist-query-resume): Add a custom option to toggle
6527         asking the user if they want to resume the saved clock when Emacs
6528         is restarted.
6529         (org-clock-save): Add a function to save clock data.
6530         This includes the contents of `org-clock-history' and the buffer
6531         and position of the currently clocked task, if any.
6532         (org-clock-load): Add a function to load clock data.
6533         This populates `org-clock-history', and resumes the saved clocked
6534         task if there is one.
6535         (org-clock-persistence-insinuate): Add a method to set up the
6536         hooks for clock persistence.
6538 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6540         * org-exp.el (org-export-as-ascii): Handle the case that we are
6541         publishing from an indirect buffer.
6543         * org-table.el (org-table-copy-down): Fix bug with time stamp
6544         increment.
6546         * org-mouse.el (org-mouse-features): New option.
6547         (org-mode-hook): Turn on features depending on
6548         `org-mouse-features'.
6550         * org.el (org-insert-heading-respect-content): Force heading
6551         creation.
6552         (org-insert-heading): keep the folding state of the heading before
6553         the inserted one.
6555 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6557         * org-archive.el (org-archive-to-archive-sibling): Handle top
6558         level headlines better.
6560 2008-10-21  Bastien Guerry  <bzg@altern.org>
6562         * org-export-latex.el (org-export-latex-classes): Added
6563         \usepackage{graphicx} to the default list of packages.
6565 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6567         * org-agenda.el (org-agenda-filter): Renamed from
6568         `org-agenda-filter-tags'.
6570 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6572         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6573         is not defined as a property in this entry.
6574         (org-add-log-note): Mask prefix argument when immediately storing
6575         the note.
6577         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6578         option.
6580 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6582         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6583         after drawers was skipping ahead one line too many, so notes were
6584         inserted after the first note instead of before it.
6586 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6588         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6589         New variables.
6590         (org-prepare-agenda): Reset the filter tags.
6591         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6592         Show filter tags in mode line.
6594         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6595         formatter.
6597         * org-export-latex.el (org-latex-entities-regexp): New constant.
6598         (org-export-as-pdf): Use two calls to `shell-command'.
6600 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6602         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6603         Honor the {} value of the subsuperscript setting.  Make sure that
6604         longer subsuperscripts are typeset in a roman font.
6606         * org.el (org-clock-update-time-maybe): Compute negative clock
6607         intervals correctly.
6609 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6611         * org.el (org-add-log-setup): Respect
6612         `org-log-state-notes-insert-after-drawers'.
6613         (org-log-state-notes-insert-after-drawers): New option.
6614         (org-todo-trigger-tag-changes): New function.
6615         (org-todo): Call `org-todo-trigger-tag-changes'.
6617 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6619         * org.el (org-add-log-setup): Only skip drawers if the are
6620         immediately after the scheduling keywords.
6622         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6623         function
6624         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6625         call it with the current todo state to get the state to switch to
6626         when clocking in.
6627         (org-clock-in): Use org-indent-line-function to indent clock lines.
6628         (org-clock-find-position): Fix indentation of empty clock drawers.
6630 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6632         * org-publish.el (org-publish-org-to): Handle case when
6633         org-export-to-pdf does return a file name, not a buffer.
6634         (org-publish-org-to-pdf): New function.
6636         * org-export-latex.el (org-export-as-pdf)
6637         (org-export-as-pdf-and-open): New commands.
6639         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6640         forms as ranges.
6642         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6643         things in protexted regions.
6645 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6647         * org-export-latex.el (org-export-latex-preprocess): Improve
6648         quoting of LaTeX environments.
6650 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6652         * org.el (org-edit-fixed-width-region): Exclude final newline from
6653         picture area.
6655         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6656         sections, to make internal links work.
6657         (org-export-latex-fontify-headline): Do not remove all text
6658         properties, to make sure that target properties survive this
6659         process.
6661         * org-exp.el (org-export-preprocess-string): Change sequence of
6662         modifications, to make sure links are prepared before the LaTeX
6663         conversions do happen.
6665 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6667         * org-attach.el (org-attach-delete-all): Renamed from
6668         `org-attch-delete'.  Add a security query before deleting the
6669         entire directory.  New optional argument FORCE can overrule the
6670         security query.
6671         (org-attach-delete-one): New command.
6673 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6675         * org-attach.el (org-attach-file-list): Fix bug with directory.
6677 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6679         * org.el (org-apps-regexp-alist): New function.
6680         (org-file-apps): Add auto-mode to the default value.
6681         (org-open-file): Use the new structure of org-file-apps.
6683         * org-attach.el (org-attach): Support the new keys.
6684         (org-attach-method): New option.
6686 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6688         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6689         March.
6691         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6692         of the list value o `org-use-tag-inheritance'.
6694         * org-attach.el (org-attach-auto-tag): New option.
6695         (org-attach-tag, org-attach-untag): New functions.
6696         (org-attach-attach, org-attach-new, org-attach-sync): Call
6697         `org-attach-tag'.
6698         (org-attach-delete): Call `org-attach-untag'.
6700 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6702         * org-table.el (orgtbl-self-insert-command): Make this work for
6703         the keypad as well.
6705 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6707         * org.el (org-add-log-setup): Limit searc for drawers to entry
6708         text, not to subtree.
6710         * org-clock.el (org-clock-heading-for-remember): New variable.
6711         (org-clock-in): Set `org-clock-heading-for-remember'.
6713 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6715         * org-remember.el (org-remember-apply-template): Add new
6716         expansions: %k, %K for currently clocked task and a link to the
6717         currently clocked task, and %< to file notes in the currently
6718         clocked task.
6720 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6722         * org-export-latex.el (org-export-latex-make-header): Also insert
6723         the content of the property :latex-header-extra.
6725         * org-exp.el (org-infile-export-plist): Put the content of
6726         #+LATEX_HEADER: into the property :latex-header-extra.
6728         * org-colview.el (org-columns-get-format-and-top-level): Remove
6729         resetting the marker.
6731         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6732         Remove resetting the marker.
6734         * org.el (org-entry-property-inherited-from): Improve docstring.
6735         (org-entry-get-with-inheritance): Reset marker before starting the
6736         search.
6738         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6740 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6742         * org.el (org-entry-get-multivalued-property)
6743         (org-entry-protect-space, org-entry-restore-space): New
6744         functions.
6745         (org-file-apps-defaults-macosx): Let postscript files be opened by
6746         preview.
6747         (org-time-stamp-inactive): Call `org-time-stamp'.
6748         (org-time-stamp): New argument `inactive'.  Also edit inacive
6749         stamps. Convert time stamp type.
6750         (org-open-file): Interpret the `default' value for the `command'
6751         in `org-file-apps'.
6753         * org-id.el (org-id-int-to-b36-one-digit)
6754         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6755         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6756         b36.
6758 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6760         * org-id.el (org-id-reverse-string): New function.
6761         (org-id-new): Use `org-id-reverse-string' to make sure the
6762         beginning chars of the ID are mutating fast.  This allows to use a
6763         directory structure to spread things better.
6764         (org-id-prefix): Changed default to nil.
6766         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6767         restore the column of the cursor position.
6769         * org-remember.el (org-remember-apply-template): Remove properties
6770         from `initial'.
6772 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6774         * org-wl.el (org-wl-open): Remove useless call to
6775         `wl-thread-open-all'.
6777         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6778         location.
6780 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6782         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6783         `org-bbdb-anniversaries'.
6785         * org.el (org-get-next-sibling, org-forward-same-level): New
6786         functions, similar to the outline versions, but invisible headings
6787         are OK.
6789 2008-09-25  Bastien Guerry  <bzg@altern.org>
6791         * org.el (org-auto-repeat-maybe): Insert a space between
6792         the timestamp's type and the timestamp itself.
6794 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6796         * org-table.el (org-table-sum): Do not format the result with %g,
6797         it does rounding when there are too many digits.
6799         * org.el (org-map-entries): Protect the keyword-selecting variables.
6801 2008-09-23  Bastien Guerry  <bzg@altern.org>
6803         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6804         against all agenda files.
6806 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6808         * org-list.el: New file, aggregating list functions from org.el
6809         and org-export-latex.el.
6811         * org.el (org-edit-src-region-extra): New option.
6813 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6815         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6816         time before 1am.
6818 2008-09-22  Bastien Guerry  <bzg@altern.org>
6820         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6822 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6824         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6825         hline work correctly.
6826         (org-plot/gnuplot-script): Put commas at the end of each script
6827         line.
6829 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6831         * org.el (org-get-refile-targets): Replace links with their
6832         descriptions
6833         (org-imenu-get-tree): Replace links with their descriptions.
6835         * org-remember.el (org-remember-apply-template): Add a new
6836         expansion for adding properties to remember items.
6838         * org.el (org-add-log-setup): Skip over drawers (properties,
6839         clocks etc) when adding notes.
6841         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6842         items as well as the start and end times.
6844         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6845         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6847         * org-remember.el (org-get-x-clipboard): Use the compat
6848         function to get clipboard values when x-selection-value is
6849         unavailable. Use substring-no-properties instead of
6850         set-text-properties to remove text properties from the clipboard
6851         value.
6853         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6854         modeline clock string, and display the full todo value in the
6855         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6856         the currently clocked task.
6857         (org-clock-string-limit): Add a custom value for the maximum
6858         length of the clock string in the modeline.
6859         (org-clock-mode-map): Add a keymap for the modeline string
6861 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6863         * org-compat.el (org-propertize): New function.
6865 2008-09-20  Bastien Guerry  <bzg@altern.org>
6867         * org-export-latex.el (org-export-latex-tables): protect exported
6868         tables from further special chars conversion.
6869         (org-export-latex-preprocess): Preserve LaTeX environments.
6870         (org-list-parse-list): Parse descriptive lists.
6871         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6872         (org-list-to-texinfo): Export descriptive lists.
6873         (org-quote-chars): Remove.
6874         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6875         (org-export-latex-list-beginning-re): Rename to
6876         `org-list-beginning-re'
6877         (org-list-item-begin): Rename to `org-list-item-beginning'
6879 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6881         * org.el (org-refile): Allow refiling to the last entry in the
6882         buffer.
6883         (org-get-tags-at): Fix bug when inheritance is turned off.
6885 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6887         * org.el (org-indent-line-function): No longer check for src
6888         regions, this is too much overhead.
6890         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6891         matching.
6893         * org.el (org-scan-tags): Make sure that tags matching is not case
6894         sensitive.  TODO keyword matching is case sensitive, however, to
6895         avoid confusion with similar words that are not meant to be
6896         keywords.
6898 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6900         * org.el (org-get-local-tags-at): New function.
6901         (org-get-local-tags): New function.
6903         * org-exp.el (org-export-get-categories): New function.
6905         * org-agenda.el (org-sorting-choice)
6906         (org-agenda-sorting-strategy, org-agenda-get-todos)
6907         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6908         (org-agenda-get-scheduled, org-agenda-get-blocks)
6909         (org-entries-lessp): Implement sorting by TODO state.
6910         (org-cmp-todo-state): New defsubst.
6912         * org-colview.el (org-colview-construct-allowed-dates): New
6913         function.
6914         (org-columns-next-allowed-value): Use
6915         `org-colview-construct-allowed-dates'.
6917         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6918         function.
6919         (org-columns-next-allowed-value): Use
6920         `org-colview-construct-allowed-dates'.
6922 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6924         * org.el (org-protect-slash): New function.
6925         (org-get-refile-targets): Use `org-protect-slash'.
6927         * org-agenda.el (org-global-tags-completion-table): New variable.
6929         * org-exp.el (org-export-handle-export-tags): New function.
6930         (org-export-preprocess-string): Call
6931         `org-export-handle-export-tags'.
6933         * org-plot.el: New file.
6935         * org-publish.el (org-publish-expand-components): Function removed.
6936         (org-publish-expand-projects): Allow components to have components.
6938 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6940         * org.el (org-indent-line-function): Do not indent in regions that
6941         are external source code.
6942         (org-yank-and-fold-if-subtree): New function.
6944         * org-agenda.el (org-agenda-todayp): New function.
6945         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6946         `org-agenda-todayp'.
6948         * org.el (org-insert-heading-respect-content)
6949         (org-insert-todo-heading-respect-content): New commands.
6950         (org-insert-heading-respect-content): New option.
6951         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6953         * org-clock.el (org-clock-find-position): Make sure the note after
6954         the clock line gets moved into the new clock drawer.
6956 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6958         * org-id.el (org-id-new): New option.
6960 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6962         * org-table.el (org-table-copy-down): Avoid overflow during
6963         increment.  Use prefix argument 0 to temporarily disable the
6964         increment.
6966 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6968         * org-exp.el (org-export-as-html): Do not turn on the major mode
6969         if the buffer will be killed anyway.
6970         (org-get-current-options): Exclude the #+TEXT field.
6971         (org-export-as-html): Make sure text before the first headline is
6972         a paragraph.
6974         * org-publish.el (org-publish-org-to): Tell the exporter that this
6975         buffer will be killed, so it is not necessary to do major mode
6976         initialization.
6978         * org-archive.el (org-archive-to-archive-sibling): Show empty
6979         lines after folding the archive sibling.
6981         * org.el (org-log-note-extra): New variable.
6983 2008-09-05  Bastien Guerry  <bzg@altern.org>
6985         * org.el (org-additional-option-like-keywords): Added keywords for
6986         the _QUOTE, _VERSE and _SRC environments.
6988         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6989         exporting _QUOTE and _VERSE environments.
6991 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6993         * org-agenda.el (org-agenda-filter-by-tag): New command.
6995         * org-exp.el (org-get-current-options): Remove angular brackets
6996         from the date entry.
6998         * org.el (org-edit-fixed-width-region): New function.
6999         (org-edit-fixed-width-region): Also try
7000         `org-edit-fixed-width-region'.
7001         (org-edit-fixed-width-region-mode): New option.
7002         (org-activate-code): Only interprete lines starting with colon
7003         plus a space as example lines.
7005         * org-remember.el (org-remember-templates): Add nil instead of
7006         empty strings to fix the length of remember templates.
7008         * org-table.el (org-calc-default-modes): Fix the time format for
7009         calc, from 12 hour to 24 hour clock.
7011 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
7013         * org-agenda.el (org-agenda-get-deadlines)
7014         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
7015         entries that are pre-warnings of deadlines or reminders.
7017         * org.el (org-sort-entries-or-items): Make numeric and alpha
7018         comparisons ignore any TODO keyword and priority cookie.
7020         * org-remember.el (org-remember-handler): Reinterpretation of the
7021         prefix argument.
7023 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
7025         * org-agenda.el (org-agenda-get-scheduled): Use new
7026         `org-scheduled' face.
7028         * org-faces.el (org-scheduled): New face.
7030         * org-wl.el (org-wl-open): Remove incorrect declaration.
7032         * org-gnus.el (org-gnus-store-link): Support for :to information
7033         in gnus links.
7035         * org-exp.el (org-export-as-html): Fixed typo in creator
7036         information.
7037         (org-export-protect-examples): New parameter indent.  Insert extra
7038         spaces only when this parameter is specified.
7039         (org-export-preprocess-string): Call `org-export-protect-examples'
7040         with an indentation parameter when exporting to ASCII.
7042         * org-remember.el (org-remember-templates)
7043         (org-remember-apply-template): Allow the file component to be a
7044         function.
7046         * org.el (org-goto-local-search-headings): Renamed from
7047         `org-goto-local-search-forward-headings'.  Added the possibility
7048         to search backwards.
7050 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
7052         * org-export-latex.el (org-export-latex): New customization
7053         group.
7055         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
7057 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
7059         * org-exp.el (org-html-do-expand): Allow {} to terminate
7060         tex macro
7062 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
7064         * org.el (org-buffer-list): Select buffers based on major mode,
7065         not on file name.
7067 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
7069         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
7070         face property.
7072         * org-colview.el (org-columns-display-here): Use
7073         `org-columns-modify-value-for-display-function'.
7075         * org-colview-xemacs.el (org-columns-display-here): Use
7076         `org-columns-modify-value-for-display-function'.
7078 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
7080         * org.el (org-columns-modify-value-for-display-function): New option.
7092         * org-publish.el (org-publish-file): Make sure the directory match
7093         for the publishing directory works correctly.
7095         * org-agenda.el (org-agenda-execute-calendar-command)
7096         (org-agenda-diary-entry): Additional optional argument.
7098 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
7100         * org-exp.el (org-export-as-html): Add attributes also in mailto
7101         and ftp links.
7103         * org.el (org-autoload): Add `org-dblock-write:columnview'.
7112 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
7114         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7115         sure that calls from `org-export-region-as-html' do not do the
7116         special check for a subtree.
7118 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
7120         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7122 2008-07-20  Juri Linkov  <juri@jurta.org>
7124         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7125         new keymap `narrow-map' instead of binding "\C-xns".
7127 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
7129         * org.el (org-open-file): Use
7130         `org-open-directory-means-index-dot-org'.
7131         (org-open-directory-means-index-dot-org): New option.
7133 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
7135         * org.el (org-make-link-string): Remove link attributes from
7136         description.
7137         (org-open-at-point): Remove link attributes bevore using the path.
7139         * org-exp.el (org-export-as-html): Handle link attributes.
7141         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7143         * org-table.el (org-table-to-lisp): New function.
7145         * org.el (org-narrow-to-subtree): Do not include the final newline
7146         into the narrowed region.
7148         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
7149         bug with user-define skipping condition.
7151 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
7153         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
7155 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
7157         * org-exp.el (org-export-html-style-default): Automatic overflow
7158         handling for pre fields.
7159         (org-export-as-ascii, org-export-as-html): Change default format
7160         for time stamp.
7162         * org-table.el (org-table-export): Offer completion for translator
7163         functions, and do not require a heading above the table.
7165         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7166         Cater for the case of a list starting in the first line of the
7167         buffer.
7169 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
7171         * org-publish.el (org-publish-find-title): Bug fix.
7172         (org-publish-org-index): Implement new :index-style option.
7174 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
7176         * org-publish.el (org-publish-timestamp-filename): Use
7177         SHA1-encoded file names in the timestamp directory.
7179 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
7181         * org-publish.el (org-publish-needed-p): Be verbose about files
7182         published and files skipped.
7184         * org-exp.el (org-export-preprocess-string): Swap link
7185         normalization and inernal link targeting.
7187         * org-publish.el (org-publish-needed-p): Create timestamp
7188         directory when it does not exist.
7190 2008-07-04  Bastien Guerry  <bzg@altern.org>
7192         * org-clock.el (org-clock-out-when-done): Doc fix.
7194         * org.el (org-agenda-skip-unavailable-files): Doc fix.
7196         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7197         Ignore case when searching for the COMMENT cookie at export time.
7199 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
7201         * org-exp.el (org-get-file-contents)
7202         (org-get-and-remove-property): New functions.
7203         (org-export-handle-include-files): Handle the new prefix options.
7204         (org-export-as-html): Fix the verse environment.
7206 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
7208         * org.el (org-time=, org-time<, org-time<=, org-time>)
7209         (org-time>=, org-time<>, org-2ft): New functions.
7210         (org-op-to-function): Also provide for the time testing fucntions.
7212 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
7214         * org-exp.el (org-export-html-style-default): New constant.
7216 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
7218         * org-exp.el (org-export-html-style-extra): New variable.
7219         (org-export-splice-style): New function.
7221 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
7223         * org-exp.el (org-export-plist-vars, org-export-as-html):
7224         Implement `org-export-creator-info'.
7225         (org-export-creator-info): New option.
7227 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
7229         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7230         (org-property-drawer-re, org-clock-drawer-re): New constants.
7232 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
7234         * org-exp.el (org-icalendar-use-deadline)
7235         (org-icalendar-use-scheduled): New options.
7236         (org-icalendar-include-todo): Default changed to t.
7237         (org-print-icalendar-entries): Implement better utilization of
7238         scheduling and deadline time stamps.
7239         (org-export-target-internal-links, org-export-as-html): Allow file
7240         lines without the "file:" prefix if the file path is an absolute
7241         path or starts with ".".
7243         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
7244         lastweek etc.
7245         (org-clock-special-range): Also undertand yesterday, lastweek etc.
7247 2008-06-18  Glenn Morris  <rgm@gnu.org>
7248         * org.el (org-map-entries): Let-bind `file'.
7250 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
7252         * org.el (org-agenda-skip-archived-trees): Docstring now
7253         discourages using this.
7254         (org-scan-tags): Check for org-agenda-archives-mode.
7255         (org-map-entries): Make sure org-agenda-archives-mode is nil.
7256         (org-agenda-files): Functionality of second arg changed.
7258         * org-agenda.el (org-agenda-archives-mode): New variable
7259         (org-write-agenda, org-prepare-agenda, org-agenda-list)
7260         (org-search-view, org-todo-list, org-tags-view)
7261         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7262         `ifmode' argument.
7263         (org-agenda-quit): Reset the archives mode.
7264         (org-agenda-archives-mode): New command.
7265         (org-agenda-set-mode-name): Include archives info.
7267 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
7269         * org.el (org-paste-subtree): Make sure the yanked headline is
7270         visible if it was yanked at a visible point.
7271         (org-move-item-up): Fix the bug with moving white space at the end
7272         of the item.
7273         (org-show-empty-lines-in-parent): New function.
7275 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
7277         * org-colview.el (org-columns-next-allowed-value): Bug fix.
7279         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7281         * org-agenda.el (org-agenda-get-closed): Get the end time into the
7282         agenda prefix as well.
7284         * org-publish.el (org-publish-org-index): Make a properly indented
7285         list.
7287         * org.el (org-calendar-agenda-action-key): New option.
7288         (org-get-cursor-date): New function.
7289         (org-mark-entry-for-agenda-action): New command.
7290         (org-overriding-default-time): New variable.
7291         (org-read-date): Respect `org-overriding-default-time'.
7293         * org-remember.el (org-remember-apply-template): Respect the
7294         ovverriding default time.
7296         * org-agenda.el (org-agenda-action-marker): New variable.
7297         (org-agenda-action): New command.
7298         (org-agenda-do-action): New function.
7300 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7302         * org.el (org-schedule, org-deadline): Protect scheduled and
7303         deadline tasks against changes that accidently remove the
7304         repeater.  Also show a message with the new date when done.
7306 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7308         * org.el (org-beginning-of-line): Cater for the case when there
7309         are tags but no headline text.
7310         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7311         it set.
7313 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
7315         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7316         the return value is nil instead of "nil" when there is no match.
7318         * org-exp.el (org-insert-centered): Use fill-column instead of
7319         80.
7320         (org-export-as-ascii): Use string-width to measure the width of
7321         the heading.
7323         * org.el (org-diary-to-ical-string): No longer kill buffer
7324         FROMBUF, this is now done by the caller.
7326         * org-exp.el (org-print-icalendar-entries): Move the call to
7327         `org-diary-to-ical-string' out of the loop, and kill the buffer
7328         afterwords.
7330         * org-remember.el (org-remember-visit-immediately): Position
7331         cursor after moving to the note.
7332         (org-remember-apply-template): Use a text property to record the
7333         cursor position.
7334         (org-remember-handler): Align tags after pasting the note.
7336 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
7338         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7340         * org-agenda.el (org-agenda-open-link): If there is an
7341         org-bbdb-name property in the current line, jump to that bbdb
7342         entry.
7344         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7345         text property, so that the agenda knows where this entry comes
7346         from.
7348         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
7349         interaction between clocking-in from the agenda, and  automatic
7350         task state switching.
7352         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
7354         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7355         zmacs-region stays after this command in XEmacs.
7357 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
7359         * org.el (org-scan-tags): Allow new values for ACTION parameter.
7361         * org-remember.el (org-remember-templates): Fix bug in
7362         customization type definition.
7364         * org.el (org-map-entries): New function.
7366 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
7368         * org-agenda.el (org-agenda-skip-comment-trees): New option.
7369         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7371 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
7373         * org-remember.el (org-jump-to-target-location): New variable.
7374         (org-remember-apply-template): Set
7375         `org-remember-apply-template' if requested by template.
7376         (org-remember-handler): Start an idle timer to jump to
7377         remember location.
7379         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7381         * org.el (org-set-regexps-and-options): Fix bug with parsing of
7382         file tags.
7383         (org-get-tags-at): Add the content of `org-file-tags'.
7385         * org-exp.el (org-export-handle-comments): Fix bug with several
7386         comment lines after each other.
7387         (org-number-to-roman, org-number-to-counter): New functions.
7388         (org-export-section-number-format): New option.
7390 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
7392         * org-exp.el (org-export-protect-examples): Catch the case of a
7393         missing end_example line.
7395         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7396         `org-file-tags' to nil.
7398         * org-colview.el (org-columns-next-allowed-value): Handle next
7399         argument NTH to directly select a value.
7401         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7402         argument NTH to directly select a value.
7404 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
7406         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7408 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
7410         * org.el (org-columns-ellipses): New option.
7412 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
7414         * org-colview.el (org-columns-add-ellipses): New function.
7415         (org-columns-compact-links): New function.
7416         (org-columns-cleanup-item): Call `org-columns-compact-links'.
7417         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7418         when in agenda.
7419         (org-columns-edit-value): Fixed bug with editing values from
7420         agenda column view.
7421         (org-columns-redo): Also redo the agenda itself.
7423 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
7425         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7426         option.
7428         * org-colview.el (org-agenda-columns-cleanup-item): New function.
7430         * org-exp.el (org-export-ascii-preprocess): Renamed from
7431         `org-export-ascii-clean-string'.
7432         (org-export-kill-licensed-text)
7433         (org-export-define-heading-targets)
7434         (org-export-handle-invisible-targets)
7435         (org-export-target-internal-links)
7436         (org-export-remove-or-extract-drawers)
7437         (org-export-remove-archived-trees)
7438         (org-export-protect-quoted-subtrees)
7439         (org-export-protect-verbatim, org-export-protect-examples)
7440         (org-export-select-backend-specific-text)
7441         (org-export-mark-blockquote-and-verse)
7442         (org-export-remove-comment-blocks-and-subtrees)
7443         (org-export-handle-comments, org-export-mark-radio-links)
7444         (org-export-remove-special-table-lines)
7445         (org-export-normalize-links)
7446         (org-export-concatenate-multiline-links)
7447         (org-export-concatenate-multiline-emphasis): New functions,
7448         obtained from spliiting the export preprocessor.
7450         * org-table.el (org-table-recalculate): Improve error message if
7451         the row number is invalid.
7453 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7455         * org-archive.el (org-archive-save-context-info): Fix bugs in
7456         customization setup and docstring.
7458         * org-exp.el (org-export-html-style): Changed the size of in the
7459         <pre> element to 90%.
7461 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7463         * org.el (org-find-src-example-start): Function removed.
7464         (org-edit-src-find-region-and-lang): New function.
7466 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7468         * org.el (org-edit-src-exit): New function.
7469         (org-exit-edit-mode): New minor mode.
7471         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7472         comment-like lines from protected examples.
7474         * org.el (org-edit-src-example, org-find-src-example-start)
7475         (org-protect-source-example, org-edit-special): New functions.
7477 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7479         * org-publish.el (org-publish-project-alist): Fix typo in
7480         docstring.
7481         (org-publish-project-alist): Handle :index-title property.
7483 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7485         * org-export-latex.el (org-export-as-latex): Make sure region
7486         bounds are correct.  Parse subtree properties relating to export.
7488         * org-exp.el (org-export-add-options-to-plist): New function.
7489         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7491 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7493         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7494         EXPORT_TITLE.
7496         * org-exp.el (org-export-get-title-from-subtree)
7497         (org-export-as-ascii, org-export-as-html): Make sure the original
7498         region-beginning and region-end are used, even after moving
7499         point.
7500         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7501         property.
7503         * org-remember.el (org-remember-last-stored-marker): New variable.
7504         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7505         (org-remember-handler): Also use marker to remember
7506         last-stored position.
7508         * org.el (org-goto-marker-or-bmk): New function.
7510 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7512         * org.el (org-file-properties): Renamed from `org-local-properties'.
7513         (org-scan-tags): Take file tags into account.
7514         (org-tags-match-list-sublevels): Default changed to t.
7516         * org-exp.el (org-export-as-html): Close paragraph after a
7517         footnote.
7519         * org.el (org-update-parent-todo-statistics): New function.
7521         * org-exp.el (org-icalendar-store-UID): New option.
7522         (org-icalendar-force-UID): Option removed.
7523         (org-print-icalendar-entries): IMplement UIDs.
7525 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7527         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7529 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7531         * org-faces.el (org-column): Document how this face is being used
7532         and why sometimes the background faces shine through.
7534         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7536         * org-publish.el (org-publish-attachment): Create publishing
7537         directory if it does not yet exist.
7539         * org-table.el (org-calc-default-modes): Change default number
7540         format to (float 8).
7542         * org.el (org-olpath-completing-read): New function.
7543         (org-time-clocksum-format): New option.
7544         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7546         * org-clock.el (org-clock-display, org-clock-out)
7547         (org-update-mode-line): Use `org-time-clocksum-format'.
7549         * org-colview-xemacs.el (org-columns-number-to-string): Use
7550         `org-time-clocksum-format'.
7552         * org-colview.el (org-columns-number-to-string): Use
7553         `org-time-clocksum-format'.
7555 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7557         * org-id.el: New file, move from contrib to core.
7559         * org-exp.el (org-icalendar-force-UID): New option.
7561 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7563         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7564         shifted by one day if theere is a date range without an end
7565         time.
7567         * org.el (org-try-structure-completion): New function.
7569 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7571         * org.el (org-set-font-lock-defaults): Improve fontification of
7572         description lists.
7573         (org-insert-item): Handle description lists.
7574         (org-adaptive-fill-function): Improve auto indentation in
7575         description lists.
7577         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7578         Implement VERSE environment.
7579         (org-export-preprocess-string): Implement the COMMENT
7580         environment.
7582         * org-export-latex.el (org-export-latex-preprocess): Implement
7583         VERSE environment.
7585 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7587         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7588         option.
7590 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7592         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7594         * org.el (org-quote-csv-field): New functions.
7596         * org-table.el (org-table-export-default-format): Remove :splice
7597         from default format, we get the same effect by not specifying
7598         :tstart and :tend.
7599         (org-table-export): Improve setup, distinguish better between
7600         interactive and non-interactive use, allow specifying the format
7601         on the fly, better protection against wrong file names.
7602         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7603         and :tend when :splice is omitted.
7605 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7607         * org-clock.el (org-clock-select-task): Make sure the selection
7608         letters are 1-9 and A-Z, no special characters.
7610 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7612         * org-exp.el (org-export-htmlize): New group.
7613         (org-export-htmlize-output-type)
7614         (org-export-htmlize-css-font-prefix): New options.
7615         (org-export-htmlize-region-for-paste): New function.
7616         (org-export-htmlize-generate-css): New command.
7618 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7620         * org/org.el (org-modules, org-format-latex-options):
7621         * org/org-archive.el (org-archive-stamp-time)
7622         (org-archive-save-context-info):
7623         * org/org-faces.el (org-hide):
7624         * org/org-irc.el (org-irc-parse-link):
7625         * org/org-macs.el (org-call-with-arg, org-autoload):
7626         * org/org-mew.el (org-mew-store-link):
7627         * org/org-remember.el (org-remember-store-without-prompt)
7628         (org-remember-templates): Fix typos in docstrings.
7630         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7632         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7633         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7634         (org-bbdb-anniv-split): Fix typos in docstrings.
7636         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7637         (org-publish-use-timestamps-flag): Reflow docstring.
7638         (org-publish-files-alist): Fix typos in docstring.
7640 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7642         * org.el (org-set-visibility-according-to-property): New function.
7643         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7644         and compute the regular expressions, and update font-lock.
7645         (org-property-re): Allow a dash in property names.
7647         * org-archive.el (org-extract-archive-file): Insert the file name
7648         without the path into the format, to allow the location format to
7649         contain a subdirectory.
7651         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7652         of buffer, and the `org-agenda-type' property undefined, use the
7653         value from the character before.
7655         * org.el (org-add-planning-info): Don't let indentation for
7656         would-be timestamp become extra whitespace at the end of headline.
7658 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7660         * org.el (org-remove-double-quotes, org-file-contents): New
7661         functions.
7663         * org-exp.el (org-infile-export-plist): Also parse the
7664         contents of #+SETUPFILE files, recursively.
7666         * org.el (org-set-regexps-and-options): Also parse the
7667         contents of #+SETUPFILE files, recursively.
7669         * org-exp.el (org-export-handle-include-files): New function.
7670         (org-export-preprocess-string): Call
7671         `org-export-handle-include-files'.
7673         * org.el (org-delete-property-globally)
7674         (org-delete-property, org-set-property): Ignore case during
7675         completion.
7676         (org-set-property): Use `org-completing-read' instead of
7677         `completing-read'.
7679         * org.el (org-complete-expand-structure-template): New,
7680         experimental function.
7681         (org-structure-template-alist): New, experimental option.
7682         (org-complete): Call `org-complete-expand-structure-template'.
7684 2008-05-06  Bastien Guerry  <bzg@altern.org>
7686         * org-export-latex.el (org-export-latex-preprocess): Added
7687         support for blockquotes.
7689 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7691         * org.el (org-read-date-analyze): Catch the case where only a
7692         weekday is given.
7694 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7696         * org.el (org-set-font-lock-defaults): Make the description
7697         tag bold.
7699         * org-exp.el (org-export-as-html, org-close-li): Implement
7700         description lists.
7702 2008-05-04  Jason Riedy  <jason@acm.org>
7704         * org-table.el (*orgtbl-default-fmt*): New variable.
7705         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7706         when there is no other fmt available.
7708         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7709         :tend to suppress the appropriate string.
7711         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7712         table.
7714 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7716         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7717         read date.
7719         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7720         New function.
7722         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7723         New function.
7725 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7727         * org-clock.el (org-clock-find-position): Don't include notes
7728         into clock drawer.
7730         * org-archive.el (org-archive-subtree): No longer remove an
7731         extra line after cutting the subtree.  `org-cut-subtree' already
7732         takes care of this.
7734         * org-remember.el (org-remember-handler): Only kill the target
7735         buffer if it does not contain the running clock.
7737         * org.el (org-markers-to-move): New variable.
7738         (org-save-markers-in-region, org-check-and-save-marker)
7739         (org-reinstall-markers-in-region): New function.
7740         (org-move-subtree-down, org-copy-subtree): Remember relative
7741         marker positions before cutting.
7742         (org-move-subtree-down, org-paste-subtree): Restore relative
7743         marker positions after pasting.
7745         * org-remember.el (org-remember-clock-out-on-exit): New option.
7746         (org-remember-finalize): Clock out only if the setting in
7747         `org-remember-clock-out-on-exit' requires it.
7748         (org-remember-handler): Do the cleanup in the buffer, to make sure
7749         that the clock marker remains in tact.
7751 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7753         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7754         (org-clock-in): Make sure that also tasks outside the narrowed
7755         region will be clocked in correctly.
7756         (org-clock-insert-selection-line): Widen the buffer so that we can
7757         find the correct task heading.
7759         * org.el (org-base-buffer): New function.
7761         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7762         and ";" are escaped.
7763         (org-print-icalendar-entries): Also apply
7764         `org-icalendar-cleanup-string' to the headline, not only to the
7765         summary property.
7767 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7769         * org-exp.el (org-export-preprocess-hook): New hook.
7770         (org-export-preprocess-string): Call
7771         `org-export-preprocess-hook'.
7773         * org.el (org-font-lock-hook): New variable.
7774         (org-font-lock-hook): New function.
7775         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7777 ;; Local Variables:
7778 ;; coding: utf-8
7779 ;; add-log-time-zone-rule: t
7780 ;; End:
7782     Copyright (C) 2008  Free Software Foundation, Inc.
7784   This file is part of GNU Emacs.
7786   GNU Emacs is free software: you can redistribute it and/or modify
7787   it under the terms of the GNU General Public License as published by
7788   the Free Software Foundation, either version 3 of the License, or
7789   (at your option) any later version.
7791   GNU Emacs is distributed in the hope that it will be useful,
7792   but WITHOUT ANY WARRANTY; without even the implied warranty of
7793   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7794   GNU General Public License for more details.
7796   You should have received a copy of the GNU General Public License
7797   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7799 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c