Refile: Catch invalid target specification
[org-mode/org-tableheadings.git] / lisp / ChangeLog
blob628de30d218a4bb13a636dfb1721757b58f58e07
1 2010-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-refile-get-location): Catch an invalid target
4         specification.
6 2010-03-18  Carsten Dominik  <carsten.dominik@gmail.com>
8         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
9         Make sure the behavior regarding to extracting time is
10         consistent.
12 2010-03-17  Stephen Eglen  <stephen@gnu.org>
14         * org-agenda.el (org-agenda-insert-diary-extract-time): New
15         variable.
16         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
17         variable rather than `org-agenda-search-headline-for-time'.
19 2010-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
21         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
23 2010-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
25         * org.el (org-adaptive-fill-regexp-backup): New variable.
26         (org-set-autofill-regexps): Store a backup of
27         `adaptive-fill-regexp'.
28         (org-adaptive-fill-function): Fix filling of comments and ordered
29         lists. If there is no other match, till try adaptive fill.
31 2010-03-15  John Wiegley  <jwiegley@gmail.com>
33         * org-agenda.el (org-agenda-include-deadlines): Added new
34         customization variable to determine whether unscheduled tasks
35         should appear in the agenda solely because of their deadline.
36         Default to true, which was the previous behavior (it just wasn't
37         configurable).
38         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
39         the agenda to show/hide deadline tasks.
40         (org-agenda-menu): Added menu option for show/hide deadlines.
41         (org-agenda-list): Make the agenda list sensitive to the value of
42         `org-agenda-include-deadlines'.
43         (org-agenda-toggle-deadlines): New function to toggle the value of
44         `org-agenda-include-deadlines' and repaint the modeline
45         indicators.
46         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
47         modeline if deadline tasks are being displayed.
49 2010-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
51         * org-table.el (org-table-eval-formula): Replace $# and @# by
52         current column and row number.
54 2010-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
56         * org.el (org-set-property, org-delete-property): Go back to
57         prompting for the property.
59         * org-latex.el (org-export-latex-make-header): Fully process
60         author line.
61         (org-export-latex-fontify-headline): Allow several arguments, not
62         just one.
63         (org-export-latex-fix-inputenc): Catch the error when
64         `latexenc-coding-system-to-inputenc' is not defined.
66         * org-agenda.el (org-agenda-skip-if-todo): New function.
67         (org-agenda-skip-if): Add conditions for TODO keywords.
68         (org-agenda-skip-if): Document the new todo conditions.
70 2010-03-11  Mikael Fornius  <mfo@abc.se>
72         * org.el (org-at-property-p): Check if we are inside a property
73         drawer not just any drawer.
74         (org-set-property, org-delete-property): When cursor is on a
75         property key value pair do not prompt for property name instead
76         use name at cursor.
77         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
78         on the first line of a property drawer.
79         (org-property-end-re): Spell check.
81 2010-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
83         * org-exp.el (org-export-attach-captions-and-attributes): Add the
84         properties to the entire table, in case the first line is
85         removed.
87         * org-archive.el (org-archive-reversed-order): New option.
88         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
89         option `org-archive-reversed-order'.
91 2010-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
93         * org-agenda.el (org-agenda-entry-types): New variable.
94         (org-agenda-list): Use `org-agenda-entry-types'.
95         (org-agenda-custom-commands-local-options): Support for setting
96         `org-agenda-entry-types' as an option.
97         (org-diary): Shift some documentation from here to the variable
98         `org-agenda-entry-types'.
100 2010-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
102         * org-latex.el (org-export-latex-make-header): Apply macros in
103         author field.
105         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
106         (org-clock-select-task, org-clock-notify-once-if-expired)
107         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
108         (org-clock-out-if-current, org-clock-save): Use the new functions.
110 2010-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
112         * org-docbook.el (org-export-as-docbook): Remove unnecessary
113         newline.
114         (org-export-as-docbook): Remove unnecessary newline.
115         (org-export-as-docbook): Fix problem with double footnote
116         reference in one place.
118         * org-exp.el (org-export-format-source-code-or-example): Remove
119         unnecessary newline.
121         * org.el (org-deadline, org-schedule): Allow rescheduling entries
122         with repeaters.
124         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
125         function calls that look like references.
127         * org.el (org-open-at-point): Get link abbreviations from
128         reference buffer.
130 2010-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
132         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
133         as a reference.
135 2010-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
137         * org.el (org-link-unescape): Solve issue with lower-case escapes.
139 2010-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
141         * org-latex.el (org-export-latex-classes): Add
142         \usepackage{latexsym} to all classes.
144 2010-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
146         * org-html.el (org-export-as-html): Do not allow protected lines
147         into the table of contents.
149         * org-latex.el (org-export-latex-special-chars): Find subsequent
150         occurrences of special characters.
151         (org-export-latex-tables): Do not convert table-like stuff that is
152         protected.
154 2010-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
156         * org-list.el (org-toggle-checkbox): No errors when updating
157         checkbox count fails because there is no heading.
159 2010-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
161         * org-clock.el (org-clock-report-include-clocking-task): New
162         option.
163         (org-clock-sum): Add the current clocking task.
165 2010-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
167         * org.el (org-cycle): Print a message when in a table.el table.
168         (org-edit-special): Recognize the table.el context.
169         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
171         * org-src.el (org-at-table.el-p): Declare.
172         (org-edit-src-code): Handle a special case for table.el editing.
173         (org-edit-src-find-region-and-lang): Recognize the table.el
174         context.
176         * org-latex.el (org-export-latex-tables): Convert table.el
177         tables.
178         (org-export-latex-convert-table.el-table): New function.
180         * org-html.el (org-html-expand): Fix table.el export.
182         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
183         headings.
185         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
186         table for the id locations.
188         * org.el (org-read-date-analyze): Match American-style dates, like
189         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
190         current year when reading ISO and American dates.
192 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
194         * org.el (org-face-from-face-or-color): New function.
195         (org-get-todo-face, org-font-lock-add-priority-faces)
196         (org-get-tag-face): Use `org-face-from-face-or-color'.
198         * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
199         simple colors as values.
200         (org-faces-easy-properties): New option.
202         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
203         restricted, as an agenda mode.
204         (org-agenda-fontify-priorities): Allow simple colors as values.
206 2010-02-25  Bastien Guerry  <bzg@altern.org>
208         * org-timer.el (org-timer-current-timer): Renamed from
209         `org-timer-last-timer'.
210         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Removed.
211         (org-timer-cancel-timer, org-timer-show-remaining-time)
212         (org-timer-set-timer): Update to use only one timer.
214         * org.el (org-set-property): Remove useless space in the prompt.
216 2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
218         * org-html.el (org-export-html-style-default): Add a default style
219         for textareas.
221         * org-exp.el (org-export-format-source-code-or-example): Fix
222         textarea tag.
224 2010-02-24  Bastien Guerry  <bzg@altern.org>
226         * org-clock.el (org-clock-current-task): New variable to store
227         last clocked in task.
228         (org-clock-set-current, org-clock-delete-current): New functions.
230 2010-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
232         * org-remember.el (org-remember-apply-template): Extend comment.
233         (org-remember-handler): Implement clock sibling filing.
235 2010-02-23  Carsten Dominik  <carsten.dominik@gmail.com>
237         * org-publish.el (org-publish-all, org-publish-current-file)
238         (org-publish-current-project): When called with prefix argument
239         FORCE, also rebuild the validation file list.
241         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
242         section headings.
244 2010-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
246         * org-html.el (org-export-as-html-and-open): Kill product buffer
247         if the user wants that.
249         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
250         if the user wants that.
252         * org-exp.el (org-export-kill-product-buffer-when-displayed): New
253         option.
255         * org-agenda.el (org-batch-agenda-csv): Use the time property
256         instead of the `time-of-day' property.
258 2010-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
260         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
261         (org-timer-pause-hook, org-timer-set-hook)
262         (org-timer-cancel-hook): New hooks.
263         (org-timer-start): Run `org-timer-start-hook'.
264         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
265         (org-timer-stop): Run `org-timer-stop-hook'.
266         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
268 2010-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
270         * org.el (org-reveal): Double prefix arg shows the subtree of the
271         parent.
273 2010-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
275         * org-agenda.el (org-search-view): Fix bug with searching full
276         words in headlines in search view.
277         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
278         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
279         scheduled (if the user configures it so.
281 2010-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
283         * org.el (org-hide-archived-subtrees): Don't jump to end of
284         subtree if the match was not in a headline.
285         (org-inside-latex-macro-p): Allow more complex arguments.
286         (org-emphasize): Protect against use at end of buffer.
288 2010-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
290         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
291         text properties.
293 2010-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
295         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
296         values.
297         (org-agenda-todo-ignore-scheduled)
298         (org-agenda-todo-ignore-deadlines): More control with different
299         allowed values.
300         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
301         Honor the new option settings.
303 2010-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
305         * org.el (org-get-location): Make sure the selection buffer is
306         shown in the current frame.
308         * org-ascii.el (org-export-ascii-table-widen-columns): New
309         option.
310         (org-export-ascii-preprocess): Realign tables to remove narrowing
311         if `org-export-ascii-table-widen-columns' is set.
313         * org-table.el (org-table-do-narrow): New variable.
314         (org-table-align): Narrow only if `org-table-do-narrow' is t.
316         * org.el (org-deadline, org-schedule): Allow updating if the
317         relevant time stamp does not have a repeater, i.e. do not require
318         that no time stamp has a repeater.
320         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
321         new white space before the tags.
323         * org-latex.el (org-export-as-latex): Do nit require the buffer to
324         be visiting a file when only exporting to a buffer or string.
325         (org-export-latex-fix-inputenc): Only save the buffer is there is
326         a file name attached to it.
328 2010-02-09  Dan Davison  <davison@stats.ox.ac.uk>
330         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
332 2010-02-08  Carsten Dominik  <carsten.dominik@gmail.com>
334         * org.el (org-fontify-meta-lines-and-blocks): Honor
335         `org-fontify-quote-and-verse-blocks'.
337         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
339 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
341         * org.el (org-open-at-point): Also check for text property
342         org-linked-text before offering collected links.
344 2010-02-03  Stephen Eglen  <stephen@gnu.org>
346         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
347         Optionally extract time specification from text and add to the
348         timestamp.
350 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
352         * org-exp.el (org-html-entities): Fix typo.
354         * org-latex.el (org-export-latex-make-header): Use \providecommand
355         to make sure the \alert macro is defined.
357         * org.el (org-format-latex-signal-error)
358         (org-create-formula-image): Use `org-format-latex-signal-error'.
360 2010-02-02  Stephen Eglen  <stephen@gnu.org>
362         * org.el (org-store-link): For dired buffers, use
363         default-directory as link name if dired-get-filename returns
364         nil.
366 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
368         * org-exp.el (org-export-concatenate-multiline-links): The for
369         protectedness at beginning of match.
371         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
372         AUTO as a coding system, instead default to utf8.
374 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
376         * org.el (org-block-todo-from-children-or-siblings-or-parent)
377         (org-block-todo-from-checkboxes): Respect the local variable
378         value when deciding if blocking should be active.
380         * org-latex.el (org-export-latex-make-header): Define the align
381         macro if it is not yet defined.
383         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
384         `org-insert-heading' with the INVISIBLE-OK argument.
386         * org-mac-message.el (org-mac-message-insert-flagged): Call
387         `org-insert-heading' with the INVISIBLE-OK argument.
389         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
391         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
392         prompt message.
394         * org-html.el (org-html-level-start): Use the
395         `html-container-class' text property to set an additional class
396         for an outline container.
398         * org-exp.el (org-export-remember-html-container-classes): New
399         function.
400         (org-export-preprocess-string): Call
401         `org-export-remember-html-container-classes'.
403         * org.el (org-cycle): Mention level cycling in the docstring.
404         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
406         * org-remember.el (org-remember-apply-template): Do file insertion
407         first.
409 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
411         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
412         problem with mis-aligned graphs when showing habits.
414 2010-01-28  Mikael Fornius  <mfo@abc.se>
416         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
417         when assigning. Begin using numerical characters when all in name
418         is used up. This is to spare alphanumeric characters for better
419         match with other keywords.
421 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
423         * org-exp.el (org-export-preprocess-hook): Improve documentation.
425         * org-latex.el (org-export-latex-preprocess): More consistent
426         conversion and protection of the words LaTeX and TeX.
427         (org-export-latex-fontify-headline, org-export-latex-preprocess):
428         Allow angle brackets in commands, for beamer.
430 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
432         * org-clock.el (org-clock-in): Improve the look of the clock line
433         by formatting links.
435 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
437         * org-latex.el (org-export-latex-classes): Use AUTO as the place
438         holder string for the coding system.  And improve the
439         documentation.
440         (org-export-latex-fix-inputenc): Only modify the coding system if
441         it is given by the placeholder AUTO.
443 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
445         * org-clock.el (org-task-overrun-text): New option.
446         (org-task-overrun, org-clock-update-period): New variables.
447         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
448         overrun clock.
449         (org-clock-notify-once-if-expired): Check if clock is overrun.
451         * org-faces.el: New face `org-mode-line-clock-overrun'.
453 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
455         * org.el (org-narrow-to-subtree): Position the end of the narrowed
456         region before the line with the next heading, to prevent the user
457         from prepending text to the next headline.
459 2010-01-20  Stephen Eglen  <stephen@gnu.org>
461         * org-agenda.el (org-get-time-of-day): Use
462         org-agenda-time-leading-zero to allow leading zero (rather than
463         space) for times.
465 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
467         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
468         org-datetree.el is loaded.
470         * org-datetree.el: autoload `org-datetree-find-day-create'
472         * org-latex.el (org-export-latex-hyperref-format): New option.
473         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
475 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
477         * org-ctags.el (org-ctags-enable): Change order of functions.
478         (org-ctags-create-tags): Add wildcard to file name expansion.
480 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
482         * org.el (org-entry-properties): Fix some important bugs.
484 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
486         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
487         the table is not explicitly given.
489 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
491         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
492         as value.
493         (org-clock-out-if-current): Work with the new list value of
494         `org-clock-out-when-done'.
495         (org-clock-out, org-clock-out-if-current): Avoid circular logic
496         between clocking out and state changes.
498         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
500         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
501         accident protect a character that is before a backslash.
503 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
505         * org-agenda.el (org-diary-class): Use
506         `org-order-calendar-date-args'.
508         * org.el (org-order-calendar-date-args): New function.
510         * org-exp.el (org-export-target-internal-links): Check for
511         protectedness after the first bracket.
513         * org.el (org-entry-properties): Don't match wrong-case TODO
514         keywords.
516         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
517         Document that ARG is passed through to remove the date.
518         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
519         not read a date when the user has given a `C-u' prefix.
521 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
523         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
524         tags are hidden.
526 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
528         * org-latex.el (org-export-latex-fix-inputenc): New function.
529         (org-export-latex-inputenc-alist): New option.
531         * org-exp.el (org-export): New key SPC to publish enclosing
532         subtree.
534 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
536         * org-indent.el (org-indent-add-properties): Catch case when there
537         is no headline in the buffer.
539 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
541         * org-exp.el (org-html-entities): Add checkmark symbol.
543         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
544         verbatim code for ASCII export.
546         * org.el (org-update-statistics-cookies): Also see checkboxes in
547         ordered lists.
549 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
551         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
552         key.
554         * org-beamer.el (org-beamer-amend-header): Change the location
555         where `org-beamer-header-extra' is inserted.
557         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
558         just for computing this regexp.
560 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
562         * org-beamer.el (org-beamer-frame-default-options): New option.
563         (org-beamer-sectioning): Use default options if the user does not
564         have defined any.
565         (org-beamer-fix-toc): Put a frame around the table of contents.
567         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
568         sure case-folding works well when processing comment stuff.
570         * org-latex.el (org-export-latex-after-save-hook): New hook.
571         (org-export-as-latex): Run the new hook.
573 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
575         * org-beamer.el (org-beamer-environments-default): Add the note
576         environments.
577         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
578         lines and collect and combine the content.
579         (org-beamer-after-initial-vars): Check for note tags and make sure
580         they will be seen like a property.
582         * org.el (org-offer-links-in-entry): Fix bug when there is a
583         single link.
585         * org-exp.el (org-export): Make sure the mark is activated, also
586         when `transient-mark-mode' is off.
588         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
589         (org-agenda-search-view-search-words-only): Obsolete variable, is
590         now an alias for `org-agenda-search-view-always-boolean'.
591         (org-agenda-search-view-force-full-words): New option.
592         (org-search-view): Improve docstring, and implement a better logic
593         for Boolean and phrase searches.
594         (org-agenda-last-search-view-search-was-boolean): New variable.
595         (org-agenda-manipulate-query): Consider the type of the last
596         search when modifying the search string.
598 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
600         * org-latex.el (org-export-as-latex): Do the first letbind in the
601         right moment.
603         * org-agenda.el (org-get-entries-from-diary): Add the new face to
604         these entries.
606         * org-faces.el (org-agenda-diary): New face.
608         * org.el (org-make-link-regexps): Allow regexp-special characters
609         in link types.
610         (org-open-file): When in-emacs is `system', also force system
611         opening, like when the value was `(16)'.
612         (org-update-statistics-cookies): Handle entries without children.
614         * org-exp.el
615         (org-export-preprocess-before-normalizing-links-hook): New hook.
616         (org-export-preprocess-string): Run the new hook.
618         * org.el (org-offer-links-in-entry): Make RET open all links.
620         * org-html.el (org-export-as-html): Remove any left-over display
621         properties in the html file.
623         * org-wl.el (org-wl-store-link): Work-around for format bug with
624         text properties.
626         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
627         invisibility while adding the graphs.
629 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
631         * org-remember.el (org-select-remember-template): Use C letter to
632         customize remember templates.
634         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
635         Move cursor to next visible line.
637 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
639         * org-beamer.el (org-beamer-sectioning): Leave columns environment
640         by specifying 0 or 1 for column width.
641         (org-beamer-column-widths): Make 0 stand for 0.0.
643 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
645         * org-exp.el (org-export-mark-radio-links): Don't match inside
646         <<target>>.
648         * org.el (org-format-latex-header-extra): New variable.
649         (org-format-latex): Set org-format-latex-header-extra from
650         in-buffer stuff.
651         (org-format-latex): Add org-format-latex-header-extra to the
652         variables on which image creation depends.
653         (org-create-formula-image): Add the header stuff from in-buffer
654         settings.
655         (org-read-date-analyze): Base the analysis for future preference
656         on NOW, not on the default date.
658         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
659         for TODO keyword in inline tasks.
661         * org.el (org-log-note-headings): New headings for removing
662         deadline or scheduling date.
663         (org-deadline, org-schedule): Arrange for logging when removing a
664         date.
665         (org-add-log-note): Handle deadline and scheduling removal.
667 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
669         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
671 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
673         * org-agenda.el (org-diary-class): New function.
675 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
677         * org-latex.el (org-export-latex-preprocess): Do process the text
678         of a radio target.
680 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
682         * org.el (org-entry-properties): Add TIMESTAMP properties back
683         in.
685 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
687         * org.el (org-all-time-keywords): New variable.
688         (org-set-regexps-and-options): Set `org-all-time-keywords'.
689         (org-entry-blocked-p): New function.
690         (org-special-properties): Add BLOCKED as a new special property.
691         (org-entry-properties): New optional argument SPECIFIC, only parse
692         for this property when it is specified.
693         (org-entry-get): Pass a SPECIFIC argument to
694         `org-entry-properties'.
696         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
698 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
700         * org-latex.el (org-export-latex-tables): No forced line end if
701         there is no caption.
703 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
705         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
706         package.
708         * org-latex.el (org-export-latex-tables): Only add a caption when
709         macro in in longtable environments if one has been defined.
711         * org-html.el (org-export-as-html): Only take title from buffer if
712         not exporting body-only.
714         * org-latex.el (org-export-latex-preprocess): Better version of
715         the regular expression for protecting LaTeX macros.
716         (org-export-latex-preprocess): Start searching for macros to
717         protect from beginning of buffer.
719         * org-exp.el (org-export-target-internal-links): Check for
720         protectedness earlier in the string.
722         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
723         case sensitively.
725         * org-id.el (org-id-store-link): Match TODO keywords case
726         sensitively.
728         * org.el (org-heading-components, org-get-outline-path)
729         (org-display-outline-path): Match TODO keywords case sensitively.
731         * org-latex.el (org-export-as-latex): Ignore read-only
732         properties.
734         * org-exp.el (org-export-preprocess-string): Remove any
735         `read-only' properties.
737         * org-agenda.el (org-agenda-inactive-leader): New option.
738         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
739         (org-tags-view): Prompt for matcher if MATCH is an empty string.
740         (org-todo-list): Prompt for matcher if ARG is an empty string.
742 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
744         * org.el (org-open-link-functions): New hook.
745         (org-open-at-point): Run `org-open-link-functions'.
747 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
749         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
750         stamps as well.
752         * org.el (org-inhibit-startup-visibility-stuff): New variable.
753         (org-mode): Don't do startup visibility if inhibited.
754         (org-outline-overlay-data, org-set-outline-overlay-data): New
755         functions.
756         (org-save-outline-visibility): New macro.
757         (org-log-note-headings): Document that one should not change the
758         `state' note format.
760 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
762         * org.el (org-make-link-regexps): Capture link path into a group.
764 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
766         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
767         the options plist.
769 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
771         * org.el (org-startup-with-beamer-mode): New option.
772         (org-property-changed-functions)
773         (org-property-allowed-value-functions): New hooks.
774         (org-entry-put, org-property-get-allowed-values): Run the new
775         hooks.
776         (org-property-next-allowed-value): Run the new hooks.
778         * org-exp.el (org-export-select-backend-specific-text): Add the
779         special beamer tags.
781         * org-beamer.el
782         (org-export-preprocess-before-selecting-backend-code-hook): New
783         file.
785         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
786         (org-export-as-latex): Run
787         `org-export-latex-after-initial-vars-hook'.
788         (org-export-latex-format-toc-function)
789         (org-export-latex-make-header): Call
790         `org-export-latex-format-toc-function'.
792         * org.el (org-fill-template): Make template searches case sensitive.
794         * org-exp.el (org-export): Use "1" as a sign to export only the
795         subtree.
797         * org-colview-xemacs.el (org-columns-edit-value): Use
798         org-unrestricted property.
800         * org-colview.el (org-columns-edit-value):  Use
801         org-unrestricted property.
803         * org.el (org-compute-property-at-point): Set org-unrestricted
804         text property if the list contains ":ETC".
805         (org-insert-property-drawer):  Use
806         org-unrestricted property.
808         * org-exp.el
809         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
810         (org-export-preprocess-string): Run
811         `org-export-preprocess-before-selecting-backend-code-hook'.
813         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
815         * org-latex.el (org-export-region-as-latex): Run
816         `org-export-first-hook'.
818         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
820         * org-docbook.el (org-export-as-docbook): Run
821         `org-export-first-hook'.
823         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
825         * org-exp.el (org-export-first-hook): New hook.
827 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
829         * org-list.el (org-previous-item): Exit at the beginning of the
830         buffer.
832         * org-id.el (org-id-locations-save): Only write the id locations
833         if any are defined.
835         * org-archive.el (org-archive-all-done): Make this work in a file
836         with org-odd-levels-only set.
838         * org.el (org-get-refile-targets): Catch the case when a buffer
839         has no file.
841         * org-latex.el (org-export-as-latex): Cleanup forced line ends
842         where they are not needed.
843         (org-export-latex-subcontent): Remove unnecessary newlines.
845 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
847         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
848         (org-export-latex-fontify): Fix regexp bug that takes special
849         care of protecting the right boundary characters in emphasis
850         matches.
851         (org-export-latex-preprocess): Allow multiple arguments to latex
852         macros.
854         * org.el (org-make-link-regexps): Use John Gruber's regexp for
855         urls.
857         * org-macs.el (org-re): Interpret :punct: in regexps.
859         * org-exp.el (org-export-replace-src-segments-and-examples): Also
860         take the final newline after the END line.
862         * org.el (org-clean-visibility-after-subtree-move): Only fix
863         entries that are not entirely invisible already.
864         (org-insert-link): Respect org-link-file-path-type for
865         "docview:" links in addition to "file:" links.
867 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
869         * org-exp.el (org-export-format-source-code-or-example): Avoid
870         additional extra white lines in LaTeX.
872         * org-list.el (org-list-parse-list): Leave empty lines after the
873         list, don't consider them as part of the list.
875         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
876         searches.
878         * org-clock.el (org-clock-select-task): Convert integer to
879         character for XEmacs.
881 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
883         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
884         compatible.
886 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
888         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
889         variable.
890         (org-set-tags): Use it.
892 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
894         * org-list.el (org-empty-line-terminates-plain-lists): Update
895         docstring.
897         * org.el (org-format-latex): Fix link creation for processed latex
898         snippets.
900 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
902         * org-footnote.el (org-footnote-normalize): Protect replacement
903         text.
905         * org.el (org-inside-latex-macro-p): Save match data.
907 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
909         * org-docview.el: New file.
911 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
913         * org-latex.el (org-export-latex-class-options): New variable.
914         (org-export-latex-set-initial-vars): Use the class options.
916         * org.el (org-forward-same-level): Stop at headings that start
917         with an invisible character.
918         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
920 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
922         * org-footnote.el (org-footnote-normalize): Don't take optional
923         arguments in LaTeX macros as footnotes.
925         * org.el (org-inside-latex-macro-p): New function.
927         * org-latex.el (org-latex-to-pdf-process): Change customization
928         group to `org-export-pdf'.
930         * org-agenda.el (org-agenda-get-blocks): Look at time string also
931         on days after the first one.
933         * org.el (org-insert-heading): Also check for item before assuming
934         before-first-heading condition.
936         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
937         (org-export-pdf-logfiles): New option.
938         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
939         (org-export-pdf-logfiles): Fix customization type.
941         * org.el (org-insert-link): Improve error message when there is no
942         default link to select with RET.
944         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
945         parameter list.
947 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
949         * org-latex.el (org-export-latex-parse-global)
950         (org-export-latex-parse-content)
951         (org-export-latex-parse-subcontent): Use
952         `org-re-search-forward-unprotected'.
953         (org-export-as-pdf): Remove log files produced by XeTeX.
955         * org-macs.el (org-re-search-forward-unprotected): New function.
957 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
959         * org-colview.el (org-agenda-colview-summarize): Sort out some
960         confusion between properties and titles, which resulted in
961         agenda summaries not working if a title was set for a column.
963 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
965         * org-mobile.el (org-mobile-agendas): New option.
966         (org-mobile-sumo-agenda-command): Select the right agendas.
968         * org-latex.el (org-export-latex-format-image): Preserve the
969         original-indentation property.
971 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
973         * org-clock.el (org-clock-insert-selection-line): Catch error when
974         an old tasks no longer exists.
976         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
977         (org-export-as-pdf): Don't remove the old PDF file before making
978         the new one.
980         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
981         (org-mouse-context-menu): Use `org-looking-back'.
983         * org.el (org-cycle-level): Use `org-looking-back'.
985         * org-list.el (org-cycle-item-indentation): Use
986         `org-looking-back'.
988         * org-compat.el (org-looking-back): New function.
990         * org.el (org-insert-heading): Catch before-first-headline when
991         inserting a headline.
993 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
995         * org-latex.el (org-export-latex-format-image): Indent figure
996         environment, so that it does not interrupt plain list.
998         * org.el (org-open-at-point): Allow long link descriptions.
1000 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
1002         * org-html.el (org-export-as-html): Remove empty lines at the
1003         beginning of the exported text.
1005 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
1007         * org-protocol.el (org-protocol-remember): Cater for empty title,
1008         region, link.
1010         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
1011         agenda after adding new entry.
1012         (org-agenda-get-represented-tags): New function.
1013         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
1014         to get a list of tags in the agenda.
1016         * org-datetree.el (org-datetree-find-day-create): Fix regular
1017         expression.
1019         * org.el (org-display-outline-path): Use a format specifier for
1020         message, to avoid problems with heading containing `%'.
1022         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
1023         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
1024         (org-agenda-fix-displayed-tags): New function.
1025         (org-agenda-do-context-action): Just call
1026         `org-display-outline-path', without piping the result through
1027         `message'.
1029         * org-latex.el (org-export-latex-preprocess): Protect secondary
1030         footnote references.
1032         * org-indent.el (org-indent-initialize): Avoid empty strings as
1033         line prefixes.
1035         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
1036         hat checking for the mark does not throw an error.
1037         (org-agenda-diary-entry-in-org-file): Catch the case that there is
1038         not `day' text property in the cursor line.
1040         * org.el (org-sort-entries-or-items): Make sure that the final
1041         entry has a newline before doing the sorting.
1043         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
1044         property at the beginning of the line.
1046         * org.el (org-make-link-string): Don't allow a description with
1047         only white space.
1049 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
1051         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
1052         (org-agenda-insert-diary-as-top-level): New function.
1053         (org-agenda-add-entry-to-org-agenda-diary-file): Call
1054         `org-agenda-insert-diary-as-top-level'.
1056         * org.el (org-occur-in-agenda-files): Make sure none of the
1057         buffers is narrowed.
1058         (org-activate-plain-links): Add the face property here.
1059         (org-set-font-lock-defaults): Do not add the face to plain links,
1060         the activator function does this.
1062         * org-habit.el (org-is-habit-p): Add doc string.
1064 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
1066         * org-archive.el (org-archive-subtree-default-with-confirmation):
1067         Autoload.
1069         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
1070         after match optional (happens at the end of a line...).
1072         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
1073         for special blocks.
1075         * org-faces.el (org-copy-face): Set lisp indentation.
1076         (org-quote, org-verse): New faces.
1078         * org-agenda.el (org-agenda-remove-date): Remove variable.
1080 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1082         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
1084 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1086         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
1087         hash keys to cache and re-use images generated by the
1088         org-exp-blocks interface to ditaa and dot.
1090 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
1092         * org-html.el (org-export-as-html): Move the home/up link into
1093         the content div.
1095         * org.el (org-export-latex-packages-alist): Option definition
1096         moved here from org-latex.el.
1098 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
1100         * org.el (org-format-latex): Latex images are now saved to files
1101         named by the sha1 hash of the latex source text avoiding
1102         regeneration of identical images.
1104 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
1106         * org-html.el (org-export-html-home/up-format): Add an ID to the
1107         up/home div.
1109 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
1111         * org-wl.el (org-wl-store-link): Handle the case that
1112         `wl-use-petname' is set.
1114         * org.el (org-set-effort): Improve prompt.
1115         (org-get-outline-path): Widen to get full path.
1116         (org-compact-display-after-subtree-move): Function removed.
1118         * org-latex.el (org-export-as-latex): Add the :drawers property.
1120 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
1122         * org.el (org-speed-commands-user): Allow documentation headlines.
1123         (org-speed-commands-default): Organize the value of this constant
1124         with descriptive headlines.
1125         (org-print-speed-command): Output the headlines.
1127 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
1129         * org-agenda.el (org-agenda-show-outline-path): New option.
1130         (org-agenda-do-context-action): New function.
1131         (org-agenda-next-line, org-agenda-previous-line): Use
1132         `org-agenda-do-context-action'.
1134         * org.el (org-use-speed-commands): Allow function value.
1135         (org-speed-commands-default): Make headline motion safe, so that
1136         these commands always end on a headline.
1137         (org-speed-commands-default): New key `v' for `org-agenda'.
1138         (org-speed-move-safe): New function.
1139         (org-self-insert-command): Use the function value of
1140         `org-use-speed-commands'.
1141         (org-get-outline-path): Improve docstring.
1142         (org-format-outline-path): New function.
1143         (org-display-outline-path): New function.
1145 2009-11-12  John Wiegley  <jwiegley@gmail.com>
1147         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
1148         a string, use that to find the LOGBOOK drawer.
1150 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
1152         * org.el (org-clone-subtree-with-time-shift): Make it work at the
1153         end of the buffer.
1155         * org-mobile.el (org-mobile-write-checksums): Specify coding
1156         system.
1157         (org-mobile-timestamp-buffer): Keep local variable/mode line at
1158         beginning of buffer.
1160         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
1162         * org.el (org-block-todo-from-children-or-siblings-or-parent)
1163         (org-block-todo-from-checkboxes): Do not block changes to a nil
1164         TODO state.
1166 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
1168         * org-habit.el (org-habit-parse-todo): Indicate which habit is
1169         wrongly set up in the error messages.
1171         * org-colview.el (org-columns-display-here): Don't try to
1172         calculate values if the underlying property is not set.
1173         (org-columns-string-to-number): Convert age strings back into
1174         fractional days.
1175         (org-agenda-colview-summarize): Handle extended summary types
1176         properly.
1178         * org-colview-xemacs.el (org-columns-display-here): Don't try to
1179         calculate values if the underlying property is not set.
1180         (org-columns-string-to-number): Convert age strings back into
1181         fractional days.
1182         (org-agenda-colview-summarize): Handle extended summary types
1183         properly.
1185 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
1187         * org-exp.el (org-export-format-drawer-function): New variable.
1188         (org-export-format-drawer): New function.
1189         (org-export-preprocess-string): Pass the backend as a parameter to
1190         `org-export-remove-or-extract-drawers'.
1191         (org-export-remove-or-extract-drawers): New parameter BACKEND.
1193         * org-protocol.el (org-protocol-char-to-string): New defsubst.
1195 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
1197         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
1198         message when no block is selected.
1200         * org-latex.el (org-export-latex-links): Check for protectedness
1201         in the last matched character, not after the match.
1203         * org-datetree.el (org-datetree-find-date-create): Respect
1204         restriction when KEEP-RESTRICTION is set.
1205         (org-datetree-file-entry-under): New function.
1206         (org-datetree-cleanup): New command.
1208 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
1210         * org-src.el (org-edit-src-code): New optional argument context
1211         allows calling functions to avoid altering the saved window
1212         configuration.
1213         (org-edit-src-exit): Do not restore window configuration when this
1214         function is used in the context of saving the edit buffer.
1216 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
1218         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
1219         instances to switching to with-current-buffer, because these seem
1220         to cause problems - no idea why.
1222         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1223         Require diary-lib for (diary-date-display-form).
1225         * org.el (org-log-reschedule, org-log-redeadline): New options.
1226         (org-log-note-headings): Add templates for rescheduling and
1227         deadline changing.
1228         (org-startup-options): Add in-buffer settings for logging changing
1229         schedule and deadline time stamps.
1230         (org-deadline, org-schedule): Check for existing date and arrange
1231         for logging if the user requests it.
1232         (org-add-log-note): Prepare proper note buffers for rescheduling
1233         and deadline changes.
1235 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
1237         * org-agenda.el (org-agenda-diary-entry-in-org-file)
1238         (org-agenda-add-entry-to-org-agenda-diary-file)
1239         (org-agenda-insert-diary-make-new-entry): New functions.
1240         (org-agenda-diary-entry): Call
1241         `org-agenda-diary-entry-in-org-file' when appropriate.
1243         * org.el (org-calendar-insert-diary-entry-key): New option.
1244         (org-agenda-diary-file): New option.
1245         ("calendar"): Install our insertion function in the calendar.
1247         * org-remember.el (org-datetree): Require.
1248         (org-remember-templates): Add new positioning option.
1249         (org-remember-reference-date): New variable.
1250         (org-remember-apply-template): Store the reference date in a local
1251         variable.
1252         (org-remember-handler): Implement date tree positioning of entries.
1254         * org-datetree.el: New file.
1256         * org-latex.el (org-export-latex-preprocess): Protect targets in
1257         verbatim emphasis.
1259         * org-html.el (org-export-as-html): Protect targets in verbatim
1260         emphasis.
1262         * org-docbook.el (org-export-as-docbook): Protect targets in
1263         verbatim emphasis.
1265 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
1267         * org.el (org-link-display-format): Should be literal replacement.
1269 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
1271         * org-clock.el (org-show-notification): Handle messages that
1272         contain a percent character.
1274         * org-remember.el (org-remember-apply-template): Turn of partial
1275         completion.
1277         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
1278         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
1280         * org.el (org-indent-mode): Define variable already in org.el.
1281         (org-unfontify-region): Remove line-prefix and wrap-prefix
1282         properties only if org-indent-mode is active.
1284 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1286         * org-icalendar.el (org-print-icalendar-entries): Save match data
1287         around call to verify function.
1288         (org-print-icalendar-entries): Add a call to the verification
1289         function.
1291         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
1292         save-restrivtion' form.
1294 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
1296         * org-exp.el (org-export-format-source-code-or-example): restrict
1297         scope of preserve-indentp to the let binding.
1298         (org-src): require org-src, since org-src-preserve-indentation is used.
1300 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1302         * org-timer.el (org-timer-set-timer): Set variables
1303         org-timer-timer[123] correctly.
1306         * org-mobile.el (org-mobile-files-alist): Make it work when
1307         `agenda-archives' is included in
1308         `org-agenda-text-search-extra-files'.
1309         (org-mobile-push): Restore agenda after mobile push.
1311 2009-11-05  John Wiegley  <jwiegley@gmail.com>
1313         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1314         way the amount of idle time is presented in the minibuffer.
1316 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1318         * org-icalendar.el (org-print-icalendar-entries): Use
1319         org-icalendar-verify-function only if non-nil.
1321         * org.el (org-refile): Refile to clock only if the prefix arg is
1322         2.
1323         (org-sparse-tree): Fix docstring to be in line with prompt.
1324         (org-update-parent-todo-statistics): Call
1325         `org-after-todo-statistics-hook' on each level.
1327 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
1329         * org-remember.el (org-remember-apply-template): Make sure the
1330         buffer exists.
1332 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
1334         * org.el (org-tab-ind-state): New variable.
1335         (org-cycle-level): New function.
1336         (org-cycle-level-after-item/entry-creation): New option.
1337         (org-flag-subtree): New function.
1338         (org-hide-archived-subtrees): Call `org-flag-subtree'.
1339         (org-set-effort): Indexed access.
1341         * org-list.el (org-cycle-item-indentation): New function.
1343         * org.el (org-refile): Make prefix argument 2 refile to current
1344         clock.
1345         (org-priority): Interpret action `remove' as call to remove the
1346         priority cookie.
1348         * org-remember.el (org-remember-apply-template): Don't depend on
1349         buffer name being like file name.
1351 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
1353         * org-clock.el (org-clock-play-sound): Expand file in
1354         org-clock-sound, to allow ~ for home.
1356         * org-remember.el (org-remember-handler): Set
1357         text-before-node-creation even if this already looks like a node,
1358         because the string might be needed on non-org-mode target files.
1360         * org-agenda.el (org-agenda-open-link): Make this work in agenda
1361         clocktables.
1362         (org-agenda-switch-to): Follow a link at point if
1363         org-return-follows-link' is set and there is nothing else to do in
1364         this line.
1366 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1368         * org-colview-xemacs.el: Add in changes from org-colview.el
1370 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1372         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1373         strings.
1375 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1377         * org-colview.el (org-columns-new): Make this work with the new
1378         operators.
1379         (org-columns-store-format): Make this work with the new operators.
1381 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1383         * org-src.el (org-src-preserve-indentation): Document that this
1384         variable is also used during export.
1386         * org-exp.el (org-export-format-source-code-or-example): Preserve
1387         indentation if a block has a -i option, or if
1388         `org-src-preserve-indentation' is set.
1390         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1391         indentation if a block has a -i option, or if
1392         `org-src-preserve-indentation' is set.
1394 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1396         * org.el (org-mode-map): Define the new archiving keys.
1397         (org-speed-commands-default): Define an archiving key in the speed
1398         command map.
1399         (org-org-menu): Improve the menu structure concerning archiving.
1401         * org-archive.el (org-archive-subtree-default-with-confirmation):
1402         New command.
1404         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1405         (org-agenda-menu): Add the new archiving commands to the menu.
1406         (org-agenda-archive-default)
1407         (org-agenda-archive-default-with-confirmation): New commands.
1408         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1409         call `org-agenda-archive-with'.
1410         (org-agenda-archive-with): New function.
1412         * org-table.el (org-table-convert-region): Inert spaces around "|"
1413         to avoid line beginnings like "|-1" which will be mistaken as
1414         hlines.
1416 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1418         * org.el (org-offer-links-in-entry): Return nil if there are no
1419         links, t if a link has been selected.
1420         (org-open-at-point): Open attachment directory when called in the
1421         headline and there are no links in the entry body.
1422         (org-speed-commands-default): Add "o" for open-at-point as a speed
1423         command.
1425         * org-attach.el (org-attach-reveal): Optional prefix arg
1426         IF-EXISTS, which avoids creating the attachment directory if it
1427         does not yet exist.
1429         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1430         MATCH.
1432 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1434         * org.el ("abbrev"): Work with abbrev tables only after they have
1435         been loaded.
1437         * org-list.el (org-list-send-list): Fix bug related to match
1438         data.
1440         * org-latex.el (org-export-latex-fontify): Apply verbatim
1441         emphasis.
1442         (org-export-latex-make-header): Insert \obeylines if line breaks
1443         should be preserved.
1445         * org-exp.el (org-export-protect-verbatim): Add an
1446         `org-verbatim-emph' property to such text.
1448 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1450         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1451         (org-print-icalendar-entries): Skip entries where the timestamp is
1452         not a deadline and not scheduled, if the user requests that.
1454         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1455         before an opening quote.
1457         * org-archive.el (org-archive-subtree): Keep archive after
1458         archiving something.
1460         * org-id.el (org-id-update-id-locations): Add archive files if
1461         that is required by `org-id-extra-files'.
1463 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1465         * org-src.el (org-src-window-setup): New option.
1466         (org-src-switch-to-buffer): New function.
1467         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1468         restore window configuration.
1469         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1470         Call `org-src-switch-to-buffer'.
1472         * org.el (org-default-properties): Add STYLE property.
1473         (org-files-list): Use the function call to get the files.
1474         (org-additional-option-like-keywords): Add SETUPFILE to completion
1475         list.
1477 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1479         * org-table.el (org-table-convert-region): Correctly interpret
1480         quoting in csv import.
1482         * org.el (org-icompleting-read): Make iswitchb completion work
1483         with lists and tables.
1485         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1486         while pushing the mobile agenda.
1488 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1490         * org-clock.el
1491         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1492         and `when-no-clock-is-running'.
1493         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1494         whether or not to resolve Org buffers on clock in.
1496 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1498         * org-colview.el (org-format-time-period): Function to format
1499         times in fractional days for display.
1500         (org-columns-display-here): Add support for showing a calculated
1501         value in place of the property.
1502         (org-columns): Set `org-columns-time' to the current time so time
1503         difference calculations will work.
1504         (org-columns-time): Use to store the current time when column view
1505         is displayed, so all time differences will use the same reference
1506         point.
1507         (org-columns-compile-map): There is now an extra position in each
1508         entry specifying the function to use to calculate the displayed
1509         value for the non-calculated properties in the column,
1510         (org-columns-compute-all): Set `org-columns-time' to the current
1511         time so time difference calculations will work.
1512         (org-columns-compute): Handle column operators where the values
1513         used are calculated from the underlying property.
1514         (org-columns-number-to-string): Handle the 'age' column format
1515         (org-columns-string-to-number): Correct the function name (was
1516         org-column...). Add support for the 'age' column format.
1517         (org-columns-compile-format): Support the additional parameter in
1518         org-columns-compile-map.
1520 2009-10-26  Bastien Guerry  <bzg@altern.org>
1522         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1523         variable.
1525 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1527         * org-clock.el (org-clock-has-been-used): New variable.
1528         (org-clock-in): Set `org-clock-has-been-used'.
1529         (org-clock-save): Save only if clock data has been used or created
1530         during this session.
1532 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1534         * org-clock.el (org-clock-persist): New value, to store only the
1535         clock history.
1536         (org-clock-save): Don't save the clock if only the history should
1537         be stored.
1538         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1539         when restoring a saved clock.
1541 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1543         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1544         `org-time-clock-use-fractional'.
1546         * org.el (org-time-clocksum-use-fractional)
1547         (org-time-clocksum-fractional-format): Two new customizable
1548         variables which allow the user to select fractional times (1.25
1549         instead of 1:25) in the `org-clock-display' report.
1551 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1553         * org-habit.el (org-habit-build-graph): None of the arguments
1554         should be optional.
1555         (org-habit-parse-todo, org-habit-deadline)
1556         (org-habit-get-priority, org-habit-get-faces)
1557         (org-habit-build-graph): Further simplifications by storing all
1558         past, scheduled and deadline dates as a number of days past the
1559         epoch, and not as times.
1561         * org-habit.el (org-habit-warning-face)
1562         (org-habit-warning-future-face): Removed because these are no
1563         longer used.
1564         (org-habit-deadline, org-habit-deadline-repeat): Now always
1565         returns a date; computed if there was a scheduled repeater but no
1566         deadline repeater.
1567         (org-habit-get-priority): Further improvements to the priority
1568         algorithm.  In particular, items past due should always appear
1569         before items due or not yet due.
1570         (org-habit-get-faces): Greatly simplified the logic, now that
1571         `org-habit-deadline' always returns a valid time.
1573 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1575         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1576         New option.
1578         * org.el (org-tag-alist): Fix customization type.
1580 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1582         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1583         Make sure the regexp search can fail without throwing an error.
1584         (org-mobile-apply): Save the inbox buffer after removing
1585         successfully applied changes.
1587 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1589         * org-habit.el (org-habit-build-graph): Fix to the graph building
1590         when last DONE date is earlier than `org-habit-preceding-days'.
1592         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1593         time is reported after the user comes back (but before they
1594         resolve time).
1596         * org.el (org-get-repeat): Change so that this function can be
1597         called with either `org-scheduled-string' or
1598         `org-deadline-string'.
1600         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1601         to find the scheduled date.
1603         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1604         `org-clock-disable-clock-resolution', since negatives don't sound
1605         good in customization variables.
1606         (org-clock-in): Don't use the auto-resolution logic if the user is
1607         clocking into a different task while an active clock is running.
1608         This then allows the default behavior of clocking out of the open
1609         task and then into the new task.
1611         * org-habit.el (org-habit-parse-todo): Generate an error if a
1612         habit has a scheduled repeat period < 1.
1613         (org-habit-get-faces): Fixes to the way that colors are computed.
1614         (org-habit-build-graph): The graph wasn't displaying beyond any
1615         day that had two completions in it.
1617         * org.el (org-modules): Made this variable more consistent, since
1618         it was referring to Org, OrgMode and Org-mode, whereas the docs
1619         for the variable always refer to Org-mode.
1621 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1623         * org.el (org-repeat-re): The changed org-repeat-re no longer
1624         matched simple +2d type repeaters. Fix it so it does.
1626 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1628         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1629         macro in the VERSE environment.
1631 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1633         * org-habit.el (org-habit-get-priority): A new function that
1634         determines the relative priority of a habit, based on how long
1635         past its scheduled date it is, and how near the deadline is.
1637         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1638         using `org-habit-get-priority'.
1640         * org-habit.el (org-habit-build-graph): Start displaying colors
1641         from the first scheduled date, if that date is earlier than the
1642         first completion date.
1644         * org-habit.el: Changed all "color" variables to faces, and made
1645         them appropriate for light and dark backgrounds.
1647         * org-habit.el (org-habit-duration-to-days): Made this function
1648         more general.
1649         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1651         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1652         habits, since they don't use DEADLINE anymore.
1654         * org.el (org-repeat-re, org-display-custom-time)
1655         (org-timestamp-change): Extended to support the new ".+N/N"
1656         syntax, used for habits.
1658         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1659         variable reference.
1661         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1662         modeline when habits are being displayed (if that module is being
1663         loaded).
1665 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1667         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1668         idle time using the xscreensaver extension.
1669         (org-user-idle-seconds): Use X11 idle time if available.
1671 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1673         * org-agenda.el (org-agenda-next-line): New command.
1674         (org-agenda-previous-line): New commands.
1675         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1676         commands.
1677         (org-agenda-follow-mode): Do the follow immediately if the mode is
1678         turned on here.
1679         (previous-line, next-line): Replace keys with the corresponding
1680         org functions.
1681         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1682         command.
1684         * org.el (org-icompleting-read): Turn off partial completion mode
1685         for the duration of this completion round.
1687         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1688         macros in author lines and similar stuff.
1690         * org.el (org-file-tags): Fix docstring.
1691         (org-get-buffer-tags): Add the #+FILETAGS tags.
1692         ("ecb"): Maks ecb show context after jumping into an Org file.
1694 2009-10-20  John Wiegley  <johnw@newartisans.com>
1696         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1697         graphs after everything else in the buffer has been setup.
1699 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1701         * org-mobile.el (org-mobile-apply): Count success and failure.
1703         * org.el (org-indent-line-function): Fix regexp replace problem.
1705 2009-10-19  John Wiegley  <johnw@newartisans.com>
1707         * org-clock.el (org-clock-disable-clock-resolution): New
1708         customization variable that disable automatic clock resolution on
1709         clock in.
1710         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1711         not automatically resolve anything.  This is does not affect
1712         idle-time resolution, however, if `org-clock-idle-time' is set.
1714 2009-10-19  John Wiegley  <johnw@newartisans.com>
1716         * org-habit.el: New file, which implements code to build a "habit
1717         consistency graph".
1719         * org-agenda.el (org-agenda-get-deadlines)
1720         (org-agenda-get-scheduled): Display consistency graphs when
1721         outputting habits into the agenda.  The graphs are always relative
1722         to the current time.
1723         (org-format-agenda-item): Added new parameter `habitp', which
1724         indicates whether we are formatting a habit or not.  Do not
1725         display "extra" leading information if habitp is true.
1727         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1728         leaders for repeat strings.
1729         (org-get-repeat): Now takes a string parameter `tagline', so the
1730         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1732 2009-10-19  John Wiegley  <johnw@newartisans.com>
1734         * org-agenda.el (org-agenda-auto-exclude-function): New
1735         customization variable for allowing the user to create an "auto
1736         exclusion" filter for doing context-aware auto tag filtering.
1737         (org-agenda-filter-by-tag): Changes to support the use of
1738         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1740 2009-10-18  John Wiegley  <johnw@newartisans.com>
1742         * org.el (org-files-list): Don't attempt to return a file name for
1743         Org buffers which have no associated file.
1745         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1747 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1749         * org-mobile.el (org-mobile-locate-entry): Interpret files
1750         relative to org-directory.
1751         (org-mobile-inbox-for-pull): Document the best location for this
1752         file.
1753         (org-mobile-check-setup): Verify `org-directory'.
1754         (org-mobile-create-index-file): Sort the files to be listed in
1755         index.org.
1757 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1759         * org.el (org-fast-tag-selection): Add a way to display a
1760         description for a tag group. This is done by adding a string to
1761         either the startgroup or endgroup cell.
1763 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1765         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1766         (org-emacs-idle-seconds): Use `org-float-time' instead of
1767         `time-to-seconds'
1769 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1771         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1772         type.
1774         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1775         the value of ARG when doing local cycling.
1777 2009-10-17  John Wiegley  <johnw@newartisans.com>
1779         * org-clock.el (org-clock-resolve-clock): If keeping or
1780         subtracting time results in a clock out at a time in the past, and
1781         if the resolution occurred due to idleness or invoking `M-x
1782         org-resolve-clocks', remember that past moment in time.  On the
1783         next clock in, the user will be prompted to see if they want to
1784         back-date their new clock to then.
1785         (org-clock-resolve): Do not jump the user to the location of a
1786         dangling clock if the resolution is occuring due to an idle
1787         timeout.  In that case there is typically only one dangling clock,
1788         the active one, and there is no value gained by shuffling their
1789         windows around to show it to them.  Being prompted to resolve an
1790         idle clock should be as inobtrusive as possible.
1791         (org-resolve-clocks-if-idle): New function that resolves only the
1792         currently active clock if the user has exceeded the time returned
1793         by `org-user-idle-seconds', based on the value of
1794         `org-clock-idle-time'.
1795         (org-clock-in): If, after resolving clocks,
1796         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1798         * org-clock.el (org-clock-resolve-clock): New function that
1799         resolves a clock to a specific time, closing or resuming as need
1800         be, and possibly even starting a new clock.
1801         (org-clock-resolve): New function used by `org-resolve-clocks'
1802         that sets up for the call to `org-clock-resolve-clock'.  It
1803         determines the time to resolve to based on a single-character
1804         selection from the user to either keep time, subtract away time or
1805         cancel the clock.
1806         (org-resolve-clocks): New user command which resolves dangling
1807         clocks -- that is, open but not active -- anywhere in the file
1808         list returned by `org-files-list'.
1809         (org-clock-in): Automatically resolve dangling clocks whenever a
1810         user clocks in.
1811         (org-clock-cancel): If the user cancels the solely clock in a
1812         LOGBOOK, remove the empty drawer.
1814         * org-clock.el (org-clock-idle-time): New user customizable option
1815         for detecting whether the user has left a clock idle.  Note: it is
1816         only used in this commit to test whether it's worthwhile to check
1817         OS X to get the Mac user's current idle time.  If the Emacs idle
1818         time is less than the value, the user hasn't been away long enough
1819         to be worth checking (a more expensive test than just getting
1820         Emacs idle time).
1821         (org-user-idle-seconds, org-mac-idle-seconds)
1822         (org-emacs-idle-seconds): This three functions, in conjunction
1823         with the user customization variable `org-clock-idle-time', return
1824         the number of seconds (as a floating point) that the user has been
1825         away from their Emacs (or, if running on OS X, their computer).
1827         * org-clock.el (org-find-open-clocks): New function that returns a
1828         list of all open clocks in the given FILE.  Note that each clock
1829         it returns is a cons cell of the format (MARKER . START-TIME).
1830         This "clock" value is used by several of the new clock module
1831         utility functions.
1832         (org-is-active-clock): New inline function which tests whether the
1833         given clock value is the same as the currently active clock.
1834         Returns non-nil if this is the case.
1835         (org-with-clock-position): New macro that evaluates FORMS with
1836         point in the buffer and at the position of the given clock.
1837         Changes to the current clock are global.
1838         (org-with-clock): New macro that evaluates FORMS with point in the
1839         buffer and at the position of the given clock.  However, changes
1840         to the current clock are local and have no effect on the user's
1841         active clock.  This allows, for example, far any clock to be
1842         cancelled without cancelling the active clock.
1843         (org-clock-clock-in): New inline function that switches the active
1844         clock to the given clock.  If either the argument RESUME, or the
1845         global `org-clock-in-resume', are non-nil, it will resume a clock
1846         that was previously left open.
1847         (org-clock-clock-out): New inline function that clocks out the
1848         given clock value without affecting the currently active clock.
1849         (org-clock-clock-cancel): New inline function that cancels the
1850         given clock value without affecting the currently active clock.
1852         * org-clock.el (org-clock-in): Before creating
1853         `org-clock-mode-line-timer', check to make sure an older timer is
1854         not currently running.
1855         (org-clock-out): Accept new third parameter `at-time', which
1856         permits a clock to be clocked out at a specific time.  Note that
1857         no attempt is made to verify that the clock out time is later than
1858         the clock in time.
1860         * org.el (org-files-list): New utility function for returning a
1861         list of all open org-mode buffers, plus all files used to build
1862         the agenda buffer.  Note that not all the files will necessarily
1863         be visited by a buffer at time of call.
1864         (org-entry-beginning-position): Like the function
1865         `line-beginning-position', this inline function returns the
1866         beginning position of the current heading/entry.
1867         (org-entry-end-position): Like the function `line-end-position',
1868         this inline function returns the end position of the current
1869         heading/entry.
1871 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1873         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1874         a header line.
1876 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1878         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1880 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1882         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1883         entries that have no tags.
1884         (org-agenda-search-view): New customize group.
1885         (org-agenda-search-view-search-words-only): New option.
1886         (org-search-view): Implement substring search.
1888 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1890         * org.el (org-outline-level): Add doc string.
1892 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1894         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1895         variable.
1896         (org-inlinetask-export-handler): Only export inline task if the
1897         user option calls for it.
1899 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1901         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1902         END if present.
1904 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1906         * org-latex.el (org-export-latex-tables): Don't format in
1907         protected regions.
1909 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1911         * org-src.el (org-edit-src-code)
1912         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1913         macro editing.
1915         * org-agenda.el (org-prefix-category-max-length): New variable.
1916         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1917         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1919 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1921         * org-mobile.el (org-mobile-create-index-file): Improve the
1922         listing of tags and todo keywords.
1924         * org-latex.el (org-export-latex-format-image): New function.
1925         (org-export-latex-links): Use `org-export-latex-format-image'.
1927 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1929         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1930         (org-inlinetask-remove-terminator): New functions.
1931         (org-inlinetask-export-handler): Terminate the description list.
1933         * org-exp.el (org-export-select-backend-specific-text): Remove the
1934         region markers.
1936         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1937         tasks without content.
1939         * org-clock.el: Make sure the clock-in target position does not
1940         move to a different node by widening the buffer.
1942         * org-html.el (org-export-html-format-image): Wrap image into
1943         figure div only when there is a caption.
1945         * org-archive.el (org-archive-mark-done): Change default value to
1946         nil.
1948 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1950         * org.el (org-context): Call `bobp', not `eobp'.
1952         * org-clock.el (org-clock-cancel): Remove quotes from marker
1953         variables.
1955         * org.el (org-read-date-prefer-future): New allowed value `time'.
1956         (org-read-date-analyze): Shift day to tomorrow depending on time
1957         entered and value of `org-read-date-prefer-future'.
1959 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1961         * org.el (org-set-tags-to): New command.
1963         * org-mobile.el (org-mobile-action-alist): Add more options and
1964         update the docstring.
1965         (org-mobile-apply-flags): Parse for and use the data.
1967         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1968         the plist.
1970         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1971         keyword.
1973         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1975 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1977         * org-inlinetask.el (org-inlinetask-export): Option removed.
1978         (org-inlinetask-export-handler): Better export.
1980         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1981         (org-export-as-xoxo): Run the new hook.
1983         * org-html.el (org-export-html-final-hook): New hook.
1984         (org-export-as-html): Run the new hook.
1986         * org-docbook.el (org-export-docbook-final-hook): New hook.
1987         (org-export-as-docbook): Run the new hook.
1989         * org-ascii.el (org-export-ascii-final-hook): New hook.
1990         (org-export-as-ascii): Run the new hook.
1992         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1993         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1995         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1996         space character as the character before the ^/_.
1997         (org-export-latex-final-hook): New hook.
1998         (org-export-as-latex): Run `org-export-latex-final-hook'.
2000 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
2002         * org-macs.el (org-if-unprotected-at): Fix docstring.
2004         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
2005         text in the prefix (if category is a link).
2007         * org-latex.el (org-export-latex-preprocess): Deal properly with
2008         empty lines in verse environments.
2010         * org.el (org-format-latex-header): Inline fullpage.sty.
2012         * org-footnote.el (org-footnote-create-definition): Reveal context
2013         to add a new footnote definition.
2015         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
2016         the index file.
2017         (org-mobile-files): New option.
2018         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
2019         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
2020         functions.
2021         (org-mobile-push): Start by creating the files lists.
2022         (org-mobile-copy-agenda-files): Move killing the buffer to after
2023         the save-excursion has exited.
2024         (org-mobile-write-checksums): Write checksums also for files in
2025         sub-directories.
2027         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
2028         org-table-recalculate when cursor is in TBLFM line.
2030         * org-list.el (org-renumber-ordered-list): Fix cursor position
2031         when bullet length has changed.
2033 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
2035         * org.el (org-format-latex): Mention `org-format-latex-options' in
2036         the docstring.
2038 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2040         * org.el (org-agenda-get): New function.
2042         * org-agenda.el (org-agenda-post-command-hook): No longer move
2043         point away from end of line.
2044         (org-agenda-add-entry-text, org-agenda-collect-markers)
2045         (org-finalize-agenda, org-agenda-mark-clocking-task)
2046         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
2047         (org-agenda-entry-text-show, org-agenda-highlight-todo)
2048         (org-agenda-compare-effort, org-agenda-filter-apply)
2049         (org-agenda-later, org-agenda-change-time-span)
2050         (org-agenda-post-command-hook, org-agenda-show-priority)
2051         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
2052         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
2053         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
2054         (org-agenda-open-link, org-agenda-copy-local-variable)
2055         (org-agenda-switch-to, org-agenda-check-no-diary)
2056         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
2057         (org-agenda-add-note, org-agenda-change-all-lines)
2058         (org-agenda-priority, org-agenda-set-tags)
2059         (org-agenda-set-property, org-agenda-set-effort)
2060         (org-agenda-toggle-archive-tag, org-agenda-date-later)
2061         (org-agenda-show-new-time, org-agenda-date-prompt)
2062         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
2063         (org-agenda-clock-in, org-agenda-bulk-mark)
2064         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
2065         `org-get-at-bol'.
2067         * org-colview.el (org-columns-display-here)
2068         (org-columns-edit-allowed, org-agenda-columns): Use
2069         `org-get-at-bol'.
2071 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
2073         * org.el (org-special-ctrl-a/e): Improve documentation and
2074         customize type.
2075         (org-end-of-line): Don't jump to after the ellipsis.
2076         (org-mode-map): Bind <home> and <end> as well.
2078 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
2080         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
2081         space after #+ as comments.
2082         (org-open-at-point): Run `org-follow-link-hook' always.
2084         * org-latex.el (org-export-latex-emph-format): Use better commands
2085         to insert special characters in verbatim snippets.
2087 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
2089         * org-faces.el (org-copy-face): New function.  Use it to create
2090         various faces formerly created by using `copy-face'.
2092         * org-agenda.el (org-prepare-agenda): Don't officially mark this
2093         window dedicated.
2094         (org-agenda-quit): Kill the frame containing the agenda window if
2095         that frame was created for the agenda.
2097 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
2099         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
2100         stamp in the agenda.
2102 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
2104         * org-mobile.el (org-mobile-create-index-file): Add the list of
2105         TODO keywords, and the list of drawers to the index file.
2107         * org-agenda.el (org-prepare-agenda): Reset
2108         `org-drawers-for-agenda'.
2109         (org-prepare-agenda): Uniquify list of drawers.
2111         * org.el (org-complex-heading-regexp-format): New variable.
2112         (org-set-regexps-and-options): Define
2113         `org-complex-heading-regexp-format'.
2114         (org-drawers-for-agenda): New variable.
2115         (org-map-entries): Bind `org-drawers-for-agenda'.
2116         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
2118         * org-remember.el (org-go-to-remember-target)
2119         (org-remember-handler): Use `org-complex-heading-regexp-format'.
2121 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
2123         * org-agenda.el (org-agenda-highlight-todo): Fix text property
2124         problem.
2126         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
2127         the capture file, and make it non-configurable.
2129         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
2130         always with `invisible-ok'.
2131         (org-store-link): No error when there is nothing to link to in the
2132         agenda.
2134         * org-list.el (org-update-checkbox-count): Insert changed cookie
2135         before the old, to avoid problems with invisibility at the end of
2136         the line.
2137         (org-update-checkbox-count): Insert changed cookie before the old,
2138         to avoid problems with invisibility at the end of the line.
2140         * org.el (org-sort-entries-or-items): Include the final newline.
2141         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
2142         lines for fontification.
2143         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
2144         (org-prepare-dblock): Store the current indentation of the BEGIN
2145         line.
2146         (org-update-dblock): Apply the indentation of the begin line to
2147         the rest of the block.
2148         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
2149         (org-startup-folded): New allowed value `showeverything'.
2150         (org-startup-options): Add STARTUP keyword `showeverything'.
2151         (org-set-startup-visibility): Respect value `showeverything' in
2152         org-startup-folded.
2154 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
2156         * org.el (org-closest-date): Fix issue with past preference.
2158         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
2160         * org-archive.el (org-archive-set-tag)
2161         (org-archive-subtree-default): New commands.
2163         * org-mobile.el (org-mobile-create-index-file): Fix link to
2164         capture file.
2165         (org-mobile-copy-agenda-files): Create the capture file if it does
2166         not exist.
2168         * org-clock.el (org-clock-clocktable-default-properties): New
2169         option.
2170         (org-clock-report): Use
2171         `org-clock-clocktable-default-properties'.
2173 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
2175         * org.el (org-iswitchb-completing-read): Fix typo.
2177         * org-crypt.el: New file.
2179         * org.el: Add an entry for org-crypt.
2181 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2183         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
2184         consistency.
2185         (org-batch-store-agenda-views): New function.
2186         (org-mobile-force-id-on-agenda-items): Mention variable.
2187         (org-agenda-title-append): Define variable.
2188         (org-write-agenda): New export to Org files.
2189         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
2190         (org-agenda): Allow to keep the restricted file list if a special
2191         variable is bound to t.
2192         (org-agenda): Define a special agenda view for working on flagged
2193         entries.
2194         (org-agenda-get-restriction-and-command): List the new agenda
2195         view.
2196         (org-agenda-show-the-flagging-note): New command.
2197         (org-agenda-mode-map): New key `?' for looking at the flagging
2198         note.
2200         * org.el (org-autoload): Autoload org-mobile.el.
2201         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
2203         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
2205 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
2207         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
2208         statements.
2209         (org-table-get-remote-range): Match indented #+TBLNAME
2210         statements.
2212         * org.el (org-convert-to-odd-levels)
2213         (org-convert-to-oddeven-levels): Work also correctly if the file
2214         is in outline-mode.
2216 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
2218         * org.el (org-store-link): When in agenda buffer, link to
2219         referenced entry.
2220         (org-add-planning-info): Remove spaces at eol.
2222         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
2223         property.
2225 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
2227         * org-latex.el (org-export-latex-first-lines): Fix problem with
2228         LaTeX export of first line and selected subtree.
2230         * org.el (org-shifttab): Interpret arg differently when using only
2231         odd levels.
2233 2009-09-09  Bastien Guerry  <bzg@altern.org>
2235         * org.el (org-check-agenda-file): Use a more explicit message
2237 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
2239         * org-exp.el (org-export-remove-special-table-lines): Don't remove
2240         normal lines.
2242 2009-09-08  Bastien Guerry  <bzg@altern.org>
2244         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
2245         prompt in the temporary window.
2247         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
2248         prefix for marked entries in the agenda view.
2250 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
2252         * org.el (outline-end-of-subtree): Bugfix: advise this function in
2253         a way that prevents any trailing character from being displayed.
2255 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
2257         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
2258         menu.
2260         * org-exp.el (org-export-remove-special-table-lines): Remove bad
2261         slow regexp match.
2263 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
2265         * org-latex.el (org-export-latex-preprocess): Do not protect in
2266         the LaTeX header.
2268         * org-src.el (org-edit-src-save): Save window setup while saving.
2269         (org-edit-src-code): Use new buffer name construction scheme.
2271 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
2273         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
2274         variable.
2275         (org-agenda-entry-text-cleanup-hook): New hook.
2276         (org-agenda-get-some-entry-text): Remove matches of
2277         `org-agenda-entry-text-exclude-regexps' and run the hook
2278         `org-agenda-entry-text-cleanup-hook'.
2280         * org.el (org-offer-links-in-entry): New argument ZERO to
2281         implement a link with index zero.
2282         (org-cycle-show-empty-lines): Not keep empty line under header
2283         hidden.
2284         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
2285         to nil for special completion.
2286         (org-store-link): Don't error before the first heading.
2288         * org-agenda.el (org-agenda-open-link): Pass the prefix to
2289         `org-offer-links-in-entry'.
2291 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
2293         * org-agenda.el (org-agenda-quit): Provide the window argument for
2294         `window-dedicated-p', Emacs 22 needs it.
2295         (org-format-agenda-item): If the category is a link, arrange for
2296         invisible text to replaced with spaces.
2297         (org-compile-prefix-format): Add the extra space.
2298         (org-prefix-category-length): New variable.
2300         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
2301         references from TOC lines.
2303         * org.el (org-selected-window): New variable.
2305         * org-table.el (org-table-edit-formulas): Remember the selected
2306         window.
2307         (org-table-fedit-finish, org-table-fedit-abort): Select the window
2308         that was originally selected.
2310         * org-exp.el (org-export-preprocess-apply-macros): Scan the
2311         expansion of a macro for more macro definitions.
2313         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2314         invisibility overlay starts on the newline.
2316 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
2318         * org-protocol.el (org-protocol-store-link)
2319         (org-protocol-remember, org-protocol-open-source): Add autoloads.
2321         * org-compat.el (org-float-time): New function.
2323         * org.el (org-clock-update-time-maybe)
2324         (org-sort-entries-or-items, org-do-sort)
2325         (org-evaluate-time-range, org-time-string-to-seconds)
2326         (org-closed-in-range): Use `org-float-time'.
2328         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2329         (org-timer-seconds):  Use `org-float-time'.
2331         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2332         (org-clock-sum, org-dblock-write:clocktable)
2333         (org-clocktable-steps):  Use `org-float-time'.
2335         * org-agenda.el (org-agenda-last-marker-time)
2336         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
2338         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2339         function.
2341         * org-exp.el (org-get-file-contents): Only protect lines that
2342         really need it.
2344         * org-html.el (require): Require cl for compilation.
2346         * org.el:  Avoid using `default-major-mode'.
2348         * org-plot.el (require): Require CL only at compile time.
2350         * org-exp.el (require): Require CL only at compile time.
2352         * org-agenda.el (org-agenda-quit): When the agenda window is
2353         dedicated, remove other windows before exiting, so that the frame
2354         really will be killed.
2356         * org-exp.el (org-export-handle-include-files): Reset START and
2357         END for each loop cycle.
2359 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
2361         * org.el (org-eval-in-calendar): Use
2362         `org-select-frame-set-input-focus'.
2364         * org-compat.el (org-select-frame-set-input-focus): New function.
2366         * org.el (org-update-statistics-cookies): New function.
2367         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2369 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2371         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2372         after the local variables are set.
2374         * org-latex.el (org-export-latex-protect-amp): New function.
2375         (org-export-latex-links): Protect link ampersands in tables.
2377         * org-exp.el (org-export-select-backend-specific-text): Match in
2378         two steps, to avoid regexp problems.
2380         * org.el (org-offer-links-in-entry): Improve working with many and
2381         duplicate links.
2383         * org-agenda.el (org-agenda-show-1): Make more consistent with
2384         normal cycling.
2385         (org-agenda-cycle-show): Make more consistent with normal cycling.
2387         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2388         website.
2390 2009-08-30  Bastien Guerry  <bzg@altern.org>
2392         * org-latex.el (org-export-latex-first-lines): Bugfix.
2394 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2396         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2397         about new effort.
2399         * org.el (org-set-effort): New function.
2400         (org-mode-map): New key for effort setting command.
2402         * org-agenda.el (org-agenda): Keep window setup when calling
2403         agenda from within agenda window.
2404         (org-agenda-mode-map): New keys for effort setting commands.
2405         (org-agenda-menu): Add effort setting commands to menu.
2406         (org-agenda-set-property, org-agenda-set-effort): New functions.
2408         * org-latex.el (org-export-latex-tables): Fix
2409         `org-table-last-alignment' and `org-table-last-column-widths' if
2410         the first column has been removed.
2412 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2414         * org.el (org-remove-timestamp-with-keyword): Only remove in
2415         entry, not in subtree.
2417         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2418         emacs lisp.
2420         * org.el (org-open-at-point): When on headline, offer all strings
2421         in entry.
2423         * org-remember.el (org-remember-templates): Documentation fix.
2425         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2426         `org-get-last-sibling' instead of the outline versions of these
2427         functions.
2428         (org-get-last-sibling): New function.
2429         (org-refile): Use `org-get-next-sibling' instead of the outline
2430         version of this function.
2431         (org-clean-visibility-after-subtree-move): Use
2432         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2433         outline versions of these functions.
2435 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2437         * org-agenda.el (org-prepare-agenda): When creating a new frame
2438         for the agenda, make the window dedicated.
2440         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2442         * org-table.el (org-table-align): Change the order of reinsertion
2443         and deletion, to avoid problems with overlays following the table.
2445         * org.el (org-parse-time-string): Better error message.
2446         (org-show-subtree): Use org-end-of-subtree.
2448         * org-macs.el (org-goto-line): New defsubst.
2450         * org.el (org-open-file, org-change-tag-in-region)
2451         (org-fast-tag-show-exit): Don't use `goto-line'.
2453         * org-table.el (org-table-align, org-table-insert-column)
2454         (org-table-delete-column, org-table-move-column)
2455         (org-table-sort-lines, org-table-copy-region)
2456         (org-table-paste-rectangle, org-table-wrap-region)
2457         (org-table-get-specials, org-table-rotate-recalc-marks)
2458         (org-table-get-range, org-table-recalculate)
2459         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2460         (org-table-show-reference, org-table-highlight-rectangle): Don't
2461         use `goto-line'.
2463         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2464         (org-edit-src-exit): Don't use `goto-line'.
2466         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2468         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2469         Don't use `goto-line'.
2471         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2473         * org-colview.el (org-columns, org-columns-redo)
2474         (org-agenda-columns): Don't use `goto-line'.
2476         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2477         use `goto-line'.
2479         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2480         (org-agenda-add-entry-text-maxlines): Improve docstring.
2481         (org-agenda-start-with-entry-text-mode): New option.
2482         (org-agenda-entry-text-maxlines): New option.
2483         (org-agenda-entry-text-mode): New variable.
2484         (org-agenda-mode): Set initial value of
2485         `org-agenda-entry-text-mode'.
2486         (org-agenda-mode-map): Add the `E' key.
2487         (org-agenda-menu): Add entry text mode to the menu.
2488         (org-agenda-get-some-entry-text): Fix line count bug.
2489         (org-finalize-agenda): Apply entry text mode if appropriate.
2490         (org-agenda-entry-text-show-here): New function.
2491         (org-agenda-entry-text-show): New function.
2492         (org-agenda-entry-text-hide): New function.
2493         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2494         key menu.
2495         (org-agenda-entry-text-mode): New command.
2496         (org-agenda-set-mode-name): Add entry text mode to the mode line
2497         string.
2498         (org-agenda-undo, org-agenda-get-restriction-and-command)
2499         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2500         `goto-line'.
2502 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2504         * org-clock.el (org-notify): Bugfix.
2506 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2508         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2509         check for after-string.
2511         * org-gnus.el (org-gnus-store-link): Simplify.
2513         * org.el (org-latex-regexps): Don't add extra empty lines for
2514         display formulas.
2516 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2518         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2519         (org-agenda-add-entry-text): Use
2520         `org-agenda-get-some-entry-text'.
2522         * org.el (org-cycle-separator-lines): Update docstring.
2523         (org-cycle-show-empty-lines): Handle negative values for
2524         `org-cycle-show-empty-lines'.
2526         * org-exp.el (org-export-protect-sub-super): New function.
2527         (org-export-normalize-links): Protect the url of plain links from
2528         supscript and superscript processing.
2530         * org-remember.el (org-remember-escaped-%): New function.
2531         (org-remember-apply-template): Use `org-remember-escaped-%' to
2532         detect escaped % signs.
2534 2009-08-23  Bastien Guerry  <bzg@altern.org>
2536         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2537         sound when showing the notification.
2539         * org-clock.el (org-notify): New function.
2540         (org-clock-notify-once-if-expired): Use `org-notify'.
2542         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2543         and `gnus-article-mode' separately.
2544         (gnus-summary-article-header): Fix the declare-function.
2546 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2548         * org-exp.el (org-export-format-source-code-or-example): Translate
2549         language.
2551         * org-src.el (org-src-lang-modes): New variable
2552         (org-edit-src-code): Translate language.
2554         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2555         the new structure of the `org-export-latex-listings-langs'
2556         variable.
2558         * org-latex.el (org-export-latex-listings-langs): Change structure
2559         of the variable from plist to alist.
2561 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2563         * org.el (org-in-commented-line): New function.
2565 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2567         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2569 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2571         * org.el (org-flag-drawer): More useful error.
2573 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2575         * org-remember.el (org-remember-apply-template): Use
2576         org-icompleting-read.
2578         * org-publish.el (org-publish): Use org-icompleting-read.
2580         * org-colview.el (org-columns-edit-value, org-columns-new)
2581         (org-insert-columns-dblock): Use org-icompleting-read.
2583         * org-colview-xemacs.el (org-columns-edit-value)
2584         (org-columns-new, org-insert-columns-dblock): Use
2585         org-icompleting-read.
2587         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2588         org-icompleting-read.
2590 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2592         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2593         (org-version): Return the version text.
2594         (org-org-menu): Add a menu entry for the new bug reporter.
2595         (org-submit-bug-report): New command.
2597         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2598         docstring.
2600         * org.el (org-emphasis-regexp-components): Add "`" to set of
2601         pre-emphasis characters.
2603         * org-latex.el (org-export-latex-classes): Always include the soul
2604         package.
2605         (org-export-latex-emphasis-alist): Use \st for strikethough.
2607         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2608         `indent-code-rigidly' to indent.
2610         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2611         properties only if MATCH really is a string.
2613 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2615         * org-latex.el (org-export-latex-packages-alist): Fix
2616         customization type.
2618         * org.el (org-create-formula-image): Also use
2619         `org-export-latex-packages-alist'.
2621         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2622         (org-export-as-html): Format footnotes correctly.
2624 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2626         * org.el (org-fast-tag-selection): Avoid text properties on tags
2627         in the alist.
2629         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2630         text properties on the match element.
2632 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2634         * org.el (org-set-regexps-and-options): Make sure the list of done
2635         keywords is not invalid.
2637         * org-exp.el (org-export-interpolate-newlines): New function.
2639 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2641         * org.el (org-format-latex): Avoid nested overlays.
2643         * org-latex.el (org-export-latex-listings-langs): Add a few more
2644         languages.
2646         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2647         ignore newlines and space before the first macro argument.
2649         * org-latex.el (org-export-latex-tables): Remove save-excursion
2650         around `org-table-align'.
2652 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2654         * org.el (org-export-html-special-string-regexps): Definition
2655         moved into org.el
2657         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2658         in macro calls.
2660 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2662         * org-latex.el (org-export-latex-listings)
2663         (org-export-latex-listings-langs): New options.
2665         * org-exp.el (org-export-format-source-code-or-example): Use
2666         listing package if requested by the user.
2668 2009-08-08  Bastien Guerry  <bzg@altern.org>
2670         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2671         command before actually switching to a buffer.
2673 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2675         * org-exp.el (org-get-file-contents): Only quote org lines when
2676         the markup is src or example.
2678         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2679         New option
2680         (org-agenda-get-day-entries): Remember deadline results and pass
2681         them on into the function getting the scheduling information.
2682         (org-agenda-get-scheduled): Accept deadline results as parameters
2683         and maybe skip some entries.
2684         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2686         * org.el (org-insert-heading): When respecting content, do not
2687         convert current line to headline.
2689         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2690         cheeeeeck the hd marker
2691         (org-clock-in): Also set the hd marker.
2692         (org-clock-out): Also set the hd marker.
2693         (org-clock-cancel): Reset markers.
2695         * org.el (org-clock-hd-marker): New marker.
2697         * org-faces.el (org-agenda-clocking): New face.
2699         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2700         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2702         * org.el (org-modules): Add org-track.el.
2704         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2705         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2706         `org-agenda-bulk-marked-p'.
2707         (org-agenda-bulk-toggle): New command.
2709 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2711         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2712         not just the body.
2714         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2715         messages.
2717 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2719         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2720         before gnuplot can read it.
2722 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2724         * org-latex.el (org-export-latex-first-lines): Fix bug with
2725         finding the end of the first lines.
2727         * org.el (org-create-formula-image): Remove the -E option for
2728         dvipng.
2730         * org-exp.el (org-default-export-plist): Respect #+BIND.
2731         (org-export-confirm-letbind): New function.
2733         * org.el (org-paste-subtree): Test the kill ring entry if it is
2734         going to be used.
2735         (org-copy-subtree): Use `org-forward-same-level'.
2736         (org-forward-same-level): Respect the `invisibe-ok' arg for
2737         back-to-heading.
2739 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2741         * org.el (org-table-map-tables): Make sure cursor is back at table
2742         beginning after funcall.
2744         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2745         handled before children, and do not error if an entry is not
2746         found, probably because it hase been remove when the parent was
2747         archived or refiled.
2749         * org.el (org-ido-completing-read): Accept straight lists for
2750         completion as well as alists.
2752         * org-html.el (org-export-as-html): Fix parenthesis error in
2753         footnore code.
2755         * org-timer.el (org-timer-cancel-timers): Renamed from
2756         `org-timer-cancel-timers'.
2758         * org.el (org-cycle-internal-local): Fix problem with finding next
2759         invisible line.
2761 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2763         * org-list.el (org-list-send-list): Call
2764         `org-list-goto-true-beginning' instead of
2765         `org-list-find-true-beginning', which does not exist.
2767         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2768         (org-timer-set-timer): Do not assign to heading.
2770         * org-id.el (org-id-open): Quote function name.
2772         * org-macs.el (org-unmodified): Turn off recording undo
2773         information while running inside the macro.
2775         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2776         variable.
2777         (org-indent-mode): Remember and restore value of
2778         org-hide-leading-stars before `org-indent-mode'.
2780         * org-table.el (org-table-export): Also work in file-less
2781         buffers.
2783         * org.el (org-startup-indented): New option.
2784         (org-startup-options): Add new options indent and noindent.
2785         (org-unfontify-region): Remove line-prefix and wrap-prefix
2786         properties.
2787         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2788         hooks.
2789         (org-promote, org-demote): Run the new hooks.
2791         * org-table.el (org-table-align): Replace leading \n as well.
2793         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2794         and `line-wrap' text properties.
2796         * org-compat.el (org-kill-new): New function.
2798         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2799         `line-wrap' text properties.
2801         * org-indent.el: New file.
2803 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2805         * org.el (org-provide-todo-statistics): Tweak docstring.
2807         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2809 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2811         * org-exp.el (org-export-as-org): Insert the "-source" string
2812         before the extension.
2814         * org.el (org-read-date): Make sure the calendar is in the current
2815         frame.
2816         (org-set-emph-re): Remove the ? from the post-match.
2817         (org-emphasis-regexp-components): Add backslash to the
2818         postmatch class.
2819         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2820         optional so that also lines at the end of the buffers will still
2821         be matched as headlines.
2823         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2824         Variable made obsolete.
2825         (org-table-relative-ref-may-cross-hline): New option.
2826         (org-table-find-row-type): Honow the new option
2827         `org-table-relative-ref-may-cross-hline'.
2829 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2831         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2832         on single field if no active region.
2834 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2836         * org-latex.el (org-export-latex-make-header): Only insert title
2837         if one is defined.
2839         * org.el (org-make-options-regexp): Allow empty values.
2841         * org-html.el (org-export-as-html): Move hrule detection to after
2842         plain list handling.
2844 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2846         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2848 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2850         * org.el (org-cycle-internal-local): Improved version of finding
2851         next visible line.
2852         (org-cycle-hide-drawers): Only hide drawers if this is really
2853         necessary.
2854         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2855         org-version of this function in Org-mode.  We use advice to
2856         implement this change, so that future changes to this function in
2857         outline.el wil be handled properly.
2858         (org-forward-same-level, org-backward-same-level): New commands.
2860 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2862         * org.el (org-remove-empty-overlays-at)
2863         (org-clean-visibility-after-subtree-move): New functons.
2864         (org-move-subtree-down): Simplify cleanup of display.
2866 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2868         * org-mac-message.el (org-mac-message-get-links): Improve
2869         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2870         "s".  Fix the return value.
2871         (org-mac-message-insert-flagged): Simplify.
2873         * org.el (org-refile-get-location): Tamper with refile history o
2874         that history contains compete matches instead of the entered
2875         string.
2877 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2879         * org.el (org-store-link): Never store a link to an inline task.
2881         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2883         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2884         inline tasks when positioning footnotes.
2886         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2887         function.
2889         * org.el (org-refile): Remove the END line when archiving an
2890         inline task that does have an END line.
2892         * org-archive.el (org-archive-subtree): Remove the END line when
2893         archiving an inline task that does have an END line.
2895         * org-macs.el (org-with-limited-levels): New macro.
2896         (org-get-limited-outline-regexp): New function.
2898         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2899         that did not enumerate first line.
2900         (org-export-mark-radio-links): Skip matches in links.
2902 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2904         * org.el (org-activate-plain-links): Make single-match.
2905         (org-adapt-indentation): Fix docstring.
2907         * org-macs.el (org-unmodified): Turn of modification hooks while
2908         running this macro.
2910 2009-08-02  Bastien Guerry  <bzg@altern.org>
2912         * org.el (org-adapt-indentation): Slightly improve the docstring.
2913         (org-occur): Sends an error when the user inputs an empty string.
2914         (org-priority): Bugfix: the tag alignement should happen within
2915         save-excursion.
2917 2009-07-31  Bastien Guerry  <bzg@altern.org>
2919         * org.el (org-make-link-regexps): Don't exclude parentheses from
2920         `org-plain-link-re'
2921         (org-cycle-internal-local): When locally cycling, switch directly
2922         from CHILDREN to FOLDED if there is no subtree
2923         (org-cycle): Update the docstring to document the new behavior of
2924         `org-cycle-internal-local'.
2926 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2928         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2929         an abbreviated format for days.
2931 2009-07-27  Bastien Guerry  <bzg@altern.org>
2933         * org-protocol.el (org-protocol-default-template-key): New
2934         option.
2936         * org.el (org-refile): Bugfix: save-excursion before reading the
2937         refile target, otherwise cursor moves might confuse `org-refile'.
2939         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2940         footnote reference before the footnote itself.
2942         * org.el (org-toggle-heading): Bugfix: correctly convert list
2943         items before the first headline.
2945         * org-html.el (org-export-html-footnote-format): New option for
2946         formatting the footnote reference.
2947         (org-export-as-html): Use the new option.
2949         * org.el (org-provide-todo-statistics): Allow a list of TODO
2950         keywords to compute statistics against headlines containing a
2951         keyword from this list.
2952         (org-update-parent-todo-statistics): Possibly use the new allowed
2953         value of `org-provide-todo-statistics'.
2955 2009-07-26  Bastien Guerry  <bzg@altern.org>
2957         * org-timer.el: Add autoload cookie.
2959         * org.el (org-occur-link-in-agenda-files): New function.
2961         * org-timer.el (org-timer-last-timer): New variable.
2963         * org-agenda.el (org-agenda-mode-map): New key for
2964         org-timer-set-timer called from the agenda.
2966         * org.el (org-mode-map): New key for org-timer-set-timer.
2968         * org-timer.el (org-timer-reset-timers)
2969         (org-timer-show-remaining-time, org-timer-set-timer): New
2970         functions.
2972         * org-clock.el (org-show-notification): Update the docstring.
2974         * org.el (org-provide-todo-statistics): Allow new value
2975         'all-headlines for this option, which includes entries with no
2976         TODO keywords in the todo statistics.
2977         (org-update-parent-todo-statistics): Possibly use the new
2978         'all-headline value from `org-provide-todo-statistics'.
2980 2009-07-25  Bastien Guerry  <bzg@altern.org>
2982         * org-clock.el (org-dblock-write:clocktable): Add a new option
2983         :timestamp which allows display of timestamps in clock reports.
2985         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2986         list to a subtree, preserving the structure of the list.
2987         (org-set-emph-re): Make the last element optional in the regexp.
2988         This regexp now matches an emphasized string at the end of a line.
2990         * org-list.el (org-list-goto-true-beginning)
2991         (org-list-make-subtree, org-list-make-subtrees): New functions.
2993         * org.el (org-eval-in-calendar): Select the right frame.
2994         (org-save-frame-excursion): Remove this macro.
2996 2009-07-24  Bastien Guerry  <bzg@altern.org>
2998         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2999         trying to find the beginning of a list.
3001         * org-exp.el (org-get-file-contents): Use a new argument: markup.
3002         When present, tell org-get-file-contents not to protect org-like
3003         lines.
3005         * org-id.el (org-id-uuid-program): New option to set the name of
3006         the uuidgen program.
3007         (org-id-method): Use `org-id-uuid-program'.
3008         (org-id-new): Use `org-id-uuid-program'.
3010 2009-07-23  Bastien Guerry  <bzg@altern.org>
3012         * org-exp.el (org-export-number-lines): Allow whitespace in code
3013         references.  Allow the -r switch to remove the references in the
3014         source code even when the lines are not numbered: the labels can
3015         be explicit enough.
3017         * org.el (org-fontify-whole-heading-line): New option.
3018         (org-set-font-lock-defaults): Use the new option.
3020         * org-clock.el (org-show-notification-handler): New option.
3021         (org-show-notification): Use the new option.
3023 2009-07-21  Bastien Guerry  <bzg@altern.org>
3025         * org.el (org-eval-in-calendar): Fix a bug about calendar
3026         navigation when `calendar-setup' value is 'calendar-only.
3028 2009-07-19  Bastien Guerry  <bzg@altern.org>
3030         * org.el (orgstruct++-mode): Fix typo in docstring.
3031         (org-insert-link): Clean up: (or (...)) => (...)
3032         (org-insert-link): Use TAB for stored links completion.
3034 2009-07-18  Bastien Guerry  <bzg@altern.org>
3036         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
3037         building the list of targets.
3039         * org-remember.el (org-remember-delete-empty-lines-at-end): New
3040         option.
3041         (org-remember-handler): Use the new option.
3043 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
3045         * org.el (org-tags-sort-function): New option for sorting tags.
3046         (org-set-tags): Use the new option to sort tags.
3048         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
3049         premature deletion of the data when using org-plot in a script.
3051 2009-07-17  Bastien Guerry  <bzg@altern.org>
3053         * org-clock.el (org-clock-in-prepare-hook): New hook.
3054         (org-clock-in): Use this new hook.
3056 2009-07-16  Bastien Guerry  <bzg@altern.org>
3058         * org.el (org-special-ctrl-a/e): Explicitely bind the value
3059         'reversed for this option to the "true line boundary first"
3060         behavior.
3061         (org-tags-match-list-sublevels): Document the 'indented value for
3062         this variable.
3064         * org-latex.el (org-export-latex-first-lines): Fix problem with
3065         publishing the region.
3067         * org-exp.el (org-export-format-source-code-or-example): Fix
3068         bad line numbering when exporting examples in HTML.
3070         * org-colview.el (org-format-time-period): Formats a time in
3071         fractional days as days, hours, mins, seconds.
3072         (org-columns-display-here): Add special handling for SINCE and
3073         SINCE_IA to format for display.
3075 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
3077         * org.el (org-tags-sort-function): Add custom declaration for tags
3078         sorting function.
3079         (org-set-tags): Sort tags if org-tags-sort-function is set
3081 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
3083         * org-clock.el (org-clock-goto): Find hidden headlines as well.
3085         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
3087         * org-plot.el (org-plot/add-options-to-plist): Add timeind
3088         option.
3090 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
3092         * org-publish.el (org-publish-remove-all-timestamps): New function.
3093         (org-publish-all): Remove all timestamp files if `org-publish-all'
3094         is called with a prefix argument.
3096         * org-list.el (org-indent-item): Fix typo.
3097         (org-item-indent-positions): Normalize ordered bullet.
3099         * org-html.el (org-export-html-home/up-format): New option.
3100         (org-export-as-html): Insert the up and HOME links.
3102 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
3104         * org-html.el (org-export-as-html): Insert the title into the
3105         option plist.
3106         (org-export-html-insert-plist-item): New function.
3107         (org-export-as-html): Call `org-export-html-insert-plist-item'.
3109         * org-macs.el (org-set-local): Make a local variable, do not make
3110         the variable buffer-local!
3112         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
3114         * org-html.el (org-export-as-html): Call `org-install-letbind'.
3116         * org-docbook.el (org-export-as-docbook): Call
3117         `org-install-letbind'.
3119         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
3121         * org-exp.el (org-infile-export-plist): Read BIND lines.
3122         (org-install-letbind): New function.
3123         (org-export-as-org, org-export-preprocess-string): Call
3124         `org-install-letbind'.
3126         * org-src.el (org-edit-src-exit): Untabify the example before
3127         returning to Org.
3129         * org-list.el (org-list-demote-modify-bullet): New option.
3130         (org-first-list-item-p): Save point.
3131         (org-fix-bullet-type): New optional argument FORCE-BULLET.
3132         (org-indent-item): Honor `org-list-demote-modify-bullet'.
3133         (org-item-indent-positions): Return bullet types along with
3134         indentation.
3136 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
3138         * org.el (org-show-entry): Hide drawers.
3140 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
3142         * org-footnote.el (org-footnote-auto-adjust): New option.
3143         (org-footnote-auto-adjust-maybe): New function.
3144         (org-footnote-new, org-footnote-delete): Call
3145         `org-footnote-auto-adjust-maybe'.
3147         * org.el (org-startup-options): Add new footnote-related
3148         keywords.
3150         * org-publish.el (org-publish-timestamp-filename): Additional
3151         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
3152         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
3153         TRUE-PUB-DIR.  Pass them through to
3154         `org-publish-timestamp-filename'.
3155         (org-publish-update-timestamp): Additional arguments PUB-DIR and
3156         PUB-FUNC, which are included in the hash.
3157         (org-publish-file): Delay timestamp test until the publishing
3158         function is known.
3160 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
3162         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
3163         setting the deadline.
3165         * org.el (org-read-date-final-answer): New variable.
3166         (org-read-date): Store the final answer string, including the date
3167         from the calendar, for reuse by agenda bulk commands.
3169         * org-publish.el (org-publish-attachment): Fix publishing of
3170         attachments.
3172         * org-latex.el (org-export-latex-quotation-marks): Fix export of
3173         quotation makrs in parenthesis.
3174         (org-remove-initial-hash): New function.
3175         (org-export-latex-preprocess): Fix bug with infinite loop if
3176         environment is not properly closed.
3178         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
3179         when indented.
3181         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
3182         highlight also when indented.
3184 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
3186         * org-footnote.el (org-footnote-renumber-fn:N): New command.
3187         (org-footnote-action): Offer renumbering.
3189         * org.el (org-cycle): Honor the `integrate' value of
3190         org-cycle-include-plain-lists'.
3192         * org-list.el (org-cycle-include-plain-lists): New allowed value
3193         `internal'.  Improve the docstring.
3195         * org.el (org-set-autofill-regexps): Improve the paragraph-start
3196         regexp to work better with LaTeX commands.
3198 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
3200         * org-feed.el (org-feed-update): fix problem with non-existing
3201         buffer.
3202         (org-feed-skip-http-headers): New function.
3203         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
3204         (org-feed-get-feed): Fix command line arguments for curl.
3206 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
3208         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
3209         and eps extensions.
3211 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
3213         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
3214         loaded.
3216         * org.el (org-map-entries): No longer force
3217         `org-tags-match-list-sublevels' to t during a todo-only tags
3218         search.
3220 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
3222         * org-latex.el (org-export-latex-low-levels): Allow user-defined
3223         environment.
3224         (org-export-latex-subcontent): Handle user-defined environment.
3226         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
3227         the View dispatcher.
3229         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
3230         `make-overlay'.
3232         * org-latex.el (org-export-as-pdf): Protect match data during call
3233         to shell-quote-argument.
3235         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
3236         (org-agenda-view-mode-dispatch): New function.
3238 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
3240         * org-agenda.el (org-agenda-mode): Reset list of marks.
3241         (org-agenda-mode-map): Define new keys for refile and bulk action.
3242         (org-agenda-menu): Add menu itesm for refile and bulk action.
3243         (org-agenda-refile): New function.
3244         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
3245         (org-agenda-marked-entries): New variable.
3246         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
3247         (org-agenda-remove-all-bulk-action-marks)
3248         (org-agenda-bulk-action): New functions/commands.
3250 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
3252         * org-exp.el (org-get-file-contents): Protect org-like lines in
3253         included files.
3254         (org-export-format-source-code-or-example): Remove newlines.
3256         * org-latex.el (org-export-latex-links): Check for no-description
3257         marking.
3259         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
3260         argument separator back to comma.
3261         (org-export-normalize-links): Mark links without description.
3263 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
3265         * org-exp.el (org-infile-export-plist): Fix bug in macro
3266         processing.
3268         * org-agenda.el (org-agenda-clock-out): Update line after clocking
3269         out.
3270         (org-agenda-highlight-todo): Fix bug with highlighting.
3272 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
3274         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
3275         new alignment strings.
3277         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
3278         command list.
3279         (org-table-align): Check for forced align type.
3281         * org.el (org-self-insert-command): Add yas/expand to command
3282         list.
3284         * org-clock.el (org-clock-in-hook): New hook.
3285         (org-clock-in): Run `org-clock-in-hook.
3286         (org-clock-out-hook): New hook.
3287         (org-clock-out): Run `org-clock-out-hook.
3288         (org-clock-cancel-hook): New hook.
3289         (org-clock-cancel): Run `org-clock-cancel-hook.
3290         (org-clock-goto-hook): New hook.
3291         (org-clock-goto): Run `org-clock-goto-hook.
3293 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
3295         * org.el (org-store-link): Better default description for link to
3296         Org-mode headline.
3298         * org-exp.el (org-export-generic): Autoload the generic exporter
3299         function.
3300         (org-export): Implement the `g' key for the generic exporter.
3302 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
3304         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3305         and for zbacktab'.
3307         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
3309         * org-exp.el (org-infile-export-plist): Get macros also from
3310         #+SETUPFILE.
3312 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
3314         * org-colview.el (org-columns-capture-view): Protect vertical bars
3315         in column values.
3316         (org-columns-capture-view): Exclude comment and archived trees.
3318         * org-colview-xemacs.el (org-columns-capture-view): Protect
3319         vertical bars in column values.
3320         (org-columns-capture-view): Exclude comment and archived trees.
3322         * org.el (org-quote-vert): New function.
3324         * org-latex.el (org-export-latex-verbatim-wrap): New option.
3326         * org-exp.el (org-export-format-source-code-or-example): Use
3327         `org-export-latex-verbatim-wrap'.
3329         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3330         time stamps.
3332         * org-html.el (org-export-table-row-tags): New option.
3333         (org-format-org-table-html): Rename `nlines' to `nline', use new
3334         option.
3337 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
3339         * org-exp-blocks.el: Declare functions and variables.
3341         * org-remember.el (org-remember-templates): Allow the headline
3342         element to be a function.
3343         (org-remember-apply-template): If the headline is a function, call
3344         it to get the true function.
3346         * org-clock.el (org-clock-menu): New function.
3347         (org-clock-update-mode-line): Update help string.
3348         (org-clock-modify-effort-estimate): New function.
3349         (org-clock-mark-default-task): New function.
3351         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3352         minutes as input.
3353         (org-org-menu): Add new clocking stuff.
3354         (org-clock-is-active): New function.
3356 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
3358         * org.el (org-open-non-existing-files): Improve docstring.
3360 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
3362         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3363         option.
3364         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3366         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3368         * org-list.el (org-get-checkbox-statistics-face): Use the new
3369         faces.
3371         * org-faces.el (org-checkbox-statistics-todo)
3372         (org-checkbox-statistics-done): New faces.
3374 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3376         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3377         (org-edit-src-exit): Better cursor positioning when returning from
3378         editing.
3380         * org-latex.el (org-export-latex-use-verb): New variable.
3381         (org-export-latex-emph-format): Prefer \texttt over \verb when
3382         org-export-latex-use-verb is set.
3384 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3386         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3387         at normal indentation.
3389         * org-html.el (org-export-html-close-lists-maybe): Also look at
3390         normal indentation.
3392         * org-remember.el (org-remember-handler): Abort remember if the
3393         buffer is empty.
3395         * org-src.el (org-edit-src-content-indentation): New option.
3396         (org-edit-src-exit): Apply extra indentation.
3398         * org-exp.el (org-export-format-source-code-or-example): Run
3399         `org-src-mode-hook'.
3401         * org-src.el (org-src-mode-hook): New variable.
3402         (org-edit-src-code): Run `org-src-mode-hook'.
3404 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3406         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3408         * org-src.el (org-edit-src-get-indentation): New function.
3409         (org-edit-src-code): Base indentation on the begin line.
3411 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3413         * org-gnus.el (org-gnus-store-link): Require message.el in
3414         org-gnus-store-link.
3416 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3418         * org-src.el: New file, split out of org.el
3420         * org-docbook.el (org-export-as-docbook): Better indentation
3421         treatment.
3423         * org-macs.el (org-replace-match-keep-properties): New function.
3425         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3426         preprocessing of center and quote and verse blocks.
3428         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3429         (org-export-as-docbook): Close lists when original indentation
3430         mandates it.
3432         * org-html.el (org-export-html-close-lists-maybe): New function.
3433         (org-export-as-html): Close lists when original indentation
3434         mandates it.
3436         * org-list.el (org-list-end): Respect the stored "original"
3437         indentation when determining the end of the list.
3439         * org-exp.el (org-export-replace-src-segments-and-examples):
3440         Remember indentation correctly.
3442 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3444         * org-clock.el (org-clock-update-mode-line): Apply face
3445         org-mode-line-clock.
3447         * org-faces.el (org-mode-line-clock): New face.
3449 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3451         * org-gnus.el (org-gnus-store-link): Fix bug where
3452         `org-gnus-store-link' used wrong subject when called in an article
3453         buffer.  Patch provided by fengli AT gmail DOT com.
3455 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3457         * org-exp.el (org-export-format-source-code-or-example): Remember
3458         the original indentation of source code snippets and examples.
3460         * org-latex.el (org-export-as-latex): Relocate the table of
3461         contents.
3463         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3465         * org-agenda.el (org-run-agenda-series): Scope global options also
3466         when creating the agenda buffer.
3468 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3470         * org.el (org-adapt-indentation): Improve documentation.
3471         (org-insert-property-drawer): Respect org-adapt-indentation when
3472         inserting the drawer.
3473         (org-remove-flyspell-overlays-in): New function.
3474         (org-do-emphasis-faces, org-activate-plain-links)
3475         (org-activate-code, org-fontify-meta-lines-and-blocks)
3476         (org-activate-angle-links, org-activate-footnote-links)
3477         (org-activate-bracket-links, org-activate-dates)
3478         (org-activate-target-links, org-activate-tags): Remove flyspell
3479         overlays.
3481 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3483         * org.el (org-edit-src-save): New function.
3485         * org-clock.el (org-clock-out-switch-to-state): New option.
3486         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3488         * org-compat.el (org-compatible-face): Improve macro.
3490         * org.el (org-global-properties-fixed): Add default for
3491         CLOCK_MODELINE_TOTAL.
3493         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3494         andd tend.
3495         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3496         org-clock-sum.
3497         (org-clock-get-sum-start): New function.
3499         * org.el (org-startup-options): New keywords blockhide and
3500         blockshow.
3501         (org-mode): Add new invisibility spec.
3502         (org-set-startup-visibility): Hide block on startup if so
3503         desired.
3504         (org-hide-block-startup): New option.
3505         (org-block-regexp): New constant.
3506         (org-hide-block-overlays): New variable.
3507         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3508         (org-show-block-all, org-hide-block-toggle-maybe)
3509         (org-hide-block-toggle): New functions.
3510         (org-edit-src-exit): Do not quote lines starting with # and no +
3511         behind it.
3512         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3513         entry.
3515 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3517         * org.el (org-buffer-property-keys): Add Effort property for
3518         completion.
3520 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3522         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3523         when retrieving total clocked time in the subtree.
3525         * org.el (org-quoting-blocks): New variable.
3527 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3529         * org-table.el (org-table-store-formulas)
3530         (org-table-get-stored-formulas, org-table-fix-formulas)
3531         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3532         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3534         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3535         indented #+TBLFM line.
3537         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3538         indented #+TBLFM line.
3540         * org-colview.el (org-dblock-write:columnview): Allow indented
3541         #+TBLFM line.
3543         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3544         indented #+TBLFM line.
3546         * org-clock.el (org-dblock-write:clocktable): Allow indented
3547         #+TBLFM line.
3549 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3551         * org-exp.el (org-export-format-source-code-or-example): Make
3552         editing indented blocks work correctly.
3554         * org.el (org-edit-src-nindent): New variable.
3555         (org-edit-src-code, org-edit-fixed-width-region)
3556         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3557         editing indented blocks work correctly.
3559 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3561         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3562         indented blocks.
3563         (org-export-format-source-code-or-example): Fix indentation of
3564         blocks.
3565         (org-export-remove-indentation): New function.
3566         (org-export-select-backend-specific-text): Allow backend-specific
3567         code to be indented.
3568         (org-export-mark-blockquote-verse-center): Allow markers to be
3569         indented.
3571         * org.el (org-fontify-meta-lines): New function.
3572         (org-set-font-lock-defaults): Call the new fontification
3573         function.
3575         * org-faces.el (org-meta-line): New face
3576         (org-block):  New face.
3578 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3580         * org.el (org-treat-insert-todo-heading-as-state-change)
3581         (org-treat-S-cursor-todo-selection-as-state-change): New
3582         variables.
3583         (org-insert-todo-heading): Honor
3584         `org-treat-insert-todo-heading-as-state-change'.
3585         (org-shiftright, org-shiftleft): Honor
3586         `org-treat-S-cursor-todo-selection-as-state-change'.
3587         (org-inhibit-logging): New variable.
3589 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3591         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3592         range for marker position checking.
3594         * org-latex.el (org-export-latex-first-lines): Fix bug when
3595         exporting a region.
3597 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3599         * org-exp.el (org-export-push-to-kill-ring): Protect using
3600         x-set-selection, because that does not always work.
3602         * org-agenda.el (org-agenda-list): Apply the new face
3603         `org-agenda-date-today'.
3605         * org-faces.el (org-agenda-date-today): New face.
3607 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3609         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3610         creating appointments.
3612         * org-latex.el (org-export-latex-low-levels): Fix customization
3613         type.
3615         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3616         priority commands.
3618         * org-agenda.el (org-agenda-priority): Disable priority commands.
3620         * org.el (org-enable-priority-commands): New option.
3622         * org-colview-xemacs.el (org-columns-compute)
3623         (org-columns-number-to-string): Fix problems with empty fields.
3625         * org-colview.el (org-columns-compute)
3626         (org-columns-number-to-string): Fix problems with empty fields.
3628         * org-exp.el (org-export-push-to-kill-ring): New function.
3629         (org-export-copy-to-kill-ring): New option.
3631         * org-latex.el (org-export-as-latex): Call
3632         `org-export-push-to-kill-ring'.
3634         * org-html.el (org-export-as-html): Call
3635         `org-export-push-to-kill-ring'.
3637         * org-docbook.el (org-export-as-docbook): Call
3638         `org-export-push-to-kill-ring'.
3640         * org-ascii.el (org-export-as-ascii): Call
3641         `org-export-push-to-kill-ring'.
3643         * org-exp.el (org-export-show-temporary-export-buffer): New
3644         option.
3646         * org-latex.el (org-export-as-latex): Use
3647         `org-export-show-temporary-export-buffer'.
3649         * org-html.el (org-export-as-html): Use
3650         `org-export-show-temporary-export-buffer'.
3652         * org-docbook.el (org-export-as-docbook): Use
3653         `org-export-show-temporary-export-buffer'.
3655         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3656         `org-export-show-temporary-export-buffer'.
3658         * org-exp.el (org-export-show-temporary-export-buffer): New
3659         option.
3660         (org-export-push-to-kill-ring): New function.
3662         * org-colview.el (org-columns-compile-map): New variable.
3663         (org-columns-new, org-columns-compute)
3664         (org-columns-number-to-string, org-columns-uncompile-format)
3665         (org-columns-compile-format): Implement new operators.
3667 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3669         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3671         * org-html.el (org-export-html-xml-declaration): New option.
3672         (org-export-as-html): Use `org-export-html-xml-declaration'.
3674         * org-list.el (org-update-checkbox-count): Make property
3675         dependent.
3677         * org.el (org-hierarchical-todo-statistics): New option.
3678         (org-update-parent-todo-statistics): Modified to handle recursive
3679         statistics.
3681 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3683         * org-publish.el (org-publish): Make this function behave
3684         correctly in interactive use when called with a prefix argument.
3686         * org.el (org-todo-statistics-hook): New hook.
3687         (org-update-parent-todo-statistics): Use new hook.
3688         (org-log-into-drawer): New function.
3689         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3690         determine if we should be logging into a drawer.
3691         (org-log-into-drawer): Update docstring.
3692         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3694         * org-list.el (org-checkbox-statistics-hook): New hook.
3695         (org-update-checkbox-count-maybe): Use new hook.
3697         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3698         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3699         to kill ring.
3701 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3703         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3704         a line.
3706 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3708         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3709         better bufer-generating mechanism.
3710         (org-edit-src-find-buffer): New function.
3712         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3713         archive tag, this is already done by `org-agenda-skip'.
3714         data while constructing lost of tags.
3716 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3718         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3719         as argument separator in macros.
3721         * org-html.el (org-export-as-html): Add xml declaration.
3723 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3725         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3726         (org-sort-entries-or-items): Run the new hook.
3727         (org-after-refile-insert-hook): New hook.
3728         (org-refile): Run `org-after-refile-insert-hook'.
3730         * org-agenda.el (org-agenda-get-progress): Never take time of day
3731         from headline when displaying progress.
3733         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3734         (org-export-as-latex): Force the correct regexp in the
3735         preprocessor buffer.
3736         (org-export-latex-set-initial-vars): Set
3737         `org-export-latex-complex-heading-re'.
3739         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3740         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3742 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3744         * org-latex.el (org-export-latex-tables-centered): New option.
3745         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3747         * org-exp.el (org-export-as-org): New command.
3748         (org-export-as-org): New command.
3750         * org-publish.el (org-publish-org-to-org): New function.
3752 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3754         * org.el (org-yank): Just call `org-yank-generic'.
3755         (org-yank-generic): New function, containing the formaer
3756         functionality of `org-yank'.
3758         * org-latex.el (org-export-latex-not-done-keywords)
3759         (org-export-latex-done-keywords): New variables.
3760         (org-export-latex-todo-keyword-markup): New option.
3761         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3762         (org-export-latex-keywords-maybe): Apply the TODO markup.
3764 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3766         * org-exp.el (org-infile-export-plist): Add more default macros.
3767         (org-export-preprocess-apply-macros): Process macro arguments.
3769 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3771         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3772         `unblocked'.
3773         (org-print-icalendar-entries): Respect the new value of
3774         `org-icalendar-include-todo'.
3776         * org.el (org-link-try-special-completion)
3777         (org-file-complete-link): New functions.
3778         (org-insert-link): Add special completion support for some link
3779         types.
3781         * org-bbdb.el (org-bbdb-complete-link): New function.
3783 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3785         * org-list.el (org-update-checkbox-count): Allow recursive
3786         statistics.
3787         (org-hierarchical-checkbox-statistics): New option.
3789         * org.el (org-cycle): Remove erraneous space character.
3791         * org-icalendar.el (org-icalendar-timezone): Initialize from
3792         environment.
3794         * org-html.el (org-format-org-table-html): Specify the scope.
3795         (org-format-table-table-html): Specify the scope.
3796         (org-export-table-header-tags): Prepare the scope parameter.
3798 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3800         * org-html.el
3801         (org-export-html-table-use-header-tags-for-first-column): New
3802         option.
3804         * org.el (org-autoload): Fix autoloading of ascii export
3805         functions.
3806         (org-modules): Add org-special-blocks.
3808 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3810         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3811         (org-ical-timezone): New option.
3813         * org-exp.el (org-export-get-coderef-format): Use the description
3814         is present.
3816         * org.el (org-sort-entries-or-items): Improve docstring, and make
3817         better implementation for time sorting.
3819 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3821         * org.el (org-edit-src-persistent-message): New option.
3822         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3823         option.
3825         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3826         patch.
3828         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3829         separate buffer instead of indirect buffer to edit source code.
3830         (org-edit-src-exit): Make this function work with the new setup.
3832         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3833         are properly fontified before shown in the selection menu.
3835         * org.el (org-fontify-like-in-org-mode): New function.
3837         * org-latex.el (org-export-latex-links): Use the property list to
3838         retrieve the default image attributes.
3840         * org-exp.el (org-export-plist-vars): Add a new option.
3842 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3844         * org-exp.el (org-export, org-export-visible): Support ASCII
3845         export to buffer
3846         (org-export-normalize-links): Do not protect the description if it
3847         is explicitly given.
3849         * org-ascii.el (org-export-as-ascii-to-buffer)
3850         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3851         commands.
3852         (org-export-as-ascii): Add all the same parameters that are also
3853         supported by the other export functions.
3855         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3856         org-checklist.el.
3857         (org-reset-checkbox-state-subtree): Call
3858         `org-reset-checkbox-state-subtree'.
3860         * org-remember.el (org-select-remember-template): For the
3861         selection of a valid template.
3863         * org-latex.el (org-export-region-as-latex): Supply the
3864         force-no-subtree argument.
3865         (org-export-as-latex): Provide better limits when exporting the
3866         first line.  When exporting to string, we still want the first
3867         lines.
3868         (org-export-latex-first-lines): New argument END, to force the end
3869         of the region.
3870         (org-export-region-as-latex): Use the property list.
3871         (org-export-as-latex):
3873         * org-colview-xemacs.el (org-columns-remove-overlays)
3874         (org-columns): Fix call to `local-variable-p'.
3876 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3878         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3879         (org-export-as-html): Run the new hook.
3881         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3882         (org-export-latex-preprocess): Run the new hook.
3884         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3885         (org-export-preprocess-string): Run the new hook.
3887 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3889         * org-macs.el (org-check-external-command): New defsubst.
3891         * org.el (org-mode-map): New key for reload.
3892         (org-format-latex): Better error message when external programs
3893         are not available.
3895         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3897         * org.el (org-sort-entries-or-items): Explicit sorting function
3898         for priorities, needed for XEmacs compatibility.
3900         * org-remember.el (org-remember-apply-template): Improve auto-save
3901         behavior.
3903 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3905         * org-latex.el (org-export-latex-preprocess): Also protect
3906         environments ending in a star.
3908         * org-list.el (org-at-item-p): Fix regular expression.
3910 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3912         * org.el (org-end-of-subtree): Improve speed.
3914         * org-agenda.el (org-agenda-get-timestamps)
3915         (org-agenda-get-progress, org-agenda-get-deadlines)
3916         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3917         in particular, wait as long as possible to collect the tags.
3918         (org-stuck-projects): Improve docstring.
3920         * org.el (org-store-link): No errors when getting custom id before
3921         first headline.
3922         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3924 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3926         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3928         * org-protocol.el: Remove dependency on url.el.
3929         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3930         dependency on url.el.
3932         * org-latex.el (org-export-as-pdf): Use
3933         `org-latex-to-pdf-process'.
3935 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3937         * org-latex.el (org-latex-to-pdf-process): New option.
3939         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3940         New option.
3941         (org-agenda-get-timestamps): Honor
3942         `org-agenda-skip-additional-timestamps-same-entry'.
3944         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3945         (org-clock-goto): Find recent task only if
3946         `org-clock-goto-may-find-recent-task' allows it.
3948         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3949         drawers, and drawers that are missing the :END: line.
3951 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3953         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3954         clock is running.
3956 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3958         * org.el (org-update-parent-todo-statistics): Check for
3959         STATISTICS_FROM property.
3961         * org-list.el (org-update-checkbox-count): Check for
3962         STATISTICS_FROM property.
3964         * org.el (org-tab-first-hook)
3965         (org-tab-after-check-for-table-hook)
3966         (org-tab-after-check-for-cycling-hook): New hooks.
3967         (org-cycle-internal-global, org-cycle-internal-local): New
3968         functions, split out from `org-cycle'.
3969         (org-cycle): Call the new hooks.
3971 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3973         * org-exp.el (org-export-preprocess-string): Reset the list of
3974         preferred targets for each run of the preprocessor.
3976         * org.el (org-refile-target-verify-function): Improve
3977         documentation.
3978         (org-get-refile-targets): Respect point being moved by the
3979         verification function.
3981         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3982         option.
3983         (org-export-latex-keywords): Use new option.
3985         * org.el (org-rear-nonsticky-at): New defsubst.
3986         (org-activate-plain-links, org-activate-angle-links)
3987         (org-activate-footnote-links, org-activate-bracket-links)
3988         (org-activate-dates, org-activate-target-links)
3989         (org-activate-tags): Place the rear-nonsticky properties at the
3990         correct location.
3992 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3994         * org-protocol.el (server-edit): Declare `server-edit'.
3995         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3996         functions.
3997         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3999         * org.el (org-default-properties): New default properteis for
4000         completion.
4002         * org-exp.el (org-export-add-subtree-options): Add new properties
4003         for subtree export.
4005         * org-docbook.el (org-export-docbook-keywords-markup)
4006         (org-export-docbook-timestamp-markup): New options.
4007         (org-export-docbook-protect-tags): New function.
4009 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
4011         * org-id.el (org-id-get-with-outline-path-completion): Turn off
4012         org-refile-target-verify-function for the duration of the command.
4014         * org.el (org-link-to-org-use-id): New possible value
4015         `create-if-interactive-and-no-custom-id'.
4016         (org-store-link): Use custom IDs.
4017         (org-link-search): Find custom ID properties from #link.
4018         (org-default-properties): Add CUSTOM_ID for property completion.
4019         (org-refile-target-verify-function): New option.
4020         (org-goto): Turn off org-refile-target-verify-function
4021         for the duration of the command.
4023 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
4025         * org-html.el (org-export-as-html): Use custom IDs in the toc.
4027         * org-exp.el (org-export-preferred-target-alist): New variable.
4028         (org-export-define-heading-targets): Find the new CUSTOM_ID
4029         property.
4030         (org-export-target-internal-links): Target the custom ids when
4031         possible.
4033         * org-latex.el (org-export-latex-preprocess): Better regexp for
4034         matching latex macros with arguments.
4036 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
4038         * org-remember.el (org-remember-handler): Allow filing to non-org
4039         files.
4041 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
4043         * org-feed.el (org-feed-alist): New keyword options.
4044         (org-feed-update): Use the new options.
4045         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
4046         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
4047         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
4048         functions.
4050         * org-table.el (org-table-fix-formulas): Do not change references
4051         to remote tables.
4052         (org-table-get-remote-range): Convert standard coordinates to RC
4053         format.
4055         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
4057 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
4059         * org-compat.el (org-sha1-string): Function removed.
4061         * org.el (org-refile-allow-creating-parent-nodes): New option.
4062         (org-refile-get-location): New argument NEW-NODES.
4063         (org-refile): Call `org-refile-get-location' with the new
4064         argument.
4065         (org-refile-get-location): Arrange for adding a new child.
4066         (org-refile-new-child): New function.
4068         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
4069         an additional span element.
4071         * org-clock.el: Fix a number of docstrings.
4072         (org-clock-find-position): New argument
4073         FIND-UNCLOSED to make the function find an unclosed clock in the
4074         entry.
4075         (org-clock-in): Call `org-clock-find-position' with the new
4076         argument if we might be resuming a clock.
4078 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
4080         * org-latex.el (org-export-latex-display-custom-times): New variable.
4081         (org-export-latex-timestamp-markup): New option.
4082         (org-export-latex-set-initial-vars): Remember the local value of
4083         `org-display-custom-times'.
4084         (org-export-latex-content): Process time stamps.
4085         (org-export-latex-time-stamps): New function.
4087         * org-macs.el (org-maybe-intangible): Add intangible property
4088         again to invisible text.
4090 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
4092         * org-exp.el (org-default-export-plist): Handle undefined
4093         variables.
4095 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
4097         * org.el (org-sort-entries-or-items): Match TODO keywrds
4098         case-sensitively, when sorting.
4099         (org-priority): Do not match TODO keywords with wrong case.
4101 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
4103         * org-feed.el (org-feed-update): Bind the variable
4104         `new-formatted'.
4106         * org-html.el (org-export-as-html): Start paragraphs after literal
4107         examples.
4109         * org-docbook.el (org-export-as-docbook): Start paragraphs after
4110         literal examples.
4112 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
4114         * org.el (org-todo): Honor the NOBLOCKING property.
4116         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
4117         NOBLOCKING property.
4119         * org.el (org-scan-tags): Fix bug in tag scanner
4121 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
4123         * org.el (org-modules): Mark obsolete packages.
4125         * org-html.el: New file, split out from org-exp.el.
4127         * org-icalendar.el: New file, split out from org-exp.el.
4129         * org-xoxo.el: New file, split out from org-exp.el.
4131         * org-ascii.el: New file, split out from org-exp.el.
4133 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
4135         * org-compat.el (org-find-library-name): New function.
4137         * org.el (org-pre-cycle-hook): New hook.
4138         (org-cycle): Call the new hook in appropriate places.
4139         (org-reload): Only reload files that have been loaded before.
4141 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
4143         * org.el (org-set-font-lock-defaults): Enforxe space or line end
4144         after todo keyword.
4145         (org-todo): When changing TODO state, do matching
4146         case-sensitively.
4147         (org-map-continue-from): New variable.
4148         (org-scan-tags): Respect values in `org-map-continue-from'.
4149         (org-reload): Make XEmacs compatible.
4151 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
4153         * org-protocol.el (org-protocol-flatten-greedy): New function.
4154         (org-protocol-flatten): New function.
4156         * org.el (org-open-link-from-string): Pass reference buffer to
4157         `org-open-at-point'.
4158         (org-open-at-point): New optional argument `reference-buffer'.
4160 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
4162         * org.el (org-scan-tags): Make tag scan find headline in first
4163         line, 2nd attempt.
4164         (org-get-refile-targets): Add the naked file name.
4165         (org-refile): Store as top-level entry when only file name was
4166         given.
4168         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
4170         * org.el (org-block-todo-from-children-or-siblings-or-parent):
4171         Renamed from org-block-todo-from-children-or-siblings, and
4172         enhanced to look for the parent's status as well.
4174         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
4175         (org-agenda-get-progress): Add first notes line to log entry if so
4176         desired.
4178 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
4180         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
4181         (org-agenda-cleanup-fancy-diary): Call the new hook.
4183         * org-remember.el (org-remember-apply-template): Take the default
4184         for the annotation from the :annotation property.
4186         * org-mac-message.el (org-mac-message-get-link): Remove the
4187         quotes.
4188         (org-mac-message-get-link): Return the result.
4190 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
4192         * org.el (org-refile-get-location): Add file name only if not
4193         already included in outline path.
4195         * org-faces.el (org-n-level-faces): Fix customization type from
4196         number to integer.
4198         * org-exp.el (org-export-headline-levels): Fix customization type
4199         from number to integer.
4201         * org-agenda.el (org-agenda-confirm-kill)
4202         (org-agenda-custom-commands-local-options)
4203         (org-timeline-show-empty-dates, org-agenda-ndays)
4204         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
4205         customization type from number to integer.
4207 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
4209         * org-protocol.el: Declare some functions.
4211         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
4212         postion before inserting modified headline.
4214         * org-agenda.el (org-agenda-compare-effort): Honor
4215         `org-sort-agenda-noeffort-is-high'.
4216         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
4217         (org-agenda-compare-effort): Implement the "?" operator for
4218         finding entries without effort setting.
4220         * org.el (org-extract-attributes-from-string): New function.
4222         * org-exp.el (org-export-splice-attributes): New function.
4224 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
4226         * org-mouse.el: XEmacs compatibility fixes
4228         * org-docbook.el (org-export-as-docbook): Process footnotes like
4229         normal text.
4231         * org.el (org-modules): Add org-inlinetasks.el
4232         (org-cycle): Implement limiting level on cycling.
4233         (org-move-subtree-down): Fix bug with swapping subtrees at end of
4234         buffer.
4236         * org-inlinetask.el: New file.
4238         * org.el (org-emphasis-regexp-components): Allow braces in
4239         emphasis pre and post match.
4241         * org-footnote.el (org-footnote-normalize): When only dorting, do
4242         not insert inline notes at the end.
4244         * org-docbook.el (org-id-find-id-file): Add function declaration.
4246         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
4248         * org-docbook.el: New file.
4250 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
4252         * org.el (org-reftex-citation): New command.
4254 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
4256         * org-agenda.el (org-agenda-cmp-user-defined): New option.
4257         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
4258         sorting options.
4259         (org-entries-lessp): Apply the new sorting option.
4261         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
4262         blocker code, when an older sibling has children.
4264         * org-mac-message.el (org-mac-message-get-link): Improve getting
4265         links from multiple selected messages.
4267 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
4269         * org-remember.el (org-remember-finalize): Do not set buffer file
4270         name to nil.
4271         (org-remember-handler): Mark buffer as unmodified.
4272         (org-remember-handler): Delete backup file and show message about
4273         remaining backup files.
4274         (org-remember-auto-remove-backup-files): New option.
4276         * org.el (org-store-link): Use buffer name as link description in
4277         w3-mode buffers.
4278         (org-ido-switchb): Fix argument bug for completion.
4280         * org-remember.el (org-remember-apply-template): Set local
4281         variable `auto-save-visited-file-name' instead of global one.
4283 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
4285         * org-feed.el: Re-write.
4287         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
4288         (org-agenda-get-todos): Mark file tags as inherited.
4289         (org-agenda-list): Always search diary lines for a time.
4291 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
4293         * org-feed.el (org-feed-assume-stable): New option.
4294         (org-feed-before-adding-hook): New hook.
4296         * org-exp.el (org-export-as-html): Close local lists depending on
4297         indentation, also when starting a table.
4299         * org-remember.el (org-remember-backup-directory)
4300         (org-remember-backup-name): New internal variable.
4302 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
4304         * org-clock.el (org-clock-out-if-current): Make buffer detection
4305         work in indirect buffers as well.
4307         * org.el (org-emphasis-regexp-components): Add the exxclamation
4308         mark to the post-emphasis characters.
4310 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
4312         * org.el (org-read-date-minibiffer-septup-hook): New hook.
4313         (org-read-date): Run the new hook.
4315         * org-mac-message.el (org-mac-flagged-mail): New group.
4316         (org-mac-mail-account): New variable.
4317         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4318         commands.
4320         * org-remember.el (org-remember-backup-directory): New variable.
4321         (org-remember-apply-template): Write file to backup directory.
4323 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
4325         * org-mouse.el (org-mouse-todo-menu): New function.
4326         (org-mouse-todo-keywords): Function removed.
4327         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4329         * org-table.el (org-table-beginning-of-field)
4330         (org-table-end-of-field): New commands
4331         (org-table-previous-field, org-table-beginning-of-field): Better
4332         error messages.
4333         (orgtbl-setup): Include `M-a' and `M-e'.
4335         * org.el (org-backward-sentence, org-forward-sentence): New
4336         commands.
4338         * org-colview.el (org-colview-initial-truncate-line-value): New
4339         variable.
4340         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4341         (org-columns): Remember the value of `truncate-lines'.
4343         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4344         New variable.
4345         (org-columns-remove-overlays): Restore the value of
4346         `truncate-lines'.
4347         (org-columns): Remember the value of `truncate-lines'.
4349         * org.el (org-columns-skip-arrchived-trees): New option.
4351         * org-agenda.el (org-agenda-export-html-style): Define color for
4352         org-agenda-done face.
4353         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4354         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4356         * org.el (org-scan-tags): Use the new face.
4358         * org-faces.el (org-agenda-done): New face.
4360         * org.el (org-scan-tags): Test the value org
4361         `org-tags-match-list-sublevels'.
4362         (org-tags-match-list-sublevels): New allowed value: indented.
4364         * org-export-latex.el (org-export-latex-make-header): Apply macros
4365         in header.
4367         * org-exp.el (org-export-apply-macros-in-string): New function.
4369         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4370         with the definition of a checked box.
4372         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4374         * org-export-latex.el (org-export-latex-low-levels): More options
4375         for how to process lower levels in LaTeX.
4376         (org-export-latex-subcontent): Better treatment for lists as a
4377         means of publishing lower levels.
4379 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4381         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4383         * org-faces.el (org-checkbox): New face.
4385         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4386         fragement images if there is an export file.
4388 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4390         * org-agenda.el (org-stuck-projects): Document that the subtree of
4391         projects that are not stuck will now be searched for stuck
4392         sub-projects.
4393         (org-agenda-skip-entry-when-regexp-matches)
4394         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4395         (org-agenda-list-stuck-projects): Use
4396         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4398         * org-export-latex.el (org-export-latex-preprocess): Improve
4399         export of verses.
4401         * org-exp.el (org-export-as-html): Implement centering as a div
4402         rather than a paragraph.  Do a better job with line-end in verse
4403         environments.
4405 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4407         * org.el (org-open-at-point): Fix tags searches by mouse click.
4409 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4411         * org-export-latex.el (org-export-latex-preprocess): Implement the
4412         centering markup.
4414         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4415         from `org-export-mark-blockquote-and-verse'.
4416         (org-export-as-html): Implement the centering markup.
4418         * org-export-latex.el (org-export-latex-tables): Fix vertical
4419         lines in tables.
4421 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4423         * org.el (org-read-date-history): New variable.
4424         (org-read-date): Use new history variable.
4425         (org-toggle-heading): Fix bug when used before first headline.
4426         (org-store-log-note): Remove drawer if empty while note is
4427         aborted.
4428         (org-remove-empty-drawer-at): New function.
4429         (org-check-after-date): New command.
4430         (org-sparse-tree): New sparse tree command "a".
4432         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4434 2009-03-14  Bastien Guerry  <bzg@altern.org>
4436         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4437         column and a space, not only a column.
4439 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4441         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4442         defaults for verbose emphasis.
4443         (org-export-latex-emph-format): New function.
4444         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4446         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4447         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4448         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4449         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4450         commands.
4452         * org.el (org-timestamp-change): Move end-time along with start
4453         time.
4455 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4457         * org-exp.el (org-export-target-internal-links)
4458         (org-export-as-html): Protect links specified as #name.
4460 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4462         * org.el (org-clone-subtree-with-time-shift): New command.
4464         * org-export-latex.el (org-export-latex-special-chars)
4465         (org-export-latex-treat-sub-super-char): Fix subscript export.
4467         * org-exp.el (org-create-multibrace-regexp): Do not add
4468         backslashes to the class.
4470 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4472         * org-colview.el (org-columns-map): Better functions for moving up
4473         and down a row, even if `truncate-line' is nil.
4475         * org.el (org-insert-todo-heading): Make sure the keyword is
4476         inserted at the correct position.
4478         * org-publish.el (org-publish-project-alist)
4479         (org-publish-projects, org-publish-org-index): Change default anme
4480         for the index of file names to "sitemap.org".
4482         * org-export-latex.el (org-export-latex-tables): Use
4483         `org-split-string', for Emacs 21 compatibility.
4485 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4487         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4489 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4491         * org-exp.el (org-export-page-description)
4492         (org-export-page-keywords): New variables.
4493         (org-export-plist-vars): Add entries for :keywords and
4494         :description.
4495         (org-infile-export-plist): Parse for new keywords.
4496         (org-get-current-options): Add new keywords
4497         (org-export-as-html): Publish description and keywords.
4499         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4500         option.
4501         (org-agenda-add-entry-text): Honor
4502         `org-agenda-add-entry-text-descriptive-links'.
4504         * org-export-latex.el (org-export-latex-preprocess): Make all
4505         external preprocess functions use a PARAMETER arg.
4507         * org-exp.el (org-export-preprocess-string)
4508         (org-export-select-backend-specific-text)
4509         (org-export-format-source-code-or-example)
4510         (org-format-org-table-html): Support docbook export.
4511         (org-export-preprocess-string): Make all external preprocess
4512         functions use a PARAMETER arg.
4514 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4516         * org-exp.el (org-export-html-style-include-scripts): New option.
4517         (org-export-plist-vars): Add new option
4518         `org-export-html-style-include-scripts'.
4519         (org-export-as-html): Honor new option
4520         `org-export-html-style-include-scripts'.
4521         (org-export-html-scripts, org-export-html-style-default): Fix
4522         xml issues with the Safari browser.
4524 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4526         * org-publish.el (org-publish-attachment): Only copy file when the
4527         directories differ.
4529 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4531         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4532         for clocktable steps.
4534         * org.el (org-additional-option-like-keywords): Add two more
4535         keywords.
4537 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4539         * org-exp.el (org-export-format-source-code-or-example): Mark
4540         temporary buffer unmodified, so that it will be killed even if
4541         mode like message mode has decided to assign a file name.
4543         * org.el (org-scan-tags): Improve tag inheritance.
4544         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4545         case-sensitive.
4546         (org-scan-tags): Use the internal tags list instead of creating it
4547         from scratch.
4548         (org-trust-scanner-tags, org-scanner-tags): New variables.
4549         (org-scan-tags): Set `org-scanner-tags'.
4550         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4551         (org-map-entries): Document the possible speedup using scanner
4552         tags.
4554 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4556         * org.el (org-add-planning-info): Fix bug with looking for keyword
4557         only at column 0.
4559         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4560         option for tags filter preset.
4561         (org-prepare-agenda): Store filter preset as a property on the
4562         filter variable.
4563         (org-finalize-agenda): Call the filter, if there is a preset.
4564         (org-agenda-filter-by-tag): Filter again after clearing the
4565         filter, when there still is a preset.
4566         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4567         Include the preset filter.
4568         (org-agenda-redo): Apply the filter again, also the preset filter.
4570         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4572         * org.el (org-uuidgen-p): New funtion.
4574         * org-agenda.el (org-agenda-fontify-priorities): New default value
4575         `cookies'.
4576         (org-agenda-fontify-priorities): Renamed from
4577         org-fontify-priorities.
4579         * org.el (org-set-font-lock-defaults): Call
4580         `org-font-lock-add-priority-faces'.
4581         (org-font-lock-add-priority-faces): New function.
4583         * org-faces.el: (org-set-tag-faces): New option.
4584         (org-priority-faces): New variable.
4586         * org-exp.el (org-export-as-html): Add a "content" div around the
4587         entire content of the body tag.
4588         (org-export-html-get-bibliography): New function.
4589         (org-export-html-validation-link): New variable.
4590         (org-export-as-html): Add validation link to exported page.
4592         * org.el (org-match-sparse-tree): Renamed from
4593         `org-tags-sparse-tree'.
4594         (org-tags-sparse-tree): New alias.
4596 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4598         * org.el (org-get-valid-level): Catch the case where the level
4599         change is nil.
4601         * org-clock.el (org-clock-find-position): Better indentation of
4602         new clock drawers.
4604 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4606         * org-agenda.el (org-agenda-quit): Delete window only when the
4607         frame-setup was not `current-window'.
4609         * org.el (org-tag-persistent-alist): New option.
4610         (org-startup-options): Add keyword `noptag'.
4611         (org-fast-todo-selection): Handle :newline correctly.
4612         (org-set-tags): Handle :newline correctly.
4613         (org-fast-tag-selection): Handle :newline correctly.
4615 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4617         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4618         outputting it.
4619         (org-export-ascii-push-links): Fix bug with pussing links into the
4620         export buffer.
4622 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4624         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4625         pasting at top level.
4627         * org-bbdb.el: Improve documentation.
4629 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4631         * org-list.el (org-insert-item): Only consider insert empty lines
4632         is `org-empty-line-terminates-plain-lists' is not nil.
4634         * org.el (org-blank-before-new-entry): Mention the dependence on
4635         `org-empty-line-terminates-plain-lists' in the docstring.
4637         * org-publish.el (org-publish-get-project-from-filename): New
4638         optional argument UP.  Only find the top project if UP is set.
4639         (org-publish-current-project): Find the top encloding project.
4641         * org-agenda.el (org-agenda-before-write-hook)
4642         (org-agenda-add-entry-text-maxlines): New options.
4643         (org-write-agenda): Run the new hook in the temporary buffer.
4644         (org-agenda-add-entry-text): New function.
4645         (org-write-agenda): Implement PDF export, using ps2pdf.
4647         * org.el (org-global-properties-fixed, org-global-properties):
4648         Improve documentation string.
4650         * org-exp.el (org-export-ascii-links-to-notes): New option.
4651         (org-export-as-ascii): Handle links better.
4652         (org-export-ascii-wrap, org-export-ascii-push-links): New
4653         functions.
4655 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4657         * org-agenda.el (org-agenda): Make prefix arg optional.
4658         (org-agenda-search-headline-for-time): New option.
4659         (org-format-agenda-item): Honor
4660         `org-agenda-search-headline-for-time'.
4662         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4663         characters.
4665         * org.el (org-self-insert-cluster-for-undo): New option.
4666         (org-self-insert-command): Cluster undo for 20 characters.
4667         (org-self-insert-command-undo-counter): New variable.
4669 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4671         * org-exp.el (org-export-as-html): Fix problem with closing colone
4672         example.
4674 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4676         * org-export-latex.el (org-export-as-latex)
4677         (org-export-latex-first-lines): Avoid modification flag when
4678         adding or removing text properties.
4679         (org-export-latex-fontify): Catch error when org-emph-alist has
4680         entries that are not defined for LaTeX export.
4682         * org.el (orgstruct++-mode): New function.
4683         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4684         (org-context-p): Allow detecting item context after the first line
4685         of an item.
4686         (orgstruct-make-binding): Detect if item-body context should be
4687         seen.
4688         (orgstruct-is-++): New variable.
4689         (org-add-planning-info): Catch the case when there is no planning
4690         info yet and the call does not want to add anything, only maybe
4691         tries to remove something.
4692         (org-special-ctrl-a/e): All value to be a cons cell with separate
4693         settings for `C-a. and `C-e'.
4694         (org-beginning-of-line, org-end-of-line): Honor separate values
4695         for `C-a' and `C-e'.
4697 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4699         * org.el (org-reload): New command.
4701 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4703         * org-exp.el (org-export-htm-get-tag-class-name)
4704         (org-export-htm-get-todo-kwd-class-name): New functions.
4705         (org-export-html-tag-class-prefix)
4706         (org-export-html-todo-kwd-class-prefix): New options.
4707         (org-export-as-html): Call
4708         `org-export-html-get-todo-kwd-class-name'.
4709         (org-html-level-start): Wrap tags into classes.
4710         (org-export-html-get-tag-class-name)
4711         (org-export-html-get-todo-kwd-class-name): New functions.
4713         * org-export-latex.el (org-export-latex-collect-header-macros):
4714         Remove fields that are used anyway.
4715         (org-export-latex-make-header): Insert the options earlier.
4717         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4718         matching.
4720         * org-list.el (org-indent-item): Allow point to be at the end of
4721         the region.
4723         * org.el (org-metaleft, org-metaright): Be more accurate about
4724         detecting a region where commands apply.
4726         * org-compat.el (org-cursor-to-region-beginning): New function.
4728         * org.el (org-priority): Also find invisible heading.
4730         * org-colview-xemacs.el (org-columns-edit-value): No special
4731         treatment for `org-todo' prefix.
4733         * org-colview.el (org-columns-edit-value): No special treatment
4734         for `org-todo' prefix.
4736         * org-remember.el (org-remember-apply-template): Use
4737         `org-completing-read-no-ido'.
4739         * org.el (org-completing-read-no-ido): New function.
4740         (org-make-tags-matcher, org-set-property): Use
4741         `org-completing-read-no-ido'.
4743         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4744         New option.
4745         (org-export-as-latex): Import in-buffer settings as TeX macros.
4746         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4747         (org-export-latex-collect-header-macros): New function.
4749         * org.el (org-refile-get-location): Turn off
4750         `partial-completion-mode'.
4752 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4754         * org.el (org-block-todo-from-checkboxes): Announce that
4755         checkboxes are the culprit.
4756         (org-block-todo-from-children-or-siblings): Call
4757         `org-up-heading-all instead' of `outline-up-heading'.
4759         * org-agenda.el (org-agenda-show-1): Renamed from
4760         `org-agenda-show'.
4761         (org-agenda-show): Re-install the old version for now.
4762         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4763         variable into the blokker hook, so that the checkbox checker can
4764         anounce that it caused the blocking.
4766         * org.el (org-track-ordered-property-with-tag): New option.
4767         (org-toggle-ordered-property): Honor
4768         `org-track-ordered-property-with-tag'.
4769         (org-tag-alist): Add newline options.
4770         (org-set-regexps-and-options): Separate option lines imply a
4771         newline.
4772         (org-set-regexps-and-options, org-assign-fast-keys)
4773         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4774         option.
4775         (org-indent-line-function): Make sure this works even if there is
4776         not `org-drawer-regexp' defined.  This can happen when
4777         orgstruct-mode is used in a non-org buffer.
4779         * org-list.el (org-checkbox-blocked-p): New function.
4780         (org-toggle-checkbox): Check for blocking.
4782         * org.el (org-modules): Add an entry for org-R.el.
4784         * org-agenda.el (org-agenda-todo-ignore-with-date)
4785         (org-agenda-todo-ignore-scheduled)
4786         (org-agenda-todo-ignore-deadlines): Mention the variable
4787         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4789         * org.el (org-get-wdays): Find the warning period also if it is in
4790         the wrong place.
4791         (org-ido-completing-read): Provide the correct arguments to
4792         ido-completing-read and bind `ido-enter-matching-directory' to
4793         nil.
4795 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4797         * org.el (org-olpath-completing-read): Never use ido for this
4798         one.
4800         * org-exp.el (org-export-normalize-links): Use new macro.
4802         * org-macs.el (org-if-unprotected-at): New macro.
4804         * org-agenda.el (org-agenda-show): Allow numerical prefix
4805         arguments to specify how much context should be shown.
4806         (org-agenda-cycle-show): New command, could be bound to SPC in
4807         org-agenda-mode-map.
4809         * org-exp.el (org-html-level-start): Space after section number.
4811 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4813         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4814         property, for sorting.
4815         (org-cmp-todo-state): Get the applicable TODO keywords directly
4816         from the buffer.
4817         (org-run-agenda-series, org-agenda-list, org-search-view)
4818         (org-todo-list, org-tags-view): Only fit agenda window when the
4819         whole series is done.
4821         * org.el (org-scan-tags): Add todo state as property, for sorting.
4823         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4824         `org-agenda-overriding-header' as an option.
4825         (org-agenda-list): Honor org-agenda-overriding-header'.
4827 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4829         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4830         after removing a checkbox.
4832         * org.el (org-show-entry): Make this work correctly also if it is
4833         the last entry in the file.
4834         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4835         falling back to normal, default command.
4836         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4837         item, call the checkbox toggler to get a box.
4839         * org-list.el (org-toggle-checkbox): Make double prefix set the
4840         checkbox to "[-]".
4841         (org-fix-bullet-type): Only replace bullet if it is changed.
4842         (org-renumber-ordered-list): Handle case when first item does not
4843         have a number.
4845         * org.el (org-add-log-setup): Fix positioning when
4846         `org-log-states-order-reversed' is nil.
4848         * org-clock.el (org-clock-in): Fix positioning when
4849         `org-log-states-order-reversed' is nil.
4850         (org-clock-find-position): Fix positioning when
4851         `org-log-states-order-reversed' is nil.
4853 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4855         * org-clock.el (org-clock-into-drawer): Take default from
4856         `org-log-into-drawer'.
4857         (org-clock-find-position): Look for the correct drawer.
4859         * org.el (org-log-into-drawer): Renamed from
4860         `org-log-state-notes-into-drawer'.
4861         (org-log-state-notes-into-drawer): New variable alias.
4862         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4863         CLOCK.
4864         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4866 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4868         * org-agenda.el (org-agenda): Fix docstring.
4870         * org.el ("org-plot"): Help loading org-plot.
4871         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4872         (org-metadown-hook, org-shiftmetaleft-hook)
4873         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4874         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4875         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4876         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4877         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4879         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4880         for selecting files with any (and even without) extension.
4882         * org.el (org-save-all-org-buffers): Also save id locations.
4883         (org-revert-all-org-buffers): Also load id locations.
4885 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4886         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4887         (org-log-state-notes-into-drawer): New option.
4888         (org-add-log-setup): Place the sate note marker into the drawer,
4889         create drawer when necessary.
4890         (org-refile-targets): Document special interpretation of LEVEL
4891         when odd-levels are used.
4893 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4895         * org.el (org-store-log-note): Fix note indentation when adding
4896         notes to end of list.
4898         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4899         class, so that each keyword can get special colors through CSS.
4901         * org-clock.el (org-clock-out): Add another nil for the previous
4902         state into the call to `org-add-log-setup'.
4904         * org.el (org-log-note-previous-state): New variable.
4905         (org-log-note-headings): New %S escape for old state.
4906         (org-todo): Call the note setup with the old state as an
4907         argument.
4908         (org-add-note): Add another nil for the previous state into the
4909         call to `org-add-log-setup'.
4910         (org-add-log-setup): New argument PREV-STATE.
4911         (org-add-log-note): Handle new %S escape.
4912         (org-store-log-note): Handle new %S escape.
4914 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4916         * org-clock.el (org-clock-find-position): Do not swallow an item
4917         less indented than the CLOCK line itself.
4918         (org-clock-in): Push markers to lin after the clock line.
4919         (org-clock-find-position): Handle values of
4920         `org-clock-into-drawer' smaller than 2.
4922         * org-exp.el (org-html-level-start): Add a CSS class to section
4923         numbers.
4924         (org-export-html-toplevel-hlevel): Better documentation of the
4925         influence of this variables on H levels and css classes in
4926         export.
4928 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4930         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4931         timestamp and nottimestamp to the chooe menu.
4933         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4934         (org-revert-all-org-buffers): New command.
4936 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4938         * org.el (org-return): Implement `org-return-follows-link' in the
4939         function org-return.  This is more robust than using the mouse
4940         map, I think.
4941         (org-set-regexps-and-options): Match more general #+TODO lines.
4942         (org-make-options-regexp): New optional argument EXTRA, for an
4943         extra regexp.
4944         (org-tab-follows-link): Mark as deprecated.
4946 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4948         * org-exp.el (org-export-preprocess-string): Remove clock lines
4949         earlier, so that they cannot cotribute to verbatim snippets.
4951 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4953         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4954         for finding drawers.
4955         (org-export-as-ascii, org-export-as-html): Count levels relative
4956         to the subtree header.
4957         (org-get-min-level): New optional argument OFFSET.
4958         (org-export): Make sure point is restored after popping up that
4959         window.
4961         * org.el (org-do-sort): Also take an inactive timestamp if no
4962         active one is found.
4964         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4965         deleting duplicates.
4967         * org-colview.el (org-columns-capture-view): Copy before
4968         deleting duplicates.
4970         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4971         text before first headline.
4973         * org.el (org-format-latex): Do not convert LaTeX fragments in
4974         protected examples.
4976 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4978         * org-exp.el (org-export-html-style-default): Use color values
4979         instead of names for XHTML validation.
4981         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4982         functions.
4983         (org-return-follows-link): Revert making this the default untile
4984         issues are resolved.
4986         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4987         nottimestamp.
4989 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4991         * org.el (org-mode): Make dependence stuff work more reliably.
4992         (org-update-parent-todo-statistics): Fix bug with updating
4993         statistics cookie.
4995         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4996         ~ as verbatim delimiters.
4998         * org-exp.el (org-export-html-format-image): New argument
4999         PAR-OPEN.
5000         (org-export-as-html): Pass par-open to
5001         `org-export-html-format-image'.
5003 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
5005         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
5006         (org-use-fast-todo-selection, org-tags-column): New default
5007         setting for variables, based on a poll what typical uses use.
5009         * org-agenda.el (org-agenda-sorting-strategy)
5010         (org-agenda-tags-column): New default setting for variables, based
5011         on a poll what typical uses use.
5013 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
5015         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
5016         blocked entries from setting the blocked tag.
5018         * org-exp.el (org-export-html-footnotes-section): Use a more
5019         consistent id for footnotes.
5021         * org-export-latex.el (org-export-latex-classes): Remove the
5022         a4paper option from the default styles.
5024 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
5026         * org.el (org-enforce-todo-checkbox-dependencies): New option.
5027         (org-block-todo-from-checkboxes): New function.
5028         (org-todo): Make tripple prefix arg circumvent blocking.
5030         * org-timer.el (org-timer): Provide the timer feature.
5032         * org.el (org-require-autoloaded-modules): Add a few more files to
5033         the list of autoloaded modules.
5035         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
5037 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
5039         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
5040         drawers that are unprotected.
5041         (org-export-html-format-image): Make sure inlined LaTeX fragment
5042         images remain inlined.
5044         * org.el (org-toggle-ordered-property): New function.
5045         (org-mode-map): Add a key for `org-toggle-ordered-property'.
5046         (org-org-menu): Add menu entries for TODO dependencies.
5048 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
5050         * org.el (org-default-properties): Add ORDERED to the default
5051         properties, to get completion support for it.
5053         * org-list.el (org-update-checkbox-count): Update more than one cookie.
5055         * org.el (org-update-parent-todo-statistics): Update more than one
5056         cookie.
5058         * org-agenda.el (org-agenda-get-todos): Start search from correct
5059         position.
5061         * org.el (org-fast-todo-selection): Make sure TODO selection does
5062         not change buffer position.
5064         * org-list.el (org-toggle-checkbox): Implement adding or removing
5065         checkboxes from line or region when called with a prefix
5066         argument.
5068         * org-rmail.el (org-rmail-store-link): Protect the call to
5069         `rmail-narrow-to-non-pruned-header'.
5071         * org-clock.el (org-clock-special-range): Fix week display in
5072         clock tables.
5074         * org-exp.el (org-get-current-options): Fix bug when in indirect
5075         buffer.
5077 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
5079         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
5080         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
5081         (org-agenda-dim-blocked-tasks): New function.
5083         * org.el (org-enforce-todo-dependencies): New option.
5084         (org-block-todo-from-children-or-siblings): New function.
5086         * org-faces.el (org-agenda-dimmed-todo-face): New face.
5088         * org.el (org-todo): Return correct state type even if the blocker
5089         throws an error.
5090         (org-modifier-cursor-error): Renamed from
5091         `org-shiftcursor-error'.
5092         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
5093         (org-shiftmetadown): Call `org-modifier-cursor-error'.
5095         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
5096         to get real errors from the blocker hook.
5098         * org.el (org-shiftselect-error, org-call-for-shift-select): New
5099         functions.
5100         (org-set-visibility-according-to-property): Turn off the setting
5101         of `org-show-entry-below', to avoid overruling a FOLDED visibility
5102         property.
5104 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5106         * org.el (org-support-shift-select): New option.
5107         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
5108         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
5109         selection outside contexts.
5111         * org-list.el (org-at-item-bullet-p): New function.
5113         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
5114         variables.
5116         * org-footnote.el (org-footnote-normalize): Remove unnecessary
5117         variable.
5118         (org-insert-footnote-reference-near-definition): Remove
5119         unnecessary let form.
5121         * org-export-latex.el (org-export-latex-first-lines): Add
5122         OPT-PLIST parameter.
5123         (org-export-as-latex): Call `org-export-latex-first-lines' with
5124         opt-plits parameter.
5125         (org-export-latex-preprocess): Remove unnecessary variables.
5127         * org-exp.el (org-infile-export-plist)
5128         (org-export-add-options-to-plist, org-export-kill-licensed-text)
5129         (org-export-remove-headline-metadata)
5130         (org-export-get-title-from-subtree, org-get-min-level)
5131         (org-html-do-expand): Remove innecessary let form.
5133         * org-colview-xemacs.el (org-columns-display-here): Remove
5134         unnecessary variables.
5136         * org-colview.el (org-columns-display-here): Remove unnecessary
5137         variables.
5139         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
5140         variables.
5142         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
5143         unnecessary variables.
5145         * org-agenda.el (org-search-view, org-agenda-get-blocks)
5146         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
5147         variables.
5149         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
5150         (org-compact-display-after-subtree-move): Remove unnecessary
5151         variables.
5152         (org-edit-fixed-width-region): Remove unnecessary variables.
5153         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
5154         (org-olpath-completing-read): Remove unnecessary variable.
5155         (org-auto-repeat-maybe): Remove unnecessary variable.
5156         (org-map-entries): Remove unnecessary variable.
5157         (org-buffer-property-keys, org-imenu-get-tree)
5158         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
5160 -----------------------------------------------------------------
5162 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
5163         * org-exp.el (org-export-remove-timestamps): Never remove
5164         timestamps from tables.
5166         * org-export-latex.el (org-export-latex-first-lines): Add more
5167         options to the preprocessing of the text before the first
5168         headline.
5170 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
5172         * org-faces.el (org-clock-overlay): Make face compatible with
5173         XEmacs.
5175         * org.el (org-yank): Add property for delete-selection mode.
5177         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
5179         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
5180         variable.
5182         * org-table.el (org-table-insert-hline): Fix typo in fuction call
5183         to `backward-char'.
5185         * org-exp.el (org-export-as-html): Remove the initial space from
5186         colon examples.
5188         * org.el (org-scan-tags): Call
5189         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5191         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
5192         customization groups.
5193         (org-agenda-tags-todo-honor-ignore-options): New option.
5194         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
5195         New function.
5196         (org-agenda-get-todos): Use
5197         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
5199 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
5201         * org-exp.el (org-export-format-source-code-or-example): Escape
5202         HTML characters also in examples that anre not treated with
5203         htmlize.  Also, just switch to EXAMPLE processing if we do not
5204         have a good version of htmlize.
5206         * org-rmail.el: Fix copyright notice.
5208         * org.el (org-activate-footnote-links): Improve footnote link
5209         highlighting.
5211         * org-footnote.el (org-footnote-normalize): Fix finding the end of
5212         a footnote definition at the end of the file.
5214         * org-table.el (org-table-get-specials): Add an imagined hline at
5215         the end of the table.  This can be useful for references that want
5216         to go to the end of the table.  Also fix bug when computing last
5217         row constants, in tables that do not start right at the right
5218         margin.
5219         (org-table-eval-formula): Match and replace remove references.
5220         (org-table-formula-substitute-names): Make sure that names inside
5221         a "remote" call are left alone, the will be replaced later when
5222         the remote call is handled.
5223         (org-table-convert-refs-to-rc): Do not convert things that might
5224         look like a reference, but are really part of an ID or namei n a
5225         remote reference.
5226         (org-table-get-remote-range): New function.
5228 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
5230         * org-faces.el (org-clock-overlay): Fix bug in face definition.
5232         * org-clock.el (org-clock-put-overlay): Use new face instead of
5233         `secondary-selection'.
5235         * org-faces.el (org-clock-overlay): New face.
5237 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
5239         * org-exp.el (org-get-current-options): Include the option for
5240         publishing time stamps.
5242         * org.el (org-toggle-heading): Renamed from
5243         `org-toggel-region-headings'.
5244         No longer needs a region defined, but will use it if there is one.
5245         (org-ctrl-c-star): Simplified, relying more on the internal
5246         workings of `org-toggle-heading'.
5247         (org-toggle-item): Renamed from `org-toggle-region-items'.
5248         No longer needs a region defined, but will use it if there is one.
5249         (org-ctrl-c-minus): Simplified, relying more on the inernal
5250         workings of `org-toggle-item'.
5252         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
5253         environment detection.  Also, do real changes only in unprotected
5254         places.
5256 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
5258         * org-export-latex.el (org-export-latex-quotation-marks): Use
5259         `org-if-unprotected-1'.
5260         (org-export-latex-set-initial-vars): Check for class definition in
5261         property.
5263         * org-macs.el (org-if-unprotected-1): New macro.
5265 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
5267         * org-compat.el (org-count-lines): New function.
5269         * org-exp.el (org-export-format-source-code-or-example): Handle
5270         switches related to text areas.
5272         * org.el (org-activate-footnote-links): Don't allow match inside a
5273         link.
5275         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
5277         * org-export-latex.el (org-export-latex-links): Keep a relative
5278         path relative also after export.
5280         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
5282         * org.el (org-make-tags-matcher): Never use IDO for completing the
5283         tags matcher match string.
5284         (org-completing-read): Also remove the special biding for "?".
5286         * org-attach.el (org-attach-allow-inheritance): New option.
5287         (org-attach-inherited): New variable.
5288         (org-attach-dir): Handle properties related to the attachment
5289         directory.
5290         (org-attach-check-absolute-path): New function.
5291         (org-attach-set-directory, org-attach-set-inherit): New commands.
5292         (org-attach): Accommodate the new commands in the dispatcher.
5294 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
5296         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
5297         `window-full-width-p'.
5299         * org-exp.el (org-export-as-html): Only check for images files
5300         that really can be inlined
5302         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5303         list of extensions to be a parameter.
5305         * org-exp.el (org-export-html-inline-image-extensions): New
5306         variable.
5308         * org-agenda.el (org-prepare-agenda): Use
5309         `org-agenda-block-separator'.
5310         (org-agenda-block-separator): New option.
5312 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
5314         * org-export-latex.el (org-export-latex-tables): Call
5315         `org-table-clean-before-export' with the new optional argument.
5317         * org-exp.el (org-table-clean-before-export): New optional
5318         parameter MAYBE-QUOTED, allows for quoted characters like \# in
5319         first column.
5321 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
5323         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5324         histograms.
5326         * org-colview.el (org-colview-construct-allowed-dates): Better
5327         error catching when a date/time property does not have allowed
5328         values defined.
5330         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5331         Better error catching when a date/time property does not have
5332         allowed values defined.
5334 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
5336         * org.el (org-map-entries): Restore point and restriction after
5337         `org-map-entries'.
5339 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
5341         * org.el (org-time=, org-time<, org-time<=, org-time>)
5342         (org-time>=, org-time<>): Make sure both values are dates.
5344 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
5346         * org-archive.el (org-extract-archive-heading): Allow %s for file
5347         name also in achive location heading.
5349 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
5351         * org-archive.el (org-add-archive-files): Uniquify the list before
5352         returning it.
5354 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
5356         * org-compat.el (org-fit-window-to-buffer): Use
5357         `window-full-width-p'.
5359         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5360         space after the colon in short examples.
5362         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5363         enforce a space after the colon.  However, we also allow lines
5364         that are *only* a colon.
5365         (org-export-as-html): Enforce the space after the colon in short
5366         examples.
5367         (org-export-preprocess-string): Do the colon example protection
5368         earlier.
5369         (org-export-remove-timestamps): Do not check for protection at the
5370         end of the line.
5372 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5374         * org.el (org-format-latex-options): Add new matcher for single
5375         letters between dollars.
5376         (org-get-header): Function removed.
5377         (org-heading-components): New function.
5379         * org-exp.el (org-export-define-heading-targets): Record ID's also
5380         as alternative targets.
5381         (org-export-as-html): Interpret "id:" links to other files by
5382         preserving the relative path.
5384         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5385         is nil.
5387         * org-exp.el (org-export-normalize-links): Protect the main link,
5388         to avoid special character processing.
5390         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5391         New variable.
5392         (org-export-latex-special-string-regexps): Variable removed.
5393         (org-export-latex-keywords): Use the new regexp.
5395         * org-exp.el (org-export-handle-include-files): Fetch switches and
5396         put them into the BEGIN statement.
5398         * org-timer.el (org-timer-mode-line-string): New variable.
5400         * org-clock.el (org-clock-mode-line-map): Renamed from
5401         `org-clock-mode-map'.
5402         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5403         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5404         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5405         (org-clock-remove-overlays): Renamed from
5406         `org-remove-clock-overlays'.
5408         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5409         and mode line display.
5410         (org-timer-stop): New command.
5411         (org-timer-seconds): Return correct time when timer is paused.
5412         (org-timer-mode-line-timer): New variable.
5413         (org-timer-set-mode-line, org-timer-update-mode-line): New
5414         functions.
5416         * org.el (org-insert-heading):  Handle new value `auto' for
5417         `org-blank-before-new-entry'.
5418         (org-org-menu): Add new items for timer functions.
5420         * org-list.el (org-insert-item): Handle new value `auto' for
5421         `org-blank-before-new-entry'.
5423         * org.el (org-blank-before-new-entry): New value `auto', made
5424         default.
5426 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5428         * org-exp.el (org-export-normalize-links): If the link is also
5429         used as the description, protect the description.
5431 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5433         * org.el (org-closest-date): Fix bug with yearly repeats, in
5434         combination with preference of the past as it is used for deadline
5435         and scheduling search.
5437         * org-exp.el (org-html-handle-time-stamps): No longer check for
5438         the `org-export-with-timestamps' option, because the preprocesser
5439         has taken care of this already.
5441         * org.el (org-entry-properties): Catch the case when this is
5442         called in a non-org-mode file.
5444         * org-export-latex.el (org-export-latex-remove-from-headlines):
5445         Variable made obsolete, also LaTeX export now uses the standard
5446         variables.
5447         (org-export-as-latex): Add the timestamps parameter to the
5448         preprocessor parameter list.
5449         (org-export-latex-content): Export the remaining keywords without
5450         considering to remove them.
5451         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5452         Use bold font instead of tt font for the keywords.
5453         (org-export-latex-fontify-headline): Format headlines, assuming
5454         that all keywords still present should be published.
5455         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5456         publish what ever remains of the time stamps.
5457         (org-export-latex-list-parameters): New option.
5458         (org-export-latex-lists): Pass additional parameters to the list
5459         converter.
5461         * org-exp.el (org-export-preprocess-string): Remove clock lines
5462         and timestamps already in the preprocesor.
5463         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5464         functions.
5465         (org-export-as-ascii, org-export-as-html): Add the timestamps
5466         parameter to the preprocessor parameter list.
5468         * org-list.el (org-list-parse-list): Parse for checkboxes.
5469         (org-list-to-generic): Introduce and handle new parameters :cbon
5470         and :cboff.
5471         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5472         optional parameter PARAMS.
5474         * org-export-latex.el (org-export-latex-special-chars): Fix
5475         problems with interpreting dollar signs.
5476         (org-inside-latex-math-p): New function.
5477         (org-export-latex-preprocess): Protect all the math fragments.
5479         * org.el (org-latex-regexps): Allow a dash after a dollar.
5481         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5482         mark after copying.
5484         * org-agenda.el (org-run-agenda-series): Have series options set
5485         when finalizing the agenda.
5487         * org-exp.el (org-export-format-source-code-or-example): Protect
5488         the converted examples.
5490         * org.el (org-set-regexps-and-options): Fix the regexp
5491         `org-complex-heading-regexp'.
5493 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5495         * org.el (org-edit-src-get-label-format): New function.
5496         (org-coderef-label-format): New option.
5497         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5498         a label format specification and make sure it is used in the edit
5499         buffer.
5500         (org-edit-src-get-label-format): New function.
5501         (org-store-link): Handle new coderef formats.
5502         (org-link-search): Handle new coderef formats.
5504         * org-footnote.el (org-footnote-create-definition)
5505         (org-footnote-goto-local-insertion-point): Make footnote insertion
5506         work correctly when the "Footnotes" headline is the last line in
5507         the buffer.
5509         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5510         the location.
5512 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5514         * org-w3m.el (org-w3m): New customization group.
5515         (org-w3m-deactivate-mark): New option.
5516         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5517         option say not to.
5519 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5521         * org.el (org-set-font-lock-defaults): Trigger footnote
5522         fontification.
5523         (org-activate-footnote-links): New function.
5524         (org-activate-links): New entry `footnote'.
5526         * org-faces.el (org-footnote): New face.
5528 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5530         * org-macs.el (org-re): Handle the [:word:] class.
5532         * org-exp.el (org-export-preprocess-string): Call
5533         `org-export-protect-colon-examples'.
5534         (org-export-protect-colon-examples): Renamed from
5535         `org-export-protect-examples', and scope limited to lines starting
5536         with a colon.
5538 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5540         * org-exp.el (org-export-preprocess-string): Move the preprocess
5541         hook to after turning on Org-mode.
5542         (org-export-preprocess-after-include-files-hook)
5543         (org-export-preprocess-after-tree-selection-hook)
5544         (org-export-preprocess-before-backend-specifics-hook)
5545         (org-export-preprocess-final-hook): New hooks.
5546         (org-export-preprocess-string): Run the new hooks.
5548         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5550         * org-footnote.el: New file.
5552         * org.el (org-footnote): Require footnote code.
5553         (org-startup-options): Add new footnote options.
5554         (org-mode-map): New keybindig for footnotes.
5555         (org-ctrl-c-ctrl-c): Add function at footnotes.
5556         (org-org-menu): New menu entries for footnotes.
5558         * org-export-latex.el (org-export-as-latex): Pass footnote
5559         variable to preprocessor.
5560         (org-export-latex-preprocess): Treat multiple references to a
5561         footnote.
5563         * org-exp.el (org-export-preprocess-string): Call
5564         `org-footnote-normalize'.
5565         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5566         to preprocessor.
5567         (org-export-as-html): Treat multiple references to a footnote.
5569 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5571         * org-export-latex.el (org-export-latex-links): Handle coderef
5572         links.
5574         * org.el (org-bracket-link-analytic-regexp++): New variable.
5575         (org-make-link-regexps): Initialize
5576         `org-bracket-link-analytic-regexp++'.
5577         (org-store-link): Implement special case in edit-src buffer.
5578         (org-insert-link): No use of ide to insert stored links.
5579         (org-link-search): Implement special case for coderefs.
5581         * org-exp.el (org-export-html-scripts): New constant.
5582         (org-export-html-style-default): Add a new style for highlighted
5583         code.
5584         (org-export-code-refs): New variable.
5585         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5586         Call `org-export-replace-src-segments-and-examples'
5587         No longer call `org-export-protect-examples'.
5588         (org-export-target-internal-links): Take care of coderef targets.
5589         (org-export-last-code-line-counter-value): New variable.
5590         (org-export-replace-src-segments-and-examples): Renamed from
5591         `org-export-replace-src-segments', and modified.
5592         (org-export-format-source-code-or-example): Renamed from
5593         `org-export-format-source-code'.
5594         (org-export-number-lines): New function.
5595         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5597 --------------------------------------------------------------------------
5599 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5601         * org-remember.el (org-remember-handler): Safer way to get a new
5602         buffer accessing the target file.
5604         * org.el (org-refile-get-location): Handle case of current buffer
5605         not having a file associated with it.
5607 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5609         * org-table.el (org-table-get-formula): Only ask to overwrite
5610         field formula if there really is one.
5612         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5613         number, by converting these to a string.
5615         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5616         located in a different file.
5618         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5619         org-colview.el.
5621 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5623         * org.el (org-completion-use-ido): Enhance docstring of
5624         `org-completion-use-ido'.
5626         * org-export-latex.el (org-export-latex-make-header): Double the %
5627         in the time stamp format.
5628         (org-export-latex-special-chars): Handle case where there is no
5629         match group 3.
5631 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5633         * org.el (org-get-refile-targets, org-refile-get-location): Use
5634         expanded file name to improve comparison.
5636 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5638         * org.el (org-scan-tags): Rescan for tags, to get the correct
5639         upcase/downcase stuff.  This slows things down for now, but it
5640         works.
5641         (org-mode): Make sure the tag-faces regexp is initialized.
5643         * org-export-latex.el (org-export-latex-links): Fix bug with
5644         undefined label.
5646         * org-table.el (org-table-get-specials): Set
5647         `org-table-current-last-data-line'.
5648         (org-table-current-last-data-line): New variable.
5649         (org-table-insert-column, org-table-delete-column)
5650         (org-table-move-column, org-table-fix-formulas): Call
5651         `org-table-fix-formulas' a second time to fix the $LR references.
5652         (org-table-get-specials): Add the $LR references to the tables.
5653         (org-table-get-formula): Do not offer last-row names as LHS of
5654         formulas.
5656         * org.el (org-store-link): Capture link description from
5657         `org-id-store-link'.
5659         * org-exp.el (org-export-html-format-image): Add the / to the end
5660         of the <img> tag.
5661         (org-export-format-source-code): Surround example by empty lines,
5662         to make sure it will not be inside a paragraph.
5664         * org.el (org-ido-switchb): New function.
5666 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5668         * org-agenda.el (org-agenda-show): New prefix argument
5669         FULL-ENTRY.
5671         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5672         argument.
5674         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5675         `org-agenda-change-all-lines'.
5676         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5677         tags are now retrieved locally.
5679 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5681         * org.el (org-get-outline-path): Fix bug if level is not given.
5682         (org-org-menu): Do not quote function in menu vector.
5684         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5685         name.
5687 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5689         * org.el (org-refile): Avoid refiling to within the region to be
5690         refiled.
5692         * org-export-latex.el (org-export-latex-special-chars): Replace
5693         special characters also in tables.
5695         * org-agenda.el (org-agenda-change-all-lines): New argument
5696         FORCE-TAGS.
5697         (org-agenda-set-tags): Cet the new tags and pass them to
5698         `org-format-agenda-item'.
5700 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5702         * org-export-latex.el (org-export-latex-classes): Add longable as
5703         a default package to all classes.
5704         (org-export-latex-tables): Handle the longtable attribute and the
5705         align attribute.
5707         * org-table.el (orgtbl-to-generic): Handle tables that start with
5708         a hline.
5710         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5711         \verb for colde-like snippets.
5712         (org-export-as-latex): Fix issues with region export.
5714         * org.el (org-up-heading-safe): Speed up function by using a
5715         direct regexp search.
5716         (org-olpa): New variable.
5717         (org-get-outline-path): Speed-up path constructions in cases where
5718         this is possible because the entire hierarchy is scanned anyway.
5719         (org-refile-get-location): Don't compare the truenames of files,
5720         this is too slow.
5721         (org-goto-max-level): New option.
5722         (org-goto): Use `org-goto-max-level'.
5724 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5726         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5727         Strip angle brackets from message-ids in the former and don't do
5728         it in the latter.
5729         (org-gnus-follow-link): Open summary reliable, even if the last
5730         messages were deleted, and handle empty groups, too.
5732 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5734         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5735         instead of \texttt for the =...= and ~===~ emphasis environments.
5736         (org-export-as-latex): Remove any old :org-license-to-kill text
5737         properties.
5738         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5739         (org-export-latex-make-header): Add some hard space after the
5740         table of contents.
5741         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5742         exported text so that it will be excuded in further steps.
5744         * org-table.el (org-table-get-specials): Make @0 reference the
5745         last line in a table.
5746         (org-table-recalculate): Improve docstring.
5748 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5750         * org.el (org-log-done): Fix docstring.
5752 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5754         * org-exp.el (org-export-html-format-image): Fix bugs.
5756         * org-export-latex.el (org-export-latex-tables)
5757         (org-export-latex-links): Implement attribute, label, and caption
5758         handling.
5760         * org-exp.el (org-export-html-style-default): Add style
5761         definitions for the figure div.
5762         (org-export-preprocess-string, org-export-as-html): Implement
5763         attribute, label, and caption handling.
5764         (org-export-attach-captions-and-attributes): New function.
5765         (org-export-html-format-image): New function.
5766         (org-format-org-table-html): Implement attribute, label, and
5767         caption handling.
5769         * org.el (org-find-text-property-in-string): New function.
5770         (org-extract-attributes): Use the property org-attr instead of
5771         org-attrobutes, because this property is now set with the #+ATTR
5772         lines.
5774 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5776         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5777         the case that FROM is nil.
5779         * org.el (org-before-first-heading-p): New function.
5781 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5783         * org-exp.el (org-export-as-html): Do not add a space before
5784         enforces line breaks.
5785         (org-export-as-html): Close paragraph before blockquote and verse
5786         tags.
5788 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5790         * org-id.el (org-id-locations-file): Wrap file name with
5791         `convert-standard-filename'.
5792         (org-id-files): New variable.
5793         (org-id-use-hash): New option.
5794         (org-id-update-id-locations): Also search in all files current
5795         listed in `org-id-files'.  Convert the resulting alist to a hash
5796         if the user customation says so.
5797         (org-id-locations-save): Handle he case if `org-id-locations' is a
5798         hash.
5799         (org-id-locations-load): Convert the alist to a hash.
5800         (org-id-add-location): Handle the hast case.
5801         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5802         exited.
5803         (org-id-hash-to-alist, org-id-alist-to-hash)
5804         (org-id-paste-tracker): New functions.
5806 -------------------------------------------------------------------------
5808 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5810         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5811         bindings of calendar variables.
5813         * org-table.el (org-table-find-row-type): Renamed from
5814         `org-find-row-type'.
5815         (org-table-rewrite-old-row-references): Renamed from
5816         `org-rewrite-old-row-references'.
5817         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5818         (org-table-cleanup-narrow-column-properties): Renamed from
5819         `org-cleanup-narrow-column-properties'.
5821 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5823         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5824         for better error messages.
5825         (org-table-get-descriptor-line): Supply the new arguments to
5826         `org-find-row-type'.
5827         (org-table-error-on-row-ref-crossing-hline): New option.
5829         * org.el (org-target-link-regexp): Make buffer-local.
5830         (org-move-subtree-down): Fix bug with trees at beginning of
5831         buffer.
5833 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5835         * org-faces.el (org-set-tag-faces): New function.
5836         (org-tags-special-faces-re): New variable.
5838         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5840         * org-faces.el (org-tag-faces): New option.
5841         (org-tag): Mention `org-tag-faces' in the docstring.
5843 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5845         * org-exp.el (org-export-html-style-default): Implement new
5846         quoting.
5848         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5850         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5851         command to the `w3m-minor-mode-map'.
5853         * org-archive.el (org-archive-to-archive-sibling): Protect
5854         `this-command' to avoid appending kills during archiving.
5856         * org-exp.el (org-export-with-priority): New variable.
5857         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5858         instead of internal list of strings and properties.
5859         (org-print-icalendar-entries): Retrieve the location property with
5860         inheritance.
5862 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5864         * org-exp.el (org-export-with-todo-keywords): New option.
5865         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5866         line.
5867         (org-default-export-plist, org-export-add-options-to-plist)
5868         (org-export-as-ascii, org-export-as-html): Use the new structure
5869         of `org-export-plist-vars'.
5871         * org.el (org-map-entries): Return all values.
5873 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5875         * org.el (org-matcher-time): Recognize more special values.
5877         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5879 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5881         * org.el (org-tags-exclude-from-inheritance): New option.
5882         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5883         `org-tags-exclude-from-inheritance'.
5885         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5886         (org-format-agenda-item): Add inherited tags to the agenda line
5887         string, and make sure that properties are kept when downcasing the
5888         tags list.
5889         (org-agenda-add-inherited-tags): New function.
5890         (org-downcase-keep-props): New function.
5892         * org.el (org-scan-tags): Mark inherited tags with a text
5893         property.
5894         (org-get-tags-at): Mark inherited tags with a text property.
5895         (org-add-prop-inherited): New function.
5897         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5898         (org-agenda-show-inherited-tags): New option.
5900 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5902         * org.el (org-modules): Add org-w3m to the default modules.
5904         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5905         orgtbl-mode.
5906         (orgtabl-create-or-convert-from-region): New command.
5908         * org-exp.el (org-export-as-ascii): Remove the handling of
5909         targets.
5910         (org-export-ascii-preprocess): Handle targets already in this
5911         function.
5913 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5915         * org-timer.el (org-timer-start-time): Define this variable.
5916         (org-timer-item): Make argument optional.
5918         * org-list.el (org-insert-item): Automatically insert a timer item
5919         if the current list is a timer list.
5921         * org-timer.el: New file.
5923         * org-publish.el (org-publish-org-index): Only exclude the index
5924         file in the main directory from being added to the site-map.
5925         (org-publish-get-project-from-filename): If the current project is
5926         a component, start publishing from the parent project.
5928 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5930         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5932         * org-publish.el (org-publish-org-index): Improve removal of
5933         temporary buffers.
5935         * org-agenda.el (org-get-closed): Re-apply changes
5936         accidentially overwritten by last commit to Emacs.
5938         * org.el (org-outline-path-complete-in-steps): New option.
5939         (org-refile-get-location): Honor
5940         `org-outline-path-complete-in-steps'.
5941         (org-agenda-change-all-lines, org-tags-sparse-tree)
5942         (org-time-string-to-absolute, org-small-year-to-year)
5943         (org-link-escape): Re-apply changes accidentially overwritten
5944         by last commit to Emacs
5946 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5948         * org-clock.el (org-dblock-write:clocktable): Make sure the
5949         clocktable sees the first line.
5950         (org-clock-in): Warn if the clock cannot be resumed.
5952 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5954         * org.el (org-open-at-point): Fix mixup about interactive and
5955         non-interactive elisp links.
5957 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5959         * org-exp.el (org-export-preprocess-string): Allow one comment
5960         line before the first headline to always be included.  This is
5961         to not miss a commented target.
5963         * org-mouse.el (org-mouse-insert-item): Call
5964         `org-indent-to-column' instead of `indent-to', for XEmacs
5965         compatibility.
5967         * org.el (org-refile-targets): Fix customize definition so
5968         that it works also in XEmacs.
5969         (org-fixup-indentation): Call `org-indent-to-column' instead
5970         of `indent-to', for XEmacs compatibility.
5972 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5974         * org-mew.el (org-mew-store-link): Get the correct case folder
5975         for refiled messages.
5977 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5979         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5980         line break indicators.
5982         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5983         ido-completion propts.
5985 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5987         * org-remember.el (org-remember-apply-template): Use
5988         `org-substring-no-properties'.
5990         * org-compat.el (org-substring-no-properties): New function.
5992         * org-remember.el (org-remember-apply-template): Use
5993         `org-substring-no-properties' for compatibility.
5995         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5996         option.
5997         (org-fix-bullet-type): respect
5998         `org-list-two-spaces-after-bullet-regexp'.
6000         * org-clock.el (org-clock-load): Clean up the code.
6002         * org.el (org-adaptive-fill-function): Allow two spaces after
6003         "1." as a list bullet.
6005 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
6007         * org-clock.el (org-clock-save, org-clock-load): Check for
6008         live buffers, existing files, and buffer file names to ensure
6009         consistent information.
6010         (org-clock-persist): Make `clock' a special value of this
6011         variable, and improve docstring.
6013         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
6014         (org-get-string-indentation): Adapt indentation when the bullet
6015         width changes.
6017 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
6019         * org-remember.el (org-remember-finalize): Make interactive.
6020         (org-remember-kill): New command.
6021         (org-remember-finish-immediately): Call `org-remember-finalize'
6022         directly.
6023         (org-remember-finalize): Make `org-remember-finalize' an interactive
6024         function.
6026 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
6028         * org-remember.el (org-remember-apply-template): No ido completion
6029         for free prompts in remember templates.
6030         (org-remember-before-finalize-hook): New hook.
6031         (org-remember-mode): New minor mode.
6032         (org-remember-apply-template): Turn on `org-remember-mode'.
6034         * org-id.el (org-id-add-location): Avoid error when no file is
6035         given.
6037         * org-remember.el (org-remember-apply-template): Fix the way how
6038         the list of allowed properties is retrieved from the target file.
6040         * org.el (org-insert-link): Improve file link matching.
6042 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
6044         * org-colview.el (org-columns-display-here): New argument
6045         DATELINE, to trigger using the new face.
6046         (org-agenda-colview-summarize): Call `org-columns-display-here'
6047         with the new argument.
6049         * org-faces.el (org-agenda-column-dateline): New face.
6051         * org-publish.el (org-publish-org-index): Use index-title at page
6052         title, not as section.
6054         * org-exp.el (org-export-html-format-desc): Respect the
6055         org-protect property.
6056         (org-export-as-html): Protect image specifiers that are in the
6057         description part of a link.
6059         * org.el (org-sort-entries-or-items, org-completing-read)
6060         (org-refile-get-location, org-olpath-completing-read, org-todo)
6061         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
6062         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
6063         (org-set-property, org-delete-property)
6064         (org-delete-property-globally): Use `org-ido-completing-read'.
6066         * org-remember.el (org-remember-apply-template): Use
6067         `org-ido-completing-read'.
6069         * org-publish.el (org-publish): Use `org-ido-completing-read'.
6071         * org-colview.el (org-columns-edit-value, org-columns-new)
6072         (org-insert-columns-dblock): Use `org-ido-completing-read'.
6074         * org-colview-xemacs.el (org-columns-edit-value)
6075         (org-columns-new, org-insert-columns-dblock): Use
6076         `org-ido-completing-read'.
6078         * org-attach.el (org-attach-delete-one, org-attach-open): Use
6079         `org-ido-completing-read'.
6081         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
6082         `org-ido-completing-read'.
6084         * org.el (org-time-today): New function.
6085         (org-matcher-time): Use `org-time-today'.  Add special treatment
6086         for "<tomorrow>" and "<yesterday>".
6087         (org-ido-completing-read): New function.
6088         (org-completion-use-ido): New option.
6090         * org-exp.el (org-export-format-source-code): Fix bug in require
6091         htmlize code.
6092         (org-export-target-internal-links): Fix bug in search for text
6093         property.
6095 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
6097         * org-export-latex.el (org-export-latex-subcontent): Interprete
6098         target aliases as additonal labels.
6100         * org-exp.el (org-export-target-aliases): New variable.
6101         (org-export-preprocess-string)
6102         (org-export-handle-invisible-targets): Fill the alias alist.
6103         (org-export-as-html): Remove the &nbsp; from the anchor, and also
6104         assign an id.
6105         (org-html-level-start): Insert the target aliases as additonal
6106         anchors.
6108         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
6109         picture area.
6111 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
6113         * org.el (org-open-at-mouse): Ensure correct link abbreviations
6114         when following a link with the mouse from the agenda.
6116         * org-exp.el (org-export-as-html): Avoid lone </div> when no
6117         headlines are created.
6119 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
6121         * org-exp.el (org-export-preprocess-string): Reorder so that we
6122         can still see ID properties when we collect targets.
6123         (org-export-target-internal-links): Also store targets for ID's.
6125         * org.el (org-link-translation-function): New option.
6126         (org-open-at-point): Call `org-link-translation-function' if
6127         non-nil.
6128         (org-translate-link): New function.
6129         (org-translate-link-from-planner): New function.
6130         (org-open-at-point): Allow interactive commands in elisp links.
6132         * org-exp.el (org-icalendar-cleanup-string): Restore the old
6133         iCalendar quoting.  The new one seems to caus problems with
6134         applications.
6136         * org.el (org-yank): Set `this-command' to `yank', so that
6137         `yank-pop' will work.
6139 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6141         * org-id.el (org-id-search-archives): New option.
6143         * org.el (org-link-to-org-use-id): New option.
6144         (org-store-link): Use `org-link-to-org-use-id'.
6145         (org-id): Make org-id.el a standard component.
6147 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
6149         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
6150         hexified version of the tag.
6152         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
6153         compliance as far as quoting is concerned.
6155         * org-vm.el (org-vm-follow-link): Require `vm-search'.
6157         * org.el (org-up-heading-safe, org-forward-same-level): Always
6158         call `org-back-to-heading' instead of `outline-back-to-heading'.
6159         (org-back-to-heading): New wrapper around outline-back-to-heading,
6160         with a useful error message telling where the error happened.
6162         * org-list.el (org-update-checkbox-count): Always call
6163         `org-back-to-heading' instead of `outline-back-to-heading'.
6165         * org-exp.el (org-export-as-html): Make sure that each <img> tag
6166         has an `alt' attribute, to ensure XHTML validation.
6168 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
6170         * org-publish.el (org-publish-attachment): Allow publishing to
6171         overwrite attachment files.
6173         * org-agenda.el (org-agenda-timerange-leaders): New option.
6174         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
6176         * org.el (org-edit-src-exit): Untabify ASCII image before
6177         returning.
6190 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
6192         * org.el (org-yank): Make any prefix force normal yanking.
6193         Suppress folding if text would be swallowed into a folded
6194         subtree.
6195         (org-yank-folded-subtrees, org-yank): Docstring updates.
6197         * org-agenda.el (org-agenda-compare-effort): Treat no effort
6198         defined as 0.
6200         * org-exp.el (org-export-language-setup): Add Catalan and
6201         Esperanto language entries.
6203 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
6205         * org.el (org-refile): Allow refiling of entire regions.
6207         * org-clock.el (org-clock-time%): New function.
6209         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
6210         retrieve property values.
6212 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
6214         * org-agenda.el (org-agenda-list): Handle the value `only' of
6215         org-agenda-show-log'.
6216         (org-agenda-log-mode): Interpret a double prefix arg.
6218 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
6220         * org-exp.el (org-export-html-footnotes-section): New variable.
6221         (org-export-as-html): Use `org-export-html-footnotes-section' to
6222         insert the footnotes.
6223         (org-export-language-setup): Add "Footnotes" to language words.
6225 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
6227         * org.el (org-yank): Fix bug when not inserting a subtree.
6229 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
6231         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
6232         instead of `vm-beginning-of-message'.
6234         * org.el (org-make-link-regexps): Make sure that links to gnus can
6235         contain brackets.
6237 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
6239         * org-attach.el (org-attach-dir): Remove duplicate ID creation
6240         code.
6242         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
6243         shell output.
6245         * org.el (org-link-abbrev-alist): Improve customization type.
6247         * org-attach.el (org-attach-expand-link, org-attach-expand): New
6248         functions.
6250         * org-agenda.el (org-agenda-get-progress): Renamed from
6251         `org-get-closed'.  Implement searching for state changes as well.
6252         (org-agenda-log-mode-items): New option.
6253         (org-agenda-log-mode): New option prefix argument, interpreted as
6254         request to show all possible progress info.
6255         (org-agenda-get-day-entries): Call `org-get-progress' instead of
6256         `org-get-closed'.
6257         (org-agenda-set-mode-name): Handle the more complex log mode
6258         settings.
6259         (org-get-closed): New alias, pointing to `org-get-progress'.
6261 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
6263         * org.el (org-file-apps-defaults-gnu)
6264         (org-file-apps-defaults-macosx)
6265         (org-file-apps-defaults-windowsnt): Add an entry defining the
6266         system command.
6267         (org-file-apps): Allow `system' as key and value.
6268         (org-open-at-point): Explain the effect of a double prefix arg.
6269         (org-open-file): If the argument `in-emacs' is (16),
6270         i.e. corresponding to a double prefix argument, try to open the
6271         file externally.
6273 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
6275         * org.el (org-insert-link): Abbreviate absolute files names in
6276         links.  Also, fix a bug in which the double C-u prefix would not
6277         be honored.
6279 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
6281         * org.el (org-insert-heading): If buffer does not end with a
6282         newline, add one if necessary to insert headline correctly.
6284         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
6285         paragraphs, not inside.
6287         * org.el (org-todo): Quote
6288         `org-agenda-headline-snapshot-before-repeat'.
6290         * org-exp.el (org-export-as-html): Fully process link descriptions.
6291         (org-export-html-format-desc): New function.
6292         (org-export-as-html): Collect footnotes into the correct basket.
6293         (org-html-protect): No longer protect quotations marks here, this
6294         goes wrong.
6296         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
6297         BEG.
6299         * org-compat.el (org-fit-window-to-buffer): New function (not
6300         really, a preliminary and incomplete version was present earlier,
6301         but not used).
6303         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6304         `org-fit-window-to-buffer'.
6306         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6308         * org-agenda.el (org-agenda-get-restriction-and-command)
6309         (org-fit-agenda-window, org-agenda-convert-date): Use
6310         `org-fit-window-to-buffer'.
6312         * org-exp.el (org-export-as-html): Process href links through
6313         `org-export-html-format-href'.
6314         (org-export-html-format-href): New function.
6316         * org-agenda.el (org-agenda-todo): Update only the current
6317         headline if this is a repeated TODO, marked done for today.
6318         (org-agenda-change-all-lines): New argument JUST-THIS, to change
6319         only the current line.
6321         * org.el (org-todo): Take a snapshot of the headline if the
6322         repeater might change it.
6324 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6326         * org-publish.el (org-publish-find-title): Remove buffers visited
6327         only for extracting the title.
6329         * org-exp.el (org-export-html-style)
6330         (org-export-html-style-default): Mark style definitions as
6331         unparsed CDATA.
6333         * org-publish.el (org-publish-validate-link): Function
6334         re-introduced.
6336 2008-11-02  Charles Sebold  <csebold@gmail.com>
6338         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6339         property.
6340         (org-plot-quote-timestamp-field): New function.
6341         (org-plot-quote-tsv-field): Call timestamp field function when
6342         necessary rather than just quoting as a string.
6343         (org-plot/gnuplot-to-data): Pass in timefmt property.
6344         (org-plot/gnuplot-script): Supports timefmt property.
6345         (org-plot/gnuplot): Checks for timestamp column before checking
6346         for text index column.
6348 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6350         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6352         * org-publish.el (org-publish-org-index): Create a section in the
6353         index file.
6354         (org-publish-org-index): Stop linking to directories.
6356         * org.el (org-emphasis-alist): Use span instead of <u> to
6357         underline text.
6359         * org-exp.el (org-export-as-html): Make sure <p> is closed before
6360         <pre> sections.
6362 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
6364         * org-jsinfo.el (org-infojs-template): Remove language attribute
6365         from script tag.
6367 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6369         * org-agenda.el (org-agenda-remove-marked-text): New function.
6370         (org-agenda-mark-filtered-text)
6371         (org-agenda-unmark-filtered-text): New functions.
6372         (org-write-agenda): Remove fltered text.
6374         * org.el (org-make-tags-matcher): Give access to TODO "property"
6375         without speed penalty.
6377 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6379         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6380         option.
6381         (org-store-link-props): Make sure adding to the plist works
6382         correctly.
6384         * org-gnus.el (org-gnus-no-new-news): New function.
6385         (org-gnus-follow-link): Allow the article ID to be a message-id,
6386         in addition to allowing article numbers.  Message IDs make much
6387         more roubust links.
6388         (org-gnus-store-link): Use message-id to create link.
6390 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6392         * org.el (org-emphasize): Reverse the selection array.
6393         (org-emphasis-alist): Set <code> tags for the verbatim
6394         environment.
6396         * org-remember.el (org-remember-handler): Fix bug with
6397         prefix-related changing of the note storage target.
6399         * org-exp.el (org-print-icalendar-entries): Make the exported
6400         priorities compatible with RFC 2445.
6402         * org-clock.el (org-clock-save): Insert time stamp without
6403         dependence on time-stamp.el.
6405 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6407         * org.el ("saveplace"): If saveplace puts point into an invisible
6408         location, make it visible.
6409         (org-make-tags-matcher): Allow inactive time stamps in time
6410         comparisons.
6411         (org-yank-adjusted-subtrees): New option.
6412         (org-yank): Incorporate adjusting trees.
6413         (org-paste-subtree): New argument FOR-YANK which will cause
6414         insertion at point without backing up over white lines, and leave
6415         point at the end of the inserted text.  Also if the cursor is
6416         at the beginning of a headline, use the same level or the inserted
6417         tree.
6419         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6420         with broken symlinks
6422 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6424         * org-exp.el (org-export-select-tags, org-get-current-options):
6425         Fix typo.
6427 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6429         * org-agenda.el (org-format-agenda-item)
6430         (org-agenda-filter-make-matcher): Make sure tags are stored and
6431         compared donwcased.
6433 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6435         * org.el (org-insert-todo-heading): Fix bug with force-heading
6436         argument.
6438 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6440         * org-clock.el (org-clock-in-resume): Add a custom option to
6441         toggle starting the clock from an open clock line.
6442         (org-clock-in): When clocking in to an entry, if
6443         `org-clock-in-resume' is set, check if the first clock line is
6444         open and if so, start the clock from the time in the clock line.
6445         (org-clock-persist): Add a custom option to toggle clock
6446         persistence.
6447         (org-clock-persist-query-save): Add a custom option to toggle
6448         asking the user if they want to save the running clock when
6449         exiting.
6450         (org-clock-persist-query-resume): Add a custom option to toggle
6451         asking the user if they want to resume the saved clock when Emacs
6452         is restarted.
6453         (org-clock-save): Add a function to save clock data.
6454         This includes the contents of `org-clock-history' and the buffer
6455         and position of the currently clocked task, if any.
6456         (org-clock-load): Add a function to load clock data.
6457         This populates `org-clock-history', and resumes the saved clocked
6458         task if there is one.
6459         (org-clock-persistence-insinuate): Add a method to set up the
6460         hooks for clock persistence.
6462 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6464         * org-exp.el (org-export-as-ascii): Handle the case that we are
6465         publishing from an indirect buffer.
6467         * org-table.el (org-table-copy-down): Fix bug with time stamp
6468         increment.
6470         * org-mouse.el (org-mouse-features): New option.
6471         (org-mode-hook): Turn on features depending on
6472         `org-mouse-features'.
6474         * org.el (org-insert-heading-respect-content): Force heading
6475         creation.
6476         (org-insert-heading): keep the folding state of the heading before
6477         the inserted one.
6479 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6481         * org-archive.el (org-archive-to-archive-sibling): Handle top
6482         level headlines better.
6484 2008-10-21  Bastien Guerry  <bzg@altern.org>
6486         * org-export-latex.el (org-export-latex-classes): Added
6487         \usepackage{graphicx} to the default list of packages.
6489 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6491         * org-agenda.el (org-agenda-filter): Renamed from
6492         `org-agenda-filter-tags'.
6494 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6496         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6497         is not defined as a property in this entry.
6498         (org-add-log-note): Mask prefix argument when immediately storing
6499         the note.
6501         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6502         option.
6504 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6506         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6507         after drawers was skipping ahead one line too many, so notes were
6508         inserted after the first note instead of before it.
6510 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6512         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6513         New variables.
6514         (org-prepare-agenda): Reset the filter tags.
6515         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6516         Show filter tags in mode line.
6518         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6519         formatter.
6521         * org-export-latex.el (org-latex-entities-regexp): New constant.
6522         (org-export-as-pdf): Use two calls to `shell-command'.
6524 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6526         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6527         Honor the {} value of the subsuperscript setting.  Make sure that
6528         longer subsuperscripts are typeset in a roman font.
6530         * org.el (org-clock-update-time-maybe): Compute negative clock
6531         intervals correctly.
6533 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6535         * org.el (org-add-log-setup): Respect
6536         `org-log-state-notes-insert-after-drawers'.
6537         (org-log-state-notes-insert-after-drawers): New option.
6538         (org-todo-trigger-tag-changes): New function.
6539         (org-todo): Call `org-todo-trigger-tag-changes'.
6541 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6543         * org.el (org-add-log-setup): Only skip drawers if the are
6544         immediately after the scheduling keywords.
6546         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6547         function
6548         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6549         call it with the current todo state to get the state to switch to
6550         when clocking in.
6551         (org-clock-in): Use org-indent-line-function to indent clock lines.
6552         (org-clock-find-position): Fix indentation of empty clock drawers.
6554 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6556         * org-publish.el (org-publish-org-to): Handle case when
6557         org-export-to-pdf does return a file name, not a buffer.
6558         (org-publish-org-to-pdf): New function.
6560         * org-export-latex.el (org-export-as-pdf)
6561         (org-export-as-pdf-and-open): New commands.
6563         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6564         forms as ranges.
6566         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6567         things in protexted regions.
6569 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6571         * org-export-latex.el (org-export-latex-preprocess): Improve
6572         quoting of LaTeX environments.
6574 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6576         * org.el (org-edit-fixed-width-region): Exclude final newline from
6577         picture area.
6579         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6580         sections, to make internal links work.
6581         (org-export-latex-fontify-headline): Do not remove all text
6582         properties, to make sure that target properties survive this
6583         process.
6585         * org-exp.el (org-export-preprocess-string): Change sequence of
6586         modifications, to make sure links are prepared before the LaTeX
6587         conversions do happen.
6589 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6591         * org-attach.el (org-attach-delete-all): Renamed from
6592         `org-attch-delete'.  Add a security query before deleting the
6593         entire directory.  New optional argument FORCE can overrule the
6594         security query.
6595         (org-attach-delete-one): New command.
6597 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6599         * org-attach.el (org-attach-file-list): Fix bug with directory.
6601 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6603         * org.el (org-apps-regexp-alist): New function.
6604         (org-file-apps): Add auto-mode to the default value.
6605         (org-open-file): Use the new structure of org-file-apps.
6607         * org-attach.el (org-attach): Support the new keys.
6608         (org-attach-method): New option.
6610 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6612         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6613         March.
6615         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6616         of the list value o `org-use-tag-inheritance'.
6618         * org-attach.el (org-attach-auto-tag): New option.
6619         (org-attach-tag, org-attach-untag): New functions.
6620         (org-attach-attach, org-attach-new, org-attach-sync): Call
6621         `org-attach-tag'.
6622         (org-attach-delete): Call `org-attach-untag'.
6624 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6626         * org-table.el (orgtbl-self-insert-command): Make this work for
6627         the keypad as well.
6629 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6631         * org.el (org-add-log-setup): Limit searc for drawers to entry
6632         text, not to subtree.
6634         * org-clock.el (org-clock-heading-for-remember): New variable.
6635         (org-clock-in): Set `org-clock-heading-for-remember'.
6637 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6639         * org-remember.el (org-remember-apply-template): Add new
6640         expansions: %k, %K for currently clocked task and a link to the
6641         currently clocked task, and %< to file notes in the currently
6642         clocked task.
6644 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6646         * org-export-latex.el (org-export-latex-make-header): Also insert
6647         the content of the property :latex-header-extra.
6649         * org-exp.el (org-infile-export-plist): Put the content of
6650         #+LATEX_HEADER: into the property :latex-header-extra.
6652         * org-colview.el (org-columns-get-format-and-top-level): Remove
6653         resetting the marker.
6655         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6656         Remove resetting the marker.
6658         * org.el (org-entry-property-inherited-from): Improve docstring.
6659         (org-entry-get-with-inheritance): Reset marker before starting the
6660         search.
6662         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6664 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6666         * org.el (org-entry-get-multivalued-property)
6667         (org-entry-protect-space, org-entry-restore-space): New
6668         functions.
6669         (org-file-apps-defaults-macosx): Let postscript files be opened by
6670         preview.
6671         (org-time-stamp-inactive): Call `org-time-stamp'.
6672         (org-time-stamp): New argument `inactive'.  Also edit inacive
6673         stamps. Convert time stamp type.
6674         (org-open-file): Interpret the `default' value for the `command'
6675         in `org-file-apps'.
6677         * org-id.el (org-id-int-to-b36-one-digit)
6678         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6679         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6680         b36.
6682 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6684         * org-id.el (org-id-reverse-string): New function.
6685         (org-id-new): Use `org-id-reverse-string' to make sure the
6686         beginning chars of the ID are mutating fast.  This allows to use a
6687         directory structure to spread things better.
6688         (org-id-prefix): Changed default to nil.
6690         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6691         restore the column of the cursor position.
6693         * org-remember.el (org-remember-apply-template): Remove properties
6694         from `initial'.
6696 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6698         * org-wl.el (org-wl-open): Remove useless call to
6699         `wl-thread-open-all'.
6701         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6702         location.
6704 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6706         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6707         `org-bbdb-anniversaries'.
6709         * org.el (org-get-next-sibling, org-forward-same-level): New
6710         functions, similar to the outline versions, but invisible headings
6711         are OK.
6713 2008-09-25  Bastien Guerry  <bzg@altern.org>
6715         * org.el (org-auto-repeat-maybe): Insert a space between
6716         the timestamp's type and the timestamp itself.
6718 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6720         * org-table.el (org-table-sum): Do not format the result with %g,
6721         it does rounding when there are too many digits.
6723         * org.el (org-map-entries): Protect the keyword-selecting variables.
6725 2008-09-23  Bastien Guerry  <bzg@altern.org>
6727         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6728         against all agenda files.
6730 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6732         * org-list.el: New file, aggregating list functions from org.el
6733         and org-export-latex.el.
6735         * org.el (org-edit-src-region-extra): New option.
6737 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6739         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6740         time before 1am.
6742 2008-09-22  Bastien Guerry  <bzg@altern.org>
6744         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6746 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6748         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6749         hline work correctly.
6750         (org-plot/gnuplot-script): Put commas at the end of each script
6751         line.
6753 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6755         * org.el (org-get-refile-targets): Replace links with their
6756         descriptions
6757         (org-imenu-get-tree): Replace links with their descriptions.
6759         * org-remember.el (org-remember-apply-template): Add a new
6760         expansion for adding properties to remember items.
6762         * org.el (org-add-log-setup): Skip over drawers (properties,
6763         clocks etc) when adding notes.
6765         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6766         items as well as the start and end times.
6768         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6769         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6771         * org-remember.el (org-get-x-clipboard): Use the compat
6772         function to get clipboard values when x-selection-value is
6773         unavailable. Use substring-no-properties instead of
6774         set-text-properties to remove text properties from the clipboard
6775         value.
6777         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6778         modeline clock string, and display the full todo value in the
6779         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6780         the currently clocked task.
6781         (org-clock-string-limit): Add a custom value for the maximum
6782         length of the clock string in the modeline.
6783         (org-clock-mode-map): Add a keymap for the modeline string
6785 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6787         * org-compat.el (org-propertize): New function.
6789 2008-09-20  Bastien Guerry  <bzg@altern.org>
6791         * org-export-latex.el (org-export-latex-tables): protect exported
6792         tables from further special chars conversion.
6793         (org-export-latex-preprocess): Preserve LaTeX environments.
6794         (org-list-parse-list): Parse descriptive lists.
6795         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6796         (org-list-to-texinfo): Export descriptive lists.
6797         (org-quote-chars): Remove.
6798         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6799         (org-export-latex-list-beginning-re): Rename to
6800         `org-list-beginning-re'
6801         (org-list-item-begin): Rename to `org-list-item-beginning'
6803 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6805         * org.el (org-refile): Allow refiling to the last entry in the
6806         buffer.
6807         (org-get-tags-at): Fix bug when inheritance is turned off.
6809 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6811         * org.el (org-indent-line-function): No longer check for src
6812         regions, this is too much overhead.
6814         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6815         matching.
6817         * org.el (org-scan-tags): Make sure that tags matching is not case
6818         sensitive.  TODO keyword matching is case sensitive, however, to
6819         avoid confusion with similar words that are not meant to be
6820         keywords.
6822 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6824         * org.el (org-get-local-tags-at): New function.
6825         (org-get-local-tags): New function.
6827         * org-exp.el (org-export-get-categories): New function.
6829         * org-agenda.el (org-sorting-choice)
6830         (org-agenda-sorting-strategy, org-agenda-get-todos)
6831         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6832         (org-agenda-get-scheduled, org-agenda-get-blocks)
6833         (org-entries-lessp): Implement sorting by TODO state.
6834         (org-cmp-todo-state): New defsubst.
6836         * org-colview.el (org-colview-construct-allowed-dates): New
6837         function.
6838         (org-columns-next-allowed-value): Use
6839         `org-colview-construct-allowed-dates'.
6841         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6842         function.
6843         (org-columns-next-allowed-value): Use
6844         `org-colview-construct-allowed-dates'.
6846 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6848         * org.el (org-protect-slash): New function.
6849         (org-get-refile-targets): Use `org-protect-slash'.
6851         * org-agenda.el (org-global-tags-completion-table): New variable.
6853         * org-exp.el (org-export-handle-export-tags): New function.
6854         (org-export-preprocess-string): Call
6855         `org-export-handle-export-tags'.
6857         * org-plot.el: New file.
6859         * org-publish.el (org-publish-expand-components): Function removed.
6860         (org-publish-expand-projects): Allow components to have components.
6862 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6864         * org.el (org-indent-line-function): Do not indent in regions that
6865         are external source code.
6866         (org-yank-and-fold-if-subtree): New function.
6868         * org-agenda.el (org-agenda-todayp): New function.
6869         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6870         `org-agenda-todayp'.
6872         * org.el (org-insert-heading-respect-content)
6873         (org-insert-todo-heading-respect-content): New commands.
6874         (org-insert-heading-respect-content): New option.
6875         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6877         * org-clock.el (org-clock-find-position): Make sure the note after
6878         the clock line gets moved into the new clock drawer.
6880 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6882         * org-id.el (org-id-new): New option.
6884 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6886         * org-table.el (org-table-copy-down): Avoid overflow during
6887         increment.  Use prefix argument 0 to temporarily disable the
6888         increment.
6890 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6892         * org-exp.el (org-export-as-html): Do not turn on the major mode
6893         if the buffer will be killed anyway.
6894         (org-get-current-options): Exclude the #+TEXT field.
6895         (org-export-as-html): Make sure text before the first headline is
6896         a paragraph.
6898         * org-publish.el (org-publish-org-to): Tell the exporter that this
6899         buffer will be killed, so it is not necessary to do major mode
6900         initialization.
6902         * org-archive.el (org-archive-to-archive-sibling): Show empty
6903         lines after folding the archive sibling.
6905         * org.el (org-log-note-extra): New variable.
6907 2008-09-05  Bastien Guerry  <bzg@altern.org>
6909         * org.el (org-additional-option-like-keywords): Added keywords for
6910         the _QUOTE, _VERSE and _SRC environments.
6912         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6913         exporting _QUOTE and _VERSE environments.
6915 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6917         * org-agenda.el (org-agenda-filter-by-tag): New command.
6919         * org-exp.el (org-get-current-options): Remove angular brackets
6920         from the date entry.
6922         * org.el (org-edit-fixed-width-region): New function.
6923         (org-edit-fixed-width-region): Also try
6924         `org-edit-fixed-width-region'.
6925         (org-edit-fixed-width-region-mode): New option.
6926         (org-activate-code): Only interprete lines starting with colon
6927         plus a space as example lines.
6929         * org-remember.el (org-remember-templates): Add nil instead of
6930         empty strings to fix the length of remember templates.
6932         * org-table.el (org-calc-default-modes): Fix the time format for
6933         calc, from 12 hour to 24 hour clock.
6935 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6937         * org-agenda.el (org-agenda-get-deadlines)
6938         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6939         entries that are pre-warnings of deadlines or reminders.
6941         * org.el (org-sort-entries-or-items): Make numeric and alpha
6942         comparisons ignore any TODO keyword and priority cookie.
6944         * org-remember.el (org-remember-handler): Reinterpretation of the
6945         prefix argument.
6947 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6949         * org-agenda.el (org-agenda-get-scheduled): Use new
6950         `org-scheduled' face.
6952         * org-faces.el (org-scheduled): New face.
6954         * org-wl.el (org-wl-open): Remove incorrect declaration.
6956         * org-gnus.el (org-gnus-store-link): Support for :to information
6957         in gnus links.
6959         * org-exp.el (org-export-as-html): Fixed typo in creator
6960         information.
6961         (org-export-protect-examples): New parameter indent.  Insert extra
6962         spaces only when this parameter is specified.
6963         (org-export-preprocess-string): Call `org-export-protect-examples'
6964         with an indentation parameter when exporting to ASCII.
6966         * org-remember.el (org-remember-templates)
6967         (org-remember-apply-template): Allow the file component to be a
6968         function.
6970         * org.el (org-goto-local-search-headings): Renamed from
6971         `org-goto-local-search-forward-headings'.  Added the possibility
6972         to search backwards.
6974 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6976         * org-export-latex.el (org-export-latex): New customization
6977         group.
6979         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6981 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6983         * org-exp.el (org-html-do-expand): Allow {} to terminate
6984         tex macro
6986 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6988         * org.el (org-buffer-list): Select buffers based on major mode,
6989         not on file name.
6991 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6993         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6994         face property.
6996         * org-colview.el (org-columns-display-here): Use
6997         `org-columns-modify-value-for-display-function'.
6999         * org-colview-xemacs.el (org-columns-display-here): Use
7000         `org-columns-modify-value-for-display-function'.
7002 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
7004         * org.el (org-columns-modify-value-for-display-function): New option.
7016         * org-publish.el (org-publish-file): Make sure the directory match
7017         for the publishing directory works correctly.
7019         * org-agenda.el (org-agenda-execute-calendar-command)
7020         (org-agenda-diary-entry): Additional optional argument.
7022 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
7024         * org-exp.el (org-export-as-html): Add attributes also in mailto
7025         and ftp links.
7027         * org.el (org-autoload): Add `org-dblock-write:columnview'.
7036 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
7038         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
7039         sure that calls from `org-export-region-as-html' do not do the
7040         special check for a subtree.
7042 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
7044         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
7046 2008-07-20  Juri Linkov  <juri@jurta.org>
7048         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
7049         new keymap `narrow-map' instead of binding "\C-xns".
7051 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
7053         * org.el (org-open-file): Use
7054         `org-open-directory-means-index-dot-org'.
7055         (org-open-directory-means-index-dot-org): New option.
7057 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
7059         * org.el (org-make-link-string): Remove link attributes from
7060         description.
7061         (org-open-at-point): Remove link attributes bevore using the path.
7063         * org-exp.el (org-export-as-html): Handle link attributes.
7065         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
7067         * org-table.el (org-table-to-lisp): New function.
7069         * org.el (org-narrow-to-subtree): Do not include the final newline
7070         into the narrowed region.
7072         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
7073         bug with user-define skipping condition.
7075 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
7077         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
7079 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
7081         * org-exp.el (org-export-html-style-default): Automatic overflow
7082         handling for pre fields.
7083         (org-export-as-ascii, org-export-as-html): Change default format
7084         for time stamp.
7086         * org-table.el (org-table-export): Offer completion for translator
7087         functions, and do not require a heading above the table.
7089         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
7090         Cater for the case of a list starting in the first line of the
7091         buffer.
7093 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
7095         * org-publish.el (org-publish-find-title): Bug fix.
7096         (org-publish-org-index): Implement new :index-style option.
7098 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
7100         * org-publish.el (org-publish-timestamp-filename): Use
7101         SHA1-encoded file names in the timestamp directory.
7103 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
7105         * org-publish.el (org-publish-needed-p): Be verbose about files
7106         published and files skipped.
7108         * org-exp.el (org-export-preprocess-string): Swap link
7109         normalization and inernal link targeting.
7111         * org-publish.el (org-publish-needed-p): Create timestamp
7112         directory when it does not exist.
7114 2008-07-04  Bastien Guerry  <bzg@altern.org>
7116         * org-clock.el (org-clock-out-when-done): Doc fix.
7118         * org.el (org-agenda-skip-unavailable-files): Doc fix.
7120         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
7121         Ignore case when searching for the COMMENT cookie at export time.
7123 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
7125         * org-exp.el (org-get-file-contents)
7126         (org-get-and-remove-property): New functions.
7127         (org-export-handle-include-files): Handle the new prefix options.
7128         (org-export-as-html): Fix the verse environment.
7130 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
7132         * org.el (org-time=, org-time<, org-time<=, org-time>)
7133         (org-time>=, org-time<>, org-2ft): New functions.
7134         (org-op-to-function): Also provide for the time testing fucntions.
7136 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
7138         * org-exp.el (org-export-html-style-default): New constant.
7140 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
7142         * org-exp.el (org-export-html-style-extra): New variable.
7143         (org-export-splice-style): New function.
7145 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
7147         * org-exp.el (org-export-plist-vars, org-export-as-html):
7148         Implement `org-export-creator-info'.
7149         (org-export-creator-info): New option.
7151 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
7153         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
7154         (org-property-drawer-re, org-clock-drawer-re): New constants.
7156 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
7158         * org-exp.el (org-icalendar-use-deadline)
7159         (org-icalendar-use-scheduled): New options.
7160         (org-icalendar-include-todo): Default changed to t.
7161         (org-print-icalendar-entries): Implement better utilization of
7162         scheduling and deadline time stamps.
7163         (org-export-target-internal-links, org-export-as-html): Allow file
7164         lines without the "file:" prefix if the file path is an absolute
7165         path or starts with ".".
7167         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
7168         lastweek etc.
7169         (org-clock-special-range): Also undertand yesterday, lastweek etc.
7171 2008-06-18  Glenn Morris  <rgm@gnu.org>
7172         * org.el (org-map-entries): Let-bind `file'.
7174 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
7176         * org.el (org-agenda-skip-archived-trees): Docstring now
7177         discourages using this.
7178         (org-scan-tags): Check for org-agenda-archives-mode.
7179         (org-map-entries): Make sure org-agenda-archives-mode is nil.
7180         (org-agenda-files): Functionality of second arg changed.
7182         * org-agenda.el (org-agenda-archives-mode): New variable
7183         (org-write-agenda, org-prepare-agenda, org-agenda-list)
7184         (org-search-view, org-todo-list, org-tags-view)
7185         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
7186         `ifmode' argument.
7187         (org-agenda-quit): Reset the archives mode.
7188         (org-agenda-archives-mode): New command.
7189         (org-agenda-set-mode-name): Include archives info.
7191 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
7193         * org.el (org-paste-subtree): Make sure the yanked headline is
7194         visible if it was yanked at a visible point.
7195         (org-move-item-up): Fix the bug with moving white space at the end
7196         of the item.
7197         (org-show-empty-lines-in-parent): New function.
7199 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
7201         * org-colview.el (org-columns-next-allowed-value): Bug fix.
7203         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
7205         * org-agenda.el (org-agenda-get-closed): Get the end time into the
7206         agenda prefix as well.
7208         * org-publish.el (org-publish-org-index): Make a properly indented
7209         list.
7211         * org.el (org-calendar-agenda-action-key): New option.
7212         (org-get-cursor-date): New function.
7213         (org-mark-entry-for-agenda-action): New command.
7214         (org-overriding-default-time): New variable.
7215         (org-read-date): Respect `org-overriding-default-time'.
7217         * org-remember.el (org-remember-apply-template): Respect the
7218         ovverriding default time.
7220         * org-agenda.el (org-agenda-action-marker): New variable.
7221         (org-agenda-action): New command.
7222         (org-agenda-do-action): New function.
7224 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7226         * org.el (org-schedule, org-deadline): Protect scheduled and
7227         deadline tasks against changes that accidently remove the
7228         repeater.  Also show a message with the new date when done.
7230 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
7232         * org.el (org-beginning-of-line): Cater for the case when there
7233         are tags but no headline text.
7234         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
7235         it set.
7237 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
7239         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
7240         the return value is nil instead of "nil" when there is no match.
7242         * org-exp.el (org-insert-centered): Use fill-column instead of
7243         80.
7244         (org-export-as-ascii): Use string-width to measure the width of
7245         the heading.
7247         * org.el (org-diary-to-ical-string): No longer kill buffer
7248         FROMBUF, this is now done by the caller.
7250         * org-exp.el (org-print-icalendar-entries): Move the call to
7251         `org-diary-to-ical-string' out of the loop, and kill the buffer
7252         afterwords.
7254         * org-remember.el (org-remember-visit-immediately): Position
7255         cursor after moving to the note.
7256         (org-remember-apply-template): Use a text property to record the
7257         cursor position.
7258         (org-remember-handler): Align tags after pasting the note.
7260 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
7262         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
7264         * org-agenda.el (org-agenda-open-link): If there is an
7265         org-bbdb-name property in the current line, jump to that bbdb
7266         entry.
7268         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
7269         text property, so that the agenda knows where this entry comes
7270         from.
7272         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
7273         interaction between clocking-in from the agenda, and  automatic
7274         task state switching.
7276         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
7278         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
7279         zmacs-region stays after this command in XEmacs.
7281 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
7283         * org.el (org-scan-tags): Allow new values for ACTION parameter.
7285         * org-remember.el (org-remember-templates): Fix bug in
7286         customization type definition.
7288         * org.el (org-map-entries): New function.
7290 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
7292         * org-agenda.el (org-agenda-skip-comment-trees): New option.
7293         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
7295 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
7297         * org-remember.el (org-jump-to-target-location): New variable.
7298         (org-remember-apply-template): Set
7299         `org-remember-apply-template' if requested by template.
7300         (org-remember-handler): Start an idle timer to jump to
7301         remember location.
7303         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7305         * org.el (org-set-regexps-and-options): Fix bug with parsing of
7306         file tags.
7307         (org-get-tags-at): Add the content of `org-file-tags'.
7309         * org-exp.el (org-export-handle-comments): Fix bug with several
7310         comment lines after each other.
7311         (org-number-to-roman, org-number-to-counter): New functions.
7312         (org-export-section-number-format): New option.
7314 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
7316         * org-exp.el (org-export-protect-examples): Catch the case of a
7317         missing end_example line.
7319         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7320         `org-file-tags' to nil.
7322         * org-colview.el (org-columns-next-allowed-value): Handle next
7323         argument NTH to directly select a value.
7325         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7326         argument NTH to directly select a value.
7328 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
7330         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7332 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
7334         * org.el (org-columns-ellipses): New option.
7336 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
7338         * org-colview.el (org-columns-add-ellipses): New function.
7339         (org-columns-compact-links): New function.
7340         (org-columns-cleanup-item): Call `org-columns-compact-links'.
7341         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7342         when in agenda.
7343         (org-columns-edit-value): Fixed bug with editing values from
7344         agenda column view.
7345         (org-columns-redo): Also redo the agenda itself.
7347 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
7349         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7350         option.
7352         * org-colview.el (org-agenda-columns-cleanup-item): New function.
7354         * org-exp.el (org-export-ascii-preprocess): Renamed from
7355         `org-export-ascii-clean-string'.
7356         (org-export-kill-licensed-text)
7357         (org-export-define-heading-targets)
7358         (org-export-handle-invisible-targets)
7359         (org-export-target-internal-links)
7360         (org-export-remove-or-extract-drawers)
7361         (org-export-remove-archived-trees)
7362         (org-export-protect-quoted-subtrees)
7363         (org-export-protect-verbatim, org-export-protect-examples)
7364         (org-export-select-backend-specific-text)
7365         (org-export-mark-blockquote-and-verse)
7366         (org-export-remove-comment-blocks-and-subtrees)
7367         (org-export-handle-comments, org-export-mark-radio-links)
7368         (org-export-remove-special-table-lines)
7369         (org-export-normalize-links)
7370         (org-export-concatenate-multiline-links)
7371         (org-export-concatenate-multiline-emphasis): New functions,
7372         obtained from spliiting the export preprocessor.
7374         * org-table.el (org-table-recalculate): Improve error message if
7375         the row number is invalid.
7377 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7379         * org-archive.el (org-archive-save-context-info): Fix bugs in
7380         customization setup and docstring.
7382         * org-exp.el (org-export-html-style): Changed the size of in the
7383         <pre> element to 90%.
7385 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7387         * org.el (org-find-src-example-start): Function removed.
7388         (org-edit-src-find-region-and-lang): New function.
7390 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7392         * org.el (org-edit-src-exit): New function.
7393         (org-exit-edit-mode): New minor mode.
7395         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7396         comment-like lines from protected examples.
7398         * org.el (org-edit-src-example, org-find-src-example-start)
7399         (org-protect-source-example, org-edit-special): New functions.
7401 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7403         * org-publish.el (org-publish-project-alist): Fix typo in
7404         docstring.
7405         (org-publish-project-alist): Handle :index-title property.
7407 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7409         * org-export-latex.el (org-export-as-latex): Make sure region
7410         bounds are correct.  Parse subtree properties relating to export.
7412         * org-exp.el (org-export-add-options-to-plist): New function.
7413         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7415 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7417         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7418         EXPORT_TITLE.
7420         * org-exp.el (org-export-get-title-from-subtree)
7421         (org-export-as-ascii, org-export-as-html): Make sure the original
7422         region-beginning and region-end are used, even after moving
7423         point.
7424         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7425         property.
7427         * org-remember.el (org-remember-last-stored-marker): New variable.
7428         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7429         (org-remember-handler): Also use marker to remember
7430         last-stored position.
7432         * org.el (org-goto-marker-or-bmk): New function.
7434 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7436         * org.el (org-file-properties): Renamed from `org-local-properties'.
7437         (org-scan-tags): Take file tags into account.
7438         (org-tags-match-list-sublevels): Default changed to t.
7440         * org-exp.el (org-export-as-html): Close paragraph after a
7441         footnote.
7443         * org.el (org-update-parent-todo-statistics): New function.
7445         * org-exp.el (org-icalendar-store-UID): New option.
7446         (org-icalendar-force-UID): Option removed.
7447         (org-print-icalendar-entries): IMplement UIDs.
7449 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7451         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7453 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7455         * org-faces.el (org-column): Document how this face is being used
7456         and why sometimes the background faces shine through.
7458         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7460         * org-publish.el (org-publish-attachment): Create publishing
7461         directory if it does not yet exist.
7463         * org-table.el (org-calc-default-modes): Change default number
7464         format to (float 8).
7466         * org.el (org-olpath-completing-read): New function.
7467         (org-time-clocksum-format): New option.
7468         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7470         * org-clock.el (org-clock-display, org-clock-out)
7471         (org-update-mode-line): Use `org-time-clocksum-format'.
7473         * org-colview-xemacs.el (org-columns-number-to-string): Use
7474         `org-time-clocksum-format'.
7476         * org-colview.el (org-columns-number-to-string): Use
7477         `org-time-clocksum-format'.
7479 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7481         * org-id.el: New file, move from contrib to core.
7483         * org-exp.el (org-icalendar-force-UID): New option.
7485 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7487         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7488         shifted by one day if theere is a date range without an end
7489         time.
7491         * org.el (org-try-structure-completion): New function.
7493 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7495         * org.el (org-set-font-lock-defaults): Improve fontification of
7496         description lists.
7497         (org-insert-item): Handle description lists.
7498         (org-adaptive-fill-function): Improve auto indentation in
7499         description lists.
7501         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7502         Implement VERSE environment.
7503         (org-export-preprocess-string): Implement the COMMENT
7504         environment.
7506         * org-export-latex.el (org-export-latex-preprocess): Implement
7507         VERSE environment.
7509 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7511         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7512         option.
7514 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7516         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7518         * org.el (org-quote-csv-field): New functions.
7520         * org-table.el (org-table-export-default-format): Remove :splice
7521         from default format, we get the same effect by not specifying
7522         :tstart and :tend.
7523         (org-table-export): Improve setup, distinguish better between
7524         interactive and non-interactive use, allow specifying the format
7525         on the fly, better protection against wrong file names.
7526         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7527         and :tend when :splice is omitted.
7529 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7531         * org-clock.el (org-clock-select-task): Make sure the selection
7532         letters are 1-9 and A-Z, no special characters.
7534 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7536         * org-exp.el (org-export-htmlize): New group.
7537         (org-export-htmlize-output-type)
7538         (org-export-htmlize-css-font-prefix): New options.
7539         (org-export-htmlize-region-for-paste): New function.
7540         (org-export-htmlize-generate-css): New command.
7542 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7544         * org/org.el (org-modules, org-format-latex-options):
7545         * org/org-archive.el (org-archive-stamp-time)
7546         (org-archive-save-context-info):
7547         * org/org-faces.el (org-hide):
7548         * org/org-irc.el (org-irc-parse-link):
7549         * org/org-macs.el (org-call-with-arg, org-autoload):
7550         * org/org-mew.el (org-mew-store-link):
7551         * org/org-remember.el (org-remember-store-without-prompt)
7552         (org-remember-templates): Fix typos in docstrings.
7554         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7556         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7557         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7558         (org-bbdb-anniv-split): Fix typos in docstrings.
7560         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7561         (org-publish-use-timestamps-flag): Reflow docstring.
7562         (org-publish-files-alist): Fix typos in docstring.
7564 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7566         * org.el (org-set-visibility-according-to-property): New function.
7567         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7568         and compute the regular expressions, and update font-lock.
7569         (org-property-re): Allow a dash in property names.
7571         * org-archive.el (org-extract-archive-file): Insert the file name
7572         without the path into the format, to allow the location format to
7573         contain a subdirectory.
7575         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7576         of buffer, and the `org-agenda-type' property undefined, use the
7577         value from the character before.
7579         * org.el (org-add-planning-info): Don't let indentation for
7580         would-be timestamp become extra whitespace at the end of headline.
7582 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7584         * org.el (org-remove-double-quotes, org-file-contents): New
7585         functions.
7587         * org-exp.el (org-infile-export-plist): Also parse the
7588         contents of #+SETUPFILE files, recursively.
7590         * org.el (org-set-regexps-and-options): Also parse the
7591         contents of #+SETUPFILE files, recursively.
7593         * org-exp.el (org-export-handle-include-files): New function.
7594         (org-export-preprocess-string): Call
7595         `org-export-handle-include-files'.
7597         * org.el (org-delete-property-globally)
7598         (org-delete-property, org-set-property): Ignore case during
7599         completion.
7600         (org-set-property): Use `org-completing-read' instead of
7601         `completing-read'.
7603         * org.el (org-complete-expand-structure-template): New,
7604         experimental function.
7605         (org-structure-template-alist): New, experimental option.
7606         (org-complete): Call `org-complete-expand-structure-template'.
7608 2008-05-06  Bastien Guerry  <bzg@altern.org>
7610         * org-export-latex.el (org-export-latex-preprocess): Added
7611         support for blockquotes.
7613 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7615         * org.el (org-read-date-analyze): Catch the case where only a
7616         weekday is given.
7618 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7620         * org.el (org-set-font-lock-defaults): Make the description
7621         tag bold.
7623         * org-exp.el (org-export-as-html, org-close-li): Implement
7624         description lists.
7626 2008-05-04  Jason Riedy  <jason@acm.org>
7628         * org-table.el (*orgtbl-default-fmt*): New variable.
7629         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7630         when there is no other fmt available.
7632         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7633         :tend to suppress the appropriate string.
7635         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7636         table.
7638 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7640         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7641         read date.
7643         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7644         New function.
7646         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7647         New function.
7649 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7651         * org-clock.el (org-clock-find-position): Don't include notes
7652         into clock drawer.
7654         * org-archive.el (org-archive-subtree): No longer remove an
7655         extra line after cutting the subtree.  `org-cut-subtree' already
7656         takes care of this.
7658         * org-remember.el (org-remember-handler): Only kill the target
7659         buffer if it does not contain the running clock.
7661         * org.el (org-markers-to-move): New variable.
7662         (org-save-markers-in-region, org-check-and-save-marker)
7663         (org-reinstall-markers-in-region): New function.
7664         (org-move-subtree-down, org-copy-subtree): Remember relative
7665         marker positions before cutting.
7666         (org-move-subtree-down, org-paste-subtree): Restore relative
7667         marker positions after pasting.
7669         * org-remember.el (org-remember-clock-out-on-exit): New option.
7670         (org-remember-finalize): Clock out only if the setting in
7671         `org-remember-clock-out-on-exit' requires it.
7672         (org-remember-handler): Do the cleanup in the buffer, to make sure
7673         that the clock marker remains in tact.
7675 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7677         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7678         (org-clock-in): Make sure that also tasks outside the narrowed
7679         region will be clocked in correctly.
7680         (org-clock-insert-selection-line): Widen the buffer so that we can
7681         find the correct task heading.
7683         * org.el (org-base-buffer): New function.
7685         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7686         and ";" are escaped.
7687         (org-print-icalendar-entries): Also apply
7688         `org-icalendar-cleanup-string' to the headline, not only to the
7689         summary property.
7691 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7693         * org-exp.el (org-export-preprocess-hook): New hook.
7694         (org-export-preprocess-string): Call
7695         `org-export-preprocess-hook'.
7697         * org.el (org-font-lock-hook): New variable.
7698         (org-font-lock-hook): New function.
7699         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7701 ;; Local Variables:
7702 ;; coding: utf-8
7703 ;; add-log-time-zone-rule: t
7704 ;; End:
7706     Copyright (C) 2008  Free Software Foundation, Inc.
7708   This file is part of GNU Emacs.
7710   GNU Emacs is free software: you can redistribute it and/or modify
7711   it under the terms of the GNU General Public License as published by
7712   the Free Software Foundation, either version 3 of the License, or
7713   (at your option) any later version.
7715   GNU Emacs is distributed in the hope that it will be useful,
7716   but WITHOUT ANY WARRANTY; without even the implied warranty of
7717   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7718   GNU General Public License for more details.
7720   You should have received a copy of the GNU General Public License
7721   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7723 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c